You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
bobslee
changed the title
formio: ir.asset (base model) to replace formio.version.asset, formio.extra.asset
formio: ir.asset (base model) to replace formio.version.asset
Mar 30, 2024
Since Odoo v 15.0 there's a model
ir.asset
.https://www.odoo.com/documentation/16.0/developer/reference/frontend/assets.html
Let's research whether
ir.asset
can replace the version asset model:formio.version.asset
Consider the asset files could be stored 2 ways:
static
directory of a moduleir.attachment
record, which is a reference to the file in the Odoo filestore.This should be taken into account (and refactored) for serving the assets to the DOM document.
If this suggestion will make it (to implement), also data migrations should be done, regarding the models to replace.
This change (migration) could be benificial in maintaining and upgrading the
formio
module.The text was updated successfully, but these errors were encountered: