Vishmita Jadeja (openerp) has proposed merging
lp:~openerp-dev/openerp-web/trunk-bug-997468-vja into lp:openerp-web.
Requested reviews:
OpenERP R&D Web Team (openerp-dev-web)
Related bugs:
Bug #997468 in OpenERP Web: "[Trunk]when discard modification and click on
next record from pager again it gives warning."
https://bugs.launchpad.net/openerp-web/+bug/997468
For more details, see:
https://code.launchpad.net/~openerp-dev/openerp-web/trunk-bug-997468-vja/+merge/105459
- After modify any field value and click on discard for not saving any
modification, than read only view appear with modified value instead of old
saved value.
- So, click on 'Ok' of notifier box of 'Discard', read only view should be
appear with old saved values.
--
https://code.launchpad.net/~openerp-dev/openerp-web/trunk-bug-997468-vja/+merge/105459
Your team OpenERP R&D Team is subscribed to branch
lp:~openerp-dev/openerp-web/trunk-bug-997468-vja.
=== modified file 'addons/web/static/src/js/view_form.js'
--- addons/web/static/src/js/view_form.js 2012-05-10 15:23:35 +0000
+++ addons/web/static/src/js/view_form.js 2012-05-11 10:19:19 +0000
@@ -546,6 +546,7 @@
},
on_button_cancel: function(event) {
if (this.can_be_discarded()) {
+ this.on_record_loaded(this.datarecord);
this.set({mode: "view"});
}
return false;
_______________________________________________
Mailing list: https://launchpad.net/~openerp-dev-gtk
Post to : [email protected]
Unsubscribe : https://launchpad.net/~openerp-dev-gtk
More help : https://help.launchpad.net/ListHelp