mirror of
https://github.com/bringout/oca-ocb-l10n_europe.git
synced 2026-04-27 08:02:04 +02:00
Initial commit: L10N_Europe packages
This commit is contained in:
commit
9803722600
2377 changed files with 380711 additions and 0 deletions
56
odoo-bringout-oca-ocb-l10n_cr/README.md
Normal file
56
odoo-bringout-oca-ocb-l10n_cr/README.md
Normal file
|
|
@ -0,0 +1,56 @@
|
|||
# Costa Rica - Accounting
|
||||
|
||||
|
||||
Chart of accounts for Costa Rica.
|
||||
=================================
|
||||
|
||||
Includes:
|
||||
---------
|
||||
* account.account.template
|
||||
* account.tax.template
|
||||
* account.chart.template
|
||||
|
||||
Everything is in English with Spanish translation. Further translations are welcome,
|
||||
please go to http://translations.launchpad.net/openerp-costa-rica.
|
||||
|
||||
|
||||
## Installation
|
||||
|
||||
```bash
|
||||
pip install odoo-bringout-oca-ocb-l10n_cr
|
||||
```
|
||||
|
||||
## Dependencies
|
||||
|
||||
This addon depends on:
|
||||
- account
|
||||
|
||||
## Manifest Information
|
||||
|
||||
- **Name**: Costa Rica - Accounting
|
||||
- **Version**: N/A
|
||||
- **Category**: Accounting/Localizations/Account Charts
|
||||
- **License**: LGPL-3
|
||||
- **Installable**: False
|
||||
|
||||
## Source
|
||||
|
||||
Based on [OCA/OCB](https://github.com/OCA/OCB) branch 16.0, addon `l10n_cr`.
|
||||
|
||||
## License
|
||||
|
||||
This package maintains the original LGPL-3 license from the upstream Odoo project.
|
||||
|
||||
## Documentation
|
||||
|
||||
- Overview: doc/OVERVIEW.md
|
||||
- Architecture: doc/ARCHITECTURE.md
|
||||
- Models: doc/MODELS.md
|
||||
- Controllers: doc/CONTROLLERS.md
|
||||
- Wizards: doc/WIZARDS.md
|
||||
- Install: doc/INSTALL.md
|
||||
- Usage: doc/USAGE.md
|
||||
- Configuration: doc/CONFIGURATION.md
|
||||
- Dependencies: doc/DEPENDENCIES.md
|
||||
- Troubleshooting: doc/TROUBLESHOOTING.md
|
||||
- FAQ: doc/FAQ.md
|
||||
32
odoo-bringout-oca-ocb-l10n_cr/doc/ARCHITECTURE.md
Normal file
32
odoo-bringout-oca-ocb-l10n_cr/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_cr Module - l10n_cr
|
||||
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_cr/doc/CONFIGURATION.md
Normal file
3
odoo-bringout-oca-ocb-l10n_cr/doc/CONFIGURATION.md
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
# Configuration
|
||||
|
||||
Refer to Odoo settings for l10n_cr. Configure related models, access rights, and options as needed.
|
||||
3
odoo-bringout-oca-ocb-l10n_cr/doc/CONTROLLERS.md
Normal file
3
odoo-bringout-oca-ocb-l10n_cr/doc/CONTROLLERS.md
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
# Controllers
|
||||
|
||||
This module does not define custom HTTP controllers.
|
||||
5
odoo-bringout-oca-ocb-l10n_cr/doc/DEPENDENCIES.md
Normal file
5
odoo-bringout-oca-ocb-l10n_cr/doc/DEPENDENCIES.md
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
# Dependencies
|
||||
|
||||
This addon depends on:
|
||||
|
||||
- [account](../../odoo-bringout-oca-ocb-account)
|
||||
4
odoo-bringout-oca-ocb-l10n_cr/doc/FAQ.md
Normal file
4
odoo-bringout-oca-ocb-l10n_cr/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_cr or install in UI.
|
||||
7
odoo-bringout-oca-ocb-l10n_cr/doc/INSTALL.md
Normal file
7
odoo-bringout-oca-ocb-l10n_cr/doc/INSTALL.md
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
# Install
|
||||
|
||||
```bash
|
||||
pip install odoo-bringout-oca-ocb-l10n_cr"
|
||||
# or
|
||||
uv pip install odoo-bringout-oca-ocb-l10n_cr"
|
||||
```
|
||||
11
odoo-bringout-oca-ocb-l10n_cr/doc/MODELS.md
Normal file
11
odoo-bringout-oca-ocb-l10n_cr/doc/MODELS.md
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
# Models
|
||||
|
||||
Detected core models and extensions in l10n_cr.
|
||||
|
||||
```mermaid
|
||||
classDiagram
|
||||
```
|
||||
|
||||
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_cr/doc/OVERVIEW.md
Normal file
6
odoo-bringout-oca-ocb-l10n_cr/doc/OVERVIEW.md
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
# Overview
|
||||
|
||||
Packaged Odoo addon: l10n_cr. Provides features documented in upstream Odoo 16 under this addon.
|
||||
|
||||
- Source: OCA/OCB 16.0, addon l10n_cr
|
||||
- License: LGPL-3
|
||||
3
odoo-bringout-oca-ocb-l10n_cr/doc/REPORTS.md
Normal file
3
odoo-bringout-oca-ocb-l10n_cr/doc/REPORTS.md
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
# Reports
|
||||
|
||||
This module does not define custom reports.
|
||||
8
odoo-bringout-oca-ocb-l10n_cr/doc/SECURITY.md
Normal file
8
odoo-bringout-oca-ocb-l10n_cr/doc/SECURITY.md
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
# Security
|
||||
|
||||
This module does not define custom security rules or access controls beyond Odoo defaults.
|
||||
|
||||
Default Odoo security applies:
|
||||
- Base user access through standard groups
|
||||
- Model access inherited from dependencies
|
||||
- No custom row-level security rules
|
||||
5
odoo-bringout-oca-ocb-l10n_cr/doc/TROUBLESHOOTING.md
Normal file
5
odoo-bringout-oca-ocb-l10n_cr/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_cr/doc/USAGE.md
Normal file
7
odoo-bringout-oca-ocb-l10n_cr/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_cr
|
||||
```
|
||||
3
odoo-bringout-oca-ocb-l10n_cr/doc/WIZARDS.md
Normal file
3
odoo-bringout-oca-ocb-l10n_cr/doc/WIZARDS.md
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
# Wizards
|
||||
|
||||
This module does not include UI wizards.
|
||||
35
odoo-bringout-oca-ocb-l10n_cr/l10n_cr/__init__.py
Normal file
35
odoo-bringout-oca-ocb-l10n_cr/l10n_cr/__init__.py
Normal file
|
|
@ -0,0 +1,35 @@
|
|||
# -*- coding: utf-8 -*-
|
||||
# Part of Odoo. See LICENSE file for full copyright and licensing details.
|
||||
|
||||
##############################################################################
|
||||
#
|
||||
# __init__.py
|
||||
# l10n_cr_account
|
||||
# First author: Carlos Vásquez <carlos.vasquez@clearcorp.co.cr> (ClearCorp S.A.)
|
||||
# Copyright (c) 2010-TODAY ClearCorp S.A. (http://clearcorp.co.cr). All rights reserved.
|
||||
#
|
||||
# Redistribution and use in source and binary forms, with or without modification, are
|
||||
# permitted provided that the following conditions are met:
|
||||
#
|
||||
# 1. Redistributions of source code must retain the above copyright notice, this list of
|
||||
# conditions and the following disclaimer.
|
||||
#
|
||||
# 2. Redistributions in binary form must reproduce the above copyright notice, this list
|
||||
# of conditions and the following disclaimer in the documentation and/or other materials
|
||||
# provided with the distribution.
|
||||
#
|
||||
# THIS SOFTWARE IS PROVIDED BY <COPYRIGHT HOLDER> ``AS IS'' AND ANY EXPRESS OR IMPLIED
|
||||
# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND
|
||||
# FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL <COPYRIGHT HOLDER> OR
|
||||
# CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
|
||||
# CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
|
||||
# SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON
|
||||
# ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
|
||||
# NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
|
||||
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
#
|
||||
# The views and conclusions contained in the software and documentation are those of the
|
||||
# authors and should not be interpreted as representing official policies, either expressed
|
||||
# or implied, of ClearCorp S.A..
|
||||
#
|
||||
##############################################################################
|
||||
69
odoo-bringout-oca-ocb-l10n_cr/l10n_cr/__manifest__.py
Normal file
69
odoo-bringout-oca-ocb-l10n_cr/l10n_cr/__manifest__.py
Normal file
|
|
@ -0,0 +1,69 @@
|
|||
# -*- coding: utf-8 -*-
|
||||
# Part of Odoo. See LICENSE file for full copyright and licensing details.
|
||||
|
||||
##############################################################################
|
||||
#
|
||||
# l10n_cr_account
|
||||
# First author: Carlos Vásquez <carlos.vasquez@clearcorp.co.cr> (ClearCorp S.A.)
|
||||
# Copyright (c) 2010-TODAY ClearCorp S.A. (http://clearcorp.co.cr). All rights reserved.
|
||||
#
|
||||
# Redistribution and use in source and binary forms, with or without modification, are
|
||||
# permitted provided that the following conditions are met:
|
||||
#
|
||||
# 1. Redistributions of source code must retain the above copyright notice, this list of
|
||||
# conditions and the following disclaimer.
|
||||
#
|
||||
# 2. Redistributions in binary form must reproduce the above copyright notice, this list
|
||||
# of conditions and the following disclaimer in the documentation and/or other materials
|
||||
# provided with the distribution.
|
||||
#
|
||||
# THIS SOFTWARE IS PROVIDED BY <COPYRIGHT HOLDER> ``AS IS'' AND ANY EXPRESS OR IMPLIED
|
||||
# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND
|
||||
# FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL <COPYRIGHT HOLDER> OR
|
||||
# CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
|
||||
# CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
|
||||
# SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON
|
||||
# ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
|
||||
# NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
|
||||
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
#
|
||||
# The views and conclusions contained in the software and documentation are those of the
|
||||
# authors and should not be interpreted as representing official policies, either expressed
|
||||
# or implied, of ClearCorp S.A..
|
||||
#
|
||||
##############################################################################
|
||||
|
||||
{
|
||||
'name': 'Costa Rica - Accounting',
|
||||
'url': 'https://github.com/CLEARCORP/odoo-costa-rica',
|
||||
'author': 'ClearCorp S.A.',
|
||||
'website': 'http://clearcorp.co.cr',
|
||||
'category': 'Accounting/Localizations/Account Charts',
|
||||
'description': """
|
||||
Chart of accounts for Costa Rica.
|
||||
=================================
|
||||
|
||||
Includes:
|
||||
---------
|
||||
* account.account.template
|
||||
* account.tax.template
|
||||
* account.chart.template
|
||||
|
||||
Everything is in English with Spanish translation. Further translations are welcome,
|
||||
please go to http://translations.launchpad.net/openerp-costa-rica.
|
||||
""",
|
||||
'depends': ['account'],
|
||||
'data': [
|
||||
'data/l10n_cr_res_partner_title.xml',
|
||||
'data/l10n_cr_chart_data.xml',
|
||||
'data/account.account.template.csv',
|
||||
'data/account_tax_group_data.xml',
|
||||
'data/account_chart_template_data.xml',
|
||||
'data/account_tax_template_data.xml',
|
||||
'data/account_chart_template_configure_data.xml',
|
||||
],
|
||||
'demo': [
|
||||
'demo/demo_company.xml',
|
||||
],
|
||||
'license': 'LGPL-3',
|
||||
}
|
||||
|
|
@ -0,0 +1,99 @@
|
|||
"id","name","code","account_type","chart_template_id/id","reconcile"
|
||||
"account_account_template_0_111301","0-Cuenta PayPal 1","0.111301","asset_cash","l10n_cr.account_chart_template_0","False"
|
||||
"account_account_template_0_111401","0-Fondos en tránsito en tesorería","0.111401","asset_current","l10n_cr.account_chart_template_0","False"
|
||||
"account_account_template_0_111403","0-Fondos en tránsito de PayPal a Bancos","0.111403","asset_current","l10n_cr.account_chart_template_0","False"
|
||||
"account_account_template_0_111501","0-Inversión 1","0.111501","asset_current","l10n_cr.account_chart_template_0","False"
|
||||
"account_account_template_0_112001","0-Cuentas por cobrar comerciales","0.112001","asset_receivable","l10n_cr.account_chart_template_0","True"
|
||||
"account_account_template_0_112011","0-Cuentas por cobrar comerciales (PoS)","0.112011","asset_receivable","l10n_cr.account_chart_template_0","True"
|
||||
"account_account_template_0_112002","0-Cuentas por cobrar a compañías relacionadas","0.112002","asset_receivable","l10n_cr.account_chart_template_0","True"
|
||||
"account_account_template_0_112003","0-Cuentas por cobrar a empleados","0.112003","asset_receivable","l10n_cr.account_chart_template_0","True"
|
||||
"account_account_template_0_112004","0-Otras cuentas por cobrar","0.112004","asset_receivable","l10n_cr.account_chart_template_0","True"
|
||||
"account_account_template_0_112005","0-Inversiones de corto plazo","0.112005","asset_receivable","l10n_cr.account_chart_template_0","True"
|
||||
"account_account_template_0_113101","0-Inventario de producto para la venta","0.113101","asset_current","l10n_cr.account_chart_template_0","False"
|
||||
"account_account_template_0_113102","0-Inventario de consumibles","0.113102","asset_current","l10n_cr.account_chart_template_0","False"
|
||||
"account_account_template_0_121111","0-Terreno 1","0.121111","asset_current","l10n_cr.account_chart_template_0","False"
|
||||
"account_account_template_0_121121","0-Terreno 1","0.121121","asset_current","l10n_cr.account_chart_template_0","False"
|
||||
"account_account_template_0_122111","0-Edificio 1","0.122111","asset_current","l10n_cr.account_chart_template_0","False"
|
||||
"account_account_template_0_122121","0-Edificio 1","0.122121","asset_current","l10n_cr.account_chart_template_0","False"
|
||||
"account_account_template_0_122211","0-Edificio 1","0.122211","asset_current","l10n_cr.account_chart_template_0","False"
|
||||
"account_account_template_0_122221","0-Edificio 1","0.122221","asset_current","l10n_cr.account_chart_template_0","False"
|
||||
"account_account_template_0_122301","0-Maquinaria y equipo de edificios","0.122301","asset_current","l10n_cr.account_chart_template_0","False"
|
||||
"account_account_template_0_122302","0-Herramientas mayores","0.122302","asset_current","l10n_cr.account_chart_template_0","False"
|
||||
"account_account_template_0_122303","0-Moibliario y equipo de oficina","0.122303","asset_current","l10n_cr.account_chart_template_0","False"
|
||||
"account_account_template_0_122304","0-Equipo de cómputo","0.122304","asset_current","l10n_cr.account_chart_template_0","False"
|
||||
"account_account_template_0_122305","0-Vehículos","0.122305","asset_current","l10n_cr.account_chart_template_0","False"
|
||||
"account_account_template_0_131101","0-Edificio 1","0.131101","asset_current","l10n_cr.account_chart_template_0","False"
|
||||
"account_account_template_0_131201","0-Edificio 1","0.131201","asset_current","l10n_cr.account_chart_template_0","False"
|
||||
"account_account_template_0_132101","0-Edificio 1","0.132101","asset_current","l10n_cr.account_chart_template_0","False"
|
||||
"account_account_template_0_132201","0-Edificio 1","0.132201","asset_current","l10n_cr.account_chart_template_0","False"
|
||||
"account_account_template_0_133001","0-Dep. ac. de maquinaria y equipo de edificios","0.133001","asset_current","l10n_cr.account_chart_template_0","False"
|
||||
"account_account_template_0_133002","0-Dep. ac. de herramientas mayores","0.133002","asset_current","l10n_cr.account_chart_template_0","False"
|
||||
"account_account_template_0_133003","0-Dep. ac. de mobiliario y equipo de oficina","0.133003","asset_current","l10n_cr.account_chart_template_0","False"
|
||||
"account_account_template_0_133004","0-Dep. ac. de equipo de cómputo","0.133004","asset_current","l10n_cr.account_chart_template_0","False"
|
||||
"account_account_template_0_133005","0-Dep. ac. de vehículos","0.133005","asset_current","l10n_cr.account_chart_template_0","False"
|
||||
"account_account_template_0_141001","0-Pólizas de seguros prepagadas","0.141001","asset_receivable","l10n_cr.account_chart_template_0","True"
|
||||
"account_account_template_0_142001","0-Depósitos sobre derechos telefónicos","0.142001","asset_receivable","l10n_cr.account_chart_template_0","True"
|
||||
"account_account_template_0_142002","0-Depósitos sobre conexiones de Internet","0.142002","asset_receivable","l10n_cr.account_chart_template_0","True"
|
||||
"account_account_template_0_142003","0-Depósitos sobre locales en alquiler","0.142003","asset_receivable","l10n_cr.account_chart_template_0","True"
|
||||
"account_account_template_0_211001","0-Cuentas por pagar a proveedores","0.211001","liability_payable","l10n_cr.account_chart_template_0","True"
|
||||
"account_account_template_0_211002","0-Cuentas por pagar a empleados","0.211002","liability_payable","l10n_cr.account_chart_template_0","True"
|
||||
"account_account_template_0_211003","0-Cuentas por pagar de provisiones","0.211003","liability_payable","l10n_cr.account_chart_template_0","True"
|
||||
"account_account_template_0_211004","0-Cuentas por pagar a compañías relacionadas","0.211004","liability_payable","l10n_cr.account_chart_template_0","True"
|
||||
"account_account_template_0_212101","0-Impuesto de ventas por pagar","0.212101","liability_current","l10n_cr.account_chart_template_0","True"
|
||||
"account_account_template_0_212102","0-Impuesto de ventas pagado","0.212102","asset_current","l10n_cr.account_chart_template_0","True"
|
||||
"account_account_template_0_212201","0-Impuesto de renta por pagar","0.212201","liability_current","l10n_cr.account_chart_template_0","True"
|
||||
"account_account_template_0_212202","0-Adelantos de impuesto de renta","0.212202","liability_current","l10n_cr.account_chart_template_0","True"
|
||||
"account_account_template_0_212203","0-Retenciones de impuesto de renta","0.212203","liability_current","l10n_cr.account_chart_template_0","True"
|
||||
"account_account_template_0_310001","0-Socio 1","0.310001","equity","l10n_cr.account_chart_template_0","False"
|
||||
"account_account_template_0_320001","0-Reserva legal","0.320001","equity","l10n_cr.account_chart_template_0","False"
|
||||
"account_account_template_0_330001","0-Reserva para mejoras","0.330001","equity","l10n_cr.account_chart_template_0","False"
|
||||
"account_account_template_0_330002","0-Reserva para proyectos","0.330002","equity","l10n_cr.account_chart_template_0","False"
|
||||
"account_account_template_0_340001","0-Socio 1","0.340001","equity","l10n_cr.account_chart_template_0","False"
|
||||
"account_account_template_0_350001","0-Superávit de capital","0.350001","equity","l10n_cr.account_chart_template_0","False"
|
||||
"account_account_template_0_350002","0-Superavit por revaluación de activos","0.350002","equity","l10n_cr.account_chart_template_0","False"
|
||||
"account_account_template_0_350003","0-Superavit ganado","0.350003","equity","l10n_cr.account_chart_template_0","False"
|
||||
"account_account_template_0_360001","0-Periodo 1","0.360001","equity","l10n_cr.account_chart_template_0","False"
|
||||
"account_account_template_0_370001","0-Utilidad o pérdida del período actual","0.370001","equity","l10n_cr.account_chart_template_0","False"
|
||||
"account_account_template_0_380001","0-Balance inicial","0.380001","equity","l10n_cr.account_chart_template_0","False"
|
||||
"account_account_template_0_410001","0-Categoría 1","0.410001","income_other","l10n_cr.account_chart_template_0","False"
|
||||
"account_account_template_0_420001","0-Cuota por administración","0.420001","income","l10n_cr.account_chart_template_0","False"
|
||||
"account_account_template_0_430001","0-Intereses ganados sobre cuentas corrientes","0.430001","income","l10n_cr.account_chart_template_0","False"
|
||||
"account_account_template_0_440001","0-Ajustes","0.440001","income","l10n_cr.account_chart_template_0","False"
|
||||
"account_account_template_0_440002","0-Donaciones","0.440002","income","l10n_cr.account_chart_template_0","False"
|
||||
"account_account_template_0_450001","0-Diferencial cambiario","0.450001","income","l10n_cr.account_chart_template_0","False"
|
||||
"account_account_template_0_511111","0-Salarios","0.511111","expense","l10n_cr.account_chart_template_0","False"
|
||||
"account_account_template_0_511112","0-Extras","0.511112","expense","l10n_cr.account_chart_template_0","False"
|
||||
"account_account_template_0_511113","0-Bonificaciones","0.511113","expense","l10n_cr.account_chart_template_0","False"
|
||||
"account_account_template_0_511114","0-Comisiones","0.511114","expense","l10n_cr.account_chart_template_0","False"
|
||||
"account_account_template_0_511115","0-Cargas patronales","0.511115","expense","l10n_cr.account_chart_template_0","False"
|
||||
"account_account_template_0_511116","0-Aguinaldo","0.511116","expense","l10n_cr.account_chart_template_0","False"
|
||||
"account_account_template_0_511117","0-Preaviso","0.511117","expense","l10n_cr.account_chart_template_0","False"
|
||||
"account_account_template_0_511118","0-Cesantía","0.511118","expense","l10n_cr.account_chart_template_0","False"
|
||||
"account_account_template_0_511121","0-Transporte","0.511121","expense","l10n_cr.account_chart_template_0","False"
|
||||
"account_account_template_0_511122","0-Alimentación","0.511122","expense","l10n_cr.account_chart_template_0","False"
|
||||
"account_account_template_0_511123","0-Hospedaje","0.511123","expense","l10n_cr.account_chart_template_0","False"
|
||||
"account_account_template_0_511201","0-Categoría 1","0.511201","expense","l10n_cr.account_chart_template_0","False"
|
||||
"account_account_template_0_511301","0-Costo de producto","0.511301","expense","l10n_cr.account_chart_template_0","False"
|
||||
"account_account_template_0_511302","0-Costo de materia prima","0.511302","expense","l10n_cr.account_chart_template_0","False"
|
||||
"account_account_template_0_511303","0-Costo de producción","0.511303","expense","l10n_cr.account_chart_template_0","False"
|
||||
"account_account_template_0_511304","0-Costo de almacenamiento","0.511304","expense","l10n_cr.account_chart_template_0","False"
|
||||
"account_account_template_0_511305","0-Costo de distribución","0.511305","expense","l10n_cr.account_chart_template_0","False"
|
||||
"account_account_template_0_511401","0-Diseño de imagen","0.511401","expense","l10n_cr.account_chart_template_0","False"
|
||||
"account_account_template_0_511402","0-Campañas publicitarias","0.511402","expense","l10n_cr.account_chart_template_0","False"
|
||||
"account_account_template_0_512101","0-Compañía administradora 1","0.512101","expense","l10n_cr.account_chart_template_0","False"
|
||||
"account_account_template_0_512201","0-Oficina 1","0.512201","expense","l10n_cr.account_chart_template_0","False"
|
||||
"account_account_template_0_512311","0-Medidor 1","0.512311","expense","l10n_cr.account_chart_template_0","False"
|
||||
"account_account_template_0_512321","0-Medidor 1","0.512321","expense","l10n_cr.account_chart_template_0","False"
|
||||
"account_account_template_0_512331","0-Teléfono 1","0.512331","expense","l10n_cr.account_chart_template_0","False"
|
||||
"account_account_template_0_512341","0-Contrato 1","0.512341","expense","l10n_cr.account_chart_template_0","False"
|
||||
"account_account_template_0_512401","0-Departamento 1","0.512401","expense","l10n_cr.account_chart_template_0","False"
|
||||
"account_account_template_0_512501","0-Departamento 1","0.512501","expense","l10n_cr.account_chart_template_0","False"
|
||||
"account_account_template_0_520001","0-Ajustes","0.520001","expense","l10n_cr.account_chart_template_0","False"
|
||||
"account_account_template_0_520002","0-Gastos Financieros","0.520002","expense","l10n_cr.account_chart_template_0","False"
|
||||
"account_account_template_0_520003","0-Depreciación de activo fijo","0.520003","expense","l10n_cr.account_chart_template_0","False"
|
||||
"account_account_template_0_520004","0-Perdida por robo","0.520004","expense","l10n_cr.account_chart_template_0","False"
|
||||
"account_account_template_0_520005","0-Donaciones deducibles","0.520005","expense","l10n_cr.account_chart_template_0","False"
|
||||
"account_account_template_0_530001","0-Donaciones no deducibles","0.530001","expense","l10n_cr.account_chart_template_0","False"
|
||||
"account_account_template_0_530002","0-Gastos de presidencia","0.530002","expense","l10n_cr.account_chart_template_0","False"
|
||||
"account_account_template_0_530003","0-Multas","0.530003","expense","l10n_cr.account_chart_template_0","False"
|
||||
"account_account_template_0_530004","0-Diferencial cambiario","0.530004","expense","l10n_cr.account_chart_template_0","False"
|
||||
|
|
|
@ -0,0 +1,8 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<odoo>
|
||||
<data noupdate="1">
|
||||
<function model="account.chart.template" name="try_loading">
|
||||
<value eval="[ref('l10n_cr.account_chart_template_0')]"/>
|
||||
</function>
|
||||
</data>
|
||||
</odoo>
|
||||
|
|
@ -0,0 +1,13 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<odoo>
|
||||
<!-- Account Chart Template -->
|
||||
<record id="account_chart_template_0" model="account.chart.template">
|
||||
<field name="property_account_receivable_id" ref="account_account_template_0_112001"/>
|
||||
<field name="property_account_payable_id" ref="account_account_template_0_211001"/>
|
||||
<field name="property_account_income_categ_id" ref="account_account_template_0_410001"/>
|
||||
<field name="property_account_expense_categ_id" ref="account_account_template_0_511301"/>
|
||||
<field name="income_currency_exchange_account_id" ref="account_account_template_0_450001"/>
|
||||
<field name="expense_currency_exchange_account_id" ref="account_account_template_0_530004"/>
|
||||
<field name="default_pos_receivable_account_id" ref="account_account_template_0_112011" />
|
||||
</record>
|
||||
</odoo>
|
||||
|
|
@ -0,0 +1,9 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<odoo>
|
||||
<data noupdate="1">
|
||||
<record id="tax_group_13" model="account.tax.group">
|
||||
<field name="name">Tax 13%</field>
|
||||
<field name="country_id" ref="base.cr"/>
|
||||
</record>
|
||||
</data>
|
||||
</odoo>
|
||||
|
|
@ -0,0 +1,56 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<odoo>
|
||||
<!-- Account Tax Template -->
|
||||
<record id="account_tax_template_IV_0" model="account.tax.template">
|
||||
<field name="name">Sales Tax</field>
|
||||
<field name="description">IV</field>
|
||||
<field name="sequence">10</field>
|
||||
<field name="amount">13</field>
|
||||
<field name="amount_type">percent</field>
|
||||
<field name="type_tax_use">sale</field>
|
||||
<field name="chart_template_id" ref="account_chart_template_0"/>
|
||||
<field name="tax_group_id" ref="tax_group_13"/>
|
||||
<field name="invoice_repartition_line_ids" eval="[(5, 0, 0),
|
||||
(0,0, {'repartition_type': 'base'}),
|
||||
(0,0, {
|
||||
'repartition_type': 'tax',
|
||||
'account_id': ref('account_account_template_0_212101'),
|
||||
}),
|
||||
]"/>
|
||||
<field name="refund_repartition_line_ids" eval="[(5, 0, 0),
|
||||
(0,0, {'repartition_type': 'base'}),
|
||||
(0,0, {
|
||||
'repartition_type': 'tax',
|
||||
'account_id': ref('account_account_template_0_212101'),
|
||||
}),
|
||||
]"/>
|
||||
</record>
|
||||
<record id="account_tax_template_IV_1" model="account.tax.template">
|
||||
<field name="name">Purchase Tax</field>
|
||||
<field name="description">IV</field>
|
||||
<field name="sequence">10</field>
|
||||
<field name="amount">13</field>
|
||||
<field name="amount_type">percent</field>
|
||||
<field name="type_tax_use">purchase</field>
|
||||
<field name="chart_template_id" ref="account_chart_template_0"/>
|
||||
<field name="tax_group_id" ref="tax_group_13"/>
|
||||
<field name="invoice_repartition_line_ids" eval="[(5, 0, 0),
|
||||
(0,0, {'repartition_type': 'base'}),
|
||||
(0,0, {
|
||||
'repartition_type': 'tax',
|
||||
'account_id': ref('account_account_template_0_212101'),
|
||||
}),
|
||||
]"/>
|
||||
<field name="refund_repartition_line_ids" eval="[(5, 0, 0),
|
||||
(0,0, {'repartition_type': 'base'}),
|
||||
(0,0, {
|
||||
'repartition_type': 'tax',
|
||||
'account_id': ref('account_account_template_0_212101'),
|
||||
}),
|
||||
]"/>
|
||||
</record>
|
||||
<!-- Default Tax -->
|
||||
<record id="account_account_template_0_410001" model="account.account.template">
|
||||
<field name="tax_ids" eval="[(6,0,[ref('account_tax_template_IV_0')])]"/>
|
||||
</record>
|
||||
</odoo>
|
||||
|
|
@ -0,0 +1,13 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<odoo>
|
||||
<!-- Account Chart Template -->
|
||||
|
||||
<record id="account_chart_template_0" model="account.chart.template">
|
||||
<field name="name">Costa Rica - Company 0</field>
|
||||
<field name="bank_account_code_prefix">0.1112</field>
|
||||
<field name="cash_account_code_prefix">0.1111</field>
|
||||
<field name="transfer_account_code_prefix">0.1114</field>
|
||||
<field name="currency_id" ref="base.CRC"/>
|
||||
<field name="country_id" ref="base.cr"/>
|
||||
</record>
|
||||
</odoo>
|
||||
|
|
@ -0,0 +1,59 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<odoo>
|
||||
<!--
|
||||
Resource: res.partner.title
|
||||
Update partner titles
|
||||
-->
|
||||
<record id="res_partner_title_pvt_ltd" model="res.partner.title">
|
||||
<field name="name">Corporation</field>
|
||||
<field name="shortcut">Corp.</field>
|
||||
</record>
|
||||
<record id="res_partner_title_ltd" model="res.partner.title">
|
||||
<field name="name">Limited Company</field>
|
||||
<field name="shortcut">Ltd.</field>
|
||||
</record>
|
||||
<record id="res_partner_title_sal" model="res.partner.title">
|
||||
<field name="name">Sociedad Anónima Laboral</field>
|
||||
<field name="shortcut">S.A.L.</field>
|
||||
</record>
|
||||
<record id="res_partner_title_asoc" model="res.partner.title">
|
||||
<field name="name">Asociation</field>
|
||||
<field name="shortcut">Asoc.</field>
|
||||
</record>
|
||||
<record id="res_partner_title_gov" model="res.partner.title">
|
||||
<field name="name">Government</field>
|
||||
<field name="shortcut">Gov.</field>
|
||||
</record>
|
||||
<record id="res_partner_title_edu" model="res.partner.title">
|
||||
<field name="name">Educational Institution</field>
|
||||
<field name="shortcut">Edu.</field>
|
||||
</record>
|
||||
<record id="res_partner_title_indprof" model="res.partner.title">
|
||||
<field name="name">Independant Professional</field>
|
||||
<field name="shortcut">Ind. Prof.</field>
|
||||
</record>
|
||||
<record id="res_partner_title_dra" model="res.partner.title">
|
||||
<field name="name">Doctora</field>
|
||||
<field name="shortcut">Dra.</field>
|
||||
</record>
|
||||
<record id="res_partner_title_msc" model="res.partner.title">
|
||||
<field name="name">Msc.</field>
|
||||
<field name="shortcut">Msc.</field>
|
||||
</record>
|
||||
<record id="res_partner_title_mba" model="res.partner.title">
|
||||
<field name="name">MBA</field>
|
||||
<field name="shortcut">MBA</field>
|
||||
</record>
|
||||
<record id="res_partner_title_lic" model="res.partner.title">
|
||||
<field name="name">Licenciado</field>
|
||||
<field name="shortcut">Lic.</field>
|
||||
</record>
|
||||
<record id="res_partner_title_licda" model="res.partner.title">
|
||||
<field name="name">Licenciada</field>
|
||||
<field name="shortcut">Licda.</field>
|
||||
</record>
|
||||
<record id="res_partner_title_ing" model="res.partner.title">
|
||||
<field name="name">Ingeniero/a</field>
|
||||
<field name="shortcut">Ing.</field>
|
||||
</record>
|
||||
</odoo>
|
||||
34
odoo-bringout-oca-ocb-l10n_cr/l10n_cr/demo/demo_company.xml
Normal file
34
odoo-bringout-oca-ocb-l10n_cr/l10n_cr/demo/demo_company.xml
Normal file
|
|
@ -0,0 +1,34 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<odoo>
|
||||
<record id="partner_demo_company_cr" model="res.partner">
|
||||
<field name="name">CR Company</field>
|
||||
<field name="vat">4000961586</field>
|
||||
<field name="street"></field>
|
||||
<field name="city"></field>
|
||||
<field name="country_id" ref="base.cr"/>
|
||||
<field name="state_id" ref="base.state_L"/>
|
||||
<field name="zip"></field>
|
||||
<field name="phone">+506 8312 3456</field>
|
||||
<field name="email">info@company.crexample.com</field>
|
||||
<field name="website">www.crexample.com</field>
|
||||
</record>
|
||||
|
||||
<record id="demo_company_cr" model="res.company">
|
||||
<field name="name">CR Company</field>
|
||||
<field name="partner_id" ref="partner_demo_company_cr"/>
|
||||
</record>
|
||||
|
||||
<function model="res.company" name="_onchange_country_id">
|
||||
<value eval="[ref('demo_company_cr')]"/>
|
||||
</function>
|
||||
|
||||
<function model="res.users" name="write">
|
||||
<value eval="[ref('base.user_root'), ref('base.user_admin'), ref('base.user_demo')]"/>
|
||||
<value eval="{'company_ids': [(4, ref('l10n_cr.demo_company_cr'))]}"/>
|
||||
</function>
|
||||
|
||||
<function model="account.chart.template" name="try_loading">
|
||||
<value eval="[ref('l10n_cr.account_chart_template_0')]"/>
|
||||
<value model="res.company" eval="obj().env.ref('l10n_cr.demo_company_cr')"/>
|
||||
</function>
|
||||
</odoo>
|
||||
Binary file not shown.
|
After Width: | Height: | Size: 1.7 KiB |
File diff suppressed because one or more lines are too long
|
After Width: | Height: | Size: 56 KiB |
42
odoo-bringout-oca-ocb-l10n_cr/pyproject.toml
Normal file
42
odoo-bringout-oca-ocb-l10n_cr/pyproject.toml
Normal file
|
|
@ -0,0 +1,42 @@
|
|||
[project]
|
||||
name = "odoo-bringout-oca-ocb-l10n_cr"
|
||||
version = "16.0.0"
|
||||
description = "Costa Rica - Accounting - Odoo addon"
|
||||
authors = [
|
||||
{ name = "Ernad Husremovic", email = "hernad@bring.out.ba" }
|
||||
]
|
||||
dependencies = [
|
||||
"odoo-bringout-oca-ocb-account>=16.0.0",
|
||||
"requests>=2.25.1"
|
||||
]
|
||||
readme = "README.md"
|
||||
requires-python = ">= 3.11"
|
||||
classifiers = [
|
||||
"Development Status :: 5 - Production/Stable",
|
||||
"Intended Audience :: Developers",
|
||||
"License :: OSI Approved :: GNU Lesser General Public License v3 (LGPLv3)",
|
||||
"Programming Language :: Python :: 3",
|
||||
"Programming Language :: Python :: 3.11",
|
||||
"Programming Language :: Python :: 3.12",
|
||||
"Topic :: Office/Business",
|
||||
]
|
||||
|
||||
[project.urls]
|
||||
homepage = "https://github.com/bringout/0"
|
||||
repository = "https://github.com/bringout/0"
|
||||
|
||||
[build-system]
|
||||
requires = ["hatchling"]
|
||||
build-backend = "hatchling.build"
|
||||
|
||||
[tool.hatch.metadata]
|
||||
allow-direct-references = true
|
||||
|
||||
[tool.hatch.build.targets.wheel]
|
||||
packages = ["l10n_cr"]
|
||||
|
||||
[tool.rye]
|
||||
managed = true
|
||||
dev-dependencies = [
|
||||
"pytest>=8.4.1",
|
||||
]
|
||||
Loading…
Add table
Add a link
Reference in a new issue