Odoo is the world's easiest all-in-one management software. It includes hundreds of business apps:
CRM | e-Commerce | Accounting | Inventory | PoS | Project management | MRP | etc.
Firstly, i want to create a form in OpenERP with a button on it. When that button clicked, that button will link to the project.issue form. can I? What must I write on the button?
I'm using developers mode on OpenERP.
Suppose you want to open Sale Order form view from your Object. Do as per following
In your xml file, Make Action as per following
<record model="ir.actions.act_window" id="action_your_action_form_test"> <field name="name">My Test</field> <field name="type">ir.actions.act_window</field> <field name="res_model">your.object</field> <field name="view_type">form</field> <field name="view_id" ref="view_object_form_view"/> </record>
and for button ,
<button name="%(your_module.action_your_action_form_test)d" string="Test" type="action" states="draft" />
Hope it work for you.
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 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
|Asked: 7/9/13, 2:18 AM|
|Seen: 4515 times|
|Last updated: 3/16/15, 8:10 AM|