diff options
| author | HDA (OpenERP) <hda@tinyerp.com> | 2010-03-03 12:51:09 +0530 |
|---|---|---|
| committer | HDA (OpenERP) <hda@tinyerp.com> | 2010-03-03 12:51:09 +0530 |
| commit | bca733707d0ea11c8c6b57dbde69b062e2c35ee3 (patch) | |
| tree | 36347fbd3e3fd8b49e43e696abdee9c4ad49042a /bin/osv/fields.py | |
| parent | 33749177de30de1b98cf9317c60e2394aeca94dd (diff) | |
added noupdate=1 if csv is in init_xml
bzr revid: hda@tinyerp.com-20100303072109-qoi1h70ohfsjq96h
Diffstat (limited to 'bin/osv/fields.py')
| -rw-r--r-- | bin/osv/fields.py | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/bin/osv/fields.py b/bin/osv/fields.py index 3d47cfb08f5..4398c896a5a 100644 --- a/bin/osv/fields.py +++ b/bin/osv/fields.py @@ -778,7 +778,6 @@ class related(function): res[data.id] = t_data.id else: res[data.id] = t_data - if self._type=='many2one': ids = filter(None, res.values()) if ids: @@ -790,7 +789,6 @@ class related(function): for r in res: if res[r]: res[r] = [x.id for x in res[r]] - return res def __init__(self, *arg, **args): |
