Skip to Content
Meniu
Trebuie să fiți înregistrat pentru a interacționa cu comunitatea.
Această întrebare a fost marcată
3 Răspunsuri
2434 Vizualizări

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

Imagine profil
Abandonează
Cel mai bun răspuns

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

Imagine profil
Abandonează
Autor

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

Cel mai bun răspuns

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.

```

Imagine profil
Abandonează
Cel mai bun răspuns

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.

Imagine profil
Abandonează
Related Posts Răspunsuri Vizualizări Activitate
2
oct. 25
2584
1
sept. 25
2587
3
iul. 25
4031
1
mai 25
2130
4
mai 25
3469