~camptocamp/e-commerce-addons/7.0-receivable_account_payment_method-rde

« back to all changes in this revision

Viewing changes to receivable_account_payment_method/account_invoice_view.xml

  • Committer: Romain Deheele
  • Date: 2014-06-20 13:13:59 UTC
  • Revision ID: romain.deheele@camptocamp.com-20140620131359-c63flsoiq9sbu1y0
[UPD] display payment method on customer refund too

Show diffs side-by-side

added added

removed removed

Lines of Context:
17
17
                </field>
18
18
                <field name="payment_term" position="before" version="7.0">
19
19
                    <field name="payment_method_id" on_change="onchange_payment_method_id(payment_method_id, type, partner_id, context)"
20
 
                           attrs="{'invisible': [('type', '!=', 'out_invoice')]}" class="oe_inline"/>
 
20
                           attrs="{'invisible': [('type', 'not in', ('out_invoice','out_refund'))]}" class="oe_inline"/>
21
21
                </field>
22
22
            </field>
23
23
        </record>