mirror of
https://github.com/camptocamp/odoo-cloud-platform.git
synced 2026-06-24 08:47:40 +00:00
When users customize .less files using the 'web_editor', the controller creates a new ir.attachment for the customized file [0]. The attachment will be stored in S3 by default, which is unfortunate since it will slow down the generation of the assets. Force storage in the database for .less files. Note: beware when porting this to upper versions, check the code of web_editor, because it changed (notably less files are now scss). [0] https://github.com/odoo/odoo/blob/11.0/addons/web_editor/controllers/main.py#L370
Base class for attachments on external object store =================================================== This is a base addon that regroup common code used by addons targeting specific object store