hello everyone.
I need to open a link of product form when i click on bom lines and i decide to use JavaScript. and i use window.open but it's not working well. could anyone help me please...
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
hello everyone.
I need to open a link of product form when i click on bom lines and i decide to use JavaScript. and i use window.open but it's not working well. could anyone help me please...
I found solution by using ajax to request to load another form.
self.do_action({
views: [[false, 'form']],
view_type: 'form',
view_mode: 'form',
res_model: 'product.product',
type: 'ir.actions.act_window',
target: 'current',
res_id: product_id,
});
Voathnak,
Can u post the full code for opening openerp url using ajax? i'm totally "lost" in php, mainly i write my code using java..
Thanks..
Ignatius
Cree una cuenta para poder utilizar funciones exclusivas e interactuar con la comunidad.
Inscribirse
Subscribe