[IMP] Improve code in yml.

bzr revid: bth@tinyerp.com-20130218075653-nikwao3pc037st2p
This commit is contained in:
Bhumi Thakkar (Open ERP) 2013-02-18 13:26:53 +05:30
parent eba87345a7
commit 849807566d
2 changed files with 2 additions and 2 deletions

View File

@ -2,7 +2,7 @@
In order to merge RFQ, I merge two RFQ which has same supplier and check new merged order.
-
!python {model: purchase.order}: |
context = {"mail_create_nolog" : True }
context.update({"mail_create_nolog" : True })
new_id = self.do_merge(cr, uid, [ref('purchase_order_4'), ref('purchase_order_7')], context=context)
order3 = self.browse(cr, uid, ref('purchase_order_4'))
order7 = self.browse(cr, uid, ref('purchase_order_7'))

View File

@ -45,7 +45,7 @@
partner_id: base.res_partner_12
-
!python {model: purchase.requisition.partner}: |
context = {"mail_create_nolog" : True }
context.update({"mail_create_nolog" : True })
self.create_order(cr, uid, [ref("requisition_partner_0")], context=context)
-
I check that the RFQ details which created for supplier.