~camptocamp/account-financial-tools/credit_control_report_improvement_vre

« back to all changes in this revision

Viewing changes to currency_rate_update/__openerp__.py

  • Committer: Joël Grand-Guillaume
  • Date: 2011-08-12 12:35:23 UTC
  • Revision ID: joel.grandguillaume@camptocamp.com-20110812123523-hksk8nby1tp64rx1
[ADD] First commit of the first financial modules to move in our new public branch
(lp:c2c-addons/6.1  rev 1)

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
##############################################################################
 
2
#
 
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
 
6
# $Id: $
 
7
#
 
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
 
13
# Service Company
 
14
#
 
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.
 
19
#
 
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.
 
24
#
 
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.
 
28
#
 
29
##############################################################################
 
30
{
 
31
    "name" : "Currency Rate Update",
 
32
    "version" : "0.6",
 
33
    "author" : "Camptocamp SA, \n contributor Grzegorz Grzelak",
 
34
    "website" : "http://camptocamp.com",
 
35
    "category" : "Financial Management/Configuration",
 
36
    "description": """
 
37
Import exchange rates from three different sources on the internet :
 
38
 
 
39
1. Admin.ch
 
40
   Updated daily, source in CHF.
 
41
 
 
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
 
47
 
 
48
3. Yahoo Finance
 
49
   Updated daily
 
50
 
 
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).
 
56
 
 
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.
 
60
 
 
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 
 
69
    company
 
70
    the currency are separated, you can set currency on every company
 
71
    separately
 
72
A function field let you know your currency configuration.
 
73
 
 
74
If in multi-company mode, the base currency will be the first company's currency
 
75
found in database.
 
76
""",
 
77
    "depends" : ["base"],
 
78
    "init_xml" : ["security/security.xml"],
 
79
    "update_xml" : [
 
80
                        "currency_rate_update.xml",
 
81
                        "company_view.xml",
 
82
                    ],
 
83
    "demo_xml" : [],
 
84
    "active": False,
 
85
    "installable": True
 
86
}