Odoo Help

4

How can I inherit action?

By
Bonnet Denis
on 5/3/13, 12:59 PM 12,985 views

I want to use a piece of code from launchpad that fix a bug in project view:

http://bazaar.launchpad.net/~openerp-dev/openobject-addons/trunk-bug-1103408-cha/revision/8536

I know how to inherit view but I don't find how to inherit action. Someone can tell me how can I do?

13
nazarii
On 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>

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

Bonnet Denis
on 5/6/13, 6:29 AM

i think this one is not inherit, but replace

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

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: 5/3/13, 12:59 PM
Seen: 12985 times
Last updated: 8/25/16, 1:26 AM