Skip to content

Commit

Permalink
TA#67305 [16.0][MIG] report_aeroo (#64)
Browse files Browse the repository at this point in the history
* resolve conflict

* [16.0][MIG] report_aeroo

* [16.0][MIG] report_aeroo

* ŦA#67305 [MIG] report_aerroo

* [16.0][MIG] report_aeroo

* [16.0][MIG] report_aeroo : filename managment

* [16.0][MIG] report_aeroo : dockerfile and requirements

* [16.0][MIG] report_aeroo : dockerfile and requirements

* [16.0][MIG] report_aeroo : change requirements

* [16.0][MIG] report_aeroo : TU

* [16.0][MIG] report_aeroo : TU

* [16.0][MIG] report_aeroo : TU

* TA#67305 [16.0] [ADD] TU

* [16.0][MIG] report_aeroo : del action manager copy

* [16.0][MIG] fix circle_ci config

* [16.0][MIG] main :  remove account on dependance

* [16.0][MIG] main : disable TU

* [16.0][MIG] main :  activate TU

* Update config.yml

* Update config.yml

---------

Co-authored-by: Abdellatif Benzbiria <[email protected]>
Co-authored-by: Rivo Lalaina <[email protected]>
  • Loading branch information
3 people authored Oct 25, 2024
1 parent 814d15a commit 5b87050
Show file tree
Hide file tree
Showing 136 changed files with 5,832 additions and 2,612 deletions.
11 changes: 6 additions & 5 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,12 +21,13 @@ jobs:
name: Setup Log Folder For Reports
command: sudo mkdir -p .log && sudo chmod 777 .log

# - run:
# name: Run Test
# command: docker-compose run --rm odoo run_pytest.sh
- run:
name: Run Test
command: docker-compose run --rm odoo run_pytest.sh


# - store_test_results:
# path: .log
- store_test_results:
path: .log

# job that find the next tag for the current branch/repo and push the tag to github.
# it will trigger the publish of a new docker image.
Expand Down
1 change: 0 additions & 1 deletion .docker_files/main/__manifest__.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@
"category": "Other",
"summary": "Install all addons required for testing.",
"depends": [
"account",
"report_aeroo",
],
"installable": True,
Expand Down
9 changes: 3 additions & 6 deletions .docker_files/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,9 +1,6 @@
# git+https://github.com/aeroo/aeroolib.git
# waiting for PR https://github.com/aeroo/aeroolib/pull/12
git+https://github.com/adhoc-dev/aeroolib@master-fix-ods
git+https://github.com/aeroo/currency2text.git
# use this genshi version to fix error when, for eg, you send arguments like "date=True" check this https://genshi.edgewall.org/ticket/600
git+https://github.com/numigi/aeroolib@master
Babel==2.9.1
genshi==0.7.7
freezegun==1.5.1
html2text==2024.2.26
ddt==1.2.1
ddt==1.2.1
18 changes: 13 additions & 5 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,16 +2,24 @@ FROM quay.io/numigi/odoo-public:16.latest
LABEL maintainer="[email protected]"

USER root
#Install dependencies for aeroo reports
RUN apt-get update && apt-get install -y --no-install-recommends \
default-jre \
libreoffice-java-common \
libreoffice-writer \
poppler-utils

COPY .docker_files/requirements.txt .
RUN pip3 install -r requirements.txt
# we can't use `pip install --user` as the $HOME of odoo is a volume
# so everything that is installed in $HOME will be overwritten by the mounting.

ENV THIRD_PARTY_ADDONS /mnt/third-party-addons
RUN mkdir -p "${THIRD_PARTY_ADDONS}" && chown -R odoo "${THIRD_PARTY_ADDONS}"
COPY .docker_files/requirements.txt ./requirements.txt
RUN pip3 install -r ./requirements.txt && rm ./requirements.txt

USER odoo

COPY report_aeroo /mnt/extra-addons/report_aeroo
COPY ./report_aeroo /mnt/extra-addons/report_aeroo

COPY .docker_files/main /mnt/extra-addons/main
COPY .docker_files/odoo.conf /etc/odoo


30 changes: 0 additions & 30 deletions report_aeroo/LICENSE

This file was deleted.

88 changes: 0 additions & 88 deletions report_aeroo/README.md

This file was deleted.

Loading

0 comments on commit 5b87050

Please sign in to comment.