Skip to Content
Menu
This question has been flagged
1481 Views

Hello,


I cant to launch an action (wizard) from JS, but everytime the console returns me that error : parent._trigger_up is not a function


this.do_action({
type: 'ir.actions.act_window',
res_model: 'suppliers.wizard', // Module name goes here
view_mode: 'form',
view_type: 'form',
views: [[false, 'form']],
target: 'new',
});

I've override handleCustomValues in sale.VariantsMixin to trigger this wizard when the input of custom value appears.

What is wrong with this ?

Avatar
Discard