~ecommerce-addons-core-editors/e-commerce-addons/github-6.1

« back to all changes in this revision

Viewing changes to base_sale_multichannels/report_view.xml

  • Committer: sebastien beau
  • Date: 2012-08-21 13:57:44 UTC
  • mto: (269.1.1)
  • mto: This revision was merged to the branch mainline in revision 273.
  • Revision ID: git-v1:5a17b67295468f3c90564a729144ebc41da38618
[REF] refactor/clean code due to orm change in 6.1

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
<?xml version="1.0" encoding="utf-8"?>
2
 
<openerp>
3
 
        <data>
4
 
 
5
 
        <record model="ir.ui.view" id="external_report_form_view_shop">
6
 
            <field name="name">external_report_form_view_shop</field>
7
 
            <field name="model">external.report</field>
8
 
            <field name="inherit_id" ref="base_external_referentials.external_report_form_view" />
9
 
            <field name="type">form</field>
10
 
            <field name="arch" type="xml">
11
 
                 <field name="external_referential_id" position="after">
12
 
                     <field name="shop_id"/>
13
 
                 </field>
14
 
            </field>
15
 
        </record>
16
 
 
17
 
        <record model="ir.ui.view" id="external_report_tree_view_shop">
18
 
            <field name="name">external_report_tree_view_shop</field>
19
 
            <field name="model">external.report</field>
20
 
            <field name="inherit_id" ref="base_external_referentials.external_report_tree_view" />
21
 
            <field name="type">tree</field>
22
 
            <field name="arch" type="xml">
23
 
                 <field name="external_referential_id" position="after">
24
 
                     <field name="shop_id"/>
25
 
                 </field>
26
 
            </field>
27
 
        </record>
28
 
 
29
 
        <record model="ir.ui.view" id="external_report_search_form_view_shop">
30
 
            <field name="name">external_report_form_view_shop</field>
31
 
            <field name="model">external.report</field>
32
 
            <field name="inherit_id" ref="base_external_referentials.external_report_search_form_view" />
33
 
            <field name="type">search</field>
34
 
            <field name="arch" type="xml">
35
 
                 <filter string='External Referential' position="after">
36
 
                     <filter string='Shop' icon="terp-stock_symbol-selection" domain="[]" context="{'group_by' : 'shop_id'}" />
37
 
                 </filter>
38
 
            </field>
39
 
        </record>
40
 
 
41
 
    </data>
42
 
</openerp>