Skip to content
Merged
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
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ addon | version | maintainers | summary
[website_sale_product_eprel](website_sale_product_eprel/) | 18.0.1.0.0 | | Display EPREL energy label and product info on website product page.
[website_sale_product_item_cart_custom_qty](website_sale_product_item_cart_custom_qty/) | 18.0.1.0.0 | <a href='https://github.com/CarlosRoca13'><img src='https://github.com/CarlosRoca13.png' width='32' height='32' style='border-radius:50%;' alt='CarlosRoca13'/></a> | Allows to add to cart from product items a custom quantity.
[website_sale_product_minimal_price](website_sale_product_minimal_price/) | 18.0.1.0.0 | <a href='https://github.com/sergio-teruel'><img src='https://github.com/sergio-teruel.png' width='32' height='32' style='border-radius:50%;' alt='sergio-teruel'/></a> | Display minimal price for products that has variants
[website_sale_product_reference_displayed](website_sale_product_reference_displayed/) | 18.0.1.0.0 | | Display product reference in e-commerce
[website_sale_product_reference_displayed](website_sale_product_reference_displayed/) | 18.0.1.0.1 | | Display product reference in e-commerce
[website_sale_product_sort](website_sale_product_sort/) | 18.0.1.0.0 | | Allow to define default sort criteria for e-commerce
[website_sale_require_legal](website_sale_require_legal/) | 18.0.1.0.2 | | Force the user to accept legal tems to buy in the web shop
[website_sale_secondary_unit](website_sale_secondary_unit/) | 18.0.1.0.1 | | Allow manage secondary units in website shop
Expand Down
6 changes: 3 additions & 3 deletions website_sale_attribute_filter_form_submit/i18n/it.po
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 16.0\n"
"Report-Msgid-Bugs-To: \n"
"PO-Revision-Date: 2026-02-25 07:30+0000\n"
"Last-Translator: Anonymous <noreply@weblate.org>\n"
"PO-Revision-Date: 2026-06-05 09:46+0000\n"
"Last-Translator: mymage <stefano.consolaro@mymage.it>\n"
"Language-Team: none\n"
"Language: it\n"
"MIME-Version: 1.0\n"
Expand All @@ -19,7 +19,7 @@ msgstr ""
#. module: website_sale_attribute_filter_form_submit
#: model_terms:ir.ui.view,arch_db:website_sale_attribute_filter_form_submit.o_wsale_offcanvas
msgid "<option value=\"\">-</option>"
msgstr ""
msgstr "<option value=\"\">-</option>"

#. module: website_sale_attribute_filter_form_submit
#: model_terms:ir.ui.view,arch_db:website_sale_attribute_filter_form_submit.o_wsale_offcanvas
Expand Down
108 changes: 108 additions & 0 deletions website_sale_charge_payment_fee/i18n/it.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,108 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * website_sale_charge_payment_fee
#
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 18.0\n"
"Report-Msgid-Bugs-To: \n"
"Last-Translator: Automatically generated\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"

#. module: website_sale_charge_payment_fee
#: model_terms:ir.ui.view,arch_db:website_sale_charge_payment_fee.method_form_fee
msgid "(Fee:"
msgstr ""

#. module: website_sale_charge_payment_fee
#: model:ir.model.fields,help:website_sale_charge_payment_fee.field_payment_provider__charge_fee
msgid ""
"An extra fee line will be added to online order when using this payment "
"method"
msgstr ""

#. module: website_sale_charge_payment_fee
#: model_terms:ir.ui.view,arch_db:website_sale_charge_payment_fee.provider_form_fee_inherit
msgid "Charge payment fee"
msgstr ""

#. module: website_sale_charge_payment_fee
#: model:ir.model.fields,field_description:website_sale_charge_payment_fee.field_payment_provider__charge_fee_type
msgid "Computation type"
msgstr ""

#. module: website_sale_charge_payment_fee
#: model:ir.model.fields,field_description:website_sale_charge_payment_fee.field_payment_provider__charge_fee_currency_id
msgid "Fee Currency"
msgstr ""

#. module: website_sale_charge_payment_fee
#: model:ir.model.fields,field_description:website_sale_charge_payment_fee.field_payment_provider__charge_fee_description
msgid "Fee Description"
msgstr ""

#. module: website_sale_charge_payment_fee
#: model:ir.model.fields,field_description:website_sale_charge_payment_fee.field_payment_provider__charge_fee_product_id
msgid "Fee Product"
msgstr ""

#. module: website_sale_charge_payment_fee
#: model:ir.model.fields,field_description:website_sale_charge_payment_fee.field_payment_provider__charge_fee
msgid "Fee charged to customer"
msgstr ""

#. module: website_sale_charge_payment_fee
#: model:ir.model.fields.selection,name:website_sale_charge_payment_fee.selection__payment_provider__charge_fee_type__fixed
msgid "Fixed"
msgstr ""

#. module: website_sale_charge_payment_fee
#: model:ir.model.fields,field_description:website_sale_charge_payment_fee.field_payment_provider__charge_fee_fixed_price
msgid "Fixed Price"
msgstr ""

#. module: website_sale_charge_payment_fee
#: model_terms:ir.ui.view,arch_db:website_sale_charge_payment_fee.payment_fee
msgid "Payment Fee"
msgstr ""

#. module: website_sale_charge_payment_fee
#: model:ir.model.fields,field_description:website_sale_charge_payment_fee.field_sale_order__amount_payment_fee
msgid "Payment Fee Amount"
msgstr ""

#. module: website_sale_charge_payment_fee
#: model:ir.model,name:website_sale_charge_payment_fee.model_payment_provider
msgid "Payment Provider"
msgstr ""

#. module: website_sale_charge_payment_fee
#: model:ir.model.fields,field_description:website_sale_charge_payment_fee.field_sale_order_line__payment_fee_line
msgid "Payment fee line"
msgstr ""

#. module: website_sale_charge_payment_fee
#: model:ir.model.fields,field_description:website_sale_charge_payment_fee.field_payment_provider__charge_fee_percentage
#: model:ir.model.fields.selection,name:website_sale_charge_payment_fee.selection__payment_provider__charge_fee_type__percentage
msgid "Percentage"
msgstr ""

#. module: website_sale_charge_payment_fee
#: model:ir.model.fields,help:website_sale_charge_payment_fee.field_payment_provider__charge_fee_percentage
msgid "Percentage applied to order total"
msgstr ""

#. module: website_sale_charge_payment_fee
#: model:ir.model,name:website_sale_charge_payment_fee.model_sale_order
msgid "Sales Order"
msgstr ""

#. module: website_sale_charge_payment_fee
#: model:ir.model,name:website_sale_charge_payment_fee.model_sale_order_line
msgid "Sales Order Line"
msgstr ""
12 changes: 10 additions & 2 deletions website_sale_product_reference_displayed/README.rst
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
.. image:: https://odoo-community.org/readme-banner-image
:target: https://odoo-community.org/get-involved?utm_source=readme
:alt: Odoo Community Association

=======================================
Display product reference in e-commerce
=======================================
Expand All @@ -7,13 +11,13 @@ Display product reference in e-commerce
!! This file is generated by oca-gen-addon-readme !!
!! changes will be overwritten. !!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! source digest: sha256:a6dfd113a21643dcb2b2507ac89bc618fae7d47b19cfa74777ba97e6d79606e0
!! source digest: sha256:c60f41e58b44f79f3cf43b4753536ff273c54ca58160fb66b7934d114111ff2d
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

.. |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
.. |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
Expand Down Expand Up @@ -84,6 +88,10 @@ Contributors

- Mohamed Alkobrosli

- `Versada <https://versada.eu>`__

- Maciej Wichowski

Maintainers
-----------

Expand Down
2 changes: 1 addition & 1 deletion website_sale_product_reference_displayed/__manifest__.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html).
{
"name": "Display product reference in e-commerce",
"version": "18.0.1.0.0",
"version": "18.0.1.0.1",
"category": "Website",
"website": "https://github.com/OCA/e-commerce",
"author": "Tecnativa, Odoo Community Association (OCA)",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,39 +4,47 @@
class WebsiteSnippetFilter(models.Model):
_inherit = "website.snippet.filter"

def _get_products_latest_sold(self, website, limit, domain, context):
products = super()._get_products_latest_sold(website, limit, domain, context)
def _get_products_latest_sold(self, website, limit, domain, **kwargs):
products = super()._get_products_latest_sold(website, limit, domain, **kwargs)
if products:
return products.with_context(display_default_code=True)
else:
return products

def _get_products_latest_viewed(self, website, limit, domain, context):
products = super()._get_products_latest_viewed(website, limit, domain, context)
def _get_products_latest_viewed(self, website, limit, domain, **kwargs):
products = super()._get_products_latest_viewed(website, limit, domain, **kwargs)
if products:
return products.with_context(display_default_code=True)
else:
return products

def _get_products_recently_sold_with(self, website, limit, domain, context):
def _get_products_recently_sold_with(
self, website, limit, domain, product_template_id, **kwargs
):
products = super()._get_products_recently_sold_with(
website, limit, domain, context
website, limit, domain, product_template_id, **kwargs
)
if products:
return products.with_context(display_default_code=True)
else:
return products

def _get_products_accessories(self, website, limit, domain, context):
products = super()._get_products_accessories(website, limit, domain, context)
def _get_products_accessories(
self, website, limit, domain, product_template_id=None, **kwargs
):
products = super()._get_products_accessories(
website, limit, domain, product_template_id=product_template_id, **kwargs
)
if products:
return products.with_context(display_default_code=True)
else:
return products

def _get_products_alternative_products(self, website, limit, domain, context):
def _get_products_alternative_products(
self, website, limit, domain, product_template_id=None, **kwargs
):
products = super()._get_products_alternative_products(
website, limit, domain, context
website, limit, domain, product_template_id=product_template_id, **kwargs
)
if products:
return products.with_context(display_default_code=True)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,5 @@
- Anjeel Haria
- [Kencove](https://www.kencove.com/):
- Mohamed Alkobrosli
- [Versada](https://versada.eu)
- Maciej Wichowski
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="generator" content="Docutils: https://docutils.sourceforge.io/" />
<title>Display product reference in e-commerce</title>
<title>README.rst</title>
<style type="text/css">

/*
Expand Down Expand Up @@ -360,16 +360,21 @@
</style>
</head>
<body>
<div class="document" id="display-product-reference-in-e-commerce">
<h1 class="title">Display product reference in e-commerce</h1>
<div class="document">


<a class="reference external image-reference" href="https://odoo-community.org/get-involved?utm_source=readme">
<img alt="Odoo Community Association" src="https://odoo-community.org/readme-banner-image" />
</a>
<div class="section" id="display-product-reference-in-e-commerce">
<h1>Display product reference in e-commerce</h1>
<!-- !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! This file is generated by oca-gen-addon-readme !!
!! changes will be overwritten. !!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! source digest: sha256:a6dfd113a21643dcb2b2507ac89bc618fae7d47b19cfa74777ba97e6d79606e0
!! source digest: sha256:c60f41e58b44f79f3cf43b4753536ff273c54ca58160fb66b7934d114111ff2d
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! -->
<p><a class="reference external image-reference" href="https://odoo-community.org/page/development-status"><img alt="Beta" src="https://img.shields.io/badge/maturity-Beta-yellow.png" /></a> <a class="reference external image-reference" href="http://www.gnu.org/licenses/agpl-3.0-standalone.html"><img alt="License: AGPL-3" src="https://img.shields.io/badge/licence-AGPL--3-blue.png" /></a> <a class="reference external image-reference" href="https://github.com/OCA/e-commerce/tree/18.0/website_sale_product_reference_displayed"><img alt="OCA/e-commerce" src="https://img.shields.io/badge/github-OCA%2Fe--commerce-lightgray.png?logo=github" /></a> <a class="reference external image-reference" href="https://translation.odoo-community.org/projects/e-commerce-18-0/e-commerce-18-0-website_sale_product_reference_displayed"><img alt="Translate me on Weblate" src="https://img.shields.io/badge/weblate-Translate%20me-F47D42.png" /></a> <a class="reference external image-reference" href="https://runboat.odoo-community.org/builds?repo=OCA/e-commerce&amp;target_branch=18.0"><img alt="Try me on Runboat" src="https://img.shields.io/badge/runboat-Try%20me-875A7B.png" /></a></p>
<p><a class="reference external image-reference" href="https://odoo-community.org/page/development-status"><img alt="Beta" src="https://img.shields.io/badge/maturity-Beta-yellow.png" /></a> <a class="reference external image-reference" href="http://www.gnu.org/licenses/agpl-3.0-standalone.html"><img alt="License: AGPL-3" src="https://img.shields.io/badge/license-AGPL--3-blue.png" /></a> <a class="reference external image-reference" href="https://github.com/OCA/e-commerce/tree/18.0/website_sale_product_reference_displayed"><img alt="OCA/e-commerce" src="https://img.shields.io/badge/github-OCA%2Fe--commerce-lightgray.png?logo=github" /></a> <a class="reference external image-reference" href="https://translation.odoo-community.org/projects/e-commerce-18-0/e-commerce-18-0-website_sale_product_reference_displayed"><img alt="Translate me on Weblate" src="https://img.shields.io/badge/weblate-Translate%20me-F47D42.png" /></a> <a class="reference external image-reference" href="https://runboat.odoo-community.org/builds?repo=OCA/e-commerce&amp;target_branch=18.0"><img alt="Try me on Runboat" src="https://img.shields.io/badge/runboat-Try%20me-875A7B.png" /></a></p>
<p>This module extends the <tt class="docutils literal">website_sale</tt> views to display the product’s
full display name, with its product reference included.</p>
<p><strong>Table of contents</strong></p>
Expand All @@ -386,7 +391,7 @@ <h1 class="title">Display product reference in e-commerce</h1>
</ul>
</div>
<div class="section" id="usage">
<h1><a class="toc-backref" href="#toc-entry-1">Usage</a></h1>
<h2><a class="toc-backref" href="#toc-entry-1">Usage</a></h2>
<p>Just install and the products will be shown with their full display
name.</p>
<p>You can enable or disable for each template and website in the
Expand All @@ -395,23 +400,23 @@ <h1><a class="toc-backref" href="#toc-entry-1">Usage</a></h1>
<p><img alt="image1" src="https://raw.githubusercontent.com/OCA/e-commerce/18.0/website_sale_product_reference_displayed/static/description/enable-product-reference.png" /></p>
</div>
<div class="section" id="bug-tracker">
<h1><a class="toc-backref" href="#toc-entry-2">Bug Tracker</a></h1>
<h2><a class="toc-backref" href="#toc-entry-2">Bug Tracker</a></h2>
<p>Bugs are tracked on <a class="reference external" href="https://github.com/OCA/e-commerce/issues">GitHub Issues</a>.
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
<a class="reference external" href="https://github.com/OCA/e-commerce/issues/new?body=module:%20website_sale_product_reference_displayed%0Aversion:%2018.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**">feedback</a>.</p>
<p>Do not contact contributors directly about support or help with technical issues.</p>
</div>
<div class="section" id="credits">
<h1><a class="toc-backref" href="#toc-entry-3">Credits</a></h1>
<h2><a class="toc-backref" href="#toc-entry-3">Credits</a></h2>
<div class="section" id="authors">
<h2><a class="toc-backref" href="#toc-entry-4">Authors</a></h2>
<h3><a class="toc-backref" href="#toc-entry-4">Authors</a></h3>
<ul class="simple">
<li>Tecnativa</li>
</ul>
</div>
<div class="section" id="contributors">
<h2><a class="toc-backref" href="#toc-entry-5">Contributors</a></h2>
<h3><a class="toc-backref" href="#toc-entry-5">Contributors</a></h3>
<ul class="simple">
<li><a class="reference external" href="https://www.tecnativa.com">Tecnativa</a>:<ul>
<li>David Vidal</li>
Expand All @@ -426,10 +431,14 @@ <h2><a class="toc-backref" href="#toc-entry-5">Contributors</a></h2>
<li>Mohamed Alkobrosli</li>
</ul>
</li>
<li><a class="reference external" href="https://versada.eu">Versada</a><ul>
<li>Maciej Wichowski</li>
</ul>
</li>
</ul>
</div>
<div class="section" id="maintainers">
<h2><a class="toc-backref" href="#toc-entry-6">Maintainers</a></h2>
<h3><a class="toc-backref" href="#toc-entry-6">Maintainers</a></h3>
<p>This module is maintained by the OCA.</p>
<a class="reference external image-reference" href="https://odoo-community.org">
<img alt="Odoo Community Association" src="https://odoo-community.org/logo.png" />
Expand All @@ -442,5 +451,6 @@ <h2><a class="toc-backref" href="#toc-entry-6">Maintainers</a></h2>
</div>
</div>
</div>
</div>
</body>
</html>
1 change: 1 addition & 0 deletions website_sale_product_reference_displayed/tests/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
from . import test_website_snippet_filter
Loading
Loading