[FIX] account_banking_mandate: If Create and edit acc_number not set

This commit is contained in:
Carlos Dauden
2017-11-27 19:36:55 +01:00
committed by Stefan Rijnhart
parent 952d9c6633
commit 2af68d32f2
2 changed files with 2 additions and 1 deletions

View File

@@ -7,7 +7,7 @@
{
'name': 'Account Banking Mandate',
'summary': 'Banking mandates',
'version': '11.0.1.0.0',
'version': '11.0.1.1.0',
'license': 'AGPL-3',
'author': "Compassion CH, "
"Tecnativa, "

View File

@@ -32,6 +32,7 @@
<field name="format" string="Format"/>
<field name="type" string="Type"/>
<field name="partner_bank_id"
options="{'create_name_field': 'acc_number'}"
invisible="context.get('mandate_bank_partner_view')" />
<field name="partner_id"
invisible="context.get('mandate_bank_partner_view')"