[ADD] Document variable: item.discount for items (positions) of order
This commit is contained in:
parent
755658a6f9
commit
9f8be7c000
@ -207,6 +207,7 @@ class ContractWizard(models.TransientModel, Extension):
|
|||||||
"count": item.product_uom_qty,
|
"count": item.product_uom_qty,
|
||||||
"unit": item.product_uom.name,
|
"unit": item.product_uom.name,
|
||||||
"cost": self.to_fixed(item.price_unit),
|
"cost": self.to_fixed(item.price_unit),
|
||||||
|
"discount": self.to_fixed(item.discount),
|
||||||
"subtotal": self.to_fixed(item.price_subtotal),
|
"subtotal": self.to_fixed(item.price_subtotal),
|
||||||
}
|
}
|
||||||
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