mirror of
https://github.com/bringout/oca-ocb-l10n_europe.git
synced 2026-04-27 09:22:00 +02:00
Initial commit: L10N_Europe packages
This commit is contained in:
commit
9803722600
2377 changed files with 380711 additions and 0 deletions
50
odoo-bringout-oca-ocb-l10n_ie/README.md
Normal file
50
odoo-bringout-oca-ocb-l10n_ie/README.md
Normal file
|
|
@ -0,0 +1,50 @@
|
|||
# Ireland - Accounting
|
||||
|
||||
|
||||
This module is for all the Irish SMEs who would like to setup their accounting quickly. The module provides:
|
||||
|
||||
- a Chart of Accounts customised to Ireland
|
||||
- VAT Rates and Structure
|
||||
|
||||
## Installation
|
||||
|
||||
```bash
|
||||
pip install odoo-bringout-oca-ocb-l10n_ie
|
||||
```
|
||||
|
||||
## Dependencies
|
||||
|
||||
This addon depends on:
|
||||
- account
|
||||
- base_iban
|
||||
- base_vat
|
||||
|
||||
## Manifest Information
|
||||
|
||||
- **Name**: Ireland - Accounting
|
||||
- **Version**: 1.0
|
||||
- **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_ie`.
|
||||
|
||||
## 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_ie/doc/ARCHITECTURE.md
Normal file
32
odoo-bringout-oca-ocb-l10n_ie/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_ie Module - l10n_ie
|
||||
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_ie/doc/CONFIGURATION.md
Normal file
3
odoo-bringout-oca-ocb-l10n_ie/doc/CONFIGURATION.md
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
# Configuration
|
||||
|
||||
Refer to Odoo settings for l10n_ie. Configure related models, access rights, and options as needed.
|
||||
3
odoo-bringout-oca-ocb-l10n_ie/doc/CONTROLLERS.md
Normal file
3
odoo-bringout-oca-ocb-l10n_ie/doc/CONTROLLERS.md
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
# Controllers
|
||||
|
||||
This module does not define custom HTTP controllers.
|
||||
7
odoo-bringout-oca-ocb-l10n_ie/doc/DEPENDENCIES.md
Normal file
7
odoo-bringout-oca-ocb-l10n_ie/doc/DEPENDENCIES.md
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
# Dependencies
|
||||
|
||||
This addon depends on:
|
||||
|
||||
- [account](../../odoo-bringout-oca-ocb-account)
|
||||
- [base_iban](../../odoo-bringout-oca-ocb-base_iban)
|
||||
- [base_vat](../../odoo-bringout-oca-ocb-base_vat)
|
||||
4
odoo-bringout-oca-ocb-l10n_ie/doc/FAQ.md
Normal file
4
odoo-bringout-oca-ocb-l10n_ie/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_ie or install in UI.
|
||||
7
odoo-bringout-oca-ocb-l10n_ie/doc/INSTALL.md
Normal file
7
odoo-bringout-oca-ocb-l10n_ie/doc/INSTALL.md
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
# Install
|
||||
|
||||
```bash
|
||||
pip install odoo-bringout-oca-ocb-l10n_ie"
|
||||
# or
|
||||
uv pip install odoo-bringout-oca-ocb-l10n_ie"
|
||||
```
|
||||
11
odoo-bringout-oca-ocb-l10n_ie/doc/MODELS.md
Normal file
11
odoo-bringout-oca-ocb-l10n_ie/doc/MODELS.md
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
# Models
|
||||
|
||||
Detected core models and extensions in l10n_ie.
|
||||
|
||||
```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_ie/doc/OVERVIEW.md
Normal file
6
odoo-bringout-oca-ocb-l10n_ie/doc/OVERVIEW.md
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
# Overview
|
||||
|
||||
Packaged Odoo addon: l10n_ie. Provides features documented in upstream Odoo 16 under this addon.
|
||||
|
||||
- Source: OCA/OCB 16.0, addon l10n_ie
|
||||
- License: LGPL-3
|
||||
3
odoo-bringout-oca-ocb-l10n_ie/doc/REPORTS.md
Normal file
3
odoo-bringout-oca-ocb-l10n_ie/doc/REPORTS.md
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
# Reports
|
||||
|
||||
This module does not define custom reports.
|
||||
8
odoo-bringout-oca-ocb-l10n_ie/doc/SECURITY.md
Normal file
8
odoo-bringout-oca-ocb-l10n_ie/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_ie/doc/TROUBLESHOOTING.md
Normal file
5
odoo-bringout-oca-ocb-l10n_ie/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_ie/doc/USAGE.md
Normal file
7
odoo-bringout-oca-ocb-l10n_ie/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_ie
|
||||
```
|
||||
3
odoo-bringout-oca-ocb-l10n_ie/doc/WIZARDS.md
Normal file
3
odoo-bringout-oca-ocb-l10n_ie/doc/WIZARDS.md
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
# Wizards
|
||||
|
||||
This module does not include UI wizards.
|
||||
2
odoo-bringout-oca-ocb-l10n_ie/l10n_ie/__init__.py
Normal file
2
odoo-bringout-oca-ocb-l10n_ie/l10n_ie/__init__.py
Normal file
|
|
@ -0,0 +1,2 @@
|
|||
# -*- encoding: utf-8 -*-
|
||||
# Part of Odoo. See LICENSE file for full copyright and licensing details.
|
||||
28
odoo-bringout-oca-ocb-l10n_ie/l10n_ie/__manifest__.py
Normal file
28
odoo-bringout-oca-ocb-l10n_ie/l10n_ie/__manifest__.py
Normal file
|
|
@ -0,0 +1,28 @@
|
|||
# -*- encoding: utf-8 -*-
|
||||
# Part of Odoo. See LICENSE file for full copyright and licensing details.
|
||||
|
||||
{
|
||||
'name': 'Ireland - Accounting',
|
||||
'version': '1.0',
|
||||
'category': 'Accounting/Localizations/Account Charts',
|
||||
'description': """
|
||||
This module is for all the Irish SMEs who would like to setup their accounting quickly. The module provides:
|
||||
|
||||
- a Chart of Accounts customised to Ireland
|
||||
- VAT Rates and Structure""",
|
||||
|
||||
'author': 'Target Integration',
|
||||
'website': 'http://www.targetintegration.com',
|
||||
'depends': ['account', 'base_iban', 'base_vat'],
|
||||
'data': [
|
||||
'data/account_chart_template.xml',
|
||||
'data/account.account.template.csv',
|
||||
'data/account.chart.template.csv',
|
||||
'data/account_tax_data.xml',
|
||||
'data/account_chart_template_configuration_data.xml',
|
||||
],
|
||||
'demo': [
|
||||
'demo/demo_company.xml',
|
||||
],
|
||||
'license': 'LGPL-3',
|
||||
}
|
||||
|
|
@ -0,0 +1,104 @@
|
|||
id,code,name,account_type,reconcile,chart_template_id:id
|
||||
l10n_ie_a10,10,Software,asset_fixed,FALSE,l10n_ie
|
||||
l10n_ie_a11,11,Software Depreciation,asset_fixed,FALSE,l10n_ie
|
||||
l10n_ie_a20,20,Patents & Trademarks,asset_fixed,FALSE,l10n_ie
|
||||
l10n_ie_a21,21,Patents & Trademarks Depreciation,asset_fixed,FALSE,l10n_ie
|
||||
l10n_ie_a30,30,Fixtures and fittings,asset_fixed,FALSE,l10n_ie
|
||||
l10n_ie_a31,31,Fixtures and fittings Depreciation,asset_fixed,FALSE,l10n_ie
|
||||
l10n_ie_a40,40,Land and buildings,asset_fixed,FALSE,l10n_ie
|
||||
l10n_ie_a41,41,Land and buildings Depreciation,asset_fixed,FALSE,l10n_ie
|
||||
l10n_ie_a50,50,Motor vehicles,asset_fixed,FALSE,l10n_ie
|
||||
l10n_ie_a51,51,Motor vehicles Depreciation,asset_fixed,FALSE,l10n_ie
|
||||
l10n_ie_a60,60,Office equipment (inc computer equipment),asset_fixed,FALSE,l10n_ie
|
||||
l10n_ie_a61,61,Office equipment (inc computer equipment) Depreciation,asset_fixed,FALSE,l10n_ie
|
||||
l10n_ie_a70,70,Plant and machinery,asset_fixed,FALSE,l10n_ie
|
||||
l10n_ie_a71,71,Plant and machinery Depreciation,asset_fixed,FALSE,l10n_ie
|
||||
l10n_ie_a1001,1001,Stock,asset_current,TRUE,l10n_ie
|
||||
l10n_ie_a1002,1002,Work in Progress,asset_current,FALSE,l10n_ie
|
||||
l10n_ie_a1003,1003,Finished Goods,asset_current,FALSE,l10n_ie
|
||||
l10n_ie_a9999,9999,Debtors Control Account,asset_receivable,TRUE,l10n_ie
|
||||
l10n_ie_a9990,9990,Debtors Control Account (PoS),asset_receivable,TRUE,l10n_ie
|
||||
l10n_ie_a1101,1101,Sundry Debtors,asset_receivable,TRUE,l10n_ie
|
||||
l10n_ie_a1102,1102,Other Debtors,asset_current,FALSE,l10n_ie
|
||||
l10n_ie_a1240,1240,Company Credit Card,asset_current,TRUE,l10n_ie
|
||||
l10n_ie_a1103,1103,Prepayments,asset_current,FALSE,l10n_ie
|
||||
l10n_ie_a9998,9998,Creditors Control Account,liability_payable,TRUE,l10n_ie
|
||||
l10n_ie_a2101,2101,Sundry Creditors,liability_current,FALSE,l10n_ie
|
||||
l10n_ie_a2102,2102,Other Creditors,liability_current,FALSE,l10n_ie
|
||||
l10n_ie_a2200,2200,Sales Tax Control Account,liability_current,FALSE,l10n_ie
|
||||
l10n_ie_a2201,2201,Purchase Tax Control Account,asset_current,FALSE,l10n_ie
|
||||
l10n_ie_a2202,2202,Revenue VAT Account,liability_payable,TRUE,l10n_ie
|
||||
l10n_ie_a2204,2204,Manual Adjustments ヨ VAT,liability_current,FALSE,l10n_ie
|
||||
l10n_ie_a2210,2210,PAYE,liability_payable,TRUE,l10n_ie
|
||||
l10n_ie_a2220,2220,Net Wages,liability_payable,TRUE,l10n_ie
|
||||
l10n_ie_a2230,2230,Pension Fund,liability_payable,TRUE,l10n_ie
|
||||
l10n_ie_a2150,2150,Bad debt provision,liability_current,FALSE,l10n_ie
|
||||
l10n_ie_a2109,2109,Accruals,liability_current,FALSE,l10n_ie
|
||||
l10n_ie_a2320,2320,Corporation Tax,liability_payable,TRUE,l10n_ie
|
||||
l10n_ie_a2300,2300,Loans,liability_current,FALSE,l10n_ie
|
||||
l10n_ie_a2310,2310,Hire Purchase,liability_current,FALSE,l10n_ie
|
||||
l10n_ie_a2330,2330,Mortgages,liability_current,FALSE,l10n_ie
|
||||
l10n_ie_a9997,9997,Called up share capital,equity,FALSE,l10n_ie
|
||||
l10n_ie_a3010,3010,Share premium account,equity,FALSE,l10n_ie
|
||||
l10n_ie_a3020,3020,Revaluation reserve,equity,FALSE,l10n_ie
|
||||
l10n_ie_a3030,3030,Other reserves,equity,FALSE,l10n_ie
|
||||
l10n_ie_a9996,9996,Sales category 1,income,FALSE,l10n_ie
|
||||
l10n_ie_a4001,4001,Sales category 2,income,FALSE,l10n_ie
|
||||
l10n_ie_a4002,4002,Sales category 3,income,FALSE,l10n_ie
|
||||
l10n_ie_a4003,4003,Sales category 4,income,FALSE,l10n_ie
|
||||
l10n_ie_a9995,9995,Cost of sales 1,expense,FALSE,l10n_ie
|
||||
l10n_ie_a5001,5001,Cost of sales 2,expense,FALSE,l10n_ie
|
||||
l10n_ie_a5002,5002,Cost of sales 3,expense,FALSE,l10n_ie
|
||||
l10n_ie_a5003,5003,Cost of sales 4,expense,FALSE,l10n_ie
|
||||
l10n_ie_a9994,9994,"Marketing, POS",expense,FALSE,l10n_ie
|
||||
l10n_ie_a6001,6001,Exhibitions and events,expense,FALSE,l10n_ie
|
||||
l10n_ie_a6002,6002,PR,expense,FALSE,l10n_ie
|
||||
l10n_ie_a6010,6010,Distribution vehicles,expense,FALSE,l10n_ie
|
||||
l10n_ie_a6020,6020,Distribution salaries and wages,expense,FALSE,l10n_ie
|
||||
l10n_ie_a6030,6030,Shipping,expense,FALSE,l10n_ie
|
||||
l10n_ie_a9993,9993,Directors pension,expense,FALSE,l10n_ie
|
||||
l10n_ie_a7001,7001,Directors remuneration,expense,FALSE,l10n_ie
|
||||
l10n_ie_a7010,7010,Admin gross salaries,expense,FALSE,l10n_ie
|
||||
l10n_ie_a7011,7011,Management gross salaries,expense,FALSE,l10n_ie
|
||||
l10n_ie_a7012,7012,Employers NIC,expense,FALSE,l10n_ie
|
||||
l10n_ie_a7020,7020,Subcontractors payments,expense,FALSE,l10n_ie
|
||||
l10n_ie_a7610,7610,Consultancy,expense,FALSE,l10n_ie
|
||||
l10n_ie_a7620,7620,Legal and professional charges,expense,FALSE,l10n_ie
|
||||
l10n_ie_a7601,7601,Accounting,expense,FALSE,l10n_ie
|
||||
l10n_ie_a7602,7602,Auditing,expense,FALSE,l10n_ie
|
||||
l10n_ie_a7110,7110,"Light, heat and power",expense,FALSE,l10n_ie
|
||||
l10n_ie_a9992,9992,Rent and rates,expense,FALSE,l10n_ie
|
||||
l10n_ie_a7120,7120,"Repairs, renewals and maintenance",expense,FALSE,l10n_ie
|
||||
l10n_ie_a7300,7300,Car hire,expense,FALSE,l10n_ie
|
||||
l10n_ie_a7301,7301,Car fuel,expense,FALSE,l10n_ie
|
||||
l10n_ie_a7302,7302,Car maintenance,expense,FALSE,l10n_ie
|
||||
l10n_ie_a7502,7502,Telephone,expense,FALSE,l10n_ie
|
||||
l10n_ie_a7503,7503,Internet & hosting,expense,FALSE,l10n_ie
|
||||
l10n_ie_a7504,7504,Mobiles,expense,FALSE,l10n_ie
|
||||
l10n_ie_a7505,7505,Stationery,expense,FALSE,l10n_ie
|
||||
l10n_ie_a7506,7506,Office consumables,expense,FALSE,l10n_ie
|
||||
l10n_ie_a7507,7507,Postage and Carriage,expense,FALSE,l10n_ie
|
||||
l10n_ie_a7508,7508,Books,expense,FALSE,l10n_ie
|
||||
l10n_ie_a7509,7509,Network costs,expense,FALSE,l10n_ie
|
||||
l10n_ie_a7510,7510,Software expenses,expense,FALSE,l10n_ie
|
||||
l10n_ie_a7511,7511,Other computer costs,expense,FALSE,l10n_ie
|
||||
l10n_ie_a7512,7512,Recruitment fees,expense,FALSE,l10n_ie
|
||||
l10n_ie_a7513,7513,Other admin expenses,expense,FALSE,l10n_ie
|
||||
l10n_ie_a7700,7700,Exchange gains/losses,expense,FALSE,l10n_ie
|
||||
l10n_ie_a7710,7710,Other sundry expenses,expense,FALSE,l10n_ie
|
||||
l10n_ie_a7850,7850,Bad debts,expense,FALSE,l10n_ie
|
||||
l10n_ie_a7910,7910,"Bank, credit card and other financial charges",expense,FALSE,l10n_ie
|
||||
l10n_ie_a8000,8000,Intangible assets depn,expense,FALSE,l10n_ie
|
||||
l10n_ie_a8001,8001,Tangible assets depn,expense,FALSE,l10n_ie
|
||||
l10n_ie_a8200,8200,Donations,expense,FALSE,l10n_ie
|
||||
l10n_ie_a8300,8300,Entertaining,expense,FALSE,l10n_ie
|
||||
l10n_ie_a8400,8400,Insurance,expense,FALSE,l10n_ie
|
||||
l10n_ie_a8500,8500,Travel and subsistence,expense,FALSE,l10n_ie
|
||||
l10n_ie_a9000,9000,Profits/Losses on disposals of assets,income,FALSE,l10n_ie
|
||||
l10n_ie_a4900,4900,Bank Interest received,income,FALSE,l10n_ie
|
||||
l10n_ie_a4910,4910,Investment Interest received,income,FALSE,l10n_ie
|
||||
l10n_ie_a7900,7900,Interest paid,expense,FALSE,l10n_ie
|
||||
l10n_ie_a8800,8800,Corporation tax expense,expense,FALSE,l10n_ie
|
||||
l10n_ie_a2240,2240,Universal Social Charge USC,expense,FALSE,l10n_ie
|
||||
l10n_ie_a2250,2250,PRSI Employee,expense,FALSE,l10n_ie
|
||||
l10n_ie_a2260,2260,PRSI Employer,expense,FALSE,l10n_ie
|
||||
|
|
|
@ -0,0 +1,2 @@
|
|||
id,name,property_account_receivable_id:id,property_account_payable_id:id,property_account_expense_categ_id:id,property_account_income_categ_id:id,income_currency_exchange_account_id:id,expense_currency_exchange_account_id:id,default_pos_receivable_account_id:id,use_anglo_saxon
|
||||
l10n_ie,Ireland - Chart of Accounts,l10n_ie_a9999,l10n_ie_a9998,l10n_ie_a9995,l10n_ie_a9996,l10n_ie_a7700,l10n_ie_a7700,l10n_ie_a9990,False
|
||||
|
|
|
@ -0,0 +1,14 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<odoo>
|
||||
<!-- Chart template -->
|
||||
<record id="l10n_ie" model="account.chart.template">
|
||||
<field name="name">IE Tax and Account Chart Template</field>
|
||||
<field name="bank_account_code_prefix">1200</field>
|
||||
<field name="cash_account_code_prefix">1210</field>
|
||||
<field name="transfer_account_code_prefix">1220</field>
|
||||
<field name="code_digits">6</field>
|
||||
<field name="currency_id" ref="base.EUR"/>
|
||||
<field name="country_id" ref="base.ie"/>
|
||||
</record>
|
||||
|
||||
</odoo>
|
||||
|
|
@ -0,0 +1,6 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<odoo noupdate="1">
|
||||
<function model="account.chart.template" name="try_loading">
|
||||
<value eval="[ref('l10n_ie.l10n_ie')]"/>
|
||||
</function>
|
||||
</odoo>
|
||||
307
odoo-bringout-oca-ocb-l10n_ie/l10n_ie/data/account_tax_data.xml
Normal file
307
odoo-bringout-oca-ocb-l10n_ie/l10n_ie/data/account_tax_data.xml
Normal file
|
|
@ -0,0 +1,307 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<odoo>
|
||||
<record id="l10n_ie_tax_st0" model="account.tax.template">
|
||||
<field name="description">ST0</field>
|
||||
<field name="chart_template_id" ref="l10n_ie"/>
|
||||
<field name="type_tax_use">sale</field>
|
||||
<field name="name">Zero rated sales (IE)</field>
|
||||
<field name="amount_type">percent</field>
|
||||
<field name="amount">0</field>
|
||||
<field name="invoice_repartition_line_ids" eval="[(5, 0, 0),
|
||||
(0,0, {'repartition_type': 'base'}),
|
||||
(0,0, {'repartition_type': 'tax'}),
|
||||
]"/>
|
||||
<field name="refund_repartition_line_ids" eval="[(5, 0, 0),
|
||||
(0,0, {'repartition_type': 'base'}),
|
||||
(0,0, {'repartition_type': 'tax'}),
|
||||
]"/>
|
||||
</record>
|
||||
<record id="l10n_ie_tax_st1" model="account.tax.template">
|
||||
<field name="description">ST1</field>
|
||||
<field name="chart_template_id" ref="l10n_ie"/>
|
||||
<field name="type_tax_use">sale</field>
|
||||
<field name="name">Standard rate sales (13.5%) (IE)</field>
|
||||
<field name="amount_type">percent</field>
|
||||
<field name="amount">13.5</field>
|
||||
<field name="invoice_repartition_line_ids" eval="[(5, 0, 0),
|
||||
(0,0, {'repartition_type': 'base'}),
|
||||
(0,0, {
|
||||
'repartition_type': 'tax',
|
||||
'account_id': ref('l10n_ie_a2200'),
|
||||
}),
|
||||
]"/>
|
||||
<field name="refund_repartition_line_ids" eval="[(5, 0, 0),
|
||||
(0,0, {'repartition_type': 'base'}),
|
||||
(0,0, {
|
||||
'repartition_type': 'tax',
|
||||
'account_id': ref('l10n_ie_a2200'),
|
||||
}),
|
||||
]"/>
|
||||
</record>
|
||||
<record id="l10n_ie_tax_st2" model="account.tax.template">
|
||||
<field name="description">ST2</field>
|
||||
<field name="chart_template_id" ref="l10n_ie"/>
|
||||
<field name="type_tax_use">sale</field>
|
||||
<field name="name">Exempt sales (IE)</field>
|
||||
<field name="amount_type">percent</field>
|
||||
<field name="amount">0</field>
|
||||
<field name="invoice_repartition_line_ids" eval="[(5, 0, 0),
|
||||
(0,0, {'repartition_type': 'base'}),
|
||||
(0,0, {'repartition_type': 'tax'}),
|
||||
]"/>
|
||||
<field name="refund_repartition_line_ids" eval="[(5, 0, 0),
|
||||
(0,0, {'repartition_type': 'base'}),
|
||||
(0,0, {'repartition_type': 'tax'}),
|
||||
]"/>
|
||||
</record>
|
||||
<record id="l10n_ie_tax_pt0" model="account.tax.template">
|
||||
<field name="description">PT0</field>
|
||||
<field name="chart_template_id" ref="l10n_ie"/>
|
||||
<field name="type_tax_use">purchase</field>
|
||||
<field name="name">Zero rated purchases (IE)</field>
|
||||
<field name="amount_type">percent</field>
|
||||
<field name="amount">0</field>
|
||||
<field name="invoice_repartition_line_ids" eval="[(5, 0, 0),
|
||||
(0,0, {'repartition_type': 'base'}),
|
||||
(0,0, {'repartition_type': 'tax'}),
|
||||
]"/>
|
||||
<field name="refund_repartition_line_ids" eval="[(5, 0, 0),
|
||||
(0,0, {'repartition_type': 'base'}),
|
||||
(0,0, {'repartition_type': 'tax'}),
|
||||
]"/>
|
||||
</record>
|
||||
<record id="l10n_ie_tax_pt1" model="account.tax.template">
|
||||
<field name="description">PT1</field>
|
||||
<field name="chart_template_id" ref="l10n_ie"/>
|
||||
<field name="type_tax_use">purchase</field>
|
||||
<field name="name">Standard rate purchases (13.5%) (IE)</field>
|
||||
<field name="amount_type">percent</field>
|
||||
<field name="amount">13.5</field>
|
||||
<field name="invoice_repartition_line_ids" eval="[(5, 0, 0),
|
||||
(0,0, {'repartition_type': 'base'}),
|
||||
(0,0, {
|
||||
'repartition_type': 'tax',
|
||||
'account_id': ref('l10n_ie_a2201'),
|
||||
}),
|
||||
]"/>
|
||||
<field name="refund_repartition_line_ids" eval="[(5, 0, 0),
|
||||
(0,0, {'repartition_type': 'base'}),
|
||||
(0,0, {
|
||||
'repartition_type': 'tax',
|
||||
'account_id': ref('l10n_ie_a2201'),
|
||||
}),
|
||||
]"/>
|
||||
</record>
|
||||
<record id="l10n_ie_tax_pt2" model="account.tax.template">
|
||||
<field name="description">PT2</field>
|
||||
<field name="chart_template_id" ref="l10n_ie"/>
|
||||
<field name="type_tax_use">purchase</field>
|
||||
<field name="name">Exempt purchases (IE)</field>
|
||||
<field name="amount_type">percent</field>
|
||||
<field name="amount">0</field>
|
||||
<field name="invoice_repartition_line_ids" eval="[(5, 0, 0),
|
||||
(0,0, {'repartition_type': 'base'}),
|
||||
(0,0, {'repartition_type': 'tax'}),
|
||||
]"/>
|
||||
<field name="refund_repartition_line_ids" eval="[(5, 0, 0),
|
||||
(0,0, {'repartition_type': 'base'}),
|
||||
(0,0, {'repartition_type': 'tax'}),
|
||||
]"/>
|
||||
</record>
|
||||
<record id="l10n_ie_tax_pt8" model="account.tax.template">
|
||||
<field name="description">PT8</field>
|
||||
<field name="chart_template_id" ref="l10n_ie"/>
|
||||
<field name="type_tax_use">purchase</field>
|
||||
<field name="name">Standard rated purchases from EU (IE)</field>
|
||||
<field name="amount_type">percent</field>
|
||||
<field name="amount">23</field>
|
||||
<field name="invoice_repartition_line_ids" eval="[(5, 0, 0),
|
||||
(0,0, {'repartition_type': 'base'}),
|
||||
(0,0, {
|
||||
'repartition_type': 'tax',
|
||||
'account_id': ref('l10n_ie_a2201'),
|
||||
}),
|
||||
(0,0, {
|
||||
'factor_percent': -100,
|
||||
'repartition_type': 'tax',
|
||||
'account_id': ref('l10n_ie_a2201'),
|
||||
}),
|
||||
]"/>
|
||||
<field name="refund_repartition_line_ids" eval="[(5, 0, 0),
|
||||
(0,0, {'repartition_type': 'base'}),
|
||||
(0,0, {
|
||||
'repartition_type': 'tax',
|
||||
'account_id': ref('l10n_ie_a2201'),
|
||||
}),
|
||||
(0,0, {
|
||||
'factor_percent': -100,
|
||||
'repartition_type': 'tax',
|
||||
'account_id': ref('l10n_ie_a2201'),
|
||||
}),
|
||||
]"/>
|
||||
</record>
|
||||
<record id="l10n_ie_tax_pt9" model="account.tax.template">
|
||||
<field name="description">PT9</field>
|
||||
<field name="chart_template_id" ref="l10n_ie"/>
|
||||
<field name="type_tax_use">purchase</field>
|
||||
<field name="name">Lower rate purchases (9%) (IE)</field>
|
||||
<field name="amount_type">percent</field>
|
||||
<field name="amount">9</field>
|
||||
<field name="invoice_repartition_line_ids" eval="[(5, 0, 0),
|
||||
(0,0, {'repartition_type': 'base'}),
|
||||
(0,0, {
|
||||
'repartition_type': 'tax',
|
||||
'account_id': ref('l10n_ie_a2201'),
|
||||
}),
|
||||
]"/>
|
||||
<field name="refund_repartition_line_ids" eval="[(5, 0, 0),
|
||||
(0,0, {'repartition_type': 'base'}),
|
||||
(0,0, {
|
||||
'repartition_type': 'tax',
|
||||
'account_id': ref('l10n_ie_a2201'),
|
||||
}),
|
||||
]"/>
|
||||
</record>
|
||||
<record id="l10n_ie_tax_st4" model="account.tax.template">
|
||||
<field name="description">ST4</field>
|
||||
<field name="chart_template_id" ref="l10n_ie"/>
|
||||
<field name="type_tax_use">sale</field>
|
||||
<field name="name">Sales to customers in EU (IE)</field>
|
||||
<field name="amount_type">percent</field>
|
||||
<field name="amount">0</field>
|
||||
<field name="invoice_repartition_line_ids" eval="[(5, 0, 0),
|
||||
(0,0, {'repartition_type': 'base'}),
|
||||
(0,0, {'repartition_type': 'tax'}),
|
||||
]"/>
|
||||
<field name="refund_repartition_line_ids" eval="[(5, 0, 0),
|
||||
(0,0, {'repartition_type': 'base'}),
|
||||
(0,0, {'repartition_type': 'tax'}),
|
||||
]"/>
|
||||
</record>
|
||||
<record id="l10n_ie_tax_pt7" model="account.tax.template">
|
||||
<field name="description">PT7</field>
|
||||
<field name="chart_template_id" ref="l10n_ie"/>
|
||||
<field name="type_tax_use">purchase</field>
|
||||
<field name="name">Zero rated purchases from EU (IE)</field>
|
||||
<field name="amount_type">percent</field>
|
||||
<field name="amount">0</field>
|
||||
<field name="invoice_repartition_line_ids" eval="[(5, 0, 0),
|
||||
(0,0, {'repartition_type': 'base'}),
|
||||
(0,0, {'repartition_type': 'tax'}),
|
||||
]"/>
|
||||
<field name="refund_repartition_line_ids" eval="[(5, 0, 0),
|
||||
(0,0, {'repartition_type': 'base'}),
|
||||
(0,0, {'repartition_type': 'tax'}),
|
||||
]"/>
|
||||
</record>
|
||||
<record id="l10n_ie_tax_st11" model="account.tax.template">
|
||||
<field name="description">ST11</field>
|
||||
<field name="chart_template_id" ref="l10n_ie"/>
|
||||
<field name="type_tax_use">sale</field>
|
||||
<field name="name">Standard rate sales (23%) (IE)</field>
|
||||
<field name="amount_type">percent</field>
|
||||
<field name="amount">23</field>
|
||||
<field name="invoice_repartition_line_ids" eval="[(5, 0, 0),
|
||||
(0,0, {'repartition_type': 'base'}),
|
||||
(0,0, {
|
||||
'repartition_type': 'tax',
|
||||
'account_id': ref('l10n_ie_a2200'),
|
||||
}),
|
||||
]"/>
|
||||
<field name="refund_repartition_line_ids" eval="[(5, 0, 0),
|
||||
(0,0, {'repartition_type': 'base'}),
|
||||
(0,0, {
|
||||
'repartition_type': 'tax',
|
||||
'account_id': ref('l10n_ie_a2200'),
|
||||
}),
|
||||
]"/>
|
||||
</record>
|
||||
<record id="l10n_ie_tax_pt11" model="account.tax.template">
|
||||
<field name="description">PT11</field>
|
||||
<field name="chart_template_id" ref="l10n_ie"/>
|
||||
<field name="type_tax_use">purchase</field>
|
||||
<field name="name">Standard rate purchases (23%) (IE)</field>
|
||||
<field name="amount_type">percent</field>
|
||||
<field name="amount">23</field>
|
||||
<field name="invoice_repartition_line_ids" eval="[(5, 0, 0),
|
||||
(0,0, {'repartition_type': 'base'}),
|
||||
(0,0, {
|
||||
'repartition_type': 'tax',
|
||||
'account_id': ref('l10n_ie_a2201'),
|
||||
}),
|
||||
]"/>
|
||||
<field name="refund_repartition_line_ids" eval="[(5, 0, 0),
|
||||
(0,0, {'repartition_type': 'base'}),
|
||||
(0,0, {
|
||||
'repartition_type': 'tax',
|
||||
'account_id': ref('l10n_ie_a2201'),
|
||||
}),
|
||||
]"/>
|
||||
</record>
|
||||
<record id="l10n_ie_tax_st9" model="account.tax.template">
|
||||
<field name="description">ST9</field>
|
||||
<field name="chart_template_id" ref="l10n_ie"/>
|
||||
<field name="type_tax_use">sale</field>
|
||||
<field name="name">Lower rate sale (9%) (IE)</field>
|
||||
<field name="amount_type">percent</field>
|
||||
<field name="amount">9</field>
|
||||
<field name="invoice_repartition_line_ids" eval="[(5, 0, 0),
|
||||
(0,0, {'repartition_type': 'base'}),
|
||||
(0,0, {
|
||||
'repartition_type': 'tax',
|
||||
'account_id': ref('l10n_ie_a2202'),
|
||||
}),
|
||||
]"/>
|
||||
<field name="refund_repartition_line_ids" eval="[(5, 0, 0),
|
||||
(0,0, {'repartition_type': 'base'}),
|
||||
(0,0, {
|
||||
'repartition_type': 'tax',
|
||||
'account_id': ref('l10n_ie_a2202'),
|
||||
}),
|
||||
]"/>
|
||||
</record>
|
||||
<record id="l10n_ie_tax_pt6" model="account.tax.template">
|
||||
<field name="description">PT6</field>
|
||||
<field name="chart_template_id" ref="l10n_ie"/>
|
||||
<field name="type_tax_use">purchase</field>
|
||||
<field name="name">Lower rate purchases (4.8%) (IE)</field>
|
||||
<field name="amount_type">percent</field>
|
||||
<field name="amount">4.8</field>
|
||||
<field name="invoice_repartition_line_ids" eval="[(5, 0, 0),
|
||||
(0,0, {'repartition_type': 'base'}),
|
||||
(0,0, {
|
||||
'repartition_type': 'tax',
|
||||
'account_id': ref('l10n_ie_a2201'),
|
||||
}),
|
||||
]"/>
|
||||
<field name="refund_repartition_line_ids" eval="[(5, 0, 0),
|
||||
(0,0, {'repartition_type': 'base'}),
|
||||
(0,0, {
|
||||
'repartition_type': 'tax',
|
||||
'account_id': ref('l10n_ie_a2201'),
|
||||
}),
|
||||
]"/>
|
||||
</record>
|
||||
<record id="l10n_ie_tax_st6" model="account.tax.template">
|
||||
<field name="description">ST6</field>
|
||||
<field name="chart_template_id" ref="l10n_ie"/>
|
||||
<field name="type_tax_use">sale</field>
|
||||
<field name="name">Lower rate sale (4.8%) (IE)</field>
|
||||
<field name="amount_type">percent</field>
|
||||
<field name="amount">4.8</field>
|
||||
<field name="invoice_repartition_line_ids" eval="[(5, 0, 0),
|
||||
(0,0, {'repartition_type': 'base'}),
|
||||
(0,0, {
|
||||
'repartition_type': 'tax',
|
||||
'account_id': ref('l10n_ie_a2201'),
|
||||
}),
|
||||
]"/>
|
||||
<field name="refund_repartition_line_ids" eval="[(5, 0, 0),
|
||||
(0,0, {'repartition_type': 'base'}),
|
||||
(0,0, {
|
||||
'repartition_type': 'tax',
|
||||
'account_id': ref('l10n_ie_a2201'),
|
||||
}),
|
||||
]"/>
|
||||
</record>
|
||||
</odoo>
|
||||
34
odoo-bringout-oca-ocb-l10n_ie/l10n_ie/demo/demo_company.xml
Normal file
34
odoo-bringout-oca-ocb-l10n_ie/l10n_ie/demo/demo_company.xml
Normal file
|
|
@ -0,0 +1,34 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<odoo>
|
||||
<record id="partner_demo_company_ie" model="res.partner">
|
||||
<field name="name">IE Company</field>
|
||||
<field name="vat">IE1519572A</field>
|
||||
<field name="street">Celbridge Road</field>
|
||||
<field name="city">Lucan-St. Helens ED</field>
|
||||
<field name="country_id" ref="base.ie"/>
|
||||
<field name="state_id" ref="base.state_ie_32"/>
|
||||
<field name="zip">W23K5D0</field>
|
||||
<field name="phone">+353 85 012 3456</field>
|
||||
<field name="email">info@company.ieexample.com</field>
|
||||
<field name="website">www.ieexample.com</field>
|
||||
</record>
|
||||
|
||||
<record id="demo_company_ie" model="res.company">
|
||||
<field name="name">IE Company</field>
|
||||
<field name="partner_id" ref="partner_demo_company_ie"/>
|
||||
</record>
|
||||
|
||||
<function model="res.company" name="_onchange_country_id">
|
||||
<value eval="[ref('demo_company_ie')]"/>
|
||||
</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_ie.demo_company_ie'))]}"/>
|
||||
</function>
|
||||
|
||||
<function model="account.chart.template" name="try_loading">
|
||||
<value eval="[ref('l10n_ie.l10n_ie')]"/>
|
||||
<value model="res.company" eval="obj().env.ref('l10n_ie.demo_company_ie')"/>
|
||||
</function>
|
||||
</odoo>
|
||||
Binary file not shown.
|
After Width: | Height: | Size: 1.6 KiB |
File diff suppressed because one or more lines are too long
|
After Width: | Height: | Size: 12 KiB |
44
odoo-bringout-oca-ocb-l10n_ie/pyproject.toml
Normal file
44
odoo-bringout-oca-ocb-l10n_ie/pyproject.toml
Normal file
|
|
@ -0,0 +1,44 @@
|
|||
[project]
|
||||
name = "odoo-bringout-oca-ocb-l10n_ie"
|
||||
version = "16.0.0"
|
||||
description = "Ireland - Accounting - Odoo addon"
|
||||
authors = [
|
||||
{ name = "Ernad Husremovic", email = "hernad@bring.out.ba" }
|
||||
]
|
||||
dependencies = [
|
||||
"odoo-bringout-oca-ocb-account>=16.0.0",
|
||||
"odoo-bringout-oca-ocb-base_iban>=16.0.0",
|
||||
"odoo-bringout-oca-ocb-base_vat>=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_ie"]
|
||||
|
||||
[tool.rye]
|
||||
managed = true
|
||||
dev-dependencies = [
|
||||
"pytest>=8.4.1",
|
||||
]
|
||||
Loading…
Add table
Add a link
Reference in a new issue