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 need to modify a sight inherited in the V8, without father modifies the list. I am doing a few tests and do not meet on it. If I put <field name = "mode"> primary <//field>, I do not manage to show the field in any of 2 sights (the father, nor the daughter). Though in the list of fields the field appears in both sights (but without showing it) If I add him <;field name = "priority" eval = "8" />, the field appears in 2 sights. The same thing that if I take him <field name = "mode"> primary </field> .-The truth that I do not know where taking it. I leave the code you, for if someone can help me.
from openerp import models, fields, api
field_try = fields.Char(string= "Fields of test:", translate=True )
<menuitem name= "attempt inheritance" id="prueba_main" sequence="90"/>
<menuitem name= "attempt item" id="prueba_main_main" parent="prueba_main"/>
<record id="product_prueba_form_view" model="ir.ui.view" >
<field name="priority" eval="8" />
<field name="inherit_id" ref="product.product_template_only_form_view"/>
<field name="arch" type="xml">
<field name="name" position="after">
<record id="prueba_main_main_action" model="ir.actions.act_window">
<menuitem action="prueba_main_main_action" id="prueba_main_main_menu" sequence="1" parent="prueba_main_main"/>
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: 4/19/15, 3:06 AM|
|Seen: 335 times|
|Last updated: 4/19/15, 3:06 AM|