Commit Graph
11 Commits
Author SHA1 Message Date
Sebastien Marie fa1e7dc8e3 Update payment_group field to use the company function field
It will read the value from statement and from origin (if statement is not
set), so both could work and let the user choose a payment_group.

issue7930
2018-12-22 06:34:33 +01:00
Cédric Krier dd32870e40 Improve ModelStorage.copy
* Allow callable in copy default
* Support dotted notation in copy default
* Use setdefault in copy
* Copy default when needed
* Do not set default state in copy
* Use callable and dotted notation in copy default

issue5576
issue7648
review72291002
2018-09-01 01:02:03 +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
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
Sergi Almacellas Abellana abe5c4d575 Mark payment as succeeded when imported in statement
issue5765
review22221002
2016-08-29 09:58:06 +02:00
Sergi Almacellas Abellana 58b5851b32 Use clearing account when the payment journal has a clearing account
This allows to suggest the clearing account when processing a payment that
does not have a clearing move but it will have when succeeded.

issue5814
review32461002
2016-08-24 11:53:54 +02:00
Jonathan Levy cb05e77e62 Add Python3 support
issue3211
review19051002
2016-03-08 12:19:16 +01:00
Cédric Krier b9d97c349d create_move has moved from Line to Statement
Since issue4386, the override of create_move must be done on Statement.

issue4454
review10001002
2015-01-07 14:56:17 +01:00
Cédric Krier 22eed3594b New API for on_change
issue4203
review8581002
2014-10-29 20:39:19 +01:00
Cédric Krier 08d2680918 Initial commit
review12281002
2014-09-17 21:54:48 +02:00