Odoo Help

4

1
5 Answers
15
Avatar

nazarii Ukraine

--nazarii--

948
| 6 5 8
Ukraine
--nazarii--
nazarii Ukraine
5/3/13, 4:06 PM

Id of record that inherits other action must be of the following format: module_name where record you are inheriting comes from + '.' + record_id you are inheriting. So it will looks like:

<record id="module_name.record_id" model="record_model">
    <field name="name">New record name</field>
</record>
2 Comments
Bonnet Denis France
5/6/13, 6:29 AM

Thanks a lot. I edit your code and that's working well.

henro Indonesia
2/23/17, 2:29 AM

i think this one is not inherit, but replace

1
omar ahmed Egypt
8/12/18, 6:55 PM

to override old action ....

first add it's record in model="ir.actions.act_window.view"

second  add reference of your form name="view_id" ref="form record id"

<record id="action_all_customers_form" model="ir.actions.act_window.view">
<field name="act_window_id" ref="action_all_customers" />
<field name="view_id" ref="form_all_customers" />
<field name="view_mode">form</field>
<field name="sequence">10</field>
</record>

good luck

0
samara India
4/29/19, 11:58 PM

Thank you for the reply

Ask a Question
Writer
Keep Informed
1 follower(s)
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