~openerp-community/openobject-addons/trunk-addons-community

« back to all changes in this revision

Viewing changes to sequence_order/invoice_view.xml

  • Committer: Moises Lopez
  • Date: 2010-04-14 01:35:19 UTC
  • Revision ID: moylop260@hotmail.com-20100414013519-2gnjv3po63l5x94d
Add module sequence_order:
  Is a module for changing the order of the sequence of lines automatically

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
<?xml version="1.0"?>
 
2
<openerp>
 
3
<data>
 
4
        
 
5
                <record model="ir.ui.view" id="view_invoice_line_form">
 
6
                        <field name="name">account.invoice.line.form</field>
 
7
                        <field name="model">account.invoice.line</field>
 
8
                        <field name="type">form</field>
 
9
                        <field name="inherit_id" ref="account.view_invoice_line_form"/>
 
10
                        <field name="arch" type="xml">
 
11
                                <field name="name" position="before">
 
12
                                        <field name="sequence"/>
 
13
                                </field>
 
14
                        </field>
 
15
                </record>
 
16
                <record model="ir.ui.view" id="view_invoice_line_tree">
 
17
                        <field name="name">account.invoice.line.tree</field>
 
18
                        <field name="model">account.invoice.line</field>
 
19
                        <field name="type">tree</field>
 
20
                        <field name="inherit_id" ref="account.view_invoice_line_tree"/>
 
21
                        <field name="arch" type="xml">
 
22
                                <field name="name" position="before">
 
23
                                        <field name="sequence"/>
 
24
                                </field>
 
25
                        </field>
 
26
                </record>
 
27
        
 
28
</data>
 
29
</openerp>