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
eb82af2888
Increase version number
...
--HG--
branch : 6.0
2024-10-05 18:03:02 +02:00
Cédric Krier
6422042842
Prepare release purchase-6.0.18
...
--HG--
branch : 6.0
2024-10-05 18:02:51 +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
4c2b5dbe72
Increase version number
...
--HG--
branch : 6.0
2024-07-17 23:49:36 +02:00
Cédric Krier
364dd9f6dd
Prepare release purchase-6.0.17
...
--HG--
branch : 6.0
2024-07-17 23:49:25 +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
78f4d9d6a1
Increase version number
...
--HG--
branch : 6.0
2024-06-02 18:26:05 +02:00
Cédric Krier
2326cdb4df
Prepare release purchase-6.0.16
...
--HG--
branch : 6.0
2024-06-02 18:25:54 +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
14bff1d250
Increase version number
...
--HG--
branch : 6.0
2024-05-01 13:41:38 +02:00
Cédric Krier
6d8c5b1852
Prepare release purchase-6.0.15
...
--HG--
branch : 6.0
2024-05-01 13:41:27 +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
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