~serpent-consulting-services/openerp-usa/cim-SerpentCS

« back to all changes in this revision

Viewing changes to account_payment_creditcard/account_voucher_view.xml

  • Committer: npgllc
  • Author(s): Serpent-Consulting-Services
  • Date: 2012-08-14 13:32:19 UTC
  • mfrom: (73.1.16 openerp-usa)
  • Revision ID: npgllc-20120814133219-z4lvfyiw1ggsy0sx
[IMP]: all modules related to credit card functionality

Show diffs side-by-side

added added

removed removed

Lines of Context:
7
7
            <field name="type">form</field>
8
8
            <field name="inherit_id" ref="account_voucher.view_vendor_receipt_form"/>
9
9
            <field name="arch" type="xml">
10
 
                <xpath expr="//field[@name='journal_id']" position="replace">
11
 
                     <field name="journal_id"
12
 
                            domain="[('type','in',['bank', 'cash'])]"
13
 
                            widget="selection" select="1"
14
 
                            on_change="onchange_partner_id(partner_id, journal_id, amount, currency_id, type, date, {}, rel_sale_order_id)"
15
 
                            string="Payment Method" />
16
 
                                </xpath>
17
10
                                <xpath expr="//field[@name='partner_id']" position='attributes'>
18
11
                        <attribute name='on_change'>onchange_partner_id(partner_id, journal_id, amount, currency_id, type, date, {}, rel_sale_order_id )</attribute>
19
12
                                </xpath>