Advertisement
Guest User

Untitled

a guest
Jun 29th, 2013
81
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.88 KB | None | 0 0
  1. Traceback (most recent call last):
  2. File "/dist-packages/trytond/protocols/jsonrpc.py", line 108, in _marshaled_dispatch
  3. response['result'] = dispatch_method(method, params)
  4. File "/dist-packages/trytond/protocols/jsonrpc.py", line 147, in _dispatch
  5. res = dispatch(*args)
  6. File "/dist-packages/trytond/protocols/dispatcher.py", line 155, in dispatch
  7. res = getattr(obj, method)(*args_without_context, **kargs)
  8. File "/dist-packages/trytond/model/modelsql.py", line 1119, in delete
  9. 'WHERE ' + red_sql, red_ids)
  10. File "/dist-packages/trytond/backend/postgresql/database.py", line 319, in execute
  11. res = self.cursor.execute(sql, params)
  12. IntegrityError: update or delete on table "product_category" violates foreign key constraint "product_template_category_fkey" on table "product_template"
  13. DETAIL: Key (id)=(10) is still referenced from table "product_template".
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement