Commit Graph
315 Commits
Author SHA1 Message Date
Cédric Krier aeabe70531 Add group lines wizard
issue8213
review275091002
2019-04-12 19:43:53 +02:00
Cédric Krier 0929d8d550 Merge account kind and account type
issue4990
review68401002
2019-03-24 18:00:01 +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 6ad7f204b7 Add origin on move line and product and category on analytic rule
issue8074
issue8075
review62421002
2019-03-03 23:06:25 +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 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 1e447a7f39 Add ir.message and use custom exceptions
issue3672
2018-12-29 14:20:28 +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 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 b6fa9fb328 Update reconcile wizard to use write off method
issue7450
review60331002
2018-09-11 00:18:55 +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
Cédric Krier fc463bf270 Require fresh session to post move
issue7568
review60301002
2018-08-26 18:06:32 +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 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 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 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 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 6b1b9caba5 Allow to reconcile many group of lines with Line.reconcile
issue7132
review41051002
2018-03-07 00:10:07 +01:00
Cédric Krier eb4e7230ac Check if move can be modified on line creation
issue7142
review41851003
2018-03-04 14:48:40 +01:00
Sergi Almacellas Abellana ca31845e54 Add depends on Button
issue6919
review40811002
2018-02-19 11:36:13 +01:00
Cédric Krier 87a86a3715 Allow to run reconcile wizard over a list of lines
issue6917
review41661003
2017-12-26 17:40:27 +01:00
Cédric Krier e30dfb4f8d Show in reconciliation receivable/payable with negative/positive balance
issue6915
review43731002
2017-12-20 19:19:29 +01:00
Cédric Krier 8fa861103d Simplify language formatting
issue6858
review37761002
2017-11-15 00:16:39 +01:00
Nicolas Évrard 4130d6d7c9 Add missing parenthesis in amount computation
issue6780
review40681002
2017-10-02 11:52:16 +02:00
Cédric Krier ee6994adaa Fix searcher methods for dot notation
issue6757
review40651002
2017-09-27 18:37:24 +02:00
Cédric Krier d2eeaaa723 Add from_date and to_date in Move.query_get
Add those fields to the context of GeneralLegder and IncomeStatement.

issue6692
review43361002
2017-09-07 18:40:32 +02:00
Cédric Krier 1e677844dc Simplify default values for move line
issue6613
review42491002
2017-07-27 00:03:37 +02:00
Cédric Krier 19c7ecc125 Add space after comma 2017-07-17 09:59:50 +02:00
Cédric Krier 40de2d11fc Use getattr to retrieve the tax_sign from the tax instance 2017-06-29 19:55:27 +02:00
Cédric Krier d56ac1daab Remove trailing comma from tax line amount
This put a tuple as amount value instead of the Decimal
2017-06-29 19:54:53 +02:00
Cédric Krier 0251cbbe7b Move second currency sign error message in _sql_constraint
issue5071
review35381002
2017-04-14 11:41:15 +02:00
Nicolas Évrard 4b71c0049d Remove unused RPC definition of get_origin
issue4044
review26021002
2017-02-02 00:31:53 +01:00
Cédric Krier 85a9e332b5 Remove special registration order of ModelSQL
issue5682
review29051002
2016-12-17 00:39:04 +01:00
Cédric Krier 133667f6f7 Manage None as value of field in on_change method
issue6069
review27851002
2016-11-27 22:13:22 +01:00
Cédric Krier 760f71d95d Remove journal view
The feature can be emulated by contextual view inheritance.

issue6002
review31681002
2016-10-31 17:25:11 +01:00
Nicolas Évrard aef94a9289 Add missing cast to Decimal when using SQLite
issue5979
review33521002
2016-10-25 12:30:23 +02:00
Cédric Krier b6cf9348ae Enforce second currency and add amount for it on account
This makes the documentation of the second currency in concordance
with the code.

issue2766
review28841002
2016-10-15 20:47:10 +02:00
Cédric Krier ae9bfd5b2e Rename language codes
issue5443
2016-09-10 23:26:07 +02:00
Cédric Krier c5bbf7c6ac Remove journal option for updating posted moves
This option is in general bad accounting practice
and often forbidden in many countries.

issue5825
review32481002
2016-09-10 10:12:18 +02:00
Cédric Krier c8f3b886c7 Fix sign of amount second currency when canceling move
issue5732
review32371002
2016-08-04 23:51:08 +02:00
Xavier Codinas 3438eb29d9 Add rec_name instead of journal and period names.
issue2371
review29321002
2016-07-07 10:36:37 +02:00
Sergi Almacellas Abellana 9cf94c8e69 Remove usage of header_view_get and string attribute from views
issue2350
review25191002
2016-07-05 12:46:04 +02:00
Cédric Krier a2d5dbbc61 Manage readonly state on Move Line
issue5628
review27341002
2016-06-30 18:50:40 +02:00
Sergi Almacellas Abellana 7185eb72fc Fix antipatern of create/write in loop
issue3516
review14941002
2016-06-17 13:40:45 +02:00