Skip to content

Commit c6f986f

Browse files
committed
[ADD] website_sale_uom_price_list_preview
1 parent f1d2003 commit c6f986f

File tree

14 files changed

+647
-0
lines changed

14 files changed

+647
-0
lines changed
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
../../../../website_sale_uom_price_list_preview
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
import setuptools
2+
3+
setuptools.setup(
4+
setup_requires=['setuptools-odoo'],
5+
odoo_addon=True,
6+
)
Lines changed: 117 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,117 @@
1+
===================================
2+
Website Sale UoM Price List Preview
3+
===================================
4+
5+
..
6+
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
7+
!! This file is generated by oca-gen-addon-readme !!
8+
!! changes will be overwritten. !!
9+
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
10+
!! source digest: sha256:abccc603f1ba22b348d8f13a9abed428f71da2728b383f61c49a44ae07e3f6d6
11+
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
12+
13+
.. |badge1| image:: https://img.shields.io/badge/maturity-Beta-yellow.png
14+
:target: https://odoo-community.org/page/development-status
15+
:alt: Beta
16+
.. |badge2| image:: https://img.shields.io/badge/licence-AGPL--3-blue.png
17+
:target: http://www.gnu.org/licenses/agpl-3.0-standalone.html
18+
:alt: License: AGPL-3
19+
.. |badge3| image:: https://img.shields.io/badge/github-OCA%2Fe--commerce-lightgray.png?logo=github
20+
:target: https://github.com/OCA/e-commerce/tree/16.0/website_sale_uom_price_list_preview
21+
:alt: OCA/e-commerce
22+
.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png
23+
:target: https://translation.odoo-community.org/projects/e-commerce-16-0/e-commerce-16-0-website_sale_uom_price_list_preview
24+
:alt: Translate me on Weblate
25+
.. |badge5| image:: https://img.shields.io/badge/runboat-Try%20me-875A7B.png
26+
:target: https://runboat.odoo-community.org/builds?repo=OCA/e-commerce&target_branch=16.0
27+
:alt: Try me on Runboat
28+
29+
|badge1| |badge2| |badge3| |badge4| |badge5|
30+
31+
This module displays a reference price (a price per unit of measure) on
32+
the product list preview of the web shop.
33+
34+
.. figure:: https://raw.githubusercontent.com/OCA/e-commerce/16.0/website_sale_uom_price_list_preview/static/description/uom_price_list_preview.png
35+
:alt: Preview of the product list preview with reference price
36+
:width: 600 px
37+
38+
**Table of contents**
39+
40+
.. contents::
41+
:local:
42+
43+
Use Cases / Context
44+
===================
45+
46+
The Odoo e-commerce allows to show a reference price next to the main
47+
price of the product (when properly enabled see Configuration).
48+
This *Reference Price* is only displayed on the product page, not on the
49+
list preview of all products.
50+
51+
Configuration
52+
=============
53+
54+
Go to Website > Configuration > Settings and activate
55+
*Product Reference Price* under *Shop - Products* group.
56+
57+
.. figure:: https://raw.githubusercontent.com/OCA/e-commerce/16.0/website_sale_uom_price_list_preview/static/description/website_sale_uom_price_configuration.png
58+
:alt: View of the configuration page
59+
:width: 600 px
60+
61+
Configure your products with a *Sales Price* and a *Base Count Unit*. If
62+
*Base Count Unit* is different than zero, the *Reference Price* appears
63+
on the web shop.
64+
65+
.. figure:: https://raw.githubusercontent.com/OCA/e-commerce/16.0/website_sale_uom_price_list_preview/static/description/product_configuration.png
66+
:alt: View of the configuration page
67+
:width: 600 px
68+
69+
Bug Tracker
70+
===========
71+
72+
Bugs are tracked on `GitHub Issues <https://github.com/OCA/e-commerce/issues>`_.
73+
In case of trouble, please check there if your issue has already been reported.
74+
If you spotted it first, help us to smash it by providing a detailed and welcomed
75+
`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**>`_.
76+
77+
Do not contact contributors directly about support or help with technical issues.
78+
79+
Credits
80+
=======
81+
82+
Authors
83+
~~~~~~~
84+
85+
* Coop IT Easy SC
86+
87+
Contributors
88+
~~~~~~~~~~~~
89+
90+
* `Coop IT Easy SC <https://coopiteasy.be>`_:
91+
92+
* Rémy Taymans
93+
94+
Maintainers
95+
~~~~~~~~~~~
96+
97+
This module is maintained by the OCA.
98+
99+
.. image:: https://odoo-community.org/logo.png
100+
:alt: Odoo Community Association
101+
:target: https://odoo-community.org
102+
103+
OCA, or the Odoo Community Association, is a nonprofit organization whose
104+
mission is to support the collaborative development of Odoo features and
105+
promote its widespread use.
106+
107+
.. |maintainer-remytms| image:: https://github.com/remytms.png?size=40px
108+
:target: https://github.com/remytms
109+
:alt: remytms
110+
111+
Current `maintainer <https://odoo-community.org/page/maintainer-role>`__:
112+
113+
|maintainer-remytms|
114+
115+
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.
116+
117+
You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
# SPDX-FileCopyrightText: 2025 Coop IT Easy SC
2+
#
3+
# SPDX-License-Identifier: AGPL-3.0-or-later
Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
# SPDX-FileCopyrightText: 2025 Coop IT Easy SC
2+
#
3+
# SPDX-License-Identifier: AGPL-3.0-or-later
4+
5+
{
6+
"name": "Website Sale UoM Price List Preview",
7+
"summary": "Show price per uom in the list preview of the e-commerce",
8+
"version": "16.0.1.0.0",
9+
"category": "Website",
10+
"website": "https://github.com/OCA/e-commerce",
11+
"author": "Coop IT Easy SC, Odoo Community Association (OCA)",
12+
"maintainers": ["remytms"],
13+
"license": "AGPL-3",
14+
"depends": ["website_sale"],
15+
"data": ["views/templates.xml"],
16+
}
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
Go to Website > Configuration > Settings and activate
2+
*Product Reference Price* under *Shop - Products* group.
3+
4+
.. figure:: ../static/description/website_sale_uom_price_configuration.png
5+
:alt: View of the configuration page
6+
:width: 600 px
7+
8+
Configure your products with a *Sales Price* and a *Base Count Unit*. If
9+
*Base Count Unit* is different than zero, the *Reference Price* appears
10+
on the web shop.
11+
12+
.. figure:: ../static/description/product_configuration.png
13+
:alt: View of the configuration page
14+
:width: 600 px
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
The Odoo e-commerce allows to show a reference price next to the main
2+
price of the product (when properly enabled see Configuration).
3+
This *Reference Price* is only displayed on the product page, not on the
4+
list preview of all products.
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
* `Coop IT Easy SC <https://coopiteasy.be>`_:
2+
3+
* Rémy Taymans
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
This module displays a reference price (a price per unit of measure) on
2+
the product list preview of the web shop.
3+
4+
.. figure:: ../static/description/uom_price_list_preview.png
5+
:alt: Preview of the product list preview with reference price
6+
:width: 600 px

0 commit comments

Comments
 (0)