Cédric Krier
2fae2d7d1b
Do not fail in party_required test if account is None in _get_writeoff_move
...
issue7842
review47731002
2018-11-07 18:57:49 +01:00
Christian Aguilera
b15762fb70
Make writeoff required in ReconcileLinesWriteOff
...
The constraint was lost in the refactoring of changeset d1d3a1c12158
issue7842
review56461002
2018-11-07 18:56:40 +01:00
Cédric Krier
551744fbaa
Remove custom strftime for year before 1900
...
The bug has been fixed in Python 3.3
issue7814
review48671002
2018-10-31 18:15:57 +01:00
Sergi Almacellas Abellana
a5fffa3f68
Update tax code lines when updating chart from template
...
Also don't compare value with it's template when computing values to update
issue7795
review51561002
2018-10-22 11:33:36 +02:00
Cédric Krier
09a50cade9
Increase version number
2018-10-01 12:41:52 +02:00
Cédric Krier
6cce0ec9a5
Added tag 5.0.0 for changeset f8512a0d623e
2018-10-01 12:41:40 +02:00
Cédric Krier
c3c1d205b7
Prepare release 5.0.0
2018-10-01 12:41:40 +02:00
Cédric Krier
09675bb86c
Update translations
2018-09-28 23:02:31 +02:00
Cédric Krier
2c0ea880d8
Ensure order by post_number is chronological
...
It is needed by account_fr for the FEC export.
issue7719
review72331002
2018-09-24 14:36:01 +02:00
Cédric Krier
341ba9d6d0
Move description of line after the taxes
...
The description is no more required so it should not be requested to be filled
too soon to speed the encoding.
issue7701
review64371002
2018-09-21 11:00:02 +02:00
Cédric Krier
b6fa9fb328
Update reconcile wizard to use write off method
...
issue7450
review60331002
2018-09-11 00:18:55 +02:00
Cédric Krier
cc9f1e7c68
Enforce party required on account receivable and payable
...
It is needed to correctly compute the payable and receivable amounts.
issue5565
review50561002
2018-09-11 00:17:46 +02:00
Cédric Krier
9c9ec882b8
Rename tryton-dialog-* icon into tryton-*
...
issue474
2018-09-06 10:01:11 +02:00
Cédric Krier
491d74b591
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
Sergi Almacellas Abellana
344e7047e5
Remove default account from journal
...
Also add write off method
issue7450
review45551002
2018-09-01 11:20:13 +02:00
Cédric Krier
4a27e24c32
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
317858703d
Add support for chart of account evolution
...
* Add replacement account
* Add period on account and tax code
issue7417
review45671002
2018-08-31 14:58:05 +02:00
Sergi Almacellas Abellana
3d09c0ea57
Add template override mechanism to tax rules and tax rule lines
...
issue6912
review70341002
2018-08-30 14:00:28 +02:00
Cédric Krier
3f6fa1d0ed
Delete on cascade tax code line and tax rule line from template
...
issue7612
review48561002
2018-08-27 10:44:48 +02:00
Cédric Krier
fc463bf270
Require fresh session to post move
...
issue7568
review60301002
2018-08-26 18:06:32 +02:00
Sergi Almacellas Abellana
413ab784f9
Add another party on move cancel scenario
...
issue7602
review45681002
2018-08-22 09:59:23 +02:00
Sergi Almacellas Abellana
bef32ea978
Group by account and party when reconciling cancel moves
...
issue7602
review45681002
2018-08-22 09:57:44 +02:00
Cédric Krier
99ac3517f0
Use material design icons
...
issue474
review60291002
2018-08-19 20:02:58 +02:00
Cédric Krier
6485829233
Remove migration before 3.0
...
issue6470
review52421002
2018-08-09 20:43:51 +02:00
Cédric Krier
ccc6ca8633
Use sqlite3.backup when available
...
issue7212
review44131002
2018-08-06 19:05:43 +02:00
Cédric Krier
1e6bd9a89b
Add support for Python 3.7
...
issue7547
2018-07-28 16:44:09 +02:00
Cédric Krier
8758950427
Add __table_handler__ to ModelSQL
...
issue7581
review48531002
2018-07-24 22:01:07 +02:00
Cédric Krier
9dda2b3560
Remove support for Python 2.7
...
issue7497
review53261002
2018-06-26 19:11:40 +02:00
Sergi Almacellas Abellana
b287760e6a
Remove account journal type
...
issue7451
review42171002
2018-05-30 14:12:08 +02:00
Cédric Krier
ba7a13fa53
Do not fail general journal report on origin with negative id
...
Since changeset b8d76b07910f, the reference value of a negative id is a string
so testing the id does not work. It is safer to call getattr with a default
empty string value.
issue7437
review38241002
2018-05-22 23:37:09 +02:00
Cédric Krier
e9aa81c275
Update missing translations
...
issue7414
2018-05-21 23:13:30 +02:00
Sergi Almacellas Abellana
81b577303b
Test if journal has a sequence before getting a number from it
...
As sequence is a required by context it may not be defined
issue5502
review45121002
2018-05-21 10:27:38 +02:00
Cédric Krier
fb54f508a3
Use tree mixin
...
issue7383
review45011002
2018-05-12 00:47:07 +02:00
Cédric Krier
673ef2eb3a
Allow to edit maturity date and tax lines
...
Tax line modification is managed by the TaxLine model and the maturity date is
a business field.
issue7276
review42011002
2018-04-30 15:48:54 +02:00
Cédric Krier
0678268232
Use sql_cast from Field
...
issue7266
2018-04-30 15:26:03 +02:00
Cédric Krier
b51a79bb20
Increase version number
2018-04-23 17:24:11 +02:00
Cédric Krier
ac8bc087f1
Added tag 4.8.0 for changeset 658a3cbfc0cf
2018-04-23 17:23:52 +02:00
Cédric Krier
dbfa1ebafd
Prepare release 4.8.0
2018-04-23 17:23:52 +02:00
Cédric Krier
d036fdbcc0
Update translations
2018-04-21 13:06:23 +02:00
Cédric Krier
8108634d0a
Fix Decimal conversion for SQLite
...
changeset 3de9de3f476c set initial balance value as Decimal. But as the SQLite
Decimal loop break on the first correct instance, it fails to convert other
value coming from the SQL if the default value is tested first.
As there is any way a second loop, it is faster to make the conversion in this
second loop.
issue7284
2018-04-18 10:50:42 +02:00
Cédric Krier
e2d8d0a808
Quantize to number of digits instead of rounding computed amount
...
Rounding may change the result if currency rounding is not unitary.
issue7284
review37251002
2018-04-18 10:18:37 +02:00
Cédric Krier
e798828de9
Ensure None are before 0
...
The next index must point to the next value and not a None value which are
skipped.
issue7350
review38161002
2018-04-17 17:56:02 +02:00
Cédric Krier
b60d6181d6
Add Persian
...
issue7311
2018-04-14 17:23:50 +02:00
Cédric Krier
e317152b76
Add viewBox attribute to SVG
...
issue7320
review47291002
2018-04-09 10:55:04 +02:00
Cédric Krier
6bc1399d0d
Use OR-ed clause or empty clause and add tax clause when opening tax code
...
issue7307
review42041002
2018-04-03 16:41:35 +02:00
Àngel Àlvarez
676b4fb297
Fix wrong tax code line template test of creation
...
The test in create_tax_code_line was using the tax code dictionary instead of
the tax code line.
issue7289
review37161002
2018-03-29 12:07:38 +02:00
Sergi Almacellas Abellana
5b788c768e
Use deactivable mixin
...
issue4341
review38401002
2018-03-26 14:08:06 +02:00
Sergi Almacellas Abellana
fccc268d69
Remove readonly by template on children fields
...
This was wrongly added on changeset 622fea89afd3
issue6912
review43241002
2018-03-26 10:19:52 +02:00
Cédric Krier
9f30868af2
Use tax code line for tax reporting
...
issue6013
review40171002
2018-03-25 23:33:46 +02:00
Cédric Krier
2157a31e9d
Improve tax management
...
* Use custom clause for Tax Code sum
* Add check to modify Tax Lines
issue7139
review41081002
2018-03-24 15:27:50 +01:00