Commit Graph

1514 Commits

Author SHA1 Message Date
Lois Rilo
a0b9f1f00f [12.0][FIX] stock_request_kanban: wrong uom group reference 2020-03-20 10:03:38 +01:00
OCA-git-bot
5103294029 [UPD] README.rst 2020-03-20 10:03:38 +01:00
oca-travis
3ce064f6f9 [UPD] Update stock_request_kanban.pot 2020-03-20 10:03:38 +01:00
Kitti U
7747600fc1 [12.0][MIG] stock_request_kanban 2020-03-20 10:03:38 +01:00
oca-travis
73f1ee0d4b [UPD] Update stock_request_kanban.pot 2020-03-20 10:03:38 +01:00
Enric Tobella
8cf4f5e576 [IMP] Stock_request_kanban: Set barcode configuration on parameters 2020-03-20 10:03:38 +01:00
OCA Transbot
40e9fbd9e7 Update translation files
Updated by Update PO files to match POT (msgmerge) hook in Weblate.
2020-03-20 10:03:38 +01:00
Adrià Gil Sorribes
b0b0800c43 [11.0][FIX] Fix for stock_request_kanban
fixup!
2020-03-20 10:03:38 +01:00
oca-travis
36eca6e3da [UPD] Update stock_request_kanban.pot 2020-03-20 10:03:38 +01:00
Jordi Ballester Alomar
50ef4756a2 [stock_request_kanban][FIX] _get_inventory_kanban_domain 2020-03-20 10:03:38 +01:00
oca-travis
e1f7a51a39 [UPD] Update stock_request_kanban.pot 2020-03-20 10:03:38 +01:00
Jordi Ballester Alomar
8d2093b271 Fixes 2020-03-20 10:03:38 +01:00
Enric Tobella
7ec419e126 [IMP] Kanban: Add Inventory managament 2020-03-20 10:03:38 +01:00
oca-travis
b1360c7ba3 [UPD] Update stock_request_kanban.pot 2020-03-20 10:03:38 +01:00
Enric Tobella
d4fcf9747f Translated using Weblate (Spanish)
Currently translated at 100,0% (40 of 40 strings)

Translation: stock-logistics-warehouse-11.0/stock-logistics-warehouse-11.0-stock_request_kanban
Translate-URL: https://translation.odoo-community.org/projects/stock-logistics-warehouse-11-0/stock-logistics-warehouse-11-0-stock_request_kanban/es/
2020-03-20 10:03:38 +01:00
Enric Tobella
667030f9fc Added translation using Weblate (Spanish) 2020-03-20 10:03:38 +01:00
oca-travis
c60c1df6e1 [UPD] Update stock_request_kanban.pot 2020-03-20 10:03:38 +01:00
Jordi Ballester Alomar
40dee48ce2 various fixes 2020-03-20 10:03:38 +01:00
Enric Tobella
baf2c9867b [ADD] stock_request_kanban 2020-03-20 10:03:38 +01:00
hveficent
cfc28b3f53 [IMP] stock_request:
* Add search filters to Stock Request
* Use SR Manager on action_confirm from testing for better extensibility
2020-03-20 09:36:19 +01:00
OCA-git-bot
bb3d234129 [ADD] setup.py 2020-03-19 13:36:37 +00:00
OCA-git-bot
e59ac3f2ec [ADD] icon.png 2020-03-19 13:36:37 +00:00
OCA-git-bot
8a1e938004 [UPD] README.rst 2020-03-19 13:36:37 +00:00
oca-travis
ad4ab28d39 [UPD] Update stock_location_tray.pot 2020-03-19 13:15:34 +00:00
OCA-git-bot
64eb7561e7 Merge PR #792 into 13.0
Signed-off-by simahawk
2020-03-19 12:24:59 +00:00
Guewen Baconnier
639b4c7849 Improve code after reviews
* performance (less queries executed)
* disable tracking in tests (faster)
* use with_user instead of sudo
* the double for loop in _compute_route_ids actually generates one more
  query as the simple one in this commit (thanks to the cache)
* extract a method
* the parent locations can be found using 'parent_of' which will use the
  parent_path under the hood (example: 1/7/8 will return locations 1, 7,
  8)
2020-03-17 11:44:58 +01:00
Guewen Baconnier
56fb322205 run pre-commit with new prettiers 2020-03-17 11:14:02 +01:00
Guewen Baconnier
97ec9ea286 [MIG] stock_orderpoint_route: Migration to 13.0 2020-03-17 11:10:39 +01:00
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