odoo-addon-sale-order-priority 17.0.1.0.1__py3-none-any.whl → 19.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.
- odoo/addons/sale_order_priority/README.rst +17 -11
- odoo/addons/sale_order_priority/__manifest__.py +1 -1
- odoo/addons/sale_order_priority/i18n/sale_order_priority.pot +17 -3
- odoo/addons/sale_order_priority/models/__init__.py +3 -2
- odoo/addons/sale_order_priority/models/{sale.py → sale_order.py} +0 -11
- odoo/addons/sale_order_priority/models/sale_order_line.py +12 -0
- odoo/addons/sale_order_priority/models/stock_move.py +11 -0
- odoo/addons/sale_order_priority/readme/CONTRIBUTORS.md +1 -0
- odoo/addons/sale_order_priority/static/description/index.html +19 -12
- odoo/addons/sale_order_priority/tests/test_sale_stock.py +7 -7
- odoo/addons/sale_order_priority/views/sale.xml +2 -1
- {odoo_addon_sale_order_priority-17.0.1.0.1.dist-info → odoo_addon_sale_order_priority-19.0.1.0.0.2.dist-info}/METADATA +21 -15
- odoo_addon_sale_order_priority-19.0.1.0.0.2.dist-info/RECORD +21 -0
- {odoo_addon_sale_order_priority-17.0.1.0.1.dist-info → odoo_addon_sale_order_priority-19.0.1.0.0.2.dist-info}/WHEEL +1 -1
- odoo/addons/sale_order_priority/models/stock_picking.py +0 -11
- odoo_addon_sale_order_priority-17.0.1.0.1.dist-info/RECORD +0 -20
- {odoo_addon_sale_order_priority-17.0.1.0.1.dist-info → odoo_addon_sale_order_priority-19.0.1.0.0.2.dist-info}/top_level.txt +0 -0
|
@@ -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:
|
|
14
|
+
!! source digest: sha256:e43ac41173834880ae53be9a915b623d0a5ca5a971bb63f8cc901b592faa19ba
|
|
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/
|
|
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/
|
|
24
|
+
:target: https://github.com/OCA/sale-workflow/tree/19.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-
|
|
27
|
+
:target: https://translation.odoo-community.org/projects/sale-workflow-19-0/sale-workflow-19-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=
|
|
30
|
+
:target: https://runboat.odoo-community.org/builds?repo=OCA/sale-workflow&target_branch=19.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:%
|
|
55
|
+
`feedback <https://github.com/OCA/sale-workflow/issues/new?body=module:%20sale_order_priority%0Aversion:%2019.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
|
-
-
|
|
67
|
-
-
|
|
68
|
-
-
|
|
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
|
-
|
|
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/
|
|
91
|
+
This module is part of the `OCA/sale-workflow <https://github.com/OCA/sale-workflow/tree/19.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": "
|
|
6
|
+
"version": "19.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
|
|
7
|
+
"Project-Id-Version: Odoo Server 19.0\n"
|
|
8
8
|
"Report-Msgid-Bugs-To: \n"
|
|
9
9
|
"Last-Translator: \n"
|
|
10
10
|
"Language-Team: \n"
|
|
@@ -13,6 +13,20 @@ msgstr ""
|
|
|
13
13
|
"Content-Transfer-Encoding: \n"
|
|
14
14
|
"Plural-Forms: \n"
|
|
15
15
|
|
|
16
|
+
#. module: sale_order_priority
|
|
17
|
+
#: model:ir.model.fields,field_description:sale_order_priority.field_sale_order__display_name
|
|
18
|
+
#: model:ir.model.fields,field_description:sale_order_priority.field_sale_order_line__display_name
|
|
19
|
+
#: model:ir.model.fields,field_description:sale_order_priority.field_stock_move__display_name
|
|
20
|
+
msgid "Display Name"
|
|
21
|
+
msgstr ""
|
|
22
|
+
|
|
23
|
+
#. module: sale_order_priority
|
|
24
|
+
#: model:ir.model.fields,field_description:sale_order_priority.field_sale_order__id
|
|
25
|
+
#: model:ir.model.fields,field_description:sale_order_priority.field_sale_order_line__id
|
|
26
|
+
#: model:ir.model.fields,field_description:sale_order_priority.field_stock_move__id
|
|
27
|
+
msgid "ID"
|
|
28
|
+
msgstr ""
|
|
29
|
+
|
|
16
30
|
#. module: sale_order_priority
|
|
17
31
|
#: model:ir.model.fields.selection,name:sale_order_priority.selection__sale_order__priority__0
|
|
18
32
|
#: model:ir.model.fields.selection,name:sale_order_priority.selection__sale_order_line__priority__0
|
|
@@ -43,8 +57,8 @@ msgid "Sales Order Line"
|
|
|
43
57
|
msgstr ""
|
|
44
58
|
|
|
45
59
|
#. module: sale_order_priority
|
|
46
|
-
#: model:ir.model,name:sale_order_priority.
|
|
47
|
-
msgid "
|
|
60
|
+
#: model:ir.model,name:sale_order_priority.model_stock_move
|
|
61
|
+
msgid "Stock Move"
|
|
48
62
|
msgstr ""
|
|
49
63
|
|
|
50
64
|
#. module: sale_order_priority
|
|
@@ -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.reference_ids.sale_ids.priority:
|
|
10
|
+
picking_values["priority"] = self.reference_ids.sale_ids.priority
|
|
11
|
+
return picking_values
|
|
@@ -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>
|
|
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"
|
|
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:
|
|
375
|
+
!! source digest: sha256:e43ac41173834880ae53be9a915b623d0a5ca5a971bb63f8cc901b592faa19ba
|
|
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/
|
|
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/19.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-19-0/sale-workflow-19-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&target_branch=19.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
|
-
<
|
|
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:%
|
|
402
|
+
<a class="reference external" href="https://github.com/OCA/sale-workflow/issues/new?body=module:%20sale_order_priority%0Aversion:%2019.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
|
-
<
|
|
406
|
+
<h2><a class="toc-backref" href="#toc-entry-2">Credits</a></h2>
|
|
402
407
|
<div class="section" id="authors">
|
|
403
|
-
<
|
|
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
|
-
<
|
|
414
|
+
<h3><a class="toc-backref" href="#toc-entry-4">Contributors</a></h3>
|
|
410
415
|
<ul class="simple">
|
|
411
416
|
<li>Simone Rubino <<a class="reference external" href="mailto:simone.rubino@agilebg.com">simone.rubino@agilebg.com</a>></li>
|
|
412
417
|
<li>George Daramouskas <<a class="reference external" href="mailto:gdaramouskas@therp.nl">gdaramouskas@therp.nl</a>></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 <<a class="reference external" href="mailto:alejandro17parrales@gmail.com">alejandro17parrales@gmail.com</a>></li>
|
|
417
423
|
</ul>
|
|
418
424
|
</div>
|
|
419
425
|
<div class="section" id="maintainers">
|
|
420
|
-
<
|
|
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/
|
|
434
|
+
<p>This module is part of the <a class="reference external" href="https://github.com/OCA/sale-workflow/tree/19.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,9 +1,11 @@
|
|
|
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.
|
|
3
|
+
from odoo.fields import Command
|
|
4
4
|
|
|
5
|
+
from odoo.addons.sale.tests.common import TestSaleCommon
|
|
5
6
|
|
|
6
|
-
|
|
7
|
+
|
|
8
|
+
class TestSaleStock(TestSaleCommon):
|
|
7
9
|
@classmethod
|
|
8
10
|
def setUpClass(cls):
|
|
9
11
|
super().setUpClass()
|
|
@@ -15,7 +17,7 @@ class TestSaleStock(TestSaleCommonBase):
|
|
|
15
17
|
}
|
|
16
18
|
)
|
|
17
19
|
|
|
18
|
-
cls.company_data = cls.
|
|
20
|
+
cls.company_data = cls.collect_company_accounting_data(cls.company)
|
|
19
21
|
|
|
20
22
|
cls.partner = cls.env["res.partner"].create(
|
|
21
23
|
{
|
|
@@ -32,15 +34,13 @@ class TestSaleStock(TestSaleCommonBase):
|
|
|
32
34
|
"priority": sale_order_priority,
|
|
33
35
|
"company_id": self.company.id,
|
|
34
36
|
"order_line": [
|
|
35
|
-
(
|
|
36
|
-
0,
|
|
37
|
-
0,
|
|
37
|
+
Command.create(
|
|
38
38
|
{
|
|
39
39
|
"name": self.company_data["product_order_cost"].name,
|
|
40
40
|
"product_id": self.company_data["product_order_cost"].id,
|
|
41
41
|
"product_uom_qty": 2,
|
|
42
42
|
"qty_delivered": 1,
|
|
43
|
-
"
|
|
43
|
+
"product_uom_id": self.company_data[
|
|
44
44
|
"product_order_cost"
|
|
45
45
|
].uom_id.id,
|
|
46
46
|
"price_unit": self.company_data[
|
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: odoo-addon-sale_order_priority
|
|
3
|
-
Version:
|
|
4
|
-
Requires-
|
|
5
|
-
Requires-Dist: odoo>=17.0a,<17.1dev
|
|
3
|
+
Version: 19.0.1.0.0.2
|
|
4
|
+
Requires-Dist: odoo==19.0.*
|
|
6
5
|
Summary: Define priority on sale orders
|
|
7
6
|
Home-page: https://github.com/OCA/sale-workflow
|
|
8
7
|
License: AGPL-3
|
|
@@ -10,8 +9,13 @@ Author: Agile Business Group, Odoo Community Association (OCA)
|
|
|
10
9
|
Author-email: support@odoo-community.org
|
|
11
10
|
Classifier: Programming Language :: Python
|
|
12
11
|
Classifier: Framework :: Odoo
|
|
13
|
-
Classifier: Framework :: Odoo ::
|
|
12
|
+
Classifier: Framework :: Odoo :: 19.0
|
|
14
13
|
Classifier: License :: OSI Approved :: GNU Affero General Public License v3
|
|
14
|
+
Description-Content-Type: text/x-rst
|
|
15
|
+
|
|
16
|
+
.. image:: https://odoo-community.org/readme-banner-image
|
|
17
|
+
:target: https://odoo-community.org/get-involved?utm_source=readme
|
|
18
|
+
:alt: Odoo Community Association
|
|
15
19
|
|
|
16
20
|
===================
|
|
17
21
|
Sale Order Priority
|
|
@@ -22,23 +26,23 @@ Sale Order Priority
|
|
|
22
26
|
!! This file is generated by oca-gen-addon-readme !!
|
|
23
27
|
!! changes will be overwritten. !!
|
|
24
28
|
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
|
|
25
|
-
!! source digest: sha256:
|
|
29
|
+
!! source digest: sha256:e43ac41173834880ae53be9a915b623d0a5ca5a971bb63f8cc901b592faa19ba
|
|
26
30
|
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
|
|
27
31
|
|
|
28
32
|
.. |badge1| image:: https://img.shields.io/badge/maturity-Beta-yellow.png
|
|
29
33
|
:target: https://odoo-community.org/page/development-status
|
|
30
34
|
:alt: Beta
|
|
31
|
-
.. |badge2| image:: https://img.shields.io/badge/
|
|
35
|
+
.. |badge2| image:: https://img.shields.io/badge/license-AGPL--3-blue.png
|
|
32
36
|
:target: http://www.gnu.org/licenses/agpl-3.0-standalone.html
|
|
33
37
|
:alt: License: AGPL-3
|
|
34
38
|
.. |badge3| image:: https://img.shields.io/badge/github-OCA%2Fsale--workflow-lightgray.png?logo=github
|
|
35
|
-
:target: https://github.com/OCA/sale-workflow/tree/
|
|
39
|
+
:target: https://github.com/OCA/sale-workflow/tree/19.0/sale_order_priority
|
|
36
40
|
:alt: OCA/sale-workflow
|
|
37
41
|
.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png
|
|
38
|
-
:target: https://translation.odoo-community.org/projects/sale-workflow-
|
|
42
|
+
:target: https://translation.odoo-community.org/projects/sale-workflow-19-0/sale-workflow-19-0-sale_order_priority
|
|
39
43
|
:alt: Translate me on Weblate
|
|
40
44
|
.. |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=
|
|
45
|
+
:target: https://runboat.odoo-community.org/builds?repo=OCA/sale-workflow&target_branch=19.0
|
|
42
46
|
:alt: Try me on Runboat
|
|
43
47
|
|
|
44
48
|
|badge1| |badge2| |badge3| |badge4| |badge5|
|
|
@@ -63,7 +67,7 @@ Bug Tracker
|
|
|
63
67
|
Bugs are tracked on `GitHub Issues <https://github.com/OCA/sale-workflow/issues>`_.
|
|
64
68
|
In case of trouble, please check there if your issue has already been reported.
|
|
65
69
|
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:%
|
|
70
|
+
`feedback <https://github.com/OCA/sale-workflow/issues/new?body=module:%20sale_order_priority%0Aversion:%2019.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**>`_.
|
|
67
71
|
|
|
68
72
|
Do not contact contributors directly about support or help with technical issues.
|
|
69
73
|
|
|
@@ -78,11 +82,13 @@ Authors
|
|
|
78
82
|
Contributors
|
|
79
83
|
------------
|
|
80
84
|
|
|
81
|
-
-
|
|
82
|
-
-
|
|
83
|
-
-
|
|
85
|
+
- Simone Rubino <simone.rubino@agilebg.com>
|
|
86
|
+
- George Daramouskas <gdaramouskas@therp.nl>
|
|
87
|
+
- ``360ERP <https://www.360erp.com>``:
|
|
88
|
+
|
|
89
|
+
- Andrea Stirpe
|
|
84
90
|
|
|
85
|
-
|
|
91
|
+
- Alejandro Parrales <alejandro17parrales@gmail.com>
|
|
86
92
|
|
|
87
93
|
Maintainers
|
|
88
94
|
-----------
|
|
@@ -97,6 +103,6 @@ OCA, or the Odoo Community Association, is a nonprofit organization whose
|
|
|
97
103
|
mission is to support the collaborative development of Odoo features and
|
|
98
104
|
promote its widespread use.
|
|
99
105
|
|
|
100
|
-
This module is part of the `OCA/sale-workflow <https://github.com/OCA/sale-workflow/tree/
|
|
106
|
+
This module is part of the `OCA/sale-workflow <https://github.com/OCA/sale-workflow/tree/19.0/sale_order_priority>`_ project on GitHub.
|
|
101
107
|
|
|
102
108
|
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=-4EgwWcFaPQTAE7V7ZyZQggZiH68ZJqT-EUbUZ2gF6c,3570
|
|
2
|
+
odoo/addons/sale_order_priority/__init__.py,sha256=eShEGRadAlxopoLqIQ4-N42FM7MWPSuBe0h_l1cXTPM,87
|
|
3
|
+
odoo/addons/sale_order_priority/__manifest__.py,sha256=kKq4yqe9I7cHjQ7J7GTsAbjvXQgxPYLLhCfKWC9eBYg,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=3JoXYRHeibBRHIpLI80eexzvmUsSN4a__kUEanY7k9Y,2391
|
|
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=_v6zg_7HV0w-0GyarmibHbcQn-v394eMhtMYGCGX4Hw,341
|
|
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=rupRvDbAFA34MwkmH24H66z1WtieFx_i-S_C9ROwYlI,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=QxmAnzQo0JEb6Ib5TJuoMap96TImjuxJZKiAi77lF-0,2616
|
|
17
|
+
odoo/addons/sale_order_priority/views/sale.xml,sha256=9FUDWN3m92TQy8niGtwoqv4_i61sdjrlGMszzr4y1M0,1059
|
|
18
|
+
odoo_addon_sale_order_priority-19.0.1.0.0.2.dist-info/METADATA,sha256=prN2n-MnOn5SHkI_xirfYLicU2QQWEQzNogpy377KyA,4112
|
|
19
|
+
odoo_addon_sale_order_priority-19.0.1.0.0.2.dist-info/WHEEL,sha256=ZhOvUsYhy81Dx67gN3TV0RchQWBIIzutDZaJODDg2Vo,81
|
|
20
|
+
odoo_addon_sale_order_priority-19.0.1.0.0.2.dist-info/top_level.txt,sha256=QE6RBQ0QX5f4eFuUcGgU5Kbq1A_qJcDs-e_vpr6pmfU,4
|
|
21
|
+
odoo_addon_sale_order_priority-19.0.1.0.0.2.dist-info/RECORD,,
|
|
@@ -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=UexmcFHSINazqmiI1jrpvxBXomeXAQFyVRlnwKjRcCw,3356
|
|
2
|
-
odoo/addons/sale_order_priority/__init__.py,sha256=eShEGRadAlxopoLqIQ4-N42FM7MWPSuBe0h_l1cXTPM,87
|
|
3
|
-
odoo/addons/sale_order_priority/__manifest__.py,sha256=F3XQPRxpdijTVtGJm9670mHFXKxMdmZPLEoCqSRakZg,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=KLsHQ5KiU9PshaMTD9oW8XIqrdGpEGszVpBv87dQsvw,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=d0x-DBMOm_aKacwzKTRzTnCecmDioKjkA9cHkGDh9nE,2633
|
|
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.1.dist-info/METADATA,sha256=1Jqr5BurhdUmGsS0gwxSMst-emMo0Tzh6KlXViVaroc,3891
|
|
18
|
-
odoo_addon_sale_order_priority-17.0.1.0.1.dist-info/WHEEL,sha256=8Rd4enx1PCuyDWP4SABqO5Fv8rpaknqp3VzjoFFLa6c,83
|
|
19
|
-
odoo_addon_sale_order_priority-17.0.1.0.1.dist-info/top_level.txt,sha256=QE6RBQ0QX5f4eFuUcGgU5Kbq1A_qJcDs-e_vpr6pmfU,4
|
|
20
|
-
odoo_addon_sale_order_priority-17.0.1.0.1.dist-info/RECORD,,
|