We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d2e697b commit dc502ebCopy full SHA for dc502eb
purchase_rfq_bid_workflow/model/purchase_order.py
@@ -186,6 +186,8 @@ def action_cancel(self):
186
'action_modal_cancel_reason'))[1]
187
ctx = self._context.copy()
188
ctx['action'] = 'action_cancel_ok'
189
+ ctx['active_model'] = 'purchase.order'
190
+ ctx['active_ids'] = self.ids
191
# TODO: filter based on po type
192
return {
193
'type': 'ir.actions.act_window',
0 commit comments