diff --git a/document_page/static/src/js/document_page_kanban_controller.esm.js b/document_page/static/src/js/document_page_kanban_controller.esm.js index 0b7884cb3a3..7ad18ada056 100644 --- a/document_page/static/src/js/document_page_kanban_controller.esm.js +++ b/document_page/static/src/js/document_page_kanban_controller.esm.js @@ -1,4 +1,3 @@ -/** @odoo-module **/ import {KanbanController} from "@web/views/kanban/kanban_controller"; export class DocumentPageKanbanController extends KanbanController { @@ -6,6 +5,7 @@ export class DocumentPageKanbanController extends KanbanController { * @param {Object} record */ async openRecord(record) { + // eslint-disable-next-line no-undef const element = document.querySelector( `.o_kanban_record[data-id="${record.id}"] .o_document_page_kanban_boxes a` ); diff --git a/document_page/static/src/js/document_page_kanban_view.esm.js b/document_page/static/src/js/document_page_kanban_view.esm.js index 957bef03c7a..5c1452a1b71 100644 --- a/document_page/static/src/js/document_page_kanban_view.esm.js +++ b/document_page/static/src/js/document_page_kanban_view.esm.js @@ -1,4 +1,3 @@ -/** @odoo-module **/ import {registry} from "@web/core/registry"; import {kanbanView} from "@web/views/kanban/kanban_view"; import {DocumentPageKanbanController} from "./document_page_kanban_controller.esm"; diff --git a/document_page/views/document_page_category.xml b/document_page/views/document_page_category.xml index 3bbac5c093a..1efef1299ac 100644 --- a/document_page/views/document_page_category.xml +++ b/document_page/views/document_page_category.xml @@ -77,7 +77,7 @@ {'default_type': 'content', 'search_default_no_parent_id':1, } - kanban,tree,form + kanban,list,form @@ -87,14 +87,18 @@ {'default_type': 'content', 'search_default_parent_id': [active_id] } - kanban,tree,form + kanban,list,form document.page.browse.kanban document.page - + @@ -106,97 +110,71 @@ - -
-
-
- - - - - - - - - - - -
-
-
-
-
-
- - - -
- - - - -
-
+ + +
+
+ + + -
-
-
-
-
-
- -
-
- -
-
-
+ +
-
- - + +
+ + +
+
- -
    + + @@ -287,5 +265,4 @@ action="action_browse_top_content" sequence="5" /> -