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.
- odoo/addons/website_sale_slides_order_line_link/README.rst +96 -0
- odoo/addons/website_sale_slides_order_line_link/__init__.py +1 -0
- odoo/addons/website_sale_slides_order_line_link/__manifest__.py +13 -0
- odoo/addons/website_sale_slides_order_line_link/description/icon.png +0 -0
- odoo/addons/website_sale_slides_order_line_link/description/index.html +654 -0
- odoo/addons/website_sale_slides_order_line_link/i18n/website_sale_slides_order_line_link.pot +39 -0
- odoo/addons/website_sale_slides_order_line_link/models/__init__.py +2 -0
- odoo/addons/website_sale_slides_order_line_link/models/sale_order.py +26 -0
- odoo/addons/website_sale_slides_order_line_link/models/slide_channel.py +27 -0
- odoo/addons/website_sale_slides_order_line_link/readme/CONTRIBUTORS.rst +4 -0
- odoo/addons/website_sale_slides_order_line_link/readme/DESCRIPTION.rst +10 -0
- odoo/addons/website_sale_slides_order_line_link/readme/USAGE.rst +4 -0
- odoo/addons/website_sale_slides_order_line_link/static/description/icon.png +0 -0
- odoo/addons/website_sale_slides_order_line_link/static/description/index.html +446 -0
- odoo/addons/website_sale_slides_order_line_link/tests/__init__.py +1 -0
- odoo/addons/website_sale_slides_order_line_link/tests/test_website_sale_slides_order_line_link.py +47 -0
- odoo_addon_website_sale_slides_order_line_link-15.0.1.0.0.2.dist-info/METADATA +111 -0
- odoo_addon_website_sale_slides_order_line_link-15.0.1.0.0.2.dist-info/RECORD +20 -0
- odoo_addon_website_sale_slides_order_line_link-15.0.1.0.0.2.dist-info/WHEEL +5 -0
- odoo_addon_website_sale_slides_order_line_link-15.0.1.0.0.2.dist-info/top_level.txt +1 -0
|
@@ -0,0 +1,654 @@
|
|
|
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 Multi Qty</title>
|
|
7
|
+
<style type="text/css">
|
|
8
|
+
/*
|
|
9
|
+
:Author: David Goodger (goodger@python.org)
|
|
10
|
+
:Id: $Id: html4css1.css 9511 2024-01-13 09:50:07Z milde $
|
|
11
|
+
:Copyright: This stylesheet has been placed in the public domain.
|
|
12
|
+
|
|
13
|
+
Default cascading style sheet for the HTML output of Docutils.
|
|
14
|
+
Despite the name, some widely supported CSS2 features are used.
|
|
15
|
+
|
|
16
|
+
See https://docutils.sourceforge.io/docs/howto/html-stylesheets.html for how to
|
|
17
|
+
customize this style sheet.
|
|
18
|
+
*/
|
|
19
|
+
|
|
20
|
+
/* used to remove borders from tables and images */
|
|
21
|
+
.borderless,
|
|
22
|
+
table.borderless td,
|
|
23
|
+
table.borderless th {
|
|
24
|
+
border: 0;
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
table.borderless td,
|
|
28
|
+
table.borderless th {
|
|
29
|
+
/* Override padding for "table.docutils td" with "! important".
|
|
30
|
+
The right padding separates the table cells. */
|
|
31
|
+
padding: 0 0.5em 0 0 !important;
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
.first {
|
|
35
|
+
/* Override more specific margin styles with "! important". */
|
|
36
|
+
margin-top: 0 !important;
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
.last,
|
|
40
|
+
.with-subtitle {
|
|
41
|
+
margin-bottom: 0 !important;
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
.hidden {
|
|
45
|
+
display: none;
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
.subscript {
|
|
49
|
+
vertical-align: sub;
|
|
50
|
+
font-size: smaller;
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
.superscript {
|
|
54
|
+
vertical-align: super;
|
|
55
|
+
font-size: smaller;
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
a.toc-backref {
|
|
59
|
+
text-decoration: none;
|
|
60
|
+
color: black;
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
blockquote.epigraph {
|
|
64
|
+
margin: 2em 5em;
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
dl.docutils dd {
|
|
68
|
+
margin-bottom: 0.5em;
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
object[type="image/svg+xml"],
|
|
72
|
+
object[type="application/x-shockwave-flash"] {
|
|
73
|
+
overflow: hidden;
|
|
74
|
+
}
|
|
75
|
+
|
|
76
|
+
/* Uncomment (and remove this text!) to get bold-faced definition list terms
|
|
77
|
+
dl.docutils dt {
|
|
78
|
+
font-weight: bold }
|
|
79
|
+
*/
|
|
80
|
+
|
|
81
|
+
div.abstract {
|
|
82
|
+
margin: 2em 5em;
|
|
83
|
+
}
|
|
84
|
+
|
|
85
|
+
div.abstract p.topic-title {
|
|
86
|
+
font-weight: bold;
|
|
87
|
+
text-align: center;
|
|
88
|
+
}
|
|
89
|
+
|
|
90
|
+
div.admonition,
|
|
91
|
+
div.attention,
|
|
92
|
+
div.caution,
|
|
93
|
+
div.danger,
|
|
94
|
+
div.error,
|
|
95
|
+
div.hint,
|
|
96
|
+
div.important,
|
|
97
|
+
div.note,
|
|
98
|
+
div.tip,
|
|
99
|
+
div.warning {
|
|
100
|
+
margin: 2em;
|
|
101
|
+
border: medium outset;
|
|
102
|
+
padding: 1em;
|
|
103
|
+
}
|
|
104
|
+
|
|
105
|
+
div.admonition p.admonition-title,
|
|
106
|
+
div.hint p.admonition-title,
|
|
107
|
+
div.important p.admonition-title,
|
|
108
|
+
div.note p.admonition-title,
|
|
109
|
+
div.tip p.admonition-title {
|
|
110
|
+
font-weight: bold;
|
|
111
|
+
font-family: sans-serif;
|
|
112
|
+
}
|
|
113
|
+
|
|
114
|
+
div.attention p.admonition-title,
|
|
115
|
+
div.caution p.admonition-title,
|
|
116
|
+
div.danger p.admonition-title,
|
|
117
|
+
div.error p.admonition-title,
|
|
118
|
+
div.warning p.admonition-title,
|
|
119
|
+
.code .error {
|
|
120
|
+
color: red;
|
|
121
|
+
font-weight: bold;
|
|
122
|
+
font-family: sans-serif;
|
|
123
|
+
}
|
|
124
|
+
|
|
125
|
+
/* Uncomment (and remove this text!) to get reduced vertical space in
|
|
126
|
+
compound paragraphs.
|
|
127
|
+
div.compound .compound-first, div.compound .compound-middle {
|
|
128
|
+
margin-bottom: 0.5em }
|
|
129
|
+
|
|
130
|
+
div.compound .compound-last, div.compound .compound-middle {
|
|
131
|
+
margin-top: 0.5em }
|
|
132
|
+
*/
|
|
133
|
+
|
|
134
|
+
div.dedication {
|
|
135
|
+
margin: 2em 5em;
|
|
136
|
+
text-align: center;
|
|
137
|
+
font-style: italic;
|
|
138
|
+
}
|
|
139
|
+
|
|
140
|
+
div.dedication p.topic-title {
|
|
141
|
+
font-weight: bold;
|
|
142
|
+
font-style: normal;
|
|
143
|
+
}
|
|
144
|
+
|
|
145
|
+
div.figure {
|
|
146
|
+
margin-left: 2em;
|
|
147
|
+
margin-right: 2em;
|
|
148
|
+
}
|
|
149
|
+
|
|
150
|
+
div.footer,
|
|
151
|
+
div.header {
|
|
152
|
+
clear: both;
|
|
153
|
+
font-size: smaller;
|
|
154
|
+
}
|
|
155
|
+
|
|
156
|
+
div.line-block {
|
|
157
|
+
display: block;
|
|
158
|
+
margin-top: 1em;
|
|
159
|
+
margin-bottom: 1em;
|
|
160
|
+
}
|
|
161
|
+
|
|
162
|
+
div.line-block div.line-block {
|
|
163
|
+
margin-top: 0;
|
|
164
|
+
margin-bottom: 0;
|
|
165
|
+
margin-left: 1.5em;
|
|
166
|
+
}
|
|
167
|
+
|
|
168
|
+
div.sidebar {
|
|
169
|
+
margin: 0 0 0.5em 1em;
|
|
170
|
+
border: medium outset;
|
|
171
|
+
padding: 1em;
|
|
172
|
+
background-color: #ffffee;
|
|
173
|
+
width: 40%;
|
|
174
|
+
float: right;
|
|
175
|
+
clear: right;
|
|
176
|
+
}
|
|
177
|
+
|
|
178
|
+
div.sidebar p.rubric {
|
|
179
|
+
font-family: sans-serif;
|
|
180
|
+
font-size: medium;
|
|
181
|
+
}
|
|
182
|
+
|
|
183
|
+
div.system-messages {
|
|
184
|
+
margin: 5em;
|
|
185
|
+
}
|
|
186
|
+
|
|
187
|
+
div.system-messages h1 {
|
|
188
|
+
color: red;
|
|
189
|
+
}
|
|
190
|
+
|
|
191
|
+
div.system-message {
|
|
192
|
+
border: medium outset;
|
|
193
|
+
padding: 1em;
|
|
194
|
+
}
|
|
195
|
+
|
|
196
|
+
div.system-message p.system-message-title {
|
|
197
|
+
color: red;
|
|
198
|
+
font-weight: bold;
|
|
199
|
+
}
|
|
200
|
+
|
|
201
|
+
div.topic {
|
|
202
|
+
margin: 2em;
|
|
203
|
+
}
|
|
204
|
+
|
|
205
|
+
h1.section-subtitle,
|
|
206
|
+
h2.section-subtitle,
|
|
207
|
+
h3.section-subtitle,
|
|
208
|
+
h4.section-subtitle,
|
|
209
|
+
h5.section-subtitle,
|
|
210
|
+
h6.section-subtitle {
|
|
211
|
+
margin-top: 0.4em;
|
|
212
|
+
}
|
|
213
|
+
|
|
214
|
+
h1.title {
|
|
215
|
+
text-align: center;
|
|
216
|
+
}
|
|
217
|
+
|
|
218
|
+
h2.subtitle {
|
|
219
|
+
text-align: center;
|
|
220
|
+
}
|
|
221
|
+
|
|
222
|
+
hr.docutils {
|
|
223
|
+
width: 75%;
|
|
224
|
+
}
|
|
225
|
+
|
|
226
|
+
img.align-left,
|
|
227
|
+
.figure.align-left,
|
|
228
|
+
object.align-left,
|
|
229
|
+
table.align-left {
|
|
230
|
+
clear: left;
|
|
231
|
+
float: left;
|
|
232
|
+
margin-right: 1em;
|
|
233
|
+
}
|
|
234
|
+
|
|
235
|
+
img.align-right,
|
|
236
|
+
.figure.align-right,
|
|
237
|
+
object.align-right,
|
|
238
|
+
table.align-right {
|
|
239
|
+
clear: right;
|
|
240
|
+
float: right;
|
|
241
|
+
margin-left: 1em;
|
|
242
|
+
}
|
|
243
|
+
|
|
244
|
+
img.align-center,
|
|
245
|
+
.figure.align-center,
|
|
246
|
+
object.align-center {
|
|
247
|
+
display: block;
|
|
248
|
+
margin-left: auto;
|
|
249
|
+
margin-right: auto;
|
|
250
|
+
}
|
|
251
|
+
|
|
252
|
+
table.align-center {
|
|
253
|
+
margin-left: auto;
|
|
254
|
+
margin-right: auto;
|
|
255
|
+
}
|
|
256
|
+
|
|
257
|
+
.align-left {
|
|
258
|
+
text-align: left;
|
|
259
|
+
}
|
|
260
|
+
|
|
261
|
+
.align-center {
|
|
262
|
+
clear: both;
|
|
263
|
+
text-align: center;
|
|
264
|
+
}
|
|
265
|
+
|
|
266
|
+
.align-right {
|
|
267
|
+
text-align: right;
|
|
268
|
+
}
|
|
269
|
+
|
|
270
|
+
/* reset inner alignment in figures */
|
|
271
|
+
div.align-right {
|
|
272
|
+
text-align: inherit;
|
|
273
|
+
}
|
|
274
|
+
|
|
275
|
+
/* div.align-center * { */
|
|
276
|
+
/* text-align: left } */
|
|
277
|
+
|
|
278
|
+
.align-top {
|
|
279
|
+
vertical-align: top;
|
|
280
|
+
}
|
|
281
|
+
|
|
282
|
+
.align-middle {
|
|
283
|
+
vertical-align: middle;
|
|
284
|
+
}
|
|
285
|
+
|
|
286
|
+
.align-bottom {
|
|
287
|
+
vertical-align: bottom;
|
|
288
|
+
}
|
|
289
|
+
|
|
290
|
+
ol.simple,
|
|
291
|
+
ul.simple {
|
|
292
|
+
margin-bottom: 1em;
|
|
293
|
+
}
|
|
294
|
+
|
|
295
|
+
ol.arabic {
|
|
296
|
+
list-style: decimal;
|
|
297
|
+
}
|
|
298
|
+
|
|
299
|
+
ol.loweralpha {
|
|
300
|
+
list-style: lower-alpha;
|
|
301
|
+
}
|
|
302
|
+
|
|
303
|
+
ol.upperalpha {
|
|
304
|
+
list-style: upper-alpha;
|
|
305
|
+
}
|
|
306
|
+
|
|
307
|
+
ol.lowerroman {
|
|
308
|
+
list-style: lower-roman;
|
|
309
|
+
}
|
|
310
|
+
|
|
311
|
+
ol.upperroman {
|
|
312
|
+
list-style: upper-roman;
|
|
313
|
+
}
|
|
314
|
+
|
|
315
|
+
p.attribution {
|
|
316
|
+
text-align: right;
|
|
317
|
+
margin-left: 50%;
|
|
318
|
+
}
|
|
319
|
+
|
|
320
|
+
p.caption {
|
|
321
|
+
font-style: italic;
|
|
322
|
+
}
|
|
323
|
+
|
|
324
|
+
p.credits {
|
|
325
|
+
font-style: italic;
|
|
326
|
+
font-size: smaller;
|
|
327
|
+
}
|
|
328
|
+
|
|
329
|
+
p.label {
|
|
330
|
+
white-space: nowrap;
|
|
331
|
+
}
|
|
332
|
+
|
|
333
|
+
p.rubric {
|
|
334
|
+
font-weight: bold;
|
|
335
|
+
font-size: larger;
|
|
336
|
+
color: maroon;
|
|
337
|
+
text-align: center;
|
|
338
|
+
}
|
|
339
|
+
|
|
340
|
+
p.sidebar-title {
|
|
341
|
+
font-family: sans-serif;
|
|
342
|
+
font-weight: bold;
|
|
343
|
+
font-size: larger;
|
|
344
|
+
}
|
|
345
|
+
|
|
346
|
+
p.sidebar-subtitle {
|
|
347
|
+
font-family: sans-serif;
|
|
348
|
+
font-weight: bold;
|
|
349
|
+
}
|
|
350
|
+
|
|
351
|
+
p.topic-title {
|
|
352
|
+
font-weight: bold;
|
|
353
|
+
}
|
|
354
|
+
|
|
355
|
+
pre.address {
|
|
356
|
+
margin-bottom: 0;
|
|
357
|
+
margin-top: 0;
|
|
358
|
+
font: inherit;
|
|
359
|
+
}
|
|
360
|
+
|
|
361
|
+
pre.literal-block,
|
|
362
|
+
pre.doctest-block,
|
|
363
|
+
pre.math,
|
|
364
|
+
pre.code {
|
|
365
|
+
margin-left: 2em;
|
|
366
|
+
margin-right: 2em;
|
|
367
|
+
}
|
|
368
|
+
|
|
369
|
+
pre.code .ln {
|
|
370
|
+
color: gray;
|
|
371
|
+
} /* line numbers */
|
|
372
|
+
pre.code,
|
|
373
|
+
code {
|
|
374
|
+
background-color: #eeeeee;
|
|
375
|
+
}
|
|
376
|
+
pre.code .comment,
|
|
377
|
+
code .comment {
|
|
378
|
+
color: #5c6576;
|
|
379
|
+
}
|
|
380
|
+
pre.code .keyword,
|
|
381
|
+
code .keyword {
|
|
382
|
+
color: #3b0d06;
|
|
383
|
+
font-weight: bold;
|
|
384
|
+
}
|
|
385
|
+
pre.code .literal.string,
|
|
386
|
+
code .literal.string {
|
|
387
|
+
color: #0c5404;
|
|
388
|
+
}
|
|
389
|
+
pre.code .name.builtin,
|
|
390
|
+
code .name.builtin {
|
|
391
|
+
color: #352b84;
|
|
392
|
+
}
|
|
393
|
+
pre.code .deleted,
|
|
394
|
+
code .deleted {
|
|
395
|
+
background-color: #deb0a1;
|
|
396
|
+
}
|
|
397
|
+
pre.code .inserted,
|
|
398
|
+
code .inserted {
|
|
399
|
+
background-color: #a3d289;
|
|
400
|
+
}
|
|
401
|
+
|
|
402
|
+
span.classifier {
|
|
403
|
+
font-family: sans-serif;
|
|
404
|
+
font-style: oblique;
|
|
405
|
+
}
|
|
406
|
+
|
|
407
|
+
span.classifier-delimiter {
|
|
408
|
+
font-family: sans-serif;
|
|
409
|
+
font-weight: bold;
|
|
410
|
+
}
|
|
411
|
+
|
|
412
|
+
span.interpreted {
|
|
413
|
+
font-family: sans-serif;
|
|
414
|
+
}
|
|
415
|
+
|
|
416
|
+
span.option {
|
|
417
|
+
white-space: nowrap;
|
|
418
|
+
}
|
|
419
|
+
|
|
420
|
+
span.pre {
|
|
421
|
+
white-space: pre;
|
|
422
|
+
}
|
|
423
|
+
|
|
424
|
+
span.problematic,
|
|
425
|
+
pre.problematic {
|
|
426
|
+
color: red;
|
|
427
|
+
}
|
|
428
|
+
|
|
429
|
+
span.section-subtitle {
|
|
430
|
+
/* font-size relative to parent (h1..h6 element) */
|
|
431
|
+
font-size: 80%;
|
|
432
|
+
}
|
|
433
|
+
|
|
434
|
+
table.citation {
|
|
435
|
+
border-left: solid 1px gray;
|
|
436
|
+
margin-left: 1px;
|
|
437
|
+
}
|
|
438
|
+
|
|
439
|
+
table.docinfo {
|
|
440
|
+
margin: 2em 4em;
|
|
441
|
+
}
|
|
442
|
+
|
|
443
|
+
table.docutils {
|
|
444
|
+
margin-top: 0.5em;
|
|
445
|
+
margin-bottom: 0.5em;
|
|
446
|
+
}
|
|
447
|
+
|
|
448
|
+
table.footnote {
|
|
449
|
+
border-left: solid 1px black;
|
|
450
|
+
margin-left: 1px;
|
|
451
|
+
}
|
|
452
|
+
|
|
453
|
+
table.docutils td,
|
|
454
|
+
table.docutils th,
|
|
455
|
+
table.docinfo td,
|
|
456
|
+
table.docinfo th {
|
|
457
|
+
padding-left: 0.5em;
|
|
458
|
+
padding-right: 0.5em;
|
|
459
|
+
vertical-align: top;
|
|
460
|
+
}
|
|
461
|
+
|
|
462
|
+
table.docutils th.field-name,
|
|
463
|
+
table.docinfo th.docinfo-name {
|
|
464
|
+
font-weight: bold;
|
|
465
|
+
text-align: left;
|
|
466
|
+
white-space: nowrap;
|
|
467
|
+
padding-left: 0;
|
|
468
|
+
}
|
|
469
|
+
|
|
470
|
+
/* "booktabs" style (no vertical lines) */
|
|
471
|
+
table.docutils.booktabs {
|
|
472
|
+
border: 0px;
|
|
473
|
+
border-top: 2px solid;
|
|
474
|
+
border-bottom: 2px solid;
|
|
475
|
+
border-collapse: collapse;
|
|
476
|
+
}
|
|
477
|
+
table.docutils.booktabs * {
|
|
478
|
+
border: 0px;
|
|
479
|
+
}
|
|
480
|
+
table.docutils.booktabs th {
|
|
481
|
+
border-bottom: thin solid;
|
|
482
|
+
text-align: left;
|
|
483
|
+
}
|
|
484
|
+
|
|
485
|
+
h1 tt.docutils,
|
|
486
|
+
h2 tt.docutils,
|
|
487
|
+
h3 tt.docutils,
|
|
488
|
+
h4 tt.docutils,
|
|
489
|
+
h5 tt.docutils,
|
|
490
|
+
h6 tt.docutils {
|
|
491
|
+
font-size: 100%;
|
|
492
|
+
}
|
|
493
|
+
|
|
494
|
+
ul.auto-toc {
|
|
495
|
+
list-style-type: none;
|
|
496
|
+
}
|
|
497
|
+
</style>
|
|
498
|
+
</head>
|
|
499
|
+
<body>
|
|
500
|
+
<div class="document" id="website-sale-slides-multi-qty">
|
|
501
|
+
<h1 class="title">Website Sale Slides Multi Qty</h1>
|
|
502
|
+
|
|
503
|
+
<!-- !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
|
|
504
|
+
!! This file is generated by oca-gen-addon-readme !!
|
|
505
|
+
!! changes will be overwritten. !!
|
|
506
|
+
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
|
|
507
|
+
!! source digest: sha256:3a794fd5342313c42c608fcbc6bb79937d6bfe85b2257ab195a03dcbfa6c5703
|
|
508
|
+
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! -->
|
|
509
|
+
<p>
|
|
510
|
+
<a
|
|
511
|
+
class="reference external image-reference"
|
|
512
|
+
href="https://odoo-community.org/page/development-status"
|
|
513
|
+
><img alt="Beta" src="https://img.shields.io/badge/maturity-Beta-yellow.png"
|
|
514
|
+
/></a>
|
|
515
|
+
<a
|
|
516
|
+
class="reference external image-reference"
|
|
517
|
+
href="http://www.gnu.org/licenses/agpl-3.0-standalone.html"
|
|
518
|
+
><img
|
|
519
|
+
alt="License: AGPL-3"
|
|
520
|
+
src="https://img.shields.io/badge/licence-AGPL--3-blue.png"
|
|
521
|
+
/></a>
|
|
522
|
+
<a
|
|
523
|
+
class="reference external image-reference"
|
|
524
|
+
href="https://github.com/OCA/e-learning/tree/15.0/website_sale_slides_multi_qty"
|
|
525
|
+
><img
|
|
526
|
+
alt="OCA/e-learning"
|
|
527
|
+
src="https://img.shields.io/badge/github-OCA%2Fe--learning-lightgray.png?logo=github"
|
|
528
|
+
/></a>
|
|
529
|
+
<a
|
|
530
|
+
class="reference external image-reference"
|
|
531
|
+
href="https://translation.odoo-community.org/projects/e-learning-15-0/e-learning-15-0-website_sale_slides_multi_qty"
|
|
532
|
+
><img
|
|
533
|
+
alt="Translate me on Weblate"
|
|
534
|
+
src="https://img.shields.io/badge/weblate-Translate%20me-F47D42.png"
|
|
535
|
+
/></a>
|
|
536
|
+
<a
|
|
537
|
+
class="reference external image-reference"
|
|
538
|
+
href="https://runboat.odoo-community.org/builds?repo=OCA/e-learning&target_branch=15.0"
|
|
539
|
+
><img
|
|
540
|
+
alt="Try me on Runboat"
|
|
541
|
+
src="https://img.shields.io/badge/runboat-Try%20me-875A7B.png"
|
|
542
|
+
/></a>
|
|
543
|
+
</p>
|
|
544
|
+
<p><strong>Table of contents</strong></p>
|
|
545
|
+
<div class="contents local topic" id="contents">
|
|
546
|
+
<ul class="simple">
|
|
547
|
+
<li>
|
|
548
|
+
<a class="reference internal" href="#bug-tracker" id="toc-entry-1"
|
|
549
|
+
>Bug Tracker</a
|
|
550
|
+
>
|
|
551
|
+
</li>
|
|
552
|
+
<li>
|
|
553
|
+
<a class="reference internal" href="#credits" id="toc-entry-2">Credits</a>
|
|
554
|
+
<ul>
|
|
555
|
+
<li>
|
|
556
|
+
<a class="reference internal" href="#authors" id="toc-entry-3"
|
|
557
|
+
>Authors</a
|
|
558
|
+
>
|
|
559
|
+
</li>
|
|
560
|
+
<li>
|
|
561
|
+
<a class="reference internal" href="#contributors" id="toc-entry-4"
|
|
562
|
+
>Contributors</a
|
|
563
|
+
>
|
|
564
|
+
</li>
|
|
565
|
+
<li>
|
|
566
|
+
<a class="reference internal" href="#maintainers" id="toc-entry-5"
|
|
567
|
+
>Maintainers</a
|
|
568
|
+
>
|
|
569
|
+
</li>
|
|
570
|
+
</ul>
|
|
571
|
+
</li>
|
|
572
|
+
</ul>
|
|
573
|
+
</div>
|
|
574
|
+
<div class="section" id="bug-tracker">
|
|
575
|
+
<h1><a class="toc-backref" href="#toc-entry-1">Bug Tracker</a></h1>
|
|
576
|
+
<p>
|
|
577
|
+
Bugs are tracked on
|
|
578
|
+
<a class="reference external" href="https://github.com/OCA/e-learning/issues"
|
|
579
|
+
>GitHub Issues</a
|
|
580
|
+
>. In case of trouble, please check there if your issue has already been
|
|
581
|
+
reported. If you spotted it first, help us to smash it by providing a detailed
|
|
582
|
+
and welcomed
|
|
583
|
+
<a
|
|
584
|
+
class="reference external"
|
|
585
|
+
href="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**"
|
|
586
|
+
>feedback</a
|
|
587
|
+
>.
|
|
588
|
+
</p>
|
|
589
|
+
<p>
|
|
590
|
+
Do not contact contributors directly about support or help with technical
|
|
591
|
+
issues.
|
|
592
|
+
</p>
|
|
593
|
+
</div>
|
|
594
|
+
<div class="section" id="credits">
|
|
595
|
+
<h1><a class="toc-backref" href="#toc-entry-2">Credits</a></h1>
|
|
596
|
+
<div class="section" id="authors">
|
|
597
|
+
<h2><a class="toc-backref" href="#toc-entry-3">Authors</a></h2>
|
|
598
|
+
<ul class="simple">
|
|
599
|
+
<li>Tecnativa</li>
|
|
600
|
+
</ul>
|
|
601
|
+
</div>
|
|
602
|
+
<div class="section" id="contributors">
|
|
603
|
+
<h2><a class="toc-backref" href="#toc-entry-4">Contributors</a></h2>
|
|
604
|
+
<ul class="simple">
|
|
605
|
+
<li>
|
|
606
|
+
<a class="reference external" href="https://www.tecnativa.com/"
|
|
607
|
+
>Tecnativa</a
|
|
608
|
+
>:
|
|
609
|
+
<ul>
|
|
610
|
+
<li>David Vidal</li>
|
|
611
|
+
<li>Pilar Vargas</li>
|
|
612
|
+
</ul>
|
|
613
|
+
</li>
|
|
614
|
+
</ul>
|
|
615
|
+
</div>
|
|
616
|
+
<div class="section" id="maintainers">
|
|
617
|
+
<h2><a class="toc-backref" href="#toc-entry-5">Maintainers</a></h2>
|
|
618
|
+
<p>This module is maintained by the OCA.</p>
|
|
619
|
+
<a
|
|
620
|
+
class="reference external image-reference"
|
|
621
|
+
href="https://odoo-community.org"
|
|
622
|
+
>
|
|
623
|
+
<img
|
|
624
|
+
alt="Odoo Community Association"
|
|
625
|
+
src="https://odoo-community.org/logo.png"
|
|
626
|
+
/>
|
|
627
|
+
</a>
|
|
628
|
+
<p>
|
|
629
|
+
OCA, or the Odoo Community Association, is a nonprofit organization whose
|
|
630
|
+
mission is to support the collaborative development of Odoo features and
|
|
631
|
+
promote its widespread use.
|
|
632
|
+
</p>
|
|
633
|
+
<p>
|
|
634
|
+
This module is part of the
|
|
635
|
+
<a
|
|
636
|
+
class="reference external"
|
|
637
|
+
href="https://github.com/OCA/e-learning/tree/15.0/website_sale_slides_multi_qty"
|
|
638
|
+
>OCA/e-learning</a
|
|
639
|
+
>
|
|
640
|
+
project on GitHub.
|
|
641
|
+
</p>
|
|
642
|
+
<p>
|
|
643
|
+
You are welcome to contribute. To learn how please visit
|
|
644
|
+
<a
|
|
645
|
+
class="reference external"
|
|
646
|
+
href="https://odoo-community.org/page/Contribute"
|
|
647
|
+
>https://odoo-community.org/page/Contribute</a
|
|
648
|
+
>.
|
|
649
|
+
</p>
|
|
650
|
+
</div>
|
|
651
|
+
</div>
|
|
652
|
+
</div>
|
|
653
|
+
</body>
|
|
654
|
+
</html>
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
# Translation of Odoo Server.
|
|
2
|
+
# This file contains the translation of the following modules:
|
|
3
|
+
# * website_sale_slides_order_line_link
|
|
4
|
+
#
|
|
5
|
+
msgid ""
|
|
6
|
+
msgstr ""
|
|
7
|
+
"Project-Id-Version: Odoo Server 15.0\n"
|
|
8
|
+
"Report-Msgid-Bugs-To: \n"
|
|
9
|
+
"Last-Translator: \n"
|
|
10
|
+
"Language-Team: \n"
|
|
11
|
+
"MIME-Version: 1.0\n"
|
|
12
|
+
"Content-Type: text/plain; charset=UTF-8\n"
|
|
13
|
+
"Content-Transfer-Encoding: \n"
|
|
14
|
+
"Plural-Forms: \n"
|
|
15
|
+
|
|
16
|
+
#. module: website_sale_slides_order_line_link
|
|
17
|
+
#: model:ir.model,name:website_sale_slides_order_line_link.model_slide_channel_partner
|
|
18
|
+
msgid "Channel / Partners (Members)"
|
|
19
|
+
msgstr ""
|
|
20
|
+
|
|
21
|
+
#. module: website_sale_slides_order_line_link
|
|
22
|
+
#: model:ir.model.fields,field_description:website_sale_slides_order_line_link.field_slide_channel_partner__sale_order_line_ids
|
|
23
|
+
msgid "Sale Order Lines"
|
|
24
|
+
msgstr ""
|
|
25
|
+
|
|
26
|
+
#. module: website_sale_slides_order_line_link
|
|
27
|
+
#: model:ir.model,name:website_sale_slides_order_line_link.model_sale_order
|
|
28
|
+
msgid "Sales Order"
|
|
29
|
+
msgstr ""
|
|
30
|
+
|
|
31
|
+
#. module: website_sale_slides_order_line_link
|
|
32
|
+
#: model:ir.model,name:website_sale_slides_order_line_link.model_sale_order_line
|
|
33
|
+
msgid "Sales Order Line"
|
|
34
|
+
msgstr ""
|
|
35
|
+
|
|
36
|
+
#. module: website_sale_slides_order_line_link
|
|
37
|
+
#: model:ir.model.fields,field_description:website_sale_slides_order_line_link.field_sale_order_line__slide_channel_partner_id
|
|
38
|
+
msgid "Slide Channel Partner"
|
|
39
|
+
msgstr ""
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
# Copyright 2025 Tecnativa - Pilar Vargas
|
|
2
|
+
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).
|
|
3
|
+
|
|
4
|
+
from odoo import fields, models
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
class SaleOrder(models.Model):
|
|
8
|
+
_inherit = "sale.order"
|
|
9
|
+
|
|
10
|
+
def _action_confirm(self):
|
|
11
|
+
course_lines = self.order_line.filtered(
|
|
12
|
+
lambda line: line.product_id.channel_ids
|
|
13
|
+
)
|
|
14
|
+
if course_lines:
|
|
15
|
+
return super(
|
|
16
|
+
SaleOrder, self.with_context(course_sale_order_lines=course_lines)
|
|
17
|
+
)._action_confirm()
|
|
18
|
+
return super()._action_confirm()
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
class SaleOrderLine(models.Model):
|
|
22
|
+
_inherit = "sale.order.line"
|
|
23
|
+
|
|
24
|
+
slide_channel_partner_id = fields.Many2one(
|
|
25
|
+
comodel_name="slide.channel.partner",
|
|
26
|
+
)
|