Holger Brunn
8 years ago
No known key found for this signature in database
GPG Key ID: 1C9760FECA3AE18
1 changed files with
3 additions and
0 deletions
-
web_x2m_filter/static/src/js/web_x2m_filter.js
|
|
@ -49,9 +49,12 @@ openerp.web_x2m_filter = function(instance) |
|
|
|
).all() |
|
|
|
.then(function(records) |
|
|
|
{ |
|
|
|
var original = o2m._inhibit_on_change_flag; |
|
|
|
o2m._inhibit_on_change_flag = true; |
|
|
|
o2m.dataset.alter_ids(_.map(records, function(x) { |
|
|
|
return x.id; |
|
|
|
})); |
|
|
|
o2m._inhibit_on_change_flag = original; |
|
|
|
}); |
|
|
|
}; |
|
|
|
instance.web.form.FieldOne2Many.include({ |
|
|
|