[ADD] bank_statement_foreign_currency

pull/255/head
mreficent 2017-12-14 15:30:43 +01:00 committed by Jordi Ballester Alomar
parent fea6b2d96e
commit 5d07c52986
5 changed files with 85 additions and 0 deletions

View File

@ -0,0 +1,48 @@
.. image:: https://img.shields.io/badge/licence-AGPL--3-blue.svg
:target: http://www.gnu.org/licenses/agpl-3.0-standalone.html
:alt: License: AGPL-3
===============================
Bank Statement Foreign Currency
===============================
This module makes visible the currency columns in the bank statements lines.
Usage
=====
.. image:: https://odoo-community.org/website/image/ir.attachment/5784_f2813bd/datas
:alt: Try me on Runbot
:target: https://runbot.odoo-community.org/runbot/98/10.0
Bug Tracker
===========
Bugs are tracked on `GitHub Issues <https://github.com/OCA/account-reconcile/issues>`_.
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 feedback.
Credits
=======
Contributors
------------
* Miquel Raïch <miquel.raich@eficent.com>
Maintainer
----------
.. image:: https://odoo-community.org/logo.png
:alt: Odoo Community Association
: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 https://odoo-community.org.

View File

@ -0,0 +1 @@
# -*- coding: utf-8 -*-

View File

@ -0,0 +1,18 @@
# -*- coding: utf-8 -*-
# Copyright 2017 Eficent Business and IT Consulting Services S.L.
# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl.html).
{
"name": "Bank Statement Foreign Currency",
"summary": "Make visible the foreign currencies in the bank statements",
"version": "10.0.1.0.0",
"depends": ["account"],
"author": "Eficent, Odoo Community Association (OCA)",
"website": "http://www.github.com/OCA/account-reconcile",
"category": "Finance",
"data": ["views/account_view.xml",
],
'license': 'AGPL-3',
"auto_install": False,
'installable': True,
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 9.2 KiB

View File

@ -0,0 +1,18 @@
<?xml version="1.0" encoding="utf-8"?>
<odoo>
<record id="view_bank_statement_form" model="ir.ui.view">
<field name="name">account.bank.statement.form</field>
<field name="model">account.bank.statement</field>
<field name="inherit_id" ref="account.view_bank_statement_form"/>
<field name="arch" type="xml">
<xpath expr="//tree/field[@name='amount_currency']" position="attributes">
<attribute name="invisible">0</attribute>
<attribute name="groups">base.group_multi_currency</attribute>
</xpath>
<xpath expr="//tree/field[@name='currency_id']" position="attributes">
<attribute name="invisible">0</attribute>
<attribute name="groups">base.group_multi_currency</attribute>
</xpath>
</field>
</record>
</odoo>