base_contact V6 RC2

Bug #701985 reported by tchiboo
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Odoo Addons (MOVED TO GITHUB)
Fix Released
Medium
OpenERP's Framework R&D

Bug Description

Hi,

It is not possible to proceed to address migration, after installing base_contact module :

Traceback (most recent call last):
  File "/home/entreprises/openobject-server/bin/netsvc.py", line 489, in dispatch
    result = ExportService.getService(service_name).dispatch(method, auth, params)
  File "/home/entreprises/openobject-server/bin/service/web_services.py", line 599, in dispatch
    res = fn(db, uid, *params)
  File "/home/entreprises/openobject-server/bin/osv/osv.py", line 122, in wrapper
    return f(self, dbname, *args, **kwargs)
  File "/home/entreprises/openobject-server/bin/osv/osv.py", line 176, in execute
    res = self.execute_cr(cr, uid, obj, method, *args, **kw)
  File "/home/entreprises/openobject-server/bin/osv/osv.py", line 167, in execute_cr
    return getattr(object, method)(cr, uid, *args, **kw)
  File "/home/entreprises/openobject-server/bin/addons/base/res/res_config.py", line 167, in action_next
    next = self.execute(cr, uid, ids, context=None)
  File "/home/entreprises/openobject-addons/base_contact/base_contact_installer.py", line 53, in execute
    CREATE TRIGGER contactjob AFTER INSERT ON res_partner_contact FOR EACH ROW EXECUTE PROCEDURE add_to_job();""")
  File "/home/entreprises/openobject-server/bin/sql_db.py", line 76, in wrapper
    return f(self, *args, **kwargs)
  File "/home/entreprises/openobject-server/bin/sql_db.py", line 129, in execute
    res = self._obj.execute(query, params)
ProgrammingError: language "plpgsql" does not exist
HINT: Use CREATE LANGUAGE to load the language into the database.

Changed in openobject-server:
assignee: nobody → OpenERP's Framework R&D (openerp-dev-framework)
importance: Undecided → Medium
status: New → Confirmed
affects: openobject-server → openobject-addons
Revision history for this message
Olivier Dony (Odoo) (odo-openerp) wrote :

Hello,

This has been fixed in trunk addons, revision 4237 <email address hidden>.
Thanks for reporting!

As a workaround, you can also manually enable the PL/pgSQL language in your database before launching the migration wizard, by executing the following query in the database:
    CREATE LANGUAGE plpgsql;
or by using the 'createlang' command in your favorite terminal:
    $ createlang plpgsql <DBNAME>

This is done automatically after revision 4237.

Changed in openobject-addons:
milestone: none → 6.0
status: Confirmed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.