<field name="type">form</field>
<field name="inherit_id" ref="account.invoice_form"/>
<field name="arch" type="xml">
+ <xpath expr="//field[@name='journal_id']" position="replace">
+ <field name="journal_id" on_change="onchange_journal_id(journal_id)" widget="selection"/>
+ </xpath>
<xpath expr="//field[@name='partner_id']" position="replace">
<field string="Customer" name="partner_id" on_change="onchange_partner_id(type,partner_id,date_invoice,payment_term, partner_bank_id,company_id)" context="{'search_default_customer': 1}"/>
</xpath>