73 lines
2.4 KiB
XML
73 lines
2.4 KiB
XML
|
<?xml version="1.0" ?>
|
||
|
<openerp>
|
||
|
<data>
|
||
|
|
||
|
<record model="ir.ui.view" id="view_product_form_expiry">
|
||
|
<field name="name">product.normal.form</field>
|
||
|
<field name="model">product.product</field>
|
||
|
<field name="inherit_id" ref="product.product_normal_form_view" />
|
||
|
<field name="type">form</field>
|
||
|
<field name="arch" type="xml">
|
||
|
<notebook position="inside">
|
||
|
<page string="Manufacturing Data">
|
||
|
<separator string="Manufacturing data" colspan="4" />
|
||
|
<field name="manufacturer_ids" colspan="4" nolabel="1" widget="one2many_list"/>
|
||
|
|
||
|
<separator string="Attributes" colspan="4"/>
|
||
|
<field name="attribute_ids" colspan="4" nolabel="1" widget="one2many_list" />
|
||
|
</page>
|
||
|
</notebook>
|
||
|
</field>
|
||
|
</record>
|
||
|
|
||
|
<record model="ir.ui.view" id="product_manufacturer_attribute_tree_view">
|
||
|
<field name="name">product.manufacturer.attribute.tree</field>
|
||
|
<field name="model">product.manufacturer.attribute</field>
|
||
|
<field name="type">tree</field>
|
||
|
<field name="arch" type="xml">
|
||
|
<tree string="Product Template Name">
|
||
|
<field name="name"/>
|
||
|
<field name="value"/>
|
||
|
</tree>
|
||
|
</field>
|
||
|
</record>
|
||
|
<record model="ir.ui.view" id="product_manufacturer_attribute_form_view">
|
||
|
<field name="name">product.manufacturer.attribute.form</field>
|
||
|
<field name="model">product.manufacturer.attribute</field>
|
||
|
<field name="type">form</field>
|
||
|
<field name="arch" type="xml">
|
||
|
<form string="Product Template Name">
|
||
|
<field name="name" select="1"/>
|
||
|
<field name="value" select="1"/>
|
||
|
</form>
|
||
|
</field>
|
||
|
</record>
|
||
|
|
||
|
<record model="ir.ui.view" id="product_manufacturer_manufact_tree_view">
|
||
|
<field name="name">res.partner.manufacturer.tree</field>
|
||
|
<field name="model">res.partner.manufacturer</field>
|
||
|
<field name="type">tree</field>
|
||
|
<field name="arch" type="xml">
|
||
|
<tree string="Manufacturers" editable="top">
|
||
|
<field name="manufacturer_id"/>
|
||
|
<field name="country_id"/>
|
||
|
<field name="authorized"/>
|
||
|
</tree>
|
||
|
</field>
|
||
|
</record>
|
||
|
<record model="ir.ui.view" id="product_manufacturer_manufa_form_view">
|
||
|
<field name="name">res.partner.manufacturer.form</field>
|
||
|
<field name="model">res.partner.manufacturer</field>
|
||
|
<field name="type">form</field>
|
||
|
<field name="arch" type="xml">
|
||
|
<form string="Manufacturers">
|
||
|
<field name="manufacturer_id" colspan="4"/>
|
||
|
<field name="country_id"/>
|
||
|
<field name="authorized"/>
|
||
|
</form>
|
||
|
</field>
|
||
|
</record>
|
||
|
</data>
|
||
|
</openerp>
|
||
|
|