Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Update readme, copyrights, changes according to review
  • Loading branch information
grindtildeath committed Feb 8, 2017
1 parent f4a6d73 commit 285532a
Show file tree
Hide file tree
Showing 9 changed files with 57 additions and 124 deletions.
58 changes: 43 additions & 15 deletions account_multicurrency_revaluation/README.rst
@@ -1,11 +1,14 @@
.. image:: https://img.shields.io/badge/licence-AGPL--3-blue.svg
:alt: License: AGPL-3
:target: http://www.gnu.org/licenses/agpl-3.0-standalone.html
:alt: License: AGPL-3

==============
Multicurrency revaluation
=========================
==============

This module was written to extend the functionality of the accounting module to
support the multicurrency.
support the multicurrency and to allow you to generate automatically
revaluation journal entries.

Installation
============
Expand Down Expand Up @@ -67,15 +70,6 @@ For FR
Provision B.S account [1515] [ ]
Provision P&L account [6865] [ ]

Usage
=====

The *Multicurrency revaluation* module allows you generate automatically
multicurrency revaluation journal entries.

Note that an extra aggregation by currency on general ledger & partner ledger
(from module : *account_financial_report*) has been added in order to get more
details.

Main Features
-------------
Expand All @@ -85,9 +79,43 @@ Main Features
balance having *Allow currency revaluation* checked.


.. figure:: path/to/local/image.png
:alt: alternative description
:width: 600 px

Usage
=====

To use this module, you need to:

#. Go to ...

.. image:: https://odoo-community.org/website/image/ir.attachment/5784_f2813bd/datas
:alt: Try me on Runbot
:target: https://runbot.odoo-community.org/runbot/89/9.0


Known issues / Roadmap
======================

* ...

Bug Tracker
===========

Bugs are tracked on `GitHub Issues
<https://github.com/OCA/account-closing/issues>`_. In case of trouble, please
check there if your issue has already been reported. If you spotted it first,
help us smash it by providing detailed and welcomed feedback.

Credits
=======

Images
------

* Odoo Community Association: `Icon <https://github.com/OCA/maintainer-tools/blob/master/template/module/static/description/icon.svg>`_.

Contributors
------------

Expand All @@ -110,14 +138,14 @@ Contributors
Maintainer
----------

.. image:: http://odoo-community.org/logo.png
.. image:: https://odoo-community.org/logo.png
:alt: Odoo Community Association
:target: http://odoo-community.org
:target: https://odoo-community.org

This module is maintained by the OCA.

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.

To contribute to this module, please visit http://odoo-community.org.
To contribute to this module, please visit https://odoo-community.org.
21 changes: 0 additions & 21 deletions account_multicurrency_revaluation/__init__.py
@@ -1,23 +1,2 @@
# -*- coding: utf-8 -*-
##############################################################################
#
# Author: Yannick Vaucher
# Copyright 2012 Camptocamp SA
#
# This program is free software: you can redistribute it and/or modify
# 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 Affero General Public License for more details.
#
# 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/>.
#
##############################################################################

from . import wizard
from . import model
23 changes: 2 additions & 21 deletions account_multicurrency_revaluation/__openerp__.py
@@ -1,23 +1,6 @@
# -*- coding: utf-8 -*-
##############################################################################
#
# Author: Yannick Vaucher
# Copyright 2012 Camptocamp SA
#
# This program is free software: you can redistribute it and/or modify
# 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 Affero General Public License for more details.
#
# 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/>.
#
##############################################################################
# Copyright 2012-2017 Camptocamp SA
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).

{"name": "Multicurrency revaluation",
"version": "9.0.1.0.0",
Expand All @@ -26,8 +9,6 @@
"author": "Camptocamp,Odoo Community Association (OCA)",
"license": 'AGPL-3',
"depends": [
"base",
"account",
"account_reversal",
],
"demo": [
Expand Down
21 changes: 0 additions & 21 deletions account_multicurrency_revaluation/model/__init__.py
@@ -1,24 +1,3 @@
# -*- coding: utf-8 -*-
##############################################################################
#
# Author: Yannick Vaucher
# Copyright 2012 Camptocamp SA
#
# This program is free software: you can redistribute it and/or modify
# 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 Affero General Public License for more details.
#
# 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/>.
#
##############################################################################

from . import res_company
from . import account
from . import res_currency
21 changes: 2 additions & 19 deletions account_multicurrency_revaluation/model/account.py
@@ -1,23 +1,6 @@
# -*- coding: utf-8 -*-
##############################################################################
#
# Author: Yannick Vaucher, Guewen Baconnier
# Copyright 2012 Camptocamp SA
#
# This program is free software: you can redistribute it and/or modify
# 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 Affero General Public License for more details.
#
# 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/>.
#
##############################################################################
# Copyright 2012-2017 Camptocamp SA
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).

from openerp import models, fields, api

Expand Down
25 changes: 4 additions & 21 deletions account_multicurrency_revaluation/model/res_company.py
@@ -1,23 +1,6 @@
# -*- coding: utf-8 -*-
##############################################################################
#
# Author: Yannick Vaucher
# Copyright 2012 Camptocamp SA
#
# This program is free software: you can redistribute it and/or modify
# 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 Affero General Public License for more details.
#
# 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/>.
#
##############################################################################
# Copyright 2012-2017 Camptocamp SA
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).

from openerp import models, fields

Expand All @@ -41,12 +24,12 @@ class ResCompany(models.Model):
)
provision_bs_loss_account_id = fields.Many2one(
comodel_name='account.account',
string='Provision B.S loss account',
string='Provision B.S. loss account',
domain=[('internal_type', '=', 'other')]
)
provision_bs_gain_account_id = fields.Many2one(
comodel_name='account.account',
string='Provision B.S gain account',
string='Provision B.S. gain account',
domain=[('internal_type', '=', 'other')]
)
provision_pl_loss_account_id = fields.Many2one(
Expand Down
2 changes: 1 addition & 1 deletion account_multicurrency_revaluation/security/security.xml
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<odoo>
<record model="res.groups" id="group_revaluation_additonal">
<record model="res.groups" id="group_revaluation_additional">
<field name="name">Additional provisioning entries posting</field>
<field name="category_id" ref="base.module_category_accounting_and_finance"/>
</record>
Expand Down
@@ -1,6 +1,6 @@
# -*- coding: utf-8 -*-
# Copyright 2017 Camptocamp SA
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html).
# Copyright 2012-2017 Camptocamp SA
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).

from openerp.tests.common import TransactionCase

Expand Down
6 changes: 3 additions & 3 deletions account_multicurrency_revaluation/views/res_company_view.xml
Expand Up @@ -24,13 +24,13 @@
<td> <field name="revaluation_gain_account_id" nolabel="1"/> </td>
<td> <field name="revaluation_analytic_account_id" nolabel="1"/> </td>
</tr>
<tr groups="account_multicurrency_revaluation.group_revaluation_additonal">
<th><label string="Provision B.S accounts"/></th>
<tr groups="account_multicurrency_revaluation.group_revaluation_additional">
<th><label string="Provision B.S. accounts"/></th>
<td> <field name="provision_bs_loss_account_id" nolabel="1"/> </td>
<td> <field name="provision_bs_gain_account_id" nolabel="1"/> </td>
<td> </td>
</tr>
<tr groups="account_multicurrency_revaluation.group_revaluation_additonal">
<tr groups="account_multicurrency_revaluation.group_revaluation_additional">
<th><label string="Provision P&amp;L accounts"/></th>
<td> <field name="provision_pl_loss_account_id" nolabel="1"/> </td>
<td> <field name="provision_pl_gain_account_id" nolabel="1"/> </td>
Expand Down

0 comments on commit 285532a

Please sign in to comment.