[REF] sale: Corrected typo.

bzr revid: uco@tinyerp.com-20111125103558-d55tc9nzwegj38n4
This commit is contained in:
Ujjvala Collins (OpenERP)
2011-11-25 16:05:58 +05:30
parent fd26803911
commit ee90bb92a5
3 changed files with 4 additions and 4 deletions
+1 -1
View File
@@ -1,7 +1,7 @@
-
In order to test the Sale order flow, I compute the total of the listed products for Quotation1.
-
I check the total untaxed amount of the Quotation1 is correctly computed
I check the total untaxed amount of the Quotation1 is correctly computed.
-
!assert {model: sale.order, id: order, string: The amount of the Quotation is not correctly computed}:
- sum([l.price_subtotal for l in order_line]) == amount_untaxed
+2 -2
View File
@@ -1,5 +1,5 @@
-
In order to test the configuration Methods.
In order to test the configuration methods.
-
!record {model: sale.config.picking_policy, id: sale.config.picking_policy_0}:
sale_orders: False
@@ -9,7 +9,7 @@
order_policy: 'manual'
charge_delivery: False
-
I Execute that wizard of configuration.
I execute that wizard of configuration.
-
!python {model: sale.config.picking_policy}: |
self.execute(cr, uid, [ref("sale.config.picking_policy_0")])
+1 -1
View File
@@ -22,7 +22,7 @@
context = {"lang": 'en_US', "search_default_user_id":1, "tz": False, "active_model": 'sale.order', "active_ids": [ref("order3"),ref("order5")], "active_id":ref("order3")}
self.make_invoices(cr, uid, [ref("sale_make_invoice_1")], context)
-
I verify that an invoice has been created
I verify that an invoice has been created.
-
!python {model: sale.order}: |
inv = self.browse(cr, uid, ref('order3')).invoice_ids