diff --git a/document_page/README.rst b/document_page/README.rst index d20adc44..c965dea3 100644 --- a/document_page/README.rst +++ b/document_page/README.rst @@ -14,16 +14,16 @@ Document Page :target: http://www.gnu.org/licenses/agpl-3.0-standalone.html :alt: License: AGPL-3 .. |badge3| image:: https://img.shields.io/badge/github-OCA%2Fknowledge-lightgray.png?logo=github - :target: https://github.com/OCA/knowledge/tree/13.0/document_page + :target: https://github.com/OCA/knowledge/tree/14.0/document_page :alt: OCA/knowledge .. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png - :target: https://translation.odoo-community.org/projects/knowledge-13-0/knowledge-13-0-document_page + :target: https://translation.odoo-community.org/projects/knowledge-14-0/knowledge-14-0-document_page :alt: Translate me on Weblate .. |badge5| image:: https://img.shields.io/badge/runbot-Try%20me-875A7B.png - :target: https://runbot.odoo-community.org/runbot/118/13.0 + :target: https://runbot.odoo-community.org/runbot/118/14.0 :alt: Try me on Runbot -|badge1| |badge2| |badge3| |badge4| |badge5| +|badge1| |badge2| |badge3| |badge4| |badge5| This module allows you to write web pages for internal documentation. @@ -57,7 +57,7 @@ Bug Tracker Bugs are tracked on `GitHub Issues `_. In case of trouble, please check there if your issue has already been reported. If you spotted it first, help us smashing it by providing a detailed and welcomed -`feedback `_. +`feedback `_. Do not contact contributors directly about support or help with technical issues. @@ -83,6 +83,10 @@ Contributors * Ernesto Tejeda * Víctor Martínez +Trobz + +* Dung Tran + Other credits ~~~~~~~~~~~~~ @@ -90,6 +94,7 @@ The development of this module has been financially supported by: * Odoo SA * Savoir-faire Linux +* Camptocamp Maintainers ~~~~~~~~~~~ @@ -104,6 +109,6 @@ OCA, or the Odoo Community Association, is a nonprofit organization whose mission is to support the collaborative development of Odoo features and promote its widespread use. -This module is part of the `OCA/knowledge `_ project on GitHub. +This module is part of the `OCA/knowledge `_ project on GitHub. You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute. diff --git a/document_page/__manifest__.py b/document_page/__manifest__.py index 2ea63b3f..61ef5660 100644 --- a/document_page/__manifest__.py +++ b/document_page/__manifest__.py @@ -4,7 +4,7 @@ { "name": "Document Page", - "version": "13.0.1.1.0", + "version": "14.0.1.0.0", "category": "Knowledge Management", "author": "OpenERP SA, Odoo Community Association (OCA)", "images": [ diff --git a/document_page/demo/document_page.xml b/document_page/demo/document_page.xml index 36e494bf..764e61f5 100644 --- a/document_page/demo/document_page.xml +++ b/document_page/demo/document_page.xml @@ -1,8 +1,10 @@ + + Odoo Features category @@ -15,10 +17,11 @@ Conclusion Additional ressources - + + - Odoo 13.0 Functional Demo + Odoo 14.0 Functional Demo 1.0 Init @@ -26,17 +29,17 @@ Additional ressources
-The news is out, Odoo's latest version 13.0 is here. It's more
+The news is out, Odoo's latest version 14.0 is here. It's more
user-friendly, even more business oriented and efficient to manage your company

-How to discover the latest version 13.0?
+How to discover the latest version 14.0?

Demo :
Online:
Download:

-We have also put together a functional demo that presents 13.0. Watch this video
-to learn directly from us what Odoo 13.0 can do for you. Share it in your
+We have also put together a functional demo that presents 14.0. Watch this video
+to learn directly from us what Odoo 14.0 can do for you. Share it in your
company, with your clients and implement it now for your business.

Watch on Youtube!


@@ -45,8 +48,9 @@ company, with your clients and implement it now for your business.


]]> -
+
+ Personalise Dashboards @@ -86,8 +90,9 @@ you change your mind there is a reset button to return to the default view.


]]> -
+
+ Touchscreen Point of Sale @@ -96,7 +101,7 @@ you change your mind there is a reset button to return to the default view.
-The Odoo touchscreen point of sale available with 13.0 allows you
+The Odoo touchscreen point of sale available with 14.0 allows you
to manage your shop sales very easily. It's fully web based so that you don't
have to install or deploy any software and all the sales shops can be easily
consolidated. It works in connected and disconnected modes so that you can
@@ -124,6 +129,7 @@ and user-friendly interface you don't need any training to learn how to use it.< Think of it as an out-of-the-box solution to boost your business' productivity.

]]> -
+
+
diff --git a/document_page/models/document_page.py b/document_page/models/document_page.py index 50fddbff..345a745e 100644 --- a/document_page/models/document_page.py +++ b/document_page/models/document_page.py @@ -64,7 +64,6 @@ class DocumentPage(models.Model): "document.page.history", "page_id", "History", - order="create_date DESC", readonly=True, ) menu_id = fields.Many2one("ir.ui.menu", "Menu", readonly=True) diff --git a/document_page/readme/CONTRIBUTORS.rst b/document_page/readme/CONTRIBUTORS.rst index 4ba67b75..8ca24f0e 100644 --- a/document_page/readme/CONTRIBUTORS.rst +++ b/document_page/readme/CONTRIBUTORS.rst @@ -8,3 +8,7 @@ * Ernesto Tejeda * Víctor Martínez + +Trobz + +* Dung Tran diff --git a/document_page/readme/CREDITS.rst b/document_page/readme/CREDITS.rst index c0a09005..6ce07dd6 100644 --- a/document_page/readme/CREDITS.rst +++ b/document_page/readme/CREDITS.rst @@ -2,3 +2,4 @@ The development of this module has been financially supported by: * Odoo SA * Savoir-faire Linux +* Camptocamp diff --git a/document_page/security/ir.model.access.csv b/document_page/security/ir.model.access.csv index a61ea1d4..adc4e915 100644 --- a/document_page/security/ir.model.access.csv +++ b/document_page/security/ir.model.access.csv @@ -5,3 +5,5 @@ document_page_editor,document.page editor,model_document_page,group_document_edi document_page_history_editor,document.page.history editor,model_document_page_history,group_document_editor,1,1,1,0 document_page_manager,document.page manager,model_document_page,group_document_manager,1,1,1,1 document_page_history_manager,document.page.history manager,model_document_page_history,group_document_manager,1,1,1,0 +document_page_create_menu_wizard,document.page.create.menu wizard,model_document_page_create_menu,knowledge.group_document_user,1,1,1,0 +document_page_history_show_diff_wizard,document.page.history.show_diff wizard,model_wizard_document_page_history_show_diff,knowledge.group_document_user,1,1,1,0 diff --git a/document_page/static/description/index.html b/document_page/static/description/index.html index 7a90da17..eeefdf33 100644 --- a/document_page/static/description/index.html +++ b/document_page/static/description/index.html @@ -367,7 +367,7 @@ ul.auto-toc { !! This file is generated by oca-gen-addon-readme !! !! changes will be overwritten. !! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! --> -

Beta License: AGPL-3 OCA/knowledge Translate me on Weblate Try me on Runbot

+

Beta License: AGPL-3 OCA/knowledge Translate me on Weblate Try me on Runbot

This module allows you to write web pages for internal documentation.

Table of contents

@@ -407,7 +407,7 @@ ul.auto-toc {

Bugs are tracked on GitHub Issues. In case of trouble, please check there if your issue has already been reported. If you spotted it first, help us smashing it by providing a detailed and welcomed -feedback.

+feedback.

Do not contact contributors directly about support or help with technical issues.

@@ -433,13 +433,16 @@ If you spotted it first, help us smashing it by providing a detailed and welcome +

Trobz

+

Other credits

The development of this module has been financially supported by:

@@ -449,7 +452,7 @@ If you spotted it first, help us smashing it by providing a detailed and welcome

OCA, or the Odoo Community Association, is a nonprofit organization whose mission is to support the collaborative development of Odoo features and promote its widespread use.

-

This module is part of the OCA/knowledge project on GitHub.

+

This module is part of the OCA/knowledge project on GitHub.

You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.

diff --git a/document_page/tests/test_document_page_create_menu.py b/document_page/tests/test_document_page_create_menu.py index dc7c38e8..95b1b0dd 100644 --- a/document_page/tests/test_document_page_create_menu.py +++ b/document_page/tests/test_document_page_create_menu.py @@ -26,4 +26,4 @@ class TestDocumentPageCreateMenu(common.TransactionCase): active_id=[self.ref("document_page.demo_page1")] ).default_get(fields_list) - self.assertEqual(res["menu_name"], "Odoo 13.0 Functional Demo") + self.assertEqual(res["menu_name"], "Odoo 14.0 Functional Demo") diff --git a/document_page/views/document_page_history.xml b/document_page/views/document_page_history.xml index 00047b6e..234398f2 100644 --- a/document_page/views/document_page_history.xml +++ b/document_page/views/document_page_history.xml @@ -1,5 +1,6 @@ + document.page.history.tree @@ -15,6 +16,7 @@ + document.page.history.search @@ -34,6 +36,7 @@ + document.page.history.form @@ -75,12 +78,14 @@ + Page history document.page.history tree,form + - + + + Page History + document.page.history + [('page_id','=',active_id)] + {'search_default_page_id': [active_id], 'default_page_id': active_id} + + + diff --git a/document_page/views/report_document_page.xml b/document_page/views/report_document_page.xml index 657c15f5..eaff83dd 100644 --- a/document_page/views/report_document_page.xml +++ b/document_page/views/report_document_page.xml @@ -1,5 +1,6 @@ + + - + + + Document Page + document.page + qweb-pdf + document_page.report_documentpage + document_page.report_documentpage + report + + + diff --git a/document_page/wizard/document_page_create_menu.xml b/document_page/wizard/document_page_create_menu.xml index ac1eefc8..01cb17cf 100644 --- a/document_page/wizard/document_page_create_menu.xml +++ b/document_page/wizard/document_page_create_menu.xml @@ -23,12 +23,13 @@ - + + + Create Menu + document.page.create.menu + form + new + + + diff --git a/document_page/wizard/document_page_show_diff.py b/document_page/wizard/document_page_show_diff.py index 705ab856..72cb7191 100644 --- a/document_page/wizard/document_page_show_diff.py +++ b/document_page/wizard/document_page_show_diff.py @@ -12,7 +12,7 @@ class DocumentPageShowDiff(models.TransientModel): _description = "Document Page Show Diff" def _get_diff(self): - """Return the Difference between two document.""" + """Return the Difference between two documents""" history = self.env["document.page.history"] ids = self.env.context.get("active_ids", []) diff = False diff --git a/document_page/wizard/document_page_show_diff.xml b/document_page/wizard/document_page_show_diff.xml index f6e04a05..418c7c88 100644 --- a/document_page/wizard/document_page_show_diff.xml +++ b/document_page/wizard/document_page_show_diff.xml @@ -5,7 +5,7 @@ Show Difference wizard.document.page.history.show_diff -
+