projects
/
odoo
/
odoo.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8b546d2
)
[FIX]Fixe the issue o2m record duplication.
author
Mohammed Shekha
<msh@openerp.com>
Tue, 27 May 2014 04:40:06 +0000
(10:10 +0530)
committer
Mohammed Shekha
<msh@openerp.com>
Tue, 27 May 2014 04:40:06 +0000
(10:10 +0530)
addons/web/static/src/js/view_form.js
patch
|
blob
|
history
diff --git
a/addons/web/static/src/js/view_form.js
b/addons/web/static/src/js/view_form.js
index
7a38f0b
..
403a4b0
100644
(file)
--- a/
addons/web/static/src/js/view_form.js
+++ b/
addons/web/static/src/js/view_form.js
@@
-3949,6
+3949,7
@@
instance.web.form.One2ManyListView = instance.web.ListView.extend({
return $.when();
}).done(function () {
if (!self.o2m.options.reload_on_button) {
+ self.o2m.dataset.reset_ids([]);
self.handle_button(name, id, callback);
}else {
self.handle_button(name, id, function(){