Skip to content

Commit

Permalink
Merge 219c57e into 041e379
Browse files Browse the repository at this point in the history
  • Loading branch information
ernestotejeda committed Mar 22, 2019
2 parents 041e379 + 219c57e commit bc3c87a
Show file tree
Hide file tree
Showing 14 changed files with 876 additions and 0 deletions.
105 changes: 105 additions & 0 deletions sale_order_line_price_history/README.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,105 @@
=============================
Sale order line price history
=============================

.. !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! 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/11.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-11-0/sale-workflow-11-0-sale_order_line_price_history
: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/11.0
:alt: Try me on Runbot

|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:

#. Go to *Sales -> Quotations* and select a Quotation.
#. Click on the new clock button in one of the sale order lines.
#. 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.
#. You can select other customer or leave it empty to see the price history for
all customers.
#. 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
======================

* The *Customer* column of the *price history lines* list is not hidden when
there is a specific client selected because odoo doesn't allow
showing/hiding a column from a *list view* dynamically
(based on any condition).
* The number of entries of prices history in the wizard should be configurable,
currently it is limited to 20.
* In the sale order line, the new button with clock icon will not be activated
until the line is saved.

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_line_price_history%0Aversion:%2011.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

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/11.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.
2 changes: 2 additions & 0 deletions sale_order_line_price_history/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).
from . import wizards
19 changes: 19 additions & 0 deletions sale_order_line_price_history/__manifest__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
# Copyright 2019 Tecnativa - Ernesto Tejeda
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).
{
"name": "Sale order line price history",
"version": "11.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": [
"wizards/sale_orderLine_price_history.xml",
"views/sale_views.xml",
],
"installable": True,
}
4 changes: 4 additions & 0 deletions sale_order_line_price_history/readme/CONTRIBUTORS.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
* `Tecnativa <https://www.tecnativa.com>`_:

* Pedro M. Baeza
* Ernesto Tejeda
3 changes: 3 additions & 0 deletions sale_order_line_price_history/readme/DESCRIPTION.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
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.
8 changes: 8 additions & 0 deletions sale_order_line_price_history/readme/ROADMAP.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
* The *Customer* column of the *price history lines* list is not hidden when
there is a specific client selected because odoo doesn't allow
showing/hiding a column from a *list view* dynamically
(based on any condition).
* The number of entries of prices history in the wizard should be configurable,
currently it is limited to 20.
* In the sale order line, the new button with clock icon will not be activated
until the line is saved.
11 changes: 11 additions & 0 deletions sale_order_line_price_history/readme/USAGE.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
To use this module, you need to:

#. Go to *Sales -> Quotations* and select a Quotation.
#. Click on the new clock button in one of the sale order lines.
#. 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.
#. You can select other customer or leave it empty to see the price history for
all customers.
#. 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*.
Loading

0 comments on commit bc3c87a

Please sign in to comment.