Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[15.0][FIX] stock_available_mrp: Use correct bom for computation #1887

Merged

Commits on Nov 13, 2023

  1. [FIX] stock_available_mrp: Use correct bom for computation

    If a product has siblings and more then one has a bom
    first(product.bom_ids) could return a bom
    for a diferent product, because bom_ids is a one2many field
    of product.template and this contains all boms of variants
    Therefor switch to the default methods of odoo
    _bom_find and _get_product2bom
    mt-software-de committed Nov 13, 2023
    Configuration menu
    Copy the full SHA
    80c7e41 View commit details
    Browse the repository at this point in the history
  2. [IMP] stock_available_mrp: Adapt code to odoo version 15.0

    Use _bom_find instead of deprecated _get_product2bom
    mt-software-de committed Nov 13, 2023
    Configuration menu
    Copy the full SHA
    aca698d View commit details
    Browse the repository at this point in the history