Commit Graph

42 Commits

Author SHA1 Message Date
Alexis de Lattre b0e4ff28e9 [FIX] base_iban: IBAN constraint trigger
Make sure the constraint on IBAN format is checked when either the state or the account number is changed.
'iban' field was not modified so the check never triggered and could enter invalid IBAN
Fixes #3426
2014-11-03 20:02:06 +01:00
Vo Minh Thu e69326ee3b [REF] removed explicit model instanciations.
bzr revid: vmt@openerp.com-20130415102349-vgcrfok2k5y10cwz
2013-04-15 12:23:49 +02:00
Vo Minh Thu e7f4891d46 [IMP] use the openerp namespace.
bzr revid: vmt@openerp.com-20121206145632-0h1coh5aaem65wsy
2012-12-06 15:56:32 +01:00
Somesh Khare(OpenERP) 803bd10eb9 [FIX]base_iban: invalid literal Error when trying to save the Bank Accounts details without Account Number and BIC code
bzr revid: mma@tinyerp.com-20121102051516-99b3vc97xxhcqn30
2012-11-02 10:45:16 +05:30
Raphael Collet c0534b0100 [MERGE] l10n_fr_rib: improve check of RIB and IBAN (contrib from Akretion)
bzr revid: rco@openerp.com-20120201110507-ztz2ss626svv2jl6
2012-02-01 12:05:07 +01:00
Alexis de Lattre c646827762 [MERGE] with addons-trunk and resolve conflict in base_iban
<> changed to !=
Changed error message

bzr revid: alexis@via.ecp.fr-20120131133657-0gzkk0bcb709ca6f
2012-01-31 14:36:57 +01:00
Olivier Dony 29b70e09e4 [IMP] base_iban: don't break on empty IBAN values, support more countries, reviewed examples
- fixed checking of empty IBAN
      - used consistent letter code for IBAN examples
      - added IBAN support for Costa Rica (CR), Kuwait (KW),
       Dominican Rep. (DO), United Arab Emirates (AE),
       Mauritania (MR), Bahrain (BH)
      - minor cleanup

bzr revid: odo@openerp.com-20120130111521-hxnmnd07xkewr4hp
2012-01-30 12:15:21 +01:00
Alexis de Lattre 9cf1cca384 base_iban/base_iban.py : extracted IBAN check functionnality in a dedicated function, so that it can be used by other modules.
l10n_fr_rib :
- add dependancy on base_iban
- we now have a single res.partner.bank.type with required RIB and optional IBAN
- adapted code and translations accordingly
- 'acc_number' field should not trigger _check_key function ; it already triggers the check_iban function.

bzr revid: alexis@via.ecp.fr-20120127184931-wudv91s96znzwjae
2012-01-27 19:49:31 +01:00
Alexis de Lattre 31c2873468 Define a new res.partner.bank.type.field "iban-rib" to store both RIB (old French format) and I
BAN on the same res.partner.bank.

On res.partner.bank, we now use the field 'rib_acc_number' instead of 'acc_number' to store the RIB bank account number.

Fix inheritance of the view 'view_partner_rib1_form' : it must inherit account.view_partner_property_form and not base.view_partner_form !

Add RIB fields to standard tree and form of res.partner.bank (not just the res.partner form view)

Add max size on RIB fields.

Replaced _construct_constraint_msg function by a raise in the check function : it simplifies the code and avoids a double browse on the object in case of invalid RIB.

Constraint now declares all the fields that must trigger the check.

Updated French translation.

bzr revid: alexis@via.ecp.fr-20120127150103-2khrxo0j2wfrrffa
2012-01-27 16:01:03 +01:00
Hardik Ansodariy (OpenERP) 7fe3a336d2 [FIX] Used function to make the usually long IBAN readalbe on the screen
lp bug: https://launchpad.net/bugs/900171 fixed

bzr revid: han@tinyerp.com-20111213092009-jlvlk98qrchnm34g
2011-12-13 14:50:09 +05:30
Fabien Pinckaers c8f0469ccd merge
lp bug: https://launchpad.net/bugs/805996 fixed

bzr revid: fp@tinyerp.com-20110924103158-gsl9ml34ix6ycy8k
2011-09-24 12:31:58 +02:00
fp fa7874cddc [IMP] Improved bank account management, report footer, stages by default on projects
bzr revid: fp@fp-laptop-20110815142141-938zg1laoe8wtbkd
2011-08-15 16:21:41 +02:00
Raphael Collet 283c26c8c7 [FIX] name_get of res.partner.bank, use IBAN and BIC
bzr revid: rco@openerp.com-20110804082915-rm5gfrhppn1urvgv
2011-08-04 10:29:15 +02:00
Raphael Collet fa4a7cb1fe [MERGE] improve name_get for res.partner.bank with IBAN
bzr revid: rco@openerp.com-20110804080814-ixws2777df3zyh3k
2011-08-04 10:08:14 +02:00
Hardik Ansodariy (OpenERP) 218c65dd74 [IMP]: improved name get of res_parner_bank
bzr revid: han@tinyerp.com-20110803121713-lspcumre41vf0v9e
2011-08-03 17:47:13 +05:30
ARA (OpenERP) 161b3bd233 [FIX] res_partner bank - IBAN must check for SWIFT/BIC in res_bank
bzr revid: ara@tinyerp.com-20110728091810-akm54utmf4wrbs98
2011-07-28 14:48:10 +05:30
ARA (OpenERP) 4df2c92250 [FIX] res_partner bank - IBAN must check for SWIFT/BIC in res_bank
bzr revid: ara@tinyerp.com-20110725092157-pxtdtjf930usk3dl
2011-07-25 14:51:57 +05:30
ARA (OpenERP) 8e7247624f [FIX] res_partner bank - IBAN must check for SWIFT/BIC in res_bank
lp bug: https://launchpad.net/bugs/805996 fixed

bzr revid: ara@tinyerp.com-20110721091432-xavmr81nh4s4q237
2011-07-21 14:44:32 +05:30
P. Christeas 98ab6360ed Merge branch11 into patch18
Branch patch11 had somewhere been lost in bzr hell.

Conflicts:
	account/account_move_line.py
	document_webdav/nodes.py
	document_webdav/webdav_server.py
	event_project/__init__.py
	users_ldap/users_ldap.py

bzr revid: p_christ@hol.gr-20101223155444-ym8r0g4208gm88j9
2010-12-23 17:54:44 +02:00
uco (OpenERP) b1cf433ecc [MERGE]: Merged with trunk-addons.
bzr revid: uco@tinyerp.com-20101206131102-z2xzz8eshkswo00q
2010-12-06 18:41:02 +05:30
uco (OpenERP) 6dd290e824 [REF]: Replace the condition 'if not context' with 'if context is None'.
bzr revid: uco@tinyerp.com-20101123070505-9i2lrqhgxzaii3zn
2010-11-23 12:35:05 +05:30
Ferdinand @ Camptocamp f13305c655 [MERGE] base_iban: IBAN accounts upper case
bzr revid: mra@mra-laptop-20101123044448-uxcvkfqibbec96xl
2010-11-23 10:14:48 +05:30
rha(OpenERP) 562dcd893f [Fix]:Bug 523428: iban account upper case
bzr revid: rhaopenerp-20101122134247-p99gx9a8fwj67ks4
2010-11-22 19:12:47 +05:30
uco (OpenERP) 12fcd1be2f [IMP] : Added context=None on methods used for _constraints and replaced context={} with context=None.
bzr revid: uco@tinyerp.com-20101119134801-974ev29j4tu46pq2
2010-11-19 19:18:01 +05:30
P. Christeas 0c41f86c9b base_iban: fix an English typo, that make our life miserable.
bzr revid: p_christ@hol.gr-20101116145459-c13dzni8tnr02n8o
2010-11-16 16:54:59 +02:00
mra (Open ERP) b726dd67da [IMP] base_iban: add constraint message with examples, and now it will check length of the iban number for all country in constraints
bzr revid: mra@tinyerp.com-20100512101102-qucejg2nrjf3btw4
2010-05-12 15:41:02 +05:30
Stephane Wirtel fb3ef7a2f4 [FIX] Change the year of the copyright
bzr revid: stephane@openerp.com-20100112091839-a6p7tenhb4e4zxyx
2010-01-12 10:18:39 +01:00
PSO(OpenERP) eb0b928cc0 Changed licencing terms
bzr revid: hda@tinyerp.com-20091014111534-1vtk21rz8byhszzf
2009-10-14 16:45:34 +05:30
ChristopheChauvet(syleam) 41e8ed59ef changed encoding to coding in all py files
lp bug: https://launchpad.net/bugs/357182 fixed

bzr revid: hda@tinyerp.com-20091013055837-3ntnbe8b938xmk97
2009-10-13 11:28:37 +05:30
Stephane Wirtel d75143727d [FIX] Check if the iban key is present and has a value in the dictionary
lp bug: https://launchpad.net/bugs/323238 fixed

bzr revid: stephane@tinyerp.com-20090203105003-4ix3ct06qj93xeux
2009-02-03 11:50:03 +01:00
Stephane Wirtel 21f104a506 [IMP] Update the copyright to 2009
bzr revid: stephane@tinyerp.com-20090104221250-55q32ayj2t8kzb2k
2009-01-04 23:12:50 +01:00
Christophe Simonis f5fad0ba30 passing modules in GPL-3
bzr revid: christophe@tinyerp.com-20081103191856-jhcivvwb16fvz2os
2008-11-03 20:18:56 +01:00
qdp 4bbe2cfc1f *added an integrity check of the iban account number
*added an automatic formatting of the iban account number in order to comply with schema
*added a function the compute the account bank number from the iban account number accordingly to the country rule
*added comments 
*overall improvements

bzr revid: qdp@tinyerp.com-20081001140003-pgvbxcr52jpwxnj6
2008-10-01 16:00:03 +02:00
qdp f1084ae218 *little glitch on search function corrected
bzr revid: qdp@tinyerp.com-20080930113457-8tkt7zidsha09zbu
2008-09-30 13:34:57 +02:00
Mustufa Rangwala 306a8c8285 modify base_iban module for the searching on iban number also
bzr revid: mra@tinyerp.com-20080930104928-z4wqz32zu82pi2r8
2008-09-30 16:19:28 +05:30
Christophe Simonis 3e3d897e88 add encoding comment and vim comment
bzr revid: christophe@tinyerp.com-20080723144147-77o5t9adx26a84lt
2008-07-23 16:41:47 +02:00
Christophe Simonis d2ff95f665 replace tabs with 4 spaces
bzr revid: christophe@tinyerp.com-20080722151128-f5zy75tsn8pgtndd
2008-07-22 17:11:28 +02:00
qdp 61c3ac1d5a *added an overwriting of name_get for res_partner_bank
*splitted the base_iban_data.xml into 2 files (added base_iban_view.xml) + modified __terp__ file accordingly
*improved the tree view of res_patner_bank to see the iban account

bzr revid: qdp-8a10efa3e6dba07d412e783d99104e41153474b6
2008-07-03 07:42:27 +00:00
stw 0feb782c6a add Copyright and GPL license into the Header of Python files
bzr revid: stw-d9a6d631f7cfdab5a120a6b0104ce2dbf8644841
2008-06-16 11:00:21 +00:00
ced 5d9bd6a8d7 Fix bank definition on partner
- add new object res.bank
- better file dependecies

bzr revid: ced-e8a228f8fab70298c0c0e560fe43202d662b2ecc
2007-09-14 13:42:06 +00:00
ced 9d6a60ef00 BASE: improve bank definition
bzr revid: ced-8f7ffd576b9fb1cb348c46d0d6299b13e1568f09
2007-06-25 07:59:27 +00:00
ced 3e1d54d558 ACCOUNT_CHART: fix vat and iban
bzr revid: ced-05ecaf4832cc643975f5ed7fda4f1c5baab4b2ea
2007-06-22 08:31:40 +00:00