Commit Graph
131 Commits
Author SHA1 Message Date
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
Cédric Krier 69bdce8b29 Use include directive for subdirectory documentation
Closes #12822
2023-12-24 10:48:07 +01:00
Cédric Krier 40b8cf0eca Support linkcheck ignore per module documentation
If a linkcheck_ignore.json exists in the doc folder, it is loaded to extend
the linkcheck_ignore configuration of Sphinx.
2024-01-01 13:43:49 +01:00
Cédric Krier 406092be4d Check doctest files
They are converted to python files before running checks.
2024-01-14 19:21:56 +01:00
Cédric Krier b913ad45d8 Add assert methods to test tools
Closes #12879
2023-12-29 19:02:08 +01:00
Cédric Krier 2fce630dd6 Test expected output instead of comparison in doctest 2023-12-29 19:03:10 +01:00
Cédric Krier 2743dc7a06 Set IGNORE_EXCEPTION_DETAIL option flag on doctest
Closes #12877
2023-12-28 14:39:39 +01:00
Cédric Krier f6d8247263 Use AccountMissing and JournalMissing exception for reconciliation 2023-12-23 23:12:41 +01:00
Cédric Krier 10a5cb783e Return list of instance as result of test tax wizard
Since 0db956eb2505 the on_change_with for xxx2Many must return a list of
instances.

Closes #12852
2023-12-23 01:47:24 +01:00
Cédric Krier e9f90b7944 Use 0 as fallback for missing debit or credit in on_change functions
Closes #12823
2023-12-12 17:02:31 +01:00
Cédric Krier 0d625d4010 Remove usage of set_user to skip check access
Since ce8d7a19766a the access rule are enforced only if check access is set.
2023-12-01 21:14:37 +01:00
Cédric Krier c6335a368c Update trees of chart of accounts with 2 passes
When a new parent is added to a tree template like types, taxes or tax codes,
the corresponding record of the new template parent is not yet created.
So we need to use a default value for the parent and update again the tree
after creating the new records.

Closes #12755
2023-11-16 16:32:43 +01:00
Cédric Krier f4ca6c4648 Document how account journal are chosen 2023-11-07 00:35:26 +01:00
Cédric Krier a88682d1a6 Fallback to move date when ordering by maturity date and it is empty
Closes #12722
2023-11-09 09:40:49 +01:00
Cédric Krier 4bc74de579 Remove check against move when deleting account period
The period on the move restrict on delete of the foreign key.
2023-11-06 15:46:25 +01:00
Cédric Krier 592edc13dd Allow modifying account period dates with account moves
As long as the existing moves has still a date inside the new period dates.

Closes #12667
2023-11-06 15:44:47 +01:00
Cédric Krier 91f4c6b2b8 Check dates of periods when changing fiscal year dates
Closes #12667
2023-11-06 16:19:33 +01:00
Cédric Krier 38da6a0451 Increase version number 2023-10-30 18:51:13 +01:00
Cédric Krier 65f477f731 Prepare release 7.0.0 2023-10-30 18:17:32 +01:00
Cédric Krier 33de40f77b Test to_date in context to get dates for general ledger
1b3d9d7a758f added the wrong test to exclude period and dates.

Closes #12629
2023-10-21 16:21:40 +02:00
Cédric Krier c577fad900 Update translations [skip ci] 2023-10-28 14:15:23 +02:00
Cédric Krier d10a47f7d1 Do not fail when reconciling an empty list
Closes #12626
2023-10-21 15:46:53 +02:00
Cédric Krier 4e010a988f Add support for Python 3.12 2023-10-22 19:40:55 +02:00
Cédric Krier e64dbbefa9 Test account reconcile scenario without party required 2023-10-11 18:35:03 +02:00
Cédric Krier caf654f1ec Set party clause to None when retrieve currencies to reconcile without party
Closes #12601
2023-10-11 18:34:32 +02:00
Cédric Krier 9cff1e0b62 Do not compute account party for general ledger line without party
Closes #12570
2023-10-05 23:18:51 +02:00
Cédric Krier 96a24bcaf6 Remove extra button group access
Since ab05d05bb811 there is no need to have access defined on button if they
are the same as the write access on the model.

Closes #12578
2023-09-20 09:45:20 +02:00
Cédric Krier 11caf1d821 Fix wording of description help of move template 2023-09-30 22:18:47 +02:00
Cédric Krier 590fbe3aa8 Use origin description as fallback description for account move and line
Closes #12571
2023-09-16 10:30:44 +02:00
Cédric Krier 42c9ffb209 Warn when cancelling, grouping, rescheduling or delegating move line with payment 2023-09-08 20:52:32 +02:00