Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[17.0][MIG] website_sale_product_minimal_price: Migration to version 17.0 #1007

Open
wants to merge 21 commits into
base: 17.0
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
21 commits
Select commit Hold shift + click to select a range
8ce7580
[11.0][NEW] website_sale_product_minimal_price: New module (#283)
sergio-teruel May 28, 2019
742975d
[MIG] website_sale_product_minimal_price: Migration to v12.0
sergio-teruel Dec 11, 2019
b282139
[FIX] website_sale_product_minimal_price: combination does not exist …
sergio-teruel Jan 13, 2020
9dbcfd6
[IMP] website_sale_product_minimal_price: black, isort, prettier
CarlosRoca13 Jun 4, 2020
0c721bc
[MIG] website_sale_product_minimal_price: Migration to v13
CarlosRoca13 Jun 5, 2020
11f3c8d
[IMP] website_sale_product_minimal_price: Removed the async/await for…
CarlosRoca13 Jun 29, 2020
471f83b
Added translation using Weblate (Dutch)
bosd Dec 15, 2020
7bb8e2e
Added translation using Weblate (Catalan)
claudiagn Feb 25, 2021
99e6c50
Translated using Weblate (Spanish)
claudiagn Feb 25, 2021
0ba2ffc
[FIX] website_sale_product_minimal_price: Fix tests
joao-p-marques Mar 30, 2021
d556cb2
[IMP] website_sale_product_minimal_price: Forward port of improvement…
CarlosRoca13 May 17, 2021
7f58b01
[FIX] website_sale_product_minimal_price: Take into account all price…
CarlosRoca13 Jul 12, 2021
5e1d1dd
[IMP] website_sale_product_minimal_price: black, isort, prettier
miguel-S73 Jul 14, 2021
0a403c8
[MIG] website_sale_product_minimal_price: Migration to 14.0
miguel-S73 Jul 15, 2021
10bf8ae
Added translation using Weblate (Portuguese)
pedrocs-exo Aug 22, 2022
9ba568c
[MIG] website_sale_product_minimal_price: Migration to version 15.0
pilarvargas-tecnativa Feb 24, 2023
73a58c0
Added translation using Weblate (French)
benj-filament Aug 22, 2023
0075b49
[16.0][MIG]website_sale_product_minimal_price: Migration to 16.0
sbiosca-s73 Oct 16, 2023
9a91bd7
Added translation using Weblate (Italian)
mymage May 8, 2024
07a60f1
[IMP] website_sale_product_minimal_price: pre-commit auto fixes
carlos-lopez-tecnativa Jan 15, 2025
46e68a6
[MIG] website_sale_product_minimal_price: Migration to version 17.0
carlos-lopez-tecnativa Jan 16, 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
110 changes: 110 additions & 0 deletions website_sale_product_minimal_price/README.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,110 @@
==================================
Website Sale Product Minimal Price
==================================

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

.. |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/17.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-17-0/e-commerce-17-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=17.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:

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

1. Go to *Website > Configuration > Settings > Shop - Products* and
active the option *Multiple Prices per Product*, for use the
pricelists.

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:%2017.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/17.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": "17.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 <[email protected]>\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 <[email protected]>\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 <[email protected]>\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 <[email protected]>\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 <[email protected]>\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 <[email protected]>\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
Loading