summaryrefslogtreecommitdiff
path: root/addons/document/document.py
diff options
context:
space:
mode:
authorNumerigraphe - Lionel Sausin <ls@numerigraphe.fr>2012-03-05 19:40:03 +0100
committerNumerigraphe - Lionel Sausin <ls@numerigraphe.fr>2012-03-05 19:40:03 +0100
commit2d2a44dcf2e3b29e4fef4000792a064862967769 (patch)
tree3ead439725b24ab01fe5bd6e3784f9bffe12acdf /addons/document/document.py
parent520e2c680f927f16cfb97f543e2f73f7ab9ae7ac (diff)
[FIX] unmutable default in the remaining modules
[REF] coding style consistency lp bug: https://launchpad.net/bugs/525808 fixed bzr revid: ls@numerigraphe.fr-20120305184003-er00xtj9vtcw7gna
Diffstat (limited to 'addons/document/document.py')
-rw-r--r--addons/document/document.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/addons/document/document.py b/addons/document/document.py
index 9ea7f97a321..5e95eee241c 100644
--- a/addons/document/document.py
+++ b/addons/document/document.py
@@ -146,7 +146,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)