summaryrefslogtreecommitdiff
path: root/addons/analytic_user_function/analytic_user_function.py
diff options
context:
space:
mode:
authorStefan Rijnhart <stefan@therp.nl>2015-03-03 17:10:54 +0100
committerMartin Trigaux <mat@odoo.com>2015-03-04 11:23:44 +0100
commit4781deb5b602ab74da369c69e997829204c2829b (patch)
treebd6e58b6a48ee697133beb45a5701265b2bae74d /addons/analytic_user_function/analytic_user_function.py
parent56f3f01491f3c682f3604c6d0011d7ecfbbaa210 (diff)
[FIX] base: Replace unreliable reference count through ORM by SQL
When the ORM is cleaning up related attachments upon record deletion, the search() method hides the attachment of the record that is being deleted. If the same file is used exactly once in another attachment, the reference count will be 1 and the file will be deleted.
Diffstat (limited to 'addons/analytic_user_function/analytic_user_function.py')
0 files changed, 0 insertions, 0 deletions