Commit Graph

1950 Commits

Author SHA1 Message Date
黎伟杰
c13f1d2efb Translated using Weblate (Chinese (Simplified))
Currently translated at 100.0% (3 of 3 strings)

Translation: stock-logistics-warehouse-12.0/stock-logistics-warehouse-12.0-stock_warehouse_calendar
Translate-URL: https://translation.odoo-community.org/projects/stock-logistics-warehouse-12-0/stock-logistics-warehouse-12-0-stock_warehouse_calendar/zh_CN/
2021-02-12 13:09:11 +01:00
黎伟杰
368c89689a Added translation using Weblate (Chinese (Simplified)) 2021-02-12 13:09:11 +01:00
OCA-git-bot
59b9469d2a stock_warehouse_calendar 12.0.1.0.1 2021-02-12 13:09:11 +01:00
OCA-git-bot
512da7179e [UPD] README.rst 2021-02-12 13:09:11 +01:00
Lois Rilo
af823d8077 [12.0][REW] stock_warehouse_calendar: add plan days helper method
the method `wh_plan_days` can be used in any place where planning
or scheduling needs to be done in a given warehouse context,
considering the working days if set.
2021-02-12 13:09:11 +01:00
OCA-git-bot
02d14872ba [UPD] README.rst 2021-02-12 13:09:11 +01:00
oca-travis
027feb64c8 [UPD] Update stock_warehouse_calendar.pot 2021-02-12 13:09:11 +01:00
OCA-git-bot
4b73a45069 [UPD] README.rst 2021-02-12 13:09:11 +01:00
mreficent
a94bc219dc [MIG] stock_warehouse_calendar: Migration to 12.0 2021-02-12 13:09:11 +01:00
OCA Git Bot
0c37af8cd3 [UPD] README.rst 2021-02-12 13:09:11 +01:00
Stéphane Bidoul (ACSONE)
3991d9d751 [FIX] remove empty file that breaks readme generator 2021-02-12 13:09:11 +01:00
oca-travis
fdbe6a073a [UPD] Update stock_warehouse_calendar.pot 2021-02-12 13:09:11 +01:00
Jordi Ballester Alomar
a3d9fade2a 11.0 - add stock_warehouse_calendar 2021-02-12 13:09:11 +01:00
hparfr
792e7e6042 [IMP] stock_location_children: black, isort, prettier 2021-02-11 16:40:12 +01:00
OCA-git-bot
dafc6ade6b stock_location_children 13.0.1.0.1 2021-02-11 16:39:59 +01:00
OCA-git-bot
9ba6690d5f [ADD] icon.png 2021-02-11 16:39:59 +01:00
Guewen Baconnier
a5549a4f20 Fix test compatibility with other modules
When other modules add locations in "stock.stock_location_stock", the
assertions miss them. Create a new tree of locations to run the tests.
2021-02-11 16:39:59 +01:00
Guewen Baconnier
247da988cd Ensure children_ids is computed with proper triggers
* Any child_ids changed on a children_ids should recompute locations:
  otherwise only 2 levels are updated.
* Flush any change in the hierarchy before executing the SQL
2021-02-11 16:39:58 +01:00
Akim Juillerat
ef2f062cbb Update stock_location_children/models/stock_location.py 2021-02-11 16:39:58 +01:00
Akim Juillerat
0304279424 Run pre-commit 2021-02-11 16:39:58 +01:00
Akim Juillerat
95c8a2d494 Use SQL to improve performance 2021-02-11 16:39:58 +01:00
Akim Juillerat
78a1caeaf7 Create module stock_location_children 2021-02-11 16:39:58 +01:00
Ivàn Todorovich
5e0e1e9812 [MIG] stock_inventory_preparation_filter: Migration to 14.0
[IMP] Improve stock inventory view

[IMP] Keep 'domain' filter last in the list (ux)
2021-02-11 10:13:52 -03:00
Tran Thanh Phuc
e371b705b8 [MIG] stock_location_zone: Migration to 14.0 2021-02-10 22:15:34 +07:00
Tran Thanh Phuc
10db944d19 [MIG] stock_location_position: Migration to 14.0 2021-02-10 21:58:07 +07:00
Tran Thanh Phuc
e1aff3d122 [IMP] stock_location_position: black, isort, prettier 2021-02-10 21:51:52 +07:00
OCA-git-bot
0dd9820ac3 pre-commit update 2021-02-10 21:50:26 +07:00
OCA-git-bot
8e12805c24 [UPD] README.rst 2021-02-10 21:50:26 +07:00
oca-travis
9353d6397a [UPD] Update stock_location_position.pot 2021-02-10 21:50:26 +07:00
Guewen Baconnier
10216c0f28 [MIG] Migration of stock_location_position to 13.0 2021-02-10 21:50:26 +07:00
Guewen Baconnier
49ce4edf60 Add tooltips 2021-02-10 21:50:26 +07:00
Guewen Baconnier
aaea2610f9 [IMP] stock_location_position: black, isort 2021-02-10 21:50:26 +07:00
Akim Juillerat
86ca92c3b7 12.0 Add stock_location_position 2021-02-10 21:50:26 +07:00
Tran Thanh Phuc
ac8cc4eacb [IMP] stock_location_zone: black, isort, prettier 2021-02-10 21:44:29 +07:00
OCA Transbot
260dc6cc18 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_location_zone
Translate-URL: https://translation.odoo-community.org/projects/stock-logistics-warehouse-13-0/stock-logistics-warehouse-13-0-stock_location_zone/
2021-02-10 21:42:11 +07:00
OCA Transbot
40391bdd9d 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_location_zone
Translate-URL: https://translation.odoo-community.org/projects/stock-logistics-warehouse-13-0/stock-logistics-warehouse-13-0-stock_location_zone/
2021-02-10 21:42:11 +07:00
OCA-git-bot
5476a4374e [UPD] README.rst 2021-02-10 21:42:11 +07:00
oca-travis
236f078db3 [UPD] Update stock_location_zone.pot 2021-02-10 21:42:11 +07:00
Guewen Baconnier
2f6da0dd28 run pre-commit with new prettiers 2021-02-10 21:42:11 +07:00
Guewen Baconnier
ced75a289d [MIG] stock_location_zone: Migration to 13.0 2021-02-10 21:42:11 +07:00
Guewen Baconnier
855a2ae2f5 [IMP] stock_location_zone: black, isort 2021-02-10 21:42:11 +07:00
oca-travis
acc6eec464 [UPD] Update stock_location_zone.pot 2021-02-10 21:42:11 +07:00
Guewen Baconnier
38b60fbbf7 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.
2021-02-10 21:42:11 +07:00
Guewen Baconnier
a29a178e88 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
2021-02-10 21:42:11 +07:00
Guewen Baconnier
21f2f946e7 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.
2021-02-10 21:42:11 +07:00
Akim Juillerat
ef7732288d Rework stock_location_zone 2021-02-10 21:42:11 +07:00
Guewen Baconnier
df90f22386 Set Alpha development status
* Add copyright header
* Add myself as contributor of stock_location_zone
* Fix lint
2021-02-10 21:42:11 +07:00
Guewen Baconnier
bc2babe36d 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
2021-02-10 21:42:11 +07:00
Jacques-Etienne Baudoux
8144f4302d [ADD] stock_location_zone 2021-02-10 21:42:11 +07:00
OCA-git-bot
7d3106e48d [UPD] addons table in README.md 2021-02-09 15:46:50 +00:00