[FIX] check display type for right template render
This commit is contained in:
parent
beb664d0ee
commit
5bd00357bc
@ -223,6 +223,7 @@ class ContractWizard(models.TransientModel, Extension):
|
|||||||
"cost": self.to_fixed(item.price_unit),
|
"cost": self.to_fixed(item.price_unit),
|
||||||
"discount": self.to_fixed(item.discount),
|
"discount": self.to_fixed(item.discount),
|
||||||
"subtotal": self.to_fixed(item.price_subtotal),
|
"subtotal": self.to_fixed(item.price_subtotal),
|
||||||
|
"display_type": item.display_type,
|
||||||
}
|
}
|
||||||
for item in self.target.order_id.order_line or []
|
for item in self.target.order_id.order_line or []
|
||||||
],
|
],
|
||||||
|
Loading…
x
Reference in New Issue
Block a user