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
I tried to generate models for Odoo 18.1 and got a lot of warnings like this:
warn: cannot find a go-odoo type for odoo type json
warn: cannot find a go-odoo type for odoo type properties
warn: cannot find a go-odoo type for odoo type properties_definition
It also seems that many of the model files where not generated maybe because of the above warnings. It would be nice if the warnings would mention what model the problem is related to and perhaps stop the process.
Kind regards,
Tommi
The text was updated successfully, but these errors were encountered:
Yes, indeed the go-odoo doesn't support the Odoo types you listed. But that does not mean that a model will not be generated. In such cases, a field type will be set to interface{}.
You may get a not-generated model if it doesn't contain any fields or has no ID field.
Please take a look at the branch 18.0, it contains slightly updated log messages to give more information during the models generation process.
Hi
I tried to generate models for Odoo 18.1 and got a lot of warnings like this:
warn: cannot find a go-odoo type for odoo type json
warn: cannot find a go-odoo type for odoo type properties
warn: cannot find a go-odoo type for odoo type properties_definition
It also seems that many of the model files where not generated maybe because of the above warnings. It would be nice if the warnings would mention what model the problem is related to and perhaps stop the process.
Kind regards,
Tommi
The text was updated successfully, but these errors were encountered: