odoo-addon-sale-commission-product-criteria-domain 16.0.1.0.0.3__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.
Files changed (26) hide show
  1. odoo/addons/sale_commission_product_criteria_domain/README.rst +124 -0
  2. odoo/addons/sale_commission_product_criteria_domain/__init__.py +1 -0
  3. odoo/addons/sale_commission_product_criteria_domain/__manifest__.py +26 -0
  4. odoo/addons/sale_commission_product_criteria_domain/demo/demo_data.xml +137 -0
  5. odoo/addons/sale_commission_product_criteria_domain/i18n/it.po +272 -0
  6. odoo/addons/sale_commission_product_criteria_domain/i18n/sale_commission_product_criteria_domain.pot +246 -0
  7. odoo/addons/sale_commission_product_criteria_domain/models/__init__.py +6 -0
  8. odoo/addons/sale_commission_product_criteria_domain/models/account_invoice_line_agent.py +30 -0
  9. odoo/addons/sale_commission_product_criteria_domain/models/commission.py +90 -0
  10. odoo/addons/sale_commission_product_criteria_domain/models/commission_group.py +72 -0
  11. odoo/addons/sale_commission_product_criteria_domain/models/partner.py +75 -0
  12. odoo/addons/sale_commission_product_criteria_domain/models/sale_commission_line_mixin.py +66 -0
  13. odoo/addons/sale_commission_product_criteria_domain/models/sale_order_line_agent.py +29 -0
  14. odoo/addons/sale_commission_product_criteria_domain/readme/CONTRIBUTORS.rst +6 -0
  15. odoo/addons/sale_commission_product_criteria_domain/readme/DESCRIPTION.rst +9 -0
  16. odoo/addons/sale_commission_product_criteria_domain/readme/USAGE.rst +22 -0
  17. odoo/addons/sale_commission_product_criteria_domain/security/ir.model.access.csv +5 -0
  18. odoo/addons/sale_commission_product_criteria_domain/static/description/icon.png +0 -0
  19. odoo/addons/sale_commission_product_criteria_domain/static/description/index.html +453 -0
  20. odoo/addons/sale_commission_product_criteria_domain/tests/__init__.py +1 -0
  21. odoo/addons/sale_commission_product_criteria_domain/tests/test_sale_commission_product_criteria_domain.py +334 -0
  22. odoo/addons/sale_commission_product_criteria_domain/views/views.xml +222 -0
  23. odoo_addon_sale_commission_product_criteria_domain-16.0.1.0.0.3.dist-info/METADATA +143 -0
  24. odoo_addon_sale_commission_product_criteria_domain-16.0.1.0.0.3.dist-info/RECORD +26 -0
  25. odoo_addon_sale_commission_product_criteria_domain-16.0.1.0.0.3.dist-info/WHEEL +5 -0
  26. odoo_addon_sale_commission_product_criteria_domain-16.0.1.0.0.3.dist-info/top_level.txt +1 -0
@@ -0,0 +1,143 @@
1
+ Metadata-Version: 2.1
2
+ Name: odoo-addon-sale-commission-product-criteria-domain
3
+ Version: 16.0.1.0.0.3
4
+ Summary: Sale Commission Product Criteria Domain
5
+ Home-page: https://github.com/OCA/commission
6
+ Author: Ilyas,Ooops404,Odoo Community Association (OCA)
7
+ Author-email: support@odoo-community.org
8
+ License: AGPL-3
9
+ Platform: UNKNOWN
10
+ Classifier: Programming Language :: Python
11
+ Classifier: Framework :: Odoo
12
+ Classifier: Framework :: Odoo :: 16.0
13
+ Classifier: License :: OSI Approved :: GNU Affero General Public License v3
14
+ Requires-Python: >=3.10
15
+ Requires-Dist: odoo-addon-sale-commission-product-criteria <16.1dev,>=16.0dev
16
+ Requires-Dist: odoo <16.1dev,>=16.0a
17
+
18
+ =======================================
19
+ Sale Commission Product Criteria Domain
20
+ =======================================
21
+
22
+ ..
23
+ !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
24
+ !! This file is generated by oca-gen-addon-readme !!
25
+ !! changes will be overwritten. !!
26
+ !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
27
+ !! source digest: sha256:163032362b1420f26a24755c50985afa774a2d1243a187a5086948a14e65e74e
28
+ !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
29
+
30
+ .. |badge1| image:: https://img.shields.io/badge/maturity-Beta-yellow.png
31
+ :target: https://odoo-community.org/page/development-status
32
+ :alt: Beta
33
+ .. |badge2| image:: https://img.shields.io/badge/licence-AGPL--3-blue.png
34
+ :target: http://www.gnu.org/licenses/agpl-3.0-standalone.html
35
+ :alt: License: AGPL-3
36
+ .. |badge3| image:: https://img.shields.io/badge/github-OCA%2Fcommission-lightgray.png?logo=github
37
+ :target: https://github.com/OCA/commission/tree/16.0/sale_commission_product_criteria_domain
38
+ :alt: OCA/commission
39
+ .. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png
40
+ :target: https://translation.odoo-community.org/projects/commission-16-0/commission-16-0-sale_commission_product_criteria_domain
41
+ :alt: Translate me on Weblate
42
+ .. |badge5| image:: https://img.shields.io/badge/runboat-Try%20me-875A7B.png
43
+ :target: https://runboat.odoo-community.org/builds?repo=OCA/commission&target_branch=16.0
44
+ :alt: Try me on Runboat
45
+
46
+ |badge1| |badge2| |badge3| |badge4| |badge5|
47
+
48
+ This module allows to limit applied commission items for specific groups.
49
+
50
+ This module allows to manage the following commission structure use case:
51
+
52
+ Agent A receives commission 50 when selling product 1 to customer X
53
+
54
+ Agent A receives commission 20 when selling product 1 to customer Y
55
+
56
+ This implementation is based on pricelist-like Commission Type structure provided by sale_commission_product_criteria.
57
+
58
+ **Table of contents**
59
+
60
+ .. contents::
61
+ :local:
62
+
63
+ Usage
64
+ =====
65
+
66
+ Go to Commissions > Configuration > Commission Type Items Groups
67
+
68
+ Create one or more new Groups, eg. “Italy” and “Spain”
69
+
70
+ Create new Commission type, select type “Product Criteria (with restrictions)”, eg: “Southern Europe”
71
+
72
+ Add lines to Commission type; for each line one Group must be set, eg.
73
+
74
+ Product: Conference Chair, value: $20, group: Italy
75
+
76
+ Product: Conference Chair, value: $10, group: Spain
77
+
78
+
79
+ Go to Agent A, assign Commission type: “Southern Europe” > add “Allowed Commission Groups”: “Italy”, “Spain”
80
+
81
+ In this way, we are allowing Commission type lines for both “Spain” and “Italy” to be applied to this agent.
82
+
83
+ Go to customer X, set agent: “Agent A” > in table “Commission items group” set group “Spain”
84
+
85
+ Go to customer Y, set agent: “Agent A” > in table “Commission items group” set group “Italy”
86
+
87
+ On sales for customer X, only Commission type lines with group “Spain” will be applied to agent; on sales for customer Y, only Commission type lines with group “Italy” will be applied to agent.
88
+
89
+ Bug Tracker
90
+ ===========
91
+
92
+ Bugs are tracked on `GitHub Issues <https://github.com/OCA/commission/issues>`_.
93
+ In case of trouble, please check there if your issue has already been reported.
94
+ If you spotted it first, help us to smash it by providing a detailed and welcomed
95
+ `feedback <https://github.com/OCA/commission/issues/new?body=module:%20sale_commission_product_criteria_domain%0Aversion:%2016.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**>`_.
96
+
97
+ Do not contact contributors directly about support or help with technical issues.
98
+
99
+ Credits
100
+ =======
101
+
102
+ Authors
103
+ ~~~~~~~
104
+
105
+ * Ilyas
106
+ * Ooops404
107
+
108
+ Contributors
109
+ ~~~~~~~~~~~~
110
+
111
+ * `Ooops404 <https://www.ooops404.com>`__:
112
+
113
+ * Ilyas <irazor147@gmail.com>
114
+ * `Aion Tech <https://aiontech.company/>`_:
115
+
116
+ * Simone Rubino <simone.rubino@aion-tech.it>
117
+
118
+ Maintainers
119
+ ~~~~~~~~~~~
120
+
121
+ This module is maintained by the OCA.
122
+
123
+ .. image:: https://odoo-community.org/logo.png
124
+ :alt: Odoo Community Association
125
+ :target: https://odoo-community.org
126
+
127
+ OCA, or the Odoo Community Association, is a nonprofit organization whose
128
+ mission is to support the collaborative development of Odoo features and
129
+ promote its widespread use.
130
+
131
+ .. |maintainer-ilyasProgrammer| image:: https://github.com/ilyasProgrammer.png?size=40px
132
+ :target: https://github.com/ilyasProgrammer
133
+ :alt: ilyasProgrammer
134
+
135
+ Current `maintainer <https://odoo-community.org/page/maintainer-role>`__:
136
+
137
+ |maintainer-ilyasProgrammer|
138
+
139
+ This module is part of the `OCA/commission <https://github.com/OCA/commission/tree/16.0/sale_commission_product_criteria_domain>`_ project on GitHub.
140
+
141
+ You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.
142
+
143
+
@@ -0,0 +1,26 @@
1
+ odoo/addons/sale_commission_product_criteria_domain/README.rst,sha256=GHyoOwEKuZrvDR-C4vq_UGt6R-1fvuIzMMGZnNIB_rc,4815
2
+ odoo/addons/sale_commission_product_criteria_domain/__init__.py,sha256=X9EJGOE2GtZbS0G82PtSXmWSZ_R8jEM0rlJTDliQjp4,21
3
+ odoo/addons/sale_commission_product_criteria_domain/__manifest__.py,sha256=DBmhm8d3nx_5kxqIvHRKT-41CLmUj_xJjZ9WQpKBygQ,756
4
+ odoo/addons/sale_commission_product_criteria_domain/demo/demo_data.xml,sha256=Y7mgP_NPlkUzZKV6BIdlxtEQH1aq7vt2OJ7MGMWtp-Q,5541
5
+ odoo/addons/sale_commission_product_criteria_domain/i18n/it.po,sha256=WNPmZTOBV7QRXv575PAxh2-JdY4xpBkq9gIwlFceB6w,14614
6
+ odoo/addons/sale_commission_product_criteria_domain/i18n/sale_commission_product_criteria_domain.pot,sha256=lg-INIxe1wuWZIlQZP1Zae_fpZfhujRV9-aIU2x2EEo,11488
7
+ odoo/addons/sale_commission_product_criteria_domain/models/__init__.py,sha256=GL9H4x5YPGZ2l_HamCvC4X7TzLx2oUAFQ0BF51YRs3Q,196
8
+ odoo/addons/sale_commission_product_criteria_domain/models/account_invoice_line_agent.py,sha256=pJMiUbTpUmK4kCNYmC715jxzvyGos3XYJTOBsXTdiP4,966
9
+ odoo/addons/sale_commission_product_criteria_domain/models/commission.py,sha256=3sjU9mqTI7JL_eBNeJwTEqwRkqdrhBylq-UyP2h9bFs,3118
10
+ odoo/addons/sale_commission_product_criteria_domain/models/commission_group.py,sha256=A5TJi3NvQY5inbEVSHxlPQMcKvnZK37dbYIQ1bn9jZY,2380
11
+ odoo/addons/sale_commission_product_criteria_domain/models/partner.py,sha256=9p4dNQMFYAyuGsd2uva8gUNWLs53uPJUF7XWqiMlanc,2773
12
+ odoo/addons/sale_commission_product_criteria_domain/models/sale_commission_line_mixin.py,sha256=Wm0L02GDKczQbv1YWqSSeqJDdj12sT3SwlDjyVrJY8A,2306
13
+ odoo/addons/sale_commission_product_criteria_domain/models/sale_order_line_agent.py,sha256=7oc3pleAuXwfZ_klyphNF7FRgMPH3JgNEQsCawWTteA,988
14
+ odoo/addons/sale_commission_product_criteria_domain/readme/CONTRIBUTORS.rst,sha256=QY6T07gmiPvozyM8CAFJN6IQBD0SFtwghoDU5fLIIjA,168
15
+ odoo/addons/sale_commission_product_criteria_domain/readme/DESCRIPTION.rst,sha256=qsRXR_UvuOjbDPqTPItEm1gYwvJ0DvDbBCSG7R-zAXk,411
16
+ odoo/addons/sale_commission_product_criteria_domain/readme/USAGE.rst,sha256=CnL3oaHfNgAOItbFzGR25ZLDv3KVG-qdqQq7QHnHTD4,1086
17
+ odoo/addons/sale_commission_product_criteria_domain/security/ir.model.access.csv,sha256=-vtY9FSb3jQBI1HkDNVD0ej2Oy4AMkwCMnExdDkEXII,385
18
+ odoo/addons/sale_commission_product_criteria_domain/static/description/icon.png,sha256=6xBPJauaFOF0KDHfHgQopSc28kKvxMaeoQFQWZtfZDo,9455
19
+ odoo/addons/sale_commission_product_criteria_domain/static/description/index.html,sha256=9mohxqpj7vaRSoa9tGyXMeQQrwNQtr2LrzA25geVTmo,14590
20
+ odoo/addons/sale_commission_product_criteria_domain/tests/__init__.py,sha256=K_GPhvCh3bp_MHaPKdXSc0Wn5qBDFBUiMXKD5pQbc0E,59
21
+ odoo/addons/sale_commission_product_criteria_domain/tests/test_sale_commission_product_criteria_domain.py,sha256=hnsSbveqMGByUjs3i4IoGxHARWF4lYq5zODvdqSY7Gw,14967
22
+ odoo/addons/sale_commission_product_criteria_domain/views/views.xml,sha256=tidsdWjUfVy2pgMmmUFUzD1NrQFoKHC3B60uO0GHYw8,9168
23
+ odoo_addon_sale_commission_product_criteria_domain-16.0.1.0.0.3.dist-info/METADATA,sha256=MlNLBl8THs3UqyabGvc4JPf9O1rXkyOGWDbObWXqrYU,5470
24
+ odoo_addon_sale_commission_product_criteria_domain-16.0.1.0.0.3.dist-info/WHEEL,sha256=GJ7t_kWBFywbagK5eo9IoUwLW6oyOeTKmQ-9iHFVNxQ,92
25
+ odoo_addon_sale_commission_product_criteria_domain-16.0.1.0.0.3.dist-info/top_level.txt,sha256=qBj40grFkGOfDZ2WDSw3y1RnDlgG0u8rP8pvGNdbz4w,5
26
+ odoo_addon_sale_commission_product_criteria_domain-16.0.1.0.0.3.dist-info/RECORD,,
@@ -0,0 +1,5 @@
1
+ Wheel-Version: 1.0
2
+ Generator: bdist_wheel (0.43.0)
3
+ Root-Is-Purelib: true
4
+ Tag: py3-none-any
5
+