tcv_mrp_subprocess dele don't delete task data

Bug #1197457 reported by Juan Márquez
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
openerp-tecvemar
Fix Released
Critical
Juan Márquez

Bug Description

When I delete a tcv_mrp_subprocess record his related basic_task record isn't deleted (and we declare the basick task field as:

'parent_id':fields.many2one('tcv.mrp.subprocess', 'Subprocess', required=True, readonly=True, ondelete='cascade'),

The ondelete feature don't appear to work

Also applies for any other data related to subprocess (cost, outputs, etc)

Revision history for this message
Juan Márquez (jmarquez) wrote :

I add a "cleaner" to tcv_mrp_subprocess.unlink but i think "bad idea...."

Changed in openerp-tecvemar:
status: New → Confirmed
importance: Undecided → Low
importance: Low → Medium
importance: Medium → High
status: Confirmed → Triaged
importance: High → Critical
assignee: nobody → Juan Márquez (jmarquez)
status: Triaged → In Progress
Revision history for this message
Juan Márquez (jmarquez) wrote :

Solved: The database lost All foreing keys indexes. The ondelete (cascade, restrict, set null) feature dosen't work we need to fix manually all primary keys and foreing keys over postgres database see related bug

Revision history for this message
Juan Márquez (jmarquez) wrote :
Changed in openerp-tecvemar:
status: In Progress → Fix Committed
status: Fix Committed → Fix Released
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.