usability: deleting product would better cascade delete related order point rules
Bug #526081 reported by
Raphaël Valyi - http://www.akretion.com
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Odoo Addons (MOVED TO GITHUB) |
Fix Released
|
Medium
|
gpa(OpenERP) |
Bug Description
Hello,
In the mrp module, in mrp.py file, in the stock.warehouse
"
Integrity Error
null value in column "product_id" violates not-null constraint
CONTEXT: SQL statement "UPDATE ONLY "public"
"
So if you think that's all right, please apply to provided patch; seems to work well for me.
Hope this helps
Related branches
Changed in openobject-addons: | |
importance: | Undecided → Medium |
To post a comment you must log in.
Hello Raphel,
I agree completely for product_id to have ondelete='cascade'.
I would like know whether its also useful o apply ondelete cascade to warehouse and location too?
Thanks