Перейти к содержимому
Меню
Чтобы взаимодействовать с сообществом, необходимо зарегистрироваться.
Этот вопрос был отмечен
3 Ответы
2395 Представления

hi, i working in odoo15, i try to install hr_expense module but i have the next error


Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/odoo/http.py", line 644, in _handle_exception
    return super(JsonRequest, self)._handle_exception(exception)
  File "/usr/lib/python3/dist-packages/odoo/http.py", line 302, in _handle_exception
    raise exception.with_traceback(None) from new_cause
odoo.tools.convert.ParseError: while parsing /usr/lib/python3/dist-packages/odoo/addons/hr_expense/data/hr_expense_data.xml:4, somewhere inside

            Expenses
            0.0
            1.0
            service
            
            
        



at the moment, is the unic module when i have that error

Аватар
Отменить
Лучший ответ

Hi,
it seems to be related to your db, you may not get same error in a fresh db i believe. You can just confirm that and in order to fix the existing db, just try upgrading the base_module and then try installing the hr_expense module.

Thanks

Аватар
Отменить
Автор

thanks, thats works, i update base module and i can install hr_expense without problem

Лучший ответ

The same error happens with the latest odoo v18 enterprise +e.20241214 . Seems like this module is broken in the delivered package itself.


```

odoo/addons/documents/models/documents_document.py", line 1028, in action_folder_embed_action 2024-12-27T17:16:18.433839444Z raise UserError(_('You can not ping an action on that document.')) 2024-12-27T17:16:18.433844734Z odoo.exceptions.UserError: You can not ping an action on that document.

```

Аватар
Отменить
Лучший ответ

ParseError, which usually indicates an issue with the XML content in the module's data file. In this case, it seems to be related to the hr_expense_data.xml file of the hr_expense module.
open your XML file and check the below details:
Make sure it follows the correct XML structure and syntax.

Double-check the values being defined for the "Expenses" section. Ensure that they are correctly formatted and match the expected data types.

Аватар
Отменить
Related Posts Ответы Просмотры Активность
2
окт. 25
2536
1
сент. 25
2527
3
июл. 25
3987
1
мая 25
2107
4
мая 25
3424