openerp-community team mailing list archive
-
openerp-community team
-
Mailing list archive
-
Message #00285
[Merge] lp:~openerp-community/openobject-server/trunk-CFA_currency into lp:openobject-server
Tidiane Sy (BAAMTU) has proposed merging lp:~openerp-community/openobject-server/trunk-CFA_currency into lp:openobject-server.
Requested reviews:
OpenERP Core Team (openerp)
For more details, see:
https://code.launchpad.net/~openerp-community/openobject-server/trunk-CFA_currency/+merge/56956
This change adds the CFA ((Please see http://en.wikipedia.org/wiki/CFA_franc)) currency to the base currencies.
It is preparing another merge proposal which will add the l10n_syscohada addon. l10n_syscohada needs the CFA currency.
Thanks!
--
https://code.launchpad.net/~openerp-community/openobject-server/trunk-CFA_currency/+merge/56956
Your team OpenERP Community is subscribed to branch lp:~openerp-community/openobject-server/trunk-CFA_currency.
=== modified file 'openerp/addons/base/base_data.xml'
--- openerp/addons/base/base_data.xml 2011-03-16 12:17:33 +0000
+++ openerp/addons/base/base_data.xml 2011-04-08 14:37:31 +0000
@@ -1033,7 +1033,7 @@
<field name="currency_id" ref="EUR"/>
<field eval="time.strftime('%Y-01-01')" name="name"/>
</record>
-
+
<!-- Basic Company -->
<record id="main_company" model="res.company">
<field name="name">OpenERP S.A.</field>
@@ -1617,5 +1617,18 @@
<field name="currency_id" ref="MUR"/>
<field eval="time.strftime('%Y-01-01')" name="name"/>
</record>
+
+ <record id="CFA" model="res.currency">
+ <field name="name">CFA</field>
+ <field name="symbol">CFA</field>
+ <field name="rounding">1</field>
+ <field name="accuracy">4</field>
+ <field name="company_id" ref="main_company"/>
+ </record>
+ <record id="rateCFA" model="res.currency.rate">
+ <field name="rate">655.957</field>
+ <field name="currency_id" ref="CFA"/>
+ <field eval="time.strftime('%Y-01-01')" name="name"/>
+ </record>
</data>
</openerp>
Follow ups