Commit Graph
129 Commits
Author SHA1 Message Date
Cédric Krier 9135c72ffa Increase version number
--HG--
branch : 7.0
2025-02-16 12:13:14 +01:00
Cédric Krier 7980a0918a Prepare release purchase-7.0.10
--HG--
branch : 7.0
2025-02-16 12:13:03 +01:00
Cédric Krier 9fd12e21d1 Link invoice lines and stock moves for different quantity sign if invoice method is not shipment
Closes #13821
(grafted from 09524e5cc8c4edd63a556b5c5dc723af9edb4cfa)

--HG--
branch : 7.0
2025-01-16 17:38:14 +01:00
Cédric Krier 3c2ebbd659 Increase version number
--HG--
branch : 7.0
2024-12-01 20:52:35 +01:00
Cédric Krier a48778bfcd Prepare release purchase-7.0.9
--HG--
branch : 7.0
2024-12-01 20:52:26 +01:00
Cédric Krier 7c28af4bd5 Do not convert invoiced quantity if sale or purchase has not unit
Closes #13593
(grafted from 203c7f14ff6c4b230fe9bc0de42052d4b8cf90cb)

--HG--
branch : 7.0
2024-10-27 19:41:19 +01:00
Cédric Krier 25cd063226 Increase version number
--HG--
branch : 7.0
2024-11-06 21:36:19 +01:00
Cédric Krier 6c6d5c7b3f Prepare release purchase-7.0.8
--HG--
branch : 7.0
2024-11-06 21:36:11 +01:00
Cédric Krier 4bca0da9be Return location instance in getter of sale and purchase
If the location field is empty, it prevents to raise an attribute error when
accessing the id.

Closes #13544
(grafted from 277281d61a6223e2ed42a0e6b3002a559c6a67ff)

--HG--
branch : 7.0
2024-10-11 15:59:18 +02:00
Cédric Krier 2515a5cc6a Increase version number
--HG--
branch : 7.0
2024-10-05 18:02:37 +02:00
Cédric Krier 31b9ca8f1c Prepare release purchase-7.0.7
--HG--
branch : 7.0
2024-10-05 18:02:27 +02:00
Cédric Krier e18d53e99c Test if origin id is greater or equals to 0 before accessing the target record
Closes #13498
(grafted from 497490225779fc8dc210c9cee997cd5ce4b4381e)

--HG--
branch : 7.0
2024-09-09 12:46:16 +02:00
Cédric Krier 716437be2d 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 : 7.0
2024-09-28 18:05:21 +02:00
Cédric Krier 24e74319c7 Increase version number
--HG--
branch : 7.0
2024-07-17 23:49:12 +02:00
Cédric Krier 1ac10eb136 Prepare release purchase-7.0.6
--HG--
branch : 7.0
2024-07-17 23:49:01 +02:00
Cédric Krier 6377c401db Clear cached amount when resetting to draft sale, purchase and purchase requisition
Closes #13296
(grafted from 8e441329d11b93ceafa47d553cb23883e5b4ec2f)

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

--HG--
branch : 7.0
2024-06-13 12:11:51 +02:00
Cédric Krier 383a848f6e Increase version number
--HG--
branch : 7.0
2024-06-02 18:23:20 +02:00
Cédric Krier 49bdcc626c Prepare release purchase-7.0.5
--HG--
branch : 7.0
2024-06-02 18:23:08 +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 1deae2fec4 Increase version number
--HG--
branch : 7.0
2024-05-01 13:39:22 +02:00
Cédric Krier c6e457aea9 Prepare release purchase-7.0.4
--HG--
branch : 7.0
2024-05-01 13:39:11 +02:00
Cédric Krier a6e822f877 Depends on xxx2many fields when they are assigned by a change function
Closes #13099
(grafted from 4a24c323d44a3b5ab440b1bafc4b3b9005500642)

--HG--
branch : 7.0
2024-04-22 08:59:48 +02:00
Cédric Krier 87135f32d5 Always return float for invoice or moves progress
The fields are Float so they must return a float.
(grafted from 68824d0fd7e6b7568db499d0a6594476c7f9ab66)

--HG--
branch : 7.0
2024-04-04 15:12:21 +02:00
Cédric Krier f0d2e98782 Increase version number
--HG--
branch : 7.0
2024-04-17 12:40:58 +02:00
Cédric Krier 86e8a5ac1d Prepare release purchase-7.0.3
--HG--
branch : 7.0
2024-04-17 12:40:46 +02:00
Cédric Krier 01ad452523 Consider sale or purchase as done when states are none and methods are not manual
This partially reverts 87d1b5dd99c6 and cc3f0e8968a4 to base the state on the
methods instead of the quantity.

Closes #13154

--HG--
branch : 7.0
2024-04-02 15:33:01 +02:00
Cédric Krier 76b05ac12a Increase version number
--HG--
branch : 7.0
2024-04-04 09:50:43 +02:00
Cédric Krier 98285e4c14 Prepare release purchase-7.0.2
--HG--
branch : 7.0
2024-04-04 09:50:31 +02:00
Cédric Krier 26db6c6a8b Do not set sale nor purchase in exception for invoice with cancel move
Cancelled invoices with a cancel move should be considered as paid.

Closes #13085
(grafted from 9d82512f29e0e84ab3bb899cc1e4216e42718908)

--HG--
branch : 7.0
2024-03-08 12:36:57 +01:00
Cédric Krier c4d4951525 Remove readthedocs
(grafted from 2f67994e59b0bca29d7b0632a51540774b109140)

--HG--
branch : 7.0
2024-02-18 18:35:54 +01:00
Cédric Krier 71d7195ff4 Increase version number
--HG--
branch : 7.0
2024-02-03 12:27:18 +01:00
Cédric Krier 9cb3e3ee90 Prepare release purchase-7.0.1
--HG--
branch : 7.0
2024-02-03 12:27:06 +01:00
Cédric Krier 1916df3021 Do not translate quantity placeholder in sale and purchase messages
Closes #12919
(grafted from cb1addeec66516c873f0c6a62c1787e5ba2a5612)

--HG--
branch : 7.0
2024-01-10 14:15:52 +01:00
Cédric Krier 6c91d493b6 Increase version number
--HG--
branch : 7.0
2023-10-30 18:49:03 +01:00
Cédric Krier 65f477f731 Prepare release 7.0.0 2023-10-30 18:17:32 +01:00
Cédric Krier 76c00d3133 Update amount when changing unit or taxes of purchase line
Closes #12648
2023-10-29 14:23:34 +01:00
Cédric Krier c577fad900 Update translations [skip ci] 2023-10-28 14:15:23 +02:00
Maxime Richez b6db068130 Prevent changing party, template and product on product supplier
Closes #12607
2023-10-26 22:53:18 +02:00
Cédric Krier 88edde8e69 Depend on product supplier unit to compute unit on price
The initial implementation 6a6b4ef53946 wrongly define the depends for the
function.

Closes #12653
2023-10-22 12:37:04 +02:00
Cédric Krier cf0b20da58 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
2023-10-22 10:36:20 +02:00
Cédric Krier 420e0a48d6 Add pairwise_longest tools 2023-10-18 23:11:07 +02:00
Cédric Krier 7e2c1f8cbd Do not raise StopIteration when calling pairwise with empty iterable
Closes #12652
2023-10-18 18:28:04 +02:00
Cédric Krier 4e010a988f Add support for Python 3.12 2023-10-22 19:40:55 +02:00
Cédric Krier e2e05b146c Use purchase line unit when invoice line has no unit
Closes #12462
2023-10-09 18:31:37 +02:00
Cédric Krier 83d817309c Add scenario to test default taxes for purchase without product 2023-10-04 17:19:01 +02:00
Cédric Krier bf71a702c9 Compute taxes when purchase is changed on line
Closes #12612
2023-10-04 17:18:47 +02:00
Cédric Krier 66e460b97d Do not consider purchase as done when invoice or shipment state are none
If there are still line to invoice or to receive, the purchase should not be
done.

Closes #12594
2023-09-27 12:30:12 +02:00
Cédric Krier 96a24bcaf6 Remove extra button group access
Since ab05d05bb811 there is no need to have access defined on button if they
are the same as the write access on the model.

Closes #12578
2023-09-20 09:45:20 +02:00
Cédric Krier bdb43b84b2 Remove trailing comma on time_series definition on purchase reporting per product
Closes #12605
2023-10-02 09:44:26 +02:00