Odoo Help

0
1 Answer
1
Gokulakrishnan M
10/3/18, 6:51 AM

<record id="button_click_action" model="ir.actions.server">
    <field name="name">Button Action</field>
    <field name="binding_model_id" ref="project_name.model_res_partner" />
    <field name="model_id" ref="project_name.model_res_partner"/>
    <field name="state">code</field>
    <field name="code">action = model.my_function()</field>

   <field name="res_model">res.partner</field>
</record>

Project name like folder name(calendar).

I think it will helps you.

Thanks.

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