Author: |
Camptocamp, Odoo Community Association (OCA) |
License: |
AGPL-3 |
Branch: |
12.0 |
Repository: |
2FM/currency |
Dependencies: |
base |
Languages: |
HTML (352, 5.3%),
PO File (5969, 89.8%),
Python (176, 2.6%),
XML (94, 1.4%),
and
reStructuredText (57, 0.9%) |
Other branches: |
10.0,
and
11.0 |
Other repositories: |
Change2improve/currency,
Darknroses/currency,
DavidLizasoain/currency,
Digital5-Odoo/currency,
DinhTien24/currency,
ERPLibre/currency,
ForgeFlow/currency,
Gabinete-Digital/currency,
GrupoYACCK/currency,
Ingeos/currency,
Martronic-SA/currency,
MathBenTech/currency,
MaxyMoos/currency,
Mefistous/currency,
MjAbuz/currency,
NeatNerdPrime/currency,
NextERP-Romania/currency,
OCA-MUK/currency,
OCA/currency,
ORETEK/currency,
PESOL/currency,
SalahAdDin/currency,
SanteLibre/currency,
SequarSrl/currency,
SeuMarco/currency,
SolutionSeekers/currency,
Tonow-c2c/currency,
Vaerum/currency,
VisiionSolucionesTecnologicas/currency,
aaltinisik/currency,
agrista/odoo-currency,
akretion/currency,
angelmoya/currency,
anhvu-sg/currency,
bd5dml77/currency,
brain-tec/currency,
brainbeanapps/currency,
camptocamp/account-financial-tools,
camptocamp/currency,
cedvict/currency,
crbll0/currency,
daramousk/currency,
ecosoft-odoo/currency,
grindtildeath/account-financial-tools,
grindtildeath/currency,
hendra-go/currency,
i-vyshnevska/currency,
kirca/currency,
kurogeek/currency,
lideritjnma/currency,
markrobinson85/currency,
mpanarin/account-financial-tools,
novawish/currency,
odoogap/currency,
pafnow/oca.currency,
pscloud/currency,
redblow/currency,
roaatech/currency,
royalline1/currency,
rven/currency,
sanube/currency,
sewisoft/currency,
sygel-technology/currency,
takinobori/oca-currency,
veetoki/currency,
wahello/currency,
x0rzkov/odoo-currency,
and
xpansa/currency |
<h1 class="title">Currency Monthly Rate</h1>
<p><a class="reference external" href="https://odoo-community.org/page/development-status"><img alt="Beta" src="https://img.shields.io/badge/maturity-Beta-yellow.png" /></a> <a class="reference external" href="http://www.gnu.org/licenses/agpl-3.0-standalone.html"><img alt="License: AGPL-3" src="https://img.shields.io/badge/licence-AGPL--3-blue.png" /></a> <a class="reference external" href="https://github.com/OCA/currency/tree/12.0/currency_monthly_rate"><img alt="OCA/currency" src="https://img.shields.io/badge/github-OCA%2Fcurrency-lightgray.png?logo=github" /></a> <a class="reference external" href="https://translation.odoo-community.org/projects/currency-12-0/currency-12-0-currency_monthly_rate"><img alt="Translate me on Weblate" src="https://img.shields.io/badge/weblate-Translate%20me-F47D42.png" /></a> <a class="reference external" href="https://runbot.odoo-community.org/runbot/259/12.0"><img alt="Try me on Runbot" src="https://img.shields.io/badge/runbot-Try%20me-875A7B.png" /></a></p>
<p>This module extends the functionality of base module to support monthly
currency rates.</p>
<p><strong>Table of contents</strong></p>
<div class="contents local topic" id="contents">
<ul class="simple">
<li><a class="reference internal" href="#usage" id="id1">Usage</a></li>
<li><a class="reference internal" href="#issues" id="id2">Issues</a></li>
<li><a class="reference internal" href="#bug-tracker" id="id3">Bug Tracker</a></li>
<li><a class="reference internal" href="#credits" id="id4">Credits</a><ul>
<li><a class="reference internal" href="#authors" id="id5">Authors</a></li>
<li><a class="reference internal" href="#contributors" id="id6">Contributors</a></li>
<li><a class="reference internal" href="#maintainers" id="id7">Maintainers</a></li>
</ul>
</li>
</ul>
</div>
<a name="usage"></a>
<h2><a class="toc-backref" href="#id1">Usage</a></h2>
<p>To use this module, you need to add the security group 'Monthly currency rates'
to your user, so that a 'Monthly rates' smart button appears on the currency
form view.</p>
<p>In order to compute any amount in another currency using monthly rates, you
only have to pass <cite>monthly_rate=True</cite> in the context of <cite>res.currency.compute</cite>
method :</p>
<pre>
<code lang="python">to_amount = from_currency.with_context(monthly_rate=True).compute(from_amount, to_currency)</code>
</pre>
<a name="issues"></a>
<h2><a class="toc-backref" href="#id2">Issues</a></h2>
<ul class="simple">
<li>Monthly currency rates have to be created manually as no automatic updates
is implemented yet.</li>
</ul>
<a name="bug-tracker"></a>
<h2><a class="toc-backref" href="#id3">Bug Tracker</a></h2>
<p>Bugs are tracked on <a class="reference external" href="https://github.com/OCA/currency/issues">GitHub Issues</a>.
In case of trouble, please check there if your issue has already been reported.
If you spotted it first, help us smashing it by providing a detailed and welcomed
<a class="reference external" href="https://github.com/OCA/currency/issues/new?body=module:%20currency_monthly_rate%0Aversion:%2012.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**">feedback</a>.</p>
<p>Do not contact contributors directly about support or help with technical issues.</p>
<a name="credits"></a>
<h2><a class="toc-backref" href="#id4">Credits</a></h2>
<a name="authors"></a>
<h3><a class="toc-backref" href="#id5">Authors</a></h3>
<ul class="simple">
<li>Camptocamp</li>
</ul>
<a name="contributors"></a>
<h3><a class="toc-backref" href="#id6">Contributors</a></h3>
<ul class="simple">
<li>Akim Juillerat <<a class="reference external" href="mailto:akim.juillerat@camptocamp.com">akim.juillerat@camptocamp.com</a>></li>
<li>Iryna Vyshnevska <<a class="reference external" href="mailto:i.vyshnevska@mobilunity.com">i.vyshnevska@mobilunity.com</a>></li>
</ul>
<a name="maintainers"></a>
<h3><a class="toc-backref" href="#id7">Maintainers</a></h3>
<p>This module is maintained by the OCA.</p>
<a class="reference external image-reference" href="https://odoo-community.org"><img alt="Odoo Community Association" src="https://odoo-community.org/logo.png" /></a>
<p>OCA, or the Odoo Community Association, is a nonprofit organization whose
mission is to support the collaborative development of Odoo features and
promote its widespread use.</p>
<p>This module is part of the <a class="reference external" href="https://github.com/OCA/currency/tree/12.0/currency_monthly_rate">OCA/currency</a> project on GitHub.</p>
<p>You are welcome to contribute. To learn how please visit <a class="reference external" href="https://odoo-community.org/page/Contribute">https://odoo-community.org/page/Contribute</a>.</p>