CRM leads deletion
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Odoo Addons (MOVED TO GITHUB) |
Fix Released
|
Low
|
Anto |
Bug Description
After a short conversation with fp, al, odo, abo: it seems that it would be nice for usability's sake to remove restrictions on leads deletion, in the CRM module.
This condition on leads' state was introduced several years ago by fp to avoid unfortunate misclicks. It has been followed by another one bypassing the first one in case where the sales team had the "allow_unlink" flag set.
Since the "Delete" button has been thrown away in the "More" menu, it shouldn't get misclicked anymore, preventing damages in the CRM pipe. This will simplify access rights for users: if you want to delete a lead, you can, whatever its state, whatever its sales team.
Access restriction is still possible though by creating a record rule with a domain on the lead.state.
Related branches
- OpenERP Core Team: Pending requested
-
Diff: 162 lines (+14/-25)3 files modifiedcrm/crm.py (+0/-2)
crm/crm_lead.py (+0/-8)
crm/crm_view.xml (+14/-15)
Changed in openobject-addons: | |
status: | In Progress → Fix Committed |
The fix has been released in trunk (revno 8024).
Cheers,
Anto.