Commit Graph
165 Commits
Author SHA1 Message Date
Cédric Krier 6c778a75b7 Increase version number
--HG--
branch : 7.0
2025-09-03 20:54:48 +02:00
Cédric Krier 674ecdef46 Prepare release account-7.0.22
--HG--
branch : 7.0
2025-09-03 20:54:38 +02:00
Cédric Krier 21e86c0e3c Test if party is set before using its record name for reconciliation error message
Closes #14127
(grafted from 2577aff9a26a61170862131e2dd0eec9e4ace563)

--HG--
branch : 7.0
2025-07-30 15:12:15 +02:00
Cédric Krier b9258bc460 Increase version number
--HG--
branch : 7.0
2025-07-01 23:32:37 +02:00
Cédric Krier 15544e5dce Prepare release account-7.0.21
--HG--
branch : 7.0
2025-07-01 23:32:27 +02:00
Cédric Krier 6d7daac2a8 Round only the tax amount of the line when rounding per line
If we round the tax amount already added to the other line, the result may vary
depending on the order of the lines.
This is because round half even is used so the result may depend on the already
summed tax amounts.

Closes #14047
(grafted from e1e376f91bc1e111cdef39ddcbbfd92d201ea6c9)

--HG--
branch : 7.0
2025-05-30 18:10:27 +02:00
Cédric Krier d30799b43f Invert boolean operator when searching description with negative operator
Closes #14037
(grafted from ef07c70a3ebe93f2e6268ccde48445005d3cdff6)

--HG--
branch : 7.0
2025-05-27 19:57:03 +02:00
Cédric Krier 289c43b40f Increase version number
--HG--
branch : 7.0
2025-05-15 19:51:12 +02:00
Cédric Krier c2286a64d6 Prepare release account-7.0.20
--HG--
branch : 7.0
2025-05-15 19:51:03 +02:00
Cédric Krier c69100079c Coalesce boolean account type columns on negative clause
In SQL the negation of NULL is still NULL.

Closes #13967
(grafted from 652d09bb06df8f6387fecf1b099eda2273cb6a04)

--HG--
branch : 7.0
2025-04-11 09:24:13 +02:00
Cédric Krier f199e48a18 Increase version number
--HG--
branch : 7.0
2025-04-26 18:01:24 +02:00
Cédric Krier 506b6a52a2 Prepare release account-7.0.19
--HG--
branch : 7.0
2025-04-26 18:01:14 +02:00
Cédric Krier 0504a0e766 Ensure the contextual company is not None and positive before using it
Closes #13868
(grafted from 0ea68af90f3ef7059c7c9c7a33d13fa216e23bc4)

--HG--
branch : 7.0
2025-03-10 23:43:49 +01:00
Cédric Krier 7a364be2ed Increase version number
--HG--
branch : 7.0
2025-03-04 22:49:57 +01:00
Cédric Krier cc28580674 Prepare release account-7.0.18
--HG--
branch : 7.0
2025-03-04 22:49:46 +01:00
Cédric Krier e285263edf Try to reconcile only valid account move line
Closes #13847
(grafted from 1fb0e539d8fe2dbbb66f6b042e34f6b48b7b035e)

--HG--
branch : 7.0
2025-01-29 18:20:46 +01:00
Cédric Krier 03ca8a1ecb Increase version number
--HG--
branch : 7.0
2025-02-01 18:27:18 +01:00
Cédric Krier 82b50f82a6 Prepare release account-7.0.17
--HG--
branch : 7.0
2025-02-01 18:27:06 +01:00
Cédric Krier 32ca3ceab6 Merge tax line with the same key but computed separately
Closes #13777
(grafted from 0a04ac7cc66be0e4afad66f71746ed34ca5f13b7)

--HG--
branch : 7.0
2024-12-24 14:54:47 +01:00
Cédric Krier a45e5b70dd Increase version number
--HG--
branch : 7.0
2025-01-16 19:02:53 +01:00
Cédric Krier d1df50b5f2 Prepare release account-7.0.16
--HG--
branch : 7.0
2025-01-16 19:02:41 +01:00
Cédric Krier c002c7ad71 Use proper default value for Eval on account move
(grafted from 1294a1c18863a45df2c3a2340bf2f2c7ec0d3e16)

--HG--
branch : 7.0
2024-12-26 18:55:47 +01:00
Cédric Krier d5c13a3b7e Increase version number
--HG--
branch : 7.0
2025-01-01 20:46:30 +01:00
Cédric Krier 400bda62a2 Prepare release account-7.0.15
--HG--
branch : 7.0
2025-01-01 20:46:19 +01:00
Cristina Sangrador 721cb46253 Do not try to create periods when renewing a fiscal year without periods
The computation of interval raises a ZeroDivisionError because the length of
periods is 0.

Closes #13671
(grafted from baf0a88808a8c5e85116ebbc7cf5f414b6bd95fc)

--HG--
branch : 7.0
2024-12-28 14:00:38 +01:00
Cédric Krier 8231c86885 Increase version number
--HG--
branch : 7.0
2024-12-16 19:13:04 +01:00
Cédric Krier 5805ded500 Prepare release account-7.0.14
--HG--
branch : 7.0
2024-12-16 19:12:53 +01:00
Cédric Krier af9bbcc995 Retrieve tax rounding configuration using the company of the taxable
Closes #13688
(grafted from 1aa6ba0c1569430c00413d3fff7fe6da578600b0)

--HG--
branch : 7.0
2024-11-15 18:06:45 +01:00
Cédric Krier 6e030c62ee Round together only taxable lines with the same taxes and sign
The rounding error must not be distributed between taxable lines having
different taxes otherwise the tax amount is not stable for the same base
amount.

Closes #13673
(grafted from 09294cc144f08088547eee0b5f47f36e5ad61926)

--HG--
branch : 7.0
2024-11-12 17:39:42 +01:00
Cédric Krier 451f39587b Increase version number
--HG--
branch : 7.0
2024-10-18 14:39:29 +02:00
Cédric Krier 543363ee26 Prepare release account-7.0.13
--HG--
branch : 7.0
2024-10-18 14:39:19 +02:00
Cédric Krier 50d19b416b Add depends on periods when changing company of tax code context
Since fa8f759f834b there is an assert to ensure that changing values of
xxx2Many can be done only if the field had a initial value.

Closes #13535
(grafted from 12cab3bcc14025182a5b78fcd5f9af400e55cf5a)

--HG--
branch : 7.0
2024-09-30 17:22:37 +02:00
Cédric Krier 89a6dc2d68 Increase version number
--HG--
branch : 7.0
2024-09-01 14:12:43 +02:00
Cédric Krier 59e599c46a Prepare release account-7.0.12
--HG--
branch : 7.0
2024-09-01 14:12:33 +02:00
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