mirror of
https://github.com/bringout/oca-ocb-l10n_americas.git
synced 2026-04-25 05:32:06 +02:00
Initial commit: L10N_Americas packages
This commit is contained in:
commit
12b27ce151
714 changed files with 79328 additions and 0 deletions
32
odoo-bringout-oca-ocb-l10n_ar/doc/ARCHITECTURE.md
Normal file
32
odoo-bringout-oca-ocb-l10n_ar/doc/ARCHITECTURE.md
Normal file
|
|
@ -0,0 +1,32 @@
|
|||
# Architecture
|
||||
|
||||
```mermaid
|
||||
flowchart TD
|
||||
U[Users] -->|HTTP| V[Views and QWeb Templates]
|
||||
V --> C[Controllers]
|
||||
V --> W[Wizards – Transient Models]
|
||||
C --> M[Models and ORM]
|
||||
W --> M
|
||||
M --> R[Reports]
|
||||
DX[Data XML] --> M
|
||||
S[Security – ACLs and Groups] -. enforces .-> M
|
||||
|
||||
subgraph L10n_ar Module - l10n_ar
|
||||
direction LR
|
||||
M:::layer
|
||||
W:::layer
|
||||
C:::layer
|
||||
V:::layer
|
||||
R:::layer
|
||||
S:::layer
|
||||
DX:::layer
|
||||
end
|
||||
|
||||
classDef layer fill:#eef8ff,stroke:#6ea8fe,stroke-width:1px
|
||||
```
|
||||
|
||||
Notes
|
||||
- Views include tree/form/kanban templates and report templates.
|
||||
- Controllers provide website/portal routes when present.
|
||||
- Wizards are UI flows implemented with `models.TransientModel`.
|
||||
- Data XML loads data/demo records; Security defines groups and access.
|
||||
3
odoo-bringout-oca-ocb-l10n_ar/doc/CONFIGURATION.md
Normal file
3
odoo-bringout-oca-ocb-l10n_ar/doc/CONFIGURATION.md
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
# Configuration
|
||||
|
||||
Refer to Odoo settings for l10n_ar. Configure related models, access rights, and options as needed.
|
||||
3
odoo-bringout-oca-ocb-l10n_ar/doc/CONTROLLERS.md
Normal file
3
odoo-bringout-oca-ocb-l10n_ar/doc/CONTROLLERS.md
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
# Controllers
|
||||
|
||||
This module does not define custom HTTP controllers.
|
||||
6
odoo-bringout-oca-ocb-l10n_ar/doc/DEPENDENCIES.md
Normal file
6
odoo-bringout-oca-ocb-l10n_ar/doc/DEPENDENCIES.md
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
# Dependencies
|
||||
|
||||
This addon depends on:
|
||||
|
||||
- [l10n_latam_invoice_document](../../odoo-bringout-oca-ocb-l10n_latam_invoice_document)
|
||||
- [l10n_latam_base](../../odoo-bringout-oca-ocb-l10n_latam_base)
|
||||
4
odoo-bringout-oca-ocb-l10n_ar/doc/FAQ.md
Normal file
4
odoo-bringout-oca-ocb-l10n_ar/doc/FAQ.md
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
# FAQ
|
||||
|
||||
- Q: Which Odoo version? A: 16.0 (OCA/OCB packaged).
|
||||
- Q: How to enable? A: Start server with --addon l10n_ar or install in UI.
|
||||
7
odoo-bringout-oca-ocb-l10n_ar/doc/INSTALL.md
Normal file
7
odoo-bringout-oca-ocb-l10n_ar/doc/INSTALL.md
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
# Install
|
||||
|
||||
```bash
|
||||
pip install odoo-bringout-oca-ocb-l10n_ar"
|
||||
# or
|
||||
uv pip install odoo-bringout-oca-ocb-l10n_ar"
|
||||
```
|
||||
27
odoo-bringout-oca-ocb-l10n_ar/doc/MODELS.md
Normal file
27
odoo-bringout-oca-ocb-l10n_ar/doc/MODELS.md
Normal file
|
|
@ -0,0 +1,27 @@
|
|||
# Models
|
||||
|
||||
Detected core models and extensions in l10n_ar.
|
||||
|
||||
```mermaid
|
||||
classDiagram
|
||||
class l10n_ar_afip_responsibility_type
|
||||
class account_chart_template
|
||||
class account_fiscal_position
|
||||
class account_fiscal_position_template
|
||||
class account_journal
|
||||
class account_move
|
||||
class account_move_line
|
||||
class account_tax_group
|
||||
class l10n_latam_document_type
|
||||
class l10n_latam_identification_type
|
||||
class res_company
|
||||
class res_country
|
||||
class res_currency
|
||||
class res_partner
|
||||
class res_partner_bank
|
||||
class uom_uom
|
||||
```
|
||||
|
||||
Notes
|
||||
- Classes show model technical names; fields omitted for brevity.
|
||||
- Items listed under _inherit are extensions of existing models.
|
||||
6
odoo-bringout-oca-ocb-l10n_ar/doc/OVERVIEW.md
Normal file
6
odoo-bringout-oca-ocb-l10n_ar/doc/OVERVIEW.md
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
# Overview
|
||||
|
||||
Packaged Odoo addon: l10n_ar. Provides features documented in upstream Odoo 16 under this addon.
|
||||
|
||||
- Source: OCA/OCB 16.0, addon l10n_ar
|
||||
- License: LGPL-3
|
||||
28
odoo-bringout-oca-ocb-l10n_ar/doc/REPORTS.md
Normal file
28
odoo-bringout-oca-ocb-l10n_ar/doc/REPORTS.md
Normal file
|
|
@ -0,0 +1,28 @@
|
|||
# Reports
|
||||
|
||||
Report definitions and templates in l10n_ar.
|
||||
|
||||
```mermaid
|
||||
classDiagram
|
||||
class AccountInvoiceReport
|
||||
Model <|-- AccountInvoiceReport
|
||||
```
|
||||
|
||||
## Available Reports
|
||||
|
||||
### Analytical/Dashboard Reports
|
||||
- **IIBB - Purchases by jurisdiction** (Analysis/Dashboard)
|
||||
- **IIBB - Sales by jurisdiction** (Analysis/Dashboard)
|
||||
|
||||
|
||||
## Report Files
|
||||
|
||||
- **__init__.py** (Python logic)
|
||||
- **invoice_report.py** (Python logic)
|
||||
- **invoice_report_view.xml** (XML template/definition)
|
||||
|
||||
## Notes
|
||||
- Named reports above are accessible through Odoo's reporting menu
|
||||
- Python files define report logic and data processing
|
||||
- XML files contain report templates, definitions, and formatting
|
||||
- Reports are integrated with Odoo's printing and email systems
|
||||
34
odoo-bringout-oca-ocb-l10n_ar/doc/SECURITY.md
Normal file
34
odoo-bringout-oca-ocb-l10n_ar/doc/SECURITY.md
Normal file
|
|
@ -0,0 +1,34 @@
|
|||
# Security
|
||||
|
||||
Access control and security definitions in l10n_ar.
|
||||
|
||||
## Access Control Lists (ACLs)
|
||||
|
||||
Model access permissions defined in:
|
||||
- **[ir.model.access.csv](../l10n_ar/security/ir.model.access.csv)**
|
||||
- 1 model access rules
|
||||
|
||||
## Record Rules
|
||||
|
||||
Row-level security rules defined in:
|
||||
|
||||
```mermaid
|
||||
graph TB
|
||||
subgraph "Security Layers"
|
||||
A[Users] --> B[Groups]
|
||||
B --> C[Access Control Lists]
|
||||
C --> D[Models]
|
||||
B --> E[Record Rules]
|
||||
E --> F[Individual Records]
|
||||
end
|
||||
```
|
||||
|
||||
Security files overview:
|
||||
- **[ir.model.access.csv](../l10n_ar/security/ir.model.access.csv)**
|
||||
- Model access permissions (CRUD rights)
|
||||
|
||||
Notes
|
||||
- Access Control Lists define which groups can access which models
|
||||
- Record Rules provide row-level security (filter records by user/group)
|
||||
- Security groups organize users and define permission sets
|
||||
- All security is enforced at the ORM level by Odoo
|
||||
5
odoo-bringout-oca-ocb-l10n_ar/doc/TROUBLESHOOTING.md
Normal file
5
odoo-bringout-oca-ocb-l10n_ar/doc/TROUBLESHOOTING.md
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
# Troubleshooting
|
||||
|
||||
- Ensure Python and Odoo environment matches repo guidance.
|
||||
- Check database connectivity and logs if startup fails.
|
||||
- Validate that dependent addons listed in DEPENDENCIES.md are installed.
|
||||
7
odoo-bringout-oca-ocb-l10n_ar/doc/USAGE.md
Normal file
7
odoo-bringout-oca-ocb-l10n_ar/doc/USAGE.md
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
# Usage
|
||||
|
||||
Start Odoo including this addon (from repo root):
|
||||
|
||||
```bash
|
||||
python3 scripts/nix_odoo_web_server.py --db-name mydb --addon l10n_ar
|
||||
```
|
||||
3
odoo-bringout-oca-ocb-l10n_ar/doc/WIZARDS.md
Normal file
3
odoo-bringout-oca-ocb-l10n_ar/doc/WIZARDS.md
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
# Wizards
|
||||
|
||||
This module does not include UI wizards.
|
||||
Loading…
Add table
Add a link
Reference in a new issue