[IMP] Improve code in yml.

bzr revid: bth@tinyerp.com-20130218064400-vuwzzf2cbrov4bik
This commit is contained in:
Bhumi Thakkar (Open ERP)
2013-02-18 12:14:00 +05:30
parent 51005a923e
commit eba87345a7
2 changed files with 2 additions and 2 deletions
+1 -1
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 = dict(context, mail_create_nolog=True)
context = {"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'))
@@ -45,7 +45,7 @@
partner_id: base.res_partner_12
-
!python {model: purchase.requisition.partner}: |
context = dict(context, mail_create_nolog=True)
context = {"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.