[IMP]improve name of product in sale/sale_order_demo yml.
bzr revid: dka@tinyerp.com-20131028044053-ewvotzso2c1mmrmv
This commit is contained in:
@@ -17,7 +17,7 @@
|
||||
I verify that the onchange was correctly triggered
|
||||
-
|
||||
!assert {model: sale.order, id: sale.sale_order_test1, string: The onchange function of product was not correctly triggered}:
|
||||
- order_line[0].name == u'[LCD17] 17\u201d LCD Monitor'
|
||||
- order_line[0].name == u'[LCD17] LCD Monitor - 17inch'
|
||||
- order_line[0].price_unit == 1350.0
|
||||
- order_line[0].product_uom_qty == 8
|
||||
- order_line[0].product_uom.id == ref('product.product_uom_unit')
|
||||
@@ -35,7 +35,7 @@
|
||||
I verify that the onchange was correctly triggered
|
||||
-
|
||||
!assert {model: sale.order, id: sale.sale_order_test2, string: The onchange function of product was not correctly triggered}:
|
||||
- order_line[0].name == u'[LCD17] 17\u201d LCD Monitor'
|
||||
- order_line[0].name == u'[LCD17] LCD Monitor - 17inch'
|
||||
- order_line[0].price_unit == 1350.0 * 12
|
||||
- order_line[0].product_uom.id == ref('product.product_uom_dozen')
|
||||
- order_line[0].product_uom_qty == 16
|
||||
Reference in New Issue
Block a user