Merge lp:~openerp-dev/openerp-web/6.1-opw-583151-msh into lp:openerp-web/6.1
Status: | Needs review |
---|---|
Proposed branch: | lp:~openerp-dev/openerp-web/6.1-opw-583151-msh |
Merge into: | lp:openerp-web/6.1 |
Diff against target: |
12 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/6.1-opw-583151-msh |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
OpenERP Core Team | Pending | ||
Review via email:
|
Description of the change
Hello,
Fixed the issue of buttons in editable one2many new record, button should be disable if there is new record of one2many.
Demo :- Open a record with one2many field which is editable with buttons, create a new one2many record and without saving the record click on button, you will get traceback.
Reason :- As we have used Buffered Dataset for one2many so for one2many we will not have real ID of record instead we will have virtual id, which passed when action is called on that button which causing the issue.
Behaviour :- Behaviour should be when new one2many record going to create at that time buttons should be disabled which is true for one2many form view but it is not working in editable one2many.
Thanks.
Unmerged revisions
- 2500. By Mohammed Shekha(Open ERP)
-
[FIX]Fixed the issue of buttons in editable one2many new record, button should be disable if there is new record of one2many.