Mathias Markl 7 years ago
parent
commit
f8e8720d6d
  1. 3
      muk_fields_lobject/controllers/main.py

3
muk_fields_lobject/controllers/main.py

@ -48,9 +48,6 @@ class LargeObjectController(http.Controller):
'/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,
filename_field='datas_fname', mimetype=None, download=None, access_token=None):
print(model, id, field, filename, filename_field)
obj = None
if xmlid:
obj = request.env.ref(xmlid, False)

Loading…
Cancel
Save