Dear,
I finally installed successfuly the google calendar module.
I have created a event in my google calendar and tried to synchronized it with
openerp.
I got the following error relating a contraint violation inside the DB. I
really don't understand where it comes from.
May be your know such an issue?
Many thanks once again for your help.
Traceback (most recent call last):
File "/usr/lib/openerp-server/netsvc.py", line 231, in dispatch
result = LocalService(service_name)(method, *params)
File "/usr/lib/openerp-server/netsvc.py", line 74, in __call__
return getattr(self, method)(*params)
File "/usr/lib/openerp-server/service/web_services.py", line 552, in execute
return self._execute(db, uid, wiz_id, datas, action, context)
File "/usr/lib/openerp-server/service/web_services.py", line 532, in _execute
return wiz.execute(db, uid, self.wiz_datas[wiz_id], action, context)
File "/usr/lib/openerp-server/wizard/__init__.py", line 178, in execute
res = self.execute_cr(cr, uid, data, state, context)
File "/usr/lib/openerp-server/wizard/__init__.py", line 169, in execute_cr
return self.execute_cr(cr, uid, data, next_state, context)
File "/usr/lib/openerp-server/wizard/__init__.py", line 74, in execute_cr
action_res = action(self, cr, uid, data, context)
File
"/usr/lib/openerp-server/addons/google_calendar.zip/google_calendar/wizard/synchronize_events.py",
line 434, in _synch_events
obj_event.create(cr, uid, val)
File "/usr/lib/openerp-server/osv/orm.py", line 2446, in create
cr.execute('insert into "'+self._table+'" (id'+upd0+") values
("+str(id_new)+upd1+')', tuple(upd2))
File "/usr/lib/openerp-server/sql_db.py", line 76, in wrapper
return f(self, *args, **kwargs)
File "/usr/lib/openerp-server/sql_db.py", line 118, in execute
res = self._obj.execute(query, params)
IntegrityError: insert or update on table "event_event" violates foreign key
constraint "event_event_product_id_fkey"
DETAIL: Key (product_id)=(1) is not present in table "product_product".
-------------------- m2f --------------------
--
http://www.openobject.com/forum/viewtopic.php?p=42282#42282
-------------------- m2f --------------------
_______________________________________________
Tinyerp-users mailing list
http://tiny.be/mailman2/listinfo/tinyerp-users