Merge lp:~openerp-dev/openobject-client-web/6.0-opw-580592-xal into lp:openobject-client-web
Status: | Needs review |
---|---|
Proposed branch: | lp:~openerp-dev/openobject-client-web/6.0-opw-580592-xal |
Merge into: | lp:openobject-client-web |
Diff against target: |
129 lines (+39/-9) 3 files modified
addons/openerp/controllers/form.py (+1/-1) addons/openerp/controllers/openo2m.py (+33/-2) addons/openerp/static/javascript/m2o.js (+5/-6) |
To merge this branch: | bzr merge lp:~openerp-dev/openobject-client-web/6.0-opw-580592-xal |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
OpenERP Core Team | Pending | ||
Review via email: mp+129654@code.launchpad.net |
Description of the change
Hi,
When clicking on a button within a one2many window, web client force data of that record to be rewritten. This can cause permission errors.
The one2many save() has been modified to support filtering only modified datas (like it's done on form save()).
Regards,
Xavier
Unmerged revisions
- 4890. By Anaël Closson (openerp)
-
[FIX] OPW 587377 ie stop listening clicks when spam clicking on buttons on a view with m2o
- 4889. By Xavier ALT
-
[FIX] OPW 580592: web: when compararing current and original compare, make sure both arguments are unicode
- 4888. By Xavier ALT
-
[FIX] OPW 580592: web: one2many: when saving one2many data filter data that has not been modified
- This is necessary when user has no 'write' access on the one2many object,
and user clic on a button. If user didn't modify the record - write() call
is not necessary.