odoo-addon-contract 18.0.2.0.5__py3-none-any.whl → 18.0.2.0.7__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.
- odoo/addons/contract/README.rst +1 -1
- odoo/addons/contract/__manifest__.py +1 -1
- odoo/addons/contract/models/contract.py +4 -1
- odoo/addons/contract/static/description/index.html +1 -1
- odoo/addons/contract/tests/test_contract.py +5 -1
- {odoo_addon_contract-18.0.2.0.5.dist-info → odoo_addon_contract-18.0.2.0.7.dist-info}/METADATA +2 -2
- {odoo_addon_contract-18.0.2.0.5.dist-info → odoo_addon_contract-18.0.2.0.7.dist-info}/RECORD +9 -9
- {odoo_addon_contract-18.0.2.0.5.dist-info → odoo_addon_contract-18.0.2.0.7.dist-info}/WHEEL +0 -0
- {odoo_addon_contract-18.0.2.0.5.dist-info → odoo_addon_contract-18.0.2.0.7.dist-info}/top_level.txt +0 -0
odoo/addons/contract/README.rst
CHANGED
|
@@ -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:
|
|
14
|
+
!! source digest: sha256:dd6395e5b74e5e7ff2b451ebb8b5314eb314e0fe4d01effb8d08af467fb60a6b
|
|
15
15
|
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
|
|
16
16
|
|
|
17
17
|
.. |badge1| image:: https://img.shields.io/badge/maturity-Production%2FStable-green.png
|
|
@@ -243,7 +243,10 @@ class ContractContract(models.Model):
|
|
|
243
243
|
field.name in self.NO_SYNC,
|
|
244
244
|
)
|
|
245
245
|
):
|
|
246
|
-
if
|
|
246
|
+
if (
|
|
247
|
+
self.contract_template_id[field_name]
|
|
248
|
+
and self.contract_template_id[field_name] != self[field_name]
|
|
249
|
+
):
|
|
247
250
|
self[field_name] = self.contract_template_id[field_name]
|
|
248
251
|
|
|
249
252
|
@api.onchange("partner_id", "company_id")
|
|
@@ -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:
|
|
375
|
+
!! source digest: sha256:dd6395e5b74e5e7ff2b451ebb8b5314eb314e0fe4d01effb8d08af467fb60a6b
|
|
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&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
|
|
@@ -36,7 +36,11 @@ class TestContractBase(common.TransactionCase):
|
|
|
36
36
|
cls.product_1 = cls.env.ref("product.product_product_1")
|
|
37
37
|
cls.product_2 = cls.env.ref("product.product_product_2")
|
|
38
38
|
cls.product_1.taxes_id += cls.env["account.tax"].search(
|
|
39
|
-
[
|
|
39
|
+
[
|
|
40
|
+
("type_tax_use", "=", "sale"),
|
|
41
|
+
("company_id", "=", cls.env.company.id),
|
|
42
|
+
],
|
|
43
|
+
limit=1,
|
|
40
44
|
)
|
|
41
45
|
cls.product_1.description_sale = "Test description sale"
|
|
42
46
|
cls.line_template_vals = {
|
{odoo_addon_contract-18.0.2.0.5.dist-info → odoo_addon_contract-18.0.2.0.7.dist-info}/METADATA
RENAMED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: odoo-addon-contract
|
|
3
|
-
Version: 18.0.2.0.
|
|
3
|
+
Version: 18.0.2.0.7
|
|
4
4
|
Requires-Python: >=3.10
|
|
5
5
|
Requires-Dist: odoo==18.0.*
|
|
6
6
|
Summary: Recurring - Contracts Management
|
|
@@ -28,7 +28,7 @@ Recurring - Contracts Management
|
|
|
28
28
|
!! This file is generated by oca-gen-addon-readme !!
|
|
29
29
|
!! changes will be overwritten. !!
|
|
30
30
|
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
|
|
31
|
-
!! source digest: sha256:
|
|
31
|
+
!! source digest: sha256:dd6395e5b74e5e7ff2b451ebb8b5314eb314e0fe4d01effb8d08af467fb60a6b
|
|
32
32
|
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
|
|
33
33
|
|
|
34
34
|
.. |badge1| image:: https://img.shields.io/badge/maturity-Production%2FStable-green.png
|
{odoo_addon_contract-18.0.2.0.5.dist-info → odoo_addon_contract-18.0.2.0.7.dist-info}/RECORD
RENAMED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
odoo/addons/contract/README.rst,sha256=
|
|
1
|
+
odoo/addons/contract/README.rst,sha256=tosic2BpIDA6MLlFvA4X0bHhYP3SaVeDqpv92Ff4TWI,6176
|
|
2
2
|
odoo/addons/contract/__init__.py,sha256=dnUeA_K1torbiMNF3tt2dtECdk-FkWm01DByr9MBMIA,69
|
|
3
|
-
odoo/addons/contract/__manifest__.py,sha256=
|
|
3
|
+
odoo/addons/contract/__manifest__.py,sha256=uJubLszMhW7wEghiSBOH53HySDPuEueYdCQnX-7yuic,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
|
|
@@ -84,7 +84,7 @@ odoo/addons/contract/migrations/18.0.2.0.0/pre-migrate.py,sha256=ywaZcxy-bxj2MRi
|
|
|
84
84
|
odoo/addons/contract/models/__init__.py,sha256=n3UpKXb_Oi-2ebHho6pWrd6kw_cMK6GG1E3fl7ey_zc,372
|
|
85
85
|
odoo/addons/contract/models/account_move.py,sha256=QdSF_E5cifIgOiPiZ1PKXxuA5y9y4PC-kkUurDdGKo4,387
|
|
86
86
|
odoo/addons/contract/models/account_move_line.py,sha256=X-GJ66Q_6BySwImRLMpFxgIqfhsOaEUb6xLSQveB0uc,396
|
|
87
|
-
odoo/addons/contract/models/contract.py,sha256=
|
|
87
|
+
odoo/addons/contract/models/contract.py,sha256=KJtdPswD9RjOUPVhnkH08Peml3niWKWvHswseyqkKoc,25646
|
|
88
88
|
odoo/addons/contract/models/contract_line.py,sha256=0vuK44zs8jByFnYFI0nZ9IYz8lsbv7nPdhaDLpYIYIA,10298
|
|
89
89
|
odoo/addons/contract/models/contract_modification.py,sha256=d0tv2Zn6_WrR633pmzwAavzC2I3sLYmGokOKtMn7AYY,1147
|
|
90
90
|
odoo/addons/contract/models/contract_recurring_mixin.py,sha256=KE4sMLd241v1RgTtdPGHbak-RD2sJmSLYsKNPWaQ8Mg,9278
|
|
@@ -103,7 +103,7 @@ odoo/addons/contract/security/contract_security.xml,sha256=HZuxPZMX-EMf8QtXdwbnL
|
|
|
103
103
|
odoo/addons/contract/security/contract_tag.xml,sha256=cetorNv2M6tHKHcnfwUeX85EZyT3tpoBLF8W-XZ7sK8,890
|
|
104
104
|
odoo/addons/contract/security/ir.model.access.csv,sha256=icelaOGF35WgUrxB2l18IVfcUNlPuJnzy4LG676_zt0,1569
|
|
105
105
|
odoo/addons/contract/static/description/icon.png,sha256=6xBPJauaFOF0KDHfHgQopSc28kKvxMaeoQFQWZtfZDo,9455
|
|
106
|
-
odoo/addons/contract/static/description/index.html,sha256=
|
|
106
|
+
odoo/addons/contract/static/description/index.html,sha256=UGtzehk8p-sGVT4FHPzfUixWPDHwJkRu7YxkHbjlCWg,17445
|
|
107
107
|
odoo/addons/contract/static/src/img/contract_icon.svg,sha256=2IFs70Oy9WtE9of2SO4Vj08mwzcw-I5s_LL3UvtKlus,9643
|
|
108
108
|
odoo/addons/contract/static/src/js/contract_portal_tour.esm.js,sha256=ULRzpiiKOhvKx0P-SBoMVBJzGtOQfi70yf2-1djxFuk,589
|
|
109
109
|
odoo/addons/contract/static/src/screenshots/portal-detail.png,sha256=8pMCU4nqwnSM-rbWZd3iJxXdYLBiYzuWNvT_NKslcoo,113399
|
|
@@ -111,7 +111,7 @@ odoo/addons/contract/static/src/screenshots/portal-list.png,sha256=gWSW4rlncFZem
|
|
|
111
111
|
odoo/addons/contract/static/src/screenshots/portal-my.png,sha256=YrtvTDjoc839Eka5zSZ8FQhtzoMEeW4FrXGrYAwAkS4,22985
|
|
112
112
|
odoo/addons/contract/static/src/scss/frontend.scss,sha256=LilfXNOwW8D2eXOMY0ZgrEv8hU5Vn1u9inCEIJp8D0g,1863
|
|
113
113
|
odoo/addons/contract/tests/__init__.py,sha256=iive8lH1QtzKmbhBBzzU4AQgSAgWxdJF1mMLEFOiA4c,138
|
|
114
|
-
odoo/addons/contract/tests/test_contract.py,sha256=
|
|
114
|
+
odoo/addons/contract/tests/test_contract.py,sha256=tWD4EvbvvjTcmWfLPUVilJct4JzWE__QP99e2ECSlBE,65247
|
|
115
115
|
odoo/addons/contract/tests/test_contract_manually_create_invoice.py,sha256=GfA-hDaI4mSztE-2zQgFE_bQM-nsKzFhQRybi8EGeLo,2541
|
|
116
116
|
odoo/addons/contract/tests/test_multicompany.py,sha256=0CPfv0-JSFsXRInazugzzYrogSZFa6lrdNwuBLbaTX8,4552
|
|
117
117
|
odoo/addons/contract/tests/test_portal.py,sha256=pyhXyzB5o-jdzJW6x10tF7pRuIUQWLQXTSUsB7nUB2k,1298
|
|
@@ -126,7 +126,7 @@ odoo/addons/contract/views/res_partner_view.xml,sha256=v7RAxXm0japPQeOsf2zLgieZH
|
|
|
126
126
|
odoo/addons/contract/wizards/__init__.py,sha256=ZSirPz2XSS6FGPESnPJHqIJamHdHrdL7j2oYu_kglTs,47
|
|
127
127
|
odoo/addons/contract/wizards/contract_manually_create_invoice.py,sha256=LIOStLcchRqOeRbHCPnEmrEj1c9_8BSW6HixsBmU57Y,2986
|
|
128
128
|
odoo/addons/contract/wizards/contract_manually_create_invoice.xml,sha256=JPgtH9mDP74PhTgsJ0lZ1zmn8P3WWRRKp9QUWn38W-4,3730
|
|
129
|
-
odoo_addon_contract-18.0.2.0.
|
|
130
|
-
odoo_addon_contract-18.0.2.0.
|
|
131
|
-
odoo_addon_contract-18.0.2.0.
|
|
132
|
-
odoo_addon_contract-18.0.2.0.
|
|
129
|
+
odoo_addon_contract-18.0.2.0.7.dist-info/METADATA,sha256=_0OPZwh05GxpNnx_pOc1axzhQMwPPQkmi_ZCicCwLMs,6785
|
|
130
|
+
odoo_addon_contract-18.0.2.0.7.dist-info/WHEEL,sha256=ZhOvUsYhy81Dx67gN3TV0RchQWBIIzutDZaJODDg2Vo,81
|
|
131
|
+
odoo_addon_contract-18.0.2.0.7.dist-info/top_level.txt,sha256=QE6RBQ0QX5f4eFuUcGgU5Kbq1A_qJcDs-e_vpr6pmfU,4
|
|
132
|
+
odoo_addon_contract-18.0.2.0.7.dist-info/RECORD,,
|
|
File without changes
|
{odoo_addon_contract-18.0.2.0.5.dist-info → odoo_addon_contract-18.0.2.0.7.dist-info}/top_level.txt
RENAMED
|
File without changes
|