mrp: phantom bom without lines _bom_explode causes infinite recursion

Bug #1281054 reported by Alexandre Fayolle - camptocamp
16
This bug affects 3 people
Affects Status Importance Assigned to Milestone
Odoo Addons (MOVED TO GITHUB)
New
Undecided
Unassigned

Bug Description

Seen in 7.0

Steps to reproduce:

1. create a product configured as make to order and supply method "produce"

2. create a phantom BOM for that product, don't add lines to the BOM

3. create a draft sale order for that product

4. confirm the sale order => you get a crash with RuntimeError: maximum recursion depth exceeded caused by _bom_explode.

I agree that such a BOM is a configuration error. But this exception should not be thrown in the user interface.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.