Odoo Ayuda

0

0
2 Answers
0
Silverstar
6/5/19 5:20

Hi,

check the event.target value if its is current . Change event.target value to new. 

you can pass static value if does not affect anything.

if (id) {
            this.trigger_up('open_record',{id: id, target: 'new'});
        }


let me know how it works.

Ex.


{
    "type": "ir.actions.act_window",
    "res_model": "product.product",
    "views": [[False, "form"]],
    "res_id": a_product_id,
    "target": "new",
}


Regards,

Silvestar

0
Mahenina
6/5/19 6:13

thank you for your reply, but where can I find/modify your code example?

1 Comentario
Silverstar
7/5/19 2:41

check i have updated my code.

Realizar una pregunta
Writer
Keep Informed
1 seguidor(es)
About This Community

This platform is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.

Register
Odoo Training Center

Access to our eLearning platform and experience all Odoo Apps through learning videos, use cases and quizzes.

Test it now