[trunk 6.1] Record rule for unlink fails with inherits (hr.analytic.timesheet)
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Odoo Addons (MOVED TO GITHUB) |
Fix Committed
|
Undecided
|
OpenERP Publisher's Warranty Team | ||
Therp Backports (Deprecated) |
Fix Released
|
Low
|
Stefan Rijnhart (Opener) |
Bug Description
OpenERP doesn't evaluate properly the record rule in the case of unlink operation on objects with inherits.
Example : hr.analytic.
Record rule is evaluated on inherited object. Objects are deleted. Record rule is tested on object. FAILED
Ojects should be deleted after the record rule is tested on inherited object and on the object itself.
[2012-01-30 09:00:06,864][?] DEBUG_SQL:
[2012-01-30 09:00:18,619][?] DEBUG_SQL:
(...)
[2012-01-30 09:00:18,627][?] DEBUG_SQL:
Related branches
- OpenERP Core Team: Pending requested
-
Diff: 47 lines (+15/-17)2 files modifiedhr_timesheet/hr_timesheet.py (+1/-3)
hr_timesheet/security/ir.model.access.csv (+14/-14)
- Ronald Portier (Therp): Approve
- Holger Brunn (Therp): Approve
-
Diff: 13 lines (+1/-2)1 file modifiedhr_timesheet/hr_timesheet.py (+1/-2)
Changed in therp-backports: | |
status: | New → Fix Committed |
importance: | Undecided → Low |
assignee: | nobody → Stefan Rijnhart (Therp) (stefan-therp) |
milestone: | none → 6.1-maintenance |
affects: | openobject-server → openobject-addons |
Changed in openobject-addons: | |
assignee: | nobody → OpenERP Publisher's Warranty Team (openerp-opw) |
Changed in therp-backports: | |
status: | Fix Committed → Fix Released |
Hello Jacques-Etienne Baudoux ,
I have checked this issue with trunk as well as stable 6.1.
But I did not face any problems like yours so would you please
check this again and provide more information regarding this
issue.
Thanks and waiting for reply!