Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[ADD][l10n_ma]: Add new module for Moroccan Localization
- Loading branch information
1 parent
52057da
commit 3a822c1
Showing
34 changed files
with
4,534 additions
and
3,783 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,5 @@ | ||
# -*- coding: utf-8 -*- | ||
# Part of Odoo. See LICENSE file for full copyright and licensing details. | ||
|
||
|
||
from . import models |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,27 +1,33 @@ | ||
# -*- coding: utf-8 -*- | ||
# Part of Odoo. See LICENSE file for full copyright and licensing details. | ||
|
||
# Copyright (c) 2010 kazacube (http://kazacube.com). | ||
# Copyright (c) 2010 karizma (http://karizma.ma). | ||
|
||
{ | ||
'name': 'Maroc - Accounting', | ||
'author': 'kazacube', | ||
'version': '1.0', | ||
'author': 'Karizma Conseil', | ||
'category': 'Localization', | ||
'description': """ | ||
This is the base module to manage the accounting chart for Maroc. | ||
This is the base module to manage the accounting chart for Morocco. | ||
================================================================= | ||
Ce Module charge le modèle du plan de comptes standard Marocain et permet de | ||
générer les états comptables aux normes marocaines (Bilan, CPC (comptes de | ||
produits et charges), balance générale à 6 colonnes, Grand livre cumulatif...). | ||
L'intégration comptable a été validé avec l'aide du Cabinet d'expertise comptable | ||
Seddik au cours du troisième trimestre 2010.""", | ||
'website': 'http://www.kazacube.com', | ||
'depends': ['base', 'account'], | ||
It adds the ICE code to the customer invoices according to the new Moroccan finance law. | ||
Ce Module charge le modèle du plan de comptes standard Marocain et permet de configurer les taxes et les comptes comptables convenablement. | ||
il permet également d'ajouter l'ICE sur les factures conformément à la nouvelle loi de finance marocaine""", | ||
|
||
'website': 'http://www.karizma.ma', | ||
'depends': ['account', 'web'], | ||
'data': [ | ||
'data/account_group.xml', | ||
'data/l10n_ma_chart_data.xml', | ||
'data/account_data.xml', | ||
'data/account_tax_data.xml', | ||
'data/account_chart_template_data.xml', | ||
'data/account_tax_data.xml', | ||
'data/account_chart_template_configure_data.xml', | ||
'views/partner_view.xml', | ||
'views/company.xml', | ||
'reports/invoice_report.xml', | ||
'reports/footer.xml', | ||
], | ||
} |
8 changes: 8 additions & 0 deletions
8
addons/l10n_ma/data/account_chart_template_configure_data.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<odoo> | ||
<data noupdate="1"> | ||
<function model="account.chart.template" name="try_loading_for_current_company"> | ||
<value eval="[ref('l10n_ma.l10n_kzm_temp_chart')]"/> | ||
</function> | ||
</data> | ||
</odoo> |
3,818 changes: 3,812 additions & 6 deletions
3,818
addons/l10n_ma/data/account_chart_template_data.xml
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,52 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<odoo> | ||
<data> | ||
<record id="account_group_1_5" model="account.group"> | ||
<field name="code_prefix">1_5</field> | ||
<field name="name">Classe 1_5</field> | ||
</record> | ||
|
||
<record id="account_group_1" model="account.group"> | ||
<field name="code_prefix">1</field> | ||
<field name="name">Classe 1</field> | ||
<field name="parent_id" ref="l10n_ma.account_group_1_5"/> | ||
</record> | ||
<record id="account_group_2" model="account.group"> | ||
<field name="code_prefix">2</field> | ||
<field name="name">Classe 2</field> | ||
<field name="parent_id" ref="l10n_ma.account_group_1_5"/> | ||
</record> | ||
<record id="account_group_3" model="account.group"> | ||
<field name="code_prefix">3</field> | ||
<field name="name">Classe 3</field> | ||
<field name="parent_id" ref="l10n_ma.account_group_1_5"/> | ||
</record> | ||
<record id="account_group_4" model="account.group"> | ||
<field name="code_prefix">4</field> | ||
<field name="name">Classe 4</field> | ||
<field name="parent_id" ref="l10n_ma.account_group_1_5"/> | ||
</record> | ||
<record id="account_group_5" model="account.group"> | ||
<field name="code_prefix">5</field> | ||
<field name="name">Classe 5</field> | ||
<field name="parent_id" ref="l10n_ma.account_group_1_5"/> | ||
</record> | ||
|
||
<record id="account_group_6_7" model="account.group"> | ||
<field name="code_prefix">6_7</field> | ||
<field name="name">Classe 6_7</field> | ||
</record> | ||
<record id="account_group_6" model="account.group"> | ||
<field name="code_prefix">6</field> | ||
<field name="name">Classe 6</field> | ||
<field name="parent_id" ref="l10n_ma.account_group_6_7"/> | ||
</record> | ||
<record id="account_group_7" model="account.group"> | ||
<field name="code_prefix">7</field> | ||
<field name="name">Classe 7</field> | ||
<field name="parent_id" ref="l10n_ma.account_group_6_7"/> | ||
</record> | ||
|
||
|
||
</data> | ||
</odoo> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.