mirror of
https://github.com/bringout/oca-ocb-core.git
synced 2026-04-20 04:32:07 +02:00
19.0 vanilla
This commit is contained in:
parent
0a7ae8db93
commit
991d2234ca
416 changed files with 646602 additions and 300844 deletions
|
|
@ -70,4 +70,6 @@ def json_default(obj):
|
|||
return dict(obj)
|
||||
if isinstance(obj, bytes):
|
||||
return obj.decode()
|
||||
if isinstance(obj, fields.Domain):
|
||||
return list(obj)
|
||||
return str(obj)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue