Commit Graph
24 Commits
Author SHA1 Message Date
Cédric Krier f3891b878e Depends on xxx2many fields when they are assigned by a change function
Closes #13099
(grafted from 4a24c323d44a3b5ab440b1bafc4b3b9005500642)

--HG--
branch : 6.0
2024-04-22 08:59:48 +02:00
Cédric Krier 4da191fd3c Remove readthedocs
(grafted from 2f67994e59b0bca29d7b0632a51540774b109140)

--HG--
branch : 6.0
2024-03-04 00:52:20 +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 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 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 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 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 6104da65e7 Use purchase line unit when invoice line has no unit
Closes #12462
(grafted from 582bbe2add15d9d856b3a9315b8c8434f66b7248)

--HG--
branch : 6.0
2023-10-09 18:31:37 +02:00
Cédric Krier d08dd4629a Increase version number
--HG--
branch : 6.0
2023-10-05 00:17:02 +02:00
Cédric Krier e94e83eb74 Prepare release purchase-6.0.12
--HG--
branch : 6.0
2023-10-05 00:16:50 +02:00
Cédric Krier b523ac326e Create invoice line for not line only if it is for the first invoice
This is the only case where we are sure that the layout will be conserved.

Closes #12320
(grafted from fd07f6017e8154dbb5740c296e48d4c974eaf3e8)

--HG--
branch : 6.0
2023-08-25 22:37:22 +02:00
Cédric Krier 5a57867a0c Order by descending id to get the last 10 purchases
Closes #12497
(grafted from f71e3a79e0c9249616a59ef2f96e807b12af3a44)

--HG--
branch : 6.0
2023-08-17 16:18:21 +02:00
Cédric Krier 944afc59ff Add .readthedocs.yaml configuration [skip ci]
This is required by Read the Docs service:
https://blog.readthedocs.com/migrate-configuration-v2/

Closes #12344
(grafted from ffef63a3959b55756c395ebfd3ee1224f4dc7611)

--HG--
branch : 6.0
2023-08-06 19:31:44 +02:00
Cédric Krier b1e965365e Increase version number
--HG--
branch : 6.0
2023-05-03 18:52:08 +02:00
Cédric Krier dde2251580 Prepare release purchase-6.0.11
--HG--
branch : 6.0
2023-05-03 18:51:55 +02:00
Cédric Krier cce1a6658f Use fixed location type to compute quantity to invoice for sale and purchase
Using the computed location to get the expected type is not reliable because
for return order, the location can be of different type and the stock move can
change of location type.

Closes #12203
(grafted from ce0b073cd8e637b8052ae3fa5e9bb4d8a7f6ea53)

--HG--
branch : 6.0
2023-04-13 17:45:09 +02:00
Cédric Krier 4cafdeb9d9 Increase version number
--HG--
branch : 6.0
2023-03-04 12:46:31 +01:00
Cédric Krier 7a1f9aca43 Prepare release purchase-6.0.10
--HG--
branch : 6.0
2023-03-04 12:46:13 +01:00
Cédric Krier 403a0780ce Use right boolean operator in composite domain of searcher
When the clause is negative, it must return an AND-ed domain instead of OR-ed.
(grafted from e8c1e7d592b5a21cec95e8d6614112b8021e34d5)

--HG--
branch : 6.0
2023-02-16 10:39:30 +01:00
Cédric Krier 7c275d29fb Prepare migration to monorepo
--HG--
branch : 6.0
2022-12-17 17:14:49 +01:00
Cédric Krier 05cdbd5415 Prepare migration to monorepo
--HG--
branch : 6.0
2022-12-16 16:49:48 +01:00