From 5c17667bdd234bc594d694a74123a94f87fccd8a Mon Sep 17 00:00:00 2001 From: Kaynnan Lemes Date: Mon, 22 Jan 2024 15:21:19 -0300 Subject: [PATCH] [MIG] document_page_portal: Migration to 14.0 --- document_page_portal/__manifest__.py | 2 +- document_page_portal/controllers/portal.py | 3 --- 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/document_page_portal/__manifest__.py b/document_page_portal/__manifest__.py index 5b28d0a6c5c..4f6fcbacd9e 100644 --- a/document_page_portal/__manifest__.py +++ b/document_page_portal/__manifest__.py @@ -6,7 +6,7 @@ "name": "Document Page Portal", "summary": """ This module enables document page portal""", - "version": "13.0.1.0.0", + "version": "14.0.1.0.0", "category": "Knowledge Management", "author": "Escodoo, Odoo Community Association (OCA)", "maintainers": ["marcelsavegnago"], diff --git a/document_page_portal/controllers/portal.py b/document_page_portal/controllers/portal.py index a6c01711e96..d83a55f38ad 100644 --- a/document_page_portal/controllers/portal.py +++ b/document_page_portal/controllers/portal.py @@ -72,8 +72,6 @@ def portal_my_knowledge_document_pages( sortby = "date" order = searchbar_sortings[sortby]["order"] - # archive groups - Default Group By 'create_date' - archive_groups = self._get_archive_groups("document.page", domain) if date_begin and date_end: domain += [ ("create_date", ">", date_begin), @@ -114,7 +112,6 @@ def portal_my_knowledge_document_pages( "page_name": "document_page", "default_url": "/my/knowledge/s", "pager": pager, - "archive_groups": archive_groups, "searchbar_sortings": searchbar_sortings, "searchbar_inputs": searchbar_inputs, "sortby": sortby,