odoo-addon-purchase-order-general-discount 18.0.1.0.0.2__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/purchase_order_general_discount/README.rst +10 -6
- odoo/addons/purchase_order_general_discount/__manifest__.py +1 -1
- odoo/addons/purchase_order_general_discount/i18n/pt_BR.po +101 -0
- odoo/addons/purchase_order_general_discount/i18n/purchase_order_general_discount.pot +19 -3
- odoo/addons/purchase_order_general_discount/models/purchase_order.py +4 -7
- odoo/addons/purchase_order_general_discount/models/res_company.py +4 -4
- odoo/addons/purchase_order_general_discount/readme/CONTRIBUTORS.md +3 -0
- odoo/addons/purchase_order_general_discount/static/description/index.html +9 -4
- odoo/addons/purchase_order_general_discount/tests/test_purchase_order_general_discount.py +0 -1
- {odoo_addon_purchase_order_general_discount-18.0.1.0.0.2.dist-info → odoo_addon_purchase_order_general_discount-19.0.1.0.0.2.dist-info}/METADATA +14 -10
- {odoo_addon_purchase_order_general_discount-18.0.1.0.0.2.dist-info → odoo_addon_purchase_order_general_discount-19.0.1.0.0.2.dist-info}/RECORD +13 -12
- {odoo_addon_purchase_order_general_discount-18.0.1.0.0.2.dist-info → odoo_addon_purchase_order_general_discount-19.0.1.0.0.2.dist-info}/WHEEL +1 -1
- {odoo_addon_purchase_order_general_discount-18.0.1.0.0.2.dist-info → odoo_addon_purchase_order_general_discount-19.0.1.0.0.2.dist-info}/top_level.txt +0 -0
|
@@ -11,7 +11,7 @@ Purchase Order General Discount
|
|
|
11
11
|
!! This file is generated by oca-gen-addon-readme !!
|
|
12
12
|
!! changes will be overwritten. !!
|
|
13
13
|
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
|
|
14
|
-
!! source digest: sha256:
|
|
14
|
+
!! source digest: sha256:b8477fb62eb234b7ff62aba40227654f22e4aeee980743a46958ca745a57de49
|
|
15
15
|
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
|
|
16
16
|
|
|
17
17
|
.. |badge1| image:: https://img.shields.io/badge/maturity-Beta-yellow.png
|
|
@@ -21,13 +21,13 @@ Purchase Order General Discount
|
|
|
21
21
|
:target: http://www.gnu.org/licenses/agpl-3.0-standalone.html
|
|
22
22
|
:alt: License: AGPL-3
|
|
23
23
|
.. |badge3| image:: https://img.shields.io/badge/github-OCA%2Fpurchase--workflow-lightgray.png?logo=github
|
|
24
|
-
:target: https://github.com/OCA/purchase-workflow/tree/
|
|
24
|
+
:target: https://github.com/OCA/purchase-workflow/tree/19.0/purchase_order_general_discount
|
|
25
25
|
:alt: OCA/purchase-workflow
|
|
26
26
|
.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png
|
|
27
|
-
:target: https://translation.odoo-community.org/projects/purchase-workflow-
|
|
27
|
+
:target: https://translation.odoo-community.org/projects/purchase-workflow-19-0/purchase-workflow-19-0-purchase_order_general_discount
|
|
28
28
|
:alt: Translate me on Weblate
|
|
29
29
|
.. |badge5| image:: https://img.shields.io/badge/runboat-Try%20me-875A7B.png
|
|
30
|
-
:target: https://runboat.odoo-community.org/builds?repo=OCA/purchase-workflow&target_branch=
|
|
30
|
+
:target: https://runboat.odoo-community.org/builds?repo=OCA/purchase-workflow&target_branch=19.0
|
|
31
31
|
:alt: Try me on Runboat
|
|
32
32
|
|
|
33
33
|
|badge1| |badge2| |badge3| |badge4| |badge5|
|
|
@@ -90,7 +90,7 @@ Bug Tracker
|
|
|
90
90
|
Bugs are tracked on `GitHub Issues <https://github.com/OCA/purchase-workflow/issues>`_.
|
|
91
91
|
In case of trouble, please check there if your issue has already been reported.
|
|
92
92
|
If you spotted it first, help us to smash it by providing a detailed and welcomed
|
|
93
|
-
`feedback <https://github.com/OCA/purchase-workflow/issues/new?body=module:%20purchase_order_general_discount%0Aversion:%
|
|
93
|
+
`feedback <https://github.com/OCA/purchase-workflow/issues/new?body=module:%20purchase_order_general_discount%0Aversion:%2019.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**>`_.
|
|
94
94
|
|
|
95
95
|
Do not contact contributors directly about support or help with technical issues.
|
|
96
96
|
|
|
@@ -122,6 +122,10 @@ Contributors
|
|
|
122
122
|
|
|
123
123
|
- Cuong Nguyen Mtm <cuong.nmtm@komit-consulting.com>
|
|
124
124
|
|
|
125
|
+
- `APSL-Nagarro <https://apsl.tech>`__
|
|
126
|
+
|
|
127
|
+
- Antoni Marroig <antoni.marroig@nagarro.com>
|
|
128
|
+
|
|
125
129
|
Maintainers
|
|
126
130
|
-----------
|
|
127
131
|
|
|
@@ -135,6 +139,6 @@ OCA, or the Odoo Community Association, is a nonprofit organization whose
|
|
|
135
139
|
mission is to support the collaborative development of Odoo features and
|
|
136
140
|
promote its widespread use.
|
|
137
141
|
|
|
138
|
-
This module is part of the `OCA/purchase-workflow <https://github.com/OCA/purchase-workflow/tree/
|
|
142
|
+
This module is part of the `OCA/purchase-workflow <https://github.com/OCA/purchase-workflow/tree/19.0/purchase_order_general_discount>`_ project on GitHub.
|
|
139
143
|
|
|
140
144
|
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": "Purchase Order General Discount",
|
|
5
5
|
"summary": "General discount per purchase order",
|
|
6
|
-
"version": "
|
|
6
|
+
"version": "19.0.1.0.0",
|
|
7
7
|
"category": "Purchases",
|
|
8
8
|
"website": "https://github.com/OCA/purchase-workflow",
|
|
9
9
|
"author": "Tecnativa, Odoo Community Association (OCA)",
|
|
@@ -0,0 +1,101 @@
|
|
|
1
|
+
# Translation of Odoo Server.
|
|
2
|
+
# This file contains the translation of the following modules:
|
|
3
|
+
# * purchase_order_general_discount
|
|
4
|
+
#
|
|
5
|
+
msgid ""
|
|
6
|
+
msgstr ""
|
|
7
|
+
"Project-Id-Version: Odoo Server 18.0\n"
|
|
8
|
+
"Report-Msgid-Bugs-To: \n"
|
|
9
|
+
"Last-Translator: Automatically generated\n"
|
|
10
|
+
"Language-Team: none\n"
|
|
11
|
+
"Language: pt_BR\n"
|
|
12
|
+
"MIME-Version: 1.0\n"
|
|
13
|
+
"Content-Type: text/plain; charset=UTF-8\n"
|
|
14
|
+
"Content-Transfer-Encoding: \n"
|
|
15
|
+
"Plural-Forms: nplurals=2; plural=n > 1;\n"
|
|
16
|
+
|
|
17
|
+
#. module: purchase_order_general_discount
|
|
18
|
+
#: model_terms:ir.ui.view,arch_db:purchase_order_general_discount.res_config_settings_view_form_purchase
|
|
19
|
+
msgid ""
|
|
20
|
+
"<span class=\"fa fa-lg fa-building-o\" title=\"Values set here are company-"
|
|
21
|
+
"specific.\" groups=\"base.group_multi_company\"/>"
|
|
22
|
+
msgstr ""
|
|
23
|
+
|
|
24
|
+
#. module: purchase_order_general_discount
|
|
25
|
+
#: model:ir.model,name:purchase_order_general_discount.model_res_company
|
|
26
|
+
msgid "Companies"
|
|
27
|
+
msgstr ""
|
|
28
|
+
|
|
29
|
+
#. module: purchase_order_general_discount
|
|
30
|
+
#: model:ir.model,name:purchase_order_general_discount.model_res_partner
|
|
31
|
+
msgid "Contact"
|
|
32
|
+
msgstr ""
|
|
33
|
+
|
|
34
|
+
#. module: purchase_order_general_discount
|
|
35
|
+
#. odoo-python
|
|
36
|
+
#: code:addons/purchase_order_general_discount/models/res_company.py:0
|
|
37
|
+
msgid "Discount"
|
|
38
|
+
msgstr ""
|
|
39
|
+
|
|
40
|
+
#. module: purchase_order_general_discount
|
|
41
|
+
#. odoo-python
|
|
42
|
+
#: code:addons/purchase_order_general_discount/models/res_company.py:0
|
|
43
|
+
msgid "Discount 2"
|
|
44
|
+
msgstr ""
|
|
45
|
+
|
|
46
|
+
#. module: purchase_order_general_discount
|
|
47
|
+
#. odoo-python
|
|
48
|
+
#: code:addons/purchase_order_general_discount/models/res_company.py:0
|
|
49
|
+
msgid "Discount 3"
|
|
50
|
+
msgstr ""
|
|
51
|
+
|
|
52
|
+
#. module: purchase_order_general_discount
|
|
53
|
+
#: model:ir.model.constraint,message:purchase_order_general_discount.constraint_purchase_order_general_discount_limit
|
|
54
|
+
msgid "Discount must be lower than 100%."
|
|
55
|
+
msgstr ""
|
|
56
|
+
|
|
57
|
+
#. module: purchase_order_general_discount
|
|
58
|
+
#: model:ir.model.fields,field_description:purchase_order_general_discount.field_purchase_order__general_discount
|
|
59
|
+
msgid "Gen. Disc. (%)"
|
|
60
|
+
msgstr ""
|
|
61
|
+
|
|
62
|
+
#. module: purchase_order_general_discount
|
|
63
|
+
#: model:ir.model,name:purchase_order_general_discount.model_res_config_settings
|
|
64
|
+
msgid "Procurement purchase grouping settings"
|
|
65
|
+
msgstr ""
|
|
66
|
+
|
|
67
|
+
#. module: purchase_order_general_discount
|
|
68
|
+
#: model:ir.model.fields,field_description:purchase_order_general_discount.field_res_company__purchase_general_discount_field
|
|
69
|
+
#: model:ir.model.fields,field_description:purchase_order_general_discount.field_res_config_settings__purchase_general_discount_field
|
|
70
|
+
msgid "Purchase Discount Field"
|
|
71
|
+
msgstr ""
|
|
72
|
+
|
|
73
|
+
#. module: purchase_order_general_discount
|
|
74
|
+
#: model:ir.model.fields,field_description:purchase_order_general_discount.field_res_partner__purchase_general_discount
|
|
75
|
+
#: model:ir.model.fields,field_description:purchase_order_general_discount.field_res_users__purchase_general_discount
|
|
76
|
+
msgid "Purchase General Discount (%)"
|
|
77
|
+
msgstr ""
|
|
78
|
+
|
|
79
|
+
#. module: purchase_order_general_discount
|
|
80
|
+
#: model:ir.model,name:purchase_order_general_discount.model_purchase_order
|
|
81
|
+
msgid "Purchase Order"
|
|
82
|
+
msgstr ""
|
|
83
|
+
|
|
84
|
+
#. module: purchase_order_general_discount
|
|
85
|
+
#: model_terms:ir.ui.view,arch_db:purchase_order_general_discount.res_config_settings_view_form_purchase
|
|
86
|
+
msgid ""
|
|
87
|
+
"Select to which purchase line field will the purchase general discount be "
|
|
88
|
+
"propagated."
|
|
89
|
+
msgstr ""
|
|
90
|
+
|
|
91
|
+
#. module: purchase_order_general_discount
|
|
92
|
+
#: model:ir.model.fields,help:purchase_order_general_discount.field_res_company__purchase_general_discount_field
|
|
93
|
+
#: model:ir.model.fields,help:purchase_order_general_discount.field_res_config_settings__purchase_general_discount_field
|
|
94
|
+
msgid ""
|
|
95
|
+
"Set the purchase line discount field in which the discounts will be applied."
|
|
96
|
+
msgstr ""
|
|
97
|
+
|
|
98
|
+
#. module: purchase_order_general_discount
|
|
99
|
+
#: model_terms:ir.ui.view,arch_db:purchase_order_general_discount.purchase_order_form
|
|
100
|
+
msgid "Update general discounts"
|
|
101
|
+
msgstr ""
|
|
@@ -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"
|
|
@@ -25,6 +25,11 @@ msgstr ""
|
|
|
25
25
|
msgid "Companies"
|
|
26
26
|
msgstr ""
|
|
27
27
|
|
|
28
|
+
#. module: purchase_order_general_discount
|
|
29
|
+
#: model:ir.model,name:purchase_order_general_discount.model_res_config_settings
|
|
30
|
+
msgid "Config Settings"
|
|
31
|
+
msgstr ""
|
|
32
|
+
|
|
28
33
|
#. module: purchase_order_general_discount
|
|
29
34
|
#: model:ir.model,name:purchase_order_general_discount.model_res_partner
|
|
30
35
|
msgid "Contact"
|
|
@@ -53,14 +58,25 @@ msgstr ""
|
|
|
53
58
|
msgid "Discount must be lower than 100%."
|
|
54
59
|
msgstr ""
|
|
55
60
|
|
|
61
|
+
#. module: purchase_order_general_discount
|
|
62
|
+
#: model:ir.model.fields,field_description:purchase_order_general_discount.field_purchase_order__display_name
|
|
63
|
+
#: model:ir.model.fields,field_description:purchase_order_general_discount.field_res_company__display_name
|
|
64
|
+
#: model:ir.model.fields,field_description:purchase_order_general_discount.field_res_config_settings__display_name
|
|
65
|
+
#: model:ir.model.fields,field_description:purchase_order_general_discount.field_res_partner__display_name
|
|
66
|
+
msgid "Display Name"
|
|
67
|
+
msgstr ""
|
|
68
|
+
|
|
56
69
|
#. module: purchase_order_general_discount
|
|
57
70
|
#: model:ir.model.fields,field_description:purchase_order_general_discount.field_purchase_order__general_discount
|
|
58
71
|
msgid "Gen. Disc. (%)"
|
|
59
72
|
msgstr ""
|
|
60
73
|
|
|
61
74
|
#. module: purchase_order_general_discount
|
|
62
|
-
#: model:ir.model,
|
|
63
|
-
|
|
75
|
+
#: model:ir.model.fields,field_description:purchase_order_general_discount.field_purchase_order__id
|
|
76
|
+
#: model:ir.model.fields,field_description:purchase_order_general_discount.field_res_company__id
|
|
77
|
+
#: model:ir.model.fields,field_description:purchase_order_general_discount.field_res_config_settings__id
|
|
78
|
+
#: model:ir.model.fields,field_description:purchase_order_general_discount.field_res_partner__id
|
|
79
|
+
msgid "ID"
|
|
64
80
|
msgstr ""
|
|
65
81
|
|
|
66
82
|
#. module: purchase_order_general_discount
|
|
@@ -12,13 +12,10 @@ class PurchaseOrder(models.Model):
|
|
|
12
12
|
string="Gen. Disc. (%)",
|
|
13
13
|
)
|
|
14
14
|
|
|
15
|
-
|
|
16
|
-
(
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
"Discount must be lower than 100%.",
|
|
20
|
-
),
|
|
21
|
-
]
|
|
15
|
+
_general_discount_limit = models.Constraint(
|
|
16
|
+
"CHECK (general_discount <= 100.0)",
|
|
17
|
+
"Discount must be lower than 100%.",
|
|
18
|
+
)
|
|
22
19
|
|
|
23
20
|
@api.onchange("partner_id")
|
|
24
21
|
def onchange_partner_id(self):
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# Copyright 2019 Tecnativa - David Vidal
|
|
2
2
|
# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl).
|
|
3
|
-
from odoo import
|
|
3
|
+
from odoo import api, fields, models
|
|
4
4
|
|
|
5
5
|
|
|
6
6
|
class ResCompany(models.Model):
|
|
@@ -19,14 +19,14 @@ class ResCompany(models.Model):
|
|
|
19
19
|
"""Extensible method to add possible discounts. We offer in advance
|
|
20
20
|
the posibility of using purchase_triple_discount so no bridge
|
|
21
21
|
module is needed"""
|
|
22
|
-
discount_fields = [("discount", _("Discount"))]
|
|
22
|
+
discount_fields = [("discount", self.env._("Discount"))]
|
|
23
23
|
purchase_line_fields = self.env["purchase.order.line"]._fields.keys()
|
|
24
24
|
if "discount2" in purchase_line_fields:
|
|
25
25
|
discount_fields += [
|
|
26
|
-
("discount2", _("Discount 2")),
|
|
26
|
+
("discount2", self.env._("Discount 2")),
|
|
27
27
|
]
|
|
28
28
|
if "discount3" in purchase_line_fields:
|
|
29
29
|
discount_fields += [
|
|
30
|
-
("discount3", _("Discount 3")),
|
|
30
|
+
("discount3", self.env._("Discount 3")),
|
|
31
31
|
]
|
|
32
32
|
return discount_fields
|
|
@@ -372,9 +372,9 @@ ul.auto-toc {
|
|
|
372
372
|
!! This file is generated by oca-gen-addon-readme !!
|
|
373
373
|
!! changes will be overwritten. !!
|
|
374
374
|
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
|
|
375
|
-
!! source digest: sha256:
|
|
375
|
+
!! source digest: sha256:b8477fb62eb234b7ff62aba40227654f22e4aeee980743a46958ca745a57de49
|
|
376
376
|
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! -->
|
|
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/purchase-workflow/tree/
|
|
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/purchase-workflow/tree/19.0/purchase_order_general_discount"><img alt="OCA/purchase-workflow" src="https://img.shields.io/badge/github-OCA%2Fpurchase--workflow-lightgray.png?logo=github" /></a> <a class="reference external image-reference" href="https://translation.odoo-community.org/projects/purchase-workflow-19-0/purchase-workflow-19-0-purchase_order_general_discount"><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/purchase-workflow&target_branch=19.0"><img alt="Try me on Runboat" src="https://img.shields.io/badge/runboat-Try%20me-875A7B.png" /></a></p>
|
|
378
378
|
<p>This module allows to set a general discount in a purchase order. This
|
|
379
379
|
general discount is applied to each line order.</p>
|
|
380
380
|
<p>You can also set a default general discount on suppliers and configure
|
|
@@ -436,7 +436,7 @@ set one in the summary section of the order.</li>
|
|
|
436
436
|
<p>Bugs are tracked on <a class="reference external" href="https://github.com/OCA/purchase-workflow/issues">GitHub Issues</a>.
|
|
437
437
|
In case of trouble, please check there if your issue has already been reported.
|
|
438
438
|
If you spotted it first, help us to smash it by providing a detailed and welcomed
|
|
439
|
-
<a class="reference external" href="https://github.com/OCA/purchase-workflow/issues/new?body=module:%20purchase_order_general_discount%0Aversion:%
|
|
439
|
+
<a class="reference external" href="https://github.com/OCA/purchase-workflow/issues/new?body=module:%20purchase_order_general_discount%0Aversion:%2019.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**">feedback</a>.</p>
|
|
440
440
|
<p>Do not contact contributors directly about support or help with technical issues.</p>
|
|
441
441
|
</div>
|
|
442
442
|
<div class="section" id="credits">
|
|
@@ -474,6 +474,11 @@ If you spotted it first, help us to smash it by providing a detailed and welcome
|
|
|
474
474
|
<li>Cuong Nguyen Mtm <<a class="reference external" href="mailto:cuong.nmtm@komit-consulting.com">cuong.nmtm@komit-consulting.com</a>></li>
|
|
475
475
|
</ul>
|
|
476
476
|
</li>
|
|
477
|
+
<li><p class="first"><a class="reference external" href="https://apsl.tech">APSL-Nagarro</a></p>
|
|
478
|
+
<ul class="simple">
|
|
479
|
+
<li>Antoni Marroig <<a class="reference external" href="mailto:antoni.marroig@nagarro.com">antoni.marroig@nagarro.com</a>></li>
|
|
480
|
+
</ul>
|
|
481
|
+
</li>
|
|
477
482
|
</ul>
|
|
478
483
|
</div>
|
|
479
484
|
<div class="section" id="maintainers">
|
|
@@ -485,7 +490,7 @@ If you spotted it first, help us to smash it by providing a detailed and welcome
|
|
|
485
490
|
<p>OCA, or the Odoo Community Association, is a nonprofit organization whose
|
|
486
491
|
mission is to support the collaborative development of Odoo features and
|
|
487
492
|
promote its widespread use.</p>
|
|
488
|
-
<p>This module is part of the <a class="reference external" href="https://github.com/OCA/purchase-workflow/tree/
|
|
493
|
+
<p>This module is part of the <a class="reference external" href="https://github.com/OCA/purchase-workflow/tree/19.0/purchase_order_general_discount">OCA/purchase-workflow</a> project on GitHub.</p>
|
|
489
494
|
<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>
|
|
490
495
|
</div>
|
|
491
496
|
</div>
|
|
@@ -19,7 +19,6 @@ class TestPurchaseOrderLineInput(TransactionCase):
|
|
|
19
19
|
order_form.partner_id = cls.partner
|
|
20
20
|
with order_form.order_line.new() as line_form:
|
|
21
21
|
line_form.product_id = cls.product
|
|
22
|
-
line_form.product_uom = cls.product.uom_id
|
|
23
22
|
line_form.product_qty = 1
|
|
24
23
|
line_form.price_unit = 1000.00
|
|
25
24
|
cls.order = order_form.save()
|
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: odoo-addon-purchase_order_general_discount
|
|
3
|
-
Version:
|
|
4
|
-
Requires-
|
|
5
|
-
Requires-Dist: odoo==18.0.*
|
|
3
|
+
Version: 19.0.1.0.0.2
|
|
4
|
+
Requires-Dist: odoo==19.0.*
|
|
6
5
|
Summary: General discount per purchase order
|
|
7
6
|
Home-page: https://github.com/OCA/purchase-workflow
|
|
8
7
|
License: AGPL-3
|
|
@@ -10,8 +9,9 @@ Author: Tecnativa, 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
15
|
|
|
16
16
|
.. image:: https://odoo-community.org/readme-banner-image
|
|
17
17
|
:target: https://odoo-community.org/get-involved?utm_source=readme
|
|
@@ -26,7 +26,7 @@ Purchase Order General Discount
|
|
|
26
26
|
!! This file is generated by oca-gen-addon-readme !!
|
|
27
27
|
!! changes will be overwritten. !!
|
|
28
28
|
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
|
|
29
|
-
!! source digest: sha256:
|
|
29
|
+
!! source digest: sha256:b8477fb62eb234b7ff62aba40227654f22e4aeee980743a46958ca745a57de49
|
|
30
30
|
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
|
|
31
31
|
|
|
32
32
|
.. |badge1| image:: https://img.shields.io/badge/maturity-Beta-yellow.png
|
|
@@ -36,13 +36,13 @@ Purchase Order General Discount
|
|
|
36
36
|
:target: http://www.gnu.org/licenses/agpl-3.0-standalone.html
|
|
37
37
|
:alt: License: AGPL-3
|
|
38
38
|
.. |badge3| image:: https://img.shields.io/badge/github-OCA%2Fpurchase--workflow-lightgray.png?logo=github
|
|
39
|
-
:target: https://github.com/OCA/purchase-workflow/tree/
|
|
39
|
+
:target: https://github.com/OCA/purchase-workflow/tree/19.0/purchase_order_general_discount
|
|
40
40
|
:alt: OCA/purchase-workflow
|
|
41
41
|
.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png
|
|
42
|
-
:target: https://translation.odoo-community.org/projects/purchase-workflow-
|
|
42
|
+
:target: https://translation.odoo-community.org/projects/purchase-workflow-19-0/purchase-workflow-19-0-purchase_order_general_discount
|
|
43
43
|
:alt: Translate me on Weblate
|
|
44
44
|
.. |badge5| image:: https://img.shields.io/badge/runboat-Try%20me-875A7B.png
|
|
45
|
-
:target: https://runboat.odoo-community.org/builds?repo=OCA/purchase-workflow&target_branch=
|
|
45
|
+
:target: https://runboat.odoo-community.org/builds?repo=OCA/purchase-workflow&target_branch=19.0
|
|
46
46
|
:alt: Try me on Runboat
|
|
47
47
|
|
|
48
48
|
|badge1| |badge2| |badge3| |badge4| |badge5|
|
|
@@ -105,7 +105,7 @@ Bug Tracker
|
|
|
105
105
|
Bugs are tracked on `GitHub Issues <https://github.com/OCA/purchase-workflow/issues>`_.
|
|
106
106
|
In case of trouble, please check there if your issue has already been reported.
|
|
107
107
|
If you spotted it first, help us to smash it by providing a detailed and welcomed
|
|
108
|
-
`feedback <https://github.com/OCA/purchase-workflow/issues/new?body=module:%20purchase_order_general_discount%0Aversion:%
|
|
108
|
+
`feedback <https://github.com/OCA/purchase-workflow/issues/new?body=module:%20purchase_order_general_discount%0Aversion:%2019.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**>`_.
|
|
109
109
|
|
|
110
110
|
Do not contact contributors directly about support or help with technical issues.
|
|
111
111
|
|
|
@@ -137,6 +137,10 @@ Contributors
|
|
|
137
137
|
|
|
138
138
|
- Cuong Nguyen Mtm <cuong.nmtm@komit-consulting.com>
|
|
139
139
|
|
|
140
|
+
- `APSL-Nagarro <https://apsl.tech>`__
|
|
141
|
+
|
|
142
|
+
- Antoni Marroig <antoni.marroig@nagarro.com>
|
|
143
|
+
|
|
140
144
|
Maintainers
|
|
141
145
|
-----------
|
|
142
146
|
|
|
@@ -150,6 +154,6 @@ OCA, or the Odoo Community Association, is a nonprofit organization whose
|
|
|
150
154
|
mission is to support the collaborative development of Odoo features and
|
|
151
155
|
promote its widespread use.
|
|
152
156
|
|
|
153
|
-
This module is part of the `OCA/purchase-workflow <https://github.com/OCA/purchase-workflow/tree/
|
|
157
|
+
This module is part of the `OCA/purchase-workflow <https://github.com/OCA/purchase-workflow/tree/19.0/purchase_order_general_discount>`_ project on GitHub.
|
|
154
158
|
|
|
155
159
|
You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.
|
|
@@ -1,27 +1,28 @@
|
|
|
1
|
-
odoo/addons/purchase_order_general_discount/README.rst,sha256=
|
|
1
|
+
odoo/addons/purchase_order_general_discount/README.rst,sha256=HxFl1AhjF8jYijrxysadI7DwBDODZPkF__XKe7bZu18,4980
|
|
2
2
|
odoo/addons/purchase_order_general_discount/__init__.py,sha256=X9EJGOE2GtZbS0G82PtSXmWSZ_R8jEM0rlJTDliQjp4,21
|
|
3
|
-
odoo/addons/purchase_order_general_discount/__manifest__.py,sha256=
|
|
3
|
+
odoo/addons/purchase_order_general_discount/__manifest__.py,sha256=M8N74X-gbOQV92iAguXY4aYo4jCxWpqIn5H-fAcMBFo,631
|
|
4
4
|
odoo/addons/purchase_order_general_discount/i18n/es.po,sha256=XXizosLFxY2Jo7uaQsF7sJfeqxwxTFZh6hUgSeGR8BE,4715
|
|
5
5
|
odoo/addons/purchase_order_general_discount/i18n/it.po,sha256=NdTuxHFGnIvDG6ynC981komhSiik-kPy4MH2tcCXYls,4505
|
|
6
6
|
odoo/addons/purchase_order_general_discount/i18n/pt.po,sha256=KLerUWOf4AcT_SzMhwq83ob0fLlcB2cRMZ0LoqKAaF0,4471
|
|
7
|
-
odoo/addons/purchase_order_general_discount/i18n/
|
|
7
|
+
odoo/addons/purchase_order_general_discount/i18n/pt_BR.po,sha256=GxJI2ps14hbBAsBXydw7rQrUNSiSi5ml0ElQeAOeXag,3735
|
|
8
|
+
odoo/addons/purchase_order_general_discount/i18n/purchase_order_general_discount.pot,sha256=VUOJpwBj1z0R6uzJYJmH_1GFiMA05IJJoJF2jYFLR5w,4618
|
|
8
9
|
odoo/addons/purchase_order_general_discount/models/__init__.py,sha256=xBkPBch_xaBbtUzhxeuXEvdP4Ia-BeffjlTDdjEzkGk,115
|
|
9
|
-
odoo/addons/purchase_order_general_discount/models/purchase_order.py,sha256
|
|
10
|
-
odoo/addons/purchase_order_general_discount/models/res_company.py,sha256=
|
|
10
|
+
odoo/addons/purchase_order_general_discount/models/purchase_order.py,sha256=-mrqch5igV9Lk16o2OJ-XHWn2nsQTjyJnhNZ6ahb0xs,2497
|
|
11
|
+
odoo/addons/purchase_order_general_discount/models/res_company.py,sha256=vZHQZ3vl8TckZHY_9COQJWpnj2juVTwFIzrZYqRsBYg,1207
|
|
11
12
|
odoo/addons/purchase_order_general_discount/models/res_config_settings.py,sha256=qjzp9-bx8xIBBlrDDObjWqNjzScRVmCpXFTHjNfg5JI,374
|
|
12
13
|
odoo/addons/purchase_order_general_discount/models/res_partner.py,sha256=BqTVQat7Jbattn6z0CRXSZ-GPhUUF9TvPLBpIUshYec,362
|
|
13
14
|
odoo/addons/purchase_order_general_discount/readme/CONFIGURE.md,sha256=MAJVB9GETfy6pl1MVhmOOiGB01c0YgvD7BSROiw8YXM,829
|
|
14
|
-
odoo/addons/purchase_order_general_discount/readme/CONTRIBUTORS.md,sha256=
|
|
15
|
+
odoo/addons/purchase_order_general_discount/readme/CONTRIBUTORS.md,sha256=TwYywwABC_nSFR9HGy7dFiAcdFoX3rTWsOPxgBiDWm8,412
|
|
15
16
|
odoo/addons/purchase_order_general_discount/readme/DESCRIPTION.md,sha256=e_hMiXZezZzLWNccp0tEW07dFz_D6Dka0b1sr3MzCuE,241
|
|
16
17
|
odoo/addons/purchase_order_general_discount/readme/USAGE.md,sha256=0ngIFgzNgj3VPBCz-sjJ1NyLC_OuyPNgiSAWfRrj-7s,397
|
|
17
18
|
odoo/addons/purchase_order_general_discount/static/description/icon.png,sha256=6xBPJauaFOF0KDHfHgQopSc28kKvxMaeoQFQWZtfZDo,9455
|
|
18
|
-
odoo/addons/purchase_order_general_discount/static/description/index.html,sha256=
|
|
19
|
+
odoo/addons/purchase_order_general_discount/static/description/index.html,sha256=q7nWpPNV9LvlQSnk9UDbck8_Gi1dBWzQGMUbvlodeuU,16120
|
|
19
20
|
odoo/addons/purchase_order_general_discount/tests/__init__.py,sha256=Ls3swKxgHN-HFAuUp1ivQWMLH4FieBKwib5gQlh4RXA,51
|
|
20
|
-
odoo/addons/purchase_order_general_discount/tests/test_purchase_order_general_discount.py,sha256=
|
|
21
|
+
odoo/addons/purchase_order_general_discount/tests/test_purchase_order_general_discount.py,sha256=ibASIZ6AIu7B4Z5Ese2mynaOA4GGz_J72IMFK116nFw,1977
|
|
21
22
|
odoo/addons/purchase_order_general_discount/views/purchase_order_view.xml,sha256=Z9cF1OfCmudh1q31QXkQ15sKSMyO4HrtklJAuGSZrXw,1030
|
|
22
23
|
odoo/addons/purchase_order_general_discount/views/res_config_view.xml,sha256=odLVZvZxkL2-IwyaBsIP446S1nPC4r0lRPnjGCaHY08,1556
|
|
23
24
|
odoo/addons/purchase_order_general_discount/views/res_partner_view.xml,sha256=X4ldz3axP3CiQqkyhYaFyN_R85hmldO4Dp66iRM6Unc,675
|
|
24
|
-
odoo_addon_purchase_order_general_discount-
|
|
25
|
-
odoo_addon_purchase_order_general_discount-
|
|
26
|
-
odoo_addon_purchase_order_general_discount-
|
|
27
|
-
odoo_addon_purchase_order_general_discount-
|
|
25
|
+
odoo_addon_purchase_order_general_discount-19.0.1.0.0.2.dist-info/METADATA,sha256=9Itzte7HLXAsufpaiY9RFT1hPF3bA9T5WvSEZaPjAg0,5532
|
|
26
|
+
odoo_addon_purchase_order_general_discount-19.0.1.0.0.2.dist-info/WHEEL,sha256=ZhOvUsYhy81Dx67gN3TV0RchQWBIIzutDZaJODDg2Vo,81
|
|
27
|
+
odoo_addon_purchase_order_general_discount-19.0.1.0.0.2.dist-info/top_level.txt,sha256=QE6RBQ0QX5f4eFuUcGgU5Kbq1A_qJcDs-e_vpr6pmfU,4
|
|
28
|
+
odoo_addon_purchase_order_general_discount-19.0.1.0.0.2.dist-info/RECORD,,
|