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] sale_order_line_price_history: Migration to 17.0 #3543

Merged
merged 29 commits into from
Jan 24, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
29 commits
Select commit Hold shift + click to select a range
5f7c1a2
sale_order_line_price_history: add price history in sale order line
ernestotejeda Mar 19, 2019
924a7b9
[12.0][MIG] sale_order_line_price_history
murtuzasaleh May 6, 2019
3a032d4
Added translation using Weblate (German)
marylla Jul 15, 2019
cbf48dc
Added translation using Weblate (Chinese (Simplified))
liweijie0812 Sep 1, 2019
a151e74
Translated using Weblate (Spanish)
Galoperd Jan 25, 2020
fbb74eb
[IMP] sale_order_line_price_history: Add discount to the history
Jun 16, 2020
988c573
[IMP] sale_order_line_price_history: hide partner column dynamically
Jun 16, 2020
5b44c08
[FIX] sale_order_line_price_history: set 'unit price' + 'discount'
Aug 20, 2020
7ab82a8
Added translation using Weblate (Portuguese)
pedrocs-exo Sep 15, 2020
6e48d26
[IMP] : black, isort, prettier
dennybiasiolli Oct 13, 2020
d2efd09
[MIG] sale_order_line_price_history: Migration to 13.0
dennybiasiolli Oct 12, 2020
a615c5a
[IMP] sale_order_line_price_history: turn into a widget
chienandalu May 14, 2021
33ec3c3
[IMP] sale_order_line_price_history: isort, black, prettier.
dsolanki-initos Jun 17, 2021
4ed101e
[MIG] Migrate module sale_order_line_price_history to v14.
dsolanki-initos Jun 17, 2021
888fec4
[MIG] sale_order_line_price_history: Migration to 15.0
Jul 15, 2022
2394cf1
[FIX] sale_order_line_price_history: show a traditional button in SOL…
Jul 17, 2022
bf94937
[MIG] sale_order_line_price_history: Migration to 16.0
Yadier-Tecnativa Apr 27, 2023
31fc201
Translated using Weblate (Spanish)
Ivorra78 Jul 25, 2023
7475e0c
Added translation using Weblate (Portuguese (Brazil))
adrianojprado Oct 28, 2023
5fc0651
Added translation using Weblate (Italian)
mymage Dec 7, 2023
9bccd74
[FIX] sale_order_line_price_history: Set history price from wizard tree
Shide Jan 17, 2024
22cbb8c
[FIX] sale_order_line_price_history: OWL component with onchange
dariodelzozzo Jan 22, 2024
fce2e67
Translated using Weblate (Italian)
mymage Jan 24, 2024
fccb88e
Translated using Weblate (Spanish)
Ivorra78 Feb 12, 2024
444a04a
Translated using Weblate (Italian)
mymage Mar 28, 2024
0b3c722
[FIX] sale_order_line_price_history: Increase view priority
Shide Apr 24, 2024
70668c1
Translated using Weblate (Portuguese (Brazil))
May 21, 2024
911935d
[IMP] sale_order_line_price_history: pre-commit auto fixes
Aug 29, 2024
dd4300f
[MIG] sale_order_line_price_history: Migration to 17.0
Aug 29, 2024
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
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. <[email protected]>
- Dhara Solanki <[email protected]>
- Ruchir Shukla <[email protected]>
- Eduardo de Miguel (`Moduon <https://www.moduon.team/>`__)
- Sodexis Team <[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.

.. |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 <[email protected]>\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
Loading