Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
68 commits
Select commit Hold shift + click to select a range
3fce354
[10.0] website_sale_hide_price: New module
chienandalu Aug 8, 2017
0fc117c
OCA Transbot updated translations from Transifex
oca-transbot Dec 16, 2017
43a2dd5
[MIG] website_sale_hide_price: Migration to 11.0
AbrahamTrey Jun 13, 2018
9136520
Translated using Weblate (Persian)
fshahy Jul 21, 2018
0c50b01
Translated using Weblate (German)
Aug 27, 2018
12db772
[FIX][11.0][website_sale_hide_price] Disable Add to cart option to pr…
JuanjoA Oct 11, 2018
2637bce
[FIX] web_sale_hide_price: fix error with product comparison tool
maitaoriana Mar 7, 2019
ada8a13
Translated using Weblate (Italian)
paolovalier Dec 28, 2018
7549a39
[MIG] website_sale_hide_price: Migration to 12.0
bouvyd Oct 29, 2018
d736b6e
[MIG] website_sale_hide_price: Migration to 12.0
maitaoriana Feb 19, 2020
af98dba
[REF] website_sale_hide_price: known issues added to README
maitaoriana Feb 19, 2020
c902327
Translated using Weblate (German)
AndreVolksdorf Aug 11, 2020
eea82e4
Translated using Weblate (Slovenian)
sysadminmatmoz Aug 11, 2020
df338e3
[IMP] website_sale_hide_price: black, isort, prettier
maitaoriana Oct 20, 2020
8c6c18e
[MIG] website_sale_hide_price: Migration to 13.0
maitaoriana Oct 20, 2020
cd1e308
[FIX] website_sale_hide_price: validate website exist in search box view
maitaoriana Oct 28, 2020
3b9f37e
[FIX] website_sale_hide_price: wrong template inheritance
wtaferner Dec 5, 2020
4e3699b
Translated using Weblate (Catalan)
claudiagn Feb 25, 2021
8762bc3
Translated using Weblate (Spanish)
claudiagn Feb 25, 2021
a51e177
[MIG] website_sale_hide_price: Migration to 14.0
May 18, 2021
ba6c0ca
Translated using Weblate (Spanish (Argentina))
ibuioli Sep 11, 2021
a6d8699
[IMP] website_sale_hide_price: hide price at product level
chienandalu May 13, 2022
6be3855
[IMP] website_sale_comparison_hide_price: hide price at product level
chienandalu May 13, 2022
608111c
[MIG] website_sale_hide_price: Migration to 15.0
CarlosRoca13 Jun 2, 2022
5275b36
[UPD] Update website_sale_hide_price.pot
Jun 13, 2022
003f1dc
[UPD] README.rst
OCA-git-bot Jun 13, 2022
cade124
[MIG] website_sale_hide_price: Migration to 16.0
JrAdhoc Dec 16, 2022
1c7f443
Translated using Weblate (Italian)
mymage Dec 28, 2022
7631914
Translated using Weblate (Italian)
francesco-ooops Feb 1, 2023
b210f11
Translated using Weblate (Spanish (Argentina))
ibuioli Mar 12, 2023
fa00db8
Added translation using Weblate (Portuguese)
pedrocs-exo Mar 29, 2023
3b034fa
Translated using Weblate (Portuguese)
pedrocs-exo Mar 29, 2023
0ac03db
fix error show badge_extra_price
manuelcalerosolis May 31, 2023
449116f
[FIX] website_sale_hide_price: fix key error when editing snippet
pilarvargas-tecnativa May 26, 2023
f31c1cf
[IMP] website_sale_hide_price: Hide add to cart button and prices
pilarvargas-tecnativa May 29, 2023
ed67ada
website_sale_hide_price 16.0.1.1.0
OCA-git-bot Jun 1, 2023
64ab794
website_sale_hide_price 16.0.1.2.0
OCA-git-bot Jun 1, 2023
ff07369
[FIX] website_sale_hide_price: hide the price in the add_to_cart option
pilarvargas-tecnativa Mar 1, 2023
c382b75
[15.0][FIX] website_sale_hide_price, hide price on results of search bar
ChrisOForgeFlow Mar 14, 2023
335f4bb
Translated using Weblate (German)
NICO-SOLUTIONS Jul 8, 2023
b3f8158
Translated using Weblate (Spanish)
Ivorra78 Aug 3, 2023
3292892
[FIX] website_sale_hide_price: display price in search bar
remi-filament Jul 11, 2023
e071567
website_sale_hide_price 16.0.1.3.0
OCA-git-bot Aug 17, 2023
f205ee4
Translated using Weblate (Japanese)
rinaldifirdaus Sep 15, 2023
8df07cd
[16.0][FIX] website_sale_hide_price: Error loading view after update
Nov 8, 2023
e44d881
[IMP] website_sale_hide_price: hide prices at website level
amkarthik Dec 27, 2023
d5e56e0
[BOT] post-merge updates
OCA-git-bot Jan 8, 2024
4134bdd
Translated using Weblate (Spanish)
Ivorra78 Jan 9, 2024
5721dd4
Translated using Weblate (Spanish (Argentina))
ibuioli Jan 17, 2024
949f321
[MIG] website_sale_hide_price: Migration to 17.0
sylvainvh Mar 27, 2024
0d45186
Translated using Weblate (Italian)
mymage Apr 16, 2024
d9648b9
Translated using Weblate (Italian)
scigghia Apr 16, 2024
60949c6
[17.0][FIX] website_sale_hide_price: qweb cache
stanislaw-ladorucki May 5, 2024
cd93cf9
Translated using Weblate (Swedish)
jakobkrabbe Jun 5, 2024
8089956
[FIX]website_sale_hide_price: improve button visibility logic
LuisAlejandroS Nov 20, 2024
fc10617
[17.0][FIX]website_sale_hide_price:replace t-attf-class with hasclass()
cem-adhoc Mar 19, 2025
934611e
[IMP] website_sale_hide_price: pre-commit auto fixes
pilarvargas-tecnativa Jul 17, 2025
d5e9c0c
[MIG] website_sale_hide_price: Migration to 18.0
Borruso Nov 29, 2024
48157a4
[MIG] website_sale_hide_price: Continue migration to version 18.0
pilarvargas-tecnativa Jul 17, 2025
c083e0c
[UPD] Update website_sale_hide_price.pot
Jul 23, 2025
bcbfc9d
[BOT] post-merge updates
OCA-git-bot Jul 23, 2025
fd14aed
Translated using Weblate (Italian)
francesco-ooops Nov 18, 2025
22a6f25
[MIG] website_sale_hide_price: Migration to 19.0
trobz-bot Jan 8, 2026
88faaac
Search methods should return a Domain object
trobz-bot Jan 8, 2026
92a2e71
Replace traditional domains with list by Domain object
trobz-bot Jan 8, 2026
c92c9bd
Disable tracking by setting `tracking_disable`
trobz-bot Jan 8, 2026
1abfdbf
Create the data on the tests
trobz-bot Jan 8, 2026
525059b
[MIG] website_sale_hide_price: Migration to 19.0
trobz-bot Jan 8, 2026
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
156 changes: 156 additions & 0 deletions website_sale_hide_price/README.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,156 @@
.. image:: https://odoo-community.org/readme-banner-image
:target: https://odoo-community.org/get-involved?utm_source=readme
:alt: Odoo Community Association

=======================
Website Sale Hide Price
=======================

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

.. |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/license-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/19.0/website_sale_hide_price
: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-19-0/e-commerce-19-0-website_sale_hide_price
: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=19.0
:alt: Try me on Runboat

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

This module allows to have hidden product prices on the website store.

**Table of contents**

.. contents::
:local:

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

If you want to hide prices at customer level:

1. Go to *Customers* and choose one.
2. Go to *Sales and Purchases* tab.
3. In *Sales* group set *Show prices on website* on or off so this
customer can see them or not. The default value is True, so every
partner website user can see the prices.

For not logged in customers:

1. If you want to have the prices hidden by default when no user is
logged in you should go to Public User's partner and set *Show prices
on website* off. (Remember that the Public User's user and partner
use to be archived).

Hide prices at product level:

1. Go to *Website > eCommerce > Products* and choose one.
2. Go to *Sales* tab.
3. In the *Ecommerce Shop* section you have the option *Hide prices on
website*.
4. You can optionally set a message that will be displayed when the
prices are hidden.

If you want to hide prices at website level

1. Go to *Website > Configuration > Settings* and choose the website to
hide the prices.
2. In the *Shop - Products* section you have the option *Hide prices on
website*

Usage
=====

After configuring the module go to the website store and check your
expected results:

1. On the search box writing the name of a product.
2. On the product list (/shop).
3. On the product page.
4. On the recently viewed products.

You shouldn't be able to either see the prices or buy any of the
forbidden items if any.

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

- This module is incompatible with the website_sale_stock_force_block
module because it makes changes to the same attributes in the
website_sale.products_add_to_cart template.

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_hide_price%0Aversion:%2019.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>`__:

- David Vidal
- Pilar Vargas

- Abraham González <abraham@trey.es>
- Juanjo Algaz <jalgaz@gmail.com>
- \`Factor Libre <https://factorlibre.com>\`:

- Pablo De Andrés <pablo.deandres@factorlibre.com>

- \`Sodexis <https://sodexis.com>\`:

- Karthik <karthik@sodexis.com>

- `Idealis Consulting <https://idealisconsulting.com>`__:

- Sylvain Van Hoof

- `Kencove <https://kencove.com>`__:

- Mohamed Alkobrosli

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/e-commerce <https://github.com/OCA/e-commerce/tree/19.0/website_sale_hide_price>`_ project on GitHub.

You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.
1 change: 1 addition & 0 deletions website_sale_hide_price/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
from . import models
20 changes: 20 additions & 0 deletions website_sale_hide_price/__manifest__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
# Copyright 2017 Tecnativa - David Vidal
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).
{
"name": "Website Sale Hide Price",
"version": "19.0.1.0.0",
"category": "Website",
"author": "Tecnativa, Odoo Community Association (OCA)",
"website": "https://github.com/OCA/e-commerce",
"license": "AGPL-3",
"summary": "Hide product prices on the shop",
"depends": ["website_sale"],
"data": [
"views/partner_view.xml",
"views/product_snippet_template_data.xml",
"views/product_template_views.xml",
"views/res_config_settings_views.xml",
"views/website_sale_template.xml",
],
"installable": True,
}
97 changes: 97 additions & 0 deletions website_sale_hide_price/i18n/ar.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,97 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * website_sale_hide_price
#
# Translators:
# OCA Transbot <transbot@odoo-community.org>, 2017
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 10.0\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2017-12-16 01:57+0000\n"
"PO-Revision-Date: 2017-12-16 01:57+0000\n"
"Last-Translator: OCA Transbot <transbot@odoo-community.org>, 2017\n"
"Language-Team: Arabic (https://www.transifex.com/oca/teams/23907/ar/)\n"
"Language: ar\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: \n"
"Plural-Forms: nplurals=6; plural=n==0 ? 0 : n==1 ? 1 : n==2 ? 2 : n%100>=3 "
"&& n%100<=10 ? 3 : n%100>=11 && n%100<=99 ? 4 : 5;\n"

#. module: website_sale_hide_price
#: model:ir.model,name:website_sale_hide_price.model_res_config_settings
msgid "Config Settings"
msgstr ""

#. module: website_sale_hide_price
#: model:ir.model,name:website_sale_hide_price.model_res_partner
msgid "Contact"
msgstr ""

#. module: website_sale_hide_price
#: model:ir.model.fields,field_description:website_sale_hide_price.field_res_config_settings__website_hide_price_default_message
#: model:ir.model.fields,field_description:website_sale_hide_price.field_website__website_hide_price_default_message
msgid "Default Hidden price message"
msgstr ""

#. module: website_sale_hide_price
#: model:ir.model.fields,field_description:website_sale_hide_price.field_product_product__website_hide_price_message
#: model:ir.model.fields,field_description:website_sale_hide_price.field_product_template__website_hide_price_message
msgid "Hidden price message"
msgstr ""

#. module: website_sale_hide_price
#: model:ir.model.fields,help:website_sale_hide_price.field_res_config_settings__website_hide_price
#: model:ir.model.fields,help:website_sale_hide_price.field_website__website_hide_price
msgid "Hide price at website level"
msgstr ""

#. module: website_sale_hide_price
#: model_terms:ir.ui.view,arch_db:website_sale_hide_price.res_config_settings_view_form
msgid "Hide prices at website level"
msgstr ""

#. module: website_sale_hide_price
#: model:ir.model.fields,field_description:website_sale_hide_price.field_product_product__website_hide_price
#: model:ir.model.fields,field_description:website_sale_hide_price.field_product_template__website_hide_price
#: model:ir.model.fields,field_description:website_sale_hide_price.field_res_config_settings__website_hide_price
#: model:ir.model.fields,field_description:website_sale_hide_price.field_website__website_hide_price
msgid "Hide prices on website"
msgstr ""

#. module: website_sale_hide_price
#: model:ir.model,name:website_sale_hide_price.model_product_template
msgid "Product"
msgstr ""

#. module: website_sale_hide_price
#: model_terms:ir.ui.view,arch_db:website_sale_hide_price.res_config_settings_view_form
msgid "Set a default text when hiding prices"
msgstr ""

#. module: website_sale_hide_price
#: model:ir.model.fields,field_description:website_sale_hide_price.field_res_partner__website_show_price
#: model:ir.model.fields,field_description:website_sale_hide_price.field_res_users__website_show_price
msgid "Show prices on website"
msgstr ""

#. module: website_sale_hide_price
#: model:ir.model,name:website_sale_hide_price.model_website
msgid "Website"
msgstr "الموقع"

#. module: website_sale_hide_price
#: model:ir.model.fields,field_description:website_sale_hide_price.field_website__website_show_price
msgid "Website Show Price"
msgstr ""

#. module: website_sale_hide_price
#: model:ir.model.fields,help:website_sale_hide_price.field_product_product__website_hide_price_message
#: model:ir.model.fields,help:website_sale_hide_price.field_product_template__website_hide_price_message
#: model:ir.model.fields,help:website_sale_hide_price.field_res_config_settings__website_hide_price_default_message
#: model:ir.model.fields,help:website_sale_hide_price.field_website__website_hide_price_default_message
msgid ""
"When the price is hidden on the website we can give the customersome tips on "
"how to find it out."
msgstr ""
96 changes: 96 additions & 0 deletions website_sale_hide_price/i18n/bg.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,96 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * website_sale_hide_price
#
# Translators:
# OCA Transbot <transbot@odoo-community.org>, 2017
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 10.0\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2017-12-16 01:57+0000\n"
"PO-Revision-Date: 2017-12-16 01:57+0000\n"
"Last-Translator: OCA Transbot <transbot@odoo-community.org>, 2017\n"
"Language-Team: Bulgarian (https://www.transifex.com/oca/teams/23907/bg/)\n"
"Language: bg\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"

#. module: website_sale_hide_price
#: model:ir.model,name:website_sale_hide_price.model_res_config_settings
msgid "Config Settings"
msgstr ""

#. module: website_sale_hide_price
#: model:ir.model,name:website_sale_hide_price.model_res_partner
msgid "Contact"
msgstr ""

#. module: website_sale_hide_price
#: model:ir.model.fields,field_description:website_sale_hide_price.field_res_config_settings__website_hide_price_default_message
#: model:ir.model.fields,field_description:website_sale_hide_price.field_website__website_hide_price_default_message
msgid "Default Hidden price message"
msgstr ""

#. module: website_sale_hide_price
#: model:ir.model.fields,field_description:website_sale_hide_price.field_product_product__website_hide_price_message
#: model:ir.model.fields,field_description:website_sale_hide_price.field_product_template__website_hide_price_message
msgid "Hidden price message"
msgstr ""

#. module: website_sale_hide_price
#: model:ir.model.fields,help:website_sale_hide_price.field_res_config_settings__website_hide_price
#: model:ir.model.fields,help:website_sale_hide_price.field_website__website_hide_price
msgid "Hide price at website level"
msgstr ""

#. module: website_sale_hide_price
#: model_terms:ir.ui.view,arch_db:website_sale_hide_price.res_config_settings_view_form
msgid "Hide prices at website level"
msgstr ""

#. module: website_sale_hide_price
#: model:ir.model.fields,field_description:website_sale_hide_price.field_product_product__website_hide_price
#: model:ir.model.fields,field_description:website_sale_hide_price.field_product_template__website_hide_price
#: model:ir.model.fields,field_description:website_sale_hide_price.field_res_config_settings__website_hide_price
#: model:ir.model.fields,field_description:website_sale_hide_price.field_website__website_hide_price
msgid "Hide prices on website"
msgstr ""

#. module: website_sale_hide_price
#: model:ir.model,name:website_sale_hide_price.model_product_template
msgid "Product"
msgstr ""

#. module: website_sale_hide_price
#: model_terms:ir.ui.view,arch_db:website_sale_hide_price.res_config_settings_view_form
msgid "Set a default text when hiding prices"
msgstr ""

#. module: website_sale_hide_price
#: model:ir.model.fields,field_description:website_sale_hide_price.field_res_partner__website_show_price
#: model:ir.model.fields,field_description:website_sale_hide_price.field_res_users__website_show_price
msgid "Show prices on website"
msgstr ""

#. module: website_sale_hide_price
#: model:ir.model,name:website_sale_hide_price.model_website
msgid "Website"
msgstr "Уеб-страница"

#. module: website_sale_hide_price
#: model:ir.model.fields,field_description:website_sale_hide_price.field_website__website_show_price
msgid "Website Show Price"
msgstr ""

#. module: website_sale_hide_price
#: model:ir.model.fields,help:website_sale_hide_price.field_product_product__website_hide_price_message
#: model:ir.model.fields,help:website_sale_hide_price.field_product_template__website_hide_price_message
#: model:ir.model.fields,help:website_sale_hide_price.field_res_config_settings__website_hide_price_default_message
#: model:ir.model.fields,help:website_sale_hide_price.field_website__website_hide_price_default_message
msgid ""
"When the price is hidden on the website we can give the customersome tips on "
"how to find it out."
msgstr ""
Loading