Comment 1 for bug 1015679

Revision history for this message
Amit Parik (amit-parik) wrote :

Hello Fabio,

This is not a bug but this thing is solved the bug.. ;-).
Before added this constraint recursive MO created and we should not allow it. See the bug lp:713221.

Without _check_product constraint we can create a recursive BOM and It will create a problem.
Let take one example, If my product A has component B and B has again component A. So this time recursive MO will generated.

So this fix should not allow this recursive same product on BOM, and avoid the same product on end limit. That's you can not allow the same product on BOM line. This thing is also fixed on 6.0 too on rev no 5210. Please check http://bazaar.launchpad.net/~openerp/openobject-addons/6.0/revision/5210#mrp/mrp.py for V6.

Now comes to your specific issue, you have add "material having different cutting length" then I suggest to you would you please try product variant (product_variant_multi) module. Create one product template and create it's differrent variant which will helps you for solve your specific scenario.

Hope this help.

So finally this is not bug rather then question that's why I am going to converting it.

Thanks for understanding!