Merge lp:~openerp-dev/openerp-web/trunk-bug-1241359-msh into lp:openerp-web
Status: | Rejected |
---|---|
Rejected by: | Martin Trigaux (OpenERP) |
Proposed branch: | lp:~openerp-dev/openerp-web/trunk-bug-1241359-msh |
Merge into: | lp:openerp-web |
Diff against target: |
29 lines (+11/-8) 1 file modified
addons/web/static/src/js/view_form.js (+11/-8) |
To merge this branch: | bzr merge lp:~openerp-dev/openerp-web/trunk-bug-1241359-msh |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Christophe Matthieu (OpenERP) | Pending | ||
Review via email: mp+199769@code.launchpad.net |
Description of the change
Hello,
Fixed the issue of statusbar, statusbar widget doesn't update with new selection when field is type of selection, issue is due to latest changes in statubar widget which triggers get_selection only when domain changed, in the case of selection widget there is no need to trigger get_selection based on domain change.
Demo: Sale -> Create Sale Order -> Confirm It -> and then Cancel it, Cancel state not updated in statusbar.
Reason: get_selection not called, due to latest changes in statusbar get_selection is called only when there is a change in domain, this implementation is true if type of field is many2one, for selection type field this fails.
Thanks
Unmerged revisions
- 3907. By Mohammed Shekha(OpenERP)<email address hidden>
-
[FIX]Web: statusbar widget doesn't update with new selection when field is type of selection, issue is due to latest changes in statubar widget which triggers get_selection only when domain changed, in the case of selection widget there is no need to trigger get_selection based on domain change.
Hello,
This was already fixed in the saas-2 branch[1] (and forward ported to trunk). I will reject this one then.
Regards
[1] http:// bazaar. launchpad. net/~openerp/ openerp- web/saas- 2/revision/ 3898