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:
cfac946
)
[FIX] fields: in *2many.convert_to_cache, fix the effect of command "1"
author
Raphael Collet
<rco@openerp.com>
Mon, 15 Sep 2014 12:41:39 +0000
(14:41 +0200)
committer
Raphael Collet
<rco@openerp.com>
Mon, 15 Sep 2014 13:31:30 +0000
(15:31 +0200)
openerp/fields.py
patch
|
blob
|
history
diff --git
a/openerp/fields.py
b/openerp/fields.py
index
8644232
..
2234528
100644
(file)
--- a/
openerp/fields.py
+++ b/
openerp/fields.py
@@
-1438,6
+1438,7
@@
class _RelationalMulti(_Relational):
result += result.new(command[2])
elif command[0] == 1:
result.browse(command[1]).update(command[2])
+ result += result.browse(command[1]) - result
elif command[0] == 2:
# note: the record will be deleted by write()
result -= result.browse(command[1])