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
0 additions and
3 deletions
-
muk_fields_lobject/controllers/main.py
|
@ -54,9 +54,6 @@ class LargeObjectController(http.Controller): |
|
|
elif id and model in request.env.registry: |
|
|
elif id and model in request.env.registry: |
|
|
obj = request.env[model].browse(int(id)) |
|
|
obj = request.env[model].browse(int(id)) |
|
|
if not obj or not obj.exists() or field not in obj: |
|
|
if not obj or not obj.exists() or field not in obj: |
|
|
_logger.info(str(not obj)) |
|
|
|
|
|
_logger.info(str(not obj.exists())) |
|
|
|
|
|
_logger.info(str(field not in obj)) |
|
|
|
|
|
return request.not_found() |
|
|
return request.not_found() |
|
|
try: |
|
|
try: |
|
|
last_update = obj['__last_update'] |
|
|
last_update = obj['__last_update'] |
|
|