Odoo Help

Welcome!

This community 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.

4

How can I inherit action?

By
Bonnet Denis
on 5/3/13, 12:59 PM 9,217 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?

11
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

Your Answer

Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!

About This Community

This community is for professionals and enthusiasts of our products and services. Read Guidelines

Question tools

1 follower(s)

Stats

Asked: 5/3/13, 12:59 PM
Seen: 9217 times
Last updated: 8/25/16, 1:26 AM