Overslaan naar inhoud
Menu
Je moet geregistreerd zijn om te kunnen communiceren met de community.
Deze vraag is gerapporteerd
1 Beantwoorden
1719 Weergaven

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

Avatar
Annuleer
Beste antwoord

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
Annuleer
Auteur

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>