Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
25 commits
Select commit Hold shift + click to select a range
0e9a604
[11.0][NEW] website_sale_product_minimal_price: New module (#283)
sergio-teruel May 28, 2019
d12a44d
[MIG] website_sale_product_minimal_price: Migration to v12.0
sergio-teruel Dec 11, 2019
d60b58f
[FIX] website_sale_product_minimal_price: combination does not exist …
sergio-teruel Jan 13, 2020
7d60404
[IMP] website_sale_product_minimal_price: black, isort, prettier
CarlosRoca13 Jun 4, 2020
9536cf1
[MIG] website_sale_product_minimal_price: Migration to v13
CarlosRoca13 Jun 5, 2020
8225305
[IMP] website_sale_product_minimal_price: Removed the async/await for…
CarlosRoca13 Jun 29, 2020
5690a79
Added translation using Weblate (Dutch)
bosd Dec 15, 2020
00ea772
Added translation using Weblate (Catalan)
claudiagn Feb 25, 2021
ca57801
Translated using Weblate (Spanish)
claudiagn Feb 25, 2021
69648e7
[FIX] website_sale_product_minimal_price: Fix tests
joao-p-marques Mar 30, 2021
b0def20
[IMP] website_sale_product_minimal_price: Forward port of improvement…
CarlosRoca13 May 17, 2021
35520c0
[FIX] website_sale_product_minimal_price: Take into account all price…
CarlosRoca13 Jul 12, 2021
c058c76
[IMP] website_sale_product_minimal_price: black, isort, prettier
miguel-S73 Jul 14, 2021
f89014a
[MIG] website_sale_product_minimal_price: Migration to 14.0
miguel-S73 Jul 15, 2021
eeeb6f0
Added translation using Weblate (Portuguese)
pedrocs-exo Aug 22, 2022
982a693
[MIG] website_sale_product_minimal_price: Migration to version 15.0
pilarvargas-tecnativa Feb 24, 2023
200d936
Added translation using Weblate (French)
benj-filament Aug 22, 2023
2e12090
[16.0][MIG]website_sale_product_minimal_price: Migration to 16.0
sbiosca-s73 Oct 16, 2023
cc89eb1
Added translation using Weblate (Italian)
mymage May 8, 2024
b5c6b04
[IMP] website_sale_product_minimal_price: pre-commit auto fixes
carlos-lopez-tecnativa Jan 15, 2025
dccbc5b
[MIG] website_sale_product_minimal_price: Migration to version 17.0
carlos-lopez-tecnativa Jan 16, 2025
3463016
[UPD] Update website_sale_product_minimal_price.pot
Mar 13, 2025
91c8ea0
[BOT] post-merge updates
OCA-git-bot Mar 13, 2025
5425174
[FIX] website_sale_product_minimal_price: handle case when no product…
carlos-lopez-tecnativa Jul 31, 2025
126ef6f
[MIG] website_sale_product_minimal_price: Migration to 18.0
pablo-cort-s73 Oct 23, 2025
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
103 changes: 103 additions & 0 deletions website_sale_product_minimal_price/README.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,103 @@
==================================
Website Sale Product Minimal Price
==================================

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

.. |badge1| image:: https://img.shields.io/badge/maturity-Production%2FStable-green.png
:target: https://odoo-community.org/page/development-status
:alt: Production/Stable
.. |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/18.0/website_sale_product_minimal_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-18-0/e-commerce-18-0-website_sale_product_minimal_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=18.0
:alt: Try me on Runboat

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

This module extends the functionality of website sale module to allow to
display the minimal price in '/shop' view when product has distinct
variants price and set order by minimal price in product's view.

**Table of contents**

.. contents::
:local:

Usage
=====

1. Go to backend and set a product with variants and extra price by
attribute value or define a distinct prices in public price list for
this variant.
2. Go to Website Shop.
3. You will see that in main products view appears the text "From " with
minimal price if the product has a distinct prices by attribute.
4. Click on product, the price displayed is the minimal variant price.

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_product_minimal_price%0Aversion:%2018.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>`__:

- Sergio Teruel
- Carlos Roca
- Pedro M. Baeza
- Pilar Vargas
- Carlos Lopez

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

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

|maintainer-sergio-teruel|

This module is part of the `OCA/e-commerce <https://github.com/OCA/e-commerce/tree/18.0/website_sale_product_minimal_price>`_ 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_product_minimal_price/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl).

from . import models
26 changes: 26 additions & 0 deletions website_sale_product_minimal_price/__manifest__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
# Copyright 2019 Tecnativa - Sergio Teruel
# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl).
{
"name": "Website Sale Product Minimal Price",
"summary": "Display minimal price for products that has variants",
"version": "18.0.1.0.0",
"development_status": "Production/Stable",
"maintainers": ["sergio-teruel"],
"category": "Website",
"website": "https://github.com/OCA/e-commerce",
"author": "Tecnativa, Odoo Community Association (OCA)",
"license": "AGPL-3",
"application": False,
"installable": True,
"depends": ["website_sale"],
"data": ["views/templates.xml"],
"assets": {
"web.assets_frontend": [
"/website_sale_product_minimal_price/static/src/js/*.esm.js",
"/website_sale_product_minimal_price/static/src/xml/*.xml",
],
"web.assets_tests": [
"/website_sale_product_minimal_price/static/src/tests/**/*.esm.js"
],
},
}
40 changes: 40 additions & 0 deletions website_sale_product_minimal_price/i18n/ca.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * website_sale_product_minimal_price
#
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 13.0\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2021-05-17 14:53+0000\n"
"PO-Revision-Date: 2021-05-17 16:54+0200\n"
"Last-Translator: Carlos <carlos.roca@tecnativa.com>\n"
"Language-Team: none\n"
"Language: ca\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=2; plural=n != 1;\n"
"X-Generator: Poedit 2.0.6\n"

#. module: website_sale_product_minimal_price
#. odoo-javascript
#: code:addons/website_sale_product_minimal_price/static/src/xml/website_sale_product_minimal_price.xml:0
#, python-format
msgid "From"
msgstr "De"

#. module: website_sale_product_minimal_price
#. odoo-javascript
#: code:addons/website_sale_product_minimal_price/static/src/xml/website_sale_product_price_scale.xml:0
#, python-format
msgid "Prices per quantity ("
msgstr "Preus per quantitat ("

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

#~ msgid "Product Template"
#~ msgstr "Plantilla de producte"
40 changes: 40 additions & 0 deletions website_sale_product_minimal_price/i18n/es.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * website_sale_product_minimal_price
#
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 13.0+e\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2021-05-17 14:53+0000\n"
"PO-Revision-Date: 2021-05-17 16:54+0200\n"
"Last-Translator: Carlos <carlos.roca@tecnativa.com>\n"
"Language-Team: \n"
"Language: es\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=2; plural=n != 1;\n"
"X-Generator: Poedit 2.0.6\n"

#. module: website_sale_product_minimal_price
#. odoo-javascript
#: code:addons/website_sale_product_minimal_price/static/src/xml/website_sale_product_minimal_price.xml:0
#, python-format
msgid "From"
msgstr "Desde"

#. module: website_sale_product_minimal_price
#. odoo-javascript
#: code:addons/website_sale_product_minimal_price/static/src/xml/website_sale_product_price_scale.xml:0
#, python-format
msgid "Prices per quantity ("
msgstr "Precios por cantidad ("

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

#~ msgid "Product Template"
#~ msgstr "Plantilla de producto"
39 changes: 39 additions & 0 deletions website_sale_product_minimal_price/i18n/fr.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * website_sale_product_minimal_price
#
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 15.0\n"
"Report-Msgid-Bugs-To: \n"
"PO-Revision-Date: 2023-09-03 13:35+0000\n"
"Last-Translator: benj-filament <benjamin@le-filament.com>\n"
"Language-Team: none\n"
"Language: fr\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 4.17\n"

#. module: website_sale_product_minimal_price
#. odoo-javascript
#: code:addons/website_sale_product_minimal_price/static/src/xml/website_sale_product_minimal_price.xml:0
#, python-format
msgid "From"
msgstr "À partir de"

#. module: website_sale_product_minimal_price
#. odoo-javascript
#: code:addons/website_sale_product_minimal_price/static/src/xml/website_sale_product_price_scale.xml:0
#, python-format
msgid "Prices per quantity ("
msgstr "Prix par quantité ("

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

#~ msgid "Product Template"
#~ msgstr "Modèle d'article"
36 changes: 36 additions & 0 deletions website_sale_product_minimal_price/i18n/it.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * website_sale_product_minimal_price
#
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 16.0\n"
"Report-Msgid-Bugs-To: \n"
"PO-Revision-Date: 2024-05-08 16:34+0000\n"
"Last-Translator: mymage <stefano.consolaro@mymage.it>\n"
"Language-Team: none\n"
"Language: it\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 4.17\n"

#. module: website_sale_product_minimal_price
#. odoo-javascript
#: code:addons/website_sale_product_minimal_price/static/src/xml/website_sale_product_minimal_price.xml:0
#, python-format
msgid "From"
msgstr "Dal"

#. module: website_sale_product_minimal_price
#. odoo-javascript
#: code:addons/website_sale_product_minimal_price/static/src/xml/website_sale_product_price_scale.xml:0
#, python-format
msgid "Prices per quantity ("
msgstr "Prezzi per quantità ("

#. module: website_sale_product_minimal_price
#: model:ir.model,name:website_sale_product_minimal_price.model_product_template
msgid "Product"
msgstr "Prodotto"
40 changes: 40 additions & 0 deletions website_sale_product_minimal_price/i18n/nl.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * website_sale_product_minimal_price
#
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 13.0\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2021-05-17 14:53+0000\n"
"PO-Revision-Date: 2021-05-17 16:55+0200\n"
"Last-Translator: Carlos <carlos.roca@tecnativa.com>\n"
"Language-Team: none\n"
"Language: nl\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=2; plural=n != 1;\n"
"X-Generator: Poedit 2.0.6\n"

#. module: website_sale_product_minimal_price
#. odoo-javascript
#: code:addons/website_sale_product_minimal_price/static/src/xml/website_sale_product_minimal_price.xml:0
#, python-format
msgid "From"
msgstr "Van"

#. module: website_sale_product_minimal_price
#. odoo-javascript
#: code:addons/website_sale_product_minimal_price/static/src/xml/website_sale_product_price_scale.xml:0
#, python-format
msgid "Prices per quantity ("
msgstr ""

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

#~ msgid "Product Template"
#~ msgstr "Product Sjabloon"
48 changes: 48 additions & 0 deletions website_sale_product_minimal_price/i18n/pt.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * website_sale_product_minimal_price
#
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 14.0\n"
"Report-Msgid-Bugs-To: \n"
"PO-Revision-Date: 2022-08-22 14:07+0000\n"
"Last-Translator: Pedro Castro Silva <pedrocs@exo.pt>\n"
"Language-Team: none\n"
"Language: pt\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 4.3.2\n"

#. module: website_sale_product_minimal_price
#. odoo-javascript
#: code:addons/website_sale_product_minimal_price/static/src/xml/website_sale_product_minimal_price.xml:0
#, python-format
msgid "From"
msgstr "A partir de"

#. module: website_sale_product_minimal_price
#. odoo-javascript
#: code:addons/website_sale_product_minimal_price/static/src/xml/website_sale_product_price_scale.xml:0
#, python-format
msgid "Prices per quantity ("
msgstr "Preços por quantidade ("

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

#~ msgid "Product Template"
#~ msgstr "Modelo de Produto"

#~ msgid "Display Name"
#~ msgstr "Nome a Exibir"

#~ msgid "ID"
#~ msgstr "ID"

#~ msgid "Last Modified on"
#~ msgstr "Modific. pela última vez em"
Loading