Commit Graph

592 Commits

Author SHA1 Message Date
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
OCA Transbot
2593bcfb2d Update translation files
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: stock-logistics-warehouse-13.0/stock-logistics-warehouse-13.0-stock_request
Translate-URL: https://translation.odoo-community.org/projects/stock-logistics-warehouse-13-0/stock-logistics-warehouse-13-0-stock_request/
2020-03-14 11:28:56 +00:00
OCA-git-bot
c69ac2f39b pre-commit update 2020-03-14 12:28:39 +01:00
OCA Transbot
785a275638 Update translation files
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: stock-logistics-warehouse-13.0/stock-logistics-warehouse-13.0-stock_orderpoint_purchase_link
Translate-URL: https://translation.odoo-community.org/projects/stock-logistics-warehouse-13-0/stock-logistics-warehouse-13-0-stock_orderpoint_purchase_link/
2020-03-12 13:21:48 +00:00
OCA-git-bot
8a0344a196 [ADD] setup.py 2020-03-12 13:21:37 +00:00
OCA-git-bot
5a3f5280e3 [UPD] README.rst 2020-03-12 13:21:37 +00:00
oca-travis
de6f1d6ced [UPD] Update stock_request.pot 2020-03-12 12:59:29 +00:00
OCA-git-bot
202aac9174 Merge PR #839 into 13.0
Signed-off-by LoisRForgeFlow
2020-03-12 12:49:23 +00:00
OCA-git-bot
08fe2c9977 [ADD] setup.py 2020-03-11 13:34:00 +00:00
OCA-git-bot
01e98b76e2 [UPD] README.rst 2020-03-11 13:34:00 +00:00
oca-travis
bc61116791 [UPD] Update stock_orderpoint_purchase_link.pot 2020-03-11 13:07:00 +00:00
OCA-git-bot
b901adaaf5 Merge PR #857 into 13.0
Signed-off-by LoisRForgeFlow
2020-03-11 12:57:08 +00:00
Joan Sisquella
5fba3f27c3 [MIG] stock_orderpoint_purchase_link: Migration to 13.0 2020-03-11 08:46:56 +01:00
Joan Sisquella
05066f59de [IMP] stock_orderpoint_purchase_link: black, isort 2020-03-11 08:46:56 +01:00
OCA Transbot
995cc51caa 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_orderpoint_purchase_link
Translate-URL: https://translation.odoo-community.org/projects/stock-logistics-warehouse-12-0/stock-logistics-warehouse-12-0-stock_orderpoint_purchase_link/
2020-03-11 08:46:56 +01:00
oca-travis
7922c054f0 [UPD] Update stock_orderpoint_purchase_link.pot 2020-03-11 08:46:56 +01:00
黎伟杰
1b3b19002a Translated using Weblate (Chinese (Simplified))
Currently translated at 100.0% (5 of 5 strings)

Translation: stock-logistics-warehouse-12.0/stock-logistics-warehouse-12.0-stock_orderpoint_purchase_link
Translate-URL: https://translation.odoo-community.org/projects/stock-logistics-warehouse-12-0/stock-logistics-warehouse-12-0-stock_orderpoint_purchase_link/zh_CN/
2020-03-11 08:46:56 +01:00
黎伟杰
91300bd425 Added translation using Weblate (Chinese (Simplified)) 2020-03-11 08:46:56 +01:00
OCA-git-bot
c4f7023292 [UPD] README.rst 2020-03-11 08:46:56 +01:00
oca-travis
a35925d6da [UPD] Update stock_orderpoint_purchase_link.pot 2020-03-11 08:46:56 +01:00
Kitti U
85db0df9b0 [12.0][MIG] stock_orderpoint_purchase_link 2020-03-11 08:46:56 +01:00
oca-travis
b3c3da92fc [UPD] Update stock_orderpoint_purchase_link.pot 2020-03-11 08:46:56 +01:00
Maxime Chambreuil
0febddef95 Update __manifest__.py 2020-03-11 08:46:56 +01:00
oca-travis
e4026bdc30 [UPD] Update stock_orderpoint_purchase_link.pot 2020-03-11 08:46:56 +01:00
Lois Rilo
0719b28828 [11.0][FIX] stock_orderpoint_purchase_link:
* update PO line passes orderpoints
 * add tests
2020-03-11 08:46:56 +01:00
Lois Rilo
d3d474536c [11.0] stock_orderpoint_purchase_link: add corresponding field to PO lines on orderpoint 2020-03-11 08:46:56 +01:00
Bhavesh Odedra
202028d183 remove unused api from imported 2020-03-11 08:46:56 +01:00
Jordi Ballester Alomar
b1c61973e2 add stock_orderpoint_move_link and stock_orderpoint_purchase_link 2020-03-11 08:46:56 +01:00
OCA-git-bot
bae4fb7f2e [ADD] setup.py 2020-03-10 17:00:41 +00:00
OCA-git-bot
41e77c5da3 [UPD] README.rst 2020-03-10 17:00:41 +00:00
oca-travis
ce08f10bcf [UPD] Update stock_orderpoint_move_link.pot 2020-03-10 15:45:39 +00:00
OCA-git-bot
a48883b17c Merge PR #823 into 13.0
Signed-off-by LoisRForgeFlow
2020-03-10 14:02:41 +00:00
OCA Transbot
fe5f0b06a4 Update translation files
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: stock-logistics-warehouse-13.0/stock-logistics-warehouse-13.0-stock_inventory_discrepancy
Translate-URL: https://translation.odoo-community.org/projects/stock-logistics-warehouse-13-0/stock-logistics-warehouse-13-0-stock_inventory_discrepancy/
2020-03-04 08:01:22 +00:00
OCA-git-bot
a72d8d714d [ADD] setup.py 2020-03-04 08:01:11 +00:00
OCA-git-bot
601c7d0872 [UPD] README.rst 2020-03-04 08:01:11 +00:00
oca-travis
be2239b058 [UPD] Update stock_location_position.pot 2020-03-04 07:42:46 +00:00
OCA-git-bot
0b95190d32 Merge PR #805 into 13.0
Signed-off-by ps-tubtim
2020-03-04 07:33:08 +00:00
OCA Transbot
124927ede2 Update translation files
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: stock-logistics-warehouse-13.0/stock-logistics-warehouse-13.0-stock_inventory_chatter
Translate-URL: https://translation.odoo-community.org/projects/stock-logistics-warehouse-13-0/stock-logistics-warehouse-13-0-stock_inventory_chatter/
2020-03-02 09:50:47 +00:00
OCA-git-bot
df21c3c3f5 [ADD] setup.py 2020-03-02 09:50:32 +00:00
OCA-git-bot
9d58fa3280 [UPD] README.rst 2020-03-02 09:50:31 +00:00
oca-travis
9b08e313fe [UPD] Update stock_inventory_discrepancy.pot 2020-03-02 09:29:48 +00:00