Commit Graph
41 Commits
Author SHA1 Message Date
Cédric Krier 6f511d326e Support testNamePatterns for doc tests
issue11423
review382481002
2022-04-25 18:11:18 +02:00
Cédric Krier 38edca80e9 Replace test setuptools command by unittest discover
issue9215
review389851002
2022-04-16 18:30:16 +02:00
Cédric Krier 3a8a75142c Allow only lines with maturity date to be paid
issue11364
review403191002
2022-04-11 22:23:58 +02:00
Cédric Krier bb398854c0 Prevent to select reconciled payment or group on draft statement line
issue11175
review381781002
2022-04-11 20:51:41 +02:00
Cédric Krier 03148cc871 Add submitted state to payment
This allow to process receivable payment without approval.

issue11190
review370731002
2022-04-11 20:41:56 +02:00
Cédric Krier ab017699b7 Use reference field for statement line relation
issue6854
review367971002
2022-02-23 00:01:17 +01:00
Cédric Krier 27626474b0 Enforce currency and amount sign for payment of statement line
issue11170
review397151002
2022-02-03 22:13:48 +01:00
Cédric Krier c1195f319b Add default statement journal
issue11156
review393471002
2022-01-30 13:06:39 +01:00
Cédric Krier ac5326ad3a Follow isort formatting
issue10928
2021-12-11 17:58:41 +01:00
Cédric Krier 6d5deb0f07 Use standard name for scenario
issue10757
2021-11-29 21:28:24 +01:00
Nicolas Évrard e1a078ea0f Add the payment amount to invoice's amount_to_pay when the payment line is unreconciled
issue10757
review371951002
2021-11-28 18:56:16 +01:00
Cédric Krier 701576d257 Store directly sequence type to sequence
issue10122
2021-03-13 12:27:47 +01:00
Fredy Ramirez b6a01f6044 Use account expense instead of journal in test scenario
issue9768
review320261002
2020-10-28 23:35:28 +01:00
David Harper 04a6e73b83 Use Activate modules as test scenario section name
issue9395
review291901002
2020-07-09 10:21:06 +01:00
Sebastien Marie e57f1677e8 Use the date of the statement as date for the clearing move
issue9030
review253031002
2020-03-20 19:10:30 +01:00
Cédric Krier f1b03eb8b8 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 de46d5c0e2 Prevent assign unknown attributes on Model
by adding __slots__ on proteus classes.

issue6573
review254081002
2019-09-07 23:38:20 +02:00
Cédric Krier a3a85f310b Simplify cron
issue8201
issue6117
issue2286
2019-04-12 15:59:24 +02:00
Cédric Krier c53a22336c Update test scenario to new pay wizard states
issue7915
2019-01-17 19:25:27 +01:00
Cédric Krier febc431586 Add support for payment and payment_group on Statement Rule
issue7925
review45851002
2019-01-17 17:34:50 +01:00
Cédric Krier 6cc21ffed7 Add extras modules to ModuleTestCase
issue7935
review50661002
2019-01-17 17:22:22 +01:00
Cédric Krier a7b5dc7d35 Move account from journal to journal statement in scenario
The debit and credit account has been remove and replaced by account on
statement journal by issue7450
2018-09-01 23:15:55 +02:00
Cédric Krier 05de7d9ba4 Remove support for Python 2.7
issue7497
review53261002
2018-06-26 19:11:43 +02:00
Cédric Krier 4402bd8dd8 Add cron task to post clearing move after journal delay
issue6895
review43691002
2018-01-12 12:59:50 +01:00
Sergi Almacellas Abellana 0d2009ea11 Add test for paying receivable line in foreign currency
issue6420
review39301002
2017-04-18 09:21:31 +02:00
Cédric Krier 694025b019 Allow to set the date of the clearing move
issue6080
review32851002
2016-12-17 00:41:58 +01:00
Cédric Krier f637937fe6 Fix creation of bank clearing account
Since issue6003, setting the parent account set some fields but the scenarios
set the values using the **kwargs option of proteus. In this case the order
used to set the fields is undefined until PEP468, so the parent could be set
after other fields and create a misconfigured account which will make the
scenario fails later when creating the clearing move.
2016-11-26 12:56:34 +01:00
Nicolas Évrard fb55fbfcfd Use activate instead of install for module activation
issue1456
review28931002
2016-10-20 12:54:37 +02:00
Cédric Krier 4019ace94c Fail payments base on the sign of the line amount
Bank sometimes credit the account for the payment group and debit later for the
individual failing payments.

issue5940
review29601002
2016-10-12 22:38:11 +02:00
Cédric Krier 0f9852d6d6 Update to new payment wizard states
issue5888
review26681002
2016-09-27 12:17:00 +02:00
Sergi Almacellas Abellana abe5c4d575 Mark payment as succeeded when imported in statement
issue5765
review22221002
2016-08-29 09:58:06 +02:00
Cédric Krier 946f27cedb Use install_modules tools in scenario
issue5794
2016-08-26 09:58:24 +02:00
Nicolas Évrard fc3aaaf3a0 Add test for payment in a foreign currency
issue5622
review21041002
2016-06-12 15:23:22 +02:00
Cédric Krier 9b9b803a1e 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:01 +01:00
Jonathan Levy cb05e77e62 Add Python3 support
issue3211
review19051002
2016-03-08 12:19:16 +01:00
Jean Cavallo a17ed332bf Add test for checking payment kind to set debit/credit
issue5345
review19901002
2016-03-05 17:16:57 +01:00
Cédric Krier 37bd81ac68 Rename ir.module.module* into ir.module*
issue4764
review7171002
2015-05-28 21:03:08 +02:00
Cédric Krier 69cfe0dba3 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:00 +01:00
Nicolas Évrard 970748c0bf Add test for access rights of menu and actions
issue4295
review12661002
2015-01-02 16:07:53 +01:00
Cédric Krier 0029ab3c79 Use test tools to ease scenario writing
review6761002
2014-12-20 19:22:52 +01:00
Cédric Krier 08d2680918 Initial commit
review12281002
2014-09-17 21:54:48 +02:00