From efd8d88c417378b2feb67c7983c5d518437a8125 Mon Sep 17 00:00:00 2001 From: pvy Date: Wed, 16 Sep 2015 15:57:28 +0200 Subject: [PATCH] [FIX] account: add old name to field 'user_type_id' of account_template --- addons/account/models/chart_template.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/addons/account/models/chart_template.py b/addons/account/models/chart_template.py index 8863afbd10f..cfcdc4ae17d 100644 --- a/addons/account/models/chart_template.py +++ b/addons/account/models/chart_template.py @@ -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,