← Back to team overview

openerp-india team mailing list archive

[Bug 1244183] Re: Deleting boms does not delete subproducts (Byproduct Module) ?

 

Amit, one last thought: Instead of updating the unlink method wouldn't
it be better/safer to just set cascade delete so it automatically
happens and there's also a sql constraint to it?

-- 
You received this bug notification because you are a member of OpenERP
Indian Team, which is subscribed to OpenERP Addons.
https://bugs.launchpad.net/bugs/1244183

Title:
  Deleting boms does not delete subproducts (Byproduct Module) ?

Status in OpenERP Addons (modules):
  Confirmed

Bug description:
  The summary if pretty self explanatory

  I install mrp_byproduct

  Create a product

  Create a bom with byproduct using the previously created product

  Delete bom and product cannot be deleted because mrp.subproduct still
  references it and select * from mrp_subproduct reveals results when
  all boms are deleted...is this normal behaviour?

To manage notifications about this bug go to:
https://bugs.launchpad.net/openobject-addons/+bug/1244183/+subscriptions


References