Skip to Content
เมนู
คุณต้องลงทะเบียนเพื่อโต้ตอบกับคอมมูนิตี้
คำถามนี้ถูกตั้งค่าสถานะ
3 ตอบกลับ
2439 มุมมอง

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
2590
1
ก.ย. 25
2589
3
ก.ค. 25
4032
1
พ.ค. 25
2137
4
พ.ค. 25
3472