Commit Graph
340 Commits
Author SHA1 Message Date
Cédric Krier 1ad04dc1ff Add company domain on write off of reconcile wizard
The user can only select a write off of the same company as the account.

issue9735
review310901002
2020-11-05 23:54:36 +01:00
Sergi Almacellas Abellana ac2d7f99c2 Test account is set before reading it's company
account is empty on reconciliation without lines

issue9684
review322221002
2020-10-09 21:42:41 +02:00
Cédric Krier 1e2d535020 Add symbol widget
issue9059
review276871002
2020-10-09 19:09:05 +02:00
Alnus 9ff756d598 Add account name to open move line action name
issue9660
review314371002
2020-10-04 16:28:48 +02:00
Sergi Almacellas Abellana cf489cbe14 Test for lines to reconcile before showing the next account
issue9458
review317841002
2020-07-27 16:13:56 +02:00
Cédric Krier 54075ed98b Add model, record and records attribute on Wizard
issue9421
review309861012
2020-07-07 23:56:09 +02:00
Sergi Almacellas Abellana 6806c19f79 Add lines on Move's check_modify_exclude
issue8787
review286381004
2020-06-17 13:58:44 +02:00
Albert Cunillera Benet 833248b6fb Prevent error on Grouping Moves when comparing empty dates
issue9166
review259051002
2020-04-20 18:20:55 +02:00
Sergi Almacellas Abellana b04944abdd Improve posted move help text
issue8670
review319121002
2020-04-12 09:01:29 +02:00
Cédric Krier f0d48cf004 Reconcile only balanced deposit
issue9151
review301111002
2020-03-28 16:54:08 +01:00
Sergi Almacellas Abellana 206e7f45f8 Show the move resulting from the GroupLines wizard
issue8410
review262921002
2020-03-18 12:32:56 +01:00
Nicolas Évrard 46cf9aecec Avoid shadowing the loop variable
review284281003
2020-03-06 11:27:10 +01:00
Nicolas Évrard c90e6c1082 Test that balance line exists when grouping payment lines
issue8754
review284281003
2020-03-06 11:21:30 +01:00
Cédric Krier f5d1d549d7 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:50 +01:00
EdbO 176a66edf5 Use right message id for closed period / journal
issue8928
review284591002
2019-12-24 00:24:04 +01:00
Sergi Almacellas Abellana b948e1a71c Do not exclude draft moves on Move.query_get
issue8912
review280611002
2019-12-18 09:19:03 +01:00
Sergi Almacellas Abellana 76881d178d Add missing end dot on translatable strings
issue8670
review262311002
2019-12-18 09:16:34 +01:00
Cédric Krier 70ee53137a Disable validation on skip button of reconcile wizard
issue8856
review264711002
2019-12-07 16:14:45 +01:00
Nicolas Évrard 2037b6b71b Use direct access to backend classes
issue8836
review258421002
2019-12-06 17:33:46 +01:00
Nicolas Évrard e62f18b642 Modularize code in GroupLines wizard
issue8794
review268331003
2019-11-25 12:08:39 +01:00
Nicolas Évrard 62e3fb2013 Allow to cancel move used to group lines
issue8800
review260401002
2019-11-18 12:24:37 +01:00
Nicolas Évrard 1fdd62a161 Do not copy delegated reconciliations when copying move lines
issue8805
review288461006
2019-11-12 11:29:53 +01:00
Cédric Krier 6b36f02b75 Update the date of move lines when the date on move is changed
issue8629
review267891002
2019-09-12 22:47:07 +02:00
Sergi Almacellas Abellana 72a0e03362 Hide closed period when manually creating moves
issue8634
review280081003
2019-09-12 18:44:47 +02:00
Sergi Almacellas Abellana 71c328acef Use today as default date when inside the period
issue8389
review259541002
2019-06-06 19:23:36 +02:00
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