test yaml

bzr revid: fp@tinyerp.com-20100307195519-7qhbk08tzrwd5dq5
This commit is contained in:
Fabien Pinckaers
2010-03-07 20:55:19 +01:00
parent ad22780875
commit d702fbdfe3
+14 -2
View File
@@ -18,10 +18,10 @@
-
And we define an invoice with one invoice line with a tax of *tax
-
!record {model: account.invoice, id: invoice1}:
!record {model: account.invoice, id: invoice1}: &invoice
name: Precision Test
type: out_invoice
partner_id:
partner_id: base.xxx
address_contact_id:
address_invoice_id:
account_id:
@@ -51,3 +51,15 @@
-
!record {model: account.invoice, id: invoice1}:
test: abs(move_id.debit - move_id.credit) < 0.000001
-
Then, I change the precision of numbers to 3 digits.
-
!record {model: decimal.precision, id: product.decimal_account}:
digits: 2
-
And I create another invoice with the same content.
-
!record {model: account.invoice, id: invoice2}:
*invoice
-
to be completed, etc.