[FIX] mrp{,_subcontracting}: Detect subcontracting rules
Before this commit, the rules were checked related to the currently selected warehouse. Doing this didn't allow to check the subcontracted locations for their related rules (like Drophip subcontractor on order). The point here is that when no rules are found within the warehouse, it checks the subcontracted location of the parent if the parent is subcontracted itself. Part of task-2985735 Part-of: odoo/odoo#104893
Please register or sign in to comment