Skip to content
Snippets Groups Projects
Commit e155ff6d authored by Fabien Pinckaers's avatar Fabien Pinckaers
Browse files

[IMP] yaml tests

bzr revid: fp@tinyerp.com-20111114221924-btl3n72he07nysvd
parent dd35a53e
No related branches found
No related tags found
No related merge requests found
......@@ -150,7 +150,7 @@
assert (move_line.debit - move_line.credit == 80), "Invoice move is incorrect for debtors account"
-
I create the first voucher of payment
<create with values 200 EUR (€), journal EUR, and fills amount 130 for the invoice of 200$ and 70 for the invoice of 100$>
<create with values 200 EUR, journal EUR, and fills amount 130 EUR for the invoice of 200 USD and 70 EUR for the invoice of 100 USD>
-
!python {model: account.voucher}: |
import netsvc, time
......
......@@ -5,7 +5,6 @@
name: 20KG
uom_type: bigger
category_id: product.product_uom_categ_kgm
rounding: 0.010
factor_inv: 20
-
I create a 10KG UOM for 'Sugar'
......@@ -14,14 +13,12 @@
name: 10KG
uom_type: bigger
category_id: product.product_uom_categ_kgm
rounding: 0.010
factor_inv: 10
-
I create a new product 'Sugar' in 20KG UOM.
-
!record {model: product.product, id: product_sugar_id1}:
categ_id: 'product.product_category_rawmaterial0'
cost_method: standard
name: Sugar 20KG
procure_method: make_to_order
standard_price: 400.0
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment