-
Notifications
You must be signed in to change notification settings - Fork 56
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 #181 from acsone/16.0-mig_cmis_web_report_write_al…
…f_mfr [16.0][MIG] cmis_web_report_write_alf - Migration to 16.0
- Loading branch information
Showing
9 changed files
with
76 additions
and
47 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
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 |
---|---|---|
@@ -0,0 +1,34 @@ | ||
.. image:: https://img.shields.io/badge/licence-AGPL--3-blue.svg | ||
:target: http://www.gnu.org/licenses/agpl-3.0-standalone.html | ||
:alt: License: AGPL-3 | ||
|
||
========================= | ||
Cmis Web Report Write Alf | ||
========================= | ||
|
||
This module notify via the bus when a report is created in a Alfresco Folder | ||
|
||
Documentation: `alfodoo.org <http://alfodoo.org>`_ | ||
|
||
Credits | ||
======= | ||
|
||
Contributors | ||
------------ | ||
|
||
* Laurent Mignon <[email protected]> | ||
* Maxime Franco <[email protected]> | ||
|
||
Most of the code of the DocumentViewer widget is copied from `Odoo | ||
<https://github.com/odoo/odoo/blob/c1fa3b8ab3dfa1306dbdd3b6dc910405a3357d16 | ||
/addons/mail/static/src/js/document_viewer.js>`_ | ||
|
||
|
||
Maintainer | ||
---------- | ||
|
||
.. image:: https://www.acsone.eu/logo.png | ||
:alt: ACSONE SA/NV | ||
:target: http://www.acsone.eu | ||
|
||
This module is maintained by ACSONE SA/NV. |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
/** @odoo-module **/ | ||
|
||
/* --------------------------------------------------------- | ||
+ * Odoo cmis_web_bus | ||
+ * Authors Laurent Mignon 2016, Maxime Franco 2023 Acsone SA/NV | ||
+ * License in __openerp__.py at root level of the module | ||
+ *--------------------------------------------------------- | ||
+*/ | ||
|
||
import {CmisFolderField} from "@cmis_web/cmis_folder/cmis_folder"; | ||
import {patch} from "web.utils"; | ||
|
||
patch(CmisFolderField.prototype, "cmis_folder_open_url", { | ||
_handleNotify(event) { | ||
this._super(event); | ||
if (this.rootFolderId !== event.detail.cmis_objectid) { | ||
return; | ||
} | ||
if (event.detail.action === "open_url") { | ||
window.open(event.detail.url); | ||
} | ||
}, | ||
}); |
This file was deleted.
Oops, something went wrong.
15 changes: 0 additions & 15 deletions
15
cmis_web_report_write_alf/views/cmis_web_report_write_alf.xml
This file was deleted.
Oops, something went wrong.
1 change: 1 addition & 0 deletions
1
setup/cmis_web_report_write_alf/odoo/addons/cmis_web_report_write_alf
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 |
---|---|---|
@@ -0,0 +1 @@ | ||
../../../../cmis_web_report_write_alf |
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 |
---|---|---|
@@ -0,0 +1,6 @@ | ||
import setuptools | ||
|
||
setuptools.setup( | ||
setup_requires=['setuptools-odoo'], | ||
odoo_addon=True, | ||
) |