-
Notifications
You must be signed in to change notification settings - Fork 16
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #33 from ONLYOFFICE/17.0
Release/2.1.0
- Loading branch information
Showing
25 changed files
with
129 additions
and
197 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,9 @@ | ||
# Change Log | ||
|
||
## 2.1.0 | ||
## Added | ||
- compatible with Odoo 17 | ||
|
||
## 2.0.0 | ||
## Added | ||
- support Documents module | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
18 changes: 8 additions & 10 deletions
18
...fice_odoo/static/src/components/attachment_card_onlyoffice/attachment_card_onlyoffice.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,20 +1,18 @@ | ||
<?xml version="1.0" encoding="utf-8" ?> | ||
|
||
<!-- --> | ||
<!-- (c) Copyright Ascensio System SIA 2023 --> | ||
<!-- (c) Copyright Ascensio System SIA 2024 --> | ||
<!-- --> | ||
|
||
|
||
<templates xml:space="preserve"> | ||
<t t-inherit="mail.AttachmentCard" t-inherit-mode="extension" owl="1"> | ||
<xpath expr="//div[hasclass('o_AttachmentCard_aside')]" position="before"> | ||
<t t-if="attachmentCard.showOnlyofficeButton"> | ||
<div class="o_AttachmentCard_aside position-relative overflow-hidden o-hasMultipleActions d-flex flex-column"> | ||
<button class="o_AttachmentCard_asideItem o_AttachmentCard_asideItemOnlyoffice btn top-0 justify-content-center align-items-center d-flex w-100 h-100 rounded-0 bg-300" t-on-click="attachmentCard.attachment.onClickOnlyofficeEdit" title="Open in ONLYOFFICE"> | ||
<img src="/onlyoffice_odoo/static/svg/edit.svg" role="img" aria-label="Open in ONLYOFFICE" /> | ||
</button> | ||
</div> | ||
</t> | ||
<t t-inherit="mail.AttachmentList" t-inherit-mode="extension" owl="1"> | ||
<xpath expr="//div[hasclass('o-mail-AttachmentCard-aside')]" position="before"> | ||
<div class="o-mail-AttachmentCard-aside position-relative rounded-end overflow-hidden" t-att-class="{ 'o-hasMultipleActions d-flex flex-column': attachment.isDeletable and !env.inComposer }"> | ||
<button t-if="onlyofficeCanOpen(attachment)" t-on-click="() => this.openOnlyoffice(attachment)" class="btn d-flex justify-content-center align-items-center w-100 h-100 rounded-0" t-attf-class="bg-300"> | ||
<img src="/onlyoffice_odoo/static/svg/edit.svg" role="img" aria-label="Open in ONLYOFFICE" /> | ||
</button> | ||
</div> | ||
</xpath> | ||
</t> | ||
</templates> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
93 changes: 0 additions & 93 deletions
93
onlyoffice_odoo/static/src/models/attachment_onlyoffice.js
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
# | ||
# (c) Copyright Ascensio System SIA 2023 | ||
# (c) Copyright Ascensio System SIA 2024 | ||
# | ||
|
||
import uuid | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
# | ||
# (c) Copyright Ascensio System SIA 2023 | ||
# (c) Copyright Ascensio System SIA 2024 | ||
# | ||
|
||
import os | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
# | ||
# (c) Copyright Ascensio System SIA 2023 | ||
# (c) Copyright Ascensio System SIA 2024 | ||
# | ||
|
||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
# | ||
# (c) Copyright Ascensio System SIA 2023 | ||
# (c) Copyright Ascensio System SIA 2024 | ||
# | ||
|
||
import jwt | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.