[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:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user