Commit Graph

708 Commits

Author SHA1 Message Date
Murtaza Mithaiwala
dbca0f8c84 [17.0][MIG] stock_location_zone 2024-09-28 12:59:56 +05:30
mymage
36bd0da2ae Translated using Weblate (Italian)
Currently translated at 100.0% (15 of 15 strings)

Translation: stock-logistics-warehouse-16.0/stock-logistics-warehouse-16.0-stock_location_zone
Translate-URL: https://translation.odoo-community.org/projects/stock-logistics-warehouse-16-0/stock-logistics-warehouse-16-0-stock_location_zone/it/
2024-09-28 12:56:31 +05:30
mymage
44772781c3 Added translation using Weblate (Italian) 2024-09-28 12:56:31 +05:30
OCA-git-bot
c780cafb86 [UPD] README.rst 2024-09-28 12:56:31 +05:30
Ivorra78
e1580e91c6 Translated using Weblate (Spanish)
Currently translated at 100.0% (15 of 15 strings)

Translation: stock-logistics-warehouse-16.0/stock-logistics-warehouse-16.0-stock_location_zone
Translate-URL: https://translation.odoo-community.org/projects/stock-logistics-warehouse-16-0/stock-logistics-warehouse-16-0-stock_location_zone/es/
2024-09-28 12:56:31 +05:30
Ivorra78
f2a4e21cfc Added translation using Weblate (Spanish) 2024-09-28 12:56:31 +05:30
OCA-git-bot
3b6e473864 stock_location_zone 16.0.1.0.1 2024-09-28 12:56:31 +05:30
OCA-git-bot
1560ade230 [UPD] README.rst 2024-09-28 12:56:31 +05:30
oca-ci
3c414466eb [UPD] Update stock_location_zone.pot 2024-09-28 12:56:31 +05:30
Denis Roussel
d74810e029 [IMP] stock_location_zone: Optimize a little affectations 2024-09-28 12:56:31 +05:30
Denis Roussel
3a3c322210 [IMP] stock_location_zone: Add tests 2024-09-28 12:56:31 +05:30
Denis Roussel
6865e3ff4d [MIG][16.0] stock_location_zone 2024-09-28 12:56:31 +05:30
oca-travis
c598e956d2 [UPD] Update stock_location_zone.pot 2024-09-28 12:56:31 +05:30
OCA-git-bot
9bea1b2cbe [UPD] README.rst 2024-09-28 12:56:31 +05:30
Tran Thanh Phuc
1b8469c6ad [MIG] stock_location_zone: Migration to 14.0 2024-09-28 12:56:31 +05:30
OCA Transbot
34bf5333fc 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/
2024-09-28 12:56:31 +05:30
OCA Transbot
7df2e0e3c0 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/
2024-09-28 12:56:31 +05:30
OCA-git-bot
0812047a89 [UPD] README.rst 2024-09-28 12:56:31 +05:30
oca-travis
47004ecbbc [UPD] Update stock_location_zone.pot 2024-09-28 12:56:31 +05:30
Guewen Baconnier
1ab637ddfd run pre-commit with new prettiers 2024-09-28 12:56:31 +05:30
Guewen Baconnier
b86c6f73db [MIG] stock_location_zone: Migration to 13.0 2024-09-28 12:56:31 +05:30
Guewen Baconnier
e70865c20f [IMP] stock_location_zone: black, isort 2024-09-28 12:56:31 +05:30
oca-travis
072fef2c6f [UPD] Update stock_location_zone.pot 2024-09-28 12:56:31 +05:30
Guewen Baconnier
0c13559b67 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.
2024-09-28 12:56:31 +05:30
Guewen Baconnier
1fbc70d001 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
2024-09-28 12:56:31 +05:30
Guewen Baconnier
677a3660ec 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.
2024-09-28 12:56:31 +05:30
Akim Juillerat
ca878bfff9 Rework stock_location_zone 2024-09-28 12:56:31 +05:30
Guewen Baconnier
d39a0e9c8f Set Alpha development status
* Add copyright header
* Add myself as contributor of stock_location_zone
* Fix lint
2024-09-28 12:56:31 +05:30
Guewen Baconnier
41e10b8d8e 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
2024-09-28 12:56:31 +05:30
Jacques-Etienne Baudoux
e8450036d1 [ADD] stock_location_zone 2024-09-28 12:56:31 +05:30
Weblate
db3bea95ee Update translation files
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: stock-logistics-warehouse-17.0/stock-logistics-warehouse-17.0-account_move_line_product
Translate-URL: https://translation.odoo-community.org/projects/stock-logistics-warehouse-17-0/stock-logistics-warehouse-17-0-account_move_line_product/
2024-09-23 10:43:23 +00:00
Weblate
2bf23ff85e Update translation files
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: stock-logistics-warehouse-17.0/stock-logistics-warehouse-17.0-stock_reserve
Translate-URL: https://translation.odoo-community.org/projects/stock-logistics-warehouse-17-0/stock-logistics-warehouse-17-0-stock_reserve/
2024-09-23 06:57:24 +00:00
OCA-git-bot
43ff2af547 [BOT] post-merge updates 2024-09-23 06:57:15 +00:00
oca-ci
bb1dec3654 [UPD] Update stock_reserve.pot 2024-09-23 06:54:19 +00:00
oca-ci
ca47606ed6 [UPD] Update account_move_line_product.pot 2024-09-23 06:54:14 +00:00
OCA-git-bot
427e689b22 Merge PR #1955 into 17.0
Signed-off-by StefanRijnhart
2024-09-23 06:51:47 +00:00
mymage
2cfb08bbed Translated using Weblate (Italian)
Currently translated at 100.0% (24 of 24 strings)

Translation: stock-logistics-warehouse-17.0/stock-logistics-warehouse-17.0-stock_change_qty_reason
Translate-URL: https://translation.odoo-community.org/projects/stock-logistics-warehouse-17-0/stock-logistics-warehouse-17-0-stock_change_qty_reason/it/
2024-09-18 16:06:25 +00:00
Weblate
84dc4a25fe Update translation files
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: stock-logistics-warehouse-17.0/stock-logistics-warehouse-17.0-stock_change_qty_reason
Translate-URL: https://translation.odoo-community.org/projects/stock-logistics-warehouse-17-0/stock-logistics-warehouse-17-0-stock_change_qty_reason/
2024-09-18 10:43:46 +00:00
OCA-git-bot
8253cc52d1 [BOT] post-merge updates 2024-09-18 09:51:07 +00:00
oca-ci
9321065d9c [UPD] Update stock_change_qty_reason.pot 2024-09-18 09:48:37 +00:00
OCA-git-bot
52ce133f71 Merge PR #2030 into 17.0
Signed-off-by LoisRForgeFlow
2024-09-18 09:46:30 +00:00
JasminSForgeFlow
180027a80e [MIG] stock_change_qty_reason: Migration to 17.0 2024-09-18 09:38:08 +05:30
JasminSForgeFlow
5bcc748324 [IMP] stock_change_qty_reason: black, isort, prettier 2024-09-17 16:45:49 +05:30
Florian Mounier
2a4c1a2051 [FIX] stock_change_qty_reason: Fix button_box in reasion view
Also remove past migrations, and improve comments
2024-09-17 16:45:49 +05:30
Urvisha-OSI
d45420c16c [MIG] stock_change_qty_reason: Migration to 16.0 2024-09-17 16:45:49 +05:30
Urvisha-OSI
31da3691c2 [IMP] stock_change_qty_reason: pre-commit stuff 2024-09-17 16:45:49 +05:30
Francesco Foresti
347c7aac31 Translated using Weblate (Italian)
Currently translated at 100.0% (25 of 25 strings)

Translation: stock-logistics-warehouse-15.0/stock-logistics-warehouse-15.0-stock_change_qty_reason
Translate-URL: https://translation.odoo-community.org/projects/stock-logistics-warehouse-15-0/stock-logistics-warehouse-15-0-stock_change_qty_reason/it/
2024-09-17 16:45:49 +05:30
OCA-git-bot
3851640fab [UPD] README.rst 2024-09-17 16:45:49 +05:30
oca-ci
392c477670 [UPD] Update stock_change_qty_reason.pot 2024-09-17 16:45:49 +05:30
Miquel Raïch
e65dee6bad [MIG] stock_change_qty_reason: Migration to 15.0 2024-09-17 16:45:49 +05:30