Vishmita Jadeja (openerp) has proposed merging
lp:~openerp-dev/openerp-web/trunk-bug-907699-vja into lp:openerp-web.
Requested reviews:
OpenERP R&D Web Team (openerp-dev-web)
Related bugs:
Bug #907699 in OpenERP Web: "cannot commplete my past timesheet"
https://bugs.launchpad.net/openerp-web/+bug/907699
For more details, see:
https://code.launchpad.net/~openerp-dev/openerp-web/trunk-bug-907699-vja/+merge/87221
In o2m,when we create new record it should be display.
--
https://code.launchpad.net/~openerp-dev/openerp-web/trunk-bug-907699-vja/+merge/87221
Your team OpenERP R&D Team is subscribed to branch
lp:~openerp-dev/openerp-web/trunk-bug-907699-vja.
=== modified file 'addons/web/static/src/js/view_form.js'
--- addons/web/static/src/js/view_form.js 2011-12-28 16:29:52 +0000
+++ addons/web/static/src/js/view_form.js 2012-01-02 06:08:26 +0000
@@ -2271,7 +2271,8 @@
var self = this;
if (!this.dataset)
return [];
- this.save_any_view();
+ if(!this.dirty)
+ this.save_any_view();
var val = this.dataset.delete_all ? [commands.delete_all()] : [];
val = val.concat(_.map(this.dataset.ids, function(id) {
var alter_order = _.detect(self.dataset.to_create, function(x) {return x.id === id;});
_______________________________________________
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