From be85eb46493c74429c6187c2786013ded21c0d83 Mon Sep 17 00:00:00 2001 From: Stepan Savelyev Date: Mon, 10 Feb 2020 14:02:24 +0500 Subject: [PATCH] [IMP] Item in products table show now article and tags (using display_name of product instead of name) --- wizard/res_partner_contract_wizard.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wizard/res_partner_contract_wizard.py b/wizard/res_partner_contract_wizard.py index 88decf3..12af3d6 100644 --- a/wizard/res_partner_contract_wizard.py +++ b/wizard/res_partner_contract_wizard.py @@ -200,7 +200,7 @@ class ContractWizard(models.TransientModel, Extension): "products": [ { "number": next(counter), - "label": item.product_id.name, + "label": item.product_id.display_name, "description": item.product_id.description_sale, "count": item.product_uom_qty, "unit": item.product_uom.name,