mirror of
https://github.com/bringout/oca-ocb-core.git
synced 2026-04-21 01:12:07 +02:00
18.0 vanilla
This commit is contained in:
parent
d72e748793
commit
0a7ae8db93
337 changed files with 399651 additions and 232598 deletions
9
odoo-bringout-oca-ocb-base/odoo/_monkeypatches/zeep.py
Normal file
9
odoo-bringout-oca-ocb-base/odoo/_monkeypatches/zeep.py
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
from zeep.xsd import visitor
|
||||
from zeep.xsd.const import xsd_ns
|
||||
|
||||
|
||||
def patch_zeep():
|
||||
# see https://github.com/mvantellingen/python-zeep/issues/1185
|
||||
if visitor.tags.notation.localname != 'notation':
|
||||
visitor.tags.notation = xsd_ns('notation')
|
||||
visitor.SchemaVisitor.visitors[visitor.tags.notation] = visitor.SchemaVisitor.visit_notation
|
||||
Loading…
Add table
Add a link
Reference in a new issue