[fix] obvious bug, field used in a on_change but not declared in the view
[odoo/odoo.git] / addons / account_voucher / voucher_payment_receipt_view.xml
index 6a9e69a..9c8bdff 100644 (file)
                 <form string="Customer Payment">
                     <group col="6" colspan="4">
                         <field name="partner_id" required="1" invisible="context.get('line_type', False)" on_change="onchange_partner_id(partner_id, journal_id, amount, currency_id, type, date)" string="Customer"/>
+                        <field name="currency_id" invisible="1"/>
                         <field name="amount"
                             invisible="context.get('line_type', False)"
                             string="Paid Amount"