Hello,
I developped a little module that adds 2 boolean fields into res.partner.tags. (customer and supplier)
I would like load the category_id of res.partner view depending on this new fields. If I open the form view by customer menu, I want that it loads the categories marked like customer, if I open the form by supplier menu, I want that it loads categories marked like supplier and if I open contact view, it should show all categories.
I saw that this 3 actions call the same form view and I don't know how adapt the domain in this field.
Somebody knows how do that?
Thank you in advance
Bravo! Thank you very much! It works very good!
Happy to help you