feat(integrations): add Odoo XML-RPC client
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
23
services/integrations/app/odoo/exceptions.py
Normal file
23
services/integrations/app/odoo/exceptions.py
Normal file
@@ -0,0 +1,23 @@
|
||||
class OdooError(Exception):
|
||||
"""Base Odoo exception"""
|
||||
pass
|
||||
|
||||
|
||||
class OdooConnectionError(OdooError):
|
||||
"""Failed to connect to Odoo"""
|
||||
pass
|
||||
|
||||
|
||||
class OdooAuthError(OdooError):
|
||||
"""Authentication failed"""
|
||||
pass
|
||||
|
||||
|
||||
class OdooNotFoundError(OdooError):
|
||||
"""Record not found"""
|
||||
pass
|
||||
|
||||
|
||||
class OdooValidationError(OdooError):
|
||||
"""Validation error from Odoo"""
|
||||
pass
|
||||
Reference in New Issue
Block a user