diff --git a/account_invoice_update_wizard/wizard/account_move_update.py b/account_invoice_update_wizard/wizard/account_move_update.py index e9a14a2..b95a989 100644 --- a/account_invoice_update_wizard/wizard/account_move_update.py +++ b/account_invoice_update_wizard/wizard/account_move_update.py @@ -217,3 +217,5 @@ class AccountMoveLineUpdate(models.TransientModel): "Percentage Analytic" ), ) + # needed because of analytic widget in view + company_id = fields.Many2one(related='invoice_line_id.company_id')