diff --git a/addons/purchase/test/process/merge_order.yml b/addons/purchase/test/process/merge_order.yml index d30f36b3004..60298ccea89 100644 --- a/addons/purchase/test/process/merge_order.yml +++ b/addons/purchase/test/process/merge_order.yml @@ -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')) diff --git a/addons/purchase_requisition/test/purchase_requisition.yml b/addons/purchase_requisition/test/purchase_requisition.yml index d3291ab5c7e..376ea61ab92 100644 --- a/addons/purchase_requisition/test/purchase_requisition.yml +++ b/addons/purchase_requisition/test/purchase_requisition.yml @@ -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.