Closed lmignon closed 1 year ago
cc @sebastienbeau @sbejaoui
/ocabot merge patch
Hey, thanks for contributing! Proceeding to merge this for you. Prepared branch 16.0-ocabot-merge-pr-1478-by-lmignon-bump-patch, awaiting test results.
Congratulations, your PR was merged at bf281b83bab4a9fe2d76a98a71301a17fe7f8026. Thanks a lot for contributing to shopinvader. ❤️
When we serialize a product or a category with a pydantic serializer, we must dump the mode in json mode. If mode is 'json', the dictionary will only contain JSON serializable types. If mode is 'python' (the default), the dictionary may contain any Python objects and will therefore not be serializable in json