mirror of
https://gitlab.com/flectra-community/bank-payment.git
synced 2024-12-25 22:01:44 +00:00
17 lines
731 B
XML
17 lines
731 B
XML
|
<?xml version="1.0" encoding="utf-8" ?>
|
||
|
<flectra>
|
||
|
<record id="view_account_journal_form" model="ir.ui.view">
|
||
|
<field name="name">usability.account_journal.form</field>
|
||
|
<field name="model">account.journal</field>
|
||
|
<field name="inherit_id" ref="account.view_account_journal_form" />
|
||
|
<field name="arch" type="xml">
|
||
|
<!-- 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 -->
|
||
|
<field name="bank_id" position="attributes">
|
||
|
<attribute name="readonly">1</attribute>
|
||
|
</field>
|
||
|
</field>
|
||
|
</record>
|
||
|
</flectra>
|