Skip to content

Commit dc0f721

Browse files
[MIG] website_sale_slides_multi_qty: Migration to version 17.0
TT56328
1 parent 907258b commit dc0f721

26 files changed

+586
-235
lines changed

website_sale_slides_multi_qty/README.rst

Lines changed: 44 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ Website Sale Slides Multi Qty
77
!! This file is generated by oca-gen-addon-readme !!
88
!! changes will be overwritten. !!
99
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
10-
!! source digest: sha256:3a794fd5342313c42c608fcbc6bb79937d6bfe85b2257ab195a03dcbfa6c5703
10+
!! source digest: sha256:8e2129116bdf52aaccd45cfaf84303667132f5defc24cb2c03220b6cf08ba4a7
1111
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
1212
1313
.. |badge1| image:: https://img.shields.io/badge/maturity-Beta-yellow.png
@@ -17,52 +17,83 @@ Website Sale Slides Multi Qty
1717
:target: http://www.gnu.org/licenses/agpl-3.0-standalone.html
1818
:alt: License: AGPL-3
1919
.. |badge3| image:: https://img.shields.io/badge/github-OCA%2Fe--learning-lightgray.png?logo=github
20-
:target: https://github.com/OCA/e-learning/tree/15.0/website_sale_slides_multi_qty
20+
:target: https://github.com/OCA/e-learning/tree/17.0/website_sale_slides_multi_qty
2121
:alt: OCA/e-learning
2222
.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png
23-
:target: https://translation.odoo-community.org/projects/e-learning-15-0/e-learning-15-0-website_sale_slides_multi_qty
23+
:target: https://translation.odoo-community.org/projects/e-learning-17-0/e-learning-17-0-website_sale_slides_multi_qty
2424
:alt: Translate me on Weblate
2525
.. |badge5| image:: https://img.shields.io/badge/runboat-Try%20me-875A7B.png
26-
:target: https://runboat.odoo-community.org/builds?repo=OCA/e-learning&target_branch=15.0
26+
:target: https://runboat.odoo-community.org/builds?repo=OCA/e-learning&target_branch=17.0
2727
:alt: Try me on Runboat
2828

2929
|badge1| |badge2| |badge3| |badge4| |badge5|
3030

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

3336
**Table of contents**
3437

3538
.. contents::
3639
:local:
3740

41+
Configuration
42+
=============
43+
44+
To enable this functionality on a course:
45+
46+
1. Create or edit a course from the backend.
47+
2. Set the **Enrollment Policy** to **On Payment**.
48+
49+
This ensures that access to the course is restricted to users who have
50+
completed a valid purchase.
51+
52+
Usage
53+
=====
54+
55+
When a user orders a course with a quantity greater than 1, a
56+
participation link will be sent to the customer by email.
57+
58+
There are two ways to use the participation link:
59+
60+
- **Registered users** can access the course directly without having to
61+
make a new order.
62+
- **Anonymous users** will be asked to enter identification details,
63+
which will allow them to register and return to the course later.
64+
65+
Access is limited to the number of places acquired. Once all places have
66+
been used, no additional users will be able to register via the
67+
participation link.
68+
3869
Bug Tracker
3970
===========
4071

4172
Bugs are tracked on `GitHub Issues <https://github.com/OCA/e-learning/issues>`_.
4273
In case of trouble, please check there if your issue has already been reported.
4374
If you spotted it first, help us to smash it by providing a detailed and welcomed
44-
`feedback <https://github.com/OCA/e-learning/issues/new?body=module:%20website_sale_slides_multi_qty%0Aversion:%2015.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**>`_.
75+
`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**>`_.
4576

4677
Do not contact contributors directly about support or help with technical issues.
4778

4879
Credits
4980
=======
5081

5182
Authors
52-
~~~~~~~
83+
-------
5384

5485
* Tecnativa
5586

5687
Contributors
57-
~~~~~~~~~~~~
88+
------------
5889

59-
* `Tecnativa <https://www.tecnativa.com/>`__:
90+
- [Tecnativa](https://www.tecnativa.com/):
6091

61-
* David Vidal
62-
* Pilar Vargas
92+
- David Vidal
93+
- Pilar Vargas
6394

6495
Maintainers
65-
~~~~~~~~~~~
96+
-----------
6697

6798
This module is maintained by the OCA.
6899

@@ -74,6 +105,6 @@ OCA, or the Odoo Community Association, is a nonprofit organization whose
74105
mission is to support the collaborative development of Odoo features and
75106
promote its widespread use.
76107

77-
This module is part of the `OCA/e-learning <https://github.com/OCA/e-learning/tree/15.0/website_sale_slides_multi_qty>`_ project on GitHub.
108+
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.
78109

79110
You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.

website_sale_slides_multi_qty/__manifest__.py

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,26 +2,27 @@
22
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).
33
{
44
"name": "Website Sale Slides Multi Qty",
5-
"version": "15.0.1.0.0",
5+
"version": "17.0.1.0.0",
66
"category": "Website/eLearning",
77
"author": "Tecnativa, Odoo Community Association (OCA)",
88
"website": "https://github.com/OCA/e-learning",
99
"license": "AGPL-3",
10-
"summary": "",
11-
"depends": ["website_sale_slides_order_line_link"],
10+
"depends": ["website_sale_slides_order_line_link", "base_vat"],
1211
"data": [
1312
"data/mail_template_data.xml",
14-
"security/ir.model.access.csv",
1513
"views/slide_channel_partner_views.xml",
1614
"views/slide_channel_views.xml",
1715
"views/website_slides_templates_course.xml",
1816
"views/website_slides_templates_homepage.xml",
19-
"views/website_slides_templates.xml",
17+
# "views/website_slides_templates.xml",
2018
],
2119
"installable": True,
2220
"assets": {
2321
"web.assets_frontend": [
2422
"website_sale_slides_multi_qty/static/src/js/*.js",
2523
],
24+
"web.assets_tests": [
25+
"website_sale_slides_multi_qty/static/tests/tours/*.js",
26+
],
2627
},
2728
}

0 commit comments

Comments
 (0)