forked from OCA/sale-workflow
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[ADD] sale_order_multicurrency: new module to manage several currenci…
…es in the same sale order
- Loading branch information
Showing
16 changed files
with
1,146 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,85 @@ | ||
======================== | ||
Sale Order Multicurrency | ||
======================== | ||
|
||
.. !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! | ||
!! This file is generated by oca-gen-addon-readme !! | ||
!! changes will be overwritten. !! | ||
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! | ||
.. |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-LGPL--3-blue.png | ||
:target: http://www.gnu.org/licenses/lgpl-3.0-standalone.html | ||
:alt: License: LGPL-3 | ||
.. |badge3| image:: https://img.shields.io/badge/github-OCA%2Fsale--workflow-lightgray.png?logo=github | ||
:target: https://github.com/OCA/sale-workflow/tree/15.0/sale_order_multicurrency | ||
:alt: OCA/sale-workflow | ||
.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png | ||
:target: https://translation.odoo-community.org/projects/sale-workflow-15-0/sale-workflow-15-0-sale_order_multicurrency | ||
:alt: Translate me on Weblate | ||
.. |badge5| image:: https://img.shields.io/badge/runbot-Try%20me-875A7B.png | ||
:target: https://runbot.odoo-community.org/runbot/167/15.0 | ||
:alt: Try me on Runbot | ||
|
||
|badge1| |badge2| |badge3| |badge4| |badge5| | ||
|
||
This module adds a currency field in sale order lines, it allows to choose a | ||
currency different than the one used in the sale order pricelist. | ||
It adapts the sale report to display a subtotal for each currency considering | ||
note lines and sections. | ||
When you create an invoice from sale order with multiple currencies it will create | ||
one invoice per currency. | ||
|
||
**Table of contents** | ||
|
||
.. contents:: | ||
:local: | ||
|
||
Usage | ||
===== | ||
|
||
To use this module you only need to define the currency in sale order line. | ||
|
||
Bug Tracker | ||
=========== | ||
|
||
Bugs are tracked on `GitHub Issues <https://github.com/OCA/sale-workflow/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 <https://github.com/OCA/sale-workflow/issues/new?body=module:%20sale_order_multicurrency%0Aversion:%2015.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 | ||
~~~~~~~ | ||
|
||
* Jarsa | ||
|
||
Contributors | ||
~~~~~~~~~~~~ | ||
|
||
* `Jarsa <https://www.jarsa.com>`_: | ||
|
||
* Alan Ramos <[email protected]> | ||
|
||
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/sale-workflow <https://github.com/OCA/sale-workflow/tree/15.0/sale_order_multicurrency>`_ project on GitHub. | ||
|
||
You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
# Copyright 2022 Jarsa | ||
# License LGPL-3.0 or later (https://www.gnu.org/licenses/lgpl) | ||
|
||
from . import models | ||
from . import wizards |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
# Copyright 2022 Jarsa | ||
# License LGPL-3.0 or later (https://www.gnu.org/licenses/lgpl) | ||
|
||
{ | ||
"name": "Sale Order Multicurrency", | ||
"version": "15.0.1.0.2", | ||
"summary": "Allow to use several currencies in one sale order.", | ||
"author": "Jarsa," "Odoo Community Association (OCA)", | ||
"website": "https://github.com/OCA/sale-workflow", | ||
"category": "Sale", | ||
"license": "LGPL-3", | ||
"depends": ["sale"], | ||
"data": ["views/sale_order_view.xml", "reports/sale_order_report.xml"], | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,89 @@ | ||
# Translation of Odoo Server. | ||
# This file contains the translation of the following modules: | ||
# * sale_order_multicurrency | ||
# | ||
msgid "" | ||
msgstr "" | ||
"Project-Id-Version: Odoo Server 15.0+e\n" | ||
"Report-Msgid-Bugs-To: \n" | ||
"POT-Creation-Date: 2023-06-30 15:24+0000\n" | ||
"PO-Revision-Date: 2023-06-30 09:25-0600\n" | ||
"Last-Translator: Jesús Alan Ramos Rodríguez <[email protected]>\n" | ||
"Language-Team: \n" | ||
"Language: es\n" | ||
"MIME-Version: 1.0\n" | ||
"Content-Type: text/plain; charset=UTF-8\n" | ||
"Content-Transfer-Encoding: 8bit\n" | ||
"Plural-Forms: nplurals=2; plural=(n != 1);\n" | ||
"X-Generator: Poedit 3.3.1\n" | ||
|
||
#. module: sale_order_multicurrency | ||
#: model_terms:ir.ui.view,arch_db:sale_order_multicurrency.report_saleorder_document_inherit_sale_order_multicurrency | ||
msgid "" | ||
"<span groups=\"account.group_show_line_subtotals_tax_excluded\">Amount</span>\n" | ||
" <span groups=\"account.group_show_line_subtotals_tax_included\">Total Price</span>" | ||
msgstr "" | ||
"<span groups=\"account.group_show_line_subtotals_tax_excluded\">Monto</span>\n" | ||
" <span groups=\"account.group_show_line_subtotals_tax_included\">Precio Total</" | ||
"span>" | ||
|
||
#. module: sale_order_multicurrency | ||
#: model_terms:ir.ui.view,arch_db:sale_order_multicurrency.report_saleorder_document_inherit_sale_order_multicurrency | ||
msgid "<span>Disc.%</span>" | ||
msgstr "<span>Desc.%</span>" | ||
|
||
#. module: sale_order_multicurrency | ||
#: model_terms:ir.ui.view,arch_db:sale_order_multicurrency.report_saleorder_document_inherit_sale_order_multicurrency | ||
msgid "<strong class=\"mr16\">Subtotal</strong>" | ||
msgstr "<strong class=“mr16”>Subtotal</strong>" | ||
|
||
#. module: sale_order_multicurrency | ||
#: model_terms:ir.ui.view,arch_db:sale_order_multicurrency.report_saleorder_document_inherit_sale_order_multicurrency | ||
msgid "Description" | ||
msgstr "Descripción" | ||
|
||
#. module: sale_order_multicurrency | ||
#: model:ir.model.fields,field_description:sale_order_multicurrency.field_sale_order_line__line_currency_id | ||
msgid "Line Currency" | ||
msgstr "Moneda de línea" | ||
|
||
#. module: sale_order_multicurrency | ||
#: model_terms:ir.ui.view,arch_db:sale_order_multicurrency.view_order_form | ||
msgid "Line Currency:" | ||
msgstr "Moneda de línea:" | ||
|
||
#. module: sale_order_multicurrency | ||
#: code:addons/sale_order_multicurrency/models/sale_order.py:0 | ||
#, python-format | ||
msgid "Please define an accounting sales journal for the company %(company_name)s (%(company_id)s)." | ||
msgstr "Defina un diario de ventas de contabilidad para la empresa %(company_name)s (%(company_id)s)." | ||
|
||
#. module: sale_order_multicurrency | ||
#: model_terms:ir.ui.view,arch_db:sale_order_multicurrency.report_saleorder_document_inherit_sale_order_multicurrency | ||
msgid "Quantity" | ||
msgstr "Cantidad" | ||
|
||
#. module: sale_order_multicurrency | ||
#: model:ir.model,name:sale_order_multicurrency.model_sale_order | ||
msgid "Sales Order" | ||
msgstr "Orden de venta" | ||
|
||
#. module: sale_order_multicurrency | ||
#: model:ir.model,name:sale_order_multicurrency.model_sale_order_line | ||
msgid "Sales Order Line" | ||
msgstr "Línea de la orden de venta" | ||
|
||
#. module: sale_order_multicurrency | ||
#: model:ir.model.fields,field_description:sale_order_multicurrency.field_sale_order__tax_totals_currency_json | ||
msgid "Tax Totals Currency Json" | ||
msgstr "Totales de impuestos Moneda Json" | ||
|
||
#. module: sale_order_multicurrency | ||
#: model_terms:ir.ui.view,arch_db:sale_order_multicurrency.report_saleorder_document_inherit_sale_order_multicurrency | ||
msgid "Taxes" | ||
msgstr "Impuestos" | ||
|
||
#. module: sale_order_multicurrency | ||
#: model_terms:ir.ui.view,arch_db:sale_order_multicurrency.report_saleorder_document_inherit_sale_order_multicurrency | ||
msgid "Unit Price" | ||
msgstr "Precio unitario" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
# Copyright 2022 Jarsa | ||
# License LGPL-3.0 or later (https://www.gnu.org/licenses/lgpl) | ||
|
||
from . import sale_order |
Oops, something went wrong.