mirror of
https://github.com/bringout/oca-ocb-core.git
synced 2026-04-23 00:31:58 +02:00
19.0 vanilla
This commit is contained in:
parent
0a7ae8db93
commit
991d2234ca
416 changed files with 646602 additions and 300844 deletions
9
odoo-bringout-oca-ocb-base/odoo/_monkeypatches/bs4.py
Normal file
9
odoo-bringout-oca-ocb-base/odoo/_monkeypatches/bs4.py
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
import bs4
|
||||
import warnings
|
||||
|
||||
|
||||
def patch_module():
|
||||
if hasattr(bs4, 'XMLParsedAsHTMLWarning'):
|
||||
# ofxparse use an html parser to parse ofx xml files and triggers a
|
||||
# warning since bs4 4.11.0 https://github.com/jseutter/ofxparse/issues/170
|
||||
warnings.filterwarnings('ignore', category=bs4.XMLParsedAsHTMLWarning)
|
||||
Loading…
Add table
Add a link
Reference in a new issue