From dd83842fd909ebeeeeb52ddad43c800d7bd73448 Mon Sep 17 00:00:00 2001 From: Vonpupp Date: Tue, 28 Mar 2017 22:30:55 -0300 Subject: [PATCH] [FIX] Comodel name --- account_due_list_payment_mode/models/account_move_line.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/account_due_list_payment_mode/models/account_move_line.py b/account_due_list_payment_mode/models/account_move_line.py index dc9e0c74de67..32576a3d84f7 100644 --- a/account_due_list_payment_mode/models/account_move_line.py +++ b/account_due_list_payment_mode/models/account_move_line.py @@ -10,7 +10,7 @@ class AccountMoveLine(models.Model): _inherit = 'account.move.line' payment_mode_id = fields.Many2one( - comodel_name='payment.mode', + comodel_name='account.payment.mode', related='invoice_id.payment_mode_id', string="Payment Mode", store=True,