[IMP] base: res.partner.bank : always display "account holder name" field

[IMP] account: partner form view: add a small link under the bank accounts list, allowing to open the tree view of the linked res.partner.bank, so that they can be fully edited

Before that, as the bank_ids field of res.partner is displayed as an editable tree view with only two columns, it was impossible to edit more specific fields of the bank accounts through the partner form view, such as acc_holder_name.
This commit is contained in:
Olivier Colson
2018-08-27 15:30:19 +02:00
parent 8185970270
commit 40430699df
2 changed files with 7 additions and 1 deletions
+6
View File
@@ -202,6 +202,12 @@
<field name="acc_number"/>
</tree>
</field>
<button type="action" class="btn-link"
name="%(base.action_res_partner_bank_account_form)d"
context="{'search_default_partner_id': active_id, 'default_partner_id': active_id}"
string="View accounts detail"
colspan="2"
/>
</group>
<group string="Accounting Entries" name="accounting_entries" groups="account.group_account_user">
<field name="currency_id" invisible="1"/>
+1 -1
View File
@@ -72,7 +72,7 @@
<group>
<field name="bank_id"/>
<field name="currency_id" groups="base.group_multi_currency" options="{'no_create': True}"/>
<field name="acc_holder_name" groups="base.group_no_one"/>
<field name="acc_holder_name"/>
</group>
</group>
</form>