[IMP] Improve code in yml.
bzr revid: bth@tinyerp.com-20130218080109-i1exaw3dq571473r
This commit is contained in:
parent
849807566d
commit
83879211f3
|
@ -1,7 +1,7 @@
|
|||
-
|
||||
In order to merge RFQ, I merge two RFQ which has same supplier and check new merged order.
|
||||
-
|
||||
!python {model: purchase.order}: |
|
||||
!python {model: purchase.order}: |
|
||||
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'))
|
||||
|
|
|
@ -44,7 +44,7 @@
|
|||
!record {model: purchase.requisition.partner, id: requisition_partner_0}:
|
||||
partner_id: base.res_partner_12
|
||||
-
|
||||
!python {model: purchase.requisition.partner}: |
|
||||
!python {model: purchase.requisition.partner}: |
|
||||
context.update({"mail_create_nolog" : True })
|
||||
self.create_order(cr, uid, [ref("requisition_partner_0")], context=context)
|
||||
-
|
||||
|
|
Loading…
Reference in New Issue