Я хочу унаследовать представление событий для моей модели клиента в ODOO, но возникла эта ошибка:
File "/home/abdalrahman/odoo_apps/odoo.15/15/odoo/tools/convert.py", line 748, in convert_file
convert_xml_import(cr, module, fp, idref, mode, noupdate)
File "/home/abdalrahman/odoo_apps/odoo.15/15/odoo/tools/convert.py", line 797, in convert_xml_import
relaxng.assert_(doc)
File "src/lxml/etree.pyx", line 3633, in lxml.etree._Validator.assert_
Exception
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/home/abdalrahman/odoo_apps/odoo.15/15/odoo/http.py", line 658, in _handle_exception
return super(JsonRequest, self)._handle_exception(exception)
File "/home/abdalrahman/odoo_apps/odoo.15/15/odoo/http.py", line 301, in _handle_exception
raise exception.with_traceback(None) from new_cause
AssertionError: Element odoo has extra content: data, line 4
Мой XML-файл:
event.event.form
event.event
Подробнее здесь: https://stackoverflow.com/questions/789 ... -error-was
Я хочу наследовать представление событий моей модели клиента в odoo, но появилась эта ошибка, как я могу ее решить? ⇐ Python
-
- Похожие темы
- Ответы
- Просмотры
- Последнее сообщение