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">
12
domain="[('type','in',['bank', 'cash'])]"
14
on_change="onchange_partner_id(partner_id, journal_id, amount, currency_id, type, date, {}, rel_sale_order_id)"
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>