Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
43 commits
Select commit Hold shift + click to select a range
903e9d3
[ADD][11.0] website_sale_product_reference_displayed: New module
chienandalu Jan 8, 2020
d0b8517
[MIG] website_sale_product_reference_displayed: Migration to 12.0
chienandalu Jun 25, 2020
11dcefe
Added translation using Weblate (Spanish)
claudiagn Nov 3, 2020
d96d896
Added translation using Weblate (French)
ypapouin Nov 23, 2020
f5c0e96
Added translation using Weblate (Catalan)
claudiagn Jan 20, 2021
e8bdb7a
[IMP] website_sale_product_reference_displayed: black, isort
CarlosRoca13 Apr 9, 2021
d5eeade
[MIG] website_sale_product_reference_displayed: Migration to v13.0
CarlosRoca13 Apr 9, 2021
4f8123b
[UPD] Update website_sale_product_reference_displayed.pot
oca-travis Apr 12, 2021
58a49db
[UPD] README.rst
OCA-git-bot Apr 12, 2021
1778ce0
[MIG] website_sale_product_reference_displayed: Migration to 15.0
willytal Jul 15, 2022
8787e27
[UPD] Update website_sale_product_reference_displayed.pot
Jul 24, 2022
da18974
[UPD] README.rst
OCA-git-bot Jul 24, 2022
9c8d042
[MIG] website_sale_product_reference_displayed: Migration to 16.0
bvanjeelharia Dec 21, 2022
66cb6b5
[UPD] Update website_sale_product_reference_displayed.pot
Dec 21, 2022
ffd0f46
[UPD] README.rst
OCA-git-bot Dec 21, 2022
daa94fd
Update translation files
weblate Dec 21, 2022
f5a02e7
Adding contributor in README.rst
bvanjeelharia Jan 2, 2023
89d51c7
[UPD] README.rst
OCA-git-bot Jan 2, 2023
e53488e
website_sale_product_reference_displayed 16.0.1.0.1
OCA-git-bot Jan 2, 2023
2347bf0
Adding contributors in readme.rst
bvanjeelharia Jan 2, 2023
5e4e28f
[UPD] README.rst
OCA-git-bot Jan 6, 2023
8718533
website_sale_product_reference_displayed 16.0.1.0.2
OCA-git-bot Jan 6, 2023
d808dbf
Translated using Weblate (Spanish)
Ivorra78 Aug 3, 2023
d2b0305
[UPD] README.rst
OCA-git-bot Sep 3, 2023
acb4473
Added translation using Weblate (Italian)
mymage May 8, 2024
a04f5d7
Translated using Weblate (Italian)
mymage May 8, 2024
f22e3dc
[IMP] website_sale_product_reference_displayed: pre-commit execution
May 30, 2024
af18a7e
[MIG] website_sale_product_reference_displayed: Migration to 17.0
May 30, 2024
36f2ab1
[UPD] Update website_sale_product_reference_displayed.pot
Oct 24, 2024
e7fd7a4
[BOT] post-merge updates
OCA-git-bot Oct 24, 2024
5d86a59
[MIG] website_sale_product_reference_displayed: Migration to 18.0
kobros-tech Nov 26, 2024
08d1d8b
[UPD] Update website_sale_product_reference_displayed.pot
Nov 28, 2024
808abd6
[BOT] post-merge updates
OCA-git-bot Nov 28, 2024
8831068
Added translation using Weblate (Portuguese (Brazil))
marcelsavegnago Jun 29, 2025
1ea7844
[MIG] website_sale_product_reference_displayed: Migration to 19.0
JasminSForgeFlow Jan 30, 2026
d23460b
Merge PR #1157 into 19.0
OCA-git-bot Jun 3, 2026
09059bd
[UPD] Update website_sale_product_reference_displayed.pot
Jun 3, 2026
93d32be
[BOT] post-merge updates
OCA-git-bot Jun 3, 2026
99f0fd5
[FIX] website_sale_checkout_skip_payment: ensure correct order state
NICO-SOLUTIONS May 19, 2026
a67ba13
[REF] website_sale_checkout_skip_payment: comply with ESLint import o…
NICO-SOLUTIONS May 19, 2026
e8625d0
[FIX] website_sale_checkout_skip_payment: prevent false success on in…
NICO-SOLUTIONS Jun 3, 2026
91c6a5e
Merge PR #1219 into 19.0
OCA-git-bot Jun 3, 2026
ca0fecd
[BOT] post-merge updates
OCA-git-bot Jun 3, 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
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,8 @@ Available addons
addon | version | maintainers | summary
--- | --- | --- | ---
[website_sale_cart_expire](website_sale_cart_expire/) | 19.0.1.0.0 | <a href='https://github.com/ivantodorovich'><img src='https://github.com/ivantodorovich.png' width='32' height='32' style='border-radius:50%;' alt='ivantodorovich'/></a> | Cancel carts without activity after a configurable time
[website_sale_checkout_skip_payment](website_sale_checkout_skip_payment/) | 19.0.1.0.0 | | Skip payment for logged users in checkout process
[website_sale_checkout_skip_payment](website_sale_checkout_skip_payment/) | 19.0.1.0.1 | | Skip payment for logged users in checkout process
[website_sale_product_reference_displayed](website_sale_product_reference_displayed/) | 19.0.1.0.0 | | Display product reference in e-commerce

[//]: # (end addons)

Expand Down
3 changes: 2 additions & 1 deletion setup/_metapackage/pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
[project]
name = "odoo-addons-oca-e-commerce"
version = "19.0.20260330.0"
version = "19.0.20260603.0"
dependencies = [
"odoo-addon-website_sale_cart_expire==19.0.*",
"odoo-addon-website_sale_checkout_skip_payment==19.0.*",
"odoo-addon-website_sale_product_reference_displayed==19.0.*",
]
classifiers=[
"Programming Language :: Python",
Expand Down
6 changes: 5 additions & 1 deletion website_sale_checkout_skip_payment/README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ Website Sale Checkout Skip Payment
!! This file is generated by oca-gen-addon-readme !!
!! changes will be overwritten. !!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! source digest: sha256:5b0fdc2b2ce15bb3886aa9e1a5d286c73114364d18bca62ac17146c7b187441f
!! source digest: sha256:bac128bc3eeb664c5cc23ed1e4d7274764a743bbfc8560577f93067793995bd2
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

.. |badge1| image:: https://img.shields.io/badge/maturity-Beta-yellow.png
Expand Down Expand Up @@ -91,6 +91,10 @@ Contributors

- Miguel Gandia <miguel@studio73.es>

- `NICO SOLUTIONS - ENGINEERING & IT <https://www.nico-solutions.de>`__:

- Nils Coenen <nils.coenen@nico-solutions.de>

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

Expand Down
2 changes: 1 addition & 1 deletion website_sale_checkout_skip_payment/__manifest__.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
{
"name": "Website Sale Checkout Skip Payment",
"summary": "Skip payment for logged users in checkout process",
"version": "19.0.1.0.0",
"version": "19.0.1.0.1",
"category": "Website",
"website": "https://github.com/OCA/e-commerce",
"author": "Tecnativa, Odoo Community Association (OCA)",
Expand Down
10 changes: 5 additions & 5 deletions website_sale_checkout_skip_payment/controllers/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,14 +24,14 @@ def shop_payment_confirmation(self, **post):
if not request.website.checkout_skip_payment or not order_id:
return super().shop_payment_confirmation(**post)
order = request.env["sale.order"].sudo().browse(order_id)
try:
order.with_context(mark_so_as_sent=True)._send_order_confirmation_mail()
except Exception:
result = order.with_context(
send_email=True,
mark_so_as_sent=True,
).action_confirm()
if isinstance(result, dict) or order.state != "sale":
return request.render(
"website_sale_checkout_skip_payment.confirmation_order_error"
)
# This could not finish (e.g.: sale_financial_risk exceeded)
order.action_confirm()
request.website.sale_reset()
values = self._prepare_shop_payment_confirmation_values(order)
return request.render("website_sale.confirmation", values)
2 changes: 2 additions & 0 deletions website_sale_checkout_skip_payment/readme/CONTRIBUTORS.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,5 @@
- Martin Wilderoth \<<martin.wilderoth@linserv.se>\>
- [Studio73](https://www.studio73.es):
- Miguel Gandia \<<miguel@studio73.es>\>
- [NICO SOLUTIONS - ENGINEERING & IT](https://www.nico-solutions.de):
- Nils Coenen \<<nils.coenen@nico-solutions.de>\>
Original file line number Diff line number Diff line change
Expand Up @@ -372,7 +372,7 @@ <h1>Website Sale Checkout Skip Payment</h1>
!! This file is generated by oca-gen-addon-readme !!
!! changes will be overwritten. !!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! source digest: sha256:5b0fdc2b2ce15bb3886aa9e1a5d286c73114364d18bca62ac17146c7b187441f
!! source digest: sha256:bac128bc3eeb664c5cc23ed1e4d7274764a743bbfc8560577f93067793995bd2
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! -->
<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/lgpl-3.0-standalone.html"><img alt="License: LGPL-3" src="https://img.shields.io/badge/license-LGPL--3-blue.png" /></a> <a class="reference external image-reference" href="https://github.com/OCA/e-commerce/tree/19.0/website_sale_checkout_skip_payment"><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-19-0/e-commerce-19-0-website_sale_checkout_skip_payment"><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=19.0"><img alt="Try me on Runboat" src="https://img.shields.io/badge/runboat-Try%20me-875A7B.png" /></a></p>
<p>This module allows to logged users to checkout with no payment step. At
Expand Down Expand Up @@ -440,6 +440,10 @@ <h3><a class="toc-backref" href="#toc-entry-6">Contributors</a></h3>
<li>Miguel Gandia &lt;<a class="reference external" href="mailto:miguel&#64;studio73.es">miguel&#64;studio73.es</a>&gt;</li>
</ul>
</li>
<li><a class="reference external" href="https://www.nico-solutions.de">NICO SOLUTIONS - ENGINEERING &amp; IT</a>:<ul>
<li>Nils Coenen &lt;<a class="reference external" href="mailto:nils.coenen&#64;nico-solutions.de">nils.coenen&#64;nico-solutions.de</a>&gt;</li>
</ul>
</li>
</ul>
</div>
<div class="section" id="maintainers">
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import {registry} from "@web/core/registry";
import * as tourUtils from "@website_sale/js/tours/tour_utils";
import {registry} from "@web/core/registry";

registry.category("web_tour.tours").add("website_sale_checkout_skip_payment", {
url: "/shop",
Expand Down
117 changes: 117 additions & 0 deletions website_sale_product_reference_displayed/README.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,117 @@
.. 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
=======================================

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

.. |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_product_reference_displayed
: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_product_reference_displayed
: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 extends the ``website_sale`` views to display the product's
full display name, with its product reference included.

**Table of contents**

.. contents::
:local:

Usage
=====

Just install and the products will be shown with their full display name
(internal reference included).

To toggle the display per page type, open the website editor and use the
**Product Reference** checkbox in the builder sidebar:

- On the **shop listing page** (``/shop``): the option appears under the
*Products Page* section.
- On a **product detail page** (``/shop/<product>``): the option appears
under the *Product Page* section.

Disabling the option hides the reference from the product name in the
selected area. Each website can have its own setting.

|image1|

.. |image1| image:: https://raw.githubusercontent.com/OCA/e-commerce/19.0/website_sale_product_reference_displayed/static/description/enable-product-reference.png

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_reference_displayed%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
- Carlos Roca

- `Onestein <https://www.onestein.nl>`__:

- Anjeel Haria

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

- Mohamed Alkobrosli

- `ForgeFlow <https://www.forgeflow.com>`__:

- Jasmin Solanki

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_product_reference_displayed>`_ 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_product_reference_displayed/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
from . import models
19 changes: 19 additions & 0 deletions website_sale_product_reference_displayed/__manifest__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
# Copyright 2020 Tecnativa - David Vidal
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html).
{
"name": "Display product reference in e-commerce",
"version": "19.0.1.0.0",
"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": ["data/snippet_filter_data.xml", "views/website_sale_views.xml"],
"assets": {
"website.website_builder_assets": [
"website_sale_product_reference_displayed/static/src/website_builder/**/*",
],
},
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
<?xml version="1.0" encoding="utf-8" ?>
<odoo>
<record id="website_sale.dynamic_snippet_newest_products_filter" model="ir.filters">
<field
name="context"
>{'display_default_code': True, 'add2cart_rerender': False}</field>
</record>
</odoo>
19 changes: 19 additions & 0 deletions website_sale_product_reference_displayed/i18n/ca.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
#
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 12.0\n"
"Report-Msgid-Bugs-To: \n"
"Last-Translator: Automatically generated\n"
"Language-Team: none\n"
"Language: ca\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_product_reference_displayed
#: model:ir.model,name:website_sale_product_reference_displayed.model_website_snippet_filter
msgid "Website Snippet Filter"
msgstr ""
21 changes: 21 additions & 0 deletions website_sale_product_reference_displayed/i18n/es.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
#
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 12.0\n"
"Report-Msgid-Bugs-To: \n"
"PO-Revision-Date: 2023-08-03 20:09+0000\n"
"Last-Translator: Ivorra78 <informatica@totmaterial.es>\n"
"Language-Team: none\n"
"Language: es\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_reference_displayed
#: model:ir.model,name:website_sale_product_reference_displayed.model_website_snippet_filter
msgid "Website Snippet Filter"
msgstr "Filtro de fragmentos de página web"
19 changes: 19 additions & 0 deletions website_sale_product_reference_displayed/i18n/fr.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
#
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 12.0\n"
"Report-Msgid-Bugs-To: \n"
"Last-Translator: Automatically generated\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"

#. module: website_sale_product_reference_displayed
#: model:ir.model,name:website_sale_product_reference_displayed.model_website_snippet_filter
msgid "Website Snippet Filter"
msgstr ""
22 changes: 22 additions & 0 deletions website_sale_product_reference_displayed/i18n/it.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * website_sale_product_reference_displayed
#
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 16.0\n"
"Report-Msgid-Bugs-To: \n"
"PO-Revision-Date: 2024-05-08 07:46+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_reference_displayed
#: model:ir.model,name:website_sale_product_reference_displayed.model_website_snippet_filter
msgid "Website Snippet Filter"
msgstr "Filtro esempio sito web"
20 changes: 20 additions & 0 deletions website_sale_product_reference_displayed/i18n/pt_BR.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * website_sale_product_reference_displayed
#
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: pt_BR\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_product_reference_displayed
#: model:ir.model,name:website_sale_product_reference_displayed.model_website_snippet_filter
msgid "Website Snippet Filter"
msgstr ""
Loading
Loading