[FIX] account: add old name to field 'user_type_id' of account_template

This commit is contained in:
pvy
2015-09-17 10:03:34 +02:00
parent 49a695ff4e
commit efd8d88c41
+1 -1
View File
@@ -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,