Skip to content

Commit

Permalink
Merge PR #3543 into 17.0
Browse files Browse the repository at this point in the history
Signed-off-by pedrobaeza
  • Loading branch information
OCA-git-bot committed Jan 24, 2025
2 parents c077adf + dd4300f commit a22a651
Show file tree
Hide file tree
Showing 30 changed files with 2,703 additions and 0 deletions.
128 changes: 128 additions & 0 deletions sale_order_line_price_history/README.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,128 @@
=============================
Sale order line price history
=============================

..
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! This file is generated by oca-gen-addon-readme !!
!! changes will be overwritten. !!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! source digest: sha256:4e4e03f5fe415c09f2cb84856da278ff0c36a65fd2359e5cac61ccccf3f8db9e
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
.. |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/17.0/sale_order_line_price_history
: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-17-0/sale-workflow-17-0-sale_order_line_price_history
: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/sale-workflow&target_branch=17.0
:alt: Try me on Runboat

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

This module extends the functionality of Sales to allow you to see the
price history of a product from a sale order line and set one of these
old prices in the sale order line.

**Table of contents**

.. contents::
:local:

Usage
=====

To use this module, you need to:

1. Go to System Parameters and configure the
``sale_order_line_price_history.order_line_limit`` parameter to limit
the number of Sale Order Lines to show on the Wizard.
2. Go to *Sales -> Quotations* and select a Quotation. Default is 20
lines.
3. Click on the new clock button in one of the sale order lines.
4. A pop-up will open and you will see the *price history* for the
product of the sale order line and for the customer of the sale
order.
5. You can select other customer or leave it empty to see the price
history for all customers.
6. You can also set the price of one of the price history lines in the
sale order line. To do that, you have to open the price history line
desired and click the smart button named *Set price*.

Known issues / Roadmap
======================

- A backend tour would be nice to have.

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 to smash it by providing a detailed and welcomed
`feedback <https://github.com/OCA/sale-workflow/issues/new?body=module:%20sale_order_line_price_history%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
-------

* Tecnativa

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

- `Tecnativa <https://www.tecnativa.com>`__:

- Pedro M. Baeza
- Ernesto Tejeda
- David Vidal
- Carlos Roca

- Serpent Consulting Services Pvt. Ltd. <support@serpentcs.com>
- Dhara Solanki <dhara.solanki@initos.com>
- Ruchir Shukla <ruchir@bizzappdev.com>
- Eduardo de Miguel (`Moduon <https://www.moduon.team/>`__)
- Sodexis Team <dev@sodexis.com>

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.

.. |maintainer-ernestotejeda| image:: https://github.com/ernestotejeda.png?size=40px
:target: https://github.com/ernestotejeda
:alt: ernestotejeda
.. |maintainer-CarlosRoca13| image:: https://github.com/CarlosRoca13.png?size=40px
:target: https://github.com/CarlosRoca13
:alt: CarlosRoca13
.. |maintainer-Shide| image:: https://github.com/Shide.png?size=40px
:target: https://github.com/Shide
:alt: Shide

Current `maintainers <https://odoo-community.org/page/maintainer-role>`__:

|maintainer-ernestotejeda| |maintainer-CarlosRoca13| |maintainer-Shide|

This module is part of the `OCA/sale-workflow <https://github.com/OCA/sale-workflow/tree/17.0/sale_order_line_price_history>`_ 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_order_line_price_history/__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
from . import wizards
24 changes: 24 additions & 0 deletions sale_order_line_price_history/__manifest__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
# Copyright 2019 Tecnativa - Ernesto Tejeda
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).
{
"name": "Sale order line price history",
"version": "17.0.1.0.0",
"category": "Sales Management",
"author": "Tecnativa," "Odoo Community Association (OCA)",
"website": "https://github.com/OCA/sale-workflow",
"license": "AGPL-3",
"depends": ["sale"],
"data": [
"security/ir.model.access.csv",
"wizards/sale_order_line_price_history.xml",
"views/sale_views.xml",
],
"assets": {
"web.assets_backend": [
"sale_order_line_price_history/static/src/js/*.js",
"sale_order_line_price_history/static/src/xml/*.xml",
],
},
"maintainers": ["ernestotejeda", "CarlosRoca13", "Shide"],
"installable": True,
}
223 changes: 223 additions & 0 deletions sale_order_line_price_history/i18n/de.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,223 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * sale_order_line_price_history
#
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 12.0\n"
"Report-Msgid-Bugs-To: \n"
"PO-Revision-Date: 2019-07-15 13:43+0000\n"
"Last-Translator: Maria Sparenberg <maria.sparenberg@gmx.net>\n"
"Language-Team: none\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"
"X-Generator: Weblate 3.7.1\n"

#. module: sale_order_line_price_history
#: model_terms:ir.ui.view,arch_db:sale_order_line_price_history.sale_order_line_price_history_view_form
msgid "Close"
msgstr "Schließen"

#. module: sale_order_line_price_history
#: model:ir.model.fields,field_description:sale_order_line_price_history.field_sale_order_line_price_history__create_uid
#: model:ir.model.fields,field_description:sale_order_line_price_history.field_sale_order_line_price_history_line__create_uid
msgid "Created by"
msgstr "Erstellt von"

#. module: sale_order_line_price_history
#: model:ir.model.fields,field_description:sale_order_line_price_history.field_sale_order_line_price_history__create_date
#: model:ir.model.fields,field_description:sale_order_line_price_history.field_sale_order_line_price_history_line__create_date
msgid "Created on"
msgstr "Erstellt am"

#. module: sale_order_line_price_history
#: model:ir.model.fields,help:sale_order_line_price_history.field_sale_order_line_price_history_line__sale_order_date_order
msgid ""
"Creation date of draft/sent orders,\n"
"Confirmation date of confirmed orders."
msgstr ""

#. module: sale_order_line_price_history
#: model:ir.model.fields,field_description:sale_order_line_price_history.field_sale_order_line__order_partner_id
#: model:ir.model.fields,field_description:sale_order_line_price_history.field_sale_order_line_price_history__partner_id
#: model:ir.model.fields,field_description:sale_order_line_price_history.field_sale_order_line_price_history_line__partner_id
msgid "Customer"
msgstr "Kunde"

#. module: sale_order_line_price_history
#: model:ir.model.fields,field_description:sale_order_line_price_history.field_sale_order_line_price_history_line__discount
msgid "Discount (%)"
msgstr ""

#. module: sale_order_line_price_history
#: model:ir.model.fields,field_description:sale_order_line_price_history.field_sale_order_line_price_history__display_name
#: model:ir.model.fields,field_description:sale_order_line_price_history.field_sale_order_line_price_history_line__display_name
msgid "Display Name"
msgstr "Anzeigename"

#. module: sale_order_line_price_history
#: model:ir.model.fields,field_description:sale_order_line_price_history.field_sale_order_line_price_history_line__history_id
msgid "History"
msgstr "Historie"

#. module: sale_order_line_price_history
#: model:ir.model.fields,field_description:sale_order_line_price_history.field_sale_order_line_price_history__line_ids
msgid "History lines"
msgstr "Historienzeilen"

#. module: sale_order_line_price_history
#: model:ir.model.fields,field_description:sale_order_line_price_history.field_sale_order_line_price_history__id
#: model:ir.model.fields,field_description:sale_order_line_price_history.field_sale_order_line_price_history_line__id
msgid "ID"
msgstr "ID"

#. module: sale_order_line_price_history
#: model:ir.model.fields,field_description:sale_order_line_price_history.field_sale_order_line_price_history__include_quotations
msgid "Include Quotations"
msgstr ""

#. module: sale_order_line_price_history
#: model:ir.model.fields,field_description:sale_order_line_price_history.field_sale_order_line_price_history__include_commercial_partner
msgid "Include commercial entity"
msgstr ""

#. module: sale_order_line_price_history
#: model:ir.model.fields,help:sale_order_line_price_history.field_sale_order_line_price_history__include_commercial_partner
msgid "Include commercial entity and its contacts in the sale history"
msgstr ""

#. module: sale_order_line_price_history
#: model:ir.model.fields,help:sale_order_line_price_history.field_sale_order_line_price_history__include_quotations
msgid "Include quotations lines in the sale history"
msgstr ""
"Wenn der Haken gesetzt ist, werden auch die Positionen aus Angeboten "
"angezeigt."

#. module: sale_order_line_price_history
#: model:ir.model.fields,field_description:sale_order_line_price_history.field_sale_order_line_price_history____last_update
#: model:ir.model.fields,field_description:sale_order_line_price_history.field_sale_order_line_price_history_line____last_update
msgid "Last Modified on"
msgstr "Zuletzt geändert am"

#. module: sale_order_line_price_history
#: model:ir.model.fields,field_description:sale_order_line_price_history.field_sale_order_line_price_history__write_uid
#: model:ir.model.fields,field_description:sale_order_line_price_history.field_sale_order_line_price_history_line__write_uid
msgid "Last Updated by"
msgstr "Zuletzt aktualisiert von"

#. module: sale_order_line_price_history
#: model:ir.model.fields,field_description:sale_order_line_price_history.field_sale_order_line_price_history__write_date
#: model:ir.model.fields,field_description:sale_order_line_price_history.field_sale_order_line_price_history_line__write_date
msgid "Last Updated on"
msgstr "Zuletzt aktualisiert am"

#. module: sale_order_line_price_history
#. odoo-python
#: code:addons/sale_order_line_price_history/wizards/sale_order_line_price_history.py:0
#, python-format
msgid "Not found historical sale order line for this action!"
msgstr ""

#. module: sale_order_line_price_history
#: model:ir.model.fields,field_description:sale_order_line_price_history.field_sale_order_line_price_history_line__sale_order_date_order
msgid "Order Date"
msgstr "Auftragsdatum"

#. module: sale_order_line_price_history
#: model:ir.model.fields,field_description:sale_order_line_price_history.field_sale_order_line_price_history_line__order_id
msgid "Order Reference"
msgstr "Auftragsnummer"

#. module: sale_order_line_price_history
#. odoo-javascript
#: code:addons/sale_order_line_price_history/static/src/xml/sale_line_price_history_widget.xml:0
#: model_terms:ir.ui.view,arch_db:sale_order_line_price_history.sale_order_line_price_history_view_form
#: model_terms:ir.ui.view,arch_db:sale_order_line_price_history.view_order_form
#, python-format
msgid "Price History"
msgstr ""

#. module: sale_order_line_price_history
#: model:ir.actions.act_window,name:sale_order_line_price_history.sale_order_line_price_history_action
msgid "Price history per customer"
msgstr "Preishistorie pro Kunde"

#. module: sale_order_line_price_history
#: model:ir.model.fields,field_description:sale_order_line_price_history.field_sale_order_line_price_history__product_id
msgid "Product"
msgstr "Produkt"

#. module: sale_order_line_price_history
#: model:ir.model.fields,field_description:sale_order_line_price_history.field_sale_order_line_price_history_line__product_uom_qty
msgid "Quantity"
msgstr ""

#. module: sale_order_line_price_history
#: model_terms:ir.ui.view,arch_db:sale_order_line_price_history.sale_order_line_price_history_view_form
msgid "Sale history"
msgstr "Verkaufshistorie"

#. module: sale_order_line_price_history
#: model:ir.model.fields,field_description:sale_order_line_price_history.field_sale_order_line_price_history__sale_order_line_id
#: model:ir.model.fields,field_description:sale_order_line_price_history.field_sale_order_line_price_history_line__sale_order_line_id
#: model:ir.model.fields,field_description:sale_order_line_price_history.field_sale_order_line_price_history_line__target_sale_order_line_id
msgid "Sale order line"
msgstr "Auftragszeile"

#. module: sale_order_line_price_history
#: model:ir.model,name:sale_order_line_price_history.model_sale_order_line_price_history
msgid "Sale order line price history"
msgstr "Preishistorie der Auftragszeile"

#. module: sale_order_line_price_history
#: model:ir.model,name:sale_order_line_price_history.model_sale_order_line_price_history_line
msgid "Sale order line price history line"
msgstr "Preishistorienzeile der Auftragszeile"

#. module: sale_order_line_price_history
#: model:ir.model,name:sale_order_line_price_history.model_sale_order_line
msgid "Sales Order Line"
msgstr ""

#. module: sale_order_line_price_history
#. odoo-javascript
#: code:addons/sale_order_line_price_history/static/src/xml/set_price_to_line_widget.xml:0
#, python-format
msgid "Set Historic Price"
msgstr ""

#. module: sale_order_line_price_history
#: model:ir.model.fields,field_description:sale_order_line_price_history.field_sale_order_line_price_history_line__order_state
msgid "Status"
msgstr ""

#. module: sale_order_line_price_history
#: model:ir.model.fields,field_description:sale_order_line_price_history.field_sale_order_line_price_history_line__price_unit
msgid "Unit Price"
msgstr "Preis pro ME"

#. module: sale_order_line_price_history
#: model:ir.model.fields,field_description:sale_order_line_price_history.field_sale_order_line_price_history_line__history_sale_order_line_id
msgid "history sale order line"
msgstr "Historie der Auftragszeile"

#~ msgid "Set price"
#~ msgstr "Preis verwenden"

#~ msgid "Include quotations"
#~ msgstr "Angebote berücksichtigen"

#~ msgid "Ordered Quantity"
#~ msgstr "Auftragsmenge"

#~ msgid "Price history"
#~ msgstr "Preishistorie"

#~ msgid ""
#~ "You can find a customer by its Name, TIN, Email or Internal Reference."
#~ msgstr ""
#~ "Ein Kunde kann anhand seines Namens, seiner Steuer-ID, Emailadresse oder "
#~ "internen Referenz gefunden werden."
Loading

0 comments on commit a22a651

Please sign in to comment.