Inherit View And Adding Fields
I want to add my 2 fields boatlenght and fuelcapacity under price list in product form view but they are not showing up. What did i miss.
Solution 1:
Try
<recordid="product_product_template_only_form_view"model="ir.ui.view"><fieldname="model">product.product</field><fieldname="inherit_id"ref="product.product_template_only_form_view"/><fieldname="arch"type="xml"><xpathexpr="//field[@name='list_price']"position="after"><fieldname="boatlenght"/><fieldname="fuelcapacity"/></xpath></field></record>
In order to insert the field properly you use an xpath expression to insert it on the DOM.
Check the documentation.
Post a Comment for "Inherit View And Adding Fields"