Commit Graph
160 Commits
Author SHA1 Message Date
Cédric Krier a2dfc4455b Refine index definition
- Set low and high cardinality to index usage
- Use Range usage for numerical expression instead of Equality
2024-07-27 18:36:14 +02:00
Cédric Krier b41ee38f1a Allow copying move from closed period
Closes #13361
2024-06-26 09:39:26 +02:00
Cédric Krier 20a3f53d2b Do not filter with context lines for aged balance
Closes #12210
2024-07-26 23:25:02 +02:00
Cédric Krier 147be849f4 Prevent reconcile lines using write-off with the same account
Closes #13425
2024-07-27 15:15:55 +02:00
Sergi Almacellas Abellana 0c5707f0fe Unify reopen usage 2024-07-13 19:54:41 +02:00
Cédric Krier 5823bce6cf Add tools to apply types to SQLite select queries 2024-07-04 08:45:19 +02:00
Cédric Krier d95bf48e93 Allow Account group to run open type wizard
As account group has only read access to account type, it needs to be given
access to the open type wizard to run it.

Closes #13342
2024-06-17 15:40:28 +02:00
Juan Jose Pablos fbe87b99c8 Replace link to configuration document by ref to labels 2024-07-08 19:00:26 +02:00
Cédric Krier f0b1c9d590 Align label in the middle of image 2024-06-25 12:28:11 +02:00
Cédric Krier 59b74452e6 Add test scenario for reconciliation of empty lines on posting 2024-06-28 01:00:22 +02:00
Richard Vong e48510503f Do not try to reconcile posted lines without debit/credit but with second currency amount
Closes #13293
2024-06-28 00:59:01 +02:00
Sergi Almacellas Abellana 732af53046 Replace Accounting Party by Accounting group
There is no need to use a dedicated group for party fields as it can use the
Accounting group
2024-05-13 14:11:20 +02:00
Cédric Krier 9e759e9604 Sort posted lines to reconcile at last by party
The lines may or may not have a party depending on the account.
So the order key must avoid compare party instance with None value.

Closes #13268
2024-05-21 10:12:46 +02:00
Cédric Krier 5035063b35 Check validity of description of move template 2024-05-10 16:06:31 +02:00
Cédric Krier ecd252e48b Raise user error when description of move template can not be formatted
Closes #13240
2024-05-10 16:05:33 +02:00
Cédric Krier 06270e6a7a Use decimal 0 without digits as default value
If the digits of the field is 0, than using '0.0' trigger the validation error
introduced by 2be02f249a1d.

Closes #13197
2024-04-30 19:15:44 +02:00
Cédric Krier 891423c6b2 Set default value from account move using line field name
Some Function fields has the move as prefix which is removed when applied to
the move. But when setting default value for the line, the move prefix must
not be removed.

Closes #12967
2024-04-27 18:36:49 +02:00
Cédric Krier 9e6789f8c1 Ensure there is a company id in the context before testing as positive
Closes #13228
2024-05-02 18:55:04 +02:00
Cédric Krier cd8777277a Update translations [skip ci]
Closes #13225
2024-04-30 13:09:39 +02:00
Adrià Tarroja Caubet 0506c86e8c Add space after quote in message for no open fiscal year date 2024-04-30 09:44:04 +02:00
Cédric Krier 38a3a8e68e Increase version number 2024-04-29 18:03:56 +02:00
Cédric Krier 2fc668b9f7 Prepare release 7.2.0 2024-04-29 17:31:11 +02:00
Cédric Krier b443997044 Update translations [skip ci] 2024-04-27 18:44:57 +02:00
Cédric Krier e69fbf7a9e Convert recursive calls of reconcile accounts wizard into loop
The recursive calls may reach the Python recursion limit if there are a lot of
accounts and parties to process.
So converting the recursion into a loop prevent reaching this limit.

Closes #13164
2024-04-05 14:39:23 +02:00
Cédric Krier 1f470cb4d1 Return currency instance instead of id in party getter 2024-04-10 11:25:48 +02:00
Cédric Krier b0335a27b0 Test if contextual company id is positive before using it
Closes #13176
2024-04-10 11:25:11 +02:00
Cédric Krier 854efb8216 Use min date as default From Date for start amount of general ledger
Closes #12660
2024-03-17 11:36:24 +01:00
Cédric Krier cee75c14a1 Do not distribute residual rounding to tax with 0 amount
Closes #13098
2024-03-15 13:16:33 +01:00
Cédric Krier 372c212347 Set only periods or dates on the same line for general ledger context
Those fields may become invisible so they should not have any other field next
to them for when they become invisible.
2024-03-17 11:48:43 +01:00
Cédric Krier e2139ba445 Add company record rule to journal - period 2024-03-14 13:53:31 +01:00
Cédric Krier 4da709134d Add journal - period buttons to form view 2024-03-14 13:51:20 +01:00
Cédric Krier 440827194d Remove declaration of non-existent open button for journal - period 2024-03-14 13:50:49 +01:00
Cédric Krier 36cf314066 Add company to journal-period 2024-03-14 14:04:31 +01:00
Cédric Krier 0a14c86d4e Remove active field on journal - period 2024-03-14 13:44:29 +01:00
Cédric Krier a42777834e Add model Many2One on ir.action.wizard 2024-02-25 16:23:30 +01:00
Cédric Krier 80b61a9f63 Store model on ir.rule.group 2024-02-25 13:45:21 +01:00
Cédric Krier 5448a91bf7 Store model on ir.model.button 2024-04-06 10:48:45 +02:00
Cédric Krier 122a45b167 Store model and field name on ir.model.field.access 2024-04-06 11:04:15 +02:00
Cédric Krier 9193a425d1 Store model name on ir.model.access 2024-04-06 14:10:01 +02:00
Cédric Krier 10cdcd5826 Document how to fill opening balance 2024-02-10 20:29:00 +01:00
Cédric Krier 743e938baa Set empty currency when reconcile no lines
Since f9560247a0fc the currency for the reconciled lines is computed but when
there is no line, there is no company to get currency from.

Closes #13047
2024-03-02 11:39:29 +01:00
Cédric Krier b36a38a14a Allow account users to delete moves
Closes #12976
2024-01-30 16:37:15 +01:00
Cédric Krier 88ac130d2f Remove readthedocs 2024-02-18 18:35:54 +01:00
Cédric Krier 4632152d2b Do not fail on leap day to create next fiscal year
Replace the year of a date is not safe, it is better to use relativedelta.

Closes #13064
2024-02-29 15:36:16 +01:00
Cédric Krier a66c7c42b1 Update help of account taxes
Since d66471767177 the taxes are not used as default for manual encoding of
move lines.
2024-02-07 09:24:53 +01:00
Cédric Krier ce530c6c0b Remove custom table names 2023-12-26 12:18:00 +01:00
Maxime Richez 46f4e09324 Order journals by matching sequence in configuration
Closes #13001
2024-02-12 23:26:54 +01:00
Maxime Richez c511c7045e Order journal by matching sequence when searching for match
Journals are ordered by default by name instead of matching sequence.

Closes #13001
2024-02-12 23:22:23 +01:00
Cédric Krier 946749eb81 Update comparison fiscal year, periods and dates of Income Statement Context
The comparison fields should behave the same way as the default fields.
2024-01-27 10:58:41 +01:00
Sergi Almacellas Abellana f834a5e940 Fill fiscal year when changing company of GL and Income statement context
Closes #11208
2024-01-27 10:59:59 +01:00