
improvements:

Change get__type__ to return a set of values. It is defined at the Converter level despite only returning a value for a small number of Converters but it simplifies the code using it to do so that way. Validation and validator can be set on converters after initialization. Only some converter makes use of those values. This makes the message_to_odoo_validate method unnecessary, that’s why it has been removed.
parent
27848c7ff17c
No related branches found
Tags 15.0.3.1.0
Showing
- NEWS.rst 9 additions, 0 deletionsNEWS.rst
- __init__.py 7 additions, 1 deletion__init__.py
- __manifest__.py 1 addition, 2 deletions__manifest__.py
- base.py 64 additions, 6 deletionsbase.py
- field.py 3 additions, 3 deletionsfield.py
- model.py 28 additions, 48 deletionsmodel.py
- switch.py 26 additions, 41 deletionsswitch.py
- tests/test_base.py 6 additions, 3 deletionstests/test_base.py
- tests/test_converters.py 2 additions, 4 deletionstests/test_converters.py
- tests/test_ir_model.py 3 additions, 4 deletionstests/test_ir_model.py
- validate.py 5 additions, 1 deletionvalidate.py
- xref.py 1 addition, 0 deletionsxref.py
Loading
Please register or sign in to comment