Skip to Content
Menu
This question has been flagged
1237 Views

My database was upgraded from Odoo 14 to Odoo 15 using the odoo migration tools. (Most of) the data seem to be correct, but I have unexpected behaviour when trying to update the module om_account_accountant and/or om_fiscal_year. The error log indicates a parse error in om_fiscal_year:


The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/odoo/http.py", line 652, in _handle_exception
    return super(JsonRequest, self)._handle_exception(exception)
  File "/usr/lib/python3/dist-packages/odoo/http.py", line 301, in _handle_exception
    raise exception.with_traceback(None) from new_cause
odoo.tools.convert.ParseError: while parsing /var/lib/odoo/addons/15.0/om_fiscal_year/security/account_security.xml:5, somewhere inside

            Allow to define fiscal years of more or less than a year
            
            
        


When installing these modules in an empty environment I do not get such error. This makes me wonder if there is anything in my data that is causing this error.


Versions:

Odoo: 15.0-20230430 (Community editie)

om_account_accountant: 15.0.6.3.0

om_fiscal_year: 15.0.2.2.0

om_15.0.2.2.0




Avatar
Discard