diff --git a/NEWS.rst b/NEWS.rst index 3ab7999f2abe0d56ea505cf5523da8ca5d957b98_TkVXUy5yc3Q=..2c908ba2f79caedbc299fb18d5c929480bcbd464_TkVXUy5yc3Q= 100644 --- a/NEWS.rst +++ b/NEWS.rst @@ -2,6 +2,11 @@ History ******* +3.0.1 +===== + +Fix code errors. + 3.0.0 ===== diff --git a/__manifest__.py b/__manifest__.py index 3ab7999f2abe0d56ea505cf5523da8ca5d957b98_X19tYW5pZmVzdF9fLnB5..2c908ba2f79caedbc299fb18d5c929480bcbd464_X19tYW5pZmVzdF9fLnB5 100644 --- a/__manifest__.py +++ b/__manifest__.py @@ -21,7 +21,7 @@ "name": "Converter", "license": "AGPL-3", "summary": "Convert odoo records to/from plain data structures.", - "version": "13.0.3.0.0", + "version": "13.0.3.0.1", "category": "Hidden", "author": "XCG Consulting", "website": "https://odoo.consulting/", diff --git a/model.py b/model.py index 3ab7999f2abe0d56ea505cf5523da8ca5d957b98_bW9kZWwucHk=..2c908ba2f79caedbc299fb18d5c929480bcbd464_bW9kZWwucHk= 100644 --- a/model.py +++ b/model.py @@ -77,7 +77,7 @@ try: self.validator.validate(self._jsonschema, message_data) except jsonschema.exceptions.ValidationError as exception: - _logger.warning("Validation failed", exception) + _logger.warning("Validation failed", exc_info=1) if self.validation == VALIDATION_STRICT: raise exception diff --git a/switch.py b/switch.py index 3ab7999f2abe0d56ea505cf5523da8ca5d957b98_c3dpdGNoLnB5..2c908ba2f79caedbc299fb18d5c929480bcbd464_c3dpdGNoLnB5 100644 --- a/switch.py +++ b/switch.py @@ -111,7 +111,7 @@ converter.validation = value def get__type__(self) -> Set[str]: - types = [] + types = set() for _out_cond, _in_cond, converter in self._converters: types.update(converter.get__type__()) return types