Skip to content
Open
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
110 changes: 110 additions & 0 deletions website_sale_slides_multi_qty/README.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,110 @@
=============================
Website Sale Slides Multi Qty
=============================

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

.. |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
: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--learning-lightgray.png?logo=github
:target: https://github.com/OCA/e-learning/tree/17.0/website_sale_slides_multi_qty
:alt: OCA/e-learning
.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png
:target: https://translation.odoo-community.org/projects/e-learning-17-0/e-learning-17-0-website_sale_slides_multi_qty
: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-learning&target_branch=17.0
:alt: Try me on Runboat

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

This module allows you to order several courses at once. This generates
an invitation link through which other users can request to participate
in the course without having to be registered users. The number of
participants is limited to the number of courses ordered.

**Table of contents**

.. contents::
:local:

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

To enable this functionality on a course:

1. Create or edit a course from the backend.
2. Set the **Enrollment Policy** to **On Payment**.

This ensures that access to the course is restricted to users who have
completed a valid purchase.

Usage
=====

When a user orders a course with a quantity greater than 1, a
participation link will be sent to the customer by email.

There are two ways to use the participation link:

- **Registered users** can access the course directly without having to
make a new order.
- **Anonymous users** will be asked to enter identification details,
which will allow them to register and return to the course later.

Access is limited to the number of places acquired. Once all places have
been used, no additional users will be able to register via the
participation link.

Bug Tracker
===========

Bugs are tracked on `GitHub Issues <https://github.com/OCA/e-learning/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-learning/issues/new?body=module:%20website_sale_slides_multi_qty%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/):

- David Vidal
- Pilar Vargas

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-learning <https://github.com/OCA/e-learning/tree/17.0/website_sale_slides_multi_qty>`_ project on GitHub.

You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.
2 changes: 2 additions & 0 deletions website_sale_slides_multi_qty/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
from . import controllers
from . import models
27 changes: 27 additions & 0 deletions website_sale_slides_multi_qty/__manifest__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
# Copyright 2025 Tecnativa - Pilar Vargas
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).
{
"name": "Website Sale Slides Multi Qty",
"version": "17.0.1.0.0",
"category": "Website/eLearning",
"author": "Tecnativa, Odoo Community Association (OCA)",
"website": "https://github.com/OCA/e-learning",
"license": "AGPL-3",
"depends": ["website_sale_slides_order_line_link", "base_vat"],
"data": [
"data/mail_template_data.xml",
"views/slide_channel_partner_views.xml",
"views/slide_channel_views.xml",
"views/website_slides_templates_course.xml",
"views/website_slides_templates_homepage.xml",
],
"installable": True,
"assets": {
"web.assets_frontend": [
"website_sale_slides_multi_qty/static/src/js/*.js",
],
"web.assets_tests": [
"website_sale_slides_multi_qty/static/tests/tours/*.js",
],
},
}
1 change: 1 addition & 0 deletions website_sale_slides_multi_qty/controllers/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
from . import main
Loading