Cédric Krier
d1cd2b01c2
Use message to translate mandate text with formatting
...
issue4271
review362791002
2021-10-10 22:15:08 +02:00
Cédric Krier
b13946e4e5
Improve setting mandate sequence type
...
We cache the result for each mandate and convert FRST to RCUR the next time
the same mandate is used.
We use a SQL query in a Function field to compute if it is the first payment
for a mandate.
issue9797
review331081002
2021-10-10 22:13:51 +02:00
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
9e544d241d
Remove contextual domain on company
...
issue10302
review338141004
2021-04-20 09:18:58 +02:00
Cédric Krier
cb85dc9080
Add company pattern to multivalue calls
...
issue10162
review335761002
2021-04-03 14:27:10 +02:00
Cédric Krier
350b02cbf7
Prevent to create number before filling party of mandate
...
Otherwise a number can be filled which is not linked to the future selected party.
issue10049
review340431002
2021-04-03 11:29:29 +02:00
Cédric Krier
96a66a8ead
Replace cursor fetchall by iteration over cursor
...
issue5817
review335831003
2021-03-21 16:09:13 +01: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
da91718ba1
Use cache to fill Reference selections
...
issue9235
review335301003
2020-12-27 00:19:30 +01:00
Sergi Almacellas Abellana
6d4d01d483
Use getattr to read move origin's rec_name
...
Since changeset b8d76b07910f, the reference value of a negative id is a string
so access it's rec_name crashes.
issue9773
review310971002
2020-10-29 18:26:48 +01:00
Cédric Krier
368ca68783
Hide return reason fields on non SEPA payment
...
issue9540
review290811002
2020-08-29 18:22:04 +02:00
Cédric Krier
7eb9efda2d
Ensure values can be sorted
...
The values may contain None which is not orderable so we insert a third
argument before the value to prevent to compare None value against others.
issue9381
review303881005
2020-07-21 00:36:40 +02:00
David Harper
598d779340
Rename canceled states to cancelled
...
issue8927
review317461003
2020-06-04 11:13:25 +01: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
Sergi Almacellas Abellana
0d1d5d4015
Allow to customize message_id
...
issue9006
review278441002
2020-02-17 11:42:55 +01:00
Sergi Almacellas Abellana
a154f306f4
Allow the sepa mandate to be set on draft payments
...
Also include account number on mandate rec_name
issue8990
review260831007
2020-02-17 11:18:54 +01:00
Nicolas Évrard
2a3da33576
Use direct access to backend classes
...
issue8836
review258421002
2019-12-06 17:33:46 +01:00
Cédric Krier
3a1bdb65bf
Add initiator id on journal
...
Each country/bank has its own requirement about the ID to use on the initiator
party so we add an option on the journal to define which identifier to use.
issue8063
review284021004
2019-10-08 18:24:45 +02:00
Sebastien Marie
3135cbf47a
Use move_origin instead of origin to generate sepa_remittance_information
...
issue8550
review275831003
2019-08-01 18:23:35 +02:00
Nicolas Évrard
d1cb606d15
Acknowledge the fact that message are bytes and not str
...
issue8409
review253671002
2019-06-07 09:59:51 +02: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
04431fde56
Add ir.message and use custom exceptions
...
issue3672
2018-12-29 14:20:28 +01:00
Cédric Krier
596a1c0e1b
Replace self by cls in classmethod
...
issue7630
review74341002
2018-09-19 00:15:58 +02:00
Cédric Krier
faf87e2867
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
749fc8cee4
Add __table_handler__ to ModelSQL
...
issue7581
review48531002
2018-07-24 22:01:07 +02:00
Cédric Krier
40ecf60850
Remove support for Python 2.7
...
issue7497
review53261002
2018-06-26 19:11:43 +02:00
Sergi Almacellas Abellana
1d77aa6e47
Add depends on Button
...
issue6919
review40811002
2018-02-19 11:37:41 +01:00
Cédric Krier
367a81571f
Align cache of payments for sepa_payments property
...
After a sort, it is always good to re-browse to align the cache with the new
order.
issue7065
review35881002
2018-01-23 22:11:25 +01:00
Sergi Almacellas Abellana
288a4a85b1
Use identification for mandate record name
...
issue6831
review43591002
2017-10-31 12:16:13 +01:00
Sergi Almacellas Abellana
64a3d982b6
Use real field sql_base for sepa_end_to_end_id searcher
...
Function fields do not have any sql_type, so we must use the sql_type of the
real field in order to determine it.
issue6503
review37431002
2017-05-30 12:41:22 +02:00
Cédric Krier
33b31dc263
Add error message when processing payment without sepa_bank_account_number
...
The property is needed by pain.001 templates.
issue6331
review30111002
2017-03-13 22:45:57 +01:00
Cédric Krier
2660eca1d5
Fix typo in comment
2017-01-10 13:53:37 +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
5af726253b
Add Python3 support
...
issue3211
review21791002
2016-03-06 22:51:42 +01:00
Nicolas Évrard
1d3fbe93f9
Follow PEP-0249 for Transaction and backends
...
issue4949
review19781002
2016-03-03 21:53:47 +01:00
Sergi Almacellas Abellana
3aa30d6167
Add readonly states to mandate scheme
...
issue4997
review17541002
2015-09-29 12:33:05 +02:00
Cédric Krier
f7ab69aacc
Use Constraint instance in ModelSQL._sql_constraints
...
issue4814
review15491002
2015-06-22 16:58:55 +02:00
Cédric Krier
47c50b20a4
Use value date of camt.054 as clearing date
...
issue4520
review8891002
2015-02-27 11:55:08 +01:00
Cédric Krier
c9946699ff
Prevent deleting bank account number used on mandate
...
issue4553
review10181003
2015-02-19 13:58:39 +01:00
Cédric Krier
a4dbd1008d
Fix sequence type when mandate is set before processing
...
Skip payment without stored sequence type when computing the sequence type.
issue4516
review8881004
2015-02-19 13:55:14 +01:00
Cédric Krier
4660ca36b4
Add missing company domain/field
...
issue4311
review7691002
2014-12-03 16:16:17 +01:00
Cédric Krier
d53feae9f1
Fix most flake8 errors
...
review8771002
2014-12-02 12:54:47 +01:00
Cédric Krier
e889c55946
Allow to re-generate message of payment group
...
issue4316
review14631002
2014-11-19 21:32:09 +01:00
Cédric Krier
01c01c63b3
Manage sequence type with rejected payments
...
If all previous payments are rejected, the sequence type must be FRST.
issue4317
review6641002
2014-11-19 21:19:16 +01:00
Cédric Krier
ebb881ce1c
Set correctly sequence type on payment
...
If the mandate is set on the payment before the process, the sequence type is
not set. Also the sequence type should be cleared when copying.
issue4322
review14641002
2014-11-10 23:27:17 +01:00
Cédric Krier
59a289a7af
The type of message is wrong for payment processing
...
The messages generated by the payment process should be of type 'out' not 'in'.
issue4305
review10611002
2014-10-31 18:09:08 +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
Cédric Krier
5389509f06
Typo in get_sepa_end_to_end_id
...
issue4218
review6571002
2014-09-30 09:50:43 +02:00