Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[16.0][MIG] document_page: Migration to 16.0 #382

Merged
merged 75 commits into from
Dec 7, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
75 commits
Select commit Hold shift + click to select a range
742c9c9
[ADD] document_page from odoo/7.0
Sep 30, 2014
cd11965
use new API
gborelli Nov 11, 2014
8e50d0d
[FIX+IMP] document_page:
llacroix Mar 10, 2015
efa96e5
Slovene translations added
sysadminmatmoz Apr 13, 2015
c9686f2
[FIX+IMP] document_page:
Jul 23, 2015
705b519
Translations sync with templates
sysadminmatmoz Aug 2, 2015
e660a86
[MIG] document_page: Migration to 9.0
naousse Oct 22, 2015
b862c87
[MIG] document_page: Migration to version 10.0 (#120)
Feb 2, 2017
47320de
[IMP][10.0][document_page] Change Requests and workflow improvements …
ivantodorovich Apr 13, 2018
fa66cde
OCA Transbot updated translations from Transifex
oca-transbot Dec 12, 2015
125f97d
[MIG] document_page: Migration to 11.0
jalzaga Apr 6, 2018
607e4a8
[MIG] document_page: Migration to 11.0
Jun 20, 2018
b6fc86f
[UPD] Update document_page.pot
oca-travis Jun 27, 2018
c7158df
Translated using Weblate (Persian)
fshahy Jul 22, 2018
2d8710a
Translated using Weblate (German)
Aug 23, 2018
1125031
Update document_page.xml
SalahAdDin Sep 10, 2018
10aafc1
[document_page] FIX creating history when there are no changes made. …
ivantodorovich Apr 20, 2018
8ead05c
[UPD] Update document_page.pot
oca-travis Sep 17, 2018
c75fd05
[FIX] document_page: fix report
Jul 23, 2018
42fc621
[IMP] check recusion when select parent
nicomacr Jan 28, 2019
9a0bc0f
[UPD] Update document_page.pot
oca-travis Jan 30, 2019
a2eb66d
[11.0][IMP] document_page:
LoisRForgeFlow Feb 28, 2019
7a69193
add activities to wiki pages
JordiBForgeFlow Mar 5, 2019
b7212b3
[UPD] Update document_page.pot
oca-travis Mar 11, 2019
28bd2f8
[MIG] document_page: Migration to 12.0
MiquelRForgeFlow Mar 12, 2019
47ae28f
[UPD] README.rst
OCA-git-bot Mar 19, 2019
f93b82d
[UPD] Update document_page.pot
oca-travis Mar 19, 2019
ebbf80a
Update translation files
oca-transbot May 20, 2019
01e3a8c
document_page: fix link
simahawk Jul 11, 2019
4fe71cc
[UPD] Update document_page.pot
oca-travis Jul 16, 2019
dda7a9b
Translated using Weblate (French)
svalaeys Aug 1, 2019
713f34f
[IMP] document_page: black, isort
ernestotejeda Nov 6, 2019
9fa7b5c
[MIG] document_page: Migration to 13.0
ernestotejeda Nov 7, 2019
2e9c007
[UPD] Update document_page.pot
oca-travis Nov 14, 2019
e6872cd
Update translation files
oca-transbot Jan 31, 2020
4c5aa5e
pre-commit update
OCA-git-bot Mar 14, 2020
15ae815
[IMP] document_page: Add button box
max3903 Apr 12, 2020
07f710b
[UPD] Update document_page.pot
oca-travis May 5, 2020
9a78dcb
Update translation files
oca-transbot May 5, 2020
94d23a3
[FIX][13.0] retrive 12.0 behaviours in category creation without content
Tonow-c2c May 26, 2020
338ea12
Required impossible. Protected method needed
Jul 4, 2020
2b642ce
document_page 13.0.1.0.1
OCA-git-bot Jul 14, 2020
cc16572
document_page 13.0.1.0.2
OCA-git-bot Jul 15, 2020
2a62ec2
document_page 13.0.1.0.3
OCA-git-bot Jul 28, 2020
d71cf4a
[UPD] Eficent -> ForgeFlow
MiquelRForgeFlow Oct 1, 2020
a061b9a
[UPD] README.rst
OCA-git-bot Oct 1, 2020
4841b20
Added translation using Weblate (Hebrew)
ygol Oct 13, 2020
b03daa8
[13.0][FIX] document_page: fix multicompany rules
LoisRForgeFlow Nov 4, 2020
aae36b8
document_page 13.0.1.0.4
OCA-git-bot Nov 11, 2020
1eead88
Update translation files
oca-transbot Nov 22, 2020
6b3cb24
[ADD] document_page: Add required fields to improve page_history
victoralmau Dec 9, 2020
e8c4de1
[UPD] README.rst
OCA-git-bot Dec 14, 2020
d3feedf
document_page 13.0.1.1.0
OCA-git-bot Dec 14, 2020
dd533b2
Translated using Weblate (Russian)
SergePogorelov Feb 12, 2021
ddb19d9
[MIG] document_page: Migration to 14.0
dzungtran89 Feb 22, 2021
6ef3fa6
[UPD] Update document_page.pot
oca-travis Jul 6, 2021
ad5e44c
[UPD] README.rst
OCA-git-bot Jul 6, 2021
35fc145
[IMP] document_page: search by title only
AaronHForgeFlow Jan 12, 2022
536cabc
[MIG] document_page: Migration to 15.0
jacob88 Oct 29, 2021
1b45ef3
[UPD] Update document_page.pot
Mar 25, 2022
35d5cf5
Translated using Weblate (Turkish)
tate11 Apr 8, 2022
4ebf1d2
[15.0][IMP] document_page: add side search panel with categories.
May 2, 2022
c168157
[UPD] Update document_page.pot
May 2, 2022
5f6fdda
[UPD] README.rst
OCA-git-bot May 2, 2022
081e6e7
document_page 15.0.1.1.0
OCA-git-bot May 2, 2022
9385a6e
Update translation files
oca-transbot May 2, 2022
5b08596
[15.0][FIX] document_page: change the priority views form.
May 18, 2022
61e5c86
document_page 15.0.1.1.1
OCA-git-bot May 18, 2022
478b735
[15.0][IMP] document_page: copy document function.
Jun 13, 2022
ec54608
[UPD] Update document_page.pot
Jun 13, 2022
53ecd3f
document_page 15.0.1.2.0
OCA-git-bot Jun 13, 2022
d33139a
Update translation files
oca-transbot Jun 13, 2022
5739a7e
Translated using Weblate (French)
vincent-hatakeyama Sep 29, 2022
aeb4ca2
[16.0][MIG] document_page: Migration to 16.0
FernandoRomera Dec 5, 2022
a169bcd
[UPD] Update document_page.pot
Dec 7, 2022
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .copier-answers.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Do NOT update manually; changes here will be overwritten by Copier
_commit: v1.11.0
_commit: v1.11.1
_src_path: gh:oca/oca-addons-repo-template
ci: GitHub
dependency_installation_mode: PIP
Expand Down
4 changes: 2 additions & 2 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ repos:
- --settings=.
exclude: /__init__\.py$
- repo: https://github.com/acsone/setuptools-odoo
rev: 3.1.5
rev: 3.1.8
hooks:
- id: setuptools-odoo-make-default
- id: setuptools-odoo-get-requirements
Expand All @@ -113,7 +113,7 @@ repos:
- requirements.txt
- --header
- "# generated from manifests external_dependencies"
- repo: https://gitlab.com/PyCQA/flake8
- repo: https://github.com/PyCQA/flake8
rev: 3.9.2
hooks:
- id: flake8
Expand Down
118 changes: 118 additions & 0 deletions document_page/README.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,118 @@
=============
Document Page
=============

.. !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! This file is generated by oca-gen-addon-readme !!
!! changes will be overwritten. !!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

.. |badge1| image:: https://img.shields.io/badge/maturity-Beta-yellow.png
:target: https://odoo-community.org/page/development-status
:alt: Beta
.. |badge2| image:: https://img.shields.io/badge/licence-AGPL--3-blue.png
: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/15.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-15-0/knowledge-15-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/15.0
:alt: Try me on Runbot

|badge1| |badge2| |badge3| |badge4| |badge5|

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

**Table of contents**

.. contents::
:local:

Installation
============

This module depends on module knowledge. So make sure to have it in your addons list.

Configuration
=============

No configuration required.

Usage
=====

To use this module, you need to:

* Go to Knowledge menu
* Click on Categories to create the document's category you need with the template
* Click on Pages to create pages and select the previous category to use the template

Bug Tracker
===========

Bugs are tracked on `GitHub Issues <https://github.com/OCA/knowledge/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 <https://github.com/OCA/knowledge/issues/new?body=module:%20document_page%0Aversion:%2015.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**>`_.

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

Credits
=======

Authors
~~~~~~~

* OpenERP SA

Contributors
~~~~~~~~~~~~

* Gervais Naoussi <[email protected]>
* Maxime Chambreuil <[email protected]>
* Iván Todorovich <[email protected]>
* Jose Maria Alzaga <[email protected]>
* Lois Rilo <[email protected]>
* Simone Orsi <[email protected]>
* `Tecnativa <https://www.tecnativa.com>`_:

* Ernesto Tejeda
* Víctor Martínez

Trobz

* Dung Tran <[email protected]>

* `Sygel <https://www.sygel.es>`_:

* Ángel García de la Chica Herrera

Other credits
~~~~~~~~~~~~~

The development of this module has been financially supported by:

* Odoo SA <http://www.odoo.com>
* Savoir-faire Linux <http://www.savoirfairelinux.com>
* Camptocamp

Maintainers
~~~~~~~~~~~

This module is maintained by the OCA.

.. image:: https://odoo-community.org/logo.png
:alt: Odoo Community Association
:target: https://odoo-community.org

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 <https://github.com/OCA/knowledge/tree/15.0/document_page>`_ project on GitHub.

You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.
4 changes: 4 additions & 0 deletions document_page/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).

from . import models
from . import wizard
37 changes: 37 additions & 0 deletions document_page/__manifest__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
# Copyright (C) 2004-2010 Tiny SPRL (<http://tiny.be>).
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).


{
"name": "Document Page",
"version": "16.0.1.0.0",
"category": "Knowledge Management",
"author": "OpenERP SA, Odoo Community Association (OCA)",
"images": [
"images/category_list.png",
"images/create_category.png",
"images/page_list.png",
"images/create_page.png",
"images/customer_invoice.jpeg",
"images/page_history.png",
],
"website": "https://github.com/OCA/knowledge",
"license": "AGPL-3",
"depends": ["mail", "document_knowledge"],
"data": [
"security/document_page_security.xml",
"security/ir.model.access.csv",
"wizard/document_page_create_menu.xml",
"wizard/document_page_show_diff.xml",
"views/document_page.xml",
"views/document_page_category.xml",
"views/document_page_history.xml",
"views/report_document_page.xml",
],
"demo": ["demo/document_page.xml"],
"assets": {
"web.assets_backend": [
"document_page/static/src/scss/document_page.scss",
],
},
}
142 changes: 142 additions & 0 deletions document_page/demo/document_page.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,142 @@
<?xml version="1.0" encoding="UTF-8" ?>
<odoo noupdate="1">

<record id="base.user_demo" model="res.users">
<field
eval="[(4, ref('document_knowledge.group_document_user'))]"
name="groups_id"
/>
</record>

<record id="demo_category1" model="document.page">
<field name="name">Odoo Features</field>
<field name="type">category</field>
<field name="template">
Summary of the feature

Long explanation

Conclusion

Additional ressources

</field>
</record>

<record id="demo_page1" model="document.page">
<field name="name">Odoo 15.0 Functional Demo</field>
<field name="draft_name">1.0</field>
<field name="draft_summary">Init</field>
<field name="parent_id" ref="demo_category1" />
<field name="content">
<![CDATA[
<br>
<br>
The news is out, Odoo's latest version 15.0 is here. It's more<br>
user-friendly, even more business oriented and efficient to manage your company<br>
<br>
How to discover the latest version 15.0?<br>
<br>
Demo : <a target="https://demo.odoo.com" href="https://demo.odoo.com" style="background: url(&quot;data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAoAAAAKCAYAAACNMs+9AAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAFZJREFUeF59z4EJADEIQ1F36k7u5E7ZKXeUQPACJ3wK7UNokVxVk9kHnQH7bY9hbDyDhNXgjpRLqFlo4M2GgfyJHhjq8V4agfrgPQX3JtJQGbofmCHgA/nAKks+JAjFAAAAAElFTkSuQmCC&quot;) no-repeat scroll right center transparent;padding-right: 13px;"></a><br>
Online: <a target="https://www.odoo.com/trial" href="https://www.odoo.com/trial" style="background: url(&quot;data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAoAAAAKCAYAAACNMs+9AAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAFZJREFUeF59z4EJADEIQ1F36k7u5E7ZKXeUQPACJ3wK7UNokVxVk9kHnQH7bY9hbDyDhNXgjpRLqFlo4M2GgfyJHhjq8V4agfrgPQX3JtJQGbofmCHgA/nAKks+JAjFAAAAAElFTkSuQmCC&quot;) no-repeat scroll right center transparent;padding-right: 13px;"></a><br>
Download: <a target="https://www.odoo.com/page/download" href="https://www.odoo.com/page/download" style="background: url(&quot;data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAoAAAAKCAYAAACNMs+9AAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAFZJREFUeF59z4EJADEIQ1F36k7u5E7ZKXeUQPACJ3wK7UNokVxVk9kHnQH7bY9hbDyDhNXgjpRLqFlo4M2GgfyJHhjq8V4agfrgPQX3JtJQGbofmCHgA/nAKks+JAjFAAAAAElFTkSuQmCC&quot;) no-repeat scroll right center transparent;padding-right: 13px;"></a><br>
<br>
We have also put together a functional demo that presents 15.0. Watch this video<br>
to learn directly from us what Odoo 15.0 can do for you. Share it in your<br>
company, with your clients and implement it now for your business.<br>
<br>
<h3>Watch on Youtube!</h3><br>
<br>
<div class="media_iframe_video" data-oe-expression="//www.youtube.com/embed/zLSgpQM_tms">
<div class="css_editable_mode_display" />
<div class="media_iframe_video_size" />
<iframe src="//www.youtube.com/embed/zLSgpQM_tms" allowfullscreen="allowfullscreen" frameborder="0" />
</div>
<br>
<br>
]]>
</field>
</record>

<record id="demo_page2" model="document.page">
<field name="name">Personalise Dashboards</field>
<field name="parent_id" ref="demo_category1" />
<field name="draft_name">1.0</field>
<field name="draft_summary">Init</field>
<field name="content">
<![CDATA[
<br>
You like Odoo, but feel like you want to personalise it more? You can customize your
dashboard by adding new boards of any<br>
search view.<br>
<br>
<h3>How is it done?</h3><br>
<br>
Step 1: access one search view <br>
<br>
Step 2: apply the filter you want to see at each connection to the application<br>
(eg. on sales, manufacturing, etc)<br>
<br>
Step 3: add it into the dashboard in the same space where you can save the filter<br>
<br>
Step 4: choose the application you want it visible on and the name of the array<br>
<br>
Look at this simple example below from Purchase, where I want to put on the<br>
application's dashboard "Purchases to Approve". After I access the search view<br>
and apply the filter for "Purchases to Approve", I can add it immediately to my<br>
Purchase dashboard.<br>
<br>
<img src="/document_page/static/src/img/add_to_dashboard.png" alt="Add to dashboard" width="500"><br>
<br>
In less than a minute, the search view is visible on the dashboard<br>
<br>
<img src="/document_page/static/src/img/dashboard.png" alt="Dashboard" width="500"><br>
<br>
Of course, you are free to delete what you don't need or like, but just in case<br>
you change your mind there is a reset button to return to the default view.<br>
<br>
<br>
]]>
</field>
</record>

<record id="demo_page3" model="document.page">
<field name="name">Touchscreen Point of Sale</field>
<field name="parent_id" ref="demo_category1" />
<field name="draft_name">1.0</field>
<field name="draft_summary">Init</field>
<field name="content">
<![CDATA[
<br>
The Odoo touchscreen point of sale available with 15.0 allows you<br>
to manage your shop sales very easily. It's fully web based so that you don't<br>
have to install or deploy any software and all the sales shops can be easily<br>
consolidated. It works in connected and disconnected modes so that you can<br>
continue to sell if you lose your internet connection.<br>
<br>
<img src="/document_page/static/src/img/POS.png" alt="Point of Sale" width="500"><br>
<br>
<h3>Here's a summary of its main features and benefits:</h3><br>
<br>
100% WEB based<br>
<br>
<ul><li>available for any touchscreen device (ipod, ipad, any tablet)mobile (with portable devices)</li><li>no installation required</li><li>no synchronization needed, completely integrated</li><li>continue working even when your connection is down if you close your browser, data won't be lost</li><li>fully web based with a clean interface smart interface</li></ul><br>
<br>
You have different options to select your products. You can do it through the<br>
barcode reader, just browse through the categories you have put in place (ie.<br>
drinks, snacks, meals, etc.), or text search in case neither of the other<br>
options work for you. If you need to use the POS for your restaurant, for<br>
example, your employees can record at the same time multiple tickets without<br>
having to wait to do one transaction at a time. Along, to facilitate payment,<br>
the application allows multiple payment methods.<br>
<br>
The POS application is so simple and accessible to use that your shop or<br>
restaurant will never need any other tool to manage orders. Due to its smart<br>
and user-friendly interface you don't need any training to learn how to use it.<br>
Think of it as an out-of-the-box solution to boost your business' productivity.<br>
<br>
]]>
</field>
</record>

</odoo>
Loading