Odoo Help

0

Error openupgrade hr module

By
Dago Gallo
on 12/29/14, 5:47 PM 1,242 views

I am trying to migrate my base modules only official, but I always present this error with the module hr, I reviewed the code of the script and already implemented, could someone please help me with this?

2014-12-29 22:15:43,174 18768 ERROR clearcorp08 OpenUpgrade: constraint "meeting_category_rel_event_id_fkey" of relation "meeting_category_rel" does not exist
Traceback (most recent call last):
  File "/home/dago-gallo/Development/odoo/8.0/OpenUpgrade/openerp/openupgrade/openupgrade.py", line 716, in wrapped_function
    func(cr, version)
  File "/home/dago-gallo/Development/odoo/8.0/OpenUpgrade/addons/calendar/migrations/8.0.1.0/post-migration.py", line 179, in migrate
    import_crm_meeting(cr)
  File "/home/dago-gallo/Development/odoo/8.0/OpenUpgrade/addons/calendar/migrations/8.0.1.0/post-migration.py", line 81, in import_crm_meeting
    drop constraint meeting_category_rel_event_id_fkey''')
  File "/home/dago-gallo/Development/odoo/8.0/OpenUpgrade/openerp/sql_db.py", line 158, in wrapper
    return f(self, *args, **kwargs)
  File "/home/dago-gallo/Development/odoo/8.0/OpenUpgrade/openerp/sql_db.py", line 234, in execute
    res = self._obj.execute(query, params)
ProgrammingError: constraint "meeting_category_rel_event_id_fkey" of relation "meeting_category_rel" does not exist

2014-12-29 22:15:43,175 18768 ERROR clearcorp08 openerp.modules.loading: Error executing post migration script for module calendar
`-> hr_holidays
: constraint "meeting_category_rel_event_id_fkey" of relation "meeting_category_rel" does not exist

2014-12-29 22:15:43,190 18768 CRITICAL clearcorp08 openerp.service.server: Failed to initialize database `clearcorp08`.
Traceback (most recent call last):
  File "/home/dago-gallo/Development/odoo/8.0/OpenUpgrade/openerp/service/server.py", line 901, in preload_registries
    registry = RegistryManager.new(dbname, update_module=update_module)
  File "/home/dago-gallo/Development/odoo/8.0/OpenUpgrade/openerp/modules/registry.py", line 324, in new
    openerp.modules.load_modules(registry._db, force_demo, status, update_module)
  File "/home/dago-gallo/Development/odoo/8.0/OpenUpgrade/openerp/modules/loading.py", line 398, in load_modules
    force, status, report, loaded_modules, update_module, upg_registry)
  File "/home/dago-gallo/Development/odoo/8.0/OpenUpgrade/openerp/modules/loading.py", line 295, in load_marked_modules
    loaded, processed = load_module_graph(cr, graph, progressdict, report=report, skip_modules=loaded_modules, perform_checks=perform_checks, upg_registry=upg_registry)
  File "/home/dago-gallo/Development/odoo/8.0/OpenUpgrade/openerp/modules/loading.py", line 215, in load_module_graph
    migrations.migrate_module(package, 'post')
  File "/home/dago-gallo/Development/odoo/8.0/OpenUpgrade/openerp/modules/migration.py", line 179, in migrate_module
    mod.migrate(self.cr, pkg.installed_version)
  File "/home/dago-gallo/Development/odoo/8.0/OpenUpgrade/openerp/openupgrade/openupgrade.py", line 716, in wrapped_function
    func(cr, version)
  File "/home/dago-gallo/Development/odoo/8.0/OpenUpgrade/addons/calendar/migrations/8.0.1.0/post-migration.py", line 179, in migrate
    import_crm_meeting(cr)
  File "/home/dago-gallo/Development/odoo/8.0/OpenUpgrade/addons/calendar/migrations/8.0.1.0/post-migration.py", line 81, in import_crm_meeting
    drop constraint meeting_category_rel_event_id_fkey''')
  File "/home/dago-gallo/Development/odoo/8.0/OpenUpgrade/openerp/sql_db.py", line 158, in wrapper
    return f(self, *args, **kwargs)
  File "/home/dago-gallo/Development/odoo/8.0/OpenUpgrade/openerp/sql_db.py", line 234, in execute
    res = self._obj.execute(query, params)
ProgrammingError: constraint "meeting_category_rel_event_id_fkey" of relation "meeting_category_rel" does not exist

-1
Stephen Mack
On 12/29/14, 7:31 PM

You might get a faster responce by posting a GitHub Issue for OpenUpgrade or by asking for help on their email list.

About This Community

This platform is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.

Register

Odoo Training Center

Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.

Test it now

Question tools

1 follower(s)

Stats

Asked: 12/29/14, 5:47 PM
Seen: 1242 times
Last updated: 3/16/15, 8:10 AM