From 0242c7bdb283062101bd8ea6c148ac5125f1472b Mon Sep 17 00:00:00 2001 From: Maria-Sukhova Date: Wed, 18 Oct 2023 18:34:02 +0300 Subject: [PATCH 1/7] edited de --- onlyoffice_odoo_documents/i18n/de.po | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/onlyoffice_odoo_documents/i18n/de.po b/onlyoffice_odoo_documents/i18n/de.po index d2c4446..cd93fee 100644 --- a/onlyoffice_odoo_documents/i18n/de.po +++ b/onlyoffice_odoo_documents/i18n/de.po @@ -7,7 +7,7 @@ msgstr "" "Project-Id-Version: Odoo Server 16.0-20221116\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2023-02-14 10:14+0000\n" -"PO-Revision-Date: 2023-07-10 17:13+0300\n" +"PO-Revision-Date: 2023-10-18 18:33+0300\n" "Last-Translator: \n" "Language-Team: \n" "Language: de\n" @@ -15,7 +15,7 @@ msgstr "" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n" -"X-Generator: Poedit 3.3.1\n" +"X-Generator: Poedit 3.4\n" #. module: onlyoffice_odoo_documents #. odoo-javascript @@ -65,7 +65,7 @@ msgstr "Neues Dokument" #: code:addons/onlyoffice_odoo_documents/static/src/onlyoffice_create_template/onlyoffice_create_template_dialog.js:0 #, python-format msgid "New document created in Documents" -msgstr "Neues Dokument erstellt in Documents" +msgstr "Neues Dokument erstellt in Dokumente" #. module: onlyoffice_odoo_documents #. odoo-javascript From a0f14ae6e6bde75e5e195fe02cf8c5e652af551b Mon Sep 17 00:00:00 2001 From: Kseniya Fedoruk Date: Fri, 8 Dec 2023 13:33:34 +0300 Subject: [PATCH 2/7] Update README.md --- README.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/README.md b/README.md index 7524a60..07459ed 100644 --- a/README.md +++ b/README.md @@ -127,12 +127,18 @@ The table below will help you make the right choice. | Font and paragraph formatting | + | + | | Object insertion | + | + | | Transitions | + | + | +| Animations | + | + | | Presenter mode | + | + | | Notes | + | + | | **Form creator features** | **Community Edition** | **Enterprise Edition** | | Adding form fields | + | + | | Form preview | + | + | | Saving as PDF | + | + | +| **Working with PDF** | **Community Edition** | **Enterprise Edition** | +| Text annotations (highlight, underline, cross out) | + | + | +| Comments | + | + | +| Freehand drawings | + | + | +| Form filling | + | + | | | [Get it now](https://www.onlyoffice.com/download-docs.aspx#docs-community) | [Start Free Trial](https://www.onlyoffice.com/download-docs.aspx#docs-enterprise) | \* If supported by DMS. From 5ea43ebff3b89b57c2ec838ed0116fc937e94015 Mon Sep 17 00:00:00 2001 From: ZEROM22 Date: Thu, 8 Feb 2024 13:58:03 +0300 Subject: [PATCH 3/7] feat: update onlyoffice_odoo to version 17 --- onlyoffice_odoo/__manifest__.py | 4 +- .../attachment_card_onlyoffice.xml | 16 ++-- .../src/models/attachment_card_onlyoffice.js | 70 ++++++++++++-- .../src/models/attachment_onlyoffice.js | 93 ------------------- .../views/res_config_settings_views.xml | 61 ++++-------- 5 files changed, 84 insertions(+), 160 deletions(-) delete mode 100644 onlyoffice_odoo/static/src/models/attachment_onlyoffice.js diff --git a/onlyoffice_odoo/__manifest__.py b/onlyoffice_odoo/__manifest__.py index a72e792..5947b8c 100644 --- a/onlyoffice_odoo/__manifest__.py +++ b/onlyoffice_odoo/__manifest__.py @@ -31,11 +31,9 @@ 'application': True, 'assets': { - 'mail.assets_messaging': [ - 'onlyoffice_odoo/static/src/models/*.js', - ], 'web.assets_backend': [ 'onlyoffice_odoo/static/src/components/*/*.xml', + 'onlyoffice_odoo/static/src/models/*.js' ], }, } diff --git a/onlyoffice_odoo/static/src/components/attachment_card_onlyoffice/attachment_card_onlyoffice.xml b/onlyoffice_odoo/static/src/components/attachment_card_onlyoffice/attachment_card_onlyoffice.xml index ac48153..72ab53c 100644 --- a/onlyoffice_odoo/static/src/components/attachment_card_onlyoffice/attachment_card_onlyoffice.xml +++ b/onlyoffice_odoo/static/src/components/attachment_card_onlyoffice/attachment_card_onlyoffice.xml @@ -6,15 +6,13 @@ - - - -
- -
-
+ + +
+ +
\ No newline at end of file diff --git a/onlyoffice_odoo/static/src/models/attachment_card_onlyoffice.js b/onlyoffice_odoo/static/src/models/attachment_card_onlyoffice.js index fc3f849..853ea02 100644 --- a/onlyoffice_odoo/static/src/models/attachment_card_onlyoffice.js +++ b/onlyoffice_odoo/static/src/models/attachment_card_onlyoffice.js @@ -6,16 +6,66 @@ * */ -import { registerPatch } from '@mail/model/model_core'; -import { attr } from '@mail/model/model_field'; +import { AttachmentList } from "@mail/core/common/attachment_list"; +import { patch } from "@web/core/utils/patch"; -registerPatch({ - name: 'AttachmentCard', - fields: { - showOnlyofficeButton: attr({ - compute() { - return this.attachment.onlyofficeCanEdit || this.attachment.onlyofficeCanView; - }, - }), +const oo_editable_formats = [ + "docx", + "docxf", + "xlsx", + "pptx", +] + +const oo_viewable_formats = [ + "djvu", + "doc", + "docm", + "dot", + "dotm", + "dotx", + "epub", + "fb2", + "fodt", + "html", + "mht", + "odt", + "ott", + "oxps", + "pdf", + "rtf", + "txt", + "xps", + "xml", + "oform", + "csv", + "fods", + "ods", + "ots", + "xls", + "xlsb", + "xlsm", + "xlt", + "xltm", + "xltx", + "fodp", + "odp", + "otp", + "pot", + "potm", + "potx", + "pps", + "ppsm", + "ppsx", + "ppt", + "pptm", +]; + +patch(AttachmentList.prototype, { + onlyofficeCanOpen(attachment) { + return oo_editable_formats.includes(attachment.extension) || oo_viewable_formats.includes(attachment.extension); }, + openOnlyoffice(attachment) { + const accessTokenQuery = attachment.accessToken ? `?access_token=${attachment.accessToken}` : ''; + window.open(`/onlyoffice/editor/${attachment.id}${accessTokenQuery}`, '_blank'); + } }); \ No newline at end of file diff --git a/onlyoffice_odoo/static/src/models/attachment_onlyoffice.js b/onlyoffice_odoo/static/src/models/attachment_onlyoffice.js deleted file mode 100644 index 5bf7bd2..0000000 --- a/onlyoffice_odoo/static/src/models/attachment_onlyoffice.js +++ /dev/null @@ -1,93 +0,0 @@ -/** @odoo-module **/ - -/* - * - * (c) Copyright Ascensio System SIA 2023 - * -*/ - -import { registerPatch } from '@mail/model/model_core'; -import { attr } from '@mail/model/model_field'; - -const oo_editable_formats = [ - "docx", - "docxf", - "xlsx", - "pptx", -] - -const oo_viewable_formats = [ - "djvu", - "doc", - "docm", - "dot", - "dotm", - "dotx", - "epub", - "fb2", - "fodt", - "html", - "mht", - "odt", - "ott", - "oxps", - "pdf", - "rtf", - "txt", - "xps", - "xml", - "oform", - "csv", - "fods", - "ods", - "ots", - "xls", - "xlsb", - "xlsm", - "xlt", - "xltm", - "xltx", - "fodp", - "odp", - "otp", - "pot", - "potm", - "potx", - "pps", - "ppsm", - "ppsx", - "ppt", - "pptm", -]; - -registerPatch({ - name: 'Attachment', - recordMethods: { - openOnlyofficeEditor() { - window.open(this.onlyofficeEditorUrl, '_blank'); - }, - - onClickOnlyofficeEdit(ev) { - ev.stopPropagation(); - this.openOnlyofficeEditor(); - }, - }, - fields: { - onlyofficeEditorUrl: attr({ - compute() { - const accessTokenQuery = this.accessToken ? `?access_token=${this.accessToken}` : ''; - return `/onlyoffice/editor/${this.id}${accessTokenQuery}`; - }, - }), - onlyofficeCanEdit: attr({ - compute() { - return oo_editable_formats.includes(this.extension); - }, - }), - onlyofficeCanView: attr({ - compute() { - return oo_viewable_formats.includes(this.extension); - }, - }), - } -}); \ No newline at end of file diff --git a/onlyoffice_odoo/views/res_config_settings_views.xml b/onlyoffice_odoo/views/res_config_settings_views.xml index f209ebc..e0157a5 100644 --- a/onlyoffice_odoo/views/res_config_settings_views.xml +++ b/onlyoffice_odoo/views/res_config_settings_views.xml @@ -11,51 +11,22 @@ - -
-
-

General Settings

-
-
-
-
- Document Server Url -
- -
-
-
-
-
-
-

Security

-
-
-
-
- Document Server JWT Secret -
- -
-
-
-
-
-
-
-
- Document Server JWT Header -
- -
-
-
-
-
-
+ + + + + + + + + + + + + + + + From 48998b6357751b54fb2966da6dc0de75f418e2de Mon Sep 17 00:00:00 2001 From: ZEROM22 Date: Fri, 9 Feb 2024 11:08:02 +0300 Subject: [PATCH 4/7] feat: update onlyoffice_odoo_documents to version 17 --- onlyoffice_odoo_documents/__manifest__.py | 4 +--- .../kanban/documents_kanban_controller.js | 2 +- .../documents_view/list/documents_list_controller.js | 2 +- .../onlyoffice_odoo_documents_controller_mixin.js | 6 +++--- .../onlyoffice_odoo_documents_controller_mixin.xml | 6 +++--- .../src/models/documents_inspector_onlyoffice.js | 4 ++-- .../onlyoffice_create_template_dialog.js | 10 +++++----- 7 files changed, 16 insertions(+), 18 deletions(-) diff --git a/onlyoffice_odoo_documents/__manifest__.py b/onlyoffice_odoo_documents/__manifest__.py index ad0552e..8b1d24a 100644 --- a/onlyoffice_odoo_documents/__manifest__.py +++ b/onlyoffice_odoo_documents/__manifest__.py @@ -27,10 +27,8 @@ 'application': True, 'assets': { - 'mail.assets_messaging': [ - 'onlyoffice_odoo_documents/static/src/models/*.js', - ], 'web.assets_backend': [ + 'onlyoffice_odoo_documents/static/src/models/*.js', 'onlyoffice_odoo_documents/static/src/components/*/*.xml', 'onlyoffice_odoo_documents/static/src/documents_view/**/*', 'onlyoffice_odoo_documents/static/src/onlyoffice_create_template/**/*', diff --git a/onlyoffice_odoo_documents/static/src/documents_view/kanban/documents_kanban_controller.js b/onlyoffice_odoo_documents/static/src/documents_view/kanban/documents_kanban_controller.js index 5d06ad6..1c56812 100644 --- a/onlyoffice_odoo_documents/static/src/documents_view/kanban/documents_kanban_controller.js +++ b/onlyoffice_odoo_documents/static/src/documents_view/kanban/documents_kanban_controller.js @@ -4,4 +4,4 @@ import { patch } from "@web/core/utils/patch"; import { DocumentsKanbanController } from "@documents/views/kanban/documents_kanban_controller"; import { OnlyofficeDocumentsControllerMixin } from "../onlyoffice_odoo_documents_controller_mixin"; -patch(DocumentsKanbanController.prototype, "onlyoffice_odoo_documents_kanban_controller", OnlyofficeDocumentsControllerMixin); +patch(DocumentsKanbanController.prototype, OnlyofficeDocumentsControllerMixin()); diff --git a/onlyoffice_odoo_documents/static/src/documents_view/list/documents_list_controller.js b/onlyoffice_odoo_documents/static/src/documents_view/list/documents_list_controller.js index 6fd8b7b..a012fbf 100644 --- a/onlyoffice_odoo_documents/static/src/documents_view/list/documents_list_controller.js +++ b/onlyoffice_odoo_documents/static/src/documents_view/list/documents_list_controller.js @@ -4,4 +4,4 @@ import { patch } from "@web/core/utils/patch"; import { DocumentsListController } from "@documents/views/list/documents_list_controller"; import { OnlyofficeDocumentsControllerMixin } from "../onlyoffice_odoo_documents_controller_mixin"; -patch(DocumentsListController.prototype, "onlyoffice_odoo_documents_kanban_controller", OnlyofficeDocumentsControllerMixin); \ No newline at end of file +patch(DocumentsListController.prototype, OnlyofficeDocumentsControllerMixin()); \ No newline at end of file diff --git a/onlyoffice_odoo_documents/static/src/documents_view/onlyoffice_odoo_documents_controller_mixin.js b/onlyoffice_odoo_documents/static/src/documents_view/onlyoffice_odoo_documents_controller_mixin.js index 694003b..c630b08 100644 --- a/onlyoffice_odoo_documents/static/src/documents_view/onlyoffice_odoo_documents_controller_mixin.js +++ b/onlyoffice_odoo_documents/static/src/documents_view/onlyoffice_odoo_documents_controller_mixin.js @@ -4,9 +4,9 @@ import { CreateDialog } from "@onlyoffice_odoo_documents/onlyoffice_create_templ import { useService } from "@web/core/utils/hooks"; import { _t } from "@web/core/l10n/translation"; -export const OnlyofficeDocumentsControllerMixin = { +export const OnlyofficeDocumentsControllerMixin = () => ({ setup() { - this._super(...arguments); + super.setup(...arguments); this.action = useService("action"); this.dialogService = useService("dialog"); }, @@ -17,4 +17,4 @@ export const OnlyofficeDocumentsControllerMixin = { context: this.props.context, }); }, -}; +}); diff --git a/onlyoffice_odoo_documents/static/src/documents_view/onlyoffice_odoo_documents_controller_mixin.xml b/onlyoffice_odoo_documents/static/src/documents_view/onlyoffice_odoo_documents_controller_mixin.xml index 2aa4712..b4afbde 100644 --- a/onlyoffice_odoo_documents/static/src/documents_view/onlyoffice_odoo_documents_controller_mixin.xml +++ b/onlyoffice_odoo_documents/static/src/documents_view/onlyoffice_odoo_documents_controller_mixin.xml @@ -1,8 +1,8 @@ - - - diff --git a/onlyoffice_odoo_documents/static/src/models/documents_inspector_onlyoffice.js b/onlyoffice_odoo_documents/static/src/models/documents_inspector_onlyoffice.js index 5343146..14833ed 100644 --- a/onlyoffice_odoo_documents/static/src/models/documents_inspector_onlyoffice.js +++ b/onlyoffice_odoo_documents/static/src/models/documents_inspector_onlyoffice.js @@ -6,7 +6,7 @@ * */ -import { patch } from 'web.utils'; +import { patch } from "@web/core/utils/patch"; import { DocumentsInspector } from '@documents/views/inspector/documents_inspector'; const oo_editable_formats = [ @@ -60,7 +60,7 @@ const oo_viewable_formats = [ "pptm", ]; -patch(DocumentsInspector.prototype, "ONLYOFFICE_patch", { +patch(DocumentsInspector.prototype, { showOnlyofficeButton(records) { if (records.length !== 1) return false; const ext = records[0].data.display_name.split('.').pop() diff --git a/onlyoffice_odoo_documents/static/src/onlyoffice_create_template/onlyoffice_create_template_dialog.js b/onlyoffice_odoo_documents/static/src/onlyoffice_create_template/onlyoffice_create_template_dialog.js index 57482b9..cd548b1 100644 --- a/onlyoffice_odoo_documents/static/src/onlyoffice_create_template/onlyoffice_create_template_dialog.js +++ b/onlyoffice_odoo_documents/static/src/onlyoffice_create_template/onlyoffice_create_template_dialog.js @@ -2,11 +2,11 @@ import { Dialog } from "@web/core/dialog/dialog"; -import { DropPrevious } from "web.concurrency"; +import { KeepLast } from "@web/core/utils/concurrency"; import { useService } from "@web/core/utils/hooks"; import { useHotkey } from "@web/core/hotkeys/hotkey_hook"; import { getDefaultConfig } from "@web/views/view"; -import { _t } from "web.core"; +import { _t } from "@web/core/l10n/translation"; const { Component, useState, useSubEnv } = owl; @@ -21,11 +21,11 @@ export class CreateDialog extends Component { this.data = this.env.dialogData; useHotkey("escape", () => this.data.close()); - this.dialogTitle = this.env._t("Create with ONLYOFFICE"); + this.dialogTitle = _t("Create with ONLYOFFICE"); this.state = useState({ isOpen: true, selectedFormat: "docx", - title: this.env._t("New Document"), + title: _t("New Document"), isCreating: false, }); useSubEnv({ @@ -33,7 +33,7 @@ export class CreateDialog extends Component { ...getDefaultConfig(), }, }); - this.dp = new DropPrevious(); + this.keepLast = new KeepLast(); } async _createFile() { From 8f88db6f710a080321316846c0b38855f6a2aaa3 Mon Sep 17 00:00:00 2001 From: Sergey Linnik Date: Fri, 9 Feb 2024 17:33:32 +0300 Subject: [PATCH 5/7] 17 to changelog --- CHANGELOG.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 5b5671b..8683713 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,9 @@ # Change Log +## +## Added +- compatible with Odoo 17 + ## 2.0.0 ## Added - support Documents module From 12b08a44277e691b537f48246c4d7dc94323e00d Mon Sep 17 00:00:00 2001 From: Sergey Linnik Date: Fri, 9 Feb 2024 17:41:03 +0300 Subject: [PATCH 6/7] 2.1.0 --- CHANGELOG.md | 2 +- onlyoffice_odoo/__manifest__.py | 2 +- onlyoffice_odoo_documents/__manifest__.py | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 8683713..024e438 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,6 @@ # Change Log -## +## 2.1.0 ## Added - compatible with Odoo 17 diff --git a/onlyoffice_odoo/__manifest__.py b/onlyoffice_odoo/__manifest__.py index 5947b8c..a70c59e 100644 --- a/onlyoffice_odoo/__manifest__.py +++ b/onlyoffice_odoo/__manifest__.py @@ -10,7 +10,7 @@ 'website': "https://www.onlyoffice.com", 'category': 'Productivity', - 'version': '2.0.0', + 'version': '2.1.0', 'depends': ['base', 'mail'], diff --git a/onlyoffice_odoo_documents/__manifest__.py b/onlyoffice_odoo_documents/__manifest__.py index 8b1d24a..24b5101 100644 --- a/onlyoffice_odoo_documents/__manifest__.py +++ b/onlyoffice_odoo_documents/__manifest__.py @@ -10,7 +10,7 @@ 'website': "https://www.onlyoffice.com", 'category': 'Productivity', - 'version': '2.0.1', + 'version': '2.1.0', 'depends': ['onlyoffice_odoo', 'documents'], From b5c3121dcda22d8004da22ad3f6e82f3559a9cb2 Mon Sep 17 00:00:00 2001 From: Sergey Linnik Date: Mon, 4 Mar 2024 15:16:54 +0300 Subject: [PATCH 7/7] Copyright 2024 --- onlyoffice_odoo/controllers/controllers.py | 2 +- onlyoffice_odoo/models/res_config_settings.py | 2 +- .../attachment_card_onlyoffice/attachment_card_onlyoffice.xml | 2 +- onlyoffice_odoo/static/src/models/attachment_card_onlyoffice.js | 2 +- onlyoffice_odoo/static/src/models/attachment_onlyoffice.js | 2 +- onlyoffice_odoo/utils/config_constants.py | 2 +- onlyoffice_odoo/utils/config_utils.py | 2 +- onlyoffice_odoo/utils/file_utils.py | 2 +- onlyoffice_odoo/utils/format_utils.py | 2 +- onlyoffice_odoo/utils/jwt_utils.py | 2 +- onlyoffice_odoo/views/res_config_settings_views.xml | 2 +- onlyoffice_odoo/views/templates.xml | 2 +- onlyoffice_odoo_documents/controllers/controllers.py | 2 +- .../documents_inspector_onlyoffice.xml | 2 +- .../static/src/models/documents_inspector_onlyoffice.js | 2 +- 15 files changed, 15 insertions(+), 15 deletions(-) diff --git a/onlyoffice_odoo/controllers/controllers.py b/onlyoffice_odoo/controllers/controllers.py index ab80985..1175102 100644 --- a/onlyoffice_odoo/controllers/controllers.py +++ b/onlyoffice_odoo/controllers/controllers.py @@ -1,7 +1,7 @@ # -*- coding: utf-8 -*- # -# (c) Copyright Ascensio System SIA 2023 +# (c) Copyright Ascensio System SIA 2024 # import json diff --git a/onlyoffice_odoo/models/res_config_settings.py b/onlyoffice_odoo/models/res_config_settings.py index ef8ec02..f07db67 100644 --- a/onlyoffice_odoo/models/res_config_settings.py +++ b/onlyoffice_odoo/models/res_config_settings.py @@ -1,7 +1,7 @@ # -*- coding: utf-8 -*- # -# (c) Copyright Ascensio System SIA 2023 +# (c) Copyright Ascensio System SIA 2024 # from odoo import fields, models, _ diff --git a/onlyoffice_odoo/static/src/components/attachment_card_onlyoffice/attachment_card_onlyoffice.xml b/onlyoffice_odoo/static/src/components/attachment_card_onlyoffice/attachment_card_onlyoffice.xml index ac48153..7d9ca0a 100644 --- a/onlyoffice_odoo/static/src/components/attachment_card_onlyoffice/attachment_card_onlyoffice.xml +++ b/onlyoffice_odoo/static/src/components/attachment_card_onlyoffice/attachment_card_onlyoffice.xml @@ -1,7 +1,7 @@ - + diff --git a/onlyoffice_odoo/static/src/models/attachment_card_onlyoffice.js b/onlyoffice_odoo/static/src/models/attachment_card_onlyoffice.js index fc3f849..7204c96 100644 --- a/onlyoffice_odoo/static/src/models/attachment_card_onlyoffice.js +++ b/onlyoffice_odoo/static/src/models/attachment_card_onlyoffice.js @@ -2,7 +2,7 @@ /* * - * (c) Copyright Ascensio System SIA 2023 + * (c) Copyright Ascensio System SIA 2024 * */ diff --git a/onlyoffice_odoo/static/src/models/attachment_onlyoffice.js b/onlyoffice_odoo/static/src/models/attachment_onlyoffice.js index 5bf7bd2..f7db959 100644 --- a/onlyoffice_odoo/static/src/models/attachment_onlyoffice.js +++ b/onlyoffice_odoo/static/src/models/attachment_onlyoffice.js @@ -2,7 +2,7 @@ /* * - * (c) Copyright Ascensio System SIA 2023 + * (c) Copyright Ascensio System SIA 2024 * */ diff --git a/onlyoffice_odoo/utils/config_constants.py b/onlyoffice_odoo/utils/config_constants.py index 73d26b4..331d379 100644 --- a/onlyoffice_odoo/utils/config_constants.py +++ b/onlyoffice_odoo/utils/config_constants.py @@ -1,5 +1,5 @@ # -# (c) Copyright Ascensio System SIA 2023 +# (c) Copyright Ascensio System SIA 2024 # DOC_SERVER_PUBLIC_URL = "onlyoffice_connector.doc_server_public_url" diff --git a/onlyoffice_odoo/utils/config_utils.py b/onlyoffice_odoo/utils/config_utils.py index ef2e552..d83c15c 100644 --- a/onlyoffice_odoo/utils/config_utils.py +++ b/onlyoffice_odoo/utils/config_utils.py @@ -1,5 +1,5 @@ # -# (c) Copyright Ascensio System SIA 2023 +# (c) Copyright Ascensio System SIA 2024 # import uuid diff --git a/onlyoffice_odoo/utils/file_utils.py b/onlyoffice_odoo/utils/file_utils.py index 00bf629..58e007d 100644 --- a/onlyoffice_odoo/utils/file_utils.py +++ b/onlyoffice_odoo/utils/file_utils.py @@ -1,5 +1,5 @@ # -# (c) Copyright Ascensio System SIA 2023 +# (c) Copyright Ascensio System SIA 2024 # import os diff --git a/onlyoffice_odoo/utils/format_utils.py b/onlyoffice_odoo/utils/format_utils.py index 54d5cf0..ebc38fb 100644 --- a/onlyoffice_odoo/utils/format_utils.py +++ b/onlyoffice_odoo/utils/format_utils.py @@ -1,5 +1,5 @@ # -# (c) Copyright Ascensio System SIA 2023 +# (c) Copyright Ascensio System SIA 2024 # diff --git a/onlyoffice_odoo/utils/jwt_utils.py b/onlyoffice_odoo/utils/jwt_utils.py index ee352cd..d4d4f7e 100644 --- a/onlyoffice_odoo/utils/jwt_utils.py +++ b/onlyoffice_odoo/utils/jwt_utils.py @@ -1,5 +1,5 @@ # -# (c) Copyright Ascensio System SIA 2023 +# (c) Copyright Ascensio System SIA 2024 # import jwt diff --git a/onlyoffice_odoo/views/res_config_settings_views.xml b/onlyoffice_odoo/views/res_config_settings_views.xml index f209ebc..8a2d731 100644 --- a/onlyoffice_odoo/views/res_config_settings_views.xml +++ b/onlyoffice_odoo/views/res_config_settings_views.xml @@ -1,7 +1,7 @@ - + diff --git a/onlyoffice_odoo/views/templates.xml b/onlyoffice_odoo/views/templates.xml index 6b413b9..be38163 100644 --- a/onlyoffice_odoo/views/templates.xml +++ b/onlyoffice_odoo/views/templates.xml @@ -1,7 +1,7 @@ - + diff --git a/onlyoffice_odoo_documents/controllers/controllers.py b/onlyoffice_odoo_documents/controllers/controllers.py index b31daeb..187d6fb 100644 --- a/onlyoffice_odoo_documents/controllers/controllers.py +++ b/onlyoffice_odoo_documents/controllers/controllers.py @@ -1,7 +1,7 @@ # -*- coding: utf-8 -*- # -# (c) Copyright Ascensio System SIA 2023 +# (c) Copyright Ascensio System SIA 2024 # import logging diff --git a/onlyoffice_odoo_documents/static/src/components/documents_inspector_onlyoffice/documents_inspector_onlyoffice.xml b/onlyoffice_odoo_documents/static/src/components/documents_inspector_onlyoffice/documents_inspector_onlyoffice.xml index fae14d9..d6733b2 100644 --- a/onlyoffice_odoo_documents/static/src/components/documents_inspector_onlyoffice/documents_inspector_onlyoffice.xml +++ b/onlyoffice_odoo_documents/static/src/components/documents_inspector_onlyoffice/documents_inspector_onlyoffice.xml @@ -1,7 +1,7 @@ - + diff --git a/onlyoffice_odoo_documents/static/src/models/documents_inspector_onlyoffice.js b/onlyoffice_odoo_documents/static/src/models/documents_inspector_onlyoffice.js index 5343146..5b08a2d 100644 --- a/onlyoffice_odoo_documents/static/src/models/documents_inspector_onlyoffice.js +++ b/onlyoffice_odoo_documents/static/src/models/documents_inspector_onlyoffice.js @@ -2,7 +2,7 @@ /* * - * (c) Copyright Ascensio System SIA 2023 + * (c) Copyright Ascensio System SIA 2024 * */