Credport by Grupo Quanam Colombia SAS
Odoo module for Colombian accounting extensions and customizations.
Overview
This module extends the standard Odoo account.move and account.move.line models to add Colombian-specific accounting features, including multi-currency handling, exchange rate management, and custom report templates.
Author
Grupo Quanam Colombia SAS
- Website: https://grupoquanam.com.co
- License: LGPL-3
Version
1.0
Dependencies
account- Odoo base accounting module
Features
Account Move Extensions
- Multi-Currency Support: Detects when transactions use currencies different from the company's default currency
- Exchange Rate Management:
- Custom exchange date field
- User-defined exchange rates
- Automatic exchange rate computation
- Payment States: Extended payment state selection including "Cancelado(a)"
- Amount Text Conversion: Converts monetary amounts to text (Spanish localization)
- Debit/Credit Totals: Computes and displays total debits and credits on journal entries
Account Move Line Extensions
- Exchange Difference Handling: Automatically updates references on exchange difference journal entries
- Analytic Account Inheritance: Inherits analytic accounts from linked stock moves
- Analytic Tags Inheritance: Inherits analytic tags from linked stock moves
Security Groups
The module provides the following security groups:
- Crear y/o modificar cuentas analíticas - Create and modify analytic accounts
- Crear y/o modificar etiquetas analíticas - Create and modify analytic tags
- Crear y/o modificar productos o servicios - Create and modify products/services
- Seleccionar Multiples Compañias - Select multiple companies
- Tipo de cambio en los asientos contables - Exchange rate in accounting entries
Custom Views
- Modified invoice tree view showing original total amount
- Modified invoice form with exchange rate fields
Reports
The module includes custom report templates:
custom_report.xml- Custom report layoutexternal_layout.xml- External document layoutpaperformat.xml- Paper format configurationreports.xml- Report definitionsjournal_entries.xml- Journal entries reportcontingency_bill.xml- Contingency bill reportrequisitions.xml- Requisitions report
Installation
- Copy the module to your Odoo addons directory
- Restart Odoo server
- Update the apps list
- Install "Credport by Grupo Quanam Colombia SAS"
Usage
Exchange Rate Configuration
When creating or editing invoices in foreign currencies:
- The module automatically detects if the invoice uses a different currency than the company's default
- Set the
exchange_dateto specify the date for the exchange rate - Toggle
user_exchange_rateto manually input a custom exchange rate - The
exchange_ratefield becomes available for manual input whenuser_exchange_rateis enabled
Invoice Status Updates
The module includes a method update_invoice_status for updating Colombian electronic invoice status (DIAN).
File Structure
credport_quanamco/
├── __init__.py # Module initialization
├── __manifest__.py # Module manifest
├── models/
│ ├── __init__.py
│ ├── credport_account_move.py # AccountMove model extensions
│ └── credport_account_move_line.py # AccountMoveLine model extensions
├── views/
│ └── credport_account_move_views.xml # Custom view definitions
├── security/
│ ├── ir.model.access.csv # Access control list
│ └── security.xml # Security group definitions
└── reports/
├── custom_report.xml
├── external_layout.xml
├── paperformat.xml
├── reports.xml
├── journal_entries.xml
├── contingency_bill.xml
└── requisitions.xml
Technical Details
Model Extensions
account.move- Extended with exchange rate fields, amount text conversion, and debit/credit totalsaccount.move.line- Extended with exchange difference handling and analytic account inheritance
Key Methods
_compute_other_currency()- Computes if the move uses a different currency_post()- Custom posting logic to preserve partner informationupdate_invoice_status()- Updates Colombian electronic invoice status_amount_text()- Converts amount to text representation_amount_debit_credit()- Computes debit and credit totals_create_exchange_difference_move()- Handles exchange difference journal entries_compute_analytic_account_id()- Inherits analytic account from stock moves_compute_analytic_tag_ids()- Inherits analytic tags from stock moves
License
This module is licensed under the GNU Lesser General Public License v3.0 (LGPL-3).
Support
For support, please contact Grupo Quanam Colombia SAS at https://grupoquanam.com.co
On this page
Contributors
Created February 16, 2024
Updated January 14, 2026