Merge lp:~openerp-dev/openobject-client-web/listview-button-action into lp:openobject-client-web/trunk
Proposed by
Vaibhav Darji
Status: | Merged | ||||
---|---|---|---|---|---|
Merge reported by: | Fabien Meghazi (OpenERP) | ||||
Merged at revision: | not available | ||||
Proposed branch: | lp:~openerp-dev/openobject-client-web/listview-button-action | ||||
Merge into: | lp:openobject-client-web/trunk | ||||
Diff against target: |
122 lines (+40/-23) (has conflicts) 2 files modified
addons/openerp/controllers/listgrid.py (+16/-21) addons/openerp/static/javascript/listgrid.js (+24/-2) Text conflict in addons/openerp/static/javascript/listgrid.js |
||||
To merge this branch: | bzr merge lp:~openerp-dev/openobject-client-web/listview-button-action | ||||
Related bugs: |
|
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Fabien Meghazi (OpenERP) | Approve | ||
Review via email: mp+43200@code.launchpad.net |
Description of the change
Improved ListView's button action
Working perfect using doLoadingSuccess except 1 case where:
button is used to change the state and reload the list to reflect changed state.(Ex:Sales > Opportunities > Any record > Click on any Stage button/img)
In this case only `True` is written and no target in xhr and no url.
So doLoadingSuccess can't handle this case.
To post a comment you must log in.
Ok vda, you can merge it.