Merge lp:~openerp-dev/openerp-web/6.1-opw-591727-msh into lp:openerp-web/6.1
Status: | Needs review |
---|---|
Proposed branch: | lp:~openerp-dev/openerp-web/6.1-opw-591727-msh |
Merge into: | lp:openerp-web/6.1 |
Diff against target: |
36 lines (+14/-3) 1 file modified
addons/web/static/src/js/view_form.js (+14/-3) |
To merge this branch: | bzr merge lp:~openerp-dev/openerp-web/6.1-opw-591727-msh |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
OpenERP Core Team | Pending | ||
Review via email: mp+160551@code.launchpad.net |
Description of the change
Hello,
Allow whole one2many reload on button action, there are lot of scenario where button inside one2many creates new record for one2many which requires whole one2many to reloaad so that new record get retrieved.
Demo:- To generate this issue there are lot of scenario, go to Warehouse -> Delivery Order -> Open any existing one and click on "Split in Production Lots" button of stock move, and create one lot, it creates new record in stock move but it doesn't show up untill we reload whole view or re-open that record again.
So to fix this issue add reload_on_button option same as 7.0.
I also set options in addons wherever I faced this issue and created a branch lp:~openerp-dev/openobject-addons/6.1-opw-591727-msh.
Thanks.
Unmerged revisions
- 2513. By Mohammed Shekha<email address hidden>
-
[IMP]Allow whole one2many reload on button action, there are lot of scenario where button inside one2many creates new record for one2many which requires whole one2many to reloaad so that new record get retrieved.