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
if you do nothing prefix = f"{schema}{version}_" taken from SCHEMA and VERSION env vars
but from a standard xsdata config (generate one with xsdata init-config), you can change the FieldName safePrefix to anything you want. You can set it to "" for no prefix. Or you can set it to NO_PREFIX_NO_SAFE_NAME to have no prefix and no safe_name mapping.
The text was updated successfully, but these errors were encountered:
this is now implemented in the OdooFilters#field_name method ut should be documented.
However, I figured out we can still load our own configuration if we do it in the beginning of xsdata_odoo/hook.py
TODO: see if it's more practical than the ENV vars...
coming soon:
if you do nothing prefix = f"{schema}{version}_" taken from SCHEMA and VERSION env vars
but from a standard xsdata config (generate one with xsdata init-config), you can change the FieldName safePrefix to anything you want. You can set it to "" for no prefix. Or you can set it to NO_PREFIX_NO_SAFE_NAME to have no prefix and no safe_name mapping.
The text was updated successfully, but these errors were encountered: