odoo-addon-account-commission 15.0.3.3.0__py3-none-any.whl → 15.0.3.3.0.1__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.
@@ -0,0 +1,19 @@
1
+ # Copyright 2024 Tecnativa - Pedro M. Baeza
2
+ # License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).
3
+ from openupgradelib import openupgrade
4
+
5
+
6
+ @openupgrade.migrate()
7
+ def migrate(env, version):
8
+ """Fill new invoice_agent_line_id many2one from the old many2many agent_line
9
+ equivalent table. This table always contain only one record on standard use.
10
+ """
11
+ openupgrade.logged_query(
12
+ env.cr,
13
+ """
14
+ UPDATE commission_settlement_line csl
15
+ SET invoice_agent_line_id = agent_line_id
16
+ FROM settlement_agent_line_rel rel
17
+ WHERE rel.settlement_id = csl.id
18
+ """,
19
+ )
@@ -1,12 +1,11 @@
1
1
  Metadata-Version: 2.1
2
- Name: odoo-addon-account-commission
3
- Version: 15.0.3.3.0
2
+ Name: odoo-addon-account_commission
3
+ Version: 15.0.3.3.0.1
4
4
  Summary: Account commissions
5
5
  Home-page: https://github.com/OCA/commission
6
6
  Author: Tecnativa, Odoo Community Association (OCA)
7
7
  Author-email: support@odoo-community.org
8
8
  License: AGPL-3
9
- Platform: UNKNOWN
10
9
  Classifier: Programming Language :: Python
11
10
  Classifier: Framework :: Odoo
12
11
  Classifier: Framework :: Odoo :: 15.0
@@ -176,5 +175,3 @@ Current `maintainer <https://odoo-community.org/page/maintainer-role>`__:
176
175
  This module is part of the `OCA/commission <https://github.com/OCA/commission/tree/15.0/account_commission>`_ project on GitHub.
177
176
 
178
177
  You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.
179
-
180
-
@@ -5,6 +5,7 @@ odoo/addons/account_commission/data/menuitem_data.xml,sha256=OX8KpilSn3zWf9cMNiJ
5
5
  odoo/addons/account_commission/i18n/account_commission.pot,sha256=xIGxWuQUMHF44VsPgaMyCpwxI3b4t97uK5bcPkoMITs,21893
6
6
  odoo/addons/account_commission/i18n/es.po,sha256=Ax2Uo2zrYXsaS1YkMySHDGmBfYyQGqMyIjXr3GuJ_P0,24736
7
7
  odoo/addons/account_commission/i18n/ja.po,sha256=ry3KLF4mKnN8qZBXL4Spty6vBs9NF8oc1m6u8YRwh7I,24539
8
+ odoo/addons/account_commission/migrations/15.0.2.0.0/post-migration.py,sha256=6jR095CURI5kZiKYkEmQqJZTGaomu_6WOqF88t7wA8I,626
8
9
  odoo/addons/account_commission/models/__init__.py,sha256=NAnZVtdmEwISK51Ipnoin5jHE3_bVPLsNghvuFcM3NI,88
9
10
  odoo/addons/account_commission/models/account_move.py,sha256=wPUjxq86pW93ILQdf5UR4IuwIQanUjvv9Ks-TFCSz4E,9326
10
11
  odoo/addons/account_commission/models/commission.py,sha256=OHzmB5iH-h4oQf5JQGV4EFpNOkAHxC1_0-j0g-8nDXE,576
@@ -31,7 +32,7 @@ odoo/addons/account_commission/wizards/__init__.py,sha256=ddwjnl0fpZTw56iNQmRcDJ
31
32
  odoo/addons/account_commission/wizards/commission_make_settle.py,sha256=Me1_y1AtiUU4KnxAHFsyBmZW_5XqCc6cH6Xr08lx8ik,1543
32
33
  odoo/addons/account_commission/wizards/wizard_invoice.py,sha256=Aga0kHWTtd5F7GehmRrqfwDaFkMlPXVIzEA0jlWTDiE,3259
33
34
  odoo/addons/account_commission/wizards/wizard_invoice.xml,sha256=QDGpFCICqhAu6uO7ksQihj0UPGxuQL7MeE3mNx4Xy_A,2161
34
- odoo_addon_account_commission-15.0.3.3.0.dist-info/METADATA,sha256=DEwcGqmyixduLb4s3YWXkxibeVof1cfOAjscpo85vLY,6684
35
- odoo_addon_account_commission-15.0.3.3.0.dist-info/WHEEL,sha256=GJ7t_kWBFywbagK5eo9IoUwLW6oyOeTKmQ-9iHFVNxQ,92
36
- odoo_addon_account_commission-15.0.3.3.0.dist-info/top_level.txt,sha256=qBj40grFkGOfDZ2WDSw3y1RnDlgG0u8rP8pvGNdbz4w,5
37
- odoo_addon_account_commission-15.0.3.3.0.dist-info/RECORD,,
35
+ odoo_addon_account_commission-15.0.3.3.0.1.dist-info/METADATA,sha256=DeSct7QzGiPvEaWIhaU5LZGI0Q2Xxcdhr0vkbKHMUzI,6666
36
+ odoo_addon_account_commission-15.0.3.3.0.1.dist-info/WHEEL,sha256=GJ7t_kWBFywbagK5eo9IoUwLW6oyOeTKmQ-9iHFVNxQ,92
37
+ odoo_addon_account_commission-15.0.3.3.0.1.dist-info/top_level.txt,sha256=qBj40grFkGOfDZ2WDSw3y1RnDlgG0u8rP8pvGNdbz4w,5
38
+ odoo_addon_account_commission-15.0.3.3.0.1.dist-info/RECORD,,