c82391a2df23caa108c766c1bb23a7e01ef1bd86
[odoo/odoo.git] / addons / stock / product_view.xml
1 <?xml version="1.0" encoding="utf-8"?>
2 <openerp>
3     <data>
4
5         <record id="view_category_property_form" model="ir.ui.view">
6             <field name="name">product.category.stock.property.form.inherit</field>
7             <field name="model">product.category</field>
8             <field name="type">form</field>
9             <field name="inherit_id" ref="product.product_category_form_view"/>
10             <field name="arch" type="xml">
11                 <form position="inside">
12                     <group col="2" colspan="2">
13                         <separator string="Accounting Stock Properties" colspan="2"/>
14                         <field name="property_stock_account_input_categ"/>
15                         <field name="property_stock_account_output_categ"/>
16                         <field name="property_stock_journal"/>
17                     </group>
18                 </form>
19             </field>
20         </record>
21
22
23
24         <record id="view_template_property_form" model="ir.ui.view">
25             <field name="name">product.template.stock.property.form.inherit</field>
26             <field name="model">product.template</field>
27             <field name="type">form</field>
28             <field name="inherit_id" ref="product.product_template_form_view"/>
29             <field name="arch" type="xml">
30                  <page position="after" string="Information">
31                     <page string="Properties">
32                         <separator string="Counter-Part Locations Properties" colspan="4"/>
33                         <field name="property_stock_procurement"/>
34                         <field name="property_stock_production"/>
35                         <field name="property_stock_inventory"/>
36                         <separator string="Accounting Entries" colspan="4"/>
37                         <field name="property_stock_account_input"/>
38                         <field name="property_stock_account_output"/>
39                     </page>
40                 </page>
41             </field>
42         </record>
43
44
45         <record id="view_normal_property_acc_form" model="ir.ui.view">
46             <field name="name">product.normal.stock.acc.property.form.inherit</field>
47             <field name="model">product.product</field>
48             <field name="type">form</field>
49             <field name="inherit_id" ref="product.product_normal_form_view"/>
50             <field name="priority">26</field>
51             <field name="arch" type="xml">
52                 <field name="property_account_expense" position="after">
53                     <field name="property_stock_account_output"/>
54                     <field name="property_stock_account_input"/>
55                 </field>
56             </field>
57         </record>
58
59         <record id="view_normal_stock_property_form" model="ir.ui.view">
60             <field name="name">product.normal.stock.form.inherit</field>
61             <field name="model">product.product</field>
62             <field name="type">form</field>
63             <field name="inherit_id" ref="product.product_normal_form_view"/>
64             <field name="arch" type="xml">
65                 <group name="status" position="after">
66                     <group colspan="2" col="2">
67                         <separator string="Stocks" colspan="4"/>
68                         <field name="qty_available"/>
69                         <field name="virtual_available"/>
70                         <field name="incoming_qty"/>
71                         <field name="outgoing_qty"/>
72                     </group>
73                     <group colspan="2" col="2" name="lot" groups="base.group_extended">
74                         <separator string="Lots" colspan="4"/>
75                         <field name="track_production" />
76                         <field name="track_incoming" />
77                         <field name="track_outgoing" />
78                     </group>
79                 </group>
80             </field>
81         </record>
82
83         <record id="view_normal_property_form" model="ir.ui.view">
84             <field name="name">product.normal.stock.property.form.inherit</field>
85             <field name="model">product.product</field>
86             <field name="type">form</field>
87             <field name="inherit_id" ref="product.product_normal_form_view"/>
88             <field name="arch" type="xml">
89                 <group name="store" position="after">
90                     <group col="2" colspan="2" name="store">
91                         <separator string="Counter-Part Locations Properties" colspan="2"/>
92                         <field name="property_stock_procurement"/>
93                         <field name="property_stock_production"/>
94                         <field name="property_stock_inventory"/>
95                     </group>
96                 </group>
97             </field>
98         </record>
99
100
101     </data>
102 </openerp>