remove unknown parameter 'unaccent'

This commit is contained in:
Chill
2024-11-14 14:48:28 +08:00
parent 253f076143
commit 763f8857c5
3 changed files with 3 additions and 3 deletions

View File

@@ -9,7 +9,7 @@
{ {
'name': '2025最新中国会计科目表.企业标准会计.Latest Chinese Accounting for odoo18', 'name': '2025最新中国会计科目表.企业标准会计.Latest Chinese Accounting for odoo18',
'version': '24.11.13', 'version': '24.11.14',
'author': 'odooai.cn', 'author': 'odooai.cn',
'category': 'Accounting/Localizations/Account Charts', 'category': 'Accounting/Localizations/Account Charts',
'website': 'https://www.odooai.cn', 'website': 'https://www.odooai.cn',

View File

@@ -27,7 +27,7 @@ class AccountAccount(models.Model):
parent_id = fields.Many2one('account.account', 'Parent Chart', index=True, ondelete='cascade') parent_id = fields.Many2one('account.account', 'Parent Chart', index=True, ondelete='cascade')
child_ids = fields.One2many('account.account', 'parent_id', 'Child Chart') child_ids = fields.One2many('account.account', 'parent_id', 'Child Chart')
parent_path = fields.Char(index=True, unaccent=False) parent_path = fields.Char(index=True)
# todo: view 类型只用于上级,不可在凭证中选择使用。 odoo 中使用 _compute_account_type 处理是找不到自动设置为 其上级科目 # todo: view 类型只用于上级,不可在凭证中选择使用。 odoo 中使用 _compute_account_type 处理是找不到自动设置为 其上级科目
# 故暂时不增加此类型 # 故暂时不增加此类型
# account_type = fields.fields.Selection(selection_add=[ # account_type = fields.fields.Selection(selection_add=[

View File

@@ -17,7 +17,7 @@
<div class="oe_row oe_spaced"> <div class="oe_row oe_spaced">
<div class="row"> <div class="row">
<div class="oe_row"> <div class="oe_row">
<h3>Lastest update: v18.24.11.13</h3> <h3>Lastest update: v18.24.11.14</h3>
<div class="row"> <div class="row">
<img class="oe_demo oe_screenshot img img-fluid" src="banner.png"> <img class="oe_demo oe_screenshot img img-fluid" src="banner.png">
</div> </div>