[FIX] account: add old name to field 'user_type_id' of account_template
This commit is contained in:
@@ -24,7 +24,7 @@ class AccountAccountTemplate(models.Model):
|
||||
name = fields.Char(required=True, index=True)
|
||||
currency_id = fields.Many2one('res.currency', string='Account Currency', help="Forces all moves for this account to have this secondary currency.")
|
||||
code = fields.Char(size=64, required=True, index=True)
|
||||
user_type_id = fields.Many2one('account.account.type', string='Type', required=True,
|
||||
user_type_id = fields.Many2one('account.account.type', string='Type', required=True, oldname='user_type',
|
||||
help="These types are defined according to your country. The type contains more information "\
|
||||
"about the account and its specificities.")
|
||||
reconcile = fields.Boolean(string='Allow Invoices & payments Matching', default=False,
|
||||
|
||||
Reference in New Issue
Block a user