Skip to content

Commit b2ed50e

Browse files
zaoraljjscarafia
andauthored
[ADD] l10n_ar_ux: new module (ingadhoc#393)
* [ADD] l10n_ar_ux: new module Extend Argentinian official localization (l10n_ar) to add usability improvements * [FIX] travis Co-authored-by: Juan José Scarafía <jjs@adhoc.com.ar>
1 parent 227113c commit b2ed50e

File tree

6 files changed

+109
-1
lines changed

6 files changed

+109
-1
lines changed

.travis.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ cache:
66
- $HOME/.cache/pip
77

88
python:
9-
- "3.5"
9+
- "3.6"
1010

1111
addons:
1212
postgresql: "9.6"

l10n_ar_ux/README.rst

+71
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,71 @@
1+
.. |company| replace:: ADHOC SA
2+
3+
.. |company_logo| image:: https://raw.githubusercontent.com/ingadhoc/maintainer-tools/master/resources/adhoc-logo.png
4+
:alt: ADHOC SA
5+
:target: https://www.adhoc.com.ar
6+
7+
.. |icon| image:: https://raw.githubusercontent.com/ingadhoc/maintainer-tools/master/resources/adhoc-icon.png
8+
9+
.. image:: https://img.shields.io/badge/license-AGPL--3-blue.png
10+
:target: https://www.gnu.org/licenses/agpl
11+
:alt: License: AGPL-3
12+
13+
===========================
14+
Argentinian Localization UX
15+
===========================
16+
17+
This module extends the l10n_ar module to add some usability improvesment:
18+
19+
1. Change USD symbol to "USD" instead of "$". This to avoid confusion when using multi company environment with ARS and USD at the same time.
20+
2. Change postion of EUR symbol, Put it before the amounts in order to match to the ARS and USD currencies format,
21+
22+
Installation
23+
============
24+
25+
To install this module, you need to:
26+
27+
#. Nothing to do
28+
29+
Configuration
30+
=============
31+
32+
To configure this module, you need to:
33+
34+
#. Nothing to do
35+
36+
Usage
37+
=====
38+
39+
To use this module, you need to:
40+
41+
.. image:: https://odoo-community.org/website/image/ir.attachment/5784_f2813bd/datas
42+
:alt: Try me on Runbot
43+
:target: http://runbot.adhoc.com.ar/
44+
45+
Bug Tracker
46+
===========
47+
48+
Bugs are tracked on `GitHub Issues
49+
<https://github.com/ingadhoc/odoo-argentina/issues>`_. In case of trouble, please
50+
check there if your issue has already been reported. If you spotted it first,
51+
help us smashing it by providing a detailed and welcomed feedback.
52+
53+
Credits
54+
=======
55+
56+
Images
57+
------
58+
59+
* |company| |icon|
60+
61+
Contributors
62+
------------
63+
64+
Maintainer
65+
----------
66+
67+
|company_logo|
68+
69+
This module is maintained by the |company|.
70+
71+
To contribute to this module, please visit https://www.adhoc.com.ar.

l10n_ar_ux/__init__.py

+4
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
##############################################################################
2+
# For copyright and license notices, see __manifest__.py file in module root
3+
# directory
4+
##############################################################################

l10n_ar_ux/__manifest__.py

+21
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
{
2+
'name': 'Argentinian Localization UX',
3+
'version': "13.0.1.0.0",
4+
'category': 'Localization/Argentina',
5+
'sequence': 14,
6+
'author': 'ADHOC SA,Odoo Community Association (OCA)',
7+
'website': 'www.adhoc.com.ar',
8+
'license': 'AGPL-3',
9+
'summary': '',
10+
'depends': [
11+
'l10n_ar',
12+
],
13+
'data': [
14+
'data/res_currency_data.xml',
15+
],
16+
'demo': [
17+
],
18+
'installable': True,
19+
'auto_install': True,
20+
'application': True,
21+
}

l10n_ar_ux/data/res_currency_data.xml

+12
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<odoo noupdate="1">
3+
4+
<record id="base.USD" model="res.currency">
5+
<field name="symbol">USD</field>
6+
</record>
7+
8+
<record id="base.EUR" model="res.currency">
9+
<field name="position">before</field>
10+
</record>
11+
12+
</odoo>
15.1 KB
Loading

0 commit comments

Comments
 (0)