-
Committer:
Xavier Morel
-
Date:
2011-02-01 13:04:38 UTC
-
Revision ID:
xmo@openerp.com-20110201130438-s412p9gtqsgc04vz
[FIX] bug 14: error 'list' object has no attribute 'update'
TinyForm._convert transforms o2m fields into o2m commands, then when a dictionary is created from that, it overwrites the recursive field dicts and has two effects:
* If an other recursive field value is set after it, the update() call is performed on the o2m commands list (which cannot be updated)
* With the first 'fix' (more like a workaround) the o2m commands list can be set/seen after having already created some fields, which loses them, hence the guard