diff --git a/document_page_project/pyproject.toml b/document_page_project/pyproject.toml new file mode 100644 index 00000000000..4231d0cccb3 --- /dev/null +++ b/document_page_project/pyproject.toml @@ -0,0 +1,3 @@ +[build-system] +requires = ["whool"] +build-backend = "whool.buildapi" diff --git a/document_page_project/readme/CONTRIBUTORS.md b/document_page_project/readme/CONTRIBUTORS.md new file mode 100644 index 00000000000..47c7301e326 --- /dev/null +++ b/document_page_project/readme/CONTRIBUTORS.md @@ -0,0 +1,2 @@ +- [Forgeflow](https://www.forgeflow.com): + - Lois Rilo \<\> diff --git a/document_page_project/readme/DESCRIPTION.md b/document_page_project/readme/DESCRIPTION.md new file mode 100644 index 00000000000..f1cd784b379 --- /dev/null +++ b/document_page_project/readme/DESCRIPTION.md @@ -0,0 +1 @@ +This module allow to link document pages to projects. diff --git a/document_page_project/readme/USAGE.md b/document_page_project/readme/USAGE.md new file mode 100644 index 00000000000..6ff25af27fd --- /dev/null +++ b/document_page_project/readme/USAGE.md @@ -0,0 +1,2 @@ +- Go to to a project and click on "Wiki Pages" to see linked documents + or to create new ones. diff --git a/document_page_project/views/document_page_views.xml b/document_page_project/views/document_page_views.xml index ad1be2d2523..41679204d4c 100644 --- a/document_page_project/views/document_page_views.xml +++ b/document_page_project/views/document_page_views.xml @@ -12,18 +12,19 @@ Project Wiki + project_wiki document.page [('type','=','content'), ('project_id', '=', active_id)] + >[('type','=','content'), ('project_id', '=', id)] { 'default_type': 'content', - 'default_project_id': active_id} - tree,form + 'default_project_id': id} + list,form