Commit Graph

1033 Commits

Author SHA1 Message Date
Guewen Baconnier
981180aebb [IMP] stock_orderpoint_route: black, isort 2020-03-17 11:10:39 +01:00
Guewen Baconnier
899a88968f Use SavepointCase in tests
To avoid executing the setup for each test
2020-03-17 11:10:39 +01:00
Guewen Baconnier
859c97ee35 Migrate stock_orderpoint_route to 12.0 2020-03-17 11:10:39 +01:00
Jordi Ballester Alomar
b4fd809cb8 [11.][ADD] stock_orderpoint_route 2020-03-17 11:10:39 +01:00
Guewen Baconnier
9cf7fd4599 run pre-commit with new prettiers 2020-03-17 11:07:49 +01:00
Guewen Baconnier
f9eed077be [MIG] stock_location_zone: Migration to 13.0 2020-03-17 11:06:08 +01:00
Guewen Baconnier
f07e9d5d1c [IMP] stock_location_zone: black, isort 2020-03-17 11:06:08 +01:00
oca-travis
d1a05e9c0f [UPD] Update stock_location_zone.pot 2020-03-17 11:06:08 +01:00
Guewen Baconnier
a4a84bdd8c Add area location relation
So we can use it in group-by and filters. Note that we can have several
levels of areas... only the top-level will be used.

This commit fixes the computed field dependencies:
_compute_location_kind should have a dependency on both it's parent's
location_kind and on its child_ids to know if we are in a bin. This
can't work without triggering an infinite loop. The trick used here is
to split the computation of 'zone_location_id + area_location_id' in one
computed method, and move the computation of the kind in a different
method with triggers an the current record's zone_location +
area_location_id, but not on the parent.

Plus the zone_location_id and area_location_id do not depend anymore on
the parent's kind, which is the reason for the infinite loop.
2020-03-17 11:06:08 +01:00
Guewen Baconnier
6011aae1e9 Improve performance
* Compute the 'zone' fields in the same method
* Remove the dependency on 'zone_location_id', which seems to take
  a lot of time if not an infinite loop
2020-03-17 11:06:08 +01:00
Guewen Baconnier
42bc215171 Remove unique constraint on location's name
It prevents other addons to work properly such as the vertical lift.
We remove the constraint for now, maybe to be re-introduced later in a
more permissive way.
2020-03-17 11:06:08 +01:00
Akim Juillerat
7386a85338 Rework stock_location_zone 2020-03-17 11:06:08 +01:00
Guewen Baconnier
5c727f10d5 Set Alpha development status
* Add copyright header
* Add myself as contributor of stock_location_zone
* Fix lint
2020-03-17 11:06:08 +01:00
Guewen Baconnier
35400e528e Add corrections to stock_location_zone
* Allow copy of stock locations (was blocked by constraint on unique name)
* Correct loop in _compute_name returning too early if a record had no
parent with a 'location_name_format'
* Rename field pick_type_id to picking_type_id for coherency
* Add missing _description on stock.picking.zone
* Correct location_name_format format when the record is a NewId
2020-03-17 11:06:08 +01:00
Jacques-Etienne Baudoux
fa7961a7ad [ADD] stock_location_zone 2020-03-17 11:06:08 +01:00
Guewen Baconnier
4ea423ae26 run pre-commit -a with new prettiers 2020-03-17 10:56:50 +01:00
Guewen Baconnier
cc6dbc4609 Fix javascript warnings 2020-03-17 10:56:01 +01:00
Guewen Baconnier
68dfe9f653 Migrate stock_location_tray to 13.0 2020-03-17 10:56:01 +01:00
Guewen Baconnier
48b46adc81 Add tray matrix on stock move lines 2020-03-17 10:56:01 +01:00
Guewen Baconnier
a0baea1351 Add methods to get the center position of a cell 2020-03-17 10:56:01 +01:00
Guewen Baconnier
8dd23b0e55 Add width/depth/height and per-cell size 2020-03-17 10:56:01 +01:00
Guewen Baconnier
78f6847f29 Add stock_location_tray
Extracted from stock_vertical_lift
(https://github.com/OCA/stock-logistics-warehouse/pull/633)

Add tray types to stock locations, automatically generates
sub-locations. Present them nicely with a custom widget.
2020-03-17 10:56:01 +01:00
Guewen Baconnier
7a43a1c67d Migrate stock_reserve_rule to 13.0 2020-03-17 10:39:10 +01:00
Guewen Baconnier
3494c2671d Add stock_reserve_rule 2020-03-17 10:39:10 +01:00
Sergio Teruel
269eb9814e [IMP] stock_inventory_preparation_filter: black, isort 2020-03-16 12:45:27 +01:00
Rodrigo Macedo
53e1eeb6e5 Translated using Weblate (Portuguese (Brazil))
Currently translated at 100.0% (21 of 21 strings)

Translation: stock-logistics-warehouse-12.0/stock-logistics-warehouse-12.0-stock_inventory_preparation_filter
Translate-URL: https://translation.odoo-community.org/projects/stock-logistics-warehouse-12-0/stock-logistics-warehouse-12-0-stock_inventory_preparation_filter/pt_BR/
2020-03-16 12:45:27 +01:00
OCA Transbot
c193c89fbc Update translation files
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: stock-logistics-warehouse-12.0/stock-logistics-warehouse-12.0-stock_inventory_preparation_filter
Translate-URL: https://translation.odoo-community.org/projects/stock-logistics-warehouse-12-0/stock-logistics-warehouse-12-0-stock_inventory_preparation_filter/
2020-03-16 12:45:27 +01:00
OCA-git-bot
d3420d116a stock_inventory_preparation_filter 12.0.1.1.0 2020-03-16 12:45:27 +01:00
OCA-git-bot
c956e6dd2d [UPD] README.rst 2020-03-16 12:45:27 +01:00
oca-travis
7fb4ab53f9 [UPD] Update stock_inventory_preparation_filter.pot 2020-03-16 12:45:27 +01:00
Iván Todorovich
b7ccf87030 [IMP] Readme 2020-03-16 12:45:27 +01:00
Iván Todorovich
595d8e1b6d [ADD] Tests for domain filter 2020-03-16 12:45:27 +01:00
Iván Todorovich
9761e060ab [IMP] Add domain filter 2020-03-16 12:45:27 +01:00
黎伟杰
dc372b2d6d Translated using Weblate (Chinese (Simplified))
Currently translated at 100.0% (19 of 19 strings)

Translation: stock-logistics-warehouse-12.0/stock-logistics-warehouse-12.0-stock_inventory_preparation_filter
Translate-URL: https://translation.odoo-community.org/projects/stock-logistics-warehouse-12-0/stock-logistics-warehouse-12-0-stock_inventory_preparation_filter/zh_CN/
2020-03-16 12:45:27 +01:00
Rodrigo Macedo
f5a937c7d7 Translated using Weblate (Portuguese (Brazil))
Currently translated at 100.0% (19 of 19 strings)

Translation: stock-logistics-warehouse-12.0/stock-logistics-warehouse-12.0-stock_inventory_preparation_filter
Translate-URL: https://translation.odoo-community.org/projects/stock-logistics-warehouse-12-0/stock-logistics-warehouse-12-0-stock_inventory_preparation_filter/pt_BR/
2020-03-16 12:45:27 +01:00
OCA-git-bot
fb324373a3 [UPD] README.rst 2020-03-16 12:45:27 +01:00
OCA Transbot
0b98fce727 Update translation files
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: stock-logistics-warehouse-12.0/stock-logistics-warehouse-12.0-stock_inventory_preparation_filter
Translate-URL: https://translation.odoo-community.org/projects/stock-logistics-warehouse-12-0/stock-logistics-warehouse-12-0-stock_inventory_preparation_filter/
2020-03-16 12:45:27 +01:00
oca-travis
e7e1454f05 [UPD] Update stock_inventory_preparation_filter.pot 2020-03-16 12:45:27 +01:00
OCA-git-bot
4411e465d1 [UPD] README.rst 2020-03-16 12:45:27 +01:00
xavierpiernas
26e0805f37 [MIG] stock_inventory_preparation_filter: Migration to 12.0 2020-03-16 12:45:27 +01:00
OCA Transbot
c8205c7891 Update translation files
Updated by Update PO files to match POT (msgmerge) hook in Weblate.
2020-03-16 12:45:27 +01:00
oca-travis
b883467b32 [UPD] Update stock_inventory_preparation_filter.pot 2020-03-16 12:45:27 +01:00
Pedro M. Baeza
cc7dc7d525 [FIX+IMP] stock_inventory_preparation_filter: Finish migration
* README by fragments
* Clean some code
* Fix failing test
* Fix layout
2020-03-16 12:45:27 +01:00
xavierjimenez
de49bfaafc [FIX] Function changes on tests 2020-03-16 12:45:27 +01:00
xavierjimenez
03d6afd7ac [MIG][11.0] stock_inventory_preparation_filter 2020-03-16 12:45:27 +01:00
Rodrigo Macedo
9058a61300 Translated using Weblate (Portuguese (Brazil))
Currently translated at 94.7% (18 of 19 strings)

Translation: stock-logistics-warehouse-10.0/stock-logistics-warehouse-10.0-stock_inventory_preparation_filter
Translate-URL: https://translation.odoo-community.org/projects/stock-logistics-warehouse-10-0/stock-logistics-warehouse-10-0-stock_inventory_preparation_filter/pt_BR/
2020-03-16 12:45:27 +01:00
OCA Transbot
5beb4399f5 OCA Transbot updated translations from Transifex 2020-03-16 12:45:27 +01:00
David
4c86f7c6b6 [MIG] stock_inventory_preparation_filter: Migration to 10.0 2020-03-16 12:45:27 +01:00
Jos De Graeve
3946e33532 FIX stock_inventory_preparation_filter search EAN13 for scanned products
When using the feature 'allows to make an inventory based on scanned
products', users might expect they can use the EAN13 barcode for
scanning their products.
2020-03-16 12:45:27 +01:00
OCA Transbot
deddc08ebc OCA Transbot updated translations from Transifex 2020-03-16 12:45:27 +01:00