[FIX] account: several fixes on the new bank statement reconciliation widget
[odoo/odoo.git] / addons / account / product_view.xml
1 <?xml version="1.0" encoding="utf-8"?>
2 <openerp>
3     <data>
4         <record id="product_template_form_view" model="ir.ui.view">
5             <field name="name">product.template.form.inherit</field>
6             <field name="model">product.template</field>
7             <field name="priority">5</field>
8             <field name="inherit_id" ref="product.product_template_form_view"/>
9             <field name="arch" type="xml">
10                 <page string="Sales" position="after">
11                     <page string="Accounting" groups="account.group_account_invoice">
12                         <group>
13                             <label for="categ_id" string="Internal Category"/>
14                             <div><field name="categ_id" colspan="3" nolabel="1"/></div>
15                         </group>
16                         <group name="properties">
17                             <group>
18                                 <field name="property_account_income" domain="[('type','=','other')]" groups="account.group_account_user"/>
19                                 <field name="taxes_id" colspan="2" widget="many2many_tags"/>
20                             </group>
21                             <group>
22                                 <field name="property_account_expense" domain="[('type','=','other')]" groups="account.group_account_user"/>
23                                 <field name="supplier_taxes_id" colspan="2" widget="many2many_tags"/>
24                             </group>
25                         </group>
26                     </page>
27                 </page>
28             </field>
29         </record>
30
31         <record id="product_template_search_view" model="ir.ui.view">
32             <field name="name">product.template.search</field>
33             <field name="model">product.template</field>
34             <field name="mode">primary</field>
35             <field name="inherit_id" ref="product.product_template_search_view"/>
36             <field name="arch" type="xml">
37                 <field name="product_variant_ids" position="after">
38                     <field name="categ_id"/>
39                 </field>
40                 <xpath expr="//group[@string='Group by...']" position="inside">
41                     <filter string='Category' icon="terp-stock_symbol-selection" domain="[]" context="{'group_by' : 'categ_id'}"/>
42                 </xpath>
43             </field>
44         </record>
45
46         <record id="view_category_property_form" model="ir.ui.view">
47             <field name="name">product.category.property.form.inherit</field>
48             <field name="model">product.category</field>
49             <field name="inherit_id" ref="product.product_category_form_view"/>
50             <field name="arch" type="xml">
51                 <data>
52                     <xpath expr="//group[@name='parent']" position="inside">
53                         <group name="account_property" string="Account Properties" colspan="2">
54                             <field name="property_account_income_categ" domain="[('type','&lt;&gt;','view'),('type','&lt;&gt;','consolidation')]"/>
55                             <field name="property_account_expense_categ" domain="[('type','&lt;&gt;','view'),('type','&lt;&gt;','consolidation')]"/>
56                         </group>
57                     </xpath>
58                 </data>
59             </field>
60         </record>
61
62     </data>
63 </openerp>