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

Error migrating to 8.0 #97

Closed
ffurlanetto opened this issue Aug 28, 2014 · 13 comments
Closed

Error migrating to 8.0 #97

ffurlanetto opened this issue Aug 28, 2014 · 13 comments

Comments

@ffurlanetto
Copy link

2014-08-26 11:13:04,144 16889 INFO ffurlanetto_migrated openerp.modules.loading: module base: loading base_data.xml
2014-08-26 11:13:04,329 16889 ERROR ffurlanetto_migrated openerp.addons.base.ir.ir_ui_view: Field menu_id does not exist

Error context:
View res.users.groups
[view_id: 159, xml_id: base.user_groups_view, model: res.users, parent_id: 156]
2014-08-26 11:13:04,397 16889 ERROR ffurlanetto_migrated openerp.addons.base.ir.ir_ui_view: Field menu_id does not exist

Error context:
View res.users.groups
[view_id: 159, xml_id: base.user_groups_view, model: res.users, parent_id: 156]

@ffurlanetto
Copy link
Author

There is also related bugs in launchpad
https://answers.launchpad.net/openupgrade-server/+question/253039
and severals messages about this issue (launchpad too)

@cysnake4713
Copy link

I have the same problem!!! do you find way to fix it? @ffurlanetto

@lebanonsky
Copy link

I am stuck with this bug as well. The question in launchpad is closed, so I cannot see if some one has sovled the problem.

@legalsylvain
Copy link
Contributor

Hi,

Can you detail which modules was installed on your database V7 ?

Regards.

@lebanonsky
Copy link

These are the modules I have in the migrated installation:
"base.module_mail"
"base.module_project"
"base.module_hr"
"base.module_hr_timesheet"
"base.module_hr_timesheet_sheet"
"base.module_hr_holidays"
"base.module_analytic"
"base.module_auth_signup"
"base.module_base"
"base.module_base_action_rule"
"base.module_base_calendar"
"base.module_base_import"
"base.module_base_setup"
"base.module_base_status"
"base.module_board"
"base.module_decimal_precision"
"base.module_document"
"base.module_document_page"
"base.module_email_template"
"base.module_fetchmail"
"base.module_hr_attendance"
"base.module_hr_contract"
"base.module_knowledge"
"base.module_process"
"base.module_product"
"base.module_resource"
"base.module_web"
"base.module_web_calendar"
"base.module_web_gantt"
"base.module_web_graph"
"base.module_web_kanban"
"base.module_web_tests"
"base.module_web_view_editor"

But I tried also with clean install with demo data and even with out it. All came up with the same error.

@lebanonsky
Copy link

Markdown maybe ate some of the error code...

Field menu_id does not exist

Error context:
View res.users.groups
[view_id: 159, xml_id: base.user_groups_view, model: res.users, parent_id: 156]" while parsing /var/tmp/openupgrade/8.0/server/openerp/addons/base/base_data.xml:88, near

record id="group_portal" model="res.groups"
field name="name" Portal /field
field name="comment" Portal members have specific access rights (such as record rules and restricted menus).
They usually do not belong to the usual OpenERP groups. /field
/record

@NaScha
Copy link

NaScha commented Oct 2, 2014

I am facing the same problem when trying to migrate from v7 to v8. Any hints how to proceed?

@StefanRijnhart
Copy link
Member

These entries are created in stock_data.yml which should be loaded during a succesful migration of the stock module. Note that the stock module is not covered yet by the leading 8.0 branch of OpenUpgrade. You can try to merge the proposal #94 in your tree and try again. In any case, check the log file for errors during the upgrade.

@lebanonsky
Copy link

Thank you for the advice. Applied the pull but still got the same error when trying to migrate a empty installation with NO extra modules installed.

@pankk
Copy link
Member

pankk commented Oct 6, 2014

A temporary(!) workaround is to change your openerp/addons/base/openerp.py and move the 'res/res_users_view.xml', in the data list to the top of the data list.

@lebanonsky
Copy link

thanks pankk - that cleared that error but ended up with a new one...

@NaScha
Copy link

NaScha commented Oct 8, 2014

Could anybody please post the git command to merge proposal #94 into the current 8.0 tree? Have not been so familiar with that yet...

@hbrunn
Copy link
Member

hbrunn commented Oct 21, 2014

Those errors should be fixed by #111

@hbrunn hbrunn closed this as completed Oct 21, 2014
tranngocson1996 pushed a commit to tranngocson1996/OpenUpgrade that referenced this issue Mar 14, 2022
…am_14_220215_01

Merged from upstream 14 220215 01
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

No branches or pull requests

8 participants