Skip to content

Commit

Permalink
Merge PR #2354 into 16.0
Browse files Browse the repository at this point in the history
Signed-off-by rousseldenis
  • Loading branch information
OCA-git-bot committed Apr 19, 2023
2 parents 01a40ba + 5255e75 commit ff0df71
Show file tree
Hide file tree
Showing 36 changed files with 1,932 additions and 0 deletions.
81 changes: 81 additions & 0 deletions sale_company_currency/README.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,81 @@
===============================
Company Currency in Sale Orders
===============================

.. !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! 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-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%2Fsale--workflow-lightgray.png?logo=github
:target: https://github.com/OCA/sale-workflow/tree/14.0/sale_company_currency
: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-14-0/sale-workflow-14-0-sale_company_currency
: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/14.0
:alt: Try me on Runbot

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

This module adds functional fields to show sale order in the company currency:
amount total.

1. For tree view, when you have SO in multiple currencies, Odoo sums them up
regardless the different currencies. This module adds a column & sums in
the company's currency.

2. The field is also shown in form view after the total.

**Table of contents**

.. contents::
:local:

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_company_currency%0Aversion:%2014.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
~~~~~~~

* Camptocamp

Contributors
~~~~~~~~~~~~

* Denis Leemann <[email protected]>
* Alexei Rivera <[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/16.0/sale_company_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 sale_company_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.html).

from . import models
14 changes: 14 additions & 0 deletions sale_company_currency/__manifest__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
# Copyright 2017 Camptocamp SA
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html).

{
"name": "Company Currency in Sale Orders",
"version": "16.0.1.0.0",
"author": "Camptocamp, " "Odoo Community Association (OCA) ",
"website": "https://github.com/OCA/sale-workflow",
"category": "Sale",
"license": "AGPL-3",
"depends": ["sale"],
"data": ["views/sale_order_view.xml"],
"installable": True,
}
54 changes: 54 additions & 0 deletions sale_company_currency/i18n/ca.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,54 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * sale_company_currency
#
# Translators:
# OCA Transbot <[email protected]>, 2017
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 10.0\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2017-11-23 01:51+0000\n"
"PO-Revision-Date: 2021-03-26 10:46+0000\n"
"Last-Translator: Daniel Martinez Vila <[email protected]>\n"
"Language-Team: Catalan (https://www.transifex.com/oca/teams/23907/ca/)\n"
"Language: ca\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.3.2\n"

#. module: sale_company_currency
#: model:ir.model.fields,field_description:sale_company_currency.field_sale_order_company_currency_id
msgid "Company Currency"
msgstr "Moneda de l'empresa"

#. module: sale_company_currency
#: model:ir.model.fields,help:sale_company_currency.field_sale_order_amount_total_curr
msgid "Sale Order Amount in the company Currency"
msgstr "Import de la comanda de venda a la moneda de l’empresa"

#. module: sale_company_currency
#: model:ir.model,name:sale_company_currency.model_sale_order
msgid "Sales Order"
msgstr "Comandes de venda"

#. module: sale_company_currency
#: model:ir.ui.view,arch_db:sale_company_currency.view_order_form
#: model:ir.ui.view,arch_db:sale_company_currency.view_order_tree
#: model:ir.ui.view,arch_db:sale_company_currency.view_quotation_tree
msgid "Total"
msgstr "Total"

#. module: sale_company_currency
#: model:ir.ui.view,arch_db:sale_company_currency.view_order_form
#: model:ir.ui.view,arch_db:sale_company_currency.view_order_tree
#: model:ir.ui.view,arch_db:sale_company_currency.view_quotation_tree
msgid "Total (Company Currency)"
msgstr "Total (moneda de l'empresa)"

#. module: sale_company_currency
#: model:ir.model.fields,field_description:sale_company_currency.field_sale_order_amount_total_curr
msgid "Total Amount"
msgstr "Suma total"
53 changes: 53 additions & 0 deletions sale_company_currency/i18n/de.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,53 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * sale_company_currency
#
# Translators:
# OCA Transbot <[email protected]>, 2017
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 10.0\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2017-11-23 01:51+0000\n"
"PO-Revision-Date: 2017-11-23 01:51+0000\n"
"Last-Translator: OCA Transbot <[email protected]>, 2017\n"
"Language-Team: German (https://www.transifex.com/oca/teams/23907/de/)\n"
"Language: de\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"

#. module: sale_company_currency
#: model:ir.model.fields,field_description:sale_company_currency.field_sale_order_company_currency_id
msgid "Company Currency"
msgstr ""

#. module: sale_company_currency
#: model:ir.model.fields,help:sale_company_currency.field_sale_order_amount_total_curr
msgid "Sale Order Amount in the company Currency"
msgstr ""

#. module: sale_company_currency
#: model:ir.model,name:sale_company_currency.model_sale_order
msgid "Sales Order"
msgstr "Verkaufsauftrag"

#. module: sale_company_currency
#: model:ir.ui.view,arch_db:sale_company_currency.view_order_form
#: model:ir.ui.view,arch_db:sale_company_currency.view_order_tree
#: model:ir.ui.view,arch_db:sale_company_currency.view_quotation_tree
msgid "Total"
msgstr ""

#. module: sale_company_currency
#: model:ir.ui.view,arch_db:sale_company_currency.view_order_form
#: model:ir.ui.view,arch_db:sale_company_currency.view_order_tree
#: model:ir.ui.view,arch_db:sale_company_currency.view_quotation_tree
msgid "Total (Company Currency)"
msgstr ""

#. module: sale_company_currency
#: model:ir.model.fields,field_description:sale_company_currency.field_sale_order_amount_total_curr
msgid "Total Amount"
msgstr ""
54 changes: 54 additions & 0 deletions sale_company_currency/i18n/el_GR.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,54 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * sale_company_currency
#
# Translators:
# OCA Transbot <[email protected]>, 2017
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 10.0\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2017-11-23 01:51+0000\n"
"PO-Revision-Date: 2017-11-23 01:51+0000\n"
"Last-Translator: OCA Transbot <[email protected]>, 2017\n"
"Language-Team: Greek (Greece) (https://www.transifex.com/oca/teams/23907/"
"el_GR/)\n"
"Language: el_GR\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"

#. module: sale_company_currency
#: model:ir.model.fields,field_description:sale_company_currency.field_sale_order_company_currency_id
msgid "Company Currency"
msgstr ""

#. module: sale_company_currency
#: model:ir.model.fields,help:sale_company_currency.field_sale_order_amount_total_curr
msgid "Sale Order Amount in the company Currency"
msgstr ""

#. module: sale_company_currency
#: model:ir.model,name:sale_company_currency.model_sale_order
msgid "Sales Order"
msgstr "Εντολή Πώλησης"

#. module: sale_company_currency
#: model:ir.ui.view,arch_db:sale_company_currency.view_order_form
#: model:ir.ui.view,arch_db:sale_company_currency.view_order_tree
#: model:ir.ui.view,arch_db:sale_company_currency.view_quotation_tree
msgid "Total"
msgstr ""

#. module: sale_company_currency
#: model:ir.ui.view,arch_db:sale_company_currency.view_order_form
#: model:ir.ui.view,arch_db:sale_company_currency.view_order_tree
#: model:ir.ui.view,arch_db:sale_company_currency.view_quotation_tree
msgid "Total (Company Currency)"
msgstr ""

#. module: sale_company_currency
#: model:ir.model.fields,field_description:sale_company_currency.field_sale_order_amount_total_curr
msgid "Total Amount"
msgstr ""
54 changes: 54 additions & 0 deletions sale_company_currency/i18n/es.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,54 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * sale_company_currency
#
# Translators:
# OCA Transbot <[email protected]>, 2017
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 10.0\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2017-11-23 01:51+0000\n"
"PO-Revision-Date: 2021-03-26 10:46+0000\n"
"Last-Translator: Daniel Martinez Vila <[email protected]>\n"
"Language-Team: Spanish (https://www.transifex.com/oca/teams/23907/es/)\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.3.2\n"

#. module: sale_company_currency
#: model:ir.model.fields,field_description:sale_company_currency.field_sale_order_company_currency_id
msgid "Company Currency"
msgstr "Moneda de la empresa"

#. module: sale_company_currency
#: model:ir.model.fields,help:sale_company_currency.field_sale_order_amount_total_curr
msgid "Sale Order Amount in the company Currency"
msgstr "Importe de la orden de venta en la moneda de la empresa"

#. module: sale_company_currency
#: model:ir.model,name:sale_company_currency.model_sale_order
msgid "Sales Order"
msgstr "Pedido de venta"

#. module: sale_company_currency
#: model:ir.ui.view,arch_db:sale_company_currency.view_order_form
#: model:ir.ui.view,arch_db:sale_company_currency.view_order_tree
#: model:ir.ui.view,arch_db:sale_company_currency.view_quotation_tree
msgid "Total"
msgstr "Total"

#. module: sale_company_currency
#: model:ir.ui.view,arch_db:sale_company_currency.view_order_form
#: model:ir.ui.view,arch_db:sale_company_currency.view_order_tree
#: model:ir.ui.view,arch_db:sale_company_currency.view_quotation_tree
msgid "Total (Company Currency)"
msgstr "Total (moneda de la empresa)"

#. module: sale_company_currency
#: model:ir.model.fields,field_description:sale_company_currency.field_sale_order_amount_total_curr
msgid "Total Amount"
msgstr "Cantidad total"
54 changes: 54 additions & 0 deletions sale_company_currency/i18n/es_ES.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,54 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * sale_company_currency
#
# Translators:
# OCA Transbot <[email protected]>, 2017
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 10.0\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2017-11-23 01:51+0000\n"
"PO-Revision-Date: 2017-11-23 01:51+0000\n"
"Last-Translator: OCA Transbot <[email protected]>, 2017\n"
"Language-Team: Spanish (Spain) (https://www.transifex.com/oca/teams/23907/"
"es_ES/)\n"
"Language: es_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"

#. module: sale_company_currency
#: model:ir.model.fields,field_description:sale_company_currency.field_sale_order_company_currency_id
msgid "Company Currency"
msgstr ""

#. module: sale_company_currency
#: model:ir.model.fields,help:sale_company_currency.field_sale_order_amount_total_curr
msgid "Sale Order Amount in the company Currency"
msgstr ""

#. module: sale_company_currency
#: model:ir.model,name:sale_company_currency.model_sale_order
msgid "Sales Order"
msgstr "Pedido de venta"

#. module: sale_company_currency
#: model:ir.ui.view,arch_db:sale_company_currency.view_order_form
#: model:ir.ui.view,arch_db:sale_company_currency.view_order_tree
#: model:ir.ui.view,arch_db:sale_company_currency.view_quotation_tree
msgid "Total"
msgstr ""

#. module: sale_company_currency
#: model:ir.ui.view,arch_db:sale_company_currency.view_order_form
#: model:ir.ui.view,arch_db:sale_company_currency.view_order_tree
#: model:ir.ui.view,arch_db:sale_company_currency.view_quotation_tree
msgid "Total (Company Currency)"
msgstr ""

#. module: sale_company_currency
#: model:ir.model.fields,field_description:sale_company_currency.field_sale_order_amount_total_curr
msgid "Total Amount"
msgstr ""
Loading

0 comments on commit ff0df71

Please sign in to comment.