Commit Graph
1703 Commits
Author SHA1 Message Date
Cédric Krier 0929d8d550 Merge account kind and account type
issue4990
review68401002
2019-03-24 18:00:01 +01:00
Cédric Krier d8d5343cc8 Use find_packages to discover packages
issue7963
review253111002
2019-03-22 15:33:42 +01:00
Cédric Krier aafa9bbf94 Use correct message id for move cancel warning 2019-03-18 13:38:58 +01:00
Cédric Krier 1da2c0f815 Use move origin for move line domain of balance non-deferral
issue8074
2019-03-08 23:27:34 +01:00
Cédric Krier b0f709d9b4 Add test update chart of account with override and active test
issue7938
review54551002
2019-03-08 18:49:09 +01:00
Cédric Krier 53b3e68c3e Do not recreate models that have template override is True
The dictionary template2*** must always be filled even if template override is
True because create_*** calls will use this dictionary to not recreate the
records.

issue7938
review54551002
2019-03-08 18:48:09 +01:00
Cédric Krier 8894eb6069 Display ids and rule names on access error
issue8093
review60551002
2019-03-03 23:11:17 +01:00
Cédric Krier 6ad7f204b7 Add origin on move line and product and category on analytic rule
issue8074
issue8075
review62421002
2019-03-03 23:06:25 +01:00
Cédric Krier f808ae746d Remove sign and code from tax test result and add missing legal notice
issue7933
review62421003
2019-02-13 10:14:52 +01:00
Sergi Almacellas Abellana e6b56b1e68 Add default name ordering on referential models
issue7971
review66501002
2019-01-30 11:58:09 +01:00
Cédric Krier 4212c2d034 Add test for GL with empty period list
issue7993
review58481002
2019-01-30 09:43:12 +01:00
Cédric Krier 46e430956e Test contextual period_ids against None in Move.query_get
The list may be empty for example when computing the GL starting balance, in
this case no move line should be selected by query_get.

issue7993
review58481002
2019-01-30 09:42:11 +01:00
Cédric Krier f6af36f976 Re-add trydevpi to dependency_links
It is needed to install Tryton's dependencies of dependencies.

issue8044
2019-01-26 01:10:47 +01:00
Cédric Krier 0bd672ca2f Replace --process-dependency-link by --find-links
issue8044
review51611003
2019-01-25 23:26:58 +01:00
Cédric Krier 92f9346ad3 Remove unsupported ja_JP translations 2019-01-08 16:46:13 +01:00
Cédric Krier 4f33ab803d Remove country code from languages
issue7863
review53481002
2018-12-31 15:36:47 +01:00
Cédric Krier 1e447a7f39 Add ir.message and use custom exceptions
issue3672
2018-12-29 14:20:28 +01:00
Nicolas Évrard 4ae1e3b92a Remove dead code introduced by refactoring in changeset d6f67c50758c
issue7908
review68371002
2018-12-19 17:08:24 +01:00
Cédric Krier bf9295c664 Add active on tax template
With the ondelete RESTRICT, this will allow to deactivate the taxes, which
were removed from the template, when the chart of account is updated.

issue7718
review54441002
2018-12-17 23:04:56 +01:00
Sergi Almacellas Abellana da1d086437 Add test for General Ledger Account amounts
issue7838
review47721002
2018-12-03 11:38:03 +01:00
Sergi Almacellas Abellana 1d3ffebf6b Ensure end periods is set when computing GL debit and credit amounts
As the diference between end_periods and start_periods is computed, the end
periods should have a value when the start periods is set otherwise and empty
list of periods is used

issue7838
review47721002
2018-12-03 11:35:19 +01:00
Sergi Almacellas Abellana 1db9ad8285 Add test for update chart from template
issue7801
review74391002
2018-11-27 12:51:38 +01:00
Korbinian Preisler 1792996783 Use list of ids in add operation on Many2Many in update_account2
issue7791
review72351002
2018-11-25 14:38:39 +01:00
Cédric Krier 8f9d06743f Ensure GL per periods or dates are the same
We should not use nonexistent period ids in the context and the start_date
must be excluded from the start computation because it is included in the
range (query_get use greater and lesser or equal).

issue7628
review60421002
2018-11-18 12:05:42 +01:00
Cédric Krier 944e103b1e Do not recursively extend the base domain of parent and childs
The base class can not extend domain in __setup__ because it modify the field
of the base class.

issue7834
review52521004
2018-11-18 12:00:11 +01:00
Cédric Krier d831666453 Base journal cash report on account kind receivable and payable
Since changeset d1d3a1c12158, journal has no more credit/debit accounts.
The journal cash report is based now on all moves between receivable/payable
and others.
We clean also unused Model and method from the removal of the credit/debit
accounts.

issue7808
review68331002
2018-11-07 19:01:14 +01:00
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