mirror of
https://github.com/OCA/bank-payment.git
synced 2025-02-02 10:37:31 +02:00
[FIX] Change computation of bank-name for IBAN.
This commit is contained in:
@@ -23,7 +23,6 @@
|
||||
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
#
|
||||
##############################################################################
|
||||
|
||||
{
|
||||
'name': 'Account Banking',
|
||||
'version': '0.5',
|
||||
@@ -37,6 +36,7 @@
|
||||
'data': [
|
||||
'security/ir.model.access.csv',
|
||||
'data/account_banking_data.xml',
|
||||
'data/iban_simple_name.xml',
|
||||
'wizard/bank_import_view.xml',
|
||||
'account_banking_view.xml',
|
||||
'wizard/banking_transaction_wizard.xml',
|
||||
|
||||
15
account_banking/data/iban_simple_name.xml
Normal file
15
account_banking/data/iban_simple_name.xml
Normal file
@@ -0,0 +1,15 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<openerp>
|
||||
<data>
|
||||
|
||||
<!-- Simplify template for IBAN bank name. Bank itself is part of IBAN
|
||||
and BIC is no longer required.
|
||||
Function write trick to handle noupdate. -->
|
||||
<function model="res.partner.bank.type" name="write">
|
||||
<value eval="[ref('base_iban.bank_iban')]" />
|
||||
<value eval="{'format_layout': 'IBAN %(acc_number)s'}" />
|
||||
</function>
|
||||
|
||||
</data>
|
||||
</openerp>
|
||||
|
||||
Reference in New Issue
Block a user