mirror of
https://github.com/bringout/oca-ocb-web.git
synced 2026-04-20 11:52:10 +02:00
19.0 vanilla
This commit is contained in:
parent
20e6dadd87
commit
4b94f0abc5
205 changed files with 24700 additions and 14614 deletions
|
|
@ -3,7 +3,7 @@ from werkzeug import urls
|
|||
from odoo import models, api
|
||||
|
||||
|
||||
class Image(models.AbstractModel):
|
||||
class IrQwebFieldImage(models.AbstractModel):
|
||||
_inherit = 'ir.qweb.field.image'
|
||||
|
||||
@api.model
|
||||
|
|
@ -27,4 +27,4 @@ class Image(models.AbstractModel):
|
|||
], limit=1)
|
||||
return attachment.datas
|
||||
|
||||
return super(Image, self).from_html(model, field, element)
|
||||
return super().from_html(model, field, element)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue