banking-addons-team team mailing list archive
-
banking-addons-team team
-
Mailing list archive
-
Message #01492
[Merge] lp:~acysos-team/banking-addons/banking-addons-spain-party-identifier into lp:banking-addons
Ignacio Ibeas (www.acysos.com) has proposed merging lp:~acysos-team/banking-addons/banking-addons-spain-party-identifier into lp:banking-addons.
Requested reviews:
Banking Addons Core Editors (banking-addons-team)
For more details, see:
https://code.launchpad.net/~acysos-team/banking-addons/banking-addons-spain-party-identifier/+merge/206246
Hello,
Add the party identifier support for Spain.
Greetings
--
https://code.launchpad.net/~acysos-team/banking-addons/banking-addons-spain-party-identifier/+merge/206246
Your team Banking Addons Core Editors is requested to review the proposed merge of lp:~acysos-team/banking-addons/banking-addons-spain-party-identifier into lp:banking-addons.
=== modified file 'account_banking_pain_base/company.py'
--- account_banking_pain_base/company.py 2013-12-24 00:01:04 +0000
+++ account_banking_pain_base/company.py 2014-02-13 17:48:20 +0000
@@ -47,6 +47,8 @@
party_identifier = False
if company_vat and company_vat[0:2].upper() in ['BE']:
party_identifier = company_vat[2:].replace(' ', '')
+ if company_vat and company_vat[0:2].upper() in ['ES']:
+ party_identifier = company.sepa_creditor_identifier
return party_identifier
def _initiating_party_issuer_default(self, cr, uid, context=None):
Follow ups