Module
product_customerinfo_picking
Describe the bug
The function _compute_product_customer_code should search for the customer specific code to use for the picking. This will only work if the delivery address is the res.partner record with the customer product codes. As soon as you have for example a delivery address under a res.partner in use - where the customer codes are on the parent_id it will fail
Expected behavior
It should search on direct res.partner - then fallback to commercial_partner_id
Module
product_customerinfo_picking
Describe the bug
The function _compute_product_customer_code should search for the customer specific code to use for the picking. This will only work if the delivery address is the res.partner record with the customer product codes. As soon as you have for example a delivery address under a res.partner in use - where the customer codes are on the parent_id it will fail
Expected behavior
It should search on direct res.partner - then fallback to commercial_partner_id