~account-core-editors/account-invoicing/6.1

« back to all changes in this revision

Viewing changes to account_invoice_force_number/invoice_view.xml

  • Committer: Lorenzo Battistini
  • Date: 2012-11-16 23:29:22 UTC
  • mto: This revision was merged to the branch mainline in revision 13.
  • Revision ID: lorenzo.battistini@agilebg.com-20121116232922-9ujt8pc5jqm0xu4k
[ADD] account_invoice_force_number
moved from https://code.launchpad.net/~domsense/domsense-agilebg-addons/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="account_invoice_form_int_number">
 
6
            <field name="name">account.invoice.form.int_number</field>
 
7
            <field name="model">account.invoice</field>
 
8
            <field name="inherit_id" ref="account.invoice_form"/>
 
9
            <field name="type">form</field>
 
10
            <field name="arch" type="xml">
 
11
                <xpath expr="/form/group/field[@name='fiscal_position']" position="after">
 
12
                    <field name="internal_number" attrs="{'invisible':[('state','!=','draft')]}" string="Force Number" help="Force invoice number. Use this field if you don't want to use the default numbering"/>
 
13
                </xpath>
 
14
            </field>
 
15
        </record>
 
16
 
 
17
</data>
 
18
</openerp>