odoo-addon-website-sale-slides-order-line-link 15.0.1.0.0.2__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.

Potentially problematic release.


This version of odoo-addon-website-sale-slides-order-line-link might be problematic. Click here for more details.

Files changed (20) hide show
  1. odoo/addons/website_sale_slides_order_line_link/README.rst +96 -0
  2. odoo/addons/website_sale_slides_order_line_link/__init__.py +1 -0
  3. odoo/addons/website_sale_slides_order_line_link/__manifest__.py +13 -0
  4. odoo/addons/website_sale_slides_order_line_link/description/icon.png +0 -0
  5. odoo/addons/website_sale_slides_order_line_link/description/index.html +654 -0
  6. odoo/addons/website_sale_slides_order_line_link/i18n/website_sale_slides_order_line_link.pot +39 -0
  7. odoo/addons/website_sale_slides_order_line_link/models/__init__.py +2 -0
  8. odoo/addons/website_sale_slides_order_line_link/models/sale_order.py +26 -0
  9. odoo/addons/website_sale_slides_order_line_link/models/slide_channel.py +27 -0
  10. odoo/addons/website_sale_slides_order_line_link/readme/CONTRIBUTORS.rst +4 -0
  11. odoo/addons/website_sale_slides_order_line_link/readme/DESCRIPTION.rst +10 -0
  12. odoo/addons/website_sale_slides_order_line_link/readme/USAGE.rst +4 -0
  13. odoo/addons/website_sale_slides_order_line_link/static/description/icon.png +0 -0
  14. odoo/addons/website_sale_slides_order_line_link/static/description/index.html +446 -0
  15. odoo/addons/website_sale_slides_order_line_link/tests/__init__.py +1 -0
  16. odoo/addons/website_sale_slides_order_line_link/tests/test_website_sale_slides_order_line_link.py +47 -0
  17. odoo_addon_website_sale_slides_order_line_link-15.0.1.0.0.2.dist-info/METADATA +111 -0
  18. odoo_addon_website_sale_slides_order_line_link-15.0.1.0.0.2.dist-info/RECORD +20 -0
  19. odoo_addon_website_sale_slides_order_line_link-15.0.1.0.0.2.dist-info/WHEEL +5 -0
  20. odoo_addon_website_sale_slides_order_line_link-15.0.1.0.0.2.dist-info/top_level.txt +1 -0
@@ -0,0 +1,27 @@
1
+ # Copyright 2025 Tecnativa - Pilar Vargas
2
+ # License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).
3
+
4
+ from odoo import api, fields, models
5
+
6
+
7
+ class SlideChannelPartner(models.Model):
8
+ _inherit = "slide.channel.partner"
9
+
10
+ sale_order_line_ids = fields.One2many(
11
+ comodel_name="sale.order.line",
12
+ inverse_name="slide_channel_partner_id",
13
+ string="Sale Order Lines",
14
+ )
15
+
16
+ @api.model_create_multi
17
+ def create(self, vals_list):
18
+ sale_order_lines = self.env.context.get("course_sale_order_lines")
19
+ records = super().create(vals_list)
20
+ if not sale_order_lines:
21
+ return records
22
+ for record in records:
23
+ record.sale_order_line_ids = sale_order_lines.filtered(
24
+ lambda line: line.product_id == record.channel_id.product_id
25
+ and line.order_id.partner_id == record.partner_id
26
+ )
27
+ return records
@@ -0,0 +1,4 @@
1
+ * `Tecnativa <https://www.tecnativa.com/>`__:
2
+
3
+ * David Vidal
4
+ * Pilar Vargas
@@ -0,0 +1,10 @@
1
+ This module links sales order lines to `slide.channel.partner` participations when
2
+ selling a course. It does not add new views or user interface elements but ensures
3
+ that when a course is sold through Odoo's eLearning system, the corresponding sales
4
+ order line is associated with the participation record.
5
+
6
+ This functionality is useful for:
7
+
8
+ - Tracking which sale order line is responsible for a given course participation.
9
+ - Ensuring better traceability between sales and enrollments.
10
+ - Serving as a base for other modules that may extend its logic.
@@ -0,0 +1,4 @@
1
+ #. Create a new sales order containing a course (linked to a `slide.channel`).
2
+ #. Confirm the order.
3
+ #. The system will automatically create a participation (`slide.channel.partner`) and
4
+ link it to the corresponding sales order line.
@@ -0,0 +1,446 @@
1
+ <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2
+ <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
3
+ <head>
4
+ <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
5
+ <meta name="generator" content="Docutils: https://docutils.sourceforge.io/" />
6
+ <title>Website Sale Slides Order Line Link</title>
7
+ <style type="text/css">
8
+
9
+ /*
10
+ :Author: David Goodger (goodger@python.org)
11
+ :Id: $Id: html4css1.css 9511 2024-01-13 09:50:07Z milde $
12
+ :Copyright: This stylesheet has been placed in the public domain.
13
+
14
+ Default cascading style sheet for the HTML output of Docutils.
15
+ Despite the name, some widely supported CSS2 features are used.
16
+
17
+ See https://docutils.sourceforge.io/docs/howto/html-stylesheets.html for how to
18
+ customize this style sheet.
19
+ */
20
+
21
+ /* used to remove borders from tables and images */
22
+ .borderless, table.borderless td, table.borderless th {
23
+ border: 0 }
24
+
25
+ table.borderless td, table.borderless th {
26
+ /* Override padding for "table.docutils td" with "! important".
27
+ The right padding separates the table cells. */
28
+ padding: 0 0.5em 0 0 ! important }
29
+
30
+ .first {
31
+ /* Override more specific margin styles with "! important". */
32
+ margin-top: 0 ! important }
33
+
34
+ .last, .with-subtitle {
35
+ margin-bottom: 0 ! important }
36
+
37
+ .hidden {
38
+ display: none }
39
+
40
+ .subscript {
41
+ vertical-align: sub;
42
+ font-size: smaller }
43
+
44
+ .superscript {
45
+ vertical-align: super;
46
+ font-size: smaller }
47
+
48
+ a.toc-backref {
49
+ text-decoration: none ;
50
+ color: black }
51
+
52
+ blockquote.epigraph {
53
+ margin: 2em 5em ; }
54
+
55
+ dl.docutils dd {
56
+ margin-bottom: 0.5em }
57
+
58
+ object[type="image/svg+xml"], object[type="application/x-shockwave-flash"] {
59
+ overflow: hidden;
60
+ }
61
+
62
+ /* Uncomment (and remove this text!) to get bold-faced definition list terms
63
+ dl.docutils dt {
64
+ font-weight: bold }
65
+ */
66
+
67
+ div.abstract {
68
+ margin: 2em 5em }
69
+
70
+ div.abstract p.topic-title {
71
+ font-weight: bold ;
72
+ text-align: center }
73
+
74
+ div.admonition, div.attention, div.caution, div.danger, div.error,
75
+ div.hint, div.important, div.note, div.tip, div.warning {
76
+ margin: 2em ;
77
+ border: medium outset ;
78
+ padding: 1em }
79
+
80
+ div.admonition p.admonition-title, div.hint p.admonition-title,
81
+ div.important p.admonition-title, div.note p.admonition-title,
82
+ div.tip p.admonition-title {
83
+ font-weight: bold ;
84
+ font-family: sans-serif }
85
+
86
+ div.attention p.admonition-title, div.caution p.admonition-title,
87
+ div.danger p.admonition-title, div.error p.admonition-title,
88
+ div.warning p.admonition-title, .code .error {
89
+ color: red ;
90
+ font-weight: bold ;
91
+ font-family: sans-serif }
92
+
93
+ /* Uncomment (and remove this text!) to get reduced vertical space in
94
+ compound paragraphs.
95
+ div.compound .compound-first, div.compound .compound-middle {
96
+ margin-bottom: 0.5em }
97
+
98
+ div.compound .compound-last, div.compound .compound-middle {
99
+ margin-top: 0.5em }
100
+ */
101
+
102
+ div.dedication {
103
+ margin: 2em 5em ;
104
+ text-align: center ;
105
+ font-style: italic }
106
+
107
+ div.dedication p.topic-title {
108
+ font-weight: bold ;
109
+ font-style: normal }
110
+
111
+ div.figure {
112
+ margin-left: 2em ;
113
+ margin-right: 2em }
114
+
115
+ div.footer, div.header {
116
+ clear: both;
117
+ font-size: smaller }
118
+
119
+ div.line-block {
120
+ display: block ;
121
+ margin-top: 1em ;
122
+ margin-bottom: 1em }
123
+
124
+ div.line-block div.line-block {
125
+ margin-top: 0 ;
126
+ margin-bottom: 0 ;
127
+ margin-left: 1.5em }
128
+
129
+ div.sidebar {
130
+ margin: 0 0 0.5em 1em ;
131
+ border: medium outset ;
132
+ padding: 1em ;
133
+ background-color: #ffffee ;
134
+ width: 40% ;
135
+ float: right ;
136
+ clear: right }
137
+
138
+ div.sidebar p.rubric {
139
+ font-family: sans-serif ;
140
+ font-size: medium }
141
+
142
+ div.system-messages {
143
+ margin: 5em }
144
+
145
+ div.system-messages h1 {
146
+ color: red }
147
+
148
+ div.system-message {
149
+ border: medium outset ;
150
+ padding: 1em }
151
+
152
+ div.system-message p.system-message-title {
153
+ color: red ;
154
+ font-weight: bold }
155
+
156
+ div.topic {
157
+ margin: 2em }
158
+
159
+ h1.section-subtitle, h2.section-subtitle, h3.section-subtitle,
160
+ h4.section-subtitle, h5.section-subtitle, h6.section-subtitle {
161
+ margin-top: 0.4em }
162
+
163
+ h1.title {
164
+ text-align: center }
165
+
166
+ h2.subtitle {
167
+ text-align: center }
168
+
169
+ hr.docutils {
170
+ width: 75% }
171
+
172
+ img.align-left, .figure.align-left, object.align-left, table.align-left {
173
+ clear: left ;
174
+ float: left ;
175
+ margin-right: 1em }
176
+
177
+ img.align-right, .figure.align-right, object.align-right, table.align-right {
178
+ clear: right ;
179
+ float: right ;
180
+ margin-left: 1em }
181
+
182
+ img.align-center, .figure.align-center, object.align-center {
183
+ display: block;
184
+ margin-left: auto;
185
+ margin-right: auto;
186
+ }
187
+
188
+ table.align-center {
189
+ margin-left: auto;
190
+ margin-right: auto;
191
+ }
192
+
193
+ .align-left {
194
+ text-align: left }
195
+
196
+ .align-center {
197
+ clear: both ;
198
+ text-align: center }
199
+
200
+ .align-right {
201
+ text-align: right }
202
+
203
+ /* reset inner alignment in figures */
204
+ div.align-right {
205
+ text-align: inherit }
206
+
207
+ /* div.align-center * { */
208
+ /* text-align: left } */
209
+
210
+ .align-top {
211
+ vertical-align: top }
212
+
213
+ .align-middle {
214
+ vertical-align: middle }
215
+
216
+ .align-bottom {
217
+ vertical-align: bottom }
218
+
219
+ ol.simple, ul.simple {
220
+ margin-bottom: 1em }
221
+
222
+ ol.arabic {
223
+ list-style: decimal }
224
+
225
+ ol.loweralpha {
226
+ list-style: lower-alpha }
227
+
228
+ ol.upperalpha {
229
+ list-style: upper-alpha }
230
+
231
+ ol.lowerroman {
232
+ list-style: lower-roman }
233
+
234
+ ol.upperroman {
235
+ list-style: upper-roman }
236
+
237
+ p.attribution {
238
+ text-align: right ;
239
+ margin-left: 50% }
240
+
241
+ p.caption {
242
+ font-style: italic }
243
+
244
+ p.credits {
245
+ font-style: italic ;
246
+ font-size: smaller }
247
+
248
+ p.label {
249
+ white-space: nowrap }
250
+
251
+ p.rubric {
252
+ font-weight: bold ;
253
+ font-size: larger ;
254
+ color: maroon ;
255
+ text-align: center }
256
+
257
+ p.sidebar-title {
258
+ font-family: sans-serif ;
259
+ font-weight: bold ;
260
+ font-size: larger }
261
+
262
+ p.sidebar-subtitle {
263
+ font-family: sans-serif ;
264
+ font-weight: bold }
265
+
266
+ p.topic-title {
267
+ font-weight: bold }
268
+
269
+ pre.address {
270
+ margin-bottom: 0 ;
271
+ margin-top: 0 ;
272
+ font: inherit }
273
+
274
+ pre.literal-block, pre.doctest-block, pre.math, pre.code {
275
+ margin-left: 2em ;
276
+ margin-right: 2em }
277
+
278
+ pre.code .ln { color: gray; } /* line numbers */
279
+ pre.code, code { background-color: #eeeeee }
280
+ pre.code .comment, code .comment { color: #5C6576 }
281
+ pre.code .keyword, code .keyword { color: #3B0D06; font-weight: bold }
282
+ pre.code .literal.string, code .literal.string { color: #0C5404 }
283
+ pre.code .name.builtin, code .name.builtin { color: #352B84 }
284
+ pre.code .deleted, code .deleted { background-color: #DEB0A1}
285
+ pre.code .inserted, code .inserted { background-color: #A3D289}
286
+
287
+ span.classifier {
288
+ font-family: sans-serif ;
289
+ font-style: oblique }
290
+
291
+ span.classifier-delimiter {
292
+ font-family: sans-serif ;
293
+ font-weight: bold }
294
+
295
+ span.interpreted {
296
+ font-family: sans-serif }
297
+
298
+ span.option {
299
+ white-space: nowrap }
300
+
301
+ span.pre {
302
+ white-space: pre }
303
+
304
+ span.problematic, pre.problematic {
305
+ color: red }
306
+
307
+ span.section-subtitle {
308
+ /* font-size relative to parent (h1..h6 element) */
309
+ font-size: 80% }
310
+
311
+ table.citation {
312
+ border-left: solid 1px gray;
313
+ margin-left: 1px }
314
+
315
+ table.docinfo {
316
+ margin: 2em 4em }
317
+
318
+ table.docutils {
319
+ margin-top: 0.5em ;
320
+ margin-bottom: 0.5em }
321
+
322
+ table.footnote {
323
+ border-left: solid 1px black;
324
+ margin-left: 1px }
325
+
326
+ table.docutils td, table.docutils th,
327
+ table.docinfo td, table.docinfo th {
328
+ padding-left: 0.5em ;
329
+ padding-right: 0.5em ;
330
+ vertical-align: top }
331
+
332
+ table.docutils th.field-name, table.docinfo th.docinfo-name {
333
+ font-weight: bold ;
334
+ text-align: left ;
335
+ white-space: nowrap ;
336
+ padding-left: 0 }
337
+
338
+ /* "booktabs" style (no vertical lines) */
339
+ table.docutils.booktabs {
340
+ border: 0px;
341
+ border-top: 2px solid;
342
+ border-bottom: 2px solid;
343
+ border-collapse: collapse;
344
+ }
345
+ table.docutils.booktabs * {
346
+ border: 0px;
347
+ }
348
+ table.docutils.booktabs th {
349
+ border-bottom: thin solid;
350
+ text-align: left;
351
+ }
352
+
353
+ h1 tt.docutils, h2 tt.docutils, h3 tt.docutils,
354
+ h4 tt.docutils, h5 tt.docutils, h6 tt.docutils {
355
+ font-size: 100% }
356
+
357
+ ul.auto-toc {
358
+ list-style-type: none }
359
+
360
+ </style>
361
+ </head>
362
+ <body>
363
+ <div class="document" id="website-sale-slides-order-line-link">
364
+ <h1 class="title">Website Sale Slides Order Line Link</h1>
365
+
366
+ <!-- !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
367
+ !! This file is generated by oca-gen-addon-readme !!
368
+ !! changes will be overwritten. !!
369
+ !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
370
+ !! source digest: sha256:19435eaa737786d8ff0205ea389c434edf20ccbe7d95e8b24f9528e93918d112
371
+ !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! -->
372
+ <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-learning/tree/15.0/website_sale_slides_order_line_link"><img alt="OCA/e-learning" src="https://img.shields.io/badge/github-OCA%2Fe--learning-lightgray.png?logo=github" /></a> <a class="reference external image-reference" href="https://translation.odoo-community.org/projects/e-learning-15-0/e-learning-15-0-website_sale_slides_order_line_link"><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-learning&amp;target_branch=15.0"><img alt="Try me on Runboat" src="https://img.shields.io/badge/runboat-Try%20me-875A7B.png" /></a></p>
373
+ <p>This module links sales order lines to <cite>slide.channel.partner</cite> participations when
374
+ selling a course. It does not add new views or user interface elements but ensures
375
+ that when a course is sold through Odoo’s eLearning system, the corresponding sales
376
+ order line is associated with the participation record.</p>
377
+ <p>This functionality is useful for:</p>
378
+ <ul class="simple">
379
+ <li>Tracking which sale order line is responsible for a given course participation.</li>
380
+ <li>Ensuring better traceability between sales and enrollments.</li>
381
+ <li>Serving as a base for other modules that may extend its logic.</li>
382
+ </ul>
383
+ <p><strong>Table of contents</strong></p>
384
+ <div class="contents local topic" id="contents">
385
+ <ul class="simple">
386
+ <li><a class="reference internal" href="#usage" id="toc-entry-1">Usage</a></li>
387
+ <li><a class="reference internal" href="#bug-tracker" id="toc-entry-2">Bug Tracker</a></li>
388
+ <li><a class="reference internal" href="#credits" id="toc-entry-3">Credits</a><ul>
389
+ <li><a class="reference internal" href="#authors" id="toc-entry-4">Authors</a></li>
390
+ <li><a class="reference internal" href="#contributors" id="toc-entry-5">Contributors</a></li>
391
+ <li><a class="reference internal" href="#maintainers" id="toc-entry-6">Maintainers</a></li>
392
+ </ul>
393
+ </li>
394
+ </ul>
395
+ </div>
396
+ <div class="section" id="usage">
397
+ <h1><a class="toc-backref" href="#toc-entry-1">Usage</a></h1>
398
+ <ol class="arabic simple">
399
+ <li>Create a new sales order containing a course (linked to a <cite>slide.channel</cite>).</li>
400
+ <li>Confirm the order.</li>
401
+ <li>The system will automatically create a participation (<cite>slide.channel.partner</cite>) and
402
+ link it to the corresponding sales order line.</li>
403
+ </ol>
404
+ </div>
405
+ <div class="section" id="bug-tracker">
406
+ <h1><a class="toc-backref" href="#toc-entry-2">Bug Tracker</a></h1>
407
+ <p>Bugs are tracked on <a class="reference external" href="https://github.com/OCA/e-learning/issues">GitHub Issues</a>.
408
+ In case of trouble, please check there if your issue has already been reported.
409
+ If you spotted it first, help us to smash it by providing a detailed and welcomed
410
+ <a class="reference external" href="https://github.com/OCA/e-learning/issues/new?body=module:%20website_sale_slides_order_line_link%0Aversion:%2015.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**">feedback</a>.</p>
411
+ <p>Do not contact contributors directly about support or help with technical issues.</p>
412
+ </div>
413
+ <div class="section" id="credits">
414
+ <h1><a class="toc-backref" href="#toc-entry-3">Credits</a></h1>
415
+ <div class="section" id="authors">
416
+ <h2><a class="toc-backref" href="#toc-entry-4">Authors</a></h2>
417
+ <ul class="simple">
418
+ <li>Tecnativa</li>
419
+ </ul>
420
+ </div>
421
+ <div class="section" id="contributors">
422
+ <h2><a class="toc-backref" href="#toc-entry-5">Contributors</a></h2>
423
+ <ul class="simple">
424
+ <li><a class="reference external" href="https://www.tecnativa.com/">Tecnativa</a>:<ul>
425
+ <li>David Vidal</li>
426
+ <li>Pilar Vargas</li>
427
+ </ul>
428
+ </li>
429
+ </ul>
430
+ </div>
431
+ <div class="section" id="maintainers">
432
+ <h2><a class="toc-backref" href="#toc-entry-6">Maintainers</a></h2>
433
+ <p>This module is maintained by the OCA.</p>
434
+ <a class="reference external image-reference" href="https://odoo-community.org">
435
+ <img alt="Odoo Community Association" src="https://odoo-community.org/logo.png" />
436
+ </a>
437
+ <p>OCA, or the Odoo Community Association, is a nonprofit organization whose
438
+ mission is to support the collaborative development of Odoo features and
439
+ promote its widespread use.</p>
440
+ <p>This module is part of the <a class="reference external" href="https://github.com/OCA/e-learning/tree/15.0/website_sale_slides_order_line_link">OCA/e-learning</a> project on GitHub.</p>
441
+ <p>You are welcome to contribute. To learn how please visit <a class="reference external" href="https://odoo-community.org/page/Contribute">https://odoo-community.org/page/Contribute</a>.</p>
442
+ </div>
443
+ </div>
444
+ </div>
445
+ </body>
446
+ </html>
@@ -0,0 +1 @@
1
+ from . import test_website_sale_slides_order_line_link
@@ -0,0 +1,47 @@
1
+ # Copyright 2025 Tecnativa - Pilar Vargas
2
+
3
+ from odoo.addons.website_slides.tests import common
4
+
5
+
6
+ class TestWebsiteSaleSlidesOrderLineLink(common.SlidesCase):
7
+ @classmethod
8
+ def setUpClass(cls):
9
+ super().setUpClass()
10
+ cls.course_product = cls.env["product.product"].create(
11
+ {
12
+ "name": "Course Product",
13
+ "standard_price": 100,
14
+ "list_price": 150,
15
+ "type": "service",
16
+ "invoice_policy": "order",
17
+ "is_published": True,
18
+ }
19
+ )
20
+
21
+ cls.channel.write({"enroll": "payment", "product_id": cls.course_product.id})
22
+
23
+ def test_order_line_link(self):
24
+ sale_order = self.env["sale.order"].create(
25
+ {
26
+ "partner_id": self.customer.id,
27
+ "order_line": [
28
+ (
29
+ 0,
30
+ 0,
31
+ {
32
+ "name": self.course_product.name,
33
+ "product_id": self.course_product.id,
34
+ "product_uom_qty": 1,
35
+ "price_unit": self.course_product.list_price,
36
+ },
37
+ )
38
+ ],
39
+ }
40
+ )
41
+ sale_order.action_confirm()
42
+ self.assertIn(self.customer.id, self.channel.channel_partner_ids.partner_id.ids)
43
+ sale_line = sale_order.order_line
44
+ course_access = self.channel.channel_partner_ids.filtered(
45
+ lambda x: x.partner_id == self.customer
46
+ )
47
+ self.assertIn(sale_line, course_access.sale_order_line_ids)
@@ -0,0 +1,111 @@
1
+ Metadata-Version: 2.1
2
+ Name: odoo-addon-website_sale_slides_order_line_link
3
+ Version: 15.0.1.0.0.2
4
+ Summary: Link sales order lines to slide channel participations in sold courses.
5
+ Home-page: https://github.com/OCA/e-learning
6
+ Author: Tecnativa, Odoo Community Association (OCA)
7
+ Author-email: support@odoo-community.org
8
+ License: AGPL-3
9
+ Classifier: Programming Language :: Python
10
+ Classifier: Framework :: Odoo
11
+ Classifier: Framework :: Odoo :: 15.0
12
+ Classifier: License :: OSI Approved :: GNU Affero General Public License v3
13
+ Requires-Python: >=3.8
14
+ Requires-Dist: odoo<15.1dev,>=15.0a
15
+
16
+ ===================================
17
+ Website Sale Slides Order Line Link
18
+ ===================================
19
+
20
+ ..
21
+ !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
22
+ !! This file is generated by oca-gen-addon-readme !!
23
+ !! changes will be overwritten. !!
24
+ !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
25
+ !! source digest: sha256:19435eaa737786d8ff0205ea389c434edf20ccbe7d95e8b24f9528e93918d112
26
+ !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
27
+
28
+ .. |badge1| image:: https://img.shields.io/badge/maturity-Beta-yellow.png
29
+ :target: https://odoo-community.org/page/development-status
30
+ :alt: Beta
31
+ .. |badge2| image:: https://img.shields.io/badge/licence-AGPL--3-blue.png
32
+ :target: http://www.gnu.org/licenses/agpl-3.0-standalone.html
33
+ :alt: License: AGPL-3
34
+ .. |badge3| image:: https://img.shields.io/badge/github-OCA%2Fe--learning-lightgray.png?logo=github
35
+ :target: https://github.com/OCA/e-learning/tree/15.0/website_sale_slides_order_line_link
36
+ :alt: OCA/e-learning
37
+ .. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png
38
+ :target: https://translation.odoo-community.org/projects/e-learning-15-0/e-learning-15-0-website_sale_slides_order_line_link
39
+ :alt: Translate me on Weblate
40
+ .. |badge5| image:: https://img.shields.io/badge/runboat-Try%20me-875A7B.png
41
+ :target: https://runboat.odoo-community.org/builds?repo=OCA/e-learning&target_branch=15.0
42
+ :alt: Try me on Runboat
43
+
44
+ |badge1| |badge2| |badge3| |badge4| |badge5|
45
+
46
+ This module links sales order lines to `slide.channel.partner` participations when
47
+ selling a course. It does not add new views or user interface elements but ensures
48
+ that when a course is sold through Odoo's eLearning system, the corresponding sales
49
+ order line is associated with the participation record.
50
+
51
+ This functionality is useful for:
52
+
53
+ - Tracking which sale order line is responsible for a given course participation.
54
+ - Ensuring better traceability between sales and enrollments.
55
+ - Serving as a base for other modules that may extend its logic.
56
+
57
+ **Table of contents**
58
+
59
+ .. contents::
60
+ :local:
61
+
62
+ Usage
63
+ =====
64
+
65
+ #. Create a new sales order containing a course (linked to a `slide.channel`).
66
+ #. Confirm the order.
67
+ #. The system will automatically create a participation (`slide.channel.partner`) and
68
+ link it to the corresponding sales order line.
69
+
70
+ Bug Tracker
71
+ ===========
72
+
73
+ Bugs are tracked on `GitHub Issues <https://github.com/OCA/e-learning/issues>`_.
74
+ In case of trouble, please check there if your issue has already been reported.
75
+ If you spotted it first, help us to smash it by providing a detailed and welcomed
76
+ `feedback <https://github.com/OCA/e-learning/issues/new?body=module:%20website_sale_slides_order_line_link%0Aversion:%2015.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**>`_.
77
+
78
+ Do not contact contributors directly about support or help with technical issues.
79
+
80
+ Credits
81
+ =======
82
+
83
+ Authors
84
+ ~~~~~~~
85
+
86
+ * Tecnativa
87
+
88
+ Contributors
89
+ ~~~~~~~~~~~~
90
+
91
+ * `Tecnativa <https://www.tecnativa.com/>`__:
92
+
93
+ * David Vidal
94
+ * Pilar Vargas
95
+
96
+ Maintainers
97
+ ~~~~~~~~~~~
98
+
99
+ This module is maintained by the OCA.
100
+
101
+ .. image:: https://odoo-community.org/logo.png
102
+ :alt: Odoo Community Association
103
+ :target: https://odoo-community.org
104
+
105
+ OCA, or the Odoo Community Association, is a nonprofit organization whose
106
+ mission is to support the collaborative development of Odoo features and
107
+ promote its widespread use.
108
+
109
+ This module is part of the `OCA/e-learning <https://github.com/OCA/e-learning/tree/15.0/website_sale_slides_order_line_link>`_ project on GitHub.
110
+
111
+ You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.
@@ -0,0 +1,20 @@
1
+ odoo/addons/website_sale_slides_order_line_link/README.rst,sha256=F_d-mX38_ymrQ4zvNTGLJrKr6v8ONe8fk1QdqGmppzk,3714
2
+ odoo/addons/website_sale_slides_order_line_link/__init__.py,sha256=X9EJGOE2GtZbS0G82PtSXmWSZ_R8jEM0rlJTDliQjp4,21
3
+ odoo/addons/website_sale_slides_order_line_link/__manifest__.py,sha256=Ig0GNefQ1bP7YQRzf1cx411of53pl0o57YqIuUNXHf4,520
4
+ odoo/addons/website_sale_slides_order_line_link/description/icon.png,sha256=6xBPJauaFOF0KDHfHgQopSc28kKvxMaeoQFQWZtfZDo,9455
5
+ odoo/addons/website_sale_slides_order_line_link/description/index.html,sha256=wM4p5_5JnvIVwrvQdBsiv8Cnr2dfdHvJPzlYccXYhmY,16178
6
+ odoo/addons/website_sale_slides_order_line_link/i18n/website_sale_slides_order_line_link.pot,sha256=P5svqPVUGWXGECzE3k5G8UKOREOp4oFAMI8dkp4svuo,1308
7
+ odoo/addons/website_sale_slides_order_line_link/models/__init__.py,sha256=f5lzMUkPxU9T5ymg9_tFmeMhaYTryg3cY_T3Nxr2-2I,53
8
+ odoo/addons/website_sale_slides_order_line_link/models/sale_order.py,sha256=4-5OsZIHgANK_zk-Eis_FZYSBt-v5KGKlpPXWYOYmh4,722
9
+ odoo/addons/website_sale_slides_order_line_link/models/slide_channel.py,sha256=FovP8wmvkJMthOmgrj7e_Z2-Qm3uocar6RD1HtpqQCY,920
10
+ odoo/addons/website_sale_slides_order_line_link/readme/CONTRIBUTORS.rst,sha256=1-__GBOQvhjNfNIB4MSDv1GbzimKBibYiwal12Ff7LQ,80
11
+ odoo/addons/website_sale_slides_order_line_link/readme/DESCRIPTION.rst,sha256=SoPyvnT4QWYeTji8JRYTpezut45gktW7D3yBHfxuhkE,551
12
+ odoo/addons/website_sale_slides_order_line_link/readme/USAGE.rst,sha256=8mdDK0NvxayA390RNTXrtWZ30ZDySSW9qx5Eyx7KlGs,237
13
+ odoo/addons/website_sale_slides_order_line_link/static/description/icon.png,sha256=CgnOEZCwoe6f1vlLwkqFVfc2q_uwBMU0UnXN8j6X5ag,10254
14
+ odoo/addons/website_sale_slides_order_line_link/static/description/index.html,sha256=JU5eOIMZpnMhAlKGycWtUytWw4-_q0YoH6fTpWGeFkk,13299
15
+ odoo/addons/website_sale_slides_order_line_link/tests/__init__.py,sha256=g7zN-omMboLR5UzzygV7GFap4oEo_v8fodLO5sgqobA,55
16
+ odoo/addons/website_sale_slides_order_line_link/tests/test_website_sale_slides_order_line_link.py,sha256=FAxKmjVC8R8S55LwR4mosaMwTSK5b20r4B0L3u54ZMc,1643
17
+ odoo_addon_website_sale_slides_order_line_link-15.0.1.0.0.2.dist-info/METADATA,sha256=HPQfjUrp3reo4psnabtjwYhFwmWdhER1wCf7KQm-p2s,4293
18
+ odoo_addon_website_sale_slides_order_line_link-15.0.1.0.0.2.dist-info/WHEEL,sha256=tZoeGjtWxWRfdplE7E3d45VPlLNQnvbKiYnx7gwAy8A,92
19
+ odoo_addon_website_sale_slides_order_line_link-15.0.1.0.0.2.dist-info/top_level.txt,sha256=qBj40grFkGOfDZ2WDSw3y1RnDlgG0u8rP8pvGNdbz4w,5
20
+ odoo_addon_website_sale_slides_order_line_link-15.0.1.0.0.2.dist-info/RECORD,,
@@ -0,0 +1,5 @@
1
+ Wheel-Version: 1.0
2
+ Generator: bdist_wheel (0.45.1)
3
+ Root-Is-Purelib: true
4
+ Tag: py3-none-any
5
+