From 7df7f9b0bc9af60e761f0eac0820a706c6871eec Mon Sep 17 00:00:00 2001 From: "Andrea Grazioso (agr-odoo)" Date: Wed, 22 Feb 2023 16:08:27 +0000 Subject: [PATCH] [FIX] account: product description change with journal Have 2 Customer invoices journals Create an invoice Add a line Save Edit product description Change journal Product description will reset to default opw-3171099 closes odoo/odoo#119850 X-original-commit: 43b49f8cacff87e15102993ff4e2d06c9bff8ff4 Signed-off-by: Brice Bartoletti (bib) Signed-off-by: Grazioso Andrea (agr) --- addons/account/models/account_move_line.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/addons/account/models/account_move_line.py b/addons/account/models/account_move_line.py index 9325f72faed..84db3a1df76 100644 --- a/addons/account/models/account_move_line.py +++ b/addons/account/models/account_move_line.py @@ -455,7 +455,7 @@ class AccountMoveLine(models.Model): else: line.currency_id = line.currency_id or line.company_id.currency_id - @api.depends('product_id', 'journal_id') + @api.depends('product_id') def _compute_name(self): for line in self: if line.display_type == 'payment_term':