From 5bd00357bcaf5f5a9912b4579c49d39575f9012b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=98=D0=B2=D0=B0=D0=BD=20=D0=A8=D0=B8=D1=80=D0=BE=D0=BA?= =?UTF-8?q?=D0=B8=D1=85?= Date: Fri, 9 Apr 2021 00:33:15 +0000 Subject: [PATCH] [FIX] check display type for right template render --- wizard/res_partner_contract_wizard.py | 1 + 1 file changed, 1 insertion(+) diff --git a/wizard/res_partner_contract_wizard.py b/wizard/res_partner_contract_wizard.py index ca12ab1..2ab14ba 100755 --- a/wizard/res_partner_contract_wizard.py +++ b/wizard/res_partner_contract_wizard.py @@ -223,6 +223,7 @@ class ContractWizard(models.TransientModel, Extension): "cost": self.to_fixed(item.price_unit), "discount": self.to_fixed(item.discount), "subtotal": self.to_fixed(item.price_subtotal), + "display_type": item.display_type, } for item in self.target.order_id.order_line or [] ],