Commit Graph
27 Commits
Author SHA1 Message Date
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
Nicolas Évrard 22190f2822 Reconcile payments in one go
issue9931
review326841002
2021-01-05 12:19:04 +01:00
Sergi Almacellas Abellana fcc3a7d7e7 Use payment company as clearing move company
issue9736
review328501002
2020-10-20 12:55:16 +02:00
Cédric Krier 2961c091cd Allow going back to processing state
This allows to avoid to use the failed state when updating a succeeded payment
as specific workflow may be plugged to the fail transition.

issue9525
review302001002
2020-08-29 18:17:51 +02:00
Cédric Krier 5d6ddda0d3 Add model, record and records attribute on Wizard
issue9421
review309861012
2020-07-07 23:56:09 +02: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
Sergi Almacellas Abellana 8b9a4935db Prevent account without type as clearing account
issue8971
review260741002
2020-01-16 21:29:51 +01:00
Cédric Krier 2de755bd6c Add domain against closed account
issue8917
review262641002
2019-12-28 17:48:50 +01:00
Cédric Krier 80c9dc0bba Allow payment for off-balance account
issue8849
review276391002
2019-12-07 16:10:12 +01:00
Cédric Krier ad16e35000 Remove clearing move on copy
issue8412
review271571002
2019-06-27 21:41:55 +02:00
Sebastien Marie 5a0eb3921e Relax Account domain on Payment
We can not use deposit type as it is defined by module
account_deposit which is not a dependency.

issue8339
review279371003
2019-06-09 19:06:45 +02:00
Cédric Krier a3a85f310b Simplify cron
issue8201
issue6117
issue2286
2019-04-12 15:59:24 +02:00
Cédric Krier f6338a1613 Merge account kind and account type
issue4990
review68401002
2019-03-24 18:00:01 +01: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
Cédric Krier 780d1c7d4f Remove clearing move before unreconcile
The unreconciliation and deletion can trigger event that could try to use the
clearing move via the link on payment before it is deleted.

issue6786
review42661002
2017-09-28 23:43:27 +02:00
Cédric Krier 54bbb5b323 Allow to use account instead of line for clearing
issue6722
review36561002
2017-09-03 11:26:11 +02:00
Sergi Almacellas Abellana 080887850d Set correct sign for amount second currency
issue6420
review39301002
2017-04-18 09:20:26 +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
Nicolas Évrard 4d90b0c848 Correctly compute debit and credit from payment amount
issue5622
review21041002
2016-06-12 15:22:14 +02:00
Jonathan Levy cb05e77e62 Add Python3 support
issue3211
review19051002
2016-03-08 12:19:16 +01:00
Jean Cavallo 0e300dccff Check payment kind to set debit/credit
The new lines' affectation (debit or credit) should depend on
the payment kind rather than just a check on the initial line
value, since it can be negative.

issue5345
review19901002
2016-03-05 17:16:02 +01:00
Jean Cavallo a5f2ddbff0 Do not group per party when reconciling payment lines
issue5256
review19771002
2016-01-22 18:32:25 +01:00
Nicolas Évrard add9e6172e Add domain on clearing_account
Indeed the counterpart of the clearing move should be the bank party but we do
not have access to this information.

issue4225
review11521002
2014-12-19 18:11:29 +01:00
Nicolas Évrard 8fa26be212 Take into account party_required when clearing move lines
issue4225
review11521002
2014-12-19 18:05:41 +01:00
Cédric Krier 912107c235 Use dualmethod on ModelStorage.save
issue4197
review8671002
2014-11-01 11:53:55 +01:00
Cédric Krier 08d2680918 Initial commit
review12281002
2014-09-17 21:54:48 +02:00