summaryrefslogtreecommitdiff
path: root/odoo/tools/xml_utils.py
AgeCommit message (Collapse)Author
2020-07-10[REF] base: clean dosctring and remove deprecated functionwilliam
The function check_with_xsd has been deprecated for more than 3 years. Docstring is now compliant with PEP 257 closes odoo/odoo#54338 X-original-commit: 29938397ee17835645e89ee0dadb26e14ef45927 Signed-off-by: Josse Colpaert <jco@openerp.com>
2020-07-10[IMP] base: _check_with_xsd from ir.attachmentwilliam
Search the xsd files from in the database. To enable this option, the Environment should be passed to the optional `env` parameter. Both the XSD root and the XSD imported by the root and the recusrively imported files will be searched in the database. X-original-commit: 06a35f2e11230db81b8c21696d228097b31cf649
2018-01-04[FIX] tools: fixed missing import in xml_utilsPierre Rousseau
2017-09-29[REF] tools check_with_xsd: Supports generic streamMoises Lopez - https://www.vauxoo.com/
In order to be able to use it either with a file or an bystream from an attachment. Was PR #19697
2017-08-29[ADD] tools: add some xml utilitiesqdp-odoo
-create_xml_node() -create_xml_nod_chain()
2017-05-12[FIX] P3: Exception.message removedXavier Morel
2017-04-11[#8530] convert exception handlers to except..as syntaxXavier Morel
Futurize fixers: * lib2to3.fixes.fix_except
2017-01-04[ADD] xml_utils: utilitary file for common xml operationsqdp-odoo