From a08051bf1f628993406c3c6f58e9b3fffbfbde72 Mon Sep 17 00:00:00 2001 From: Janik von Rotz Date: Sun, 15 Sep 2024 11:29:28 +0200 Subject: [PATCH] vault backup: 2024-09-15 11:29:28 --- Ideation.md | 8 ++++++ Kalkulation Managed Server.md | 2 +- Odoo Nextcloud Filestore.md | 49 +++++++++++++++++++++++++++++++++++ 3 files changed, 58 insertions(+), 1 deletion(-) create mode 100644 Odoo Nextcloud Filestore.md diff --git a/Ideation.md b/Ideation.md index 2ae0ef3e..eb3ce2e2 100644 --- a/Ideation.md +++ b/Ideation.md @@ -97,3 +97,11 @@ ISO 27001 / Compliance. > Wir arbeiten ausschliesslich mit Hosting-Providern zusammen, die ein hohes Qualitäts- und Sicherheitsniveau garantieren und nach ISO 9001:2008, ISO/IEC 27001:2013, PCI DSS 3.2, SOC-1 Typ II und SOC-2 Typ II zertifizierte Rechenzentren betreiben. + +## Odoo Nextcloud Integration + +Alle Odoo Dokumente `ir.attachment` in Nextcloud speichern. + +Umgekehrt Zugriff auf Odoo-Daten mit Nextcloud-Tables. + +[[Odoo Nextcloud Filestore]] \ No newline at end of file diff --git a/Kalkulation Managed Server.md b/Kalkulation Managed Server.md index 3e9ff33d..8ca79047 100644 --- a/Kalkulation Managed Server.md +++ b/Kalkulation Managed Server.md @@ -26,7 +26,7 @@ Die Serverstufen wurden standortübergreifend gebündelt: | Anbieter | Tiny | Small | Medium | Large | | ---------- | --------------------------------------------- | ----------------------------------------------- | ------------------------------------------------ | --------------------------------------------------------- | -| Hetzner | **CPX11**, 2CPU, 2GB RAM, 40GB Disk, 3.76 EUR | **CX21**, 2CPU, 4GB RAM, 40GB Disk, 4.74 EUR | **CX31**, 2CPU, 8GB RAM, 80GB Disk, 9.05 EUR | **CX41**, 4CPU, 16GB RAM, 160GB Disk, 16.59 EUR | +| Hetzner | **CPX11**, 2CPU, 2GB RAM, 40GB Disk, 3.76 EUR | **CX21**, 2CPU, 4GB RAM, 40GB Disk, 4.74 EUR | **CX32**, 4CPU, 8GB RAM, 80GB Disk, 9.05 EUR | **CX41**, 4CPU, 16GB RAM, 160GB Disk, 16.59 EUR | | Exoscale | **Small**, 2CPU, 2GB RAM, 50GB, 14.55 CHF | **Medium**, 2CPU, 4GB RAM, 50GB Disk, 29.09 CHF | **Large**, 4CPU, 8GB RRAM, 100GB Disk, 58.19 CHF | **Extra-Large**, 4 CPU, 16GB RAM, 200 GB Disk, 116.38 CHF | | hosttech | **Sunny**, 2CPU, 2GB RAM, 50GB Disk, 9.90 CHF | **Foggy**, 4CPU, 4GB RAM, 100 GB, 19.90 CHF | **Snow**, 6CPU, 8GB RAM, 200GB Disk, 39.90 CHF | **Ice**, 8CPU, 12GB RAM, 300GB Disk, 59.90 CHF | | Infomaniak | - | - | 4CPU, 12GB RAM, 250GB Disk, 38.41 CHF | 8CPU, 24GB RAM, 250GB Disk, 97.99 CHF | diff --git a/Odoo Nextcloud Filestore.md b/Odoo Nextcloud Filestore.md new file mode 100644 index 00000000..b2f912c1 --- /dev/null +++ b/Odoo Nextcloud Filestore.md @@ -0,0 +1,49 @@ +--- +tags: +- Ideation +--- + +# Odoo Nextcloud Filestore + +A good example of how Odoo attachments can be stored externally: https://github.com/camptocamp/odoo-cloud-platform/tree/16.0/attachment_s3 + +## Nextcloud Base + +`nextcloud_base` + +This will be the first module to provide a Nextcloud-Integration for Odoo. + +It initalizes the fields to enter the Nextcloud credentials. +If an attachment is written it stores it to Nextcloud: https://cloud-py-api.github.io/nc_py_api/FirstSteps.html#uploading-a-single-file +The filetype will be converted from binary to url. + +It will generate a folder structure like this: + +* Odoo/ + * {model} + * {id}\ + * {filename} + +* Odoo + * project.task + * 3724 + * image.png + +The Nextcloud-File-ID will be stored in the `ir.attachment`. +If the filename changes it will be updated in Nextcloud. +If the file is clicked in Odoo it will open the Nextcloud-Link. +Existing files can be moved from Odoo to nextcloud. + +## Nextcloud Group ACL + +`nextcloud_group_acl` + +This module ensures that access permissions of an Odoo model are applied to the folder. + +Every Odoo group will be created in Nextcloud as well. + +Existing groups can be synced to Nextcloud. + +When a Model-Folder is created in Nextcloud, the same access groups are applied + +