Commit Graph
625 Commits
Author SHA1 Message Date
Cédric Krier a9d844ae97 Always round unit price when recomputing it for stock move
Closes #12787
(grafted from 9130db2731ef76ada9b4877650a4b56ffe997318)

--HG--
branch : 6.0
2023-11-30 15:59:31 +01:00
Cédric Krier b355a57017 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 : 6.0
2023-11-16 16:32:43 +01:00
Cédric Krier 374912624b Increase version number
--HG--
branch : 6.0
2023-12-02 00:18:08 +01:00
Cédric Krier 99d4003c74 Prepare release stock_product_location-6.0.1
--HG--
branch : 6.0
2023-12-02 00:18:00 +01:00
Cédric Krier 22083d9d74 Use production warehouse to select product location
Closes #12765
(grafted from 97fdd352cf7217aedcdba3c907e61e4fe8c210d6)

--HG--
branch : 6.0
2023-11-21 11:35:44 +01:00
Cédric Krier 90181c3c43 Increase version number
--HG--
branch : 6.0
2023-11-17 19:52:32 +01:00
Cédric Krier bd92fc333e Prepare release purchase-6.0.14
--HG--
branch : 6.0
2023-11-17 19:52:22 +01:00
Cédric Krier 33b322f84e Increase version number
--HG--
branch : 6.0
2023-11-17 19:51:25 +01:00
Cédric Krier 3045310719 Prepare release sale-6.0.14
--HG--
branch : 6.0
2023-11-17 19:51:14 +01:00
Cédric Krier 2eed8d9eed Increase version number
--HG--
branch : 6.0
2023-11-17 19:46:20 +01:00
Cédric Krier 3a48cf5847 Prepare release sale_promotion-6.0.4
--HG--
branch : 6.0
2023-11-17 19:46:11 +01:00
Cédric Krier 01893dfa40 Increase version number
--HG--
branch : 6.0
2023-11-17 19:41:22 +01:00
Cédric Krier 8783985700 Prepare release sale_supply_drop_shipment-6.0.6
--HG--
branch : 6.0
2023-11-17 19:41:13 +01:00
Cédric Krier 88ef8bf2c5 Increase version number
--HG--
branch : 6.0
2023-11-17 19:40:34 +01:00
Cédric Krier 440e7cd6e2 Prepare release stock-6.0.23
--HG--
branch : 6.0
2023-11-17 19:40:20 +01:00
Cédric Krier ce4f6c9e44 Compute unit price for line when product is changed even with valid unit
The backport of #12633 was wrong because f86d35e09e87 changed the structure of
method. Such that the indentation of the call compute_unit_price is not if
there is a product set but if the unit is not valid.

Closes #12702
(grafted from 5cabd3eabbfb54c169ca3a5595aab07c493672b5)

--HG--
branch : 6.0
2023-11-12 12:01:49 +01:00
Cédric Krier 4d15d4fb7e Do not compute internal quantity for stock move created without product nor unit
Closes #12716
(grafted from 5412054f7f7ed333a5e8f56fa18090e1727ae7c8)

--HG--
branch : 6.0
2023-11-06 18:02:23 +01:00
Cédric Krier beec812a61 Do not try to compute promotion quantity for lines without type line
Closes #12351
(grafted from e4c4fcb90528908ed5135c1e78d8c7334d7c8c63)

--HG--
branch : 6.0
2023-11-02 16:42:45 +01:00
Sergi Almacellas Abellana 7f8fd4fafc Round new customer moves prices when syncing drop shipment moves
Closes #12710

--HG--
branch : 6.0
2023-11-06 13:02:13 +01:00
Cédric Krier ad6fd5e04e Increase version number
--HG--
branch : 6.0
2023-11-04 11:35:42 +01:00
Cédric Krier 7464afbc80 Prepare release stock_forecast-6.0.3
--HG--
branch : 6.0
2023-11-04 11:35:33 +01:00
Cédric Krier 7d7e19e416 Round unit price on stock move created by forecast
Closes #12705
(grafted from c2affdaec4f9f8c5b75f5f7e9f938f1e6680fdee)

--HG--
branch : 6.0
2023-11-04 10:41:30 +01:00
Cédric Krier ebd2ff8e85 Increase version number
--HG--
branch : 6.0
2023-11-03 19:13:28 +01:00
Cédric Krier b109efecbe Prepare release account-6.0.19
--HG--
branch : 6.0
2023-11-03 19:13:12 +01:00
Cédric Krier 0263141008 Increase version number
--HG--
branch : 6.0
2023-11-03 19:11:53 +01:00
Cédric Krier 2619a64b40 Prepare release account_invoice-6.0.14
--HG--
branch : 6.0
2023-11-03 19:11:42 +01:00
Cédric Krier c63d1f2bfa Increase version number
--HG--
branch : 6.0
2023-11-03 19:10:05 +01:00
Cédric Krier de35ad9249 Prepare release account_invoice_defer-6.0.5
--HG--
branch : 6.0
2023-11-03 19:09:56 +01:00
Cédric Krier 9b72da3d29 Increase version number
--HG--
branch : 6.0
2023-11-03 19:05:36 +01:00
Cédric Krier 83d1275968 Prepare release account_payment_stripe-6.0.8
--HG--
branch : 6.0
2023-11-03 19:05:28 +01:00
Cédric Krier 6066e5c172 Increase version number
--HG--
branch : 6.0
2023-11-03 18:59:50 +01:00
Cédric Krier 8593d0a55b Prepare release purchase-6.0.13
--HG--
branch : 6.0
2023-11-03 18:59:40 +01:00
Cédric Krier e844765061 Increase version number
--HG--
branch : 6.0
2023-11-03 18:55:37 +01:00
Cédric Krier b195464e1b Prepare release purchase_request-6.0.5
--HG--
branch : 6.0
2023-11-03 18:55:28 +01:00
Cédric Krier f29a308c6e Increase version number
--HG--
branch : 6.0
2023-11-03 18:49:30 +01:00
Cédric Krier bb2d112d69 Prepare release sale-6.0.13
--HG--
branch : 6.0
2023-11-03 18:49:19 +01:00
Cédric Krier 7c741f1277 Increase version number
--HG--
branch : 6.0
2023-11-03 18:47:28 +01:00
Cédric Krier 9d0f2979e9 Prepare release sale_credit_limit-6.0.3
--HG--
branch : 6.0
2023-11-03 18:47:20 +01:00
Cédric Krier 8cd3a5d0f2 Increase version number
--HG--
branch : 6.0
2023-11-03 18:11:39 +01:00
Cédric Krier d238fab202 Prepare release sale_shipment_tolerance-6.0.1
--HG--
branch : 6.0
2023-11-03 18:11:31 +01:00
Cédric Krier 1a2dfd5124 Increase version number
--HG--
branch : 6.0
2023-11-03 18:03:29 +01:00
Cédric Krier 4b25bfe43a Prepare release sale_subscription-6.0.5
--HG--
branch : 6.0
2023-11-03 18:03:20 +01:00
Cédric Krier 3f5c2d5dab Increase version number
--HG--
branch : 6.0
2023-11-03 18:00:33 +01:00
Cédric Krier fd518f6190 Prepare release stock_lot-6.0.2
--HG--
branch : 6.0
2023-11-03 18:00:24 +01:00
Cédric Krier c3e99d4948 Update amount when changing unit or taxes of purchase line
Closes #12648
(grafted from 0b36d595eb2f89bd6b3197a8d504cea4e1042a70)

--HG--
branch : 6.0
2023-10-29 14:23:34 +01:00
Cédric Krier ee958135d4 Update amount when changing unit or taxes of sale line
Closes #12648
(grafted from 9d8d80125995fe6926598c35c93efc7ed97f6b20)

--HG--
branch : 6.0
2023-10-29 14:23:10 +01:00
Cédric Krier e8da8ca0e1 Test to_date in context to get dates for general ledger
1b3d9d7a758f added the wrong test to exclude period and dates.

Closes #12629
(grafted from 43f382562aa3365af4e03cc5c1073b400ea0d604)

--HG--
branch : 6.0
2023-10-21 16:21:40 +02:00
Cédric Krier feeb099a17 Depend on product supplier unit to compute unit on price
The initial implementation 6a6b4ef53946 wrongly define the depends for the
function.

Closes #12653
(grafted from 8de5ef43252fb2cd47f1ab3dd239af299c549955)

--HG--
branch : 6.0
2023-10-22 12:37:04 +02:00
Cédric Krier c30eb5b1de Do not change line type when calling on_change_product
The wizard to modify header calls on_change_product on all lines but their
type must not change.

Closes #12633
(grafted from d7983af6fe6087b48c9200b7a43f7d74c234c6f9)

--HG--
branch : 6.0
2023-10-22 10:36:20 +02:00
Cédric Krier f89ec497ba Deduce from credit amount only sales from the user's company
Since #4080 the record rules are no more enforced on getter of Function
fields.

Closes #12586
(grafted from 27f9dfa253e48fd885ea54d5b983186d7e829583)

--HG--
branch : 6.0
2023-10-21 13:08:50 +02:00