odoo-addon-account-commission 16.0.2.5.1__py3-none-any.whl → 16.0.2.5.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.
@@ -11,7 +11,7 @@ Account commissions
11
11
  !! This file is generated by oca-gen-addon-readme !!
12
12
  !! changes will be overwritten. !!
13
13
  !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
14
- !! source digest: sha256:1825dcf23d7918c9c037a196ef531c0f90d1dd71c67e4b8699835d3c2e6cb043
14
+ !! source digest: sha256:e2cf15163a12374d005f2c963c8e25f6c45c4420c9886d14ab7b47a4b5e05943
15
15
  !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
16
16
 
17
17
  .. |badge1| image:: https://img.shields.io/badge/maturity-Beta-yellow.png
@@ -46,6 +46,8 @@ This module depends on the commission module.
46
46
  Configuration
47
47
  =============
48
48
 
49
+ This module doesn't recompute past data.
50
+
49
51
  For selecting invoice status in commissions:
50
52
 
51
53
  #. Edit or create a new record to select the invoice status for settling the commissions.
@@ -1,3 +1,4 @@
1
1
  from . import models
2
2
  from . import wizards
3
3
  from . import report
4
+ from .hooks import pre_init_hook
@@ -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.5.1",
6
+ "version": "16.0.2.5.2",
7
7
  "author": "Tecnativa, Odoo Community Association (OCA)",
8
8
  "category": "Sales Management",
9
9
  "license": "AGPL-3",
@@ -25,5 +25,6 @@
25
25
  "wizards/wizard_invoice.xml",
26
26
  "wizards/commission_make_settle_views.xml",
27
27
  ],
28
+ "pre_init_hook": "pre_init_hook",
28
29
  "installable": True,
29
30
  }
@@ -0,0 +1,14 @@
1
+ # Copyright 2026 Moduon Team
2
+ # License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html).
3
+
4
+
5
+ def pre_init_hook(cr):
6
+ # Skip computation of commission_total and commission_free
7
+ cr.execute(
8
+ "ALTER TABLE account_move "
9
+ "ADD COLUMN IF NOT EXISTS commission_total numeric DEFAULT 0"
10
+ )
11
+ cr.execute(
12
+ "ALTER TABLE account_move_line "
13
+ "ADD COLUMN IF NOT EXISTS commission_free boolean DEFAULT false"
14
+ )
@@ -6,16 +6,15 @@ msgid ""
6
6
  msgstr ""
7
7
  "Project-Id-Version: Odoo Server 16.0\n"
8
8
  "Report-Msgid-Bugs-To: \n"
9
- "PO-Revision-Date: 2024-05-21 03:03+0000\n"
10
- "Last-Translator: Rodrigo Macedo <sottomaiormacedotec@users.noreply."
11
- "translation.odoo-community.org>\n"
9
+ "PO-Revision-Date: 2026-02-02 17:34+0000\n"
10
+ "Last-Translator: felipemotter <felipkin@gmail.com>\n"
12
11
  "Language-Team: none\n"
13
12
  "Language: pt_BR\n"
14
13
  "MIME-Version: 1.0\n"
15
14
  "Content-Type: text/plain; charset=UTF-8\n"
16
15
  "Content-Transfer-Encoding: \n"
17
16
  "Plural-Forms: nplurals=2; plural=n > 1;\n"
18
- "X-Generator: Weblate 4.17\n"
17
+ "X-Generator: Weblate 5.15.2\n"
19
18
 
20
19
  #. module: account_commission
21
20
  #: model:ir.model.fields,field_description:account_commission.field_invoice_commission_analysis_report__quantity
@@ -584,7 +583,7 @@ msgstr "Assistente para liquidar comissões"
584
583
  #: code:addons/account_commission/models/account_move.py:0
585
584
  #, python-format
586
585
  msgid "You can't cancel an invoice with settled lines"
587
- msgstr "Você não pode cancelar uma fatura com linhas liquidadas"
586
+ msgstr "Você não pode cancelar uma fatura com linhas de comissão liquidadas"
588
587
 
589
588
  #. module: account_commission
590
589
  #. odoo-python
@@ -1,3 +1,5 @@
1
+ This module doesn't recompute past data.
2
+
1
3
  For selecting invoice status in commissions:
2
4
 
3
5
  #. Edit or create a new record to select the invoice status for settling the commissions.
@@ -372,7 +372,7 @@ 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:1825dcf23d7918c9c037a196ef531c0f90d1dd71c67e4b8699835d3c2e6cb043
375
+ !! source digest: sha256:e2cf15163a12374d005f2c963c8e25f6c45c4420c9886d14ab7b47a4b5e05943
376
376
  !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! -->
377
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/commission/tree/16.0/account_commission"><img alt="OCA/commission" src="https://img.shields.io/badge/github-OCA%2Fcommission-lightgray.png?logo=github" /></a> <a class="reference external image-reference" href="https://translation.odoo-community.org/projects/commission-16-0/commission-16-0-account_commission"><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/commission&amp;target_branch=16.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 adds the function to calculate commissions in invoices (account moves).</p>
@@ -394,6 +394,7 @@ ul.auto-toc {
394
394
  </div>
395
395
  <div class="section" id="configuration">
396
396
  <h2><a class="toc-backref" href="#toc-entry-1">Configuration</a></h2>
397
+ <p>This module doesn’t recompute past data.</p>
397
398
  <p>For selecting invoice status in commissions:</p>
398
399
  <ol class="arabic simple">
399
400
  <li>Edit or create a new record to select the invoice status for settling the commissions.<ul>
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: odoo-addon-account_commission
3
- Version: 16.0.2.5.1
3
+ Version: 16.0.2.5.2
4
4
  Summary: Account commissions
5
5
  Home-page: https://github.com/OCA/commission
6
6
  Author: Tecnativa, Odoo Community Association (OCA)
@@ -27,7 +27,7 @@ Account commissions
27
27
  !! This file is generated by oca-gen-addon-readme !!
28
28
  !! changes will be overwritten. !!
29
29
  !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
30
- !! source digest: sha256:1825dcf23d7918c9c037a196ef531c0f90d1dd71c67e4b8699835d3c2e6cb043
30
+ !! source digest: sha256:e2cf15163a12374d005f2c963c8e25f6c45c4420c9886d14ab7b47a4b5e05943
31
31
  !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
32
32
 
33
33
  .. |badge1| image:: https://img.shields.io/badge/maturity-Beta-yellow.png
@@ -62,6 +62,8 @@ This module depends on the commission module.
62
62
  Configuration
63
63
  =============
64
64
 
65
+ This module doesn't recompute past data.
66
+
65
67
  For selecting invoice status in commissions:
66
68
 
67
69
  #. Edit or create a new record to select the invoice status for settling the commissions.
@@ -1,6 +1,7 @@
1
- odoo/addons/account_commission/README.rst,sha256=4Wj2KvymYweUOzy6TPXUUGS4RFfV-uVul5KmIBs58uo,6326
2
- odoo/addons/account_commission/__init__.py,sha256=8JG3SPnwMlgXTppOwkp3YTgDDQGo7U7veMEMpG1bL_c,64
3
- odoo/addons/account_commission/__manifest__.py,sha256=VXQpDV_JuVzzhvOtfC5XxDPSxgJaokTzwPAc-ubjwZk,945
1
+ odoo/addons/account_commission/README.rst,sha256=witlZQfT2M564W_Xd10JTQ8B7FgSkNaSszItKl35k9k,6368
2
+ odoo/addons/account_commission/__init__.py,sha256=GmnnvG67N0sYpgPrLK40YgojfgjFDhdtVZtj_SbmceA,97
3
+ odoo/addons/account_commission/__manifest__.py,sha256=Yzv4dIpURQqbEQ5Bx2zUJNWGB2AACDNJLq0O88LtRFM,983
4
+ odoo/addons/account_commission/hooks.py,sha256=cD_lmbs3w48kkS8bnzJSp8V90K90n2ct6McD376xrtQ,450
4
5
  odoo/addons/account_commission/data/menuitem_data.xml,sha256=OX8KpilSn3zWf9cMNiJLDO7aV_vtaH6GTIyMZWDxYqM,361
5
6
  odoo/addons/account_commission/i18n/account_commission.pot,sha256=SnF-9UtFGizmgRYJa8tPqjE5bDeigee_ESc0E83bJdw,22422
6
7
  odoo/addons/account_commission/i18n/es.po,sha256=kpHumZQByzaj0eNmQTz438eUvMBdLvy2Pmsk1-Csh4A,25783
@@ -9,13 +10,13 @@ odoo/addons/account_commission/i18n/hr.po,sha256=wK3zx_pQK_MdiMeMuf3pxz9ZURYjcd4
9
10
  odoo/addons/account_commission/i18n/it.po,sha256=r-Ja_jzrUfMI_98q0Vbh549wf9QRSL1bcfBf5Lc3Vv8,25372
10
11
  odoo/addons/account_commission/i18n/ja.po,sha256=iUs8C4E75ekXSsV8osB-BAn3ieDL8K3qDe6KayMS6ls,25121
11
12
  odoo/addons/account_commission/i18n/pt.po,sha256=I7Fm8AlHyDVZFYKxkYbUF--CY40xRPMwdnk-Fuxs1MI,24984
12
- odoo/addons/account_commission/i18n/pt_BR.po,sha256=-aTJVpwiQazpaU6l25w_cozfV6P_w_qYxXUppbKl95s,25295
13
+ odoo/addons/account_commission/i18n/pt_BR.po,sha256=JI77OvDW0Nfch8Iy5hUyz7p8Sm5eRaacAB_1wqow2lA,25259
13
14
  odoo/addons/account_commission/i18n/tr.po,sha256=9kHs3cenVzTjm-xpXN3R5iOwESHBKyUiUPt3dY_yvTQ,24787
14
15
  odoo/addons/account_commission/models/__init__.py,sha256=NAnZVtdmEwISK51Ipnoin5jHE3_bVPLsNghvuFcM3NI,88
15
16
  odoo/addons/account_commission/models/account_move.py,sha256=mueEa0ggihbON9o7KlOc3pcMYiJbyI8RK79dCSKA-Z4,9988
16
17
  odoo/addons/account_commission/models/commission.py,sha256=OHzmB5iH-h4oQf5JQGV4EFpNOkAHxC1_0-j0g-8nDXE,576
17
18
  odoo/addons/account_commission/models/commission_settlement.py,sha256=0E4xBJAUGyeAjDkhv4BwlpT4JigYDjOppfXuspynl4Q,7197
18
- odoo/addons/account_commission/readme/CONFIGURE.rst,sha256=vUEhtDTSXiZc88gXBuQZIcSkM3CbkmzQQwdVgJfnbSA,466
19
+ odoo/addons/account_commission/readme/CONFIGURE.rst,sha256=SEgVxPEBNJf3RQMIrrt8h3uzhQQZkBKTAfil6PAyIq0,508
19
20
  odoo/addons/account_commission/readme/CONTRIBUTORS.rst,sha256=Z8obkoMhHL_8ftRejdtx1bByqZJCUWVpQmSwAoAOtVQ,685
20
21
  odoo/addons/account_commission/readme/DESCRIPTION.rst,sha256=dLMZSNYGysvHiOC7Untw2leoCloADPLcrkIoE8FDEVI,208
21
22
  odoo/addons/account_commission/readme/USAGE.rst,sha256=kyhxu0d4eBImmEfJ4f-blVNPNByzArlsT9SIvLpQFqI,1798
@@ -26,7 +27,7 @@ odoo/addons/account_commission/security/account_commission_security.xml,sha256=p
26
27
  odoo/addons/account_commission/security/ir.model.access.csv,sha256=c0k8cFhVg1A4XCaUQ-mzJdLIotKKt1ltIYznK8ELhYE,883
27
28
  odoo/addons/account_commission/static/description/icon.png,sha256=ydxSIUuHSeE4CfMVsEzLjKKVdX4RicuPj8VGM2rBpBg,8219
28
29
  odoo/addons/account_commission/static/description/icon.svg,sha256=96b_cQ-F1XuDU6S5mDi9ioe0d22Vwn30uBDQ_3ZSi5w,17220
29
- odoo/addons/account_commission/static/description/index.html,sha256=n3_IvJwuqPIz2MXtlee2ze9jXfA4h0IMw5NNFW0s8QI,17391
30
+ odoo/addons/account_commission/static/description/index.html,sha256=xFv2F7qZCmD6ljl7J1pOPb0fkadAe-03-uzXRLfUd-c,17441
30
31
  odoo/addons/account_commission/tests/__init__.py,sha256=bxd564RH-TWEpEJWbbc558dPFEJZCsH9JM8JF3-PMUM,38
31
32
  odoo/addons/account_commission/tests/test_account_commission.py,sha256=sKAItw4ZUk8IC7pbqLU6y5f1oMgRAqoGhl924qozvcs,30029
32
33
  odoo/addons/account_commission/views/account_move_views.xml,sha256=N6PGXNMSxgpwaz5HtydDTRX0stu3QzTX5vBICCksP9s,6600
@@ -38,7 +39,7 @@ odoo/addons/account_commission/wizards/commission_make_settle.py,sha256=BTZIy9Z8
38
39
  odoo/addons/account_commission/wizards/commission_make_settle_views.xml,sha256=ONG4xseHOg3Ssy3ZBw-xgLDwPizulwNCWQfZGyuBFVE,528
39
40
  odoo/addons/account_commission/wizards/wizard_invoice.py,sha256=SumDW3606uLS4d6L2rKjQbwdvfmIYovKark-EUMTve0,3162
40
41
  odoo/addons/account_commission/wizards/wizard_invoice.xml,sha256=Afx90Mccl0EjLzZ2dJa2dOikYhWxIY5tQ7objmca8gc,2292
41
- odoo_addon_account_commission-16.0.2.5.1.dist-info/METADATA,sha256=bh8CFOneiYbxsHQabdnQEHmKoOTlm9DsjEqzRGtleYM,6890
42
- odoo_addon_account_commission-16.0.2.5.1.dist-info/WHEEL,sha256=tZoeGjtWxWRfdplE7E3d45VPlLNQnvbKiYnx7gwAy8A,92
43
- odoo_addon_account_commission-16.0.2.5.1.dist-info/top_level.txt,sha256=qBj40grFkGOfDZ2WDSw3y1RnDlgG0u8rP8pvGNdbz4w,5
44
- odoo_addon_account_commission-16.0.2.5.1.dist-info/RECORD,,
42
+ odoo_addon_account_commission-16.0.2.5.2.dist-info/METADATA,sha256=KXyixA5jOMZg5r6CWtUkiACb54o9LjieX9QiZTP89cI,6932
43
+ odoo_addon_account_commission-16.0.2.5.2.dist-info/WHEEL,sha256=tZoeGjtWxWRfdplE7E3d45VPlLNQnvbKiYnx7gwAy8A,92
44
+ odoo_addon_account_commission-16.0.2.5.2.dist-info/top_level.txt,sha256=qBj40grFkGOfDZ2WDSw3y1RnDlgG0u8rP8pvGNdbz4w,5
45
+ odoo_addon_account_commission-16.0.2.5.2.dist-info/RECORD,,