Merge lp:~openerp-dev/openerp-web/6.1-opw-577195ReloadRecordIssue-msh into lp:openerp-web/6.1
Status: | Needs review |
---|---|
Proposed branch: | lp:~openerp-dev/openerp-web/6.1-opw-577195ReloadRecordIssue-msh |
Merge into: | lp:openerp-web/6.1 |
Diff against target: |
18 lines (+4/-0) 1 file modified
addons/web/static/src/js/view_form.js (+4/-0) |
To merge this branch: | bzr merge lp:~openerp-dev/openerp-web/6.1-opw-577195ReloadRecordIssue-msh |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Mohammed Shekha(Open ERP) (community) | Disapprove | ||
OpenERP Core Team | Pending | ||
Review via email: mp+118309@code.launchpad.net |
Description of the change
Hello,
Fixed the issue of button click which is inside one2many list, here when workflow buttons are clicked record is not reloaded from the database, hence buttons are not shown properly based on workflow state.
Demo -: Manufacturing -> Manufacturing Order -> Edit any record which is in "ready to produce" state, activate workorder tab, click on start, pause or finish button record is not reloaded.
Reason :- The is faced only in one2many list view because when record is reloaded it will read the record from the cache, hence it will load the same record, instead the record should be read from the database, hence removed the cache record object so that the id in read_ids can set into to_get list and goes to read from the database.
Thanks.
Unmerged revisions
- 2427. By Mohammed Shekha(Open ERP)
-
[FIX]Refixed the issue of record reload in one2many when button is clicked.
Hello,
The same has been fixed and superseded by http:// bazaar. launchpad. net/~openerp/ openerp- web/6.1/ revision/ 2451.
Revision No.: 2451.
Hence I am rejecting this one.
Thanks.