Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[14.0] website_login_hide #601

Draft
wants to merge 2 commits into
base: 14.0
Choose a base branch
from
Draft

[14.0] website_login_hide #601

wants to merge 2 commits into from

Conversation

itpp-bot
Copy link
Contributor

Made by DINAR by request in #600

close #600

> Made via .github/workflows/DINAR-PORT.yml
@github-actions
Copy link

Migrator's logs:

13:42:32   INFO        [website_login_hide] Running migration from 13.0 to 14.0

Copy link
Contributor

@trojikman trojikman left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Get this during installation:

odoo_1   | 2021-05-04 16:41:02,532 1 INFO website odoo.modules.loading: loading website_login_hide/views.xml 
odoo_1   | 2021-05-04 16:41:02,538 1 WARNING website odoo.modules.loading: Transient module states were reset 
odoo_1   | 2021-05-04 16:41:02,540 1 ERROR website odoo.modules.registry: Failed to load registry 
odoo_1   | 2021-05-04 16:41:02,540 1 CRITICAL website odoo.service.server: Failed to initialize database `website`. 
odoo_1   | Traceback (most recent call last):
odoo_1   |   File "/usr/lib/python3/dist-packages/odoo/tools/convert.py", line 677, in _tag_root
odoo_1   |     f(rec)
odoo_1   |   File "/usr/lib/python3/dist-packages/odoo/tools/convert.py", line 530, in _tag_record
odoo_1   |     raise Exception("Cannot update missing record %r" % xid)
odoo_1   | Exception: Cannot update missing record 'portal.portal_show_sign_in'
odoo_1   | 
odoo_1   | The above exception was the direct cause of the following exception:
odoo_1   | 
odoo_1   | Traceback (most recent call last):
odoo_1   |   File "/usr/lib/python3/dist-packages/odoo/service/server.py", line 1198, in preload_registries
odoo_1   |     registry = Registry.new(dbname, update_module=update_module)
odoo_1   |   File "/usr/lib/python3/dist-packages/odoo/modules/registry.py", line 89, in new
odoo_1   |     odoo.modules.load_modules(registry._db, force_demo, status, update_module)
odoo_1   |   File "/usr/lib/python3/dist-packages/odoo/modules/loading.py", line 455, in load_modules
odoo_1   |     loaded_modules, update_module, models_to_check)
odoo_1   |   File "/usr/lib/python3/dist-packages/odoo/modules/loading.py", line 348, in load_marked_modules
odoo_1   |     perform_checks=perform_checks, models_to_check=models_to_check
odoo_1   |   File "/usr/lib/python3/dist-packages/odoo/modules/loading.py", line 221, in load_module_graph
odoo_1   |     load_data(cr, idref, mode, kind='data', package=package)
odoo_1   |   File "/usr/lib/python3/dist-packages/odoo/modules/loading.py", line 69, in load_data
odoo_1   |     tools.convert_file(cr, package.name, filename, idref, mode, noupdate, kind)
odoo_1   |   File "/usr/lib/python3/dist-packages/odoo/tools/convert.py", line 733, in convert_file
odoo_1   |     convert_xml_import(cr, module, fp, idref, mode, noupdate)
odoo_1   |   File "/usr/lib/python3/dist-packages/odoo/tools/convert.py", line 799, in convert_xml_import
odoo_1   |     obj.parse(doc.getroot())
odoo_1   |   File "/usr/lib/python3/dist-packages/odoo/tools/convert.py", line 719, in parse
odoo_1   |     self._tag_root(de)
odoo_1   |   File "/usr/lib/python3/dist-packages/odoo/tools/convert.py", line 685, in _tag_root
odoo_1   |     )) from e
odoo_1   | odoo.tools.convert.ParseError: while parsing /mnt/addons/website-addons/website_login_hide/views.xml:3, near
odoo_1   | <record id="portal.portal_show_sign_in" model="ir.ui.view">
odoo_1   |         <field name="active" eval="False"/>
odoo_1   |     </record>

@trojikman trojikman marked this pull request as draft May 27, 2021 09:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants