Commit Graph
162 Commits
Author SHA1 Message Date
Cédric Krier 29addfa200 Change accounts 400 and 410 into view
They should report the content of the accounts 40[1-8] and 41[1-8].

issue7976
review56531002
2019-01-17 17:14:44 +01:00
Cédric Krier 0763c052fe Remove unsupported ja_JP translations 2019-01-08 16:46:13 +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 1a597e1dfa Remove country code from languages
issue7863
review53481002
2018-12-31 15:36:47 +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 e6efba9087 Increase version number 2018-10-01 13:05:19 +02:00
Cédric Krier e78f8cfe3d Added tag 5.0.0 for changeset b4ac71965a5b 2018-10-01 13:05:10 +02:00
Cédric Krier d7f3dd59a1 Prepare release 5.0.0 2018-10-01 13:05:10 +02:00
Cédric Krier 04bbaab3a4 Update translations 2018-09-28 23:02:31 +02: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 bd7188104a Test FEC for previous fiscal year
issue7720
review60361002
2018-09-24 14:38:02 +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 a4bd3249a6 Use date instance instead of string for start and end date
This prevents to have unsynchronized data as the dump format from the database
is not a string.

issue7647
review50581002
2018-09-19 00:12:37 +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 d1ef6a4246 Remove deprecation warning
- remove invalid escape sequence
- use  read_file instead of read_fp
- use importlib instead of imp and __import__
- use callable instead of instance of collections.Callable
- fix silent file closing
- replace SafeConfigParser by ConfigParser
- replace decodestring by decodebytes
- replace encodestring by encodebytes

issue7666
issue7390
review53361004
2018-09-01 17:06:27 +02:00
Cédric Krier ac95a14194 Remove migration before 3.0
issue6470
review52421002
2018-08-09 20:43:51 +02:00
Cédric Krier af31db4fa4 Use sqlite3.backup when available
issue7212
review44131002
2018-08-06 19:05:43 +02:00
Cédric Krier b827dd29fd Add support for Python 3.7
issue7547
2018-07-28 16:44:09 +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 38a8e89c9a Update missing translations
issue7414
2018-05-21 23:13:31 +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 e069d8dd1d Increase version number 2018-04-23 17:43:24 +02:00
Cédric Krier 9fab33fea6 Added tag 4.8.0 for changeset 3f2b8badede0 2018-04-23 17:43:14 +02:00
Cédric Krier fb20e022ec Prepare release 4.8.0 2018-04-23 17:43:13 +02:00
Cédric Krier 09a590fb52 Update translations 2018-04-21 13:06:25 +02:00
Cédric Krier 8aa0236db0 Add Persian
issue7311
2018-04-14 17:23:50 +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 e415c3d9f4 Set stock kind on 35*, 37* and 603* accounts
issue7267
review40241002
2018-03-31 19:24:49 +02:00
Cédric Krier 570679304f Update chart to new tax code definition
issue6013
review45281002
2018-03-25 23:37:00 +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 06ad073563 Remove MySQL backend
issue7017
2018-01-24 20:14:28 +01:00
Raphaël Hertzog 42361c2d56 Move income_statement flag to "Compte de résultat"
The account type "Résultat de l'exercice [bénéfice ou perte]" has real
accounts associated to it and due to this the income statement does not
show the desired value on the top-level entry in the tree.

In particular when you close the account of year X, you write a benefit
(or loss) in "Résultat de l'exercice [bénéfice ou perte]" date at
31-12-X. But when your company holds its general assembly, it will
decide what to do with this money. Either report it back for re-use in
year X+1, or distribute it to the shareholders, or put it in a (legal)
reserve. This decision is then transcribed in the the accounting at the
date of the general assembly (which is in year X+1).

The money is moved out of 12X (Résultat) into either 11X (Report), 106
(Réserves), 457 (Associés - Dividendes à payer). And it is this move
which is polluting the income statement.

issue7070
review37931002
2018-01-24 11:20:17 +01:00
Cédric Krier 7a99a1a0f4 Improve dependency links
issue7049
2018-01-21 19:57:57 +01:00
Cédric Krier 27553199b4 Simplify language formatting
issue6858
review36711002
2017-11-15 00:17:36 +01:00
Cédric Krier 3e643b2c86 Increase version number 2017-10-30 15:23:24 +01:00
Cédric Krier ea4e114454 Added tag 4.6.0 for changeset 45cd26023848 2017-10-30 15:23:07 +01:00
Cédric Krier 88680a66ec Prepare release 4.6.0 2017-10-30 15:23:07 +01:00
Cédric Krier 259f37165c Update translations 2017-10-28 16:49:41 +02:00
Cédric Krier d31d5f5b7d Switch more asset accounts to kind expense
issue6850
review38881002
2017-10-25 18:48:05 +02:00
Cédric Krier d27473ba60 Remove support of Python 3.3 and add Python 3.6
issue6843
review41611002
2017-10-23 23:53:58 +02:00
Cédric Krier 3f1404578f Switch kind of escompte
As they are used with negative amount, they are used on the opposite type of
invoice.

issue6835
review38861002
2017-10-18 15:00:37 +02:00
Cédric Krier 81d1b813e6 Update to drone 0.8
issue6030
2017-08-16 23:53:35 +02:00
Cédric Krier da2fd81ba0 Account with less than 3 figures must be view
issue6485
review40301002
2017-05-31 00:04:28 +02: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 2a19b05406 Increase version number 2017-05-01 21:04:40 +02:00
Cédric Krier 177b6638a6 Added tag 4.4.0 for changeset 7b9e807be819 2017-05-01 21:03:50 +02:00