mirror of
https://github.com/bringout/oca-ocb-l10n_americas.git
synced 2026-04-26 17:52:03 +02:00
Initial commit: L10N_Americas packages
This commit is contained in:
commit
12b27ce151
714 changed files with 79328 additions and 0 deletions
|
|
@ -0,0 +1,5 @@
|
|||
# -*- coding: utf-8 -*-
|
||||
# Part of Odoo. See LICENSE file for full copyright and licensing details.
|
||||
|
||||
# Copyright (C) 2010-2011 BAAMTU SARL (<http://www.baamtu.sn>).
|
||||
# contact: leadsn@baamtu.com
|
||||
|
|
@ -0,0 +1,43 @@
|
|||
# -*- coding: utf-8 -*-
|
||||
# Part of Odoo. See LICENSE file for full copyright and licensing details.
|
||||
|
||||
# Copyright (C) 2010-2011 BAAMTU SARL (<http://www.baamtu.sn>).
|
||||
# contact: leadsn@baamtu.com
|
||||
|
||||
{
|
||||
'name' : 'OHADA - Accounting',
|
||||
'author' : 'Baamtu Senegal',
|
||||
'category': 'Accounting/Localizations/Account Charts',
|
||||
'icon': '/l10n_syscohada/static/description/icon.jpeg',
|
||||
'description': """
|
||||
This module implements the accounting chart for OHADA area.
|
||||
===========================================================
|
||||
|
||||
It allows any company or association to manage its financial accounting.
|
||||
|
||||
Countries that use OHADA are the following:
|
||||
-------------------------------------------
|
||||
Benin, Burkina Faso, Cameroon, Central African Republic, Comoros, Congo,
|
||||
|
||||
Ivory Coast, Gabon, Guinea, Guinea Bissau, Equatorial Guinea, Mali, Niger,
|
||||
|
||||
Democratic Republic of the Congo, Senegal, Chad, Togo.
|
||||
""",
|
||||
'website': 'http://www.baamtu.com',
|
||||
'depends' : [
|
||||
'account',
|
||||
],
|
||||
'data': [
|
||||
'data/menuitem_data.xml',
|
||||
'data/account_tax_group_data.xml',
|
||||
'data/l10n_syscohada_chart_data.xml',
|
||||
'data/account.account.template.csv',
|
||||
'data/l10n_syscohada_chart_post_data.xml',
|
||||
'data/account_tax_template_data.xml',
|
||||
'data/account_chart_template_data.xml',
|
||||
],
|
||||
'demo': [
|
||||
'demo/demo_company.xml',
|
||||
],
|
||||
'license': 'LGPL-3',
|
||||
}
|
||||
File diff suppressed because it is too large
Load diff
|
|
@ -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_syscohada.syscohada_chart_template')]"/>
|
||||
</function>
|
||||
</data>
|
||||
</odoo>
|
||||
|
|
@ -0,0 +1,11 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<odoo>
|
||||
<data noupdate="1">
|
||||
<record id="tax_group_0" model="account.tax.group">
|
||||
<field name="name">TVA 0%</field>
|
||||
</record>
|
||||
<record id="tax_group_18" model="account.tax.group">
|
||||
<field name="name">TVA 18%</field>
|
||||
</record>
|
||||
</data>
|
||||
</odoo>
|
||||
|
|
@ -0,0 +1,86 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<odoo>
|
||||
<!--
|
||||
#
|
||||
# SYSCOHADA : Définition des taux de TVA SYSCOHADA
|
||||
# Auteur : BAAMTU Sénégal
|
||||
# Version du fichier : 1.0
|
||||
# Date : 02/2010
|
||||
#
|
||||
#
|
||||
-->
|
||||
<record model="account.tax.template" id="tva_sale_18">
|
||||
<field name="name">TVA 18% (vente)</field>
|
||||
<field name="chart_template_id" ref="syscohada_chart_template"/>
|
||||
<field name="amount">18</field>
|
||||
<field name="amount_type">percent</field>
|
||||
<field name="type_tax_use">sale</field>
|
||||
<field name="tax_group_id" ref="tax_group_18"/>
|
||||
<field name="invoice_repartition_line_ids" eval="[(5, 0, 0),
|
||||
(0,0, {'repartition_type': 'base'}),
|
||||
(0,0, {
|
||||
'repartition_type': 'tax',
|
||||
'account_id': ref('pcg_4431'),
|
||||
}),
|
||||
]"/>
|
||||
<field name="refund_repartition_line_ids" eval="[(5, 0, 0),
|
||||
(0,0, {'repartition_type': 'base'}),
|
||||
(0,0, {
|
||||
'repartition_type': 'tax',
|
||||
'account_id': ref('pcg_4431'),
|
||||
}),
|
||||
]"/>
|
||||
</record>
|
||||
<record model="account.tax.template" id="tva_purchase_18">
|
||||
<field name="name">TVA 18% (achat)</field>
|
||||
<field name="chart_template_id" ref="syscohada_chart_template"/>
|
||||
<field name="amount">18</field>
|
||||
<field name="amount_type">percent</field>
|
||||
<field name="type_tax_use">purchase</field>
|
||||
<field name="tax_group_id" ref="tax_group_18"/>
|
||||
<field name="invoice_repartition_line_ids" eval="[(5, 0, 0),
|
||||
(0,0, {'repartition_type': 'base'}),
|
||||
(0,0, {
|
||||
'repartition_type': 'tax',
|
||||
'account_id': ref('pcg_4452'),
|
||||
}),
|
||||
]"/>
|
||||
<field name="refund_repartition_line_ids" eval="[(5, 0, 0),
|
||||
(0,0, {'repartition_type': 'base'}),
|
||||
(0,0, {
|
||||
'repartition_type': 'tax',
|
||||
'account_id': ref('pcg_4452'),
|
||||
}),
|
||||
]"/>
|
||||
</record>
|
||||
<record model="account.tax.template" id="tva_exonere">
|
||||
<field name="name">Exonéré de TVA (vente)</field>
|
||||
<field name="chart_template_id" ref="syscohada_chart_template"/>
|
||||
<field name="amount">0</field>
|
||||
<field name="type_tax_use">sale</field>
|
||||
<field name="tax_group_id" ref="tax_group_0"/>
|
||||
<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 model="account.tax.template" id="tva_achat_exonere">
|
||||
<field name="name">Exonéré de TVA (achat)</field>
|
||||
<field name="chart_template_id" ref="syscohada_chart_template"/>
|
||||
<field name="amount">0</field>
|
||||
<field name="type_tax_use">purchase</field>
|
||||
<field name="tax_group_id" ref="tax_group_0"/>
|
||||
<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>
|
||||
</odoo>
|
||||
|
|
@ -0,0 +1,14 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<odoo>
|
||||
|
||||
<!-- Chart Template -->
|
||||
<record id="syscohada_chart_template" model="account.chart.template">
|
||||
<field name="name">SYSCOHADA Révisé</field>
|
||||
<field name="bank_account_code_prefix">521</field>
|
||||
<field name="cash_account_code_prefix">571</field>
|
||||
<field name="transfer_account_code_prefix">585</field>
|
||||
<field name="code_digits">6</field>
|
||||
<field name="currency_id" ref="base.XOF"/>
|
||||
</record>
|
||||
|
||||
</odoo>
|
||||
|
|
@ -0,0 +1,16 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<odoo>
|
||||
|
||||
<record id="syscohada_chart_template" model="account.chart.template">
|
||||
<field name="property_account_receivable_id" ref="pcg_4111"/>
|
||||
<field name="property_account_payable_id" ref="pcg_4011"/>
|
||||
<field name="property_account_expense_categ_id" ref="pcg_6011"/>
|
||||
<field name="property_account_income_categ_id" ref="pcg_7011"/>
|
||||
<field name="income_currency_exchange_account_id" ref="pcg_776"/>
|
||||
<field name="expense_currency_exchange_account_id" ref="pcg_676"/>
|
||||
<field name="default_pos_receivable_account_id" ref="pcg_4113"/>
|
||||
<field name="account_journal_early_pay_discount_loss_account_id" ref="pcg_6019"/>
|
||||
<field name="account_journal_early_pay_discount_gain_account_id" ref="pcg_7019"/>
|
||||
</record>
|
||||
|
||||
</odoo>
|
||||
|
|
@ -0,0 +1,4 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<odoo>
|
||||
<menuitem id="account_reports_syscohada_statements_menu" name="Syscohada" parent="account.menu_finance_reports" sequence="0" groups="account.group_account_readonly"/>
|
||||
</odoo>
|
||||
|
|
@ -0,0 +1,34 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<odoo>
|
||||
<record id="partner_demo_company_syscohada" model="res.partner">
|
||||
<field name="name">SN Company</field>
|
||||
<field name="vat">0001462 2G3</field>
|
||||
<field name="street">Rue SC 98</field>
|
||||
<field name="city">Dakar</field>
|
||||
<field name="country_id" ref="base.sn"/>
|
||||
|
||||
<field name="zip">10200</field>
|
||||
<field name="phone">+963 944 567 890</field>
|
||||
<field name="email">info@company.syscohadaexample.com</field>
|
||||
<field name="website">www.syscohadaexample.com</field>
|
||||
</record>
|
||||
|
||||
<record id="demo_company_syscohada" model="res.company">
|
||||
<field name="name">SN Company</field>
|
||||
<field name="partner_id" ref="partner_demo_company_syscohada"/>
|
||||
</record>
|
||||
|
||||
<function model="res.company" name="_onchange_country_id">
|
||||
<value eval="[ref('demo_company_syscohada')]"/>
|
||||
</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_syscohada.demo_company_syscohada'))]}"/>
|
||||
</function>
|
||||
|
||||
<function model="account.chart.template" name="try_loading">
|
||||
<value eval="[ref('l10n_syscohada.syscohada_chart_template')]"/>
|
||||
<value model="res.company" eval="obj().env.ref('l10n_syscohada.demo_company_syscohada')"/>
|
||||
</function>
|
||||
</odoo>
|
||||
Binary file not shown.
|
After Width: | Height: | Size: 13 KiB |
Loading…
Add table
Add a link
Reference in a new issue