Mathias Markl
7 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
1 additions and
1 deletions
-
muk_fields_lobject/controllers/main.py
|
|
@ -46,7 +46,7 @@ class LargeObjectController(http.Controller): |
|
|
|
'/web/lobject/<int:id>/<string:filename>', |
|
|
|
'/web/lobject/<string:model>/<int:id>/<string:field>', |
|
|
|
'/web/lobject/<string:model>/<int:id>/<string:field>/<string:filename>'], type='http', auth="public") |
|
|
|
def content_common(self, xmlid=None, model='ir.attachment', id=None, field='datas', filename=None, |
|
|
|
def content_lobject(self, xmlid=None, model='ir.attachment', id=None, field='datas', filename=None, |
|
|
|
filename_field='datas_fname', mimetype=None, download=None, access_token=None): |
|
|
|
obj = None |
|
|
|
if xmlid: |
|
|
|