[IMP] config wizards: add buttons Cancel and Apply on forms
[odoo/odoo.git] / addons / product_manufacturer / product_manufacturer_view.xml
1 <?xml version="1.0" ?>
2 <openerp>
3     <data>
4
5         <record model="ir.ui.view" id="view_product_form_expiry">
6             <field name="name">product.normal.form</field>
7             <field name="model">product.product</field>
8             <field name="inherit_id" ref="product.product_normal_form_view" />
9             <field name="type">form</field>
10             <field name="arch" type="xml">
11                 <notebook position="inside">
12                     <page string="Manufacturer">
13                         <separator string="Manufacturer" colspan="4" />
14                         <field name="manufacturer" />
15                         <newline/>
16                         <field name="manufacturer_pname"/>
17                         <field name="manufacturer_pref"/>
18                         
19                         <separator string="Attributes" colspan="4"/>
20                         <field name="attribute_ids" colspan="4" nolabel="1">
21                             <tree string="Product Attributes" editable="bottom">
22                                 <field name="name"/>
23                                 <field name="value"/>
24                             </tree>
25                         </field>
26                     </page>
27                 </notebook>
28             </field>
29         </record>
30
31         <record model="ir.ui.view" id="product_manufacturer_attribute_tree_view">
32             <field name="name">product.manufacturer.attribute.tree</field>
33             <field name="model">product.manufacturer.attribute</field>
34             <field name="type">tree</field>
35             <field name="arch" type="xml">
36                 <tree string="Product Attributes" editable="bottom">
37                     <field name="name"/>
38                     <field name="value"/>
39                 </tree>
40             </field>
41         </record>
42         <record model="ir.ui.view" id="product_manufacturer_attribute_form_view">
43             <field name="name">product.manufacturer.attribute.form</field>
44             <field name="model">product.manufacturer.attribute</field>
45             <field name="type">form</field>
46             <field name="arch" type="xml">
47                 <form string="Product Template Name">
48                     <field name="name"/>
49                     <field name="value"/>
50                 </form>
51             </field>
52         </record>
53
54     </data>
55 </openerp>
56