Merge lp:~openerp-dev/openerp-web/trunk-bug-1082009-bth into lp:openerp-web
Status: | Rejected |
---|---|
Rejected by: | Fabien Meghazi (OpenERP) |
Proposed branch: | lp:~openerp-dev/openerp-web/trunk-bug-1082009-bth |
Merge into: | lp:openerp-web |
Diff against target: |
11 lines (+1/-0) 1 file modified
addons/web_calendar/static/src/js/calendar.js (+1/-0) |
To merge this branch: | bzr merge lp:~openerp-dev/openerp-web/trunk-bug-1082009-bth |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Fabien Meghazi (OpenERP) | Disapprove | ||
Bhumi Thakkar (Open ERP) | Needs Resubmitting | ||
Xavier (Open ERP) (community) | Needs Fixing | ||
Review via email: mp+136596@code.launchpad.net |
Description of the change
Hello,
Calendar view should not allow drag & drop facility for readonly views.
To generate this issue:
1. In HUman Resources => Leaves => Leave Request
2. Open in Calendar view.
Observed:
A user gets leaves approved (e.g. sick days). Everybody can see this in the calendar (good!). Everybody can move the event around (bad!). This makes the calendar much less usable as a credible tool and source of information.
Expected:
Calendar view should not allow drag & drop facility for readonly views.
Check field has attribute readonly: true then could not drag and drop (move) the record.
Thanks.
Unmerged revisions
- 3510. By Bhumi Thakkar (Open ERP)
-
[IMP] Remove condition and just assign the value.
- 3509. By Bhumi Thakkar (Open ERP)
-
[FIX] Calendar view should not allow drag & drop facility for readonly views.-
-fixes: lp1082009
Why the conditional? Why not just assign the first field to the second one, maybe converting to boolean inbetween just to be sure?