Understanding client event and overriding tree_but_open
Hello folks,
I'm trying to understand how the client event binding works.
To sum it up briefly, I would like to override this in product_view.xml of product base module:
(line 277)
<record id="product_
<field name="name"
<field name="type"
<field name="res_
<field name="view_
<field name="view_
<field name="domain"
<field name="context"
</record>
<record id="ir_
<field eval="'
<field eval="'
<field name="name"
<field eval="'
<field eval="True" name="object"/>
</record>
What I would like to achieve especially is to be able to override those 2 fields in one of my module:
<field name="domain"
<field name="context"
I've tried to apply my modification directly in the core files and it works as expected, but now I would like to do it the clean way.
If someone can help me understand how to either override or redeclare this and how to bind it to the right action, I'd me more than pleased ;-)
Thx,
John
Question information
- Language:
- English Edit question
- Status:
- Solved
- Assignee:
- No assignee Edit question
- Solved by:
- Jonathan Liuti
- Solved:
- Last query:
- Last reply: