Initial commit

This commit is contained in:
trovier 2023-05-16 16:27:32 +02:00
parent 55a9b72804
commit 9d413b15d5
9 changed files with 262 additions and 3 deletions

View File

@ -114,7 +114,8 @@
<ul class="navitem_2nd_menu">
<li id="navitem_integration_nextcloud"><a class="nav_2nd_menu_link" style="border-right: none" href="<%=VirtualPathUtility.ToAbsolute("~/integration/nextcloud.aspx")%>">Nextcloud</a></li>
<li id="navitem_integration_nuxeo"><a class="nav_2nd_menu_link" style="border-right: none" href="<%=VirtualPathUtility.ToAbsolute("~/integration/nuxeo.aspx")%>">Nuxeo</a></li>
<li id="navitem_integration_ownclooud"><a class="nav_2nd_menu_link" style="border-right: none" href="<%=VirtualPathUtility.ToAbsolute("~/integration/owncloud.aspx")%>">ownCloud</a></li>
<li id="navitem_integration_odoo"><a class="nav_2nd_menu_link" style="border-right: none" href="<%=VirtualPathUtility.ToAbsolute("~/integration/odoo.aspx")%>">Odoo</a></li>
<li id="navitem_integration_owncloud"><a class="nav_2nd_menu_link" style="border-right: none" href="<%=VirtualPathUtility.ToAbsolute("~/integration/owncloud.aspx")%>">ownCloud</a></li>
<li id="navitem_integration_plone"><a class="nav_2nd_menu_link" style="border-right: none" href="<%=VirtualPathUtility.ToAbsolute("~/integration/plone.aspx")%>">Plone</a></li>
<li id="navitem_integration_redmine"><a class="nav_2nd_menu_link" style="border-right: none" href="<%=VirtualPathUtility.ToAbsolute("~/integration/redmine.aspx")%>">Redmine</a></li>
<li id="navitem_integration_share"><a class="nav_2nd_menu_link" style="border-right: none" href="<%=VirtualPathUtility.ToAbsolute("~/integration/sharepoint.aspx")%>">SharePoint</a></li>

View File

@ -0,0 +1,157 @@
<%@ Control Language="C#" Inherits="BaseContentUserControls"%>
<%@ Register Namespace="TeamLab.Controls" Assembly="__Code" TagPrefix="cc" %>
<%@ Register TagPrefix="cc" TagName="LinuxVersionTag" Src="~/Controls/Help/Tags/linux-version/linux-version.ascx" %>
<script runat="server">
protected override void Init()
{
PageTitle = PageCaption = "Integration. Getting Started. Odoo";
MetaKeyWords = "integration, connector, online editing, odoo, edit, share, store, api";
MetaDescription = "Integrate ONLYOFFICE with Odoo business management tool";
var guides = new GuidesModel();
guides.CaptionRelatedTips = "Related Tips & Tricks";
guides.Title = "Import Files from Other Sources";
guides.RelatedTips = "Do you have some documents stored in other web-sources like Zoho, Google Drive or Box? You can easily import them to the Documents module.";
guides.LearnMore = "Learn more...";
(Page as BasePage).Guides = guides;
}
</script>
<div class="MainHelpCenter GettingStarted">
<ul class="TableOfContents">
<li><a href="<%=VirtualPathUtility.ToAbsolute("~/integration/gettingstarted-odoo.aspx#Overview_block")%>">About the ONLYOFFICE and Odoo integration</a>
<ul class="TableOfContentsSub">
<li><a href="<%=VirtualPathUtility.ToAbsolute("~/integration/gettingstarted-odoo.aspx#MainFeatures_block")%>">Main features</a></li>
<li><a href="<%=VirtualPathUtility.ToAbsolute("~/integration/gettingstarted-odooo.aspx#SupportedFormats_block")%>">Supported formats</a></li>
<%--<li><a href="<%=VirtualPathUtility.ToAbsolute("~/integration/gettingstarted-odoo.aspx#Whatsnew_block")%>">What's new</a></li>--%>
</ul>
</li>
<li><a href="<%=VirtualPathUtility.ToAbsolute("~/integration/gettingstarted-odoo.aspx#OnlineEditorsIntegration_block")%>">Connecting ONLYOFFICE Docs to Odoo</a>
<ul class="TableOfContentsSub">
<li><a href="<%=VirtualPathUtility.ToAbsolute("~/integration/gettingstarted-odoo.aspx#Requirements_block")%>">Requirements</a></li>
<li><a href="<%=VirtualPathUtility.ToAbsolute("~/integration/gettingstarted-odoo.aspx#Configure_block")%>">Configuring the ONLYOFFICE integration module for Odoo</a></li>
<li><a href="<%=VirtualPathUtility.ToAbsolute("~/integration/gettingstarted-odoo.aspx#JWT_block")%>">Configuring JWT for the ONLYOFFICE and Odoo integration</a></li>
</ul>
</li>
<li>
<a href="<%=VirtualPathUtility.ToAbsolute("~/integration/gettingstarted-odoo.aspx#StartUsing_block")%>">Start using ONLYOFFICE Docs within Odoo</a>
</li>
</ul>
<div class="keyword_block">
<ul>
<li><cc:LocalizeContent runat="Server" ControlName="~/Controls/Help/Tags/collaborative-editing/collaborative-editing.ascx" /></li>
<li><cc:LocalizeContent runat="Server" ControlName="~/Controls/Help/Tags/docker-version/docker-version.ascx" /></li>
<li><cc:LinuxVersionTag ID="LinuxVersionTag1" runat="server" /></li>
<li><cc:LocalizeContent runat="Server" ControlName="~/Controls/Help/Tags/local-server/local-server.ascx" /></li>
<li><cc:LocalizeContent runat="Server" ControlName="~/Controls/Help/Tags/document-server/document-server.ascx" /></li>
<li><cc:LocalizeContent runat="Server" ControlName="~/Controls/Help/Tags/open-source-version/open-source-version.ascx" /></li>
<li><cc:LocalizeContent runat="Server" ControlName="~/Controls/Help/Tags/install-onlyoffice/install-onlyoffice.ascx" /></li>
</ul>
</div>
<div class="gs_content" id="Overview_block">
<h2>About the ONLYOFFICE and Odoo integration</h2>
<div class="PortalHelp">
<p>Odoo is a business management tool designed for resource planning. ONLYOFFICE offers an official module to integrate ONLYOFFICE Docs with Odoo and edit office documents in your Odoo media space, e.g., chat attachments, notes, etc. You can get the ONLYOFFICE integration module from the <a href="https://apps.odoo.com/apps/modules/16.0/onlyoffice_odoo/">official Odoo app library</a> The module is distributed under the AGPL-3 License.</p>
</div>
<div class="gs_content gs_submenu" id="MainFeatures_block">
<h3>Main features</h3>
<p> </p>
<ul>
<li>Editing and viewing text documents, spreadsheets, and presentations.</li>
<li>Open other office file formats for viewing, including RTF, TXT, CSV, etc.</li>
<li>Co-editing documents in real-time: two co-editing modes (Fast and Strict), the Track Changes mode, comments, and the built-in chat.</li>
<li>Edit form templates in DOCXF</li>
<li>Read PDF files</li>
<li><b>JWT support</b> to secure your traffic so that no one can have access to your documents with the exception of the users with proper rights.</li>
</ul>
</div>
<div class="gs_content gs_submenu" id="SupportedFormats_block">
<h3>Supported formats</h3>
<p> </p>
<ul>
<li>For editing: DOCX, DOCXF, XLSX, PPTX.</li>
<li>For viewing only: DJVU, DOC, DOCM, DOT, DOTM, DOTX, EPUB, FB2, FODT, HTML, MHT, ODT, OTT, OXPS, PDF, RTF, TXT, XPS, XML, CSV, FODS, ODS, OTS, XLS, XLSM, XLT, XLTM, XLTX, FODP, ODP, OTP, POT, POTM, POTX, PPS, PPSM, PPSX, PPT, PPTM.</li>
</ul>
</div>
<%--<div class="gs_content gs_submenu" id="Whatsnew_block">
<h3>What's new in version 1.1.2</h3>
<p>Added</p>
<ul>
<li>Security filtering</li>
<li>Viewing option for DOCX, XLSX, PPTX formats</li>
<li>JWT support</li>
</ul>
<p>Changed</p>
<ul>
<li>Minor documentation style changes</li>
<li>Minor code style changes</li>
</ul>
<p>The full change log is available <a href="https://github.com/ONLYOFFICE/onlyoffice-chamilo/blob/master/CHANGELOG.md" target="_blank"><b>here</b></a>.</p>
</div>
</div>
</div> --%>
<div class="gs_content" id="OnlineEditorsIntegration_block">
<h2>Connecting ONLYOFFICE Docs to Odoo</h2>
<div class="gs_content gs_submenu" id="Requirements_block">
<h3>Requirements</h3>
<p> </p>
<ul>
<li>ONLYOFFICE Docs instance. Please refer to the official <a href="https://helpcenter.onlyoffice.com/installation/docs-index.aspx">documentation page</a> to learn more about installing ONLYOFFICE Docs:
<ul>
<li>self-hosted free Community or scalable Enterprise version
<p>or</p>
</li>
<li>ONLYOFFICE Docs Cloud that requires no downloading and installation</li>
</ul>
</li>
</ul>
</div>
<div class="gs_content gs_submenu" id="Configure_block">
<h3>Configuring the ONLYOFFICE integration module for Odoo</h3>
<div class="PortalHelp">
<p>After the app installation, adjust its settings within your Odoo. To do that, go to <b>Home menu</b> -> <b>Settings</b> -> <b>ONLYOFFICE</b>).</p>
<div class="screen_block">
<img alt="ONLYOFFICE_Odoo" target="ONLYOFFICE_Odoo_1" class="screenphoto screen_guides" src="<%=VirtualPathUtility.ToAbsolute("~/images/help/GettingStarted/Integration/Odoo/small/odoo_settings.png")%>" />
<img alt="ONLYOFFICE_Odoo" id="ONLYOFFICE_Odoo_1" class="bigphoto_screen" src="<%=VirtualPathUtility.ToAbsolute("~/images/help/GettingStarted/Integration/Odoo/big/odoo_settings.png")%>" />
<div target="ONLYOFFICE_Odoo_1" class="screenphoto magnifier"></div>
</div>
<p>In the <b>Document Server Url</b>, specify the URL of the installed ONLYOFFICE Docs or the address of ONLYOFFICE Docs Cloud.</p>
</div>
</div>
<div class="gs_content gs_submenu" id="JWT_block">
<h3>Configuring JWT for the ONLYOFFICE and Odoo integration</h3>
<p>JWT or JSON Web Token is a string sent from client to server within the HTTP request to validate the authenticity of the client. JWT is saved on the client-side only so the transmission between parties is protected and digitally signed.</p>
<p>The token is generated using the JWT (JSON Web Tokens) standard. The tokens are signed by the server's key, so the client is able to verify that the token is legitimate.</p>
<p>ONLYOFFICE Docs validates the token. The data from the payload is considered valid and is used instead of the corresponding data from the main parameters. If the token is invalid, the command is not executed. To learn more, please read the <a href="https://api.onlyoffice.com/editors/security">API Security guide</a>.</p>
<p>In Odoo, JWT is enabled <b>by default</b>.</p>
<p>Follow these steps to configure it <b>manually if needed</b>:</p>
<ol>
<li>Go to <b>Home</b> menu -> <b>Settings</b> -> <b>ONLYOFFICE</b>.</li>
<li>Enter the values in the following fields:
<ul>
<li><b>Document Server JWT Secret</b>: The secret key is generated automatically to restrict the access to ONLYOFFICE Docs. if you want to specify your own secret key in this field, also specify the same secret key in the ONLYOFFICE Docs config file to enable the validation.</li>
<li><b>Document Server JWT Header</b>: Standard JWT header used in ONLYOFFICE is Authorization. In case this header is in conflict with your setup, you can change the header to the custom one.</li>
</ul>
</li>
</ol>
</div>
<div class="gs_content" id="StartUsing_block">
<h2>Start using ONLYOFFICE Docs within Odoo</h2>
<div class="PortalHelp">
<p>You can edit any files attached to Odoo activities and supported by ONLYOFFICE (see the full list <a href="<%=VirtualPathUtility.ToAbsolute("~/Integration/gettingstarted-odoo.aspx#SupportedFormats_block")%>">here</a>).</p>
<p>To edit or view a file, click the <b>Open in ONLYOFFICE</b> button next to it.</p>
</div>
</div>
</div>
</div>
</div>

View File

@ -166,11 +166,12 @@
<p><a href="<%=VirtualPathUtility.ToAbsolute("~/integration/jira.aspx")%>">Jira</a></p>
<p><a href="<%=VirtualPathUtility.ToAbsolute("~/integration/liferay.aspx")%>">Liferay</a></p>
<p><a href="<%=VirtualPathUtility.ToAbsolute("~/integration/mattermost.aspx")%>">Mattermost</a></p>
<p><a href="<%=VirtualPathUtility.ToAbsolute("~/integration/moodle.aspx")%>">Moodle</a></p>
<p><a href="<%=VirtualPathUtility.ToAbsolute("~/integration/moodle.aspx")%>">Moodle</a></p>
</div>
<div class="second-column">
<p><a href="<%=VirtualPathUtility.ToAbsolute("~/integration/nextcloud.aspx")%>">Nextcloud</a></p>
<p><a href="<%=VirtualPathUtility.ToAbsolute("~/integration/nuxeo.aspx")%>">Nuxeo</a></p>
<p><a href="<%=VirtualPathUtility.ToAbsolute("~/integration/odoo.aspx")%>">Odoo</a></p>
<p><a href="<%=VirtualPathUtility.ToAbsolute("~/integration/owncloud.aspx")%>">ownCloud</a></p>
<p><a href="<%=VirtualPathUtility.ToAbsolute("~/integration/plone.aspx")%>">Plone</a></p>
<p><a href="<%=VirtualPathUtility.ToAbsolute("~/integration/redmine.aspx")%>">Redmine</a></p>

View File

@ -0,0 +1,59 @@
<%@ Control Language="C#" Inherits="BaseContentUserControls" %>
<%@ Register Namespace="TeamLab.Controls" Assembly="__Code" TagPrefix="cc" %>
<script runat="server">
protected override void Init()
{
PageTitle = PageCaption = "Integration Guides - Odoo";
MetaKeyWords = "";
MetaDescription = "ONLYOFFICE Integration Guides - Odoo.";
}
</script>
<div id="toggleMenuEditors" class="MainHelpCenter PageGuides integration_guides">
<h1>Integration Guides</h1>
<%--<div class="watchvideo_block">
<h2>
<asp:Literal runat="server" Text="<%$ Resources:Resource, WatchVideo %>" />
</h2>
<div class="slider autoplay with_arrows">
<cc:localizecontent runat="Server" controlname="~/Controls/Help/Video/AllVideoControls/0098_integrate_chamilo.ascx" />
</div>
</div>--%>
<ul class="block-editor">
<li>
<h2 class="doceditor">Odoo</h2>
<div class="described">
<p>Learn how to integrate ONLYOFFICE with Odoo, a business management tool designed for resource planning. You can get the ONLYOFFICE integration module from the <a href="https://apps.odoo.com/apps/modules/16.0/onlyoffice_odoo/">official Odoo app library</a>. The module is distributed under the AGPL-3 License. <%--on the ONLYOFFICE <a href="https://github.com/ONLYOFFICE/onlyoffice-drupal" target="_blank"><b>GitHub page</b></a>.--%></p>
</div>
<ul>
<li>
<h6>About the ONLYOFFICE and Odoo integration</h6>
<ul>
<li><a href="<%=VirtualPathUtility.ToAbsolute("~/integration/gettingstarted-odoo.aspx#MainFeatures_block")%>">Main features</a></li>
<li><a href="<%=VirtualPathUtility.ToAbsolute("~/integration/gettingstarted-odoo.aspx#SupportedFormats_block")%>">Supported formats</a></li>
<%--<li><a href="<%=VirtualPathUtility.ToAbsolute("~/integration/gettingstarted-odoo.aspx#Whatsnew_block")%>">What's new</a></li>--%>
</ul>
</li>
<li>
<h6>Connecting ONLYOFFICE Docs to Odoo</h6>
<ul>
<li><a href="<%=VirtualPathUtility.ToAbsolute("~/integration/gettingstarted-odoo.aspx#Requirements_block")%>">Requirements</a></li>
<li><a href="<%=VirtualPathUtility.ToAbsolute("~/integration/gettingstarted-odoo.aspx#Configure_block")%>">Configuring the ONLYOFFICE integration module for Odoo</a></li>
<li><a href="<%=VirtualPathUtility.ToAbsolute("~/integration/gettingstarted-odoo.aspx#JWT_block")%>">Configuring JWT for the ONLYOFFICE and Odoo integration</a></li>
</ul>
</li>
<li>
<h6>Getting Started</h6>
<ul>
<li><a href="<%=VirtualPathUtility.ToAbsolute("~/integration/gettingstarted-odoo.aspx#StartUsing_block")%>">Start using ONLYOFFICE Docs within Odoo</a></li>
</ul>
</li>
</ul>
</li>
</ul>
</div>

View File

@ -1,7 +1,7 @@
<%@ Control Language="C#" %>
<%@ Register Namespace="TeamLab.Controls" Assembly="__Code" TagPrefix="cc" %>
<ul>
<li><a class="leftmenu_integration" href="<%=VirtualPathUtility.ToAbsolute("~/integration.aspx")%>">Integration Guides</a></li>
<li><a class="leftmenu_integration" href="<%=VirtualPathUtility.ToAbsolute("~/integration.aspx")%>">Integration Guides</a></li>
<li><a class="leftmenu_integration_alfresco" href="<%=VirtualPathUtility.ToAbsolute("~/integration/alfresco.aspx")%>">Alfresco</a></li>
<li><a class="leftmenu_integration_chamilo" href="<%=VirtualPathUtility.ToAbsolute("~/integration/chamilo.aspx")%>">Chamilo</a></li>
<li><a class="leftmenu_integration_confluence" href="<%=VirtualPathUtility.ToAbsolute("~/integration/confluence.aspx")%>">Confluence</a></li>
@ -13,6 +13,7 @@
<li><a class="leftmenu_integration_moodle" href="<%=VirtualPathUtility.ToAbsolute("~/integration/moodle.aspx")%>">Moodle</a></li>
<li><a class="leftmenu_integration_nextcloud" href="<%=VirtualPathUtility.ToAbsolute("~/integration/nextcloud.aspx")%>">Nextcloud</a></li>
<li><a class="leftmenu_integration_nuxeo" href="<%=VirtualPathUtility.ToAbsolute("~/integration/nuxeo.aspx")%>">Nuxeo</a></li>
<li><a class="leftmenu_integration_odoo" href="<%=VirtualPathUtility.ToAbsolute("~/integration/odoo.aspx")%>">Odoo</a></li>
<li><a class="leftmenu_integration_owncloud" href="<%=VirtualPathUtility.ToAbsolute("~/integration/owncloud.aspx")%>">ownCloud</a></li>
<li><a class="leftmenu_integration_plone" href="<%=VirtualPathUtility.ToAbsolute("~/integration/plone.aspx")%>">Plone</a></li>
<li><a class="leftmenu_integration_redmine" href="<%=VirtualPathUtility.ToAbsolute("~/integration/redmine.aspx")%>">Redmine</a></li>

View File

@ -0,0 +1,21 @@
<%@ Page Title="" Language="C#" MasterPageFile="~/Masters/Integration/IntegrationArticles.master" %>
<%@ Register Namespace="TeamLab.Controls" Assembly="__Code" TagPrefix="cc" %>
<asp:Content ID="Content1" ContentPlaceHolderID="pagebodyidpage" runat="Server">
<% ((BasePage)Page).EditionVersion = "Integration Guides Odoo"; %>
<% ((BasePage)Page).CommandName = "odoo"; %>
<body class="integration_odoo">
</asp:Content>
<asp:Content ID="content3" ContentPlaceHolderID="breadstop" runat="server">
<cc:LocalizeContent runat="Server" ControlName="~/Controls/Help/VariousControls/TopControls/IntegrationTop/IntegrationTop.ascx" />
</asp:Content>
<asp:Content ID="Content4" ContentPlaceHolderID="content" runat="Server">
<cc:LocalizeContent runat="Server" ControlName="~/Controls/Help/GettingStarted/Integration/Odoo/GettingStartedOdoo.ascx" />
</asp:Content>
<asp:Content ID="content5" ContentPlaceHolderID="leftmenupage" runat="server">
<div class="integration_odoo">
<div id="SeeAlsoBlockLinks">
<div class="caption gs one">
<cc:LocalizeContent runat="Server" ControlName="~/Controls/Help/ArticlesCompleteList/GettingStarted/167_confluence.ascx" />
</div>
</div>
</asp:Content>

19
Web/Integration/odoo.aspx Normal file
View File

@ -0,0 +1,19 @@
<%@ Page Title="" Language="C#" MasterPageFile="~/Masters/Integration/IntegrationArticles.master" %>
<%@ Register Namespace="TeamLab.Controls" Assembly="__Code" TagPrefix="cc" %>
<asp:Content ID="Content1" ContentPlaceHolderID="pagebodyidpage" runat="Server">
<body class="integration_odoo">
</asp:Content>
<asp:Content ID="content3" ContentPlaceHolderID="breadstop" runat="server">
<cc:LocalizeContent runat="Server" ControlName="~/Controls/Help/VariousControls/TopControls/IntegrationTop/IntegrationTop.ascx" />
</asp:Content>
<asp:Content ID="Content4" ContentPlaceHolderID="content" runat="Server">
<cc:LocalizeContent runat="Server" ControlName="~/Controls/Help/Integration/Odoo.ascx" />
</asp:Content>
<asp:Content ID="content5" ContentPlaceHolderID="leftmenupage" runat="server">
<div class="integration_odoo">
<div id="SeeAlsoBlockLinks">
<div class="caption gs one">
<cc:LocalizeContent runat="Server" ControlName="~/Controls/Help/ArticlesCompleteList/GettingStarted/166_owncloud.ascx" />
</div>
</div>
</asp:Content>

Binary file not shown.

After

Width:  |  Height:  |  Size: 18 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 11 KiB