Importing InventoryMovements is violating AD_Client scope
Description
When importing an InventoryMovement the process of associating the related Entries (M_Product, AD_Doctype, etc.) does not filter for the ad_client_id resulting in cross client associations. The attached Patch fixes the issue for us.
Environment
Environment with multiple clients (especially when having the same products in these clients)
When importing an InventoryMovement the process of associating the related Entries (M_Product, AD_Doctype, etc.) does not filter for the ad_client_id resulting in cross client associations. The attached Patch fixes the issue for us.