Commit Graph
1954 Commits
Author SHA1 Message Date
Sergi Almacellas Abellana f8b3d029c3 Add tests for inactive product with stock with multiple products
issue11595
review445141003
2022-08-22 14:12:05 +02:00
Sergi Almacellas Abellana b7e3221dc5 Pass a tuple of lists into product by locations
issue11595
review445141003
2022-08-22 14:11:11 +02:00
Juanjo Garcia 15c8a99407 Ignore consumable products when inactivating a location.
issue10964
review360551002
2022-06-17 11:18:13 +02:00
Cédric Krier a3757b74ba Join with a unique currency rate
issue11255
review435291004
2022-06-15 22:03:38 +02:00
Cédric Krier 71eebb6166 Extend also the simple address form
issue11511
review417221003
2022-06-04 00:24:52 +02:00
Cédric Krier fad72f5c1a Update menu path in documentation
The menu names have been simplified by issue9937.
2022-05-31 09:39:25 +02:00
EdbO 13be05e6df Rename inventory count button action
This is to avoid collision with the ModelStorage.count method added by
issue10623.

issue11466
review447071003
2022-05-07 18:48:45 +02:00
Cédric Krier 9b75cb2e1e Increase version number 2022-05-02 16:56:29 +02:00
Cédric Krier 2d8df56c0d Add tag 6.4.0 [skip ci] 2022-05-02 16:56:07 +02:00
Cédric Krier 184dad5aa8 Prepare release 6.4.0 [skip ci] 2022-05-02 16:56:07 +02:00
Cédric Krier cf142f8f31 Update translations [skip ci] 2022-05-02 10:32:22 +02:00
Cédric Krier b0d40967e9 Search only waiting state when searching on partially assigned
issue11443
review407391002
2022-04-27 18:29:56 +02:00
Cédric Krier d9e2c7d934 Check links in documentation
issue11409
review390641002
2022-04-25 18:34:07 +02:00
Cédric Krier e6da4253ad Support testNamePatterns for doc tests
issue11423
review382481002
2022-04-25 18:11:20 +02:00
Cédric Krier ffe9f3b670 Replace test setuptools command by unittest discover
issue9215
review389851002
2022-04-16 18:30:19 +02:00
Cédric Krier 95358933ed Test that all XML view and SVG icon files are used
issue10830
review375751002
2022-04-12 10:35:40 +02:00
Cédric Krier 9ba73c27d1 Add validate_fields to ModelStorage
issue11303
review386191002
2022-04-11 23:24:21 +02:00
Cédric Krier 54830466f2 Remove unused assign button from move
issue11362
review380641003
2022-04-11 22:15:59 +02:00
Cédric Krier 06dbb0ad59 Drop support for PyPy and psycopg2cffi [skip ci]
issue11330
review386371003
2022-04-10 19:11:40 +02:00
Cédric Krier e277cc5e48 Restore depends on on_change_with_transit_location
It was wrongly removed by changeset b483de7e3ad8
2022-04-10 00:08:35 +02:00
Nicolas Évrard 0ab66f93af Send only the required fields when fetching a readonly view definition
issue11134
review380081002
2022-04-08 19:07:14 +02:00
Cédric Krier 49abf16a4e Add cache volume for check pipelines 2022-04-06 23:37:44 +02:00
Cédric Krier 18d920f683 Limit start dates before dates on internal shipment
The internal shipment must start before it ends.

issue11338
review382211002
2022-04-06 18:44:46 +02:00
Cédric Krier 7be70a5abb Use correct image substitution in check_doc
issue11367
2022-04-06 18:24:28 +02:00
Cédric Krier f5abf6ccba Test building documentation
issue11367
review397811002
2022-04-06 18:19:49 +02:00
Maxime Richez 6d9f68d4b2 Add location or warehouse in shipment tree view
issue6549
review40401002
2022-04-05 23:52:58 +02:00
Cédric Krier e22538d3de Set effective date of outgoing moves to effective start date
The outgoing moves of an internal shipment with transit must use the effective
start date when done.

issue11337
review397651002
2022-04-03 23:54:13 +02:00
Cédric Krier 689dc8e90d Increase required version of python-sql
issue11235 is using Select query in Round function which is supported by
python-sql from version 1.3.0.

issue11326
review365041002
2022-04-02 00:01:46 +02:00
Sergi Almacellas Abellana 8e5450ad81 Warn user when deactivating a product that has stock
issue11186
review376851002
2022-03-28 13:05:07 +02:00
Cédric Krier 0eb51e3cd4 Prevent to create and delete singleton
issue1639
review378481002
2022-03-26 13:03:39 +01:00
Cédric Krier bab0d68d11 Show production on stock move form
issue11254
review384391002
2022-03-20 01:27:59 +01:00
Cédric Krier f83a3e0e39 Do not use negative product id when there are none for quantities by warehouse
Otherwise this creates rows with negative id which are not valid for stored record.

issue11289
review390181002
2022-03-19 15:02:35 +01:00
Cédric Krier ddc5a2c0b3 Improve ref attribute in XML data
The model is enforced according to the ref usage.
The ref attribute can be used as value for Reference field.
The exceptions raised by the parser are normalized.

issue10982
review384341002
2022-03-07 00:52:58 +01:00
Cédric Krier 717c3c4224 Exclude quantity coming back from production the same day
This avoid to have a loop back that keeps the initial cost price of the
production in the history.

issue11265
review386101002
2022-03-06 13:34:18 +01:00
Cédric Krier 9256ae7d62 Round quantity computing in search clause
The internal quantity is stored without precision constraint and so the sum
result of many rows cumulate the rounding issue.
So the quantity must be rounded to return correct result when operator is
equality.
But as getting the digits from the product default uom would require to make
many joins, the simplest and more efficient solution is to use the highest
digits of the units.

issue11235
review390001002
2022-02-17 00:37:39 +01:00
Cédric Krier 6ef3e8c323 Do not sort state selection
issue11169
review374761005
2022-02-15 00:08:47 +01:00
Juanjo Garcia 427e26d309 Require unit price also for view location like for storage
issue11181
review355951002
2022-02-04 21:36:26 +01:00
Cédric Krier 4b00387d12 Add optional column on tree view
issue10989
review374321002
2022-02-03 23:13:27 +01:00
Cédric Krier 0201ff5bdd Use dictionary as domain for Reference field
issue11074
review383911002
2022-02-03 23:05:47 +01:00
Cédric Krier f72cdeb5de Use select to True on create_date
If the index is created only in __register__ then it is dropped before being
created again.

issue11197
review389881002
2022-02-03 22:29:08 +01:00
Cédric Krier b13b3c7b4e Reorganize stock menu and group shipments
issue11113
review377991002
2022-01-30 01:37:46 +01:00
Cédric Krier e528726768 Simplify stock configuration
issue11119
review393351002
2022-01-30 01:28:36 +01:00
Cédric Krier a9a130a5d0 Ensure to set correct company context when calling today
issue11046
review370421002
2022-01-23 12:54:56 +01:00
Cédric Krier 3a18c0803e Retrieve unit for product margin from table joins
Using a function field triggers a new read to round the quantity with the
default uom.

issue11097
review379931002
2022-01-23 10:25:32 +01:00
Cédric Krier 5bb4e4a2ef Add icons to inventory buttons and improve quantity label
issue11011
review379731002
2021-12-29 12:42:04 +01:00
Cédric Krier d36ff8357e Avoid double today record in product quantities by warehouse
We must exclude the stock move on today because we always add a record for each
product on today with the union.

issue11068
review387531002
2021-12-29 12:25:33 +01:00
Cédric Krier 5662b26a2b Limit assign to contextual company
issue11010
review376111002
2021-12-21 23:14:59 +01:00
Cédric Krier 6da9c857d5 Add support for Python 3.10
and remove support for Python 3.6.

issue11048
review364451002
2021-12-18 16:34:36 +01:00
Bernat f68c8867a6 Prevent to compare with None on searching quantity
issue11047
review387481002
2021-12-18 01:38:39 +01:00
Cédric Krier f9b81cddb5 Add coverage to tox
issue7685
review51501002
2021-12-13 23:10:12 +01:00