[FIX] sale: yaml issue

bzr revid: hmo@tinyerp.com-20101112134953-mzm3yccizmxycb3l
This commit is contained in:
Harry (OpenERP)
2010-11-12 19:19:53 +05:30
parent 65bde624c0
commit df6494875a
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -74,7 +74,7 @@
ids = [x.id for x in sale_id.picking_ids]
wiz_id = self.create(cr, uid, {'invoice_date': '2010-07-17', 'journal_id': ref('account.sales_journal')},
{'active_ids': ids})
self.create_invoice(cr, uid, [wiz_id], {"active_ids": ids})
self.create_invoice(cr, uid, [wiz_id], {"active_ids": ids, "active_id": ids[0]})
-
I verify whether the invoice has been generated for SO
-
+1 -1
View File
@@ -67,7 +67,7 @@
ids = [x.id for x in sale_id.picking_ids]
wiz_id = self.create(cr, uid, {'invoice_date': '2010-07-15', 'journal_id': ref('account.sales_journal')},
{'active_ids': ids})
self.create_invoice(cr, uid, [wiz_id], {"active_ids": ids})
self.create_invoice(cr, uid, [wiz_id], {"active_ids": ids, "active_id": ids[0]})
-
I check that an invoice has been created.
-