Commit Graph
41 Commits
Author SHA1 Message Date
Cédric Krier 0b2329b4fb Increase version number
--HG--
branch : 6.0
2024-12-01 20:49:14 +01:00
Cédric Krier a234157b79 Prepare release sale-6.0.19
--HG--
branch : 6.0
2024-12-01 20:49:05 +01:00
Cédric Krier 03c04ec1c9 Do not convert invoiced quantity if sale or purchase has not unit
Closes #13593
(grafted from 203c7f14ff6c4b230fe9bc0de42052d4b8cf90cb)

--HG--
branch : 6.0
2024-10-27 19:41:19 +01:00
Cédric Krier 6d65580bd5 Increase version number
--HG--
branch : 6.0
2024-10-05 17:53:19 +02:00
Cédric Krier 7b625555d6 Prepare release sale-6.0.18
--HG--
branch : 6.0
2024-10-05 17:53:10 +02:00
Cédric Krier 59f18d44cd Test if origin id is greater or equals to 0 before accessing the target record
Closes #13498
(grafted from 497490225779fc8dc210c9cee997cd5ce4b4381e)

--HG--
branch : 6.0
2024-09-09 12:46:16 +02:00
Cédric Krier 9687901516 Link stock moves with invoice lines only for the same quantity sign as the order line
When invoice lines are created to correct invoices quantity, it should not be
linked to stock moves because it comes from a stock move being cancelled.

Closes #12972
(grafted from 20c538f39c871bacc0486b8506957229268f59cd)

--HG--
branch : 6.0
2024-09-28 18:06:42 +02:00
Cédric Krier a61799cdc3 Pin setuptools version in tox env
We use the command test from setuptools which has been removed in version
72.0.0.

Closes #13510

--HG--
branch : 6.0
2024-09-13 16:37:56 +02:00
Cédric Krier 2c0a5c82c6 Increase version number
--HG--
branch : 6.0
2024-07-17 23:46:03 +02:00
Cédric Krier 869e7033b1 Prepare release sale-6.0.17
--HG--
branch : 6.0
2024-07-17 23:45:49 +02:00
Cédric Krier c402c86d19 Clear cached amount when resetting to draft sale, purchase and purchase requisition
Closes #13296
(grafted from 8e441329d11b93ceafa47d553cb23883e5b4ec2f)

--HG--
branch : 6.0
2024-06-13 12:34:50 +02:00
Cédric Krier eabbede07f Do not copy cached amounts of sale, purchase and purchase requisition
Closes #13336
(grafted from f8ddc8aae5c43b08f62cc3009172a3463f2e4363)

--HG--
branch : 6.0
2024-06-13 12:11:51 +02:00
Cédric Krier c5bf14ab7b Increase version number
--HG--
branch : 6.0
2024-06-02 18:09:08 +02:00
Cédric Krier 93beaff4ca Prepare release sale-6.0.16
--HG--
branch : 6.0
2024-06-02 18:08:57 +02:00
Cédric Krier 793db38e03 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 : 6.0
2024-04-30 19:15:44 +02:00
Cédric Krier 5d8de1cce8 Increase version number
--HG--
branch : 6.0
2024-05-01 13:31:59 +02:00
Cédric Krier cc8ce8dc83 Prepare release sale-6.0.15
--HG--
branch : 6.0
2024-05-01 13:31:48 +02:00
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 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 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 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 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 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 c375b2f1c7 Do not raise StopIteration when calling pairwise with empty iterable
Closes #12652
(grafted from bf2f33fe3adf63deae1162ab64f0a1c2cc43eee0)

--HG--
branch : 6.0
2023-10-18 18:28:04 +02:00
Cédric Krier 3d9ec296d9 Use sale line unit when invoice line has no unit
Closes #12462
(grafted from 2190acdc50ef3ba11c02847b0ee853d2e9c04179)

--HG--
branch : 6.0
2023-10-09 18:31:27 +02:00
Cédric Krier 613f6c89fe Increase version number
--HG--
branch : 6.0
2023-10-05 00:13:31 +02:00
Cédric Krier e2d4650925 Prepare release sale-6.0.12
--HG--
branch : 6.0
2023-10-05 00:13:19 +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 3bff7a703f Use absolute quantity to compute sale price
Closes #12496
(grafted from 77e8d638383a1a8ea96dd64fbc7ed3f1d8d5ccc7)

--HG--
branch : 6.0
2023-08-17 16:30:28 +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 f9619da24b Increase version number
--HG--
branch : 6.0
2023-05-03 18:48:24 +02:00
Cédric Krier d75343a111 Prepare release sale-6.0.11
--HG--
branch : 6.0
2023-05-03 18:48:11 +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 648c8fa6b8 Increase version number
--HG--
branch : 6.0
2023-03-04 12:42:48 +01:00
Cédric Krier 6d63a436e9 Prepare release sale-6.0.10
--HG--
branch : 6.0
2023-03-04 12:42:32 +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 0011a38350 Prepare migration to monorepo
--HG--
branch : 6.0
2022-12-16 16:16:50 +01:00