Commit Graph
375 Commits
Author SHA1 Message Date
Cédric Krier ca61ba1511 Use the same periods to open account as in query_get
issue11034
review391231002
2021-12-16 22:35:46 +01:00
Cédric Krier 18efb38013 Follow isort formatting
issue10928
2021-12-11 17:58:41 +01:00
Cédric Krier 8b17547b48 Use field with set_move_field to skip and fill move values
When the line is already linked to a move, we must not change the move value
with the default values from the line.

issue10978
review391201002
2021-11-28 13:49:23 +01:00
Cédric Krier 57e1d8b992 Add origin record name property on move line
issue10751
review381311002
2021-10-31 10:16:43 +01:00
Cédric Krier 7e62b1e335 Use the same sign for amount when splitting line by amount
Also increase interval by the interval value and set a currency to the
remaining term.
2021-10-30 18:28:52 +02:00
Cédric Krier 03c91dd465 Add account_move_line_grouping module
issue10318
review334221002
2021-10-11 23:21:55 +02:00
Cédric Krier ee6b5e63bf Add monetary field
issue10598
review338511002
2021-08-21 09:09:55 +02:00
Cédric Krier f9dc2717a1 Add split lines wizard
issue10424
review349911002
2021-08-20 23:45:02 +02:00
Cédric Krier 70a70d05d9 Use company of the move created to retrieve the numbering sequence
issue10634
review342831004
2021-08-16 23:08:50 +02:00
Cédric Krier 0206ca6169 Validate moves only once when modifying lines
The create and write methods of the line already validate the moves.

issue10519
review342511003
2021-07-12 23:11:01 +02:00
Cédric Krier 9636dd0070 Add method to format warning name with records
issue10507
review346471002
2021-06-17 09:25:40 +02:00
Cédric Krier 9dbc4e473e Use data res_id instead of modifying action domain
issue10471
review358151003
2021-06-06 09:37:26 +02:00
Cédric Krier d08a7eee3f Use Line from the pool and save description when grouping lines
issue10414
review365301002
2021-05-21 00:26:44 +02:00
Cédric Krier 5b6b1990e7 Sort lines by maturity date to reconcile older first
issue10291
review357811003
2021-05-16 17:58:08 +02:00
Cédric Krier 8eb8bfe84c Set company to the grouping move
issue10415
review353521002
2021-05-16 17:50:48 +02:00
Nicolas Évrard 4fceb23ccc Use the right order of columns in the index used for account.account.party
issue10216
review 348241002
2021-04-28 10:15:54 +02:00
Cédric Krier b91de1fedc Ensure next empty party is shown to reconcile
issue10279
review332571003
2021-04-18 17:57:44 +02:00
Nicolas Évrard 453adfae04 Use subquery to gain performance in account.account.party
issue10216
review353411002
2021-04-12 20:48:57 +02:00
Cédric Krier fc4a714cce Enforce company on move line edition
issue10250
review341941002
2021-04-10 13:55:35 +02:00
Angel A Bran a8637f82ce Add journal and tax name to open move line action name
issue9701
review292421003
2021-04-05 17:02:37 +02:00
Cédric Krier e580c1ac87 Enforce access rights when searching in wizard
If there are no constraint based on the records on the search domain, we must
enforce the access rights to limit the execution to the user accesses.

issue10229
review335931002
2021-04-05 15:15:38 +02:00
Cédric Krier 715b57d6de Add company pattern to multivalue calls
issue10162
review335761002
2021-04-03 14:27:09 +02:00
Cédric Krier 7a48d5f34b Add company to reconciliation
issue10195
review359321021
2021-03-21 22:38:05 +01:00
Cédric Krier 54172e3a84 Replace cursor fetchall by iteration over cursor
issue5817
review335831003
2021-03-21 16:09:12 +01:00
Cédric Krier 113b347563 Remove unused import 2021-03-20 12:50:45 +01:00
Cédric Krier 4e6f2c70a9 Print general journal from moves
issue3696
review347601003
2021-03-16 22:13:51 +01:00
Cédric Krier e5c62e816e Store directly sequence type to sequence
issue10122
review351381002
2021-03-11 23:00:09 +01:00
Cédric Krier 232ec4b1f1 Add __access__ to Model
issue9903
review324601002
2021-03-07 11:13:53 +01:00
Cédric Krier d5081641e5 Add test on context of company multivalue target fields
issue10067
review333851026
2021-03-05 15:49:19 +01:00
Cédric Krier 6b356fd516 Use selection list from move for move state on line
issue10110
review347561002
2021-02-25 21:17:23 +01:00
Cédric Krier 090bd71989 Add header grouping on report
issue6760
review351221002
2021-02-21 19:19:26 +01:00
Cédric Krier d1395db4d7 Allow filtering general ledger by journal
As general ledger is historically the consolidation of each journal, it may be
useful to permit to display the ledger of each journal.

issue8757
review335351002
2021-01-04 21:33:28 +01:00
Cédric Krier 3662c5b55f Use cache to fill Reference selections
issue9235
review335301003
2020-12-27 00:19:30 +01:00
Cédric Krier 4ed7b43f2c Make move's journal read-only once numbered
As the number is generated from the sequence of the journal, we should not
allow to change the journal once it has been numbered to preserve consistency.

issue8884
review345181002
2020-12-17 22:21:43 +01:00
Cédric Krier c1871ef36a Do not cache default_get from move line
As default_date and default_move depend on the very last saved data, we can not
cache the method result.

issue9926
review335331002
2020-12-16 21:31:25 +01:00
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