~vauxoo/addons-vauxoo/7.0-addons-vauxoo-send_email_add_follower-dev-julio

« back to all changes in this revision

Viewing changes to invoice_number_view_tree/view/invoice_number.xml

  • Committer: Fernando.rangel
  • Date: 2013-07-23 22:09:22 UTC
  • mto: This revision was merged to the branch mainline in revision 766.
  • Revision ID: fernando.rangel@vauxoo.com-20130723220922-nf49liebgir3b223
[ADD][invoice_number_view_tree]supplier_invoice_number field added in the tree and search view by
inheritance

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
        <record model="ir.ui.view" id="view_account_invoice_tree">
 
5
            <field name="name">view.account_invoice.tree</field>
 
6
            <field name="model">account.invoice</field>
 
7
            <field name="inherit_id" ref="account.invoice_tree" /> 
 
8
            <field name="arch" type="xml">
 
9
                <xpath expr="//field[@name='date_invoice']" position="before">
 
10
                    <field string="Supplier Invoice Number" name="supplier_invoice_number"/>
 
11
                </xpath>       
 
12
            </field>
 
13
        </record>
 
14
        <record model="ir.ui.view" id="view_account_invoice_search">
 
15
            <field name="name">view.account.invoice.search</field>
 
16
            <field name="model">account.invoice</field>
 
17
            <field name="inherit_id" ref="account.view_account_invoice_filter" />
 
18
            <field name="arch" type="xml">
 
19
                <xpath expr="/search/field[@name='number']" position="before">
 
20
                    <field name="supplier_invoice_number"/>
 
21
                </xpath>
 
22
            </field>
 
23
        </record>
 
24
    </data>
 
25
</openerp>
 
26
 
 
27