mirror of
https://gitlab.com/sonalarora/tra_backend.git
synced 2025-12-18 02:39:10 +02:00
add new fields
This commit is contained in:
25
tra_backend_Product/views/product_views.xml
Normal file
25
tra_backend_Product/views/product_views.xml
Normal file
@@ -0,0 +1,25 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<odoo>
|
||||
<data>
|
||||
|
||||
<!-- view common to both template and product -->
|
||||
<record id="product_template_form_view__inventory_inherit" model="ir.ui.view">
|
||||
<field name="name">product.template.stock.property.form.inherit</field>
|
||||
<field name="model">product.template</field>
|
||||
<field name="inherit_id" ref="product.product_template_form_view"/>
|
||||
<field name="arch" type="xml">
|
||||
|
||||
<page name="inventory" position="inside">
|
||||
<xpath expr="//field[@name='weight']" position="after">
|
||||
<field name="width"/>
|
||||
</xpath>
|
||||
</page>
|
||||
|
||||
|
||||
</field>
|
||||
</record>
|
||||
|
||||
|
||||
|
||||
</data>
|
||||
</odoo>
|
||||
Reference in New Issue
Block a user