Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
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
6 changes: 6 additions & 0 deletions setup/website_sale_uom_price_list_preview/setup.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
import setuptools

setuptools.setup(
setup_requires=['setuptools-odoo'],
odoo_addon=True,
)
117 changes: 117 additions & 0 deletions website_sale_uom_price_list_preview/README.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,117 @@
===================================
Website Sale UoM Price List Preview
===================================

..
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! This file is generated by oca-gen-addon-readme !!
!! changes will be overwritten. !!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! source digest: sha256:abccc603f1ba22b348d8f13a9abed428f71da2728b383f61c49a44ae07e3f6d6
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

.. |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%2Fe--commerce-lightgray.png?logo=github
:target: https://github.com/OCA/e-commerce/tree/16.0/website_sale_uom_price_list_preview
:alt: OCA/e-commerce
.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png
:target: https://translation.odoo-community.org/projects/e-commerce-16-0/e-commerce-16-0-website_sale_uom_price_list_preview
: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/e-commerce&target_branch=16.0
:alt: Try me on Runboat

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

This module displays a reference price (a price per unit of measure) on
the product list preview of the web shop.

.. figure:: https://raw.githubusercontent.com/OCA/e-commerce/16.0/website_sale_uom_price_list_preview/static/description/uom_price_list_preview.png
:alt: Preview of the product list preview with reference price
:width: 600 px

**Table of contents**

.. contents::
:local:

Use Cases / Context
===================

The Odoo e-commerce allows to show a reference price next to the main
price of the product (when properly enabled see Configuration).
This *Reference Price* is only displayed on the product page, not on the
list preview of all products.

Configuration
=============

Go to Website > Configuration > Settings and activate
*Product Reference Price* under *Shop - Products* group.

.. figure:: https://raw.githubusercontent.com/OCA/e-commerce/16.0/website_sale_uom_price_list_preview/static/description/website_sale_uom_price_configuration.png
:alt: View of the configuration page
:width: 600 px

Configure your products with a *Sales Price* and a *Base Count Unit*. If
*Base Count Unit* is different than zero, the *Reference Price* appears
on the web shop.

.. figure:: https://raw.githubusercontent.com/OCA/e-commerce/16.0/website_sale_uom_price_list_preview/static/description/product_configuration.png
:alt: View of the configuration page
:width: 600 px

Bug Tracker
===========

Bugs are tracked on `GitHub Issues <https://github.com/OCA/e-commerce/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/e-commerce/issues/new?body=module:%20website_sale_uom_price_list_preview%0Aversion:%2016.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
~~~~~~~

* Coop IT Easy SC

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

* `Coop IT Easy SC <https://coopiteasy.be>`_:

* Rémy Taymans

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-remytms| image:: https://github.com/remytms.png?size=40px
:target: https://github.com/remytms
:alt: remytms

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

|maintainer-remytms|

This module is part of the `OCA/e-commerce <https://github.com/OCA/e-commerce/tree/16.0/website_sale_uom_price_list_preview>`_ 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 website_sale_uom_price_list_preview/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# SPDX-FileCopyrightText: 2025 Coop IT Easy SC
#
# SPDX-License-Identifier: AGPL-3.0-or-later
16 changes: 16 additions & 0 deletions website_sale_uom_price_list_preview/__manifest__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
# SPDX-FileCopyrightText: 2025 Coop IT Easy SC
#
# SPDX-License-Identifier: AGPL-3.0-or-later

{
"name": "Website Sale UoM Price List Preview",
"summary": "Show price per uom in the list preview of the e-commerce",
"version": "16.0.1.0.0",
"category": "Website",
"website": "https://github.com/OCA/e-commerce",
"author": "Coop IT Easy SC, Odoo Community Association (OCA)",
"maintainers": ["remytms"],
"license": "AGPL-3",
"depends": ["website_sale"],
"data": ["views/templates.xml"],
}
14 changes: 14 additions & 0 deletions website_sale_uom_price_list_preview/readme/CONFIGURE.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
Go to Website > Configuration > Settings and activate
*Product Reference Price* under *Shop - Products* group.

.. figure:: ../static/description/website_sale_uom_price_configuration.png
:alt: View of the configuration page
:width: 600 px

Configure your products with a *Sales Price* and a *Base Count Unit*. If
*Base Count Unit* is different than zero, the *Reference Price* appears
on the web shop.

.. figure:: ../static/description/product_configuration.png
:alt: View of the configuration page
:width: 600 px
4 changes: 4 additions & 0 deletions website_sale_uom_price_list_preview/readme/CONTEXT.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
The Odoo e-commerce allows to show a reference price next to the main
price of the product (when properly enabled see Configuration).
This *Reference Price* is only displayed on the product page, not on the
list preview of all products.
3 changes: 3 additions & 0 deletions website_sale_uom_price_list_preview/readme/CONTRIBUTORS.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
* `Coop IT Easy SC <https://coopiteasy.be>`_:

* Rémy Taymans
6 changes: 6 additions & 0 deletions website_sale_uom_price_list_preview/readme/DESCRIPTION.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
This module displays a reference price (a price per unit of measure) on
the product list preview of the web shop.

.. figure:: ../static/description/uom_price_list_preview.png
:alt: Preview of the product list preview with reference price
:width: 600 px
Loading