Commit Graph
131 Commits
Author SHA1 Message Date
Cédric Krier f5f0cdc09b Do not filter with context lines for aged balance
Closes #12210
(grafted from 428746eda064bb89c4b1945cdc778efe2d7b7557)

--HG--
branch : 7.0
2024-07-26 23:25:02 +02:00
Cédric Krier fef8423236 Increase version number
--HG--
branch : 7.0
2024-07-01 18:12:39 +02:00
Cédric Krier cecb2a8d91 Prepare release account-7.0.11
--HG--
branch : 7.0
2024-07-01 18:12:25 +02:00
Richard Vong 4bcba3d179 Do not try to reconcile posted lines without debit/credit but with second currency amount
Closes #13293
(grafted from 395c4ebb8e25ec10f55c93d64447aec00ec5e168)

--HG--
branch : 7.0
2024-06-28 00:59:01 +02:00
Cédric Krier 704a61e328 Increase version number
--HG--
branch : 7.0
2024-06-15 11:13:15 +02:00
Cédric Krier a0e30beac7 Prepare release account-7.0.10
--HG--
branch : 7.0
2024-06-15 11:13:02 +02:00
Cédric Krier b7adb7ba77 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
(grafted from 97e730164485c038de7744ea0a3fb189fd7426fa)

--HG--
branch : 7.0
2024-05-21 10:12:46 +02:00
Cédric Krier 436b63c30b Increase version number
--HG--
branch : 7.0
2024-06-02 19:40:10 +02:00
Cédric Krier a9027d8363 Prepare release account-7.0.9
--HG--
branch : 7.0
2024-06-02 19:39:58 +02:00
Cédric Krier c2091befaa 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
(grafted from 979cd092ea24f04328af5f4ff315c418e1c5b3e6)

--HG--
branch : 7.0
2024-04-30 19:15:44 +02:00
Cédric Krier 9c0892987a Increase version number
--HG--
branch : 7.0
2024-05-15 19:13:19 +02:00
Cédric Krier 21a4e0f60d Prepare release account-7.0.8
--HG--
branch : 7.0
2024-05-15 19:13:05 +02:00
Cédric Krier 544ce5494b 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
(grafted from bce77308e529f2e96c46da2296546f047af48161)

--HG--
branch : 7.0
2024-04-27 18:36:49 +02:00
Cédric Krier b7c3766e0e Ensure there is a company id in the context before testing as positive
Closes #13228
(grafted from b317427d7a7599e310332894ab7ddbb013220d82)

--HG--
branch : 7.0
2024-05-02 18:55:04 +02:00
Cédric Krier 1c6008362e Increase version number
--HG--
branch : 7.0
2024-05-01 14:39:25 +02:00
Cédric Krier 6a49440a81 Prepare release account-7.0.7
--HG--
branch : 7.0
2024-05-01 14:39:10 +02:00
Cédric Krier 78a6017ae8 Test if contextual company id is positive before using it
Closes #13176
(grafted from fa023763f7b00cd4fbfa9e818bf25db9e259cfbd)

--HG--
branch : 7.0
2024-04-10 11:25:11 +02:00
Cédric Krier ed86a4525e Increase version number
--HG--
branch : 7.0
2024-04-17 12:46:11 +02:00
Cédric Krier 8f7e83b77d Prepare release account-7.0.6
--HG--
branch : 7.0
2024-04-17 12:45:58 +02:00
Cédric Krier 9956e2f1e3 Use min date as default From Date for start amount of general ledger
Closes #12660
(grafted from 06bc271a0d51d43f06306dc2c872ccd07979d50d)

--HG--
branch : 7.0
2024-03-17 11:36:24 +01:00
Cédric Krier ed67a66607 Increase version number
--HG--
branch : 7.0
2024-04-04 09:53:46 +02:00
Cédric Krier e54b86ac80 Prepare release account-7.0.5
--HG--
branch : 7.0
2024-04-04 09:53:33 +02:00
Cédric Krier d206eacc80 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
(grafted from 989480b8ceea3d0d9d6a344c5d8ec1fb293597d9)

--HG--
branch : 7.0
2024-03-02 11:39:29 +01:00
Cédric Krier c4d4951525 Remove readthedocs
(grafted from 2f67994e59b0bca29d7b0632a51540774b109140)

--HG--
branch : 7.0
2024-02-18 18:35:54 +01:00
Cédric Krier 121eb1e5cf Increase version number
--HG--
branch : 7.0
2024-03-03 13:27:12 +01:00
Cédric Krier 97abc867ee Prepare release account-7.0.4
--HG--
branch : 7.0
2024-03-03 13:26:58 +01:00
Cédric Krier 3b29353565 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
(grafted from 4b19fb0bc801a784139c0c6245d8649480e13280)

--HG--
branch : 7.0
2024-02-29 15:36:16 +01:00
Maxime Richez 8f44c6b46a Order journal by matching sequence when searching for match
Journals are ordered by default by name instead of matching sequence.

Closes #13001
(grafted from 8208738ff1889474331276024c531f914946856e)

--HG--
branch : 7.0
2024-02-12 23:22:23 +01:00
Cédric Krier 681a0247ab Increase version number
--HG--
branch : 7.0
2024-01-16 00:24:28 +01:00
Cédric Krier fa81e1bc5c Prepare release account-7.0.3
--HG--
branch : 7.0
2024-01-16 00:24:14 +01:00
Cédric Krier 493d45366b 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
(grafted from 78704afb76ef28e16c518b99d2aee4c84eb01bc9)

--HG--
branch : 7.0
2023-12-23 01:47:24 +01:00
Cédric Krier c70507ac5d Increase version number
--HG--
branch : 7.0
2024-01-01 13:11:43 +01:00
Cédric Krier e4defc1227 Prepare release account-7.0.2
--HG--
branch : 7.0
2024-01-01 13:11:30 +01:00
Cédric Krier 113b73c866 Use 0 as fallback for missing debit or credit in on_change functions
Closes #12823
(grafted from bcff7d7cd008ddb4b8d9df3b63b6cecefcfce5c6)

--HG--
branch : 7.0
2023-12-12 17:02:31 +01:00
Cédric Krier 0ddca6da00 Increase version number
--HG--
branch : 7.0
2023-12-16 11:07:17 +01:00
Cédric Krier cda7c9bd3b Prepare release account-7.0.1
--HG--
branch : 7.0
2023-12-16 11:07:04 +01:00
Cédric Krier 701670f0e3 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
(grafted from 561f9c7dbdc2a2c39c1fe5f6bf7274d01ee9ebd6)

--HG--
branch : 7.0
2023-11-16 16:32:43 +01:00
Cédric Krier 6c91d493b6 Increase version number
--HG--
branch : 7.0
2023-10-30 18:49:03 +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