Cédric Krier
6dd5f5873e
Use explicit order for shipments and invoices on sale and purchase
...
Closes #15090
(grafted from 05dbc76d7b374aebf7aaef7c03617cbec6c67393)
--HG--
branch : 7.0
2026-09-13 13:57:29 +02:00
Cédric Krier
123d6db298
Sort invoices and shipments on Function fields of sale and purchase
...
Closes #15083
(grafted from 9385c3660f174830a30529078f3e2899a7a8672c)
--HG--
branch : 7.0
2026-09-10 14:14:16 +02:00
Cédric Krier
b1bffd213c
Increase version number
...
--HG--
branch : 7.0
2026-08-04 12:14:54 +02:00
Cédric Krier
a12ef08794
Prepare release sale-7.0.18
...
--HG--
branch : 7.0
2026-08-04 12:14:44 +02:00
Cédric Krier
0fb76cda0e
Always use the shipment address of the sale as delivery address for the shipment
...
The warehouse on the sale is not always filled instead it is the the warehouse
of the shipment that must be used for the comparison. But this makes the test
useless as the shipment address is always used ad delivery address.
Closes #14954
(grafted from d414eccc0ad58a86ba4083f5c5f427b4e41edee7)
--HG--
branch : 7.0
2026-07-13 18:26:34 +02:00
Cédric Krier
1050494552
Use binary version of psycopg for tests
...
(grafted from 844c3d391796ffe89afce54d12f6bf5f4aa8ef4e)
--HG--
branch : 7.0
2026-07-17 22:16:19 +02:00
Cédric Krier
1e285eb654
Increase version number
...
--HG--
branch : 7.0
2026-05-02 14:13:13 +02:00
Cédric Krier
1633c7946d
Prepare release sale-7.0.17
...
--HG--
branch : 7.0
2026-05-02 14:13:04 +02:00
Sergi Almacellas Abellana
fef30778f9
Always use out/return as sale move types
...
Closes #14807
(grafted from 772c331a3570f8ecfc43965cc133b5d25fe11084)
--HG--
branch : 7.0
2026-04-23 16:51:09 +02:00
Cédric Krier
dc1e12ca3a
Cast to integer reporting ID calculated using SQL Power
...
Closes #14732
(grafted from 2119eb22022587466530ff1221b13397c660cfaf)
--HG--
branch : 7.0
2026-04-09 18:24:39 +02:00
Cédric Krier
f5ef1e13ff
Increase version number
...
--HG--
branch : 7.0
2025-12-17 19:37:28 +01:00
Cédric Krier
22b91fc741
Prepare release sale-7.0.16
...
--HG--
branch : 7.0
2025-12-17 19:37:20 +01:00
Cédric Krier
0a46153971
Round moved quantity before compare to 0
...
As moved quantity is the sum of float, it may carry rounding issue so it must
be rounded before comparison.
Closes #14386
(grafted from 760368f8aa28083ad69311ce0f424c0de3d54b3d)
--HG--
branch : 7.0
2025-11-25 18:38:51 +01:00
Cédric Krier
dde52f36a6
Increase version number
...
--HG--
branch : 7.0
2025-06-04 23:36:18 +02:00
Cédric Krier
d99e9bb0b1
Prepare release sale-7.0.15
...
--HG--
branch : 7.0
2025-06-04 23:36:08 +02:00
Maxime Richez
d5b2919200
Set empty currency and unit price on stock move when not required
...
Closes #14023
(grafted from 6090f9c621e782cd47eb0537dee972c2f1fa8fe6)
--HG--
branch : 7.0
2025-05-16 13:20:28 +02:00
Cédric Krier
98bad8f747
Increase version number
...
--HG--
branch : 7.0
2025-05-02 22:26:14 +02:00
Cédric Krier
65101b80bc
Prepare release sale-7.0.14
...
--HG--
branch : 7.0
2025-05-02 22:26:05 +02:00
Cédric Krier
eb5d8e6cd1
Make lines of sales, subscriptions and purchases read only without a company and currency
...
Closes #13948
(grafted from 47c126ef770e2da3227eaaf10b64398d9b27d6e9)
--HG--
branch : 7.0
2025-03-27 23:07:41 +01:00
Cédric Krier
c670fcf90d
Increase version number
...
--HG--
branch : 7.0
2025-04-26 17:38:56 +02:00
Cédric Krier
00f794a489
Prepare release sale-7.0.13
...
--HG--
branch : 7.0
2025-04-26 17:38:47 +02:00
Cédric Krier
0504a0e766
Ensure the contextual company is not None and positive before using it
...
Closes #13868
(grafted from 0ea68af90f3ef7059c7c9c7a33d13fa216e23bc4)
--HG--
branch : 7.0
2025-03-10 23:43:49 +01:00
Cédric Krier
24b2801dc0
Increase version number
...
--HG--
branch : 7.0
2025-04-03 00:54:46 +02:00
Cédric Krier
a305042f4c
Prepare release sale-7.0.12
...
--HG--
branch : 7.0
2025-04-03 00:54:37 +02:00
Cédric Krier
be3de61310
Convert list/tuple value to list of IDs only if it contains records
...
The Modify Header set the start value from the sale or purchase values but when
it is a list or a tuple, it should also ensure it contains records before
converting to a list of ids.
Closes #13915
(grafted from 35fc6e3d271b4eeb7ef123f58085836fdab77228)
--HG--
branch : 7.0
2025-03-10 23:26:14 +01:00
Cédric Krier
2ad2474866
Increase version number
...
--HG--
branch : 7.0
2025-02-16 12:11:12 +01:00
Cédric Krier
be2f5df014
Prepare release sale-7.0.11
...
--HG--
branch : 7.0
2025-02-16 12:11:02 +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
7d1b28c24d
Increase version number
...
--HG--
branch : 7.0
2024-12-01 20:48:51 +01:00
Cédric Krier
fda0c1e723
Prepare release sale-7.0.10
...
--HG--
branch : 7.0
2024-12-01 20:48:41 +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
fd1dabceb4
Increase version number
...
--HG--
branch : 7.0
2024-11-06 21:33:48 +01:00
Cédric Krier
8a78659c8f
Prepare release sale-7.0.9
...
--HG--
branch : 7.0
2024-11-06 21:33:38 +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
b2e71121cb
Increase version number
...
--HG--
branch : 7.0
2024-10-18 14:11:01 +02:00
Cédric Krier
c472bcdb10
Prepare release sale-7.0.8
...
--HG--
branch : 7.0
2024-10-18 14:10:51 +02:00
Cédric Krier
0efba6964f
Add searcher for name of sale reporting per region
...
Closes #13466
(grafted from 1228810bc05021f35006dc4472f9386d693975be)
--HG--
branch : 7.0
2024-09-10 15:38:44 +02:00
Cédric Krier
e438963a5b
Increase version number
...
--HG--
branch : 7.0
2024-10-05 17:52:55 +02:00
Cédric Krier
3fb63708a1
Prepare release sale-7.0.7
...
--HG--
branch : 7.0
2024-10-05 17:52:47 +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
47f47ce32a
Increase version number
...
--HG--
branch : 7.0
2024-07-17 23:44:49 +02:00
Cédric Krier
09180af81a
Prepare release sale-7.0.6
...
--HG--
branch : 7.0
2024-07-17 23:44:39 +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
d10c098532
Increase version number
...
--HG--
branch : 7.0
2024-06-02 18:06:16 +02:00
Cédric Krier
be318cf777
Prepare release sale-7.0.5
...
--HG--
branch : 7.0
2024-06-02 18:06:05 +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
069c8fc9af
Do not convert sale unit price to sale unit of measure if empty
...
Closes #13213
(grafted from 8ddf3a565d40d501105f1bc05188a7ccdccd57c4)
--HG--
branch : 7.0
2024-05-10 15:17:37 +02:00
Cédric Krier
84f803b9a0
Increase version number
...
--HG--
branch : 7.0
2024-05-01 13:29:19 +02:00