Commit Graph

2077 Commits

Author SHA1 Message Date
Michael Tietz
c063696d1d stock_helper: add location.get_closest_warehouse
On a multi warehouse configuration
where a warehouse view_location is parent of an other warehouse's view_location
this will return the closest warehouse of a location

Not like the get_warehouse method (odoo core code)
which returns from all parent warehouses found
the first one ordered by the sequence
2022-09-12 15:57:23 +02:00
OCA-git-bot
a218c6a5b0 [ADD] setup.py 2022-09-07 10:16:24 +00:00
OCA-git-bot
60b4172319 [UPD] README.rst 2022-09-07 10:16:23 +00:00
OCA-git-bot
129108ee7f [UPD] addons table in README.md 2022-09-07 10:16:12 +00:00
oca-ci
618f9077d6 [UPD] Update stock_picking_procure_method.pot 2022-09-07 10:05:47 +00:00
OCA-git-bot
dc435bfe3c Merge PR #1467 into 14.0
Signed-off-by pedrobaeza
2022-09-07 09:57:32 +00:00
OCA-git-bot
97c7c04659 [UPD] addons table in README.md 2022-09-07 08:39:35 +00:00
OCA-git-bot
92198d7213 stock_available_unreserved 14.0.1.1.1 2022-09-07 08:39:29 +00:00
OCA-git-bot
cbefdd53f6 Merge PR #1303 into 14.0
Signed-off-by rousseldenis
2022-09-07 08:29:36 +00:00
Denis Roussel
93df11e803 [14.0][IMP] stock_available_unreserved: Add hooks 2022-09-07 10:04:42 +02:00
OCA-git-bot
5aed31b850 [UPD] addons table in README.md 2022-09-07 07:46:18 +00:00
OCA-git-bot
4df4309bb1 stock_move_location 14.0.1.2.0 2022-09-07 07:46:04 +00:00
OCA-git-bot
4dfdea3822 Merge PR #1237 into 14.0
Signed-off-by rousseldenis
2022-09-07 07:35:53 +00:00
jordan
e0292afafa [imp] onchange picking_type_id 2022-09-07 09:15:20 +02:00
OCA-git-bot
a222997f9b [UPD] addons table in README.md 2022-09-06 15:49:07 +00:00
OCA-git-bot
a76f7ffa1a stock_available_base_exclude_location 14.0.1.0.1 2022-09-06 15:49:02 +00:00
OCA-git-bot
ee4f6731b9 [ADD] setup.py 2022-09-06 15:49:02 +00:00
OCA-git-bot
a2341c5ff0 [UPD] README.rst 2022-09-06 15:49:01 +00:00
OCA-git-bot
783db3df67 [UPD] addons table in README.md 2022-09-06 15:48:52 +00:00
oca-ci
1d1424dfb8 [UPD] Update stock_available_base_exclude_location.pot 2022-09-06 15:39:49 +00:00
OCA-git-bot
c89e9e9dff Merge PR #1183 into 14.0
Signed-off-by rousseldenis
2022-09-06 15:33:40 +00:00
OCA-git-bot
8a07374d06 [UPD] addons table in README.md 2022-09-06 15:16:03 +00:00
OCA-git-bot
6c2f8f61be stock_request_cancel_confirm 14.0.1.0.1 2022-09-06 15:15:58 +00:00
OCA-git-bot
fc905e09a7 [ADD] setup.py 2022-09-06 15:15:58 +00:00
OCA-git-bot
dce4aa18e7 [UPD] README.rst 2022-09-06 15:15:57 +00:00
OCA-git-bot
75b724a249 [UPD] addons table in README.md 2022-09-06 15:15:48 +00:00
oca-ci
68ec500b2a [UPD] Update stock_request_cancel_confirm.pot 2022-09-06 15:06:49 +00:00
OCA-git-bot
5329e7e437 Merge PR #1136 into 14.0
Signed-off-by rousseldenis
2022-09-06 14:59:55 +00:00
OCA-git-bot
a742b82b62 [UPD] addons table in README.md 2022-09-06 09:22:38 +00:00
OCA-git-bot
5ee86a380d stock_move_location 14.0.1.1.1 2022-09-06 09:22:33 +00:00
OCA-git-bot
b377075091 Merge PR #1474 into 14.0
Signed-off-by pedrobaeza
2022-09-06 09:14:29 +00:00
Akim Juillerat
86dc04928d stock_move_location: Remove update of assigned moves location
The update of the source location of a move is not a good idea, as
shown in the test case that is modified by this commit and explained
below.

In general, a stock.move will be linked to a stock.picking whose
location_id and location_dest_id are defined by the picking type.
As such, the stock.move will inherit these locations and it is the
assignation of the stock.move that will create a stock.move.line
where the location (in case of outgoing picking) or the destination
location (in case of incoming picking through putaway) will be a
sub location of the respective location defined on the move.

So, if we want to empty a stock.location and move all its content
to another stock.location, we do not want to update the location
of the reserved moves, since it can break the reservation mechanism
of Odoo, as the assignation of a move will always look into the
children locations of the move, and it is not supposed to be updated
by any internal transfer, to what could be a children location.

Then, if internal transfers were planned from the location that is
being emptied, but are supposed to be executed after the location
has been emptied, there is probably an issue with the planning and
the sequence in which both transfers are being executed.
Since the internal transfer being updated in the test case was also
moving from a shelf location to its parent (where technically the goods
are already, since they are in a child location), we should prefer not
breaking the standard workflow of Odoo instead of supporting a corner
case with an internal transfer.

I guess we can revisit my assumption if we have a good reason to update
the stock location, but the one that was tested doesn't seem to be
good enough to justify breaking a standard mechanism.
2022-09-05 18:51:15 +02:00
OCA-git-bot
6acbd46980 [UPD] addons table in README.md 2022-09-05 14:00:23 +00:00
OCA-git-bot
4d98d6a31b stock_request_analytic 14.0.1.0.3 2022-09-05 14:00:18 +00:00
OCA-git-bot
25e47bc0a7 stock_location_bin_name 14.0.1.0.1 2022-09-05 14:00:17 +00:00
OCA-git-bot
6df3380bc8 stock_cycle_count 14.0.1.2.1 2022-09-05 14:00:16 +00:00
OCA-git-bot
d57f05eb6a stock_pull_list 14.0.1.1.2 2022-09-05 14:00:15 +00:00
OCA-git-bot
9d32cbe476 stock_vertical_lift_qty_by_packaging 14.0.1.0.1 2022-09-05 14:00:14 +00:00
OCA-git-bot
214e81320c [UPD] README.rst 2022-09-05 14:00:13 +00:00
OCA-git-bot
d5b31729ee Merge PR #1400 into 14.0
Signed-off-by rousseldenis
2022-09-05 13:52:55 +00:00
Denis Roussel
81727977b4 [FIX] Development statuses 2022-09-05 10:04:36 +02:00
Denis Roussel
aae07c5c01 [FIX] Licensing issues 2022-09-05 10:01:09 +02:00
Denis Roussel
f802197fb4 Updated from template - Switch to Github actions 2022-09-05 09:45:50 +02:00
OCA-git-bot
a9f17eb948 [ADD] setup.py 2022-08-31 15:50:34 +00:00
OCA-git-bot
0f9d903d67 [UPD] README.rst 2022-08-31 15:50:33 +00:00
OCA-git-bot
97b14b3c33 [UPD] addons table in README.md 2022-08-31 15:50:25 +00:00
oca-travis
d9381e63cc [UPD] Update stock_location_route_description.pot 2022-08-31 15:11:31 +00:00
OCA-git-bot
100280540a Merge PR #1462 into 14.0
Signed-off-by LoisRForgeFlow
2022-08-31 14:57:34 +00:00
Jasmin Solanki
bc4b58d4c4 [MIG] stock_location_route_description: Migration to 14.0 2022-08-22 09:21:28 +05:30
Jasmin Solanki
c18cd7919a [IMP] stock_location_route_description: black, isort, prettier 2022-08-22 09:18:43 +05:30