diff options
| author | Purnendu Singh (OpenERP) <psi@tinyerp.com> | 2012-10-03 14:13:52 +0530 |
|---|---|---|
| committer | Purnendu Singh (OpenERP) <psi@tinyerp.com> | 2012-10-03 14:13:52 +0530 |
| commit | 879cdd8e40c74c4fd583d05c1cae680e76e3be9a (patch) | |
| tree | bc27904d0dfcba1880f0db359b2ddbc56c69a035 /addons/document/document.py | |
| parent | a063813e15c89d465a030d2f58809a39da2bdcbf (diff) | |
| parent | 2d3d4787848d346c1c2e2c5241bce7d7ce48e651 (diff) | |
[MERGE] merge with main addons
bzr revid: psi@tinyerp.com-20121003084352-koc7uitl8mn2o11i
Diffstat (limited to 'addons/document/document.py')
| -rw-r--r-- | addons/document/document.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/addons/document/document.py b/addons/document/document.py index cb30e5f93c9..3ae783f49e7 100644 --- a/addons/document/document.py +++ b/addons/document/document.py @@ -149,7 +149,7 @@ class document_file(osv.osv): _sql_constraints = [ # filename_uniq is not possible in pure SQL ] - def _check_duplication(self, cr, uid, vals, ids=[], op='create'): + def _check_duplication(self, cr, uid, vals, ids=None, op='create'): name = vals.get('name', False) parent_id = vals.get('parent_id', False) res_model = vals.get('res_model', False) |
