Commit Graph
39 Commits
Author SHA1 Message Date
Cédric Krier 8006ab71ca Rename getter of has_payments to avoid name collision
issue10810
review339021002
2021-10-03 13:48:43 +02:00
Cédric Krier b97054ff3b Check rule only if _check_access is set and enforce companies rule
issue4080
review343891009
2021-04-10 23:46:23 +02:00
Cédric Krier 21fa8c5425 Rename zip into postal code
issue9853
review340411002
2021-03-31 23:59:33 +02:00
Cédric Krier 0e73e6262e Store directly sequence type to sequence
issue10122
review351381002
2021-03-11 23:00:10 +01:00
Cédric Krier 9d3b47ecde Add test on context of company multivalue target fields
issue10067
review333851026
2021-03-05 15:49:19 +01:00
Cédric Krier f67fa53810 Add model, record and records attribute on Wizard
issue9421
review309861012
2020-07-07 23:56:09 +02:00
Sergi Almacellas Abellana 819b612ae9 Merge sepa identifier into eu_at_02
issue9181
review307371002
2020-04-20 14:28:05 +02:00
Cédric Krier aa44ad53f9 Fix flake8 errors and warnings
We add the flake8 configuration used so we ensure everyone uses the same.
We remove the usage of __all__ for non public API.
When possible, we rationalize the class name according to its __name__ and module.

issue9082
review297061002
2020-03-01 12:33:51 +01:00
Cédric Krier 5121473d81 Backed out changeset 938377ad067e
validate_file is public so other modules can use it for their tests.

issue8904
2019-12-18 22:53:55 +01:00
Cédric Krier 3d582b69f6 Replace assert in unittest
issue8904
review280581002
2019-12-18 22:42:17 +01:00
Nicolas Évrard 5e375b0820 Allow to store SEPA Message content on the file system
issue7295
review44851002
2019-06-05 18:32:08 +02:00
Cédric Krier 9ffdf16379 Remove unique check on SEPA identifier
issue7937
review64511002
2018-12-22 17:43:16 +01:00
Cédric Krier 40ecf60850 Remove support for Python 2.7
issue7497
review53261002
2018-06-26 19:11:43 +02:00
Xavier Codinas ec5de536e1 Add validation to sepa creditor identifier
issue5927
review28861002
2016-10-31 13:26:20 +01:00
Xavier Codinas 90faf72f82 Make sepa creditor identifier a party identifier
issue5922
review25701002
2016-10-30 22:57:31 +01:00
Cédric Krier 0a88d87c4f Allow to always use RCUR
In November 2016, a simplified usage of sequence type will be effective:
http://www.europeanpaymentscouncil.eu/index.cfm/sepa-direct-debit/2016-sdd-rulebooks/

issue5931
review30591002
2016-10-11 18:14:27 +02:00
Cédric Krier cf5a7809c6 Manage new address design
issue2327
issue5493
review28671002
2016-09-06 09:21:35 +02:00
Cédric Krier 5c2cd9396d Add missing extra import in tests 2016-03-11 22:38:00 +01:00
Cédric Krier b9614b70d5 Use converted tests converted by 2to3
distutils import tests module from the source code, so we must force it to use
the test suite from the absolute path because it will be the converted on in
case of 2to3 otherwise we fall-back to the relative module.

issue3211
2016-03-11 21:56:03 +01:00
Cédric Krier 5af726253b Add Python3 support
issue3211
review21791002
2016-03-06 22:51:42 +01:00
Cédric Krier 573d9f5b18 Make TestCase create and drop its database
and use with_transaction decorator.

issue5263
review20711002
2016-02-06 19:12:05 +01:00
Cédric Krier 2b500dd6e8 Add check for default model access
When group access exists, a default model access should be defined otherwise
all access are given to non group users.

issue4485
review5941002
2015-01-27 18:13:01 +01:00
Nicolas Évrard 9bfeb120f3 Report API refactorization
review8831002
2015-01-20 18:49:54 +01:00
Nicolas Évrard 78de6c2a31 Add test for access rights of menu and actions
issue4295
review12661002
2015-01-02 16:07:54 +01:00
Cédric Krier b7c7346e10 Fix from previous unittest refactoring and remove POOL usage 2014-12-07 00:50:27 +01:00
Cédric Krier 013fb2a220 Refactor unittest to be used in other module
When adding new SEPA flavor, we should be able to reuse this unittest for the
new flavor.

issue4376
review6691003
2014-12-04 23:54:10 +01:00
Cédric Krier d53feae9f1 Fix most flake8 errors
review8771002
2014-12-02 12:54:47 +01:00
Cédric Krier d37bdc2f45 Fix CAMT054 unittest to use classmethod save
changeset 8aa8dd40f7b6 changed the instancemethod save call by a class call.
2014-11-12 17:49:10 +01:00
Cédric Krier fbc623b9c8 Add test on message type and state
issue4305
review10611002
2014-10-31 18:09:39 +01:00
Cédric Krier fc80b83e56 Add pain.001.003.03 and pain.008.003.02 flavors
issue4216
review9761002
2014-10-21 19:01:20 +02:00
Nicolas Évrard e0ae4ca5c1 Use FRST sequence type only for the first payment ever processed
issue4142
review12481003
2014-09-19 18:05:21 +02:00
Cédric Krier d9ed922949 Handle camt.054
issue4012
review9451004
2014-08-04 16:47:44 +02:00
Cédric Krier 137166697e Add generic SEPA Message
issue4001
review5411002
2014-07-09 00:48:35 +02:00
Cédric Krier de408e9769 Add test for Payment.sepa_bank_account_number
issue4008
review14311002
2014-06-28 20:06:37 +02:00
Cédric Krier bf64c1d660 Remove duplicate last tests after database failure from changeset a54b58b20cfe 2014-06-24 09:14:17 +02:00
Cédric Krier ad15cb6c9c Don't test code after database failure 2014-06-23 15:20:36 +02:00
Cédric Krier cafff27206 Add sequence and unique constraint for mandate identification
- Define a sequence in the account configuration for the mandate
  identification.
- Add a unique constraint per company on the mandate identification.

issue3963
review5391002
2014-06-22 17:13:47 +02:00
Cédric Krier ba8bad83ab Fix wrong object set as account_number in unittest 2014-03-11 12:02:24 +01:00
Cédric Krier 253b780045 Initial commit
review1881002
2014-03-10 23:12:36 +01:00