<?xml version="1.0" encoding="utf-8"?><odoo><data><!-- FIX of the 'account' module: on the form view of a bank journal,allow to link to an existing bank account --><recordid="view_account_journal_form"model="ir.ui.view"><fieldname="name">fix_bank_account_selection.account_journal.form</field><fieldname="model">account.journal</field><fieldname="inherit_id"ref="account.view_account_journal_form"/><fieldname="arch"type="xml"><fieldname="bank_acc_number"position="attributes"><attributename="invisible">1</attribute></field><fieldname="bank_acc_number"position="before"><fieldname="company_partner_id"invisible="1"/><fieldname="bank_account_id"domain="[('partner_id', '=', company_partner_id)]"/></field><!-- better when related fields are readonly, otherwise the user doesn't understand that he is changing the bank_id on the underlying res.partner.bank object --><fieldname="bank_id"position="attributes"><attributename="readonly">1</attribute></field></field></record></data></odoo>