Skip to content

product_customerinfo_picking - partner selection in _compute_product_customer_code #2272

@wpichler

Description

@wpichler

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions