Fix set_default of One2Many field
issue2317 review193001 (transplanted from 5da1267ff35c7e9e74b8e5d7294c12e8fa3a9b86)
This commit is contained in:
@@ -569,7 +569,7 @@ class O2MField(CharField):
|
||||
args = ('model', self.attrs['relation'], 'fields_get',
|
||||
field_names, context)
|
||||
try:
|
||||
fields = rpc.execute(*args)
|
||||
fields.update(rpc.execute(*args))
|
||||
except TrytonServerError, exception:
|
||||
fields = common.process_exception(exception, *args)
|
||||
if not fields:
|
||||
|
||||
Reference in New Issue
Block a user