[FIX] account: remove duplicated field

The field user_id was created twice in the model with the same values and options, only a different help message. This removes the duplicated one.

closes odoo/odoo#40542

Signed-off-by: Laurent Smet <smetl@users.noreply.github.com>
This commit is contained in:
Yenthe666
2019-11-20 08:35:26 +00:00
parent 56e47c51ed
commit 3cf3c2dbd4
-1
View File
@@ -122,7 +122,6 @@ class AccountMove(models.Model):
states={'draft': [('readonly', False)]},
domain="[('company_id', '=', company_id)]",
default=_get_default_journal)
user_id = fields.Many2one(related='invoice_user_id', string='User')
company_id = fields.Many2one(string='Company', store=True, readonly=True,
related='journal_id.company_id', change_default=True)
company_currency_id = fields.Many2one(string='Company Currency', readonly=True,