Cédric Krier
b101cd9c5d
Replace \n in FEC fields
...
issue9451
review313961002
2020-07-13 20:53:01 +02:00
Sebastien Marie
b04c2a3ec8
Use reconciliation date as date instead of datetime
...
issue8843
review282451002
2020-03-16 21:43:17 +01:00
Cédric Krier
5a3f65fabd
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
2a82002736
Pass iterable to writerow instead of a list
...
This reduce the memory consumption.
issue8874
review276461003
2019-12-13 23:10:22 +01:00
Cédric Krier
399c10c20c
Use stable order for FEC lines
...
issue7983
review49691002
2019-01-17 17:16:05 +01:00
Cédric Krier
624d0118d5
Set a date value on temporary French language
...
The date value is needed to call strftime since issue7815
2019-01-08 12:19:46 +01:00
Cédric Krier
8167f8e629
Use move date in reference date for PieceDate
...
This is the value closer to definition.
issue7773
review58411002
2018-11-18 12:03:37 +01:00
Cédric Krier
0a2fc626ba
Remove trailing space in FEC column names
...
issue7739
review72341002
2018-09-28 17:32:27 +02:00
Cédric Krier
5722f28835
Inverse credit balance sign of start balance
...
The debit and credit must be positive.
issue7745
review56401002
2018-09-28 17:29:17 +02:00
Cédric Krier
c7f09fad48
Use rec_name of invoice as piece reference for FEC
...
issue7721
review52501002
2018-09-26 23:07:29 +02:00
Cédric Krier
ee07505ffc
Do not fetch start balance if there is no previous fiscal year
...
PostgreSQL does not support IN clause with an empty list.
issue7720
review60361002
2018-09-24 14:37:31 +02:00
Cédric Krier
019f88014c
Skip line with debit and credit equals to zero in FEC
...
issue7425
review72311002
2018-09-17 17:44:37 +02:00
Cédric Krier
6adda2ab15
Exclude deferral period and use configuration for opening
...
issue7410
review74321002
2018-09-14 22:46:04 +02:00
Cédric Krier
ac95a14194
Remove migration before 3.0
...
issue6470
review52421002
2018-08-09 20:43:51 +02:00
Cédric Krier
bcf7d300f7
Remove support for Python 2.7
...
issue7497
review53261002
2018-06-26 19:11:41 +02:00
Cédric Krier
ee3cdf560c
Ensure origin is a ModelStorage before accessing rec_name
...
Reference field may be a string if it does not have a valid id part.
issue7421
review42141002
2018-05-15 00:19:36 +02:00
Cédric Krier
abfe3cf255
Set CompAux in starting balance of FEC
...
issue6949
review36101002
2018-04-09 10:38:24 +02:00
Cédric Krier
7c28504e7d
Allow to export FEC on draft fiscal year
...
The filename is generated only on locked fiscal year as it is the only
official export.
issue5306
review43091003
2018-02-23 18:01:03 +01:00
Cédric Krier
27553199b4
Simplify language formatting
...
issue6858
review36711002
2017-11-15 00:17:36 +01:00
Cédric Krier
234328302f
Fill required FEC field
...
For JOURNALCODE, we use the journal name as fallback if the journal does not
have a code.
For PIECEREF and ECRITURELIB, we use the dummy string '-'.
issue6486
review34111002
2017-05-16 00:24:16 +02:00
Cédric Krier
bb8d74920b
Do not fill both debit and credit in FEC
...
The start balance should only create entry for debit - credit.
issue6483
review39341002
2017-05-16 00:21:55 +02:00
Cédric Krier
2cd69b0f69
Use StringIO as csv file-like for Python3
...
issue6469
review41301003
2017-04-29 10:34:39 +02:00
Cédric Krier
de88c16739
Add header and use tab separator on FEC
...
issue6451
review35391002
2017-04-25 18:56:52 +02:00
Cédric Krier
7a58b08a09
Use custom Lang instance instead of fr_FR for FEC
...
The lang fr_FR has been removed and we can not rely on the user configuration
of the language to format the FEC.
issue6435
review36351002
2017-04-25 18:43:17 +02:00
Cédric Krier
5f8b3937f4
Don't export in FEC reconciliation after fiscal year end
...
issue5165
review17051002
2016-03-21 23:36:07 +01:00
Cédric Krier
76de4cbe4e
Add Python3 support
...
issue3211
2016-03-07 15:29:49 +01:00
Nicolas Évrard
19fc74fd8d
Follow PEP-0249 for Transaction and backends
...
issue4949
review19781002
2016-03-03 21:53:40 +01:00
Cédric Krier
98798cdac1
Add FEC generation
...
issue4765
review8141002
2015-06-15 01:04:59 +02:00
Cédric Krier
21b8dc81bf
Fix most flake8 errors
...
review8771002
2014-12-02 12:54:37 +01:00
Cédric Krier
fca36e061a
New tax rates for 2014
...
issue3596
review3341002
2014-02-15 18:37:07 +01:00