Commit Graph

9 Commits

Author SHA1 Message Date
Christopher Ormaza
3f30f195b9 Update mrp_unbuild_subcontracting/models/stock_picking.py
You are right, thank you

Co-authored-by: Yoshi Tashiro (Quartile) <tashiro@quartile.co>
2024-06-12 08:03:50 +02:00
Christopher Ormaza
fb9c373a93 [FIX] mrp_unbuild_subcontracting, action_validate expect to be singleton 2024-06-12 08:00:42 +02:00
BernatPForgeFlow
f8cbae3247 [FIX] mrp_unbuild_subcontracting: Cannot unbuild subcontracting orders with many links
From version 16.0, when we create backorders we are not splitting the Origin Moves. For that reason, when we try to unbuild a subcontracting order that has more than origin move we cannot know which is the real origin.

There has been a PR to fix this in Odoo here: https://github.com/odoo/odoo/pull/148262, but it was reverted after some time due to some problems on the splitting. If we want to allow this, we would need to propose a PR in Odoo that completely fixes this problem.
2024-06-03 17:47:40 +02:00
BernatPForgeFlow
97b40869c1 [FIX] mrp_unbuild_subcontracting: Adapt logic for partial receipts in 16.0 2024-06-03 17:47:40 +02:00
Christopher Ormaza
5d27a4a29d [14.0][FIX] added case for partial receipt on purchase of subcontrating 2024-06-03 17:47:40 +02:00
Christopher Ormaza
f9e675f7fb fix: partial receipt and refund of subcontracting purchases 2024-06-03 17:47:40 +02:00
Jordi Ballester Alomar
493046c19e [FIX] mrp_unbuild_subcontracting: raise error when the subcontracting move
is linked with more than one manufacturing order.
2024-06-03 17:47:40 +02:00
PauBForgeFlow
509ddb0051 [MIG] mrp_unbuild_subcontracting: Migration to 16.0 2024-05-03 14:59:44 +05:30
ThiagoMForgeFlow
b86eba216c [14.0][ADD] mrp_unbuild_subcontracting: unbuild created when is returned a product subcontracted 2024-05-03 14:59:44 +05:30