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

« back to all changes in this revision

Viewing changes to sale_exceptions/sale_view.xml

  • Committer: sebastien beau
  • Author(s): Raphaël Valyi
  • Date: 2011-03-07 12:19:42 UTC
  • Revision ID: git-v1:fa9a6b6ef7fa14322f612a6b364bf1e8f9d4597e
[ADD] sale_exceptions: new module making it easier to deal with order exceptions that prevent validation; specially useful in external importation scenarios

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
<?xml version="1.0" ?>
 
2
<openerp>
 
3
        <data>
 
4
                <record id="ir_actions_act_window_exceptions0" model="ir.actions.act_window">
 
5
                        <field eval="[(6,0,[])]" name="groups_id"/>
 
6
                        <field name="context">{}</field>
 
7
                        <field eval="1" name="auto_search"/>
 
8
                        <field name="res_model">sale.exception</field>
 
9
                        <field name="view_type">form</field>
 
10
                        <field eval="0" name="filter"/>
 
11
                        <field name="view_mode">tree,form</field>
 
12
                        <field eval="80" name="limit"/>
 
13
                        <field name="target">current</field>
 
14
                        <field eval="0" name="multi"/>
 
15
                        <field name="type">ir.actions.act_window</field>
 
16
                        <field name="name">Exceptions</field>
 
17
                </record>
 
18
                
 
19
        <menuitem action="ir_actions_act_window_exceptions0" id="ir_ui_menu_exceptions0"
 
20
            parent="base.menu_sale_config_sales" />
 
21
 
 
22
 
 
23
                <record id="ir_ui_view_saleorderinherit0" model="ir.ui.view">
 
24
                        <field name="inherit_id" ref="sale.view_order_form"/>
 
25
                        <field name="name">sale.order.68956.inherit</field>
 
26
                        <field name="arch" type="xml">
 
27
                                <field name="note" position="replace">
 
28
                    <group  colspan="6" col="6">
 
29
                        <field name="exceptions_ids" colspan="2"/>
 
30
                        <field name="note" colspan="4"/>                        
 
31
                    </group>
 
32
                </field>
 
33
                        </field>
 
34
                        <field name="model">sale.order</field>
 
35
                        <field name="type">form</field>
 
36
                </record>
 
37
 
 
38
    </data>
 
39
</openerp>