| Availability |
Odoo Online
Odoo.sh
On Premise
|
| Odoo Apps Dependencies |
Discuss (mail)
|
| Lines of code | 2642 |
| Technical Name |
foundation |
| License | OPL-1 |
| Website | https://praetorx.net |
| Availability |
Odoo Online
Odoo.sh
On Premise
|
| Odoo Apps Dependencies |
Discuss (mail)
|
| Lines of code | 2642 |
| Technical Name |
foundation |
| License | OPL-1 |
| Website | https://praetorx.net |
Foundation
Core Services Layer for PraetorX Business Suite
The Foundation of AI-Powered Enterprise
Foundation is the core services layer that powers all PraetorX suite modules. It provides unified AI integration, security patterns, and configuration management.
Core Services
AI Providers
Unified abstraction layer for OpenAI, Claude, Azure OpenAI, and local LLMs. One configuration, multiple providers.
Security Layer
Enterprise-grade API key encryption using Fernet + PBKDF2. Keys are never stored in plain text.
Settings Patterns
Centralized configuration in General Settings. Consistent UX across all suite modules.
AI Provider Management
Supported Providers
- OpenAI (GPT-4, GPT-4o, GPT-3.5)
- Anthropic Claude (Opus, Sonnet, Haiku)
- Azure OpenAI Service
- Local LLMs (Ollama, LM Studio)
Features
- Connection testing & health checks
- Automatic failover between providers
- Token usage tracking
- Model capability detection
Developer Features
AI Consumer Mixin
Any model can become AI-enabled with one line:
class MyModel(models.Model):
_name = 'my.model'
_inherit = ['mail.thread', 'foundation.ai.consumer']
def do_ai_stuff(self):
result = self._ai_complete("Analyze...")
return result
Wizard Framework
Multi-step wizards with Foundation branding:
- Dark theme support
- Responsive layouts
- Progress indicators
- Consistent styling
PraetorX Suite Modules
More Coming
Ledger, Bridge, Sentinel...
Requirements
Odoo Version: 19.0 Enterprise
Dependencies: Base, Mail
Odoo Proprietary License v1.0 This software and associated files (the "Software") may only be used (executed, modified, executed after modifications) if you have purchased a valid license from the authors, typically via Odoo Apps, or if you have received a written agreement from the authors of the Software (see the COPYRIGHT file). You may develop Odoo modules that use the Software as a library (typically by depending on it, importing it and using its resources), but without copying any source code or material from the Software. You may distribute those modules under the license of your choice, provided that this license is compatible with the terms of the Odoo Proprietary License (For example: LGPL, MIT, or proprietary licenses similar to this one). It is forbidden to publish, distribute, sublicense, or sell copies of the Software or modified copies of the Software. The above copyright notice and this permission notice must be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
Please log in to comment on this module