odoo-addon-contract 18.0.2.1.0.1__py3-none-any.whl → 18.0.2.1.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:854a5a7d18c7c91627da27711c09e20a819cbe1e85c20327d4bca4c1df0717c1
14
+ !! source digest: sha256:2a14adb69a48e1bdcd006ad6241badf413fbb261251a7034da574f75771212f5
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.1.0",
14
+ "version": "18.0.2.1.1",
15
15
  "category": "Contract Management",
16
16
  "license": "AGPL-3",
17
17
  "author": "Tecnativa, ACSONE SA/NV, Odoo Community Association (OCA)",
@@ -14,7 +14,11 @@ class PortalContract(CustomerPortal):
14
14
  values = super()._prepare_home_portal_values(counters)
15
15
  if "contract_count" in counters:
16
16
  contract_model = request.env["contract.contract"]
17
- contract_count = contract_model.search_count([])
17
+ contract_count = (
18
+ contract_model.search_count([])
19
+ if contract_model.has_access("read")
20
+ else 0
21
+ )
18
22
  values["contract_count"] = contract_count
19
23
  return values
20
24
 
@@ -41,6 +45,9 @@ class PortalContract(CustomerPortal):
41
45
  ):
42
46
  values = self._prepare_portal_layout_values()
43
47
  contract_obj = request.env["contract.contract"]
48
+ # Avoid error if the user does not have access.
49
+ if not contract_obj.has_access("read"):
50
+ return request.redirect("/my")
44
51
  domain = self._get_filter_domain(kw)
45
52
  searchbar_sortings = {
46
53
  "date": {"label": _("Date"), "order": "recurring_next_date desc"},
@@ -9,7 +9,7 @@ msgstr ""
9
9
  "Project-Id-Version: Odoo Server 11.0\n"
10
10
  "Report-Msgid-Bugs-To: \n"
11
11
  "POT-Creation-Date: 2018-04-27 01:12+0000\n"
12
- "PO-Revision-Date: 2025-07-07 07:23+0000\n"
12
+ "PO-Revision-Date: 2025-11-28 10:43+0000\n"
13
13
  "Last-Translator: mymage <stefano.consolaro@mymage.it>\n"
14
14
  "Language-Team: Italian (https://www.transifex.com/oca/teams/23907/it/)\n"
15
15
  "Language: it\n"
@@ -855,7 +855,7 @@ msgstr "Data prossima fattura"
855
855
  #. module: contract
856
856
  #: model_terms:ir.ui.view,arch_db:contract.contract_line_search_view
857
857
  msgid "Date start"
858
- msgstr ""
858
+ msgstr "Data inizio"
859
859
 
860
860
  #. module: contract
861
861
  #: model:ir.model.fields.selection,name:contract.selection__contract_contract__recurring_rule_type__daily
@@ -1331,7 +1331,7 @@ msgstr "Inizio prossimo periodo"
1331
1331
  #. module: contract
1332
1332
  #: model_terms:ir.ui.view,arch_db:contract.contract_line_search_view
1333
1333
  msgid "Next invoice date"
1334
- msgstr ""
1334
+ msgstr "Data prossima fattura"
1335
1335
 
1336
1336
  #. module: contract
1337
1337
  #: model_terms:ir.ui.view,arch_db:contract.contract_line_form_view
@@ -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:854a5a7d18c7c91627da27711c09e20a819cbe1e85c20327d4bca4c1df0717c1
375
+ !! source digest: sha256:2a14adb69a48e1bdcd006ad6241badf413fbb261251a7034da574f75771212f5
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
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: odoo-addon-contract
3
- Version: 18.0.2.1.0.1
3
+ Version: 18.0.2.1.1
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:854a5a7d18c7c91627da27711c09e20a819cbe1e85c20327d4bca4c1df0717c1
31
+ !! source digest: sha256:2a14adb69a48e1bdcd006ad6241badf413fbb261251a7034da574f75771212f5
32
32
  !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
33
33
 
34
34
  .. |badge1| image:: https://img.shields.io/badge/maturity-Production%2FStable-green.png
@@ -1,8 +1,8 @@
1
- odoo/addons/contract/README.rst,sha256=St3WDwkK2l_MrIgw5nhaaktso530_vodQNy6iT-fUAE,6176
1
+ odoo/addons/contract/README.rst,sha256=rF2rbsLWWNaw1vzINN1g2AEVbMEbhaqkqmSnco6UEJM,6176
2
2
  odoo/addons/contract/__init__.py,sha256=dnUeA_K1torbiMNF3tt2dtECdk-FkWm01DByr9MBMIA,69
3
- odoo/addons/contract/__manifest__.py,sha256=NWi8lTaM_qb2IABnOFJ0g2hSMQ30NQkeeysQX0ewjq8,1777
3
+ odoo/addons/contract/__manifest__.py,sha256=6pqK28AEEtO4dxhOT8-Nqfe4c3Z6-nsbA6frBi9SWF0,1777
4
4
  odoo/addons/contract/controllers/__init__.py,sha256=ZAYSY9pxyJjumL2QVLuxqtBzjLwKPiQsVXMBAWvNGGY,85
5
- odoo/addons/contract/controllers/main.py,sha256=5C-WzZ6zPWeea-Kb0U01a1yNCtcn29iZeoc9hjkODa4,3676
5
+ odoo/addons/contract/controllers/main.py,sha256=fvOq4YUZvZX9AHlXXIj5u_Lv3W7l-zxEKRXgnLaojjw,3931
6
6
  odoo/addons/contract/data/contract_cron.xml,sha256=yYTdn4fmIU5zsfFEgx-H_55M9nwc0WfJ3Q6ufxQKPt8,549
7
7
  odoo/addons/contract/data/ir_ui_menu.xml,sha256=_T4cGgdGBbbxL6n4jIHaA7NbAZOdOxuR0D2f26ZXRdc,208
8
8
  odoo/addons/contract/data/mail_message_subtype.xml,sha256=4w1uYand5eXFUahiF5kbcQ-8f5G49xapxAijEu1I8Kc,562
@@ -46,7 +46,7 @@ odoo/addons/contract/i18n/hr.po,sha256=kB0y2Axl1mefklOTZ84AR8DbpA-8TMiCX9KvOfx7D
46
46
  odoo/addons/contract/i18n/hr_HR.po,sha256=rI8poGyy5giQBDAFSr7r7-QkN0QPY_dxqaS9gFQRW90,70248
47
47
  odoo/addons/contract/i18n/hu.po,sha256=fKRH_lBVajuQDcyblRL2TZ3lZUWoCY7_wUuBWi2cPck,66200
48
48
  odoo/addons/contract/i18n/id.po,sha256=m5zKiiPA9jOhVO0Usqp2ns1Gl0Y2Yr5JzEI8_oSsabA,65921
49
- odoo/addons/contract/i18n/it.po,sha256=Vb-HmDQ1RRZQX6WdKIjrpCF1yfCZQjS83gZs2qnuT4k,110249
49
+ odoo/addons/contract/i18n/it.po,sha256=EoUldJ_wa2CpC4xSxwpDBriuVym1gDe6i93QWLHpxQk,110281
50
50
  odoo/addons/contract/i18n/ja.po,sha256=mfq_kzBu6EIhZynmEnIShvVKlZCwu8kPQp9pCxKBk18,65909
51
51
  odoo/addons/contract/i18n/ko.po,sha256=C15hdkMtnceQ4MxWwzVPIweiBTYjhdCmgC2w3Q9KQ3s,65924
52
52
  odoo/addons/contract/i18n/lt.po,sha256=qEBh2U4K9MMBGhH7BlrjHJ1khWB0KX7WzSYYFpzMy1M,66036
@@ -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=uHW9PHDsKaRtQZ6GqJLviFR7NTe3fZ9Em4NrLRAXovw,17445
106
+ odoo/addons/contract/static/description/index.html,sha256=8LQiZ803iOKwntBO3chbZhABmJ_uBvQ0iqTPOtDdDqU,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
@@ -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.1.0.1.dist-info/METADATA,sha256=4e5AP2JYSRaVG5Df7mRIpVn5uJvgYL7G9om11QolOvk,6787
130
- odoo_addon_contract-18.0.2.1.0.1.dist-info/WHEEL,sha256=ZhOvUsYhy81Dx67gN3TV0RchQWBIIzutDZaJODDg2Vo,81
131
- odoo_addon_contract-18.0.2.1.0.1.dist-info/top_level.txt,sha256=QE6RBQ0QX5f4eFuUcGgU5Kbq1A_qJcDs-e_vpr6pmfU,4
132
- odoo_addon_contract-18.0.2.1.0.1.dist-info/RECORD,,
129
+ odoo_addon_contract-18.0.2.1.1.dist-info/METADATA,sha256=5wgDXGxChYqAlRMpzPzUyKYYuu1L3FCq9B8HfrA84Tw,6785
130
+ odoo_addon_contract-18.0.2.1.1.dist-info/WHEEL,sha256=ZhOvUsYhy81Dx67gN3TV0RchQWBIIzutDZaJODDg2Vo,81
131
+ odoo_addon_contract-18.0.2.1.1.dist-info/top_level.txt,sha256=QE6RBQ0QX5f4eFuUcGgU5Kbq1A_qJcDs-e_vpr6pmfU,4
132
+ odoo_addon_contract-18.0.2.1.1.dist-info/RECORD,,