[FIX] check display type for right template render

This commit is contained in:
Иван Широких 2021-04-09 00:33:15 +00:00
parent beb664d0ee
commit 5bd00357bc

View File

@ -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 []
],