odoo-addon-contract 18.0.2.0.2.2__py3-none-any.whl → 18.0.2.0.3.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.
@@ -11,7 +11,7 @@ Recurring - Contracts Management
11
11
  !! This file is generated by oca-gen-addon-readme !!
12
12
  !! changes will be overwritten. !!
13
13
  !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
14
- !! source digest: sha256:1d2f3f08afe6210896c1b8f70875a81e7b6bbb161773ceade74b5a968b507e68
14
+ !! source digest: sha256:9b72fb3acf30a0292276da772c206196e78a80a091a9e7b6039534222c433fe6
15
15
  !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
16
16
 
17
17
  .. |badge1| image:: https://img.shields.io/badge/maturity-Production%2FStable-green.png
@@ -11,7 +11,7 @@
11
11
 
12
12
  {
13
13
  "name": "Recurring - Contracts Management",
14
- "version": "18.0.2.0.2",
14
+ "version": "18.0.2.0.3",
15
15
  "category": "Contract Management",
16
16
  "license": "AGPL-3",
17
17
  "author": "Tecnativa, ACSONE SA/NV, Odoo Community Association (OCA)",
@@ -0,0 +1,27 @@
1
+ # Copyright 2025 ForgeFlow S.L. (https://www.forgeflow.com)
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
+ env.cr.execute(
9
+ """
10
+ SELECT name
11
+ FROM ir_module_module
12
+ WHERE state='uninstalled' AND name IN (
13
+ 'contract_line_successor', 'contract_termination');"""
14
+ )
15
+ uninstalled_modules = [x[0] for x in env.cr.fetchall()]
16
+ no_update_xml_ids = {
17
+ "contract_line_successor": [
18
+ "contract_line_cron_for_renew",
19
+ ],
20
+ "contract_termination": [],
21
+ }
22
+ xmlids_spec = []
23
+ for new_module, moved_xml_ids in no_update_xml_ids.items():
24
+ if new_module in uninstalled_modules:
25
+ xmlids_spec.extend([f"{new_module}.{xml_id}" for xml_id in moved_xml_ids])
26
+ if xmlids_spec:
27
+ openupgrade.delete_records_safely_by_xml_id(env, xmlids_spec)
@@ -1,5 +1,5 @@
1
1
  # Copyright 2025 ACSONE SA/NV
2
- # License LGPL-3.0 or later (http://www.gnu.org/licenses/lgpl).
2
+ # License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).
3
3
  from openupgradelib import openupgrade
4
4
 
5
5
 
@@ -72,12 +72,14 @@ def migrate(env, version):
72
72
  env.cr, moved_model, "contract", new_module
73
73
  )
74
74
  all_moved_xml_ids = {
75
- "contract_line_successor": ["contract_line_wizard"],
75
+ "contract_line_successor": [
76
+ "contract_line_wizard",
77
+ "contract_line_cron_for_renew",
78
+ ],
76
79
  "contract_termination": [
77
80
  "contract_terminate_reason_access_manager",
78
81
  "contract_terminate_reason_access_user",
79
82
  "can_terminate_contract",
80
- "can_terminate_contract",
81
83
  "contract_contract_terminate_wizard",
82
84
  ],
83
85
  }
@@ -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:1d2f3f08afe6210896c1b8f70875a81e7b6bbb161773ceade74b5a968b507e68
375
+ !! source digest: sha256:9b72fb3acf30a0292276da772c206196e78a80a091a9e7b6039534222c433fe6
376
376
  !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! -->
377
377
  <p><a class="reference external image-reference" href="https://odoo-community.org/page/development-status"><img alt="Production/Stable" src="https://img.shields.io/badge/maturity-Production%2FStable-green.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/contract/tree/18.0/contract"><img alt="OCA/contract" src="https://img.shields.io/badge/github-OCA%2Fcontract-lightgray.png?logo=github" /></a> <a class="reference external image-reference" href="https://translation.odoo-community.org/projects/contract-18-0/contract-18-0-contract"><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/contract&amp;target_branch=18.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 enables contracts management with recurring invoicing
@@ -2,7 +2,6 @@ import {redirect} from "@web/core/utils/urls";
2
2
  import {registry} from "@web/core/registry";
3
3
 
4
4
  registry.category("web_tour.tours").add("contract_portal_tour", {
5
- test: true,
6
5
  url: "/my",
7
6
  wait_for: Promise.resolve(odoo.__TipTemplateDef),
8
7
  steps: () => [
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: odoo-addon-contract
3
- Version: 18.0.2.0.2.2
3
+ Version: 18.0.2.0.3.1
4
4
  Requires-Python: >=3.10
5
5
  Requires-Dist: odoo==18.0.*
6
6
  Summary: Recurring - Contracts Management
@@ -13,6 +13,7 @@ Classifier: Framework :: Odoo
13
13
  Classifier: Framework :: Odoo :: 18.0
14
14
  Classifier: License :: OSI Approved :: GNU Affero General Public License v3
15
15
  Classifier: Development Status :: 5 - Production/Stable
16
+ Description-Content-Type: text/x-rst
16
17
 
17
18
  .. image:: https://odoo-community.org/readme-banner-image
18
19
  :target: https://odoo-community.org/get-involved?utm_source=readme
@@ -27,7 +28,7 @@ Recurring - Contracts Management
27
28
  !! This file is generated by oca-gen-addon-readme !!
28
29
  !! changes will be overwritten. !!
29
30
  !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
30
- !! source digest: sha256:1d2f3f08afe6210896c1b8f70875a81e7b6bbb161773ceade74b5a968b507e68
31
+ !! source digest: sha256:9b72fb3acf30a0292276da772c206196e78a80a091a9e7b6039534222c433fe6
31
32
  !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
32
33
 
33
34
  .. |badge1| image:: https://img.shields.io/badge/maturity-Production%2FStable-green.png
@@ -1,6 +1,6 @@
1
- odoo/addons/contract/README.rst,sha256=sZ_7pB2hpee2D7vOrQxguWAWph3aooDVJnPvJ-zQvkk,6176
1
+ odoo/addons/contract/README.rst,sha256=S7dUjeLjXPYrYgCwtW8UzeGMF3D9RAoxl4XGM_3_wyU,6176
2
2
  odoo/addons/contract/__init__.py,sha256=dnUeA_K1torbiMNF3tt2dtECdk-FkWm01DByr9MBMIA,69
3
- odoo/addons/contract/__manifest__.py,sha256=3KwMZpCqJS_RmaVUJ_2L6MR4FuRZVz6LO0EUard0Yxs,1777
3
+ odoo/addons/contract/__manifest__.py,sha256=NvbdOGZW9J5lTdv_UMDVUfxAuhFTs6dOFq3TLh6Fx8I,1777
4
4
  odoo/addons/contract/controllers/__init__.py,sha256=ZAYSY9pxyJjumL2QVLuxqtBzjLwKPiQsVXMBAWvNGGY,85
5
5
  odoo/addons/contract/controllers/main.py,sha256=5C-WzZ6zPWeea-Kb0U01a1yNCtcn29iZeoc9hjkODa4,3676
6
6
  odoo/addons/contract/data/contract_cron.xml,sha256=yYTdn4fmIU5zsfFEgx-H_55M9nwc0WfJ3Q6ufxQKPt8,549
@@ -79,7 +79,8 @@ odoo/addons/contract/i18n/vi.po,sha256=G7gdn9JFUewWD-l7GK4BLG77aie-DJZwnRYe71613
79
79
  odoo/addons/contract/i18n/vi_VN.po,sha256=TQqbLu9WHBiNf6ZIJd9ZoacCAvecnmSWmXk3qt6ACtU,65406
80
80
  odoo/addons/contract/i18n/zh_CN.po,sha256=XmxZwjUNajNXAL3Bd8dTA68ZKQC6RI0vN0Po1been9Q,85410
81
81
  odoo/addons/contract/i18n/zh_TW.po,sha256=gWt8pi0EhoTI2SJOK38Eg1osdYmrzJUx-Uv5_b806Bs,65741
82
- odoo/addons/contract/migrations/18.0.2.0.0/pre-migrate.py,sha256=awZXi8XyneqDd2kM5pBRXFPVzmrBmFjF56W_XnlM3UI,3255
82
+ odoo/addons/contract/migrations/18.0.2.0.0/end-migrate.py,sha256=s_GpzVjPnsjV1_oz_09yMf0TFHWYWBeakuz5AP0J248,946
83
+ odoo/addons/contract/migrations/18.0.2.0.0/pre-migrate.py,sha256=ywaZcxy-bxj2MRikk9ARlf_yIVHu0_5cpP6t75zS80c,3284
83
84
  odoo/addons/contract/models/__init__.py,sha256=n3UpKXb_Oi-2ebHho6pWrd6kw_cMK6GG1E3fl7ey_zc,372
84
85
  odoo/addons/contract/models/account_move.py,sha256=QdSF_E5cifIgOiPiZ1PKXxuA5y9y4PC-kkUurDdGKo4,387
85
86
  odoo/addons/contract/models/account_move_line.py,sha256=X-GJ66Q_6BySwImRLMpFxgIqfhsOaEUb6xLSQveB0uc,396
@@ -102,9 +103,9 @@ odoo/addons/contract/security/contract_security.xml,sha256=HZuxPZMX-EMf8QtXdwbnL
102
103
  odoo/addons/contract/security/contract_tag.xml,sha256=cetorNv2M6tHKHcnfwUeX85EZyT3tpoBLF8W-XZ7sK8,890
103
104
  odoo/addons/contract/security/ir.model.access.csv,sha256=icelaOGF35WgUrxB2l18IVfcUNlPuJnzy4LG676_zt0,1569
104
105
  odoo/addons/contract/static/description/icon.png,sha256=6xBPJauaFOF0KDHfHgQopSc28kKvxMaeoQFQWZtfZDo,9455
105
- odoo/addons/contract/static/description/index.html,sha256=4ZZhPJQeGZEBmyWlcNkVtEyfeotRVF8MJdePBNwPIYo,17445
106
+ odoo/addons/contract/static/description/index.html,sha256=P_kWj0S0Y-sPf7qxYYBV-JfcLE2AhiHMywDAj2VCu8Y,17445
106
107
  odoo/addons/contract/static/src/img/contract_icon.svg,sha256=2IFs70Oy9WtE9of2SO4Vj08mwzcw-I5s_LL3UvtKlus,9643
107
- odoo/addons/contract/static/src/js/contract_portal_tour.esm.js,sha256=3aGfBCgWzjDY00g-UieWuooSFFV9vH96j4_bC7fZlqM,605
108
+ odoo/addons/contract/static/src/js/contract_portal_tour.esm.js,sha256=ULRzpiiKOhvKx0P-SBoMVBJzGtOQfi70yf2-1djxFuk,589
108
109
  odoo/addons/contract/static/src/screenshots/portal-detail.png,sha256=8pMCU4nqwnSM-rbWZd3iJxXdYLBiYzuWNvT_NKslcoo,113399
109
110
  odoo/addons/contract/static/src/screenshots/portal-list.png,sha256=gWSW4rlncFZemG9i0xvyqGHLxoJ6Ew9RhXw4EXQqTZY,24905
110
111
  odoo/addons/contract/static/src/screenshots/portal-my.png,sha256=YrtvTDjoc839Eka5zSZ8FQhtzoMEeW4FrXGrYAwAkS4,22985
@@ -125,7 +126,7 @@ odoo/addons/contract/views/res_partner_view.xml,sha256=v7RAxXm0japPQeOsf2zLgieZH
125
126
  odoo/addons/contract/wizards/__init__.py,sha256=ZSirPz2XSS6FGPESnPJHqIJamHdHrdL7j2oYu_kglTs,47
126
127
  odoo/addons/contract/wizards/contract_manually_create_invoice.py,sha256=LIOStLcchRqOeRbHCPnEmrEj1c9_8BSW6HixsBmU57Y,2986
127
128
  odoo/addons/contract/wizards/contract_manually_create_invoice.xml,sha256=JPgtH9mDP74PhTgsJ0lZ1zmn8P3WWRRKp9QUWn38W-4,3730
128
- odoo_addon_contract-18.0.2.0.2.2.dist-info/METADATA,sha256=D1cBsqgKeJ4rHftvtTlWCukmy2IY2O3dVB29VIWBHi4,6750
129
- odoo_addon_contract-18.0.2.0.2.2.dist-info/WHEEL,sha256=9fEMia4zL7ZuZbnCOrcYogUhmn4XFIVaJ8G4YGI31xc,81
130
- odoo_addon_contract-18.0.2.0.2.2.dist-info/top_level.txt,sha256=QE6RBQ0QX5f4eFuUcGgU5Kbq1A_qJcDs-e_vpr6pmfU,4
131
- odoo_addon_contract-18.0.2.0.2.2.dist-info/RECORD,,
129
+ odoo_addon_contract-18.0.2.0.3.1.dist-info/METADATA,sha256=hW88vBiXLXXGM_yrHtZ5VOz1kovcjyThFd3ZIBCHsvU,6787
130
+ odoo_addon_contract-18.0.2.0.3.1.dist-info/WHEEL,sha256=9fEMia4zL7ZuZbnCOrcYogUhmn4XFIVaJ8G4YGI31xc,81
131
+ odoo_addon_contract-18.0.2.0.3.1.dist-info/top_level.txt,sha256=QE6RBQ0QX5f4eFuUcGgU5Kbq1A_qJcDs-e_vpr6pmfU,4
132
+ odoo_addon_contract-18.0.2.0.3.1.dist-info/RECORD,,