Skip to Content
Menu
This question has been flagged
1 Reply
1468 Views

I have a custom calendar module v11. How can I upgrade that into v12?

Avatar
Discard
Best Answer

Hi,

First of all you can just put the same module into the odoo12 and try to install it. In some cases if there nothing to change from odoo11 to odoo12, the module will get installed directly without any issues. If it get installed successfully, make sure that there is no error in the views, you can confirm it by checking the working of the module.


if the module is not getting installed, odoo will throw the error, based on the getting error messages, you can make necessary changes.


Thanks

Avatar
Discard
Author

I did exactly that but I did not understand the following error:

odoo.tools.convert.ParseError: "Error while validating constraint

Element '<xpath expr="//script[@src='/web/static/lib/bootstrap-datetimepicker/src/js/bootstrap-datetimepicker.js']">' cannot be located in parent view

Error context:

View `web_persian_bootstrap_datetimepicker assets`

[view_id: 913, xml_id: n/a, model: n/a, parent_id: 168]

None" while parsing None:74, near

<data name="web_persian_bootstrap_datetimepicker assets" inherit_id="web.assets_common">

<xpath expr="//script[@src='/web/static/lib/bootstrap-datetimepicker/src/js/bootstrap-datetimepicker.js']" position="replace">

<script type="text/javascript" src="/artarad_web_persian_calendar/static/lib/bootstrap-datetimepicker.js"/>

</xpath>