$ 268.24
| Availability |
Odoo Online
Odoo.sh
On Premise
|
| Odoo Apps Dependencies |
Discuss (mail)
|
| Community Apps Dependencies | Show |
| Lines of code | 2219 |
| Technical Name |
ai_customize_report_layout |
| License | OPL-1 |
| Website | https://www.atharvasystem.com/odoo-development |
| Availability |
Odoo Online
Odoo.sh
On Premise
|
| Odoo Apps Dependencies |
Discuss (mail)
|
| Community Apps Dependencies | Show |
| Lines of code | 2219 |
| Technical Name |
ai_customize_report_layout |
| License | OPL-1 |
| Website | https://www.atharvasystem.com/odoo-development |
AI Customize
Report Layout
Empower your document layouts with AI. Generate custom, beautiful report layouts in seconds using simple text prompts, backed by powerful AI models.
Key
Features
AI-Powered Generation
Create unique invoice and report layouts instantly using textual descriptions. Let the AI do the design heavy lifting.
Live Preview
Instantly see the effects of your prompts on the document layout in real-time before applying them.
Prompt History & Rollback
View your past layout modifications and seamlessly revert to any previous state if you want to undo your changes.
Quick Prompt Copy
Easily copy your most effective prompts from your history to re-apply identical styles to other reports quickly.
Configure Multiple Providers
Seamless support for top generic AI models to handle your layout generation, giving you flexibility.
Rename AI Layouts
Give your AI-generated layouts a meaningful custom name using the built-in Rename Layout wizard for easy identification.
Google Fonts Integration
Enhance your reports with beautiful typography. The generator seamlessly supports Google Fonts, allowing the AI to apply stunning, modern font styles to your layouts automatically.
Reset to Default Layout
Don't like the AI's changes? Instantly reset any heavily modified or unsaved AI layout back to its original standard Odoo template with a single click.
Seamless Integration
Works perfectly out-of-the-box with standard Odoo document templates like Invoices, Sales Orders, and Quotations without needing complex configurations.
Multi-Provider
AI Support
Connect to your preferred AI provider with seamless switching. No vendor lock-in.
Required
Base Modules
AI Configuration Base
The ai_configuration_base module securely manages your AI Access Token and provider API Keys. It centralizes connection setup across all AI applications, ensuring your credentials remain safe and easy to edit in one single place (Settings > AI Configuration) without exposing them directly inside reports or modules.
Atharva AI Base
The atharva_ai_base module connects the Odoo framework seamlessly to LLMs like Gemini. It formats payloads, structures dynamic prompts, and routes API requests natively, allowing you to instantly generate the actual layout markup without writing integration code from scratch.
PDF
Limitations
Odoo uses wkhtmltopdf to convert HTML layouts into PDF reports. Because this uses an older rendering engine, keep these restrictions in mind when prompting the AI:
No Flexbox or Grid
Modern layout systems like display: flex or display: grid are not supported. Ask the AI to use standard Bootstrap classes (like col-6), traditional float, or standard HTML <table> elements for columns.
Basic CSS Only
Avoid using CSS variables (var(--color)) or advanced CSS3 styling. Stick to classic inline styles and basic CSS rules when asking the AI to colorize or modify layout elements.
Backgrounds & Breaks
Complex background images, gradients, or overlays might not render precisely in the PDF. Page breaks (page-break-inside: avoid) may be ignored if elements are nested too deeply. Keep structures clean.
How It
Works
1. Set Up AI Configuration
ConfigurationGo to Settings > AI Configuration. First, add your valid Access Token. Then choose your AI Provider (e.g. Gemini), enter and validate the API Key, and select the AI Model you want to use.
2. Open Document Layout Settings
SettingsNavigate to Settings > General Settings > Companies section. Click the "Configure Document Layout" link to open the layout configurator.
3. Click "Create Layout with AI"
WizardInside the Document Layout configurator, you'll see the "Create Layout with AI" button at the bottom. Click it to open the AI Layout Wizard.
4. Enter Layout Name & Prompt
CreationThe AI Layout Wizard opens with an AI Designer section. Give your layout a name (e.g. "AI Generated Layout Preview"), then type your desired changes in the User Prompt field (e.g. color, background, style) and click "Generate".
5. Prompt History & Quick Copy
HistoryEvery prompt you generate is automatically saved in the Prompt History. You can see all your past prompts, and use the copy icon to quickly reuse a successful prompt for other layouts.
6. Rollback & Reset Layout
RollbackNot happy with the latest change? Click the edit icon on any older prompt in the history to revert the layout to that state. You can also use the "Reset Layout" button to start fresh from the original template.
7. Save & Apply Your AI Layout
SaveOnce satisfied with the live preview, click "Apply Layout" to save it. Your AI-generated layout now appears as a native layout card alongside standard Odoo layouts (Light, Boxed, Bold, etc.). You can Continue to use it, Delete it, or open it again with "Create Layout with AI".
8. Print the report
ResultThe selected layout is applied when printing the report.
9. Rename Your AI Layout
RenameWant to give your layout a better name? Click the "Rename Layout" button in the Document Layout configurator. A dialog opens where you can type a new name and click "Rename" to save it instantly.
10. Layout Renamed Successfully
ResultAfter renaming, the layout card in the configurator is updated to show the new name (e.g. "AI Layout 1"). You can continue using, editing, or deleting the layout as needed.
11. Print Reports with Your AI Layout
ExecutionGo to any document (Quotation, Sales Order, Invoice) and hit Print. Your custom AI-generated layout is automatically applied to the printed document, giving it a beautiful, unique look.
Sample
Outputs
Invoice â Colorful Gradient Header
InvoiceAn eye-catching invoice layout with a vibrant maroon-to-purple gradient header band, a clean borderless table design, and a structured summary section with page numbering.
Invoice â Maroon Professional Style
InvoiceA polished invoice report with a maroon color scheme, bold header title, colored date labels, and a professional table layout with highlighted totals.
Sales Order â Dark Green Theme
Sales OrderA sleek sales order layout featuring dark green table headers, a red accent line separator, and a well-organized structure with full shipping details.
Quotation â Blue & Gold Theme
QuotationA stylish quotation layout featuring blue table headers with gold accent borders, a bold blue header line, and a clean summary section with highlighted totals.
Report â Custom AI Theme
Custom ReportA fully customized report layout generated instantly by the AI, showing off tailored typography, clean data presentation, and precise report structure.
Important
Notes
License Validation & Fair Use
To ensure fair use and prevent unauthorized sharing, this module performs a one-time license validation during installation. We collect minimal technical information including your database UUID, instance URL, and administrator contact details. This data is used solely for license verification and is never shared with third parties. This helps us maintain affordable one-time pricing while ensuring every user has a legitimate copy.
You may
also like
Atharva System
Innovating Odoo experiences for Enterprise and Community users.
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