Tuesday 7 March 2017

How to call a wizard from js in odoo ?

this.do_action({

                   type: 'ir.actions.act_window',

                  res_model: 'Model name',

                 view_mode: 'form',

                 view_type: 'form',

                 views: [[false, 'form']],

                 target: 'new',

                 context:{}
});

No comments:

Post a Comment