[FIX] 3 improvements suggested by Olivier Dony.1currency management - 2copyrigth fix - 3precise covered countries
bzr revid: tsy@baamtu.com-20110411152503-mcaropfxxdpla2fs
This commit is contained in:
parent
59c591d874
commit
8d02d91e37
|
@ -1,21 +1,20 @@
|
|||
# -*- encoding: utf-8 -*-
|
||||
# -*- coding: utf-8 -*-
|
||||
##############################################################################
|
||||
#
|
||||
# Copyright (C) 2010-2011 BAAMTU SARL (<http://www.baamtu.sn>). All Rights Reserved
|
||||
# $Id$
|
||||
# contact : leadsn@baamtu.com
|
||||
# Copyright (C) 2010-2011 BAAMTU SARL (<http://www.baamtu.sn>).
|
||||
# contact: leadsn@baamtu.com
|
||||
#
|
||||
# This program is free software: you can redistribute it and/or modify
|
||||
# it under the terms of the GNU General Public License as published by
|
||||
# the Free Software Foundation, either version 3 of the License, or
|
||||
# (at your option) any later version.
|
||||
# it under the terms of the GNU Affero General Public License as
|
||||
# published by the Free Software Foundation, either version 3 of the
|
||||
# License, or (at your option) any later version.
|
||||
#
|
||||
# This program is distributed in the hope that it will be useful,
|
||||
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
# GNU General Public License for more details.
|
||||
# GNU Affero General Public License for more details.
|
||||
#
|
||||
# You should have received a copy of the GNU General Public License
|
||||
# You should have received a copy of the GNU Affero General Public License
|
||||
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
#
|
||||
##############################################################################
|
||||
|
|
|
@ -1,39 +0,0 @@
|
|||
# -*- encoding: utf-8 -*-
|
||||
##############################################################################
|
||||
#
|
||||
# Copyright (C) 2010-2011 BAAMTU SARL (<http://www.baamtu.sn>). All Rights Reserved
|
||||
# $Id$
|
||||
# contact: leadsn@baamtu.com
|
||||
#
|
||||
# This program is free software: you can redistribute it and/or modify
|
||||
# it under the terms of the GNU General Public License as published by
|
||||
# the Free Software Foundation, either version 3 of the License, or
|
||||
# (at your option) any later version.
|
||||
#
|
||||
# This program is distributed in the hope that it will be useful,
|
||||
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
# GNU General Public License for more details.
|
||||
#
|
||||
# You should have received a copy of the GNU General Public License
|
||||
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
#
|
||||
##############################################################################
|
||||
|
||||
{
|
||||
"name" : "OHADA - The accounting chart ",
|
||||
"version" : "1.0",
|
||||
"author" : "Baamtu Senegal",
|
||||
"category" : "Localisation/Account Charts",
|
||||
"description": """This module implements the accounting chart for OHADA area.
|
||||
It allows any company or association to manage its financial accounting.
|
||||
""",
|
||||
"website": "http://www.baamtu.com",
|
||||
"depends" : ["account", "base_vat"],
|
||||
"demo_xml" : [],
|
||||
"init_xml":[],
|
||||
"update_xml" : ["l10n_syscohada_data.xml","l10n_syscohada_wizard.xml"],
|
||||
"active": False,
|
||||
"installable": True
|
||||
}
|
||||
# vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4:
|
|
@ -1,4 +1,4 @@
|
|||
<?xml version="1.0" encoding="UTF-8" ?>
|
||||
<?xml version="1.0" encoding="UTF-8" ?>
|
||||
<openerp>
|
||||
<data noupdate="0">
|
||||
<record id="account_type_dettes" model="account.account.type">
|
||||
|
@ -1803,13 +1803,29 @@
|
|||
#
|
||||
-->
|
||||
|
||||
<record model="res.currency" id="CFA">
|
||||
<field name="name">CFA</field>
|
||||
<field name="code">CFA</field>
|
||||
<field name="rate">1.0</field>
|
||||
<record id="base.CFA" model="res.currency">
|
||||
<!-- There are in fact 2 CFA currencies:
|
||||
- XAF for the Central African CFA franc
|
||||
- XOF for the West African CFA franc
|
||||
As they are interchangeable, we probably only need one.
|
||||
XOF appears to have "CFA" as symbol, while "XAF" is "FCFA",
|
||||
so let's pick XOF as the ISO Code, to have a code-symbol match.
|
||||
We can keep CFA as XML ID to show that we only have one currency,
|
||||
there is no possible conflict, as no other currency currently
|
||||
has CFA as ISO Code.
|
||||
See http://en.wikipedia.org/wiki/CFA_franc
|
||||
http://en.wikipedia.org/wiki/ISO_4217
|
||||
-->
|
||||
<field name="name">XOF</field>
|
||||
<field name="symbol">CFA</field>
|
||||
<field name="rounding">1</field>
|
||||
<field name="accuracy">4</field>
|
||||
</record>
|
||||
<record id="base.rateCFA" model="res.currency.rate">
|
||||
<field name="rate">655.957</field>
|
||||
<field name="currency_id" ref="base.CFA"/>
|
||||
<field eval="time.strftime('%Y-01-01')" name="name"/>
|
||||
</record>
|
||||
<!--
|
||||
#
|
||||
# SYSCOHADA : Définition des taux de TVA SYSCOHADA
|
||||
|
|
Loading…
Reference in New Issue