Odoo Help

1

How to change the behaviour of the X button in the kanban view of res.partner children?

By
Juan Formoso
on 1/13/15, 10:15 AM 681 views

When a partner is a company, you can see the partners who are working for it in the form view, inside a tab named Contacts. They are shown through a kanban view. If you press the edit button, you'll be able to see a X button next to each partner. If you press that X button and then the save button, the contact will be completely removed.

I'd like to change that behaviour, launch a confirm window when clicking on the X or removing the parent_id field of the selected partner instead of deleting all its data.

How can I do this?

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 E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.

Test it now

Question tools

1 follower(s)

Stats

Asked: 1/13/15, 10:15 AM
Seen: 681 times
Last updated: 3/16/15, 8:10 AM