diff options
| author | uco (OpenERP) <uco@tinyerp.com> | 2010-11-23 12:35:05 +0530 |
|---|---|---|
| committer | uco (OpenERP) <uco@tinyerp.com> | 2010-11-23 12:35:05 +0530 |
| commit | 6dd290e8245f4ea91ce87b0f3b5f29bafeaf12e9 (patch) | |
| tree | 81db1734d8400a9278e5669da35bbe90076397c0 /addons/document_ics/document_ics.py | |
| parent | 8035df3e1152a8f9d9703037d9d1bee718d94331 (diff) | |
[REF]: Replace the condition 'if not context' with 'if context is None'.
bzr revid: uco@tinyerp.com-20101123070505-9i2lrqhgxzaii3zn
Diffstat (limited to 'addons/document_ics/document_ics.py')
| -rw-r--r-- | addons/document_ics/document_ics.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/addons/document_ics/document_ics.py b/addons/document_ics/document_ics.py index 9133a525afa..82a672c2006 100644 --- a/addons/document_ics/document_ics.py +++ b/addons/document_ics/document_ics.py @@ -347,7 +347,7 @@ class crm_meeting(osv.osv): """ if not default: default = {} - if not context: context = {} + if context is None: context = {} default.update({'code': self.pool.get('ir.sequence').get(cr, uid, 'crm.meeting'), 'id': False}) return super(crm_meeting, self).copy(cr, uid, id, default, context) |
