odoo-addon-account-commission 16.0.2.4.0.1__py3-none-any.whl → 17.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.
Files changed (33) hide show
  1. odoo/addons/account_commission/README.rst +71 -63
  2. odoo/addons/account_commission/__manifest__.py +1 -1
  3. odoo/addons/account_commission/i18n/account_commission.pot +7 -17
  4. odoo/addons/account_commission/i18n/es.po +57 -69
  5. odoo/addons/account_commission/i18n/hr.po +1 -2
  6. odoo/addons/account_commission/i18n/it.po +32 -27
  7. odoo/addons/account_commission/i18n/ja.po +99 -100
  8. odoo/addons/account_commission/i18n/pt.po +53 -54
  9. odoo/addons/account_commission/i18n/pt_BR.po +53 -54
  10. odoo/addons/account_commission/models/account_move.py +2 -29
  11. odoo/addons/account_commission/models/commission.py +1 -1
  12. odoo/addons/account_commission/models/commission_settlement.py +1 -1
  13. odoo/addons/account_commission/readme/CONFIGURE.md +8 -0
  14. odoo/addons/account_commission/readme/CONTRIBUTORS.md +21 -0
  15. odoo/addons/account_commission/readme/{DESCRIPTION.rst → DESCRIPTION.md} +4 -2
  16. odoo/addons/account_commission/readme/USAGE.md +38 -0
  17. odoo/addons/account_commission/security/account_commission_security.xml +4 -0
  18. odoo/addons/account_commission/static/description/index.html +38 -29
  19. odoo/addons/account_commission/tests/test_account_commission.py +1 -163
  20. odoo/addons/account_commission/views/account_move_views.xml +19 -36
  21. odoo/addons/account_commission/views/commission_settlement_views.xml +4 -4
  22. odoo/addons/account_commission/views/commission_views.xml +1 -1
  23. odoo/addons/account_commission/views/report_settlement_templates.xml +8 -14
  24. odoo/addons/account_commission/wizards/wizard_invoice.xml +1 -4
  25. {odoo_addon_account_commission-16.0.2.4.0.1.dist-info → odoo_addon_account_commission-17.0.1.0.0.2.dist-info}/METADATA +78 -73
  26. odoo_addon_account_commission-17.0.1.0.0.2.dist-info/RECORD +41 -0
  27. {odoo_addon_account_commission-16.0.2.4.0.1.dist-info → odoo_addon_account_commission-17.0.1.0.0.2.dist-info}/WHEEL +1 -1
  28. odoo_addon_account_commission-17.0.1.0.0.2.dist-info/top_level.txt +1 -0
  29. odoo/addons/account_commission/readme/CONFIGURE.rst +0 -8
  30. odoo/addons/account_commission/readme/CONTRIBUTORS.rst +0 -25
  31. odoo/addons/account_commission/readme/USAGE.rst +0 -37
  32. odoo_addon_account_commission-16.0.2.4.0.1.dist-info/RECORD +0 -41
  33. odoo_addon_account_commission-16.0.2.4.0.1.dist-info/top_level.txt +0 -1
@@ -7,7 +7,7 @@ Account commissions
7
7
  !! This file is generated by oca-gen-addon-readme !!
8
8
  !! changes will be overwritten. !!
9
9
  !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
10
- !! source digest: sha256:8ba2b2321dee20dece1882cb3f664fb78a27b4fbccb785d1f5410b7d009889c6
10
+ !! source digest: sha256:0fb13edf183d9d1ecf7c4415929fabd687f91bd51e719c0e149a7148c57da4ef
11
11
  !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
12
12
 
13
13
  .. |badge1| image:: https://img.shields.io/badge/maturity-Beta-yellow.png
@@ -17,20 +17,22 @@ Account commissions
17
17
  :target: http://www.gnu.org/licenses/agpl-3.0-standalone.html
18
18
  :alt: License: AGPL-3
19
19
  .. |badge3| image:: https://img.shields.io/badge/github-OCA%2Fcommission-lightgray.png?logo=github
20
- :target: https://github.com/OCA/commission/tree/16.0/account_commission
20
+ :target: https://github.com/OCA/commission/tree/17.0/account_commission
21
21
  :alt: OCA/commission
22
22
  .. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png
23
- :target: https://translation.odoo-community.org/projects/commission-16-0/commission-16-0-account_commission
23
+ :target: https://translation.odoo-community.org/projects/commission-17-0/commission-17-0-account_commission
24
24
  :alt: Translate me on Weblate
25
25
  .. |badge5| image:: https://img.shields.io/badge/runboat-Try%20me-875A7B.png
26
- :target: https://runboat.odoo-community.org/builds?repo=OCA/commission&target_branch=16.0
26
+ :target: https://runboat.odoo-community.org/builds?repo=OCA/commission&target_branch=17.0
27
27
  :alt: Try me on Runboat
28
28
 
29
29
  |badge1| |badge2| |badge3| |badge4| |badge5|
30
30
 
31
- This module adds the function to calculate commissions in invoices (account moves).
31
+ This module adds the function to calculate commissions in invoices
32
+ (account moves).
32
33
 
33
- It also allows to create vendor bills from settlements for external agents.
34
+ It also allows to create vendor bills from settlements for external
35
+ agents.
34
36
 
35
37
  This module depends on the commission module.
36
38
 
@@ -44,53 +46,56 @@ Configuration
44
46
 
45
47
  For selecting invoice status in commissions:
46
48
 
47
- #. Edit or create a new record to select the invoice status for settling the commissions.
49
+ 1. Edit or create a new record to select the invoice status for settling
50
+ the commissions.
48
51
 
49
- * **Invoice Based**: Commissions are settled when the invoice is issued.
50
- * **Payment Based**: Commissions are settled when the invoice is paid or refunded.
51
- Note that when refunding an invoice, the corresponding reversed commission will
52
- be settled as well, resulting in a 0 net commission between both operations.
52
+ - **Invoice Based**: Commissions are settled when the invoice is
53
+ issued.
54
+ - **Payment Based**: Commissions are settled when the invoice is
55
+ paid.
53
56
 
54
57
  Usage
55
58
  =====
56
59
 
57
60
  For adding commissions on invoices:
58
61
 
59
- #. Go to *Invoicing > Customers > Invoices*.
60
- #. Edit or create a new record.
61
- #. When you have selected a partner, each new invoice line you add will have
62
- the agents and commissions set at customer level.
63
- #. You can add, modify or delete these agents discretely clicking on the
64
- icon with several persons represented, next to the "Commission" field in the
65
- list. This icon will be available only if the line hasn't been invoiced yet.
66
- #. If you have configured your system for editing lines in a popup window,
67
- agents will appear also in this window.
68
- #. The agents icon will be in this ocassion visible when the line hasn't been
69
- settled.
70
- #. You have a button "Regenerate agents" on the bottom of the page
71
- "Invoice Lines" for forcing a recompute of all agents from the partner setup.
72
- This is needed for example when you have changed the partner on the
73
- invoice having already inserted lines.
62
+ 1. Go to *Invoicing > Customers > Invoices*.
63
+ 2. Edit or create a new record.
64
+ 3. When you have selected a partner, each new invoice line you add will
65
+ have the agents and commissions set at customer level.
66
+ 4. You can add, modify or delete these agents discretely clicking on the
67
+ icon with several persons represented, next to the "Commission" field
68
+ in the list. This icon will be available only if the line hasn't been
69
+ invoiced yet.
70
+ 5. If you have configured your system for editing lines in a popup
71
+ window, agents will appear also in this window.
72
+ 6. The agents icon will be in this ocassion visible when the line hasn't
73
+ been settled.
74
+ 7. You have a button "Regenerate agents" on the bottom of the page
75
+ "Invoice Lines" for forcing a recompute of all agents from the
76
+ partner setup. This is needed for example when you have changed the
77
+ partner on the invoice having already inserted lines.
74
78
 
75
79
  For invoicing the settlements (only for external agents):
76
80
 
77
- #. Go to *Invoicing > Commissions > Create Commission Invoices*.
78
- #. On the window that appears, you can select following data:
81
+ 1. Go to *Invoicing > Commissions > Create Commission Invoices*.
82
+ 2. On the window that appears, you can select following data:
79
83
 
80
- * Product. It should be a service product for being coherent.
81
- * Journal: To be selected between existing purchase journals.
82
- * Date: If you want to choose a specific invoice date. You can leave it
83
- blank if you prefer.
84
- * Settlements: For selecting specific settlements to invoice. You can leave
85
- it blank as well for invoicing all the pending settlements.
84
+ - Product. It should be a service product for being coherent.
85
+ - Journal: To be selected between existing purchase journals.
86
+ - Date: If you want to choose a specific invoice date. You can leave
87
+ it blank if you prefer.
88
+ - Settlements: For selecting specific settlements to invoice. You
89
+ can leave it blank as well for invoicing all the pending
90
+ settlements.
86
91
 
87
92
  If you want to invoice a/some specific settlement/s:
88
93
 
89
- #. Navigate to *Invoicing > Commissions > Invoices Settlements*.
90
- #. Select it/them on the list.
91
- #. Click on *Action > Create Commission Invoices*.
92
- #. You can as well enter in one settlement, and click on the "Make invoice"
93
- button.
94
+ 1. Navigate to *Invoicing > Commissions > Invoices Settlements*.
95
+ 2. Select it/them on the list.
96
+ 3. Click on *Action > Create Commission Invoices*.
97
+ 4. You can as well enter in one settlement, and click on the "Make
98
+ invoice" button.
94
99
 
95
100
  Bug Tracker
96
101
  ===========
@@ -98,7 +103,7 @@ Bug Tracker
98
103
  Bugs are tracked on `GitHub Issues <https://github.com/OCA/commission/issues>`_.
99
104
  In case of trouble, please check there if your issue has already been reported.
100
105
  If you spotted it first, help us to smash it by providing a detailed and welcomed
101
- `feedback <https://github.com/OCA/commission/issues/new?body=module:%20account_commission%0Aversion:%2016.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**>`_.
106
+ `feedback <https://github.com/OCA/commission/issues/new?body=module:%20account_commission%0Aversion:%2017.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**>`_.
102
107
 
103
108
  Do not contact contributors directly about support or help with technical issues.
104
109
 
@@ -106,41 +111,44 @@ Credits
106
111
  =======
107
112
 
108
113
  Authors
109
- ~~~~~~~
114
+ -------
110
115
 
111
116
  * Tecnativa
112
117
 
113
118
  Contributors
114
- ~~~~~~~~~~~~
119
+ ------------
115
120
 
116
- * Pexego.
117
- * Davide Corio <davide.corio@domsense.com>
118
- * Joao Alfredo Gama Batista <joao.gama@savoirfairelinux.com>
119
- * Sandy Carter <sandy.carter@savoirfairelinux.com>
120
- * Giorgio Borelli <giorgio.borelli@abstract.it>
121
- * Daniel Campos <danielcampos@avanzosc.es>
122
- * Oihane Crucelaegui <oihanecruce@gmail.com>
123
- * Nicola Malcontenti <nicola.malcontenti@agilebg.com>
124
- * Aitor Bouzas <aitor.bouzas@adaptivecity.com>
125
- * Alexei Rivera <arivera@archeti.com>
121
+ - Pexego.
122
+ - Davide Corio <davide.corio@domsense.com>
123
+ - Joao Alfredo Gama Batista <joao.gama@savoirfairelinux.com>
124
+ - Sandy Carter <sandy.carter@savoirfairelinux.com>
125
+ - Giorgio Borelli <giorgio.borelli@abstract.it>
126
+ - Daniel Campos <danielcampos@avanzosc.es>
127
+ - Oihane Crucelaegui <oihanecruce@gmail.com>
128
+ - Nicola Malcontenti <nicola.malcontenti@agilebg.com>
129
+ - Aitor Bouzas <aitor.bouzas@adaptivecity.com>
130
+ - Alexei Rivera <arivera@archeti.com>
131
+ - Mina Samir <minaw349@outlook.com>
132
+ - `Tecnativa <https://www.tecnativa.com>`__:
126
133
 
127
- * `Tecnativa <https://www.tecnativa.com>`__:
134
+ - Pedro M. Baeza
135
+ - Manuel Calero
128
136
 
129
- * Pedro M. Baeza
130
- * Manuel Calero
131
- * Sergio Teruel
137
+ - `Quartile <https://www.quartile.co>`__:
132
138
 
133
- * `Quartile <https://www.quartile.co>`__:
139
+ - Aung Ko Ko Lin
140
+ - Yoshi Tashiro
134
141
 
135
- * Aung Ko Ko Lin
136
- * Yoshi Tashiro
142
+ - `Studio73 <https://www.studio73.es>`__:
137
143
 
138
- * `Studio73 <https://www.studio73.es>`__:
144
+ - Ethan Hildick
139
145
 
140
- * Ethan Hildick
146
+ - `Sygel <https://www.sygel.es>`__:
147
+
148
+ - Alberto Martínez
141
149
 
142
150
  Maintainers
143
- ~~~~~~~~~~~
151
+ -----------
144
152
 
145
153
  This module is maintained by the OCA.
146
154
 
@@ -160,6 +168,6 @@ Current `maintainer <https://odoo-community.org/page/maintainer-role>`__:
160
168
 
161
169
  |maintainer-pedrobaeza|
162
170
 
163
- This module is part of the `OCA/commission <https://github.com/OCA/commission/tree/16.0/account_commission>`_ project on GitHub.
171
+ This module is part of the `OCA/commission <https://github.com/OCA/commission/tree/17.0/account_commission>`_ project on GitHub.
164
172
 
165
173
  You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.
@@ -3,7 +3,7 @@
3
3
  # Copyright 2014-2022 Tecnativa - Pedro M. Baeza
4
4
  {
5
5
  "name": "Account commissions",
6
- "version": "16.0.2.4.0",
6
+ "version": "17.0.1.0.0",
7
7
  "author": "Tecnativa, Odoo Community Association (OCA)",
8
8
  "category": "Sales Management",
9
9
  "license": "AGPL-3",
@@ -4,7 +4,7 @@
4
4
  #
5
5
  msgid ""
6
6
  msgstr ""
7
- "Project-Id-Version: Odoo Server 16.0\n"
7
+ "Project-Id-Version: Odoo Server 17.0\n"
8
8
  "Report-Msgid-Bugs-To: \n"
9
9
  "Last-Translator: \n"
10
10
  "Language-Team: \n"
@@ -59,7 +59,6 @@ msgstr ""
59
59
 
60
60
  #. module: account_commission
61
61
  #: model:ir.model.fields,field_description:account_commission.field_invoice_commission_analysis_report__amount
62
- #: model_terms:ir.ui.view,arch_db:account_commission.report_settlement_document
63
62
  msgid "Amount"
64
63
  msgstr ""
65
64
 
@@ -173,7 +172,6 @@ msgid "Currency"
173
172
  msgstr ""
174
173
 
175
174
  #. module: account_commission
176
- #: model_terms:ir.ui.view,arch_db:account_commission.report_settlement_document
177
175
  #: model_terms:ir.ui.view,arch_db:account_commission.view_invoice_commission_analysis_search
178
176
  msgid "Customer"
179
177
  msgstr ""
@@ -183,11 +181,6 @@ msgstr ""
183
181
  msgid "Date"
184
182
  msgstr ""
185
183
 
186
- #. module: account_commission
187
- #: model_terms:ir.ui.view,arch_db:account_commission.report_settlement_document
188
- msgid "Description"
189
- msgstr ""
190
-
191
184
  #. module: account_commission
192
185
  #: model:ir.model.fields,field_description:account_commission.field_account_invoice_line_agent__display_name
193
186
  #: model:ir.model.fields,field_description:account_commission.field_commission_make_invoice__display_name
@@ -244,7 +237,6 @@ msgstr ""
244
237
 
245
238
  #. module: account_commission
246
239
  #: model:ir.model.fields,field_description:account_commission.field_account_invoice_line_agent__invoice_id
247
- #: model_terms:ir.ui.view,arch_db:account_commission.report_settlement_document
248
240
  msgid "Invoice"
249
241
  msgstr ""
250
242
 
@@ -294,6 +286,11 @@ msgstr ""
294
286
  msgid "Invoice exception"
295
287
  msgstr ""
296
288
 
289
+ #. module: account_commission
290
+ #: model_terms:ir.ui.view,arch_db:account_commission.report_settlement_document
291
+ msgid "Invoice line"
292
+ msgstr ""
293
+
297
294
  #. module: account_commission
298
295
  #: model:ir.model.fields.selection,name:account_commission.selection__commission_settlement__state__invoiced
299
296
  #: model_terms:ir.ui.view,arch_db:account_commission.view_invoice_commission_analysis_search
@@ -321,13 +318,6 @@ msgstr ""
321
318
  msgid "Journal Item"
322
319
  msgstr ""
323
320
 
324
- #. module: account_commission
325
- #: model:ir.model.fields,field_description:account_commission.field_account_invoice_line_agent____last_update
326
- #: model:ir.model.fields,field_description:account_commission.field_commission_make_invoice____last_update
327
- #: model:ir.model.fields,field_description:account_commission.field_invoice_commission_analysis_report____last_update
328
- msgid "Last Modified on"
329
- msgstr ""
330
-
331
321
  #. module: account_commission
332
322
  #: model:ir.model.fields,field_description:account_commission.field_account_invoice_line_agent__write_uid
333
323
  #: model:ir.model.fields,field_description:account_commission.field_commission_make_invoice__write_uid
@@ -439,7 +429,7 @@ msgstr ""
439
429
  msgid ""
440
430
  "Select the invoice status for settling the commissions:\n"
441
431
  "* 'Invoice Based': Commissions are settled when the invoice is issued.\n"
442
- "* 'Payment Based': Commissions are settled when the invoice is paid (or refunded)."
432
+ "* 'Payment Based': Commissions are settled when the invoice is paid."
443
433
  msgstr ""
444
434
 
445
435
  #. module: account_commission