~account-core-editors/account-invoice-report/github-7.0

« back to all changes in this revision

Viewing changes to account_invoice_production_lot/invoice_view.xml

  • Committer: Joel Grand-Guillaume
  • Author(s): Lorenzo Battistini
  • Date: 2014-01-17 15:10:59 UTC
  • mfrom: (40.4.3)
  • Revision ID: git-v1:c40f4f84682b4e7c861dd2f5409f2287e19537f7
[MRG][ADD] account_invoice_production_lot copied from https://code.launchpad.net/~agilebg/account-invoicing/adding_account_invoice_production_lot_7

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_invoice_line_form_prod_lots">
 
5
            <field name="name">account.invoice.line.form.prod_lots</field>
 
6
            <field name="model">account.invoice.line</field>
 
7
            <field name="inherit_id" ref="account.view_invoice_line_form"/>
 
8
            <field name="arch" type="xml">
 
9
                 <field name="name" position="after">
 
10
                    <separator colspan="4" string="Production Lots"/>
 
11
                    <field colspan="4" name="prod_lot_ids" nolabel="1"/>
 
12
                </field>
 
13
            </field>
 
14
        </record>
 
15
        <record model="ir.ui.view" id="invoice_form_load_button">
 
16
            <field name="name">account.invoice.form.load_button</field>
 
17
            <field name="model">account.invoice</field>
 
18
            <field name="inherit_id" ref="account.invoice_form"/>
 
19
            <field name="arch" type="xml">
 
20
                 <field name="invoice_line" position="after">
 
21
                        <button name="load_lines_lots" type="object" string="Load Lines Lots" colspan="2" confirm="This will overwrite the formatted note. Continue?"/>
 
22
                </field>
 
23
            </field>
 
24
        </record>
 
25
    </data>
 
26
</openerp>