1
##############################################################################
3
# Copyright (c) 2008 Camtocamp SA
4
# @author JB Aubort, Nicolas Bessi, Joel Grand-Guillaume
5
# European Central Bank and Polish National Bank invented by Grzegorz Grzelak
8
# WARNING: This program as such is intended to be used by professional
9
# programmers who take the whole responsability of assessing all potential
10
# consequences resulting from its eventual inadequacies and bugs
11
# End users who are looking for a ready-to-use solution with commercial
12
# garantees and support are strongly adviced to contract a Free Software
15
# This program is Free Software; you can redistribute it and/or
16
# modify it under the terms of the GNU General Public License
17
# as published by the Free Software Foundation; either version 2
18
# of the License, or (at your option) any later version.
20
# This program is distributed in the hope that it will be useful,
21
# but WITHOUT ANY WARRANTY; without even the implied warranty of
22
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
23
# GNU General Public License for more details.
25
# You should have received a copy of the GNU General Public License
26
# along with this program; if not, write to the Free Software
27
# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
29
##############################################################################
31
"name" : "Currency Rate Update",
33
"author" : "Camptocamp SA, \n contributor Grzegorz Grzelak",
34
"website" : "http://camptocamp.com",
35
"category" : "Financial Management/Configuration",
37
Import exchange rates from three different sources on the internet :
40
Updated daily, source in CHF.
42
2. European Central Bank (ported by Grzegorz Grzelak)
43
The reference rates are based on the regular daily concertation procedure between
44
central banks within and outside the European System of Central Banks,
45
which normally takes place at 2.15 p.m. (14:15) ECB time. Source in EUR.
46
http://www.ecb.europa.eu/stats/exchange/eurofxref/html/index.en.html
51
4. Polish National Bank (Narodowy Bank Polski) (contribution by Grzegorz Grzelak)
52
Takes official rates from www.nbp.pl. Adds rate table symbol in log.
53
You should check when rates should apply to bookkeeping. If next day you should
54
change the update hour in schedule settings because in OpenERP they apply from
55
date of update (date - no hours).
57
In the roadmap : Google Finance.
58
Updated daily from Citibank N.A., source in EUR. Information may be delayed.
59
This is parsed from an HTML page, so it may be broken at anytime.
61
The update can be set under de company form.
62
You can set for each services which currency you want to update.
63
The log of the update are visible under the service note.
64
You can active or deactivate the update.
65
The module uses internal ir_cron feature from OpenERP, so the job is launched once
66
the server starts if the 'first execute date' is before the current day.
67
The module supports multi-company currency in two way :
68
the currencies are shared, you can set currency update only on one
70
the currency are separated, you can set currency on every company
72
A function field let you know your currency configuration.
74
If in multi-company mode, the base currency will be the first company's currency
78
"init_xml" : ["security/security.xml"],
80
"currency_rate_update.xml",