
support for datatype in newer sync schemas

In Model converter, also validate messages in ``message_to_odoo``. Model converter argument changed, `__type__` is now the last argument and is optional. It is expected not to be used anymore. Added possible_datatypes property and odoo_datatype on Converter. Defaults to empty set and None. On Model, it can be set. Replace generic exceptions.
parent
08c78c8d765d
No related branches found
No related tags found
Showing
- NEWS.rst 12 additions, 0 deletionsNEWS.rst
- __manifest__.py 2 additions, 2 deletions__manifest__.py
- base.py 44 additions, 9 deletionsbase.py
- model.py 39 additions, 4 deletionsmodel.py
- pyproject.toml 1 addition, 1 deletionpyproject.toml
- switch.py 19 additions, 7 deletionsswitch.py
- tests/test_base.py 1 addition, 2 deletionstests/test_base.py
- tests/test_converters.py 1 addition, 1 deletiontests/test_converters.py
- tests/test_relation.py 45 additions, 4 deletionstests/test_relation.py
- tests/test_switch.py 2 additions, 2 deletionstests/test_switch.py
Please register or sign in to comment