From b0c084f8fea52f1482172d9895c83cbe4ba6dd77 Mon Sep 17 00:00:00 2001 From: Antoni Marroig Campomar Date: Fri, 1 Dec 2023 08:42:10 +0100 Subject: [PATCH] [MIG] crm_phonecall: Migration to 17.0 --- crm_phonecall/README.rst | 3 ++ crm_phonecall/__manifest__.py | 2 +- crm_phonecall/models/crm_phonecall.py | 6 ++-- crm_phonecall/readme/CONTRIBUTORS.md | 2 ++ crm_phonecall/static/description/index.html | 4 +++ crm_phonecall/views/crm_phonecall_view.xml | 26 +++++++-------- .../views/res_config_settings_views.xml | 32 ++++++------------- .../crm_phonecall_to_phonecall_view.xml | 8 ++--- 8 files changed, 39 insertions(+), 44 deletions(-) diff --git a/crm_phonecall/README.rst b/crm_phonecall/README.rst index f2b35e2c8f9..0d0513c51e1 100644 --- a/crm_phonecall/README.rst +++ b/crm_phonecall/README.rst @@ -94,6 +94,9 @@ Contributors - Manuel Marquez - Ruchir Shukla +- `APSL-Nagarro `__: + + - Antoni Marroig Maintainers ----------- diff --git a/crm_phonecall/__manifest__.py b/crm_phonecall/__manifest__.py index 84368e0328f..630859412e1 100644 --- a/crm_phonecall/__manifest__.py +++ b/crm_phonecall/__manifest__.py @@ -3,7 +3,7 @@ { "name": "CRM Phone Calls", - "version": "16.0.1.1.0", + "version": "17.0.1.0.0", "category": "Customer Relationship Management", "author": "Odoo S.A., Tecnativa, Odoo Community Association (OCA)", "website": "https://github.com/OCA/crm", diff --git a/crm_phonecall/models/crm_phonecall.py b/crm_phonecall/models/crm_phonecall.py index 5a703509ebf..946c292acbf 100644 --- a/crm_phonecall/models/crm_phonecall.py +++ b/crm_phonecall/models/crm_phonecall.py @@ -219,8 +219,10 @@ def action_button_convert2opportunity(self): return opportunity_id.redirect_lead_opportunity_view() def _get_view(self, view_id=None, view_type="form", **options): - """Inject group check to make the tree editable or not. Apparently it can't be done - by pure view inheritance and attribute overriding""" + """ + Inject group check to make the tree editable or not. Apparently it can't be done + by pure view inheritance and attribute overriding + """ arch, view = super()._get_view(view_id, view_type, **options) if view_type == "tree" and self.env.user.has_group( "crm_phonecall.group_show_form_view" diff --git a/crm_phonecall/readme/CONTRIBUTORS.md b/crm_phonecall/readme/CONTRIBUTORS.md index 3005608af93..a3b5032b7eb 100644 --- a/crm_phonecall/readme/CONTRIBUTORS.md +++ b/crm_phonecall/readme/CONTRIBUTORS.md @@ -11,3 +11,5 @@ - Iván Todorovich \<\> - Manuel Marquez \<\> - Ruchir Shukla \<\> +- [APSL-Nagarro](https://apsl.tech): + - Antoni Marroig \<\> diff --git a/crm_phonecall/static/description/index.html b/crm_phonecall/static/description/index.html index e5d811a853f..9472bc0bc43 100755 --- a/crm_phonecall/static/description/index.html +++ b/crm_phonecall/static/description/index.html @@ -443,6 +443,10 @@

Contributors

  • Ruchir Shukla <ruchir@bizzappdev.com>
  • +
  • APSL-Nagarro: +
  • diff --git a/crm_phonecall/views/crm_phonecall_view.xml b/crm_phonecall/views/crm_phonecall_view.xml index 859dafa124c..027b12d2e48 100644 --- a/crm_phonecall/views/crm_phonecall_view.xml +++ b/crm_phonecall/views/crm_phonecall_view.xml @@ -41,23 +41,22 @@