Add brach 7.4, fields orde.line and xmls

This commit is contained in:
2025-01-25 11:33:24 -05:00
parent de6b2e3c14
commit b3b74c1f69
6 changed files with 109 additions and 3 deletions

View File

@@ -37,8 +37,9 @@ Create order::
>>> order.save()
>>> line1 = order.lines.new()
>>> line1.product = product
>>> line1.quantity = 4
>>> line1.unitprice = 8400
>>> line1.total_amount = 33600
>>> line1.unit = unit
>>> line1.quantity = 4.0
>>> line1.unitprice = Decimal('8400')
>>> line1.total_amount = Decimal('33600')
>>> order.save()