Merge lp:~openerp-dev/openerp-web/7.0-opw-606601-msh into lp:openerp-web/7.0
Status: | Merged |
---|---|
Merged at revision: | 4178 |
Proposed branch: | lp:~openerp-dev/openerp-web/7.0-opw-606601-msh |
Merge into: | lp:openerp-web/7.0 |
Diff against target: |
11 lines (+1/-1) 1 file modified
addons/web/static/src/js/view_form.js (+1/-1) |
To merge this branch: | bzr merge lp:~openerp-dev/openerp-web/7.0-opw-606601-msh |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Martin Trigaux (OpenERP) (community) | Approve | ||
Naresh(OpenERP) | Pending | ||
Review via email: mp+216413@code.launchpad.net |
Description of the change
Hello,
Fixed the issue of reference field throws traceback that view is undefined, the reason is that reference field passing DefaultFieldManager while creating instance of many2one widget and DefaultFieldManager is eventually extending instance.web.widget not instance.
Demo:- Goto Settings -> Technical -> Parameters -> Configuration Parameters, open any record, record having one reference field, in reference field open many2one record(follow button), and change soemthing in many2one popup and then just save.
Result: Error, that self.view.
Expected Result: After Many2one save onchange of many2one should triggered.
Thanks.
LGTM, thanks
revno: 4178 [merge]
revision-id: <email address hidden>