~vauxoo/addons-vauxoo/7.0-changes-in-openerp-alan

« back to all changes in this revision

Viewing changes to invoice_multicompany_report/view/invoice_view.xml

  • Committer: Miguel Delgado
  • Author(s): Vauxoo
  • Date: 2012-03-12 21:31:45 UTC
  • mfrom: (132.1.22 addons-vauxoo)
  • Revision ID: miguel.delgado07@gmail.com-20120312213145-37rnt73pi6430exe

[MERGE] m321 customization, cost structure 

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_sale_order_form_inherit">
 
5
            <field name="name">account.invoice.form.report</field>
 
6
            <field name="model">account.invoice</field>
 
7
            <field name="type">form</field>
 
8
            <field name="inherit_id" ref="account.invoice_form"/>
 
9
            <field name="arch" type="xml">
 
10
                <xpath expr="//button[@string='Print Invoice']" position="replace">
 
11
                    <button name="%(invoice_multicompany_report)d" string="Print Invoice" type="action" icon="gtk-print" states="open,paid,proforma,sale,proforma2"/>
 
12
                </xpath>
 
13
            </field>
 
14
        </record>
 
15
    </data>
 
16
</openerp>