diff --git a/.gitmodules b/.gitmodules index 24cb44ff..d6fc7e5f 100644 --- a/.gitmodules +++ b/.gitmodules @@ -39,3 +39,6 @@ [submodule "external/hibou-oca/connector-magento"] path = external/hibou-oca/connector-magento url = https://github.com/hibou-io/oca-connector-magento.git +[submodule "external/hibou-oca/purchase-workflow"] + path = external/hibou-oca/purchase-workflow + url = https://github.com/hibou-io/oca-purchase-workflow.git diff --git a/Dockerfile b/Dockerfile index ab5d9837..ef1d55e0 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,5 +1,20 @@ FROM hibou/hibou-odoo:12.0 +# All this just for openupgradelib +USER 0 +RUN set -x; \ + apt update && apt install -y git \ + && pip install git+git://github.com/OCA/openupgradelib.git \ + # Clean Up + && apt remove -y git \ + && apt autoremove -y \ + && rm -rf /root/.cache \ + && apt-get clean \ + && rm -rf /var/lib/apt/lists/* \ + && rm -rf /tmp/* \ + ; + +USER 104 COPY --chown=104 . /opt/odoo/hibou-suite RUN rm /etc/odoo/odoo.conf \ && cp /opt/odoo/hibou-suite/debian/odoo.conf /etc/odoo/odoo.conf \ diff --git a/Dockerfile-GitLab b/Dockerfile-GitLab index 17df09f1..4e9a4984 100644 --- a/Dockerfile-GitLab +++ b/Dockerfile-GitLab @@ -1,5 +1,20 @@ FROM registry.gitlab.com/hibou-io/hibou-odoo/odoo:RELEASE +# All this just for openupgradelib +USER 0 +RUN set -x; \ + apt update && apt install -y git \ + && pip install git+git://github.com/OCA/openupgradelib.git \ + # Clean Up + && apt remove -y git \ + && apt autoremove -y \ + && rm -rf /root/.cache \ + && apt-get clean \ + && rm -rf /var/lib/apt/lists/* \ + && rm -rf /tmp/* \ + ; + +USER 104 COPY --chown=104 . /opt/odoo/hibou-suite RUN rm /etc/odoo/odoo.conf \ && cp /opt/odoo/hibou-suite/debian/odoo.conf /etc/odoo/odoo.conf \ diff --git a/auditlog b/auditlog new file mode 120000 index 00000000..d456b705 --- /dev/null +++ b/auditlog @@ -0,0 +1 @@ +./external/hibou-oca/server-tools/auditlog \ No newline at end of file diff --git a/external/hibou-oca/connector-magento b/external/hibou-oca/connector-magento index 055dafb0..3433a239 160000 --- a/external/hibou-oca/connector-magento +++ b/external/hibou-oca/connector-magento @@ -1 +1 @@ -Subproject commit 055dafb0d7b572edc2331cbfdf54e76bf9c97f5a +Subproject commit 3433a2395b23414c8e64ccc8930e6b3f0b404ef0 diff --git a/external/hibou-oca/purchase-workflow b/external/hibou-oca/purchase-workflow new file mode 160000 index 00000000..cafb62ab --- /dev/null +++ b/external/hibou-oca/purchase-workflow @@ -0,0 +1 @@ +Subproject commit cafb62abc97d487a51bd48053ea2c7108384db92 diff --git a/purchase_exception b/purchase_exception new file mode 120000 index 00000000..25c41368 --- /dev/null +++ b/purchase_exception @@ -0,0 +1 @@ +./external/hibou-oca/purchase-workflow/purchase_exception \ No newline at end of file diff --git a/purchase_minimum_amount b/purchase_minimum_amount new file mode 120000 index 00000000..72a12fcf --- /dev/null +++ b/purchase_minimum_amount @@ -0,0 +1 @@ +./external/hibou-oca/purchase-workflow/purchase_minimum_amount \ No newline at end of file