Touati Djamel (otd) d05a79dcbc [FIX] mrp:avoid traceback when confirming MO with OP blocked by other OP
Steps to reproduce the bug:
- Create a storable product "P1"
    - Add 2 variants:
        - Color: Red and Blue
        - Size: XS and M
    - Create a Bill of Materials (BoM):
        - Add any components
        - Create operation "OP1":
            - Apply only to: Red XS
        - Create operation "OP2":
            - Blocked by "OP1"
            - Apply to all variants

- Create a MO with the variant "P1 (Blue and M)"
- Try to confirm the MO

Problem:
a traceback is triggered, the issue has been fixed in: https://github.com/odoo/odoo/commit/0f21fde26fa4387d93722092ebf21d294fcfcd4f

Solution:
Link only if an operation is blocked by another operation with the same attribute values.

OPW-3329263

closes odoo/odoo#131727

X-original-commit: 2fa8e2f64292483c0aa27141fe59eb4a6ff8effb
Signed-off-by: Djamel Touati (otd) <otd@odoo.com>
2023-08-11 15:53:27 +02:00
2023-08-11 07:12:05 +02:00
…
…
…

Build Status Tech Doc Help Nightly Builds

Odoo

Odoo is a suite of web based open source business apps.

The main Odoo Apps include an Open Source CRM, Website Builder, eCommerce, Warehouse Management, Project Management, Billing & Accounting, Point of Sale, Human Resources, Marketing, Manufacturing, ...

Odoo Apps can be used as stand-alone applications, but they also integrate seamlessly so you get a full-featured Open Source ERP when you install several Apps.

Getting started with Odoo

For a standard installation please follow the Setup instructions from the documentation.

To learn the software, we recommend the Odoo eLearning, or Scale-up, the business game. Developers can start with the developer tutorials

S
Description
No description provided
Readme LGPL-3.0
3.4 GiB
Languages
Python 49.6%
JavaScript 47.8%
SCSS 2%
CSS 0.3%
HTML 0.2%