Skip to content

Commit 1471be4

Browse files
committed
Merge PR #2623 into 18.0
Signed-off-by HviorForgeFlow
2 parents d2e8dcc + d05266b commit 1471be4

20 files changed

+1267
-0
lines changed

purchase_manual_currency/README.rst

Lines changed: 96 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,96 @@
1+
==========================
2+
Purchase - Manual Currency
3+
==========================
4+
5+
..
6+
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
7+
!! This file is generated by oca-gen-addon-readme !!
8+
!! changes will be overwritten. !!
9+
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
10+
!! source digest: sha256:1391981de9f1c571f8522b340aeac2506d6c4abdb81890f79460c52e360234e5
11+
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
12+
13+
.. |badge1| image:: https://img.shields.io/badge/maturity-Beta-yellow.png
14+
:target: https://odoo-community.org/page/development-status
15+
:alt: Beta
16+
.. |badge2| image:: https://img.shields.io/badge/licence-AGPL--3-blue.png
17+
:target: http://www.gnu.org/licenses/agpl-3.0-standalone.html
18+
:alt: License: AGPL-3
19+
.. |badge3| image:: https://img.shields.io/badge/github-OCA%2Fpurchase--workflow-lightgray.png?logo=github
20+
:target: https://github.com/OCA/purchase-workflow/tree/18.0/purchase_manual_currency
21+
:alt: OCA/purchase-workflow
22+
.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png
23+
:target: https://translation.odoo-community.org/projects/purchase-workflow-18-0/purchase-workflow-18-0-purchase_manual_currency
24+
:alt: Translate me on Weblate
25+
.. |badge5| image:: https://img.shields.io/badge/runboat-Try%20me-875A7B.png
26+
:target: https://runboat.odoo-community.org/builds?repo=OCA/purchase-workflow&target_branch=18.0
27+
:alt: Try me on Runboat
28+
29+
|badge1| |badge2| |badge3| |badge4| |badge5|
30+
31+
This module allows users to update the currency manual of Purchase Order
32+
in draft state.
33+
34+
Example, The company will make a deal with vendor before buy product
35+
that process maybe not same day. So, currency rate in purchase order
36+
will calculated from order date but Company get currency rate from date
37+
of make a deal or special currency rate.
38+
39+
**Table of contents**
40+
41+
.. contents::
42+
:local:
43+
44+
Usage
45+
=====
46+
47+
To use this module, the company have to access rights Multi Currencies.
48+
49+
Step to used manual currency: #. Go to Invoicing > Configuration >
50+
Settings > Currencies > Multi-Currencies #. Go to Purchase > Create new
51+
purchase. #. Change to other currency (not company currency) #. Check
52+
Manual Currency and specify your currency rate
53+
54+
Bug Tracker
55+
===========
56+
57+
Bugs are tracked on `GitHub Issues <https://github.com/OCA/purchase-workflow/issues>`_.
58+
In case of trouble, please check there if your issue has already been reported.
59+
If you spotted it first, help us to smash it by providing a detailed and welcomed
60+
`feedback <https://github.com/OCA/purchase-workflow/issues/new?body=module:%20purchase_manual_currency%0Aversion:%2018.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**>`_.
61+
62+
Do not contact contributors directly about support or help with technical issues.
63+
64+
Credits
65+
=======
66+
67+
Authors
68+
-------
69+
70+
* Ecosoft
71+
72+
Contributors
73+
------------
74+
75+
- Saran Lim. <[email protected]>
76+
- `Prothai <https://www.prothaitechnology.com:>`__:
77+
78+
- Prapassorn Sornkaew <[email protected]> (migrate
79+
to v14)
80+
81+
Maintainers
82+
-----------
83+
84+
This module is maintained by the OCA.
85+
86+
.. image:: https://odoo-community.org/logo.png
87+
:alt: Odoo Community Association
88+
:target: https://odoo-community.org
89+
90+
OCA, or the Odoo Community Association, is a nonprofit organization whose
91+
mission is to support the collaborative development of Odoo features and
92+
promote its widespread use.
93+
94+
This module is part of the `OCA/purchase-workflow <https://github.com/OCA/purchase-workflow/tree/18.0/purchase_manual_currency>`_ project on GitHub.
95+
96+
You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.

purchase_manual_currency/__init__.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).
2+
3+
from . import models
Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
# Copyright 2020 Ecosoft Co., Ltd. (http://ecosoft.co.th)
2+
# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl.html).
3+
4+
{
5+
"name": "Purchase - Manual Currency",
6+
"version": "18.0.1.0.0",
7+
"category": "Purchase Management",
8+
"summary": "Allows to manual currency of Purchase",
9+
"author": "Ecosoft, Odoo Community Association (OCA)",
10+
"website": "https://github.com/OCA/purchase-workflow",
11+
"license": "AGPL-3",
12+
"depends": ["purchase", "account_manual_currency"],
13+
"data": [
14+
"views/res_config_settings_views.xml",
15+
"views/purchase_views.xml",
16+
],
17+
"installable": True,
18+
"maintainer": ["Saran440"],
19+
}

purchase_manual_currency/i18n/es.po

Lines changed: 153 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,153 @@
1+
# Translation of Odoo Server.
2+
# This file contains the translation of the following modules:
3+
# * purchase_manual_currency
4+
#
5+
msgid ""
6+
msgstr ""
7+
"Project-Id-Version: Odoo Server 15.0\n"
8+
"Report-Msgid-Bugs-To: \n"
9+
"PO-Revision-Date: 2024-01-11 13:36+0000\n"
10+
"Last-Translator: Ivorra78 <[email protected]>\n"
11+
"Language-Team: none\n"
12+
"Language: es\n"
13+
"MIME-Version: 1.0\n"
14+
"Content-Type: text/plain; charset=UTF-8\n"
15+
"Content-Transfer-Encoding: \n"
16+
"Plural-Forms: nplurals=2; plural=n != 1;\n"
17+
"X-Generator: Weblate 4.17\n"
18+
19+
#. module: purchase_manual_currency
20+
#: code:addons/purchase_manual_currency/models/purchase.py:0
21+
#, python-format
22+
msgid "%(company_currency_name)s per 1 %(rate_currency_name)s"
23+
msgstr "%(company_currency_name)s por 1 %(rate_currency_name)s"
24+
25+
#. module: purchase_manual_currency
26+
#: code:addons/purchase_manual_currency/models/purchase.py:0
27+
#, python-format
28+
msgid "%(rate_currency_name)s per 1 %(company_currency_name)s"
29+
msgstr "%(rate_currency_name)s por 1 %(company_currency_name)s"
30+
31+
#. module: purchase_manual_currency
32+
#: model_terms:ir.ui.view,arch_db:purchase_manual_currency.purchase_order_form
33+
msgid "<i title=\"Update Currency\" class=\"fa fa-fw fa-refresh\"/>"
34+
msgstr "<i title=\"Update Currency\" class=\"fa fa-fw fa-refresh\"/>"
35+
36+
#. module: purchase_manual_currency
37+
#: model_terms:ir.ui.view,arch_db:purchase_manual_currency.res_config_settings_view_form_purchase
38+
msgid "Bill Manual Currency"
39+
msgstr "Divisa Factura Manual"
40+
41+
#. module: purchase_manual_currency
42+
#: model:ir.model,name:purchase_manual_currency.model_res_company
43+
msgid "Companies"
44+
msgstr "Compañías"
45+
46+
#. module: purchase_manual_currency
47+
#: model:ir.model.fields,field_description:purchase_manual_currency.field_purchase_order__company_currency_id
48+
#: model:ir.model.fields,field_description:purchase_manual_currency.field_purchase_order_line__company_currency_id
49+
msgid "Company Currency"
50+
msgstr "Divisa de la Compañía"
51+
52+
#. module: purchase_manual_currency
53+
#: model:ir.model.fields,field_description:purchase_manual_currency.field_purchase_order__currency_diff
54+
msgid "Currency Diff"
55+
msgstr "Dif de Divisa"
56+
57+
#. module: purchase_manual_currency
58+
#: code:addons/purchase_manual_currency/models/purchase.py:0
59+
#, python-format
60+
msgid ""
61+
"In invoice cannot have a mixture of different manual currency rates in "
62+
"purchases."
63+
msgstr ""
64+
"En la factura no puede haber una mezcla de diferentes tipos de divisas "
65+
"manuales en las compras."
66+
67+
#. module: purchase_manual_currency
68+
#: code:addons/purchase_manual_currency/models/purchase.py:0
69+
#, python-format
70+
msgid "In invoice cannot have a mixture of different manual currency."
71+
msgstr "En la factura no puede haber una mezcla de diferentes divisas manuales."
72+
73+
#. module: purchase_manual_currency
74+
#: model:ir.model.fields,field_description:purchase_manual_currency.field_purchase_order__is_manual
75+
msgid "Is Manual"
76+
msgstr "Es Manual"
77+
78+
#. module: purchase_manual_currency
79+
#: model:ir.model.fields,field_description:purchase_manual_currency.field_purchase_order__manual_currency
80+
msgid "Manual Currency"
81+
msgstr "Divisa Manual"
82+
83+
#. module: purchase_manual_currency
84+
#: model:ir.model.fields,field_description:purchase_manual_currency.field_res_company__manual_currency_po_inv
85+
#: model:ir.model.fields,field_description:purchase_manual_currency.field_res_config_settings__manual_currency_po_inv
86+
msgid "Manual Currency Purchase - Invoice"
87+
msgstr "Compra de Divisas Manual - Factura"
88+
89+
#. module: purchase_manual_currency
90+
#: model:ir.model.fields,field_description:purchase_manual_currency.field_purchase_order__manual_currency_rate
91+
msgid "Manual Currency Rate"
92+
msgstr "Tipo de Divisa Manual"
93+
94+
#. module: purchase_manual_currency
95+
#: model_terms:ir.ui.view,arch_db:purchase_manual_currency.purchase_order_form
96+
msgid "Opened"
97+
msgstr "Abierto"
98+
99+
#. module: purchase_manual_currency
100+
#: model:ir.model,name:purchase_manual_currency.model_res_config_settings
101+
msgid "Procurement purchase grouping settings"
102+
msgstr "Configuración de la agrupación de adquisición de compras"
103+
104+
#. module: purchase_manual_currency
105+
#: model:ir.model,name:purchase_manual_currency.model_purchase_order
106+
msgid "Purchase Order"
107+
msgstr "Orden de Compra"
108+
109+
#. module: purchase_manual_currency
110+
#: model:ir.model,name:purchase_manual_currency.model_purchase_order_line
111+
msgid "Purchase Order Line"
112+
msgstr "Línea de Orden de Compra"
113+
114+
#. module: purchase_manual_currency
115+
#: code:addons/purchase_manual_currency/models/purchase.py:0
116+
#, python-format
117+
msgid "Rate currency can refresh state draft only."
118+
msgstr "El tipo de divisa sólo puede actualizarse en estado de borrador."
119+
120+
#. module: purchase_manual_currency
121+
#: model:ir.model.fields,help:purchase_manual_currency.field_purchase_order__manual_currency_rate
122+
msgid ""
123+
"Set new currency rate to apply on the invoice\n"
124+
".This rate will be taken in order to convert amounts between the currency on the purchase order and last currency"
125+
msgstr ""
126+
"Establecer el nuevo tipo de cambio que se aplicará a la factura\n"
127+
"Este tipo de cambio se utilizará para convertir los importes entre la divisa "
128+
"de la orden de compra y la última divisa"
129+
130+
#. module: purchase_manual_currency
131+
#: model:ir.model.fields,field_description:purchase_manual_currency.field_purchase_order_line__subtotal_company_currency
132+
msgid "Subtotal (Company Currency)"
133+
msgstr "Subtotal (Divisa de la Compañía)"
134+
135+
#. module: purchase_manual_currency
136+
#: model:ir.model.fields,field_description:purchase_manual_currency.field_purchase_order__total_company_currency
137+
msgid "Total Company Currency"
138+
msgstr "Total Divisa de la Compañía"
139+
140+
#. module: purchase_manual_currency
141+
#: model:ir.model.fields,field_description:purchase_manual_currency.field_purchase_order__type_currency
142+
msgid "Type Currency"
143+
msgstr "Tipo Divisa"
144+
145+
#. module: purchase_manual_currency
146+
#: model:ir.model.fields.selection,name:purchase_manual_currency.selection__res_company__manual_currency_po_inv__currency_inv
147+
msgid "Use currency invoice"
148+
msgstr "Utilizar la factura de divisas"
149+
150+
#. module: purchase_manual_currency
151+
#: model:ir.model.fields.selection,name:purchase_manual_currency.selection__res_company__manual_currency_po_inv__currency_po
152+
msgid "Use currency purchase"
153+
msgstr "Utilizar la compra de divisa"

0 commit comments

Comments
 (0)