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.
I would like to add new tab in product definition layout, the way go to layout: Warehouse --> Product --> Create. I tried some research and do similar things in account/product_view.xml to add new tab but not successful. I always got "Invalid XML architecture". Below is my xml code, I defined new xml to modify GUI:
<?xml version="1.0" encoding="utf-8"?> <openerp> <data> <record id="product_normal_form_view_conversion" model="ir.ui.view"> <field name="name">product.normal.form.inherit_conversion</field> <field name="model">product.uom.conversion</field> <field name="priority">6</field> <field name="inherit_id" ref="product.product_normal_form_view"/> <field name="arch" type="xml"> <notebook position="inside"> <page string="Conversion"> </page> </notebook> </field> </record> </data> </openerp>
I appreciate any help or suggestion from everyone. Thanks so much.
product.product and not
add add your page after another page (for example after page Inventory)
<field name="arch" type="xml"> <page string="Inventory" position="after"> <page string="Conversion"> <!-- your fields --> </page> </page> </field>
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: 8/25/13, 12:10 PM|
|Seen: 1248 times|
|Last updated: 3/16/15, 8:10 AM|