Add unit price to invoice line of scenario

issue4857
review22291002
This commit is contained in:
Cédric Krier committed 2015-07-16 19:32:28 +02:00
1 parent beb3be6860
commit 2293c2cf02
1 file changed
+2
+2
View File
@@ -112,6 +112,7 @@ Create invoice with analytic accounts::
>>> mandatory_entry.account = mandatory_analytic_account
>>> line.product = product
>>> line.quantity = 5
>>> line.unit_price = Decimal('40')
>>> invoice.click('post')
>>> invoice.state
u'posted'
@@ -137,6 +138,7 @@ Create invoice with an empty analytic account::
>>> mandatory_entry.account = mandatory_analytic_account
>>> line.product = product
>>> line.quantity = 1
>>> line.unit_price = Decimal('40')
>>> invoice.click('post')
>>> invoice.state
u'posted'