~koi-accounting-modules-maintainer/koi-accounting-modules/7.0

« back to all changes in this revision

Viewing changes to ar_account/view/view_CustomerInvoices.xml

  • Committer: Andhitia Rama
  • Date: 2014-04-06 22:04:29 UTC
  • Revision ID: andhitia.r@gmail.com-20140406220429-5yler527mgqcm5l8
init

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 id="form_account_accountCustomerInvoices" model="ir.ui.view">
 
5
            <field name="name">Form Customer Invoices - AR Account</field>
 
6
            <field name="model">account.invoice</field>
 
7
            <field name="inherit_id" ref="account.invoice_form"/>
 
8
            <field name="arch" type="xml">
 
9
                <data>
 
10
                    <button name="invoice_print" string="Print Invoice" type="object" attrs="{'invisible':['|',('sent','=',False), ('state', '!=', 'open')]}" groups="base.group_user" position="after">
 
11
                        <button name="%(action_account_wizardBankReceipt)d" string="Bank Receipt" type="action" class="oe_highlight" attrs="{'invisible':[('state', '!=', 'open')]}"/>
 
12
                        <button name="%(action_account_wizardCashReceipt)d" string="Cash Receipt" type="action" class="oe_highlight" attrs="{'invisible':[('state', '!=', 'open')]}"/>
 
13
                    </button>
 
14
                </data>                    
 
15
            </field>
 
16
        </record>
 
17
        
 
18
        <record id="form_account_accountPayCustomerInvoices" model="ir.ui.view">
 
19
            <field name="name">Form Pay Customer Invoices - AR Account</field>
 
20
            <field name="model">account.invoice</field>
 
21
            <field name="inherit_id" ref="account_voucher.view_invoice_customer"/>
 
22
            <field name="arch" type="xml">
 
23
                <data>
 
24
                    <button name="invoice_pay_customer" type="object" string="Register Payment" attrs="{'invisible': ['|', ('state','!=','open'), ('sent','=',True)]}" groups="base.group_user" position="replace">
 
25
                        <button name="invoice_pay_customer" type="object" string="Register Payment" groups="base.group_user" invisible="1"/>
 
26
                    </button>
 
27
                    <button name="invoice_pay_customer" type="object" string="Register Payment" attrs="{'invisible': ['|', ('state','!=','open'), ('sent','=',False)]}" class="oe_highlight" groups="base.group_user" position="replace">
 
28
                        <button name="invoice_pay_customer" type="object" string="Register Payment" class="oe_highlight" groups="base.group_user" invisible="1"/>
 
29
                    </button>
 
30
                </data>                    
 
31
            </field>
 
32
        </record>
 
33
 
 
34
        </data>
 
35
</openerp>