Merge lp:~openerp-dev/openerp-web/7.0-opw-601800-msh into lp:openerp-web/7.0
Status: | Needs review |
---|---|
Proposed branch: | lp:~openerp-dev/openerp-web/7.0-opw-601800-msh |
Merge into: | lp:openerp-web/7.0 |
Diff against target: |
29 lines (+11/-1) 1 file modified
addons/web/static/src/js/views.js (+11/-1) |
To merge this branch: | bzr merge lp:~openerp-dev/openerp-web/7.0-opw-601800-msh |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Fabien Meghazi (OpenERP) | Pending | ||
Xavier (Open ERP) | Pending | ||
Martin Trigaux (OpenERP) | Pending | ||
Review via email: mp+199748@code.launchpad.net |
Description of the change
Hello,
Fixed the issue of dialog open even if osv.exception raised through view_init, dialog should be opened only when either view_loaded(
Demo:- Warehouse -> Delivery Orders -> Open any delivery order -> Confirm It and then just click Return Product button and return the product -> again go back to same delivery order -> return Product button is still available -> Click on it, osv exception is raised (that you can return only those product which is in done state) but with exception dialog is also opened in background of exception dialog.
View Dialog must be opened after successful loading of View and successful loading of default_get result(if it is a form view).
Thanks.
Unmerged revisions
- 4095. By Mohammed Shekha(OpenERP)<email address hidden>
-
[FIX]Web: Fixed the issue of dialog open even if osv.exception raised through view_init, dialog should be opened only when either view_loaded(
resolved once view is successfully loaded) or if its a form view then after is_initialized is resolved(resolved after default_get result).