Skip to content

Commit f2dc852

Browse files
committed
[IMP] knowledge/management: update Articles management
task-4444311 closes #12717 Signed-off-by: Xavier Platteau (xpl) <[email protected]>
1 parent e93df68 commit f2dc852

File tree

6 files changed

+193
-88
lines changed

6 files changed

+193
-88
lines changed

content/applications/essentials/export_import_data.rst

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ modification. This document covers the export and import of data into and out of
1313
can occur with large exports, or in cases where the import file is too large. To circumvent this
1414
limitation surrounding the size of the records, process exports or imports in smaller batches.
1515

16-
.. _export-data:
16+
.. _essentials/export_import_data/export-data:
1717

1818
Export data from Odoo
1919
=====================
@@ -66,7 +66,7 @@ several options for the data to export:
6666
in the export user interface is equal to *parent_id* (external identifier). This is helpful
6767
because then, the only data exported is what should be modified and re-imported.
6868

69-
.. _import-data:
69+
.. _essentials/export_import_data/import-data:
7070

7171
Import data into Odoo
7272
=====================
@@ -534,14 +534,15 @@ that are able to be imported.
534534
unless it is manually added, but it is still included in the export. However, if the :guilabel:`I
535535
want to update data (import-compatible export)` checkbox is ticked, it is included in the export.
536536

537-
Select the required fields to be included in the export using the :ref:`options <export-data>` on
538-
the pop-up window, then click :guilabel:`Export`.
537+
Select the required fields to be included in the export using the :ref:`options
538+
<essentials/export_import_data/export-data>` on the pop-up window, then click :guilabel:`Export`.
539539

540540
Import updated data
541541
-------------------
542542

543543
After exporting, make any necessary changes to the data file. When the file is ready, it can be
544-
:ref:`imported <import-data>` by following the same process as a normal data import.
544+
:ref:`imported <essentials/export_import_data/import-data>` by following the same process as a
545+
normal data import.
545546

546547
.. danger::
547548
When updating data, it is extremely important that the *External ID* remain consistent, as

content/applications/essentials/html_editor.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ toolbar and apply any of the following formatting options:
5151
the tone by clicking buttons such as :guilabel:`Correct, Shorten, Lengthen, Friendly,
5252
Professional`, and :guilabel:`Persuasive`.
5353

54-
.. image:: text_editor/style-and-colors.png
54+
.. image:: html_editor/style-and-colors.png
5555
:alt: Text editor's toolbox
5656

5757

content/applications/productivity/knowledge/articles_editing.rst

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22
Article creation and editing
33
============================
44

5+
.. _knowledge/articles_editing/create-article:
6+
57
Article creation
68
================
79

@@ -118,6 +120,8 @@ To add a title emoji to the article's name and header:
118120
- Alternatively, click the :icon:`fa-file-text-o` :guilabel:`(page)` icon next to the article's
119121
name in the sidebar or the top bar and select the preferred emoji.
120122

123+
.. _knowledge/articles_editing/views:
124+
121125
Views and links from other apps
122126
-------------------------------
123127

Lines changed: 179 additions & 79 deletions
Original file line numberDiff line numberDiff line change
@@ -1,114 +1,214 @@
1-
===================
2-
Articles management
3-
===================
1+
==================
2+
Article management
3+
==================
44

5-
Managing articles effectively is key to maximizing the value of your knowledge resources, whether
6-
working on a research project, studying for an exam, or building a knowledge database for your
7-
business. Knowledge allows you to fully manage your articles, from
8-
:ref:`creation <management/create>` to :ref:`removal <management/remove>`, through :ref:`sharing
9-
<management/share>` and :ref:`structure <management/structure>`.
5+
Knowledge allows for managing articles, which consists of :ref:`structuring
6+
<knowledge/management/structure>`, :ref:`sharing <knowledge/management/share>`, :ref:`removing
7+
<knowledge/management/remove>`, and :ref:`retrieving <knowledge/management/retrieve>` them.
108

11-
You can find most tools to manage articles by clicking the vertical ellipsis button (:guilabel:``)
12-
at the right side of the top bar. From there, you can move, lock, delete, or duplicate an article.
9+
Basic management
10+
================
1311

14-
.. image:: management/toolbox.png
15-
:alt: Menu with tools for the management of articles
12+
Click the :icon:`fa-ellipsis-v` (:guilabel:`ellipsis`) icon and select one of the following actions
13+
for basic article management:
1614

17-
Creation, sharing, and removal of articles
18-
==========================================
15+
- :guilabel:`Move To`: Select the article to move under a category or another article, then click
16+
:guilabel:`Move Article`.
17+
- :guilabel:`Lock Content`: Lock the article to stop edits. Click :guilabel:`Unlock` to edit again.
18+
- :guilabel:`Create a Copy`: Copy the article under the :guilabel:`Private` section.
19+
- :guilabel:`Export`: Open the browser's print function.
20+
- :guilabel:`Send to Trash`: Move the article to the trash.
1921

20-
.. _management/create:
22+
.. note::
23+
The following actions only apply to nested articles and :ref:`article items
24+
<knowledge/articles_editing/commands>`:
2125

22-
Creation
23-
--------
24-
25-
To create articles, click the :guilabel:`+ New` button on the right side of the top bar or the
26-
:guilabel:`+` button next to a category or another article.
26+
- :guilabel:`Convert into Article Item`: Convert the nested article into an article item.
27+
- :guilabel:`Convert into Article`: Convert the article item into a nested article.
2728

2829
.. tip::
29-
Create private articles quickly with the Alt/Option + C keyboard shortcut.
30+
- Move an article directly from the sidebar tree by dragging and dropping it under another
31+
article or category.
32+
- Press `CTRL` / `CMD` + `K` to open the command palette, then type `?` to search for visible
33+
articles or `$` for :ref:`hidden articles <knowledge/management/visibility>`. Alternatively,
34+
hover over the :guilabel:`Workspace` category and click the :icon:`fa-eye` (:guilabel:`eye`)
35+
icon to find hidden articles.
36+
37+
.. _knowledge/management/structure:
38+
39+
Structuring
40+
===========
41+
42+
The article structure follows a hierarchy with parent and nested articles organized within the
43+
following categories:
3044

31-
.. _management/share:
45+
- :guilabel:`Favorites` displays all articles marked as favorites.
46+
- :guilabel:`Workspace` displays articles accessible to all internal users.
47+
- :guilabel:`Shared` displays articles shared with specific users.
48+
- :guilabel:`Private` displays personal articles.
49+
50+
.. note::
51+
- To mark an article as a favorite and display the :guilabel:`Favorites` category, click the
52+
:icon:`fa-star-o` (:guilabel:`star`) icon in the top-right menu.
53+
- Nested articles inherit the access rights of their parent article.
54+
55+
.. _knowledge/management/share:
3256

3357
Sharing
34-
-------
58+
=======
59+
60+
Sharing an article involves configuring :ref:`access rights <knowledge/management/rights>`,
61+
inviting :ref:`users <knowledge/management/invite>`, providing :ref:`online access
62+
<knowledge/management/share-online>`, and determining its visibility in the :ref:`sidebar tree
63+
<knowledge/management/structure>`.
64+
65+
Articles listed under a category in the sidebar tree are visible. Articles that certain users must
66+
search for through the command palette due to restricted access rights are hidden.
67+
68+
.. _knowledge/management/rights:
69+
70+
Configure access rights
71+
-----------------------
72+
73+
Click :guilabel:`Share` in the top-right menu to configure access rights.
74+
75+
Default access rights
76+
~~~~~~~~~~~~~~~~~~~~~
77+
78+
.. tabs::
3579

36-
You can share articles with internal or external users. To do so, open the share menu by clicking
37-
:guilabel:`Share` in the top-right menu of articles.
80+
.. list-table::
81+
:widths: 20 80
82+
:header-rows: 1
83+
:stub-columns: 1
3884

39-
Invite users
40-
~~~~~~~~~~~~
85+
* - Setting
86+
- Use
87+
* - :guilabel:`Can edit`
88+
- Allow all internal users to edit the article.
89+
* - :guilabel:`Can read`
90+
- Allow all internal users to read the article only.
91+
* - :guilabel:`No access`
92+
- Prevent all users from accessing the article in the sidebar tree or searching in the
93+
command palette.
4194

42-
To share articles with specific users (internal or external, such as a partner or a customer), click
43-
:guilabel:`Invite`. This opens a pop-up window in which you can choose the :guilabel:`Permission`
44-
:ref:`(i.e, access rights) <management/categories>` and enter the :guilabel:`Recipients`' name or
45-
email.
95+
.. _knowledge/management/visibility:
4696

47-
You can also restrict a specific user from accessing the article by selecting :guilabel:`No access`
48-
permission.
97+
Visibility
98+
~~~~~~~~~~
4999

50-
.. image:: management/invite.png
51-
:alt: pop-up window to invite users to access a Knowledge article
100+
.. tabs::
52101

53-
Share online
54-
~~~~~~~~~~~~
102+
.. list-table::
103+
:widths: 20 80
104+
:header-rows: 1
105+
:stub-columns: 1
55106

56-
To share articles **online**, activate the :guilabel:`Share to web` button. Doing so generates a URL
57-
link anyone can use to view the article.
107+
* - Setting
108+
- Use
109+
* - :guilabel:`Everyone`
110+
- The article is visible in the sidebar tree to all internal users.
111+
* - :guilabel:`Members`
112+
- The article is only visible in the sidebar tree to :ref:`invited users
113+
<knowledge/management/invite>`, while other users can find it using the hidden article
114+
search by pressing `CTRL` / `CMD` + `K` and typing `$`.
58115

59-
Additionally, the share menu displays the default permission for internal members along with all the
60-
users who have been granted specific permission.
116+
.. note::
117+
- The :guilabel:`Default Access Rights` apply to all internal users except invited users;
118+
specific access rights override default access rights.
119+
- Selecting `Can edit` or `Can read` in the :guilabel:`Default Access Rights` moves the article
120+
to the :guilabel:`Workspace` category, while selecting `No access` moves it to the
121+
:guilabel:`Private` category if it is not shared with anyone.
122+
- The :guilabel:`Visibility` setting only applies to :guilabel:`Workspace` articles.
61123

62-
.. image:: management/share-menu.png
63-
:alt: Sharing menu with URL for online sharing and the list of members.
124+
.. _knowledge/management/invite:
64125

65-
.. _management/remove:
126+
Invite specific users
127+
---------------------
128+
129+
To grant specific internal or portal users access to a private article or to share a
130+
:guilabel:`Workspace` article with a portal user, follow these steps:
131+
132+
#. Click :guilabel:`Share` in the top-right menu.
133+
#. Click :guilabel:`Invite`.
134+
#. Select the preferred :guilabel:`Permission` and add users in the :guilabel:`Recipients` field.
135+
#. Click :guilabel:`Invite`.
136+
137+
.. _knowledge/management/share-online:
138+
139+
Generate article URL
140+
--------------------
141+
142+
Click :guilabel:`Share` and activate the :guilabel:`Share to web` toggle to generate a URL.
143+
Click the :icon:`fa-clone` (:guilabel:`copy`) icon to copy the article's URL.
144+
145+
.. note::
146+
- If an article contains :ref:`inserted views <knowledge/articles_editing/views>`, users with
147+
the URL do not see them unless they can access the inserted content.
148+
- Having the Website app is necessary to share an article's URL.
149+
150+
.. _knowledge/management/remove:
66151

67152
Removal
68-
-------
153+
=======
154+
155+
Removing an article involves deleting or archiving it.
156+
157+
Delete an article
158+
-----------------
159+
160+
Select an article in the sidebar tree and click the :icon:`fa-ellipsis-v` (:guilabel:`ellipsis`)
161+
icon, then :guilabel:`Send to Trash`. The article is moved to the trash for 30 days before being
162+
permanently deleted.
163+
164+
To delete an article directly, click :guilabel:`Search` in the top-left menu, select an article,
165+
and click :menuselection:`Actions --> Delete --> Delete` to remove the article permanently.
166+
167+
.. note::
168+
To restore a trashed article, click :guilabel:`Open the Trash` at the bottom of the sidebar
169+
tree, select an article, and click :guilabel:`Restore`. Alternatively, click :guilabel:`Search`
170+
in the top-left menu. In the search bar, click :menuselection:`Filters --> Trashed`. Click the
171+
article, then :guilabel:`Restore`.
69172

70-
To remove an article, you can either **delete** it or **archive** it.
173+
Archive an article
174+
------------------
71175

72-
To delete an article, open it and click the vertical ellipsis button :menuselection:`(⋮) -->
73-
Delete`. The article is moved to the trash for 30 days before being permanently deleted. To restore
74-
it, click :guilabel:`Open the Trash`, select the article, and click :guilabel:`Restore`.
176+
Click :guilabel:`Search`, select an article, and click :menuselection:`Actions --> Archive -->
177+
Archive`.
75178

76-
To archive articles, click :guilabel:`Search`, select the article(s), and click
77-
:menuselection:`Action --> Archive --> Archive`. Archived articles are hidden from the search menu.
78-
To retrieve an archived article, add a custom filter to display them (:menuselection:`Search -->
79-
Filters --> Add Custom Filter`, and set :guilabel:`Active` as :guilabel:`is No`). Then, select the
80-
article(s) and go to :menuselection:`Action --> Unarchive`.
179+
.. note::
180+
To restore an archived article, click :guilabel:`Search`. In the search bar, click
181+
:menuselection:`Filters --> Archived`. Select the article and go to :menuselection:`Actions -->
182+
Unarchive`.
81183

82-
.. _management/structure:
184+
.. _knowledge/management/retrieve:
83185

84-
Structure of articles
85-
=====================
186+
Retrieval
187+
=========
86188

87-
Articles are organized into a hierarchical structure wherein the article on top is a parent article,
88-
and those underneath are called nested articles. This structure allows the grouping of related
89-
articles.
189+
Retrieving Knowledge articles consists of accessing them from various Odoo apps or restoring
190+
previous versions.
90191

91-
To establish this hierarchy, create new articles by clicking the :guilabel:`+` button next to the
92-
parent-to-be article, or move existing articles by either dragging and dropping them under the
93-
parent-to-be or by clicking the vertical ellipsis button (:guilabel:``), clicking :guilabel:`Move
94-
To` on the toolbox and selecting the article to use as a parent.
192+
Access articles from various apps
193+
---------------------------------
95194

96-
.. _management/categories:
195+
Knowledge articles are accessible from the :ref:`form view <studio/views/general/form>` of various
196+
apps. Click the :icon:`fa-bookmark` :guilabel:`(Knowledge)` icon in the top right corner to open
197+
the command palette, then choose one of the following search methods:
97198

98-
Categories
99-
----------
199+
- :guilabel:`Search for an article`: start typing the text to execute a semantic search that
200+
identifies relevant article information.
201+
- :guilabel:`Advanced Search`: after typing the text in the search bar, click :guilabel:`Advanced
202+
Search` to perform a parametric search with options to filter, group, or save articles.
100203

101-
Additionally, articles are divided into four categories that can be found on the left sidebar. These
102-
categories give articles default **access rights**.
204+
Version history
205+
---------------
103206

104-
- :guilabel:`Favorites`: You can set any article you can access as a favorite. To do so, click the
105-
star-shaped icon (:guilabel:``) in the top-right menu of articles. Marking articles as
106-
**favorites** is user-specific and does not affect other users.
107-
- :guilabel:`Workspace`: Articles displayed in that category are available to all internal users.
108-
These users have the right to read, modify or share these articles.
109-
- :guilabel:`Shared`: Articles displayed in that category are those you shared with internal users,
110-
external users, or shared with you.
111-
- :guilabel:`Private`: Articles displayed in that category are only available to you.
207+
To retrieve a previous version of an article, select it in the sidebar tree and click the
208+
:icon:`fa-history` (:guilabel:`history`) icon in the top-right menu to open the version history.
209+
Select a version and click :guilabel:`Restore history`.
112210

113-
.. image:: management/left-sidebar-cat.png
114-
:alt: Categories displayed in the left sidebar of Odoo Knowledge
211+
.. note::
212+
In the version history, the :guilabel:`Content` tab shows the selected version, while the
213+
:guilabel:`Comparison` tab displays the differences between the article's previous and current
214+
versions.

content/applications/websites/ecommerce/products.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -45,9 +45,9 @@ page. When you :guilabel:`Save`, the product page is automatically published.
4545
Import products
4646
---------------
4747

48-
To :ref:`import product data <import-data>` using XLSX or CSV files, go to
49-
:menuselection:`Website --> eCommerce --> Products`, click the :icon:`fa-cog` (:guilabel:`gear`)
50-
icon, then :ref:`Import records <import-data>`.
48+
To :ref:`import product data <essentials/export_import_data/import-data>` using XLSX or CSV files,
49+
go to :menuselection:`Website --> eCommerce --> Products`, click the :icon:`fa-cog`
50+
(:guilabel:`gear`) icon, then :ref:`Import records <essentials/export_import_data/import-data>`.
5151

5252
.. tip::
5353
To publish **large batches** of products, follow these steps:

0 commit comments

Comments
 (0)