[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) <bib@odoo.com> Signed-off-by: Grazioso Andrea (agr) <agr@odoo.com>
This commit is contained in:
@@ -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':
|
||||
|
||||
Reference in New Issue
Block a user