Add brach 7.4, fields orde.line and xmls
This commit is contained in:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user