diff options
| author | Xavier Morel <xmo@openerp.com> | 2014-03-04 12:07:16 +0100 |
|---|---|---|
| committer | Xavier Morel <xmo@openerp.com> | 2014-03-04 12:07:16 +0100 |
| commit | e78a3b18cc6c049a712d594ab70287c486447f0a (patch) | |
| tree | f7bc1bd00c6c1407497eaf0c66de58eb105a3b17 /addons/analytic_user_function | |
| parent | f3638567738cdc242fa43dc0a1770ea7bd4b4b6e (diff) | |
[ADD] tentative removal of attachments
Attachments ought be removed only if they are not used in an existing page/web
view.
Theoretically this could be set directly in unlink(), but:
* that would make a nice error message significantly harder
* the expenses of performing a text search in all view archs would be a bit expensive
Notes:
* the views set could be reduced to only "web" views
* the search is likely sensible to false negatives e.g. different order of
query parameters. It *will* remove images still being used.
bzr revid: xmo@openerp.com-20140304110716-u14w6uo8fbkfa42i
Diffstat (limited to 'addons/analytic_user_function')
0 files changed, 0 insertions, 0 deletions
