mirror of
https://github.com/guohuadeng/app-odoo.git
synced 2025-02-23 04:11:36 +02:00
prepare #IAI70F app_travel_base服务语言先处理至旅游tags 置顶
This commit is contained in:
@@ -24,7 +24,7 @@ def app_relaxng(view_type):
|
|||||||
relaxng_doc = etree.parse(frng)
|
relaxng_doc = etree.parse(frng)
|
||||||
_relaxng_cache[view_type] = etree.RelaxNG(relaxng_doc)
|
_relaxng_cache[view_type] = etree.RelaxNG(relaxng_doc)
|
||||||
except Exception:
|
except Exception:
|
||||||
_logger.error(_('You can Ignore this. Failed to load RelaxNG XML schema for views validation, file: %s' % _file))
|
_logger.warning(_('You can Ignore this. Failed to load RelaxNG XML schema for views validation, file: %s' % _file))
|
||||||
_relaxng_cache[view_type] = None
|
_relaxng_cache[view_type] = None
|
||||||
return _relaxng_cache[view_type]
|
return _relaxng_cache[view_type]
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user