Přejít na obsah
Menu
You need to be registered to interact with the community.
This question has been flagged
2 Odpovědi
1039 Zobrazení

Hello,

I'm encountering an Error 500 when restoring my Odoo database. The error seems to be related to the following record in my data:

raise ParseError('while parsing %s:%s, somewhere inside\n%s' % (
odoo.tools.convert.ParseError: while parsing /opt/odoo16/odoo/addons/hr_holidays/data/hr_holidays_data.xml:255, somewhere inside
<record id="holiday_status_cl" model="hr.leave.type">
            <field name="name">Paid Time Off</field>
            <field name="requires_allocation">yes</field>
            <field name="employee_requests">no</field>
            <field name="leave_validation_type">both</field>
            <field name="allocation_validation_type">officer</field>
            <field name="leave_notif_subtype_id" ref="mt_leave"/>
            <field name="allocation_notif_subtype_id" ref="mt_leave_allocation"/>
            <field name="responsible_id" ref="base.user_admin"/>
            <field name="icon_id" ref="hr_holidays.icon_14"/>
            <field name="color">2</field>
            <field name="company_id" eval="False"/> <!-- Explicitely set to False for it to be available to all companies -->
            <field name="sequence">1</field>
        </record>

Has anyone encountered this issue before?

Avatar
Zrušit
Autor Nejlepší odpověď

Hello, thanks for your response.

The problem that  I’m not supposed to modify the Odoo addons only my the custom addons

Do you think there’s another way to resolve this issue without altering the core Odoo module references?

Avatar
Zrušit
Related Posts Odpovědi Zobrazení Aktivita
0
srp 24
1160
2
bře 24
1699
0
kvě 25
30014
3
led 22
4838
3
čvn 16
7307