Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[17.0][MIG] purchase_manual_currency #2521

Open
wants to merge 17 commits into
base: 17.0
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
96 changes: 96 additions & 0 deletions purchase_manual_currency/README.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,96 @@
==========================
Purchase - Manual Currency
==========================

..
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! This file is generated by oca-gen-addon-readme !!
!! changes will be overwritten. !!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! source digest: sha256:1391981de9f1c571f8522b340aeac2506d6c4abdb81890f79460c52e360234e5
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

.. |badge1| image:: https://img.shields.io/badge/maturity-Beta-yellow.png
:target: https://odoo-community.org/page/development-status
:alt: Beta
.. |badge2| image:: https://img.shields.io/badge/licence-AGPL--3-blue.png
:target: http://www.gnu.org/licenses/agpl-3.0-standalone.html
:alt: License: AGPL-3
.. |badge3| image:: https://img.shields.io/badge/github-OCA%2Fpurchase--workflow-lightgray.png?logo=github
:target: https://github.com/OCA/purchase-workflow/tree/17.0/purchase_manual_currency
:alt: OCA/purchase-workflow
.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png
:target: https://translation.odoo-community.org/projects/purchase-workflow-17-0/purchase-workflow-17-0-purchase_manual_currency
:alt: Translate me on Weblate
.. |badge5| image:: https://img.shields.io/badge/runboat-Try%20me-875A7B.png
:target: https://runboat.odoo-community.org/builds?repo=OCA/purchase-workflow&target_branch=17.0
:alt: Try me on Runboat

|badge1| |badge2| |badge3| |badge4| |badge5|

This module allows users to update the currency manual of Purchase Order
in draft state.

Example, The company will make a deal with vendor before buy product
that process maybe not same day. So, currency rate in purchase order
will calculated from order date but Company get currency rate from date
of make a deal or special currency rate.

**Table of contents**

.. contents::
:local:

Usage
=====

To use this module, the company have to access rights Multi Currencies.

Step to used manual currency: #. Go to Invoicing > Configuration >
Settings > Currencies > Multi-Currencies #. Go to Purchase > Create new
purchase. #. Change to other currency (not company currency) #. Check
Manual Currency and specify your currency rate

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

Bugs are tracked on `GitHub Issues <https://github.com/OCA/purchase-workflow/issues>`_.
In case of trouble, please check there if your issue has already been reported.
If you spotted it first, help us to smash it by providing a detailed and welcomed
`feedback <https://github.com/OCA/purchase-workflow/issues/new?body=module:%20purchase_manual_currency%0Aversion:%2017.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**>`_.

Do not contact contributors directly about support or help with technical issues.

Credits
=======

Authors
-------

* Ecosoft

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

- Saran Lim. <[email protected]>
- `Prothai <https://www.prothaitechnology.com:>`__:

- Prapassorn Sornkaew <[email protected]> (migrate
to v14)

Maintainers
-----------

This module is maintained by the OCA.

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

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.

This module is part of the `OCA/purchase-workflow <https://github.com/OCA/purchase-workflow/tree/17.0/purchase_manual_currency>`_ project on GitHub.

You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.
3 changes: 3 additions & 0 deletions purchase_manual_currency/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).

from . import models
19 changes: 19 additions & 0 deletions purchase_manual_currency/__manifest__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
# Copyright 2020 Ecosoft Co., Ltd. (http://ecosoft.co.th)
# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl.html).

{
"name": "Purchase - Manual Currency",
"version": "17.0.1.0.0",
"category": "Purchase Management",
"summary": "Allows to manual currency of Purchase",
"author": "Ecosoft, Odoo Community Association (OCA)",
"website": "https://github.com/OCA/purchase-workflow",
"license": "AGPL-3",
"depends": ["purchase", "account_manual_currency"],
"data": [
"views/res_config_settings_views.xml",
"views/purchase_views.xml",
],
"installable": True,
"maintainer": ["Saran440"],
}
153 changes: 153 additions & 0 deletions purchase_manual_currency/i18n/es.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,153 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * purchase_manual_currency
#
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 15.0\n"
"Report-Msgid-Bugs-To: \n"
"PO-Revision-Date: 2024-01-11 13:36+0000\n"
"Last-Translator: Ivorra78 <[email protected]>\n"
"Language-Team: none\n"
"Language: es\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: \n"
"Plural-Forms: nplurals=2; plural=n != 1;\n"
"X-Generator: Weblate 4.17\n"

#. module: purchase_manual_currency
#: code:addons/purchase_manual_currency/models/purchase.py:0
#, python-format
msgid "%(company_currency_name)s per 1 %(rate_currency_name)s"
msgstr "%(company_currency_name)s por 1 %(rate_currency_name)s"

#. module: purchase_manual_currency
#: code:addons/purchase_manual_currency/models/purchase.py:0
#, python-format
msgid "%(rate_currency_name)s per 1 %(company_currency_name)s"
msgstr "%(rate_currency_name)s por 1 %(company_currency_name)s"

#. module: purchase_manual_currency
#: model_terms:ir.ui.view,arch_db:purchase_manual_currency.purchase_order_form
msgid "<i title=\"Update Currency\" class=\"fa fa-fw fa-refresh\"/>"
msgstr "<i title=\"Update Currency\" class=\"fa fa-fw fa-refresh\"/>"

#. module: purchase_manual_currency
#: model_terms:ir.ui.view,arch_db:purchase_manual_currency.res_config_settings_view_form_purchase
msgid "Bill Manual Currency"
msgstr "Divisa Factura Manual"

#. module: purchase_manual_currency
#: model:ir.model,name:purchase_manual_currency.model_res_company
msgid "Companies"
msgstr "Compañías"

#. module: purchase_manual_currency
#: model:ir.model.fields,field_description:purchase_manual_currency.field_purchase_order__company_currency_id
#: model:ir.model.fields,field_description:purchase_manual_currency.field_purchase_order_line__company_currency_id
msgid "Company Currency"
msgstr "Divisa de la Compañía"

#. module: purchase_manual_currency
#: model:ir.model.fields,field_description:purchase_manual_currency.field_purchase_order__currency_diff
msgid "Currency Diff"
msgstr "Dif de Divisa"

#. module: purchase_manual_currency
#: code:addons/purchase_manual_currency/models/purchase.py:0
#, python-format
msgid ""
"In invoice cannot have a mixture of different manual currency rates in "
"purchases."
msgstr ""
"En la factura no puede haber una mezcla de diferentes tipos de divisas "
"manuales en las compras."

#. module: purchase_manual_currency
#: code:addons/purchase_manual_currency/models/purchase.py:0
#, python-format
msgid "In invoice cannot have a mixture of different manual currency."
msgstr "En la factura no puede haber una mezcla de diferentes divisas manuales."

#. module: purchase_manual_currency
#: model:ir.model.fields,field_description:purchase_manual_currency.field_purchase_order__is_manual
msgid "Is Manual"
msgstr "Es Manual"

#. module: purchase_manual_currency
#: model:ir.model.fields,field_description:purchase_manual_currency.field_purchase_order__manual_currency
msgid "Manual Currency"
msgstr "Divisa Manual"

#. module: purchase_manual_currency
#: model:ir.model.fields,field_description:purchase_manual_currency.field_res_company__manual_currency_po_inv
#: model:ir.model.fields,field_description:purchase_manual_currency.field_res_config_settings__manual_currency_po_inv
msgid "Manual Currency Purchase - Invoice"
msgstr "Compra de Divisas Manual - Factura"

#. module: purchase_manual_currency
#: model:ir.model.fields,field_description:purchase_manual_currency.field_purchase_order__manual_currency_rate
msgid "Manual Currency Rate"
msgstr "Tipo de Divisa Manual"

#. module: purchase_manual_currency
#: model_terms:ir.ui.view,arch_db:purchase_manual_currency.purchase_order_form
msgid "Opened"
msgstr "Abierto"

#. module: purchase_manual_currency
#: model:ir.model,name:purchase_manual_currency.model_res_config_settings
msgid "Procurement purchase grouping settings"
msgstr "Configuración de la agrupación de adquisición de compras"

#. module: purchase_manual_currency
#: model:ir.model,name:purchase_manual_currency.model_purchase_order
msgid "Purchase Order"
msgstr "Orden de Compra"

#. module: purchase_manual_currency
#: model:ir.model,name:purchase_manual_currency.model_purchase_order_line
msgid "Purchase Order Line"
msgstr "Línea de Orden de Compra"

#. module: purchase_manual_currency
#: code:addons/purchase_manual_currency/models/purchase.py:0
#, python-format
msgid "Rate currency can refresh state draft only."
msgstr "El tipo de divisa sólo puede actualizarse en estado de borrador."

#. module: purchase_manual_currency
#: model:ir.model.fields,help:purchase_manual_currency.field_purchase_order__manual_currency_rate
msgid ""
"Set new currency rate to apply on the invoice\n"
".This rate will be taken in order to convert amounts between the currency on the purchase order and last currency"
msgstr ""
"Establecer el nuevo tipo de cambio que se aplicará a la factura\n"
"Este tipo de cambio se utilizará para convertir los importes entre la divisa "
"de la orden de compra y la última divisa"

#. module: purchase_manual_currency
#: model:ir.model.fields,field_description:purchase_manual_currency.field_purchase_order_line__subtotal_company_currency
msgid "Subtotal (Company Currency)"
msgstr "Subtotal (Divisa de la Compañía)"

#. module: purchase_manual_currency
#: model:ir.model.fields,field_description:purchase_manual_currency.field_purchase_order__total_company_currency
msgid "Total Company Currency"
msgstr "Total Divisa de la Compañía"

#. module: purchase_manual_currency
#: model:ir.model.fields,field_description:purchase_manual_currency.field_purchase_order__type_currency
msgid "Type Currency"
msgstr "Tipo Divisa"

#. module: purchase_manual_currency
#: model:ir.model.fields.selection,name:purchase_manual_currency.selection__res_company__manual_currency_po_inv__currency_inv
msgid "Use currency invoice"
msgstr "Utilizar la factura de divisas"

#. module: purchase_manual_currency
#: model:ir.model.fields.selection,name:purchase_manual_currency.selection__res_company__manual_currency_po_inv__currency_po
msgid "Use currency purchase"
msgstr "Utilizar la compra de divisa"
Loading
Loading