Commit Graph

2422 Commits

Author SHA1 Message Date
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
OCA-git-bot
0d0e6c461a stock_available 14.0.1.0.1 2021-02-09 15:46:34 +00:00
OCA-git-bot
eeca24f257 [ADD] setup.py 2021-02-09 15:46:34 +00:00
OCA-git-bot
82cc7e1672 [UPD] README.rst 2021-02-09 15:46:33 +00:00
OCA-git-bot
9fdc3d6554 [UPD] addons table in README.md 2021-02-09 15:46:32 +00:00
oca-travis
0b5905f794 [UPD] Update stock_available.pot 2021-02-09 15:29:55 +00:00
OCA-git-bot
c8794f2a64 Merge PR #1037 into 14.0
Signed-off-by rousseldenis
2021-02-09 15:09:55 +00:00
OCA-git-bot
4772d4c087 [UPD] addons table in README.md 2021-02-05 10:01:19 +00:00
OCA-git-bot
3e61c2bdeb stock_packaging_calculator 14.0.1.0.1 2021-02-05 10:01:09 +00:00
OCA-git-bot
f24b98e4ef [ADD] setup.py 2021-02-05 10:01:09 +00:00
OCA-git-bot
bb61a62201 [UPD] README.rst 2021-02-05 10:01:08 +00:00
OCA-git-bot
b7d37f223d [UPD] addons table in README.md 2021-02-05 10:01:07 +00:00
oca-travis
a5ee5da594 [UPD] Update stock_packaging_calculator.pot 2021-02-05 09:49:42 +00:00
OCA-git-bot
061cc50db0 Merge PR #1050 into 14.0
Signed-off-by rousseldenis
2021-02-05 09:44:51 +00:00
davidborromeo
a8f1ae63f7 [IMP] stock_demand_estimate: black, isort, prettier 2021-01-29 09:49:34 +01:00
OCA Transbot
a79fc343ed 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_demand_estimate
Translate-URL: https://translation.odoo-community.org/projects/stock-logistics-warehouse-13-0/stock-logistics-warehouse-13-0-stock_demand_estimate/
2021-01-29 09:48:22 +01:00
OCA-git-bot
a4d748bcbd stock_demand_estimate 13.0.1.1.0 2021-01-29 09:48:22 +01:00
Jordi Ballester Alomar
3a4b6d09b5 [13.0] stock_demand_estimate: fix multicompany security 2021-01-29 09:48:22 +01:00
OCA-git-bot
c908dc6dee pre-commit update 2021-01-29 09:48:22 +01:00
OCA Transbot
ac9af50cfd 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_demand_estimate
Translate-URL: https://translation.odoo-community.org/projects/stock-logistics-warehouse-13-0/stock-logistics-warehouse-13-0-stock_demand_estimate/
2021-01-29 09:48:22 +01:00
OCA-git-bot
cae115c7a1 [UPD] README.rst 2021-01-29 09:48:22 +01:00
oca-travis
0fd2282c1b [UPD] Update stock_demand_estimate.pot 2021-01-29 09:48:22 +01:00
Lois Rilo
0702d80662 [13.0][MIG] stock_demand_estimate 2021-01-29 09:48:22 +01:00
Lois Rilo
7e401cc86b [IMP] stock_demand_estimate: black, isort 2021-01-29 09:48:22 +01:00
OCA-git-bot
d1c61f9d6e stock_demand_estimate 12.0.2.0.1 2021-01-29 09:48:22 +01:00
Lois Rilo
d9516b86c2 [12.0][FIX] stock_demand_estimate: duration wrongly interpreted, if you have a period from today to tomorrow, duration is 2 not 1. 2021-01-29 09:48:22 +01:00
OCA Transbot
28b6ab3d5c 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_demand_estimate
Translate-URL: https://translation.odoo-community.org/projects/stock-logistics-warehouse-12-0/stock-logistics-warehouse-12-0-stock_demand_estimate/
2021-01-29 09:48:22 +01:00
OCA-git-bot
5681ac1c33 stock_demand_estimate 12.0.2.0.0 2021-01-29 09:48:22 +01:00
OCA-git-bot
67a0d0e8f9 [UPD] README.rst 2021-01-29 09:48:22 +01:00