From 17bc75eae63314651ce7c8c46fa66e73694412e7 Mon Sep 17 00:00:00 2001 From: Mathias Markl Date: Fri, 12 Jan 2018 20:27:06 +0100 Subject: [PATCH] u --- muk_fields_lobject/static/description/index.html | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/muk_fields_lobject/static/description/index.html b/muk_fields_lobject/static/description/index.html index df79ad2..b0f5aa2 100644 --- a/muk_fields_lobject/static/description/index.html +++ b/muk_fields_lobject/static/description/index.html @@ -59,14 +59,14 @@ from odoo.addons.muk_fields_lobject import fields as lobject_fields class LargeObjectModel(models.Model): - data_content = lobject_fields.LargeObject(string="Data") + data_content = lobject_fields.LargeObject(string="Data") - @api.multi + @api.multi def data(self): for record in self: - bytes = record.data_content - oid = record.with_context({'oid': True}).data_content - size = record.with_context({'bin_size': True}).data_content + bytes = record.data_content + oid = record.with_context({'oid': True}).data_content + size = record.with_context({'bin_size': True}).data_content stream = record.with_context({'stream': True}).data_content