@@ -97,7 +97,7 @@ def test_01_purchase_order_manual_delivery(self):
97
97
wizard = (
98
98
self .env ["create.stock.picking.wizard" ]
99
99
.with_context (
100
- {
100
+ ** {
101
101
"active_model" : "purchase.order" ,
102
102
"active_id" : self .po1 .id ,
103
103
"active_ids" : self .po1 .ids ,
@@ -121,7 +121,7 @@ def test_01_purchase_order_manual_delivery(self):
121
121
wizard = (
122
122
self .env ["create.stock.picking.wizard" ]
123
123
.with_context (
124
- {
124
+ ** {
125
125
"active_model" : "purchase.order" ,
126
126
"active_id" : self .po1 .id ,
127
127
"active_ids" : self .po1 .ids ,
@@ -143,7 +143,7 @@ def test_01_purchase_order_manual_delivery(self):
143
143
wizard = (
144
144
self .env ["create.stock.picking.wizard" ]
145
145
.with_context (
146
- {
146
+ ** {
147
147
"active_model" : "purchase.order" ,
148
148
"active_id" : self .po1 .id ,
149
149
"active_ids" : self .po1 .ids ,
@@ -182,7 +182,7 @@ def test_02_purchase_order_line_manual_delivery(self):
182
182
with self .assertRaises (UserError ):
183
183
# create a manual delivery for two lines different PO
184
184
self .env ["create.stock.picking.wizard" ].with_context (
185
- {
185
+ ** {
186
186
"active_model" : "purchase.order.line" ,
187
187
"active_ids" : [self .po1_line1 .id , self .po2_line1 .id ],
188
188
}
@@ -192,7 +192,7 @@ def test_02_purchase_order_line_manual_delivery(self):
192
192
wizard = (
193
193
self .env ["create.stock.picking.wizard" ]
194
194
.with_context (
195
- {
195
+ ** {
196
196
"active_model" : "purchase.order.line" ,
197
197
"active_ids" : self .po2 .order_line .ids ,
198
198
}
@@ -232,7 +232,7 @@ def test_03_purchase_order_line_location(self):
232
232
wizard = (
233
233
self .env ["create.stock.picking.wizard" ]
234
234
.with_context (
235
- {
235
+ ** {
236
236
"active_model" : "purchase.order" ,
237
237
"active_id" : self .po1 .id ,
238
238
"active_ids" : self .po1 .ids ,
0 commit comments