odoo-addon-sale-order-priority 17.0.1.0.0.3__py3-none-any.whl → 18.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.
@@ -1,3 +1,7 @@
1
+ .. image:: https://odoo-community.org/readme-banner-image
2
+ :target: https://odoo-community.org/get-involved?utm_source=readme
3
+ :alt: Odoo Community Association
4
+
1
5
  ===================
2
6
  Sale Order Priority
3
7
  ===================
@@ -7,23 +11,23 @@ Sale Order Priority
7
11
  !! This file is generated by oca-gen-addon-readme !!
8
12
  !! changes will be overwritten. !!
9
13
  !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
10
- !! source digest: sha256:c48e2ef04228de832267a35bf35cd234bd9db221d5b0bf604705828f2c910484
14
+ !! source digest: sha256:d04b52d0444f0c976d79a12441947afb734623f4d49b7d549e2da3415809ec0c
11
15
  !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
12
16
 
13
17
  .. |badge1| image:: https://img.shields.io/badge/maturity-Beta-yellow.png
14
18
  :target: https://odoo-community.org/page/development-status
15
19
  :alt: Beta
16
- .. |badge2| image:: https://img.shields.io/badge/licence-AGPL--3-blue.png
20
+ .. |badge2| image:: https://img.shields.io/badge/license-AGPL--3-blue.png
17
21
  :target: http://www.gnu.org/licenses/agpl-3.0-standalone.html
18
22
  :alt: License: AGPL-3
19
23
  .. |badge3| image:: https://img.shields.io/badge/github-OCA%2Fsale--workflow-lightgray.png?logo=github
20
- :target: https://github.com/OCA/sale-workflow/tree/17.0/sale_order_priority
24
+ :target: https://github.com/OCA/sale-workflow/tree/18.0/sale_order_priority
21
25
  :alt: OCA/sale-workflow
22
26
  .. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png
23
- :target: https://translation.odoo-community.org/projects/sale-workflow-17-0/sale-workflow-17-0-sale_order_priority
27
+ :target: https://translation.odoo-community.org/projects/sale-workflow-18-0/sale-workflow-18-0-sale_order_priority
24
28
  :alt: Translate me on Weblate
25
29
  .. |badge5| image:: https://img.shields.io/badge/runboat-Try%20me-875A7B.png
26
- :target: https://runboat.odoo-community.org/builds?repo=OCA/sale-workflow&target_branch=17.0
30
+ :target: https://runboat.odoo-community.org/builds?repo=OCA/sale-workflow&target_branch=18.0
27
31
  :alt: Try me on Runboat
28
32
 
29
33
  |badge1| |badge2| |badge3| |badge4| |badge5|
@@ -48,7 +52,7 @@ Bug Tracker
48
52
  Bugs are tracked on `GitHub Issues <https://github.com/OCA/sale-workflow/issues>`_.
49
53
  In case of trouble, please check there if your issue has already been reported.
50
54
  If you spotted it first, help us to smash it by providing a detailed and welcomed
51
- `feedback <https://github.com/OCA/sale-workflow/issues/new?body=module:%20sale_order_priority%0Aversion:%2017.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**>`_.
55
+ `feedback <https://github.com/OCA/sale-workflow/issues/new?body=module:%20sale_order_priority%0Aversion:%2018.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**>`_.
52
56
 
53
57
  Do not contact contributors directly about support or help with technical issues.
54
58
 
@@ -63,11 +67,13 @@ Authors
63
67
  Contributors
64
68
  ------------
65
69
 
66
- - Simone Rubino <simone.rubino@agilebg.com>
67
- - George Daramouskas <gdaramouskas@therp.nl>
68
- - ``360ERP <https://www.360erp.com>``:
70
+ - Simone Rubino <simone.rubino@agilebg.com>
71
+ - George Daramouskas <gdaramouskas@therp.nl>
72
+ - ``360ERP <https://www.360erp.com>``:
73
+
74
+ - Andrea Stirpe
69
75
 
70
- - Andrea Stirpe
76
+ - Alejandro Parrales <alejandro17parrales@gmail.com>
71
77
 
72
78
  Maintainers
73
79
  -----------
@@ -82,6 +88,6 @@ OCA, or the Odoo Community Association, is a nonprofit organization whose
82
88
  mission is to support the collaborative development of Odoo features and
83
89
  promote its widespread use.
84
90
 
85
- This module is part of the `OCA/sale-workflow <https://github.com/OCA/sale-workflow/tree/17.0/sale_order_priority>`_ project on GitHub.
91
+ This module is part of the `OCA/sale-workflow <https://github.com/OCA/sale-workflow/tree/18.0/sale_order_priority>`_ project on GitHub.
86
92
 
87
93
  You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.
@@ -3,7 +3,7 @@
3
3
  {
4
4
  "name": "Sale Order Priority",
5
5
  "summary": "Define priority on sale orders",
6
- "version": "17.0.1.0.0",
6
+ "version": "18.0.1.0.0",
7
7
  "category": "Sale Workflow",
8
8
  "website": "https://github.com/OCA/sale-workflow",
9
9
  "author": "Agile Business Group, Odoo Community Association (OCA)",
@@ -4,7 +4,7 @@
4
4
  #
5
5
  msgid ""
6
6
  msgstr ""
7
- "Project-Id-Version: Odoo Server 17.0\n"
7
+ "Project-Id-Version: Odoo Server 18.0\n"
8
8
  "Report-Msgid-Bugs-To: \n"
9
9
  "Last-Translator: \n"
10
10
  "Language-Team: \n"
@@ -43,8 +43,8 @@ msgid "Sales Order Line"
43
43
  msgstr ""
44
44
 
45
45
  #. module: sale_order_priority
46
- #: model:ir.model,name:sale_order_priority.model_stock_picking
47
- msgid "Transfer"
46
+ #: model:ir.model,name:sale_order_priority.model_stock_move
47
+ msgid "Stock Move"
48
48
  msgstr ""
49
49
 
50
50
  #. module: sale_order_priority
@@ -1,4 +1,5 @@
1
1
  # License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl).
2
2
 
3
- from . import sale
4
- from . import stock_picking
3
+ from . import sale_order
4
+ from . import sale_order_line
5
+ from . import stock_move
@@ -6,12 +6,6 @@ from odoo import api, fields, models
6
6
  from odoo.addons.stock.models import stock_move
7
7
 
8
8
 
9
- class SaleOrderLine(models.Model):
10
- _inherit = "sale.order.line"
11
-
12
- priority = fields.Selection(stock_move.PROCUREMENT_PRIORITIES, default="0")
13
-
14
-
15
9
  class SaleOrder(models.Model):
16
10
  _inherit = "sale.order"
17
11
 
@@ -40,8 +34,3 @@ class SaleOrder(models.Model):
40
34
  lambda x, pr=priority: x.priority != pr
41
35
  ):
42
36
  line.priority = priority
43
-
44
- def action_confirm(self):
45
- return super(
46
- SaleOrder, self.with_context(sale_priority=self.priority)
47
- ).action_confirm()
@@ -0,0 +1,12 @@
1
+ # Copyright 2018 Simone Rubino - Agile Business Group
2
+ # License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl).
3
+
4
+ from odoo import fields, models
5
+
6
+ from odoo.addons.stock.models import stock_move
7
+
8
+
9
+ class SaleOrderLine(models.Model):
10
+ _inherit = "sale.order.line"
11
+
12
+ priority = fields.Selection(stock_move.PROCUREMENT_PRIORITIES, default="0")
@@ -0,0 +1,11 @@
1
+ from odoo import models
2
+
3
+
4
+ class StockMove(models.Model):
5
+ _inherit = "stock.move"
6
+
7
+ def _get_new_picking_values(self):
8
+ picking_values = super()._get_new_picking_values()
9
+ if self.group_id.sale_id.priority:
10
+ picking_values["priority"] = self.group_id.sale_id.priority
11
+ return picking_values
@@ -2,3 +2,4 @@
2
2
  - George Daramouskas \<<gdaramouskas@therp.nl>\>
3
3
  - `360ERP <https://www.360erp.com>`:
4
4
  - Andrea Stirpe
5
+ - Alejandro Parrales \<<alejandro17parrales@gmail.com>\>
@@ -3,7 +3,7 @@
3
3
  <head>
4
4
  <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
5
5
  <meta name="generator" content="Docutils: https://docutils.sourceforge.io/" />
6
- <title>Sale Order Priority</title>
6
+ <title>README.rst</title>
7
7
  <style type="text/css">
8
8
 
9
9
  /*
@@ -360,16 +360,21 @@ ul.auto-toc {
360
360
  </style>
361
361
  </head>
362
362
  <body>
363
- <div class="document" id="sale-order-priority">
364
- <h1 class="title">Sale Order Priority</h1>
363
+ <div class="document">
365
364
 
365
+
366
+ <a class="reference external image-reference" href="https://odoo-community.org/get-involved?utm_source=readme">
367
+ <img alt="Odoo Community Association" src="https://odoo-community.org/readme-banner-image" />
368
+ </a>
369
+ <div class="section" id="sale-order-priority">
370
+ <h1>Sale Order Priority</h1>
366
371
  <!-- !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
367
372
  !! This file is generated by oca-gen-addon-readme !!
368
373
  !! changes will be overwritten. !!
369
374
  !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
370
- !! source digest: sha256:c48e2ef04228de832267a35bf35cd234bd9db221d5b0bf604705828f2c910484
375
+ !! source digest: sha256:d04b52d0444f0c976d79a12441947afb734623f4d49b7d549e2da3415809ec0c
371
376
  !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! -->
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/sale-workflow/tree/17.0/sale_order_priority"><img alt="OCA/sale-workflow" src="https://img.shields.io/badge/github-OCA%2Fsale--workflow-lightgray.png?logo=github" /></a> <a class="reference external image-reference" href="https://translation.odoo-community.org/projects/sale-workflow-17-0/sale-workflow-17-0-sale_order_priority"><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/sale-workflow&amp;target_branch=17.0"><img alt="Try me on Runboat" src="https://img.shields.io/badge/runboat-Try%20me-875A7B.png" /></a></p>
377
+ <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/license-AGPL--3-blue.png" /></a> <a class="reference external image-reference" href="https://github.com/OCA/sale-workflow/tree/18.0/sale_order_priority"><img alt="OCA/sale-workflow" src="https://img.shields.io/badge/github-OCA%2Fsale--workflow-lightgray.png?logo=github" /></a> <a class="reference external image-reference" href="https://translation.odoo-community.org/projects/sale-workflow-18-0/sale-workflow-18-0-sale_order_priority"><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/sale-workflow&amp;target_branch=18.0"><img alt="Try me on Runboat" src="https://img.shields.io/badge/runboat-Try%20me-875A7B.png" /></a></p>
373
378
  <p>This module adds the field <em>Priority</em> in sale order lines and sale
374
379
  orders: priority of the sale order is computed as the maximum of the
375
380
  priorities of its lines, setting the priority in the order sets the
@@ -390,23 +395,23 @@ moves and the picking inherit the procurement’s priority.</p>
390
395
  </ul>
391
396
  </div>
392
397
  <div class="section" id="bug-tracker">
393
- <h1><a class="toc-backref" href="#toc-entry-1">Bug Tracker</a></h1>
398
+ <h2><a class="toc-backref" href="#toc-entry-1">Bug Tracker</a></h2>
394
399
  <p>Bugs are tracked on <a class="reference external" href="https://github.com/OCA/sale-workflow/issues">GitHub Issues</a>.
395
400
  In case of trouble, please check there if your issue has already been reported.
396
401
  If you spotted it first, help us to smash it by providing a detailed and welcomed
397
- <a class="reference external" href="https://github.com/OCA/sale-workflow/issues/new?body=module:%20sale_order_priority%0Aversion:%2017.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**">feedback</a>.</p>
402
+ <a class="reference external" href="https://github.com/OCA/sale-workflow/issues/new?body=module:%20sale_order_priority%0Aversion:%2018.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**">feedback</a>.</p>
398
403
  <p>Do not contact contributors directly about support or help with technical issues.</p>
399
404
  </div>
400
405
  <div class="section" id="credits">
401
- <h1><a class="toc-backref" href="#toc-entry-2">Credits</a></h1>
406
+ <h2><a class="toc-backref" href="#toc-entry-2">Credits</a></h2>
402
407
  <div class="section" id="authors">
403
- <h2><a class="toc-backref" href="#toc-entry-3">Authors</a></h2>
408
+ <h3><a class="toc-backref" href="#toc-entry-3">Authors</a></h3>
404
409
  <ul class="simple">
405
410
  <li>Agile Business Group</li>
406
411
  </ul>
407
412
  </div>
408
413
  <div class="section" id="contributors">
409
- <h2><a class="toc-backref" href="#toc-entry-4">Contributors</a></h2>
414
+ <h3><a class="toc-backref" href="#toc-entry-4">Contributors</a></h3>
410
415
  <ul class="simple">
411
416
  <li>Simone Rubino &lt;<a class="reference external" href="mailto:simone.rubino&#64;agilebg.com">simone.rubino&#64;agilebg.com</a>&gt;</li>
412
417
  <li>George Daramouskas &lt;<a class="reference external" href="mailto:gdaramouskas&#64;therp.nl">gdaramouskas&#64;therp.nl</a>&gt;</li>
@@ -414,10 +419,11 @@ If you spotted it first, help us to smash it by providing a detailed and welcome
414
419
  <li>Andrea Stirpe</li>
415
420
  </ul>
416
421
  </li>
422
+ <li>Alejandro Parrales &lt;<a class="reference external" href="mailto:alejandro17parrales&#64;gmail.com">alejandro17parrales&#64;gmail.com</a>&gt;</li>
417
423
  </ul>
418
424
  </div>
419
425
  <div class="section" id="maintainers">
420
- <h2><a class="toc-backref" href="#toc-entry-5">Maintainers</a></h2>
426
+ <h3><a class="toc-backref" href="#toc-entry-5">Maintainers</a></h3>
421
427
  <p>This module is maintained by the OCA.</p>
422
428
  <a class="reference external image-reference" href="https://odoo-community.org">
423
429
  <img alt="Odoo Community Association" src="https://odoo-community.org/logo.png" />
@@ -425,10 +431,11 @@ If you spotted it first, help us to smash it by providing a detailed and welcome
425
431
  <p>OCA, or the Odoo Community Association, is a nonprofit organization whose
426
432
  mission is to support the collaborative development of Odoo features and
427
433
  promote its widespread use.</p>
428
- <p>This module is part of the <a class="reference external" href="https://github.com/OCA/sale-workflow/tree/17.0/sale_order_priority">OCA/sale-workflow</a> project on GitHub.</p>
434
+ <p>This module is part of the <a class="reference external" href="https://github.com/OCA/sale-workflow/tree/18.0/sale_order_priority">OCA/sale-workflow</a> project on GitHub.</p>
429
435
  <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>
430
436
  </div>
431
437
  </div>
432
438
  </div>
439
+ </div>
433
440
  </body>
434
441
  </html>
@@ -1,5 +1,7 @@
1
1
  # Copyright 2018 Simone Rubino - Agile Business Group
2
2
  # License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl).
3
+ from odoo.fields import Command
4
+
3
5
  from odoo.addons.sale.tests.common import TestSaleCommonBase
4
6
 
5
7
 
@@ -30,10 +32,9 @@ class TestSaleStock(TestSaleCommonBase):
30
32
  {
31
33
  "partner_id": self.partner.id,
32
34
  "priority": sale_order_priority,
35
+ "company_id": self.company.id,
33
36
  "order_line": [
34
- (
35
- 0,
36
- 0,
37
+ Command.create(
37
38
  {
38
39
  "name": self.company_data["product_order_cost"].name,
39
40
  "product_id": self.company_data["product_order_cost"].id,
@@ -16,8 +16,9 @@
16
16
  >
17
17
  <field name="priority" />
18
18
  </xpath>
19
+
19
20
  <xpath
20
- expr="//field[@name='order_line']//tree//field[@name='price_unit']"
21
+ expr="//field[@name='order_line']//list//field[@name='price_unit']"
21
22
  position="after"
22
23
  >
23
24
  <field name="priority" />
@@ -1,8 +1,8 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: odoo-addon-sale_order_priority
3
- Version: 17.0.1.0.0.3
3
+ Version: 18.0.1.0.0.2
4
4
  Requires-Python: >=3.10
5
- Requires-Dist: odoo>=17.0a,<17.1dev
5
+ Requires-Dist: odoo==18.0.*
6
6
  Summary: Define priority on sale orders
7
7
  Home-page: https://github.com/OCA/sale-workflow
8
8
  License: AGPL-3
@@ -10,8 +10,13 @@ Author: Agile Business Group, Odoo Community Association (OCA)
10
10
  Author-email: support@odoo-community.org
11
11
  Classifier: Programming Language :: Python
12
12
  Classifier: Framework :: Odoo
13
- Classifier: Framework :: Odoo :: 17.0
13
+ Classifier: Framework :: Odoo :: 18.0
14
14
  Classifier: License :: OSI Approved :: GNU Affero General Public License v3
15
+ Description-Content-Type: text/x-rst
16
+
17
+ .. image:: https://odoo-community.org/readme-banner-image
18
+ :target: https://odoo-community.org/get-involved?utm_source=readme
19
+ :alt: Odoo Community Association
15
20
 
16
21
  ===================
17
22
  Sale Order Priority
@@ -22,23 +27,23 @@ Sale Order Priority
22
27
  !! This file is generated by oca-gen-addon-readme !!
23
28
  !! changes will be overwritten. !!
24
29
  !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
25
- !! source digest: sha256:c48e2ef04228de832267a35bf35cd234bd9db221d5b0bf604705828f2c910484
30
+ !! source digest: sha256:d04b52d0444f0c976d79a12441947afb734623f4d49b7d549e2da3415809ec0c
26
31
  !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
27
32
 
28
33
  .. |badge1| image:: https://img.shields.io/badge/maturity-Beta-yellow.png
29
34
  :target: https://odoo-community.org/page/development-status
30
35
  :alt: Beta
31
- .. |badge2| image:: https://img.shields.io/badge/licence-AGPL--3-blue.png
36
+ .. |badge2| image:: https://img.shields.io/badge/license-AGPL--3-blue.png
32
37
  :target: http://www.gnu.org/licenses/agpl-3.0-standalone.html
33
38
  :alt: License: AGPL-3
34
39
  .. |badge3| image:: https://img.shields.io/badge/github-OCA%2Fsale--workflow-lightgray.png?logo=github
35
- :target: https://github.com/OCA/sale-workflow/tree/17.0/sale_order_priority
40
+ :target: https://github.com/OCA/sale-workflow/tree/18.0/sale_order_priority
36
41
  :alt: OCA/sale-workflow
37
42
  .. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png
38
- :target: https://translation.odoo-community.org/projects/sale-workflow-17-0/sale-workflow-17-0-sale_order_priority
43
+ :target: https://translation.odoo-community.org/projects/sale-workflow-18-0/sale-workflow-18-0-sale_order_priority
39
44
  :alt: Translate me on Weblate
40
45
  .. |badge5| image:: https://img.shields.io/badge/runboat-Try%20me-875A7B.png
41
- :target: https://runboat.odoo-community.org/builds?repo=OCA/sale-workflow&target_branch=17.0
46
+ :target: https://runboat.odoo-community.org/builds?repo=OCA/sale-workflow&target_branch=18.0
42
47
  :alt: Try me on Runboat
43
48
 
44
49
  |badge1| |badge2| |badge3| |badge4| |badge5|
@@ -63,7 +68,7 @@ Bug Tracker
63
68
  Bugs are tracked on `GitHub Issues <https://github.com/OCA/sale-workflow/issues>`_.
64
69
  In case of trouble, please check there if your issue has already been reported.
65
70
  If you spotted it first, help us to smash it by providing a detailed and welcomed
66
- `feedback <https://github.com/OCA/sale-workflow/issues/new?body=module:%20sale_order_priority%0Aversion:%2017.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**>`_.
71
+ `feedback <https://github.com/OCA/sale-workflow/issues/new?body=module:%20sale_order_priority%0Aversion:%2018.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**>`_.
67
72
 
68
73
  Do not contact contributors directly about support or help with technical issues.
69
74
 
@@ -78,11 +83,13 @@ Authors
78
83
  Contributors
79
84
  ------------
80
85
 
81
- - Simone Rubino <simone.rubino@agilebg.com>
82
- - George Daramouskas <gdaramouskas@therp.nl>
83
- - ``360ERP <https://www.360erp.com>``:
86
+ - Simone Rubino <simone.rubino@agilebg.com>
87
+ - George Daramouskas <gdaramouskas@therp.nl>
88
+ - ``360ERP <https://www.360erp.com>``:
89
+
90
+ - Andrea Stirpe
84
91
 
85
- - Andrea Stirpe
92
+ - Alejandro Parrales <alejandro17parrales@gmail.com>
86
93
 
87
94
  Maintainers
88
95
  -----------
@@ -97,6 +104,6 @@ OCA, or the Odoo Community Association, is a nonprofit organization whose
97
104
  mission is to support the collaborative development of Odoo features and
98
105
  promote its widespread use.
99
106
 
100
- This module is part of the `OCA/sale-workflow <https://github.com/OCA/sale-workflow/tree/17.0/sale_order_priority>`_ project on GitHub.
107
+ This module is part of the `OCA/sale-workflow <https://github.com/OCA/sale-workflow/tree/18.0/sale_order_priority>`_ project on GitHub.
101
108
 
102
109
  You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.
@@ -0,0 +1,21 @@
1
+ odoo/addons/sale_order_priority/README.rst,sha256=fQrZpcau8ySJ9x68DbWKJ4w4WhnZmUQD2ZaB9tEGxno,3570
2
+ odoo/addons/sale_order_priority/__init__.py,sha256=eShEGRadAlxopoLqIQ4-N42FM7MWPSuBe0h_l1cXTPM,87
3
+ odoo/addons/sale_order_priority/__manifest__.py,sha256=pQeApHvK3nVsjqZPt8PLOK_8jfNYp8-sEMDGO3z0Vo0,535
4
+ odoo/addons/sale_order_priority/i18n/es.po,sha256=zKc4XwYqFKhepTxutGd5XlGB2PMC-F3ekhB4kgKDAh8,2107
5
+ odoo/addons/sale_order_priority/i18n/it.po,sha256=Ucof5BkLDSKvY7rnSxzlz2tF_AfKERpTAbucCkipgX8,2216
6
+ odoo/addons/sale_order_priority/i18n/sale_order_priority.pot,sha256=3SOpp5Qqy5HIa1khkuCxuLVQg6QZeF98Y9btnkAMrkU,1731
7
+ odoo/addons/sale_order_priority/models/__init__.py,sha256=b6DIE18qSmOVw3abNyNqQ7_KKfvabk6bNM7bJWldZfg,146
8
+ odoo/addons/sale_order_priority/models/sale_order.py,sha256=RTFX-7LiP2wmtuO0VOdmmVceB6BOcxQEQCDSTAowaEI,1157
9
+ odoo/addons/sale_order_priority/models/sale_order_line.py,sha256=Yoo1tXxneH5GOAHIFv2R319s5DAC6M21vuYtchpRPD8,352
10
+ odoo/addons/sale_order_priority/models/stock_move.py,sha256=Iq4U72fT71hEeWHSdRLP3X1ctGogx-M4eP1i8f6Myf4,329
11
+ odoo/addons/sale_order_priority/readme/CONTRIBUTORS.md,sha256=Eo28XIylkWUhGdGH0jraVxLd1tUBexmDW1_bS-VWhTw,212
12
+ odoo/addons/sale_order_priority/readme/DESCRIPTION.md,sha256=eUBcjuYwdLQbWsw0R8d5B1zjmH80WGHWD7AHNvsaBxY,443
13
+ odoo/addons/sale_order_priority/static/description/icon.png,sha256=6xBPJauaFOF0KDHfHgQopSc28kKvxMaeoQFQWZtfZDo,9455
14
+ odoo/addons/sale_order_priority/static/description/index.html,sha256=4wOk-fitpGSfgA5ABc7TtmIfSdxWeKd8vcZ3NEpuV8o,13225
15
+ odoo/addons/sale_order_priority/tests/__init__.py,sha256=vcSGQurTLgEZFdQxlznMzCrHGS_jAJg0i5NbVdea65Y,106
16
+ odoo/addons/sale_order_priority/tests/test_sale_stock.py,sha256=f_Zb20oaRqrNvTFKrqv5sdMmA6hc-U6v-3USHWemoA0,2626
17
+ odoo/addons/sale_order_priority/views/sale.xml,sha256=9FUDWN3m92TQy8niGtwoqv4_i61sdjrlGMszzr4y1M0,1059
18
+ odoo_addon_sale_order_priority-18.0.1.0.0.2.dist-info/METADATA,sha256=-_huB1VYTAC3BWACWwoDL7CcKVOYcLiIaA3_1cmpiaI,4136
19
+ odoo_addon_sale_order_priority-18.0.1.0.0.2.dist-info/WHEEL,sha256=ZhOvUsYhy81Dx67gN3TV0RchQWBIIzutDZaJODDg2Vo,81
20
+ odoo_addon_sale_order_priority-18.0.1.0.0.2.dist-info/top_level.txt,sha256=QE6RBQ0QX5f4eFuUcGgU5Kbq1A_qJcDs-e_vpr6pmfU,4
21
+ odoo_addon_sale_order_priority-18.0.1.0.0.2.dist-info/RECORD,,
@@ -1,5 +1,5 @@
1
1
  Wheel-Version: 1.0
2
- Generator: Whool 1.0.1
2
+ Generator: Whool 1.3
3
3
  Root-Is-Purelib: true
4
4
  Tag: py3-none-any
5
5
 
@@ -1,11 +0,0 @@
1
- from odoo import models
2
-
3
-
4
- class Picking(models.Model):
5
- _inherit = "stock.picking"
6
-
7
- def action_confirm(self):
8
- res = super().action_confirm()
9
- picking_priority = self.env.context.get("sale_priority", False)
10
- self.write({"priority": picking_priority or 0})
11
- return res
@@ -1,20 +0,0 @@
1
- odoo/addons/sale_order_priority/README.rst,sha256=HZHx-wwmaHTQg2i83ArcwnczhQ_VojbJ6QV2HmDFzmU,3356
2
- odoo/addons/sale_order_priority/__init__.py,sha256=eShEGRadAlxopoLqIQ4-N42FM7MWPSuBe0h_l1cXTPM,87
3
- odoo/addons/sale_order_priority/__manifest__.py,sha256=hBLS8q8sfKwpoRQ5QgbJrxK1J1ldvACOp9QLbyl9keE,535
4
- odoo/addons/sale_order_priority/i18n/es.po,sha256=zKc4XwYqFKhepTxutGd5XlGB2PMC-F3ekhB4kgKDAh8,2107
5
- odoo/addons/sale_order_priority/i18n/it.po,sha256=Ucof5BkLDSKvY7rnSxzlz2tF_AfKERpTAbucCkipgX8,2216
6
- odoo/addons/sale_order_priority/i18n/sale_order_priority.pot,sha256=kizuIJDtRWa-mv8vS90OMcqxQGNvT89CCWNtLOnVOB0,1732
7
- odoo/addons/sale_order_priority/models/__init__.py,sha256=-0E0m4heWCK1r6N6idKOGt3yMHF5yQHmPdlNykSMnxw,113
8
- odoo/addons/sale_order_priority/models/sale.py,sha256=mcSsmpLt6cExmxSj6Gceu4jbabYHRR6OTp-ZHcEHUn0,1458
9
- odoo/addons/sale_order_priority/models/stock_picking.py,sha256=ODlgLqBr2mkA-CccnmA-aoWSC7oBy6mP0hPHBWUTXts,303
10
- odoo/addons/sale_order_priority/readme/CONTRIBUTORS.md,sha256=OO81LEEbUoTWsaz0_RKIkrUSozypRug8Fm3pZwvW9CE,155
11
- odoo/addons/sale_order_priority/readme/DESCRIPTION.md,sha256=eUBcjuYwdLQbWsw0R8d5B1zjmH80WGHWD7AHNvsaBxY,443
12
- odoo/addons/sale_order_priority/static/description/icon.png,sha256=6xBPJauaFOF0KDHfHgQopSc28kKvxMaeoQFQWZtfZDo,9455
13
- odoo/addons/sale_order_priority/static/description/index.html,sha256=oOcIZDHifE8UuJlrtEDyjS5xnkrh3MTPBb0ooK8ZeHg,12855
14
- odoo/addons/sale_order_priority/tests/__init__.py,sha256=vcSGQurTLgEZFdQxlznMzCrHGS_jAJg0i5NbVdea65Y,106
15
- odoo/addons/sale_order_priority/tests/test_sale_stock.py,sha256=qh-yBd4spl-o3zYU3Ty_aTeBjKMuLFb_o1sc8wi7wRw,2586
16
- odoo/addons/sale_order_priority/views/sale.xml,sha256=m-RBgYWaIVzNt2YacNalLQHOxU4NogTM-4VAV-a9V2M,1058
17
- odoo_addon_sale_order_priority-17.0.1.0.0.3.dist-info/METADATA,sha256=0dfpRzc8v4YUcmC43USGTyWivMY7sNiHAIg48bvsH2M,3893
18
- odoo_addon_sale_order_priority-17.0.1.0.0.3.dist-info/WHEEL,sha256=8Rd4enx1PCuyDWP4SABqO5Fv8rpaknqp3VzjoFFLa6c,83
19
- odoo_addon_sale_order_priority-17.0.1.0.0.3.dist-info/top_level.txt,sha256=QE6RBQ0QX5f4eFuUcGgU5Kbq1A_qJcDs-e_vpr6pmfU,4
20
- odoo_addon_sale_order_priority-17.0.1.0.0.3.dist-info/RECORD,,