Automatic Update form OCA2FC Migrator

This commit is contained in:
Flectra Community Bot 2021-05-27 12:20:17 +00:00 committed by OCA2FC Migrator Bot
parent 05c2779b99
commit ff5ab3033b
4 changed files with 86 additions and 90 deletions

View File

@ -46,53 +46,18 @@ test_all_modules:
--db_password flectra --db_password flectra
--database test_all --database test_all
--test-enable --test-enable
--init account_financial_report,customer_activity_statement,customer_outstanding_statement,account_tax_balance,account_financial_report_date_range,mis_builder_cash_flow --init customer_activity_statement,account_financial_report_date_range,account_tax_balance,mis_builder_cash_flow,account_financial_report,customer_outstanding_statement
--stop-after-init --stop-after-init
--log-level error --log-level error
--log-handler flectra.addons.account_financial_report:TEST
--log-handler flectra.addons.customer_activity_statement:TEST --log-handler flectra.addons.customer_activity_statement:TEST
--log-handler flectra.addons.customer_outstanding_statement:TEST
--log-handler flectra.addons.account_tax_balance:TEST
--log-handler flectra.addons.account_financial_report_date_range:TEST --log-handler flectra.addons.account_financial_report_date_range:TEST
--log-handler flectra.addons.account_tax_balance:TEST
--log-handler flectra.addons.mis_builder_cash_flow:TEST --log-handler flectra.addons.mis_builder_cash_flow:TEST
--log-handler flectra.addons.account_financial_report:TEST
--log-handler flectra.addons.customer_outstanding_statement:TEST
" "
test_module_account_financial_report:
stage: testsingle
when: on_failure
image:
name: registry.gitlab.com/jamotion/flectra/ubuntudev:2-latest
entrypoint: ["/bin/sh", "-c"]
script:
- apt-get install -y p7zip-full
- apt install -y expect-dev
- pip3 install -r ${CI_PROJECT_DIR}/requirements.txt
- su - flectra -c "mkdir ~/others"
- su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/reporting-engine.git ~/others/reporting-engine"
- su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/server-ux.git ~/others/server-ux"
- sed -i -e 's/# en_US.UTF-8 UTF-8/en_US.UTF-8 UTF-8/' /etc/locale.gen && dpkg-reconfigure --frontend=noninteractive locales && update-locale LANG=en_US.UTF-8
- mkdir ${CI_PROJECT_DIR}/ci_data
- wget -O ${CI_PROJECT_DIR}/ci_data/test_base.zip https://gitlab.com/flectra-community/devops/oca2fc/raw/master/ci_data/test_base.zip
- 7z x -o ${CI_PROJECT_DIR}/ci_data/ ${CI_PROJECT_DIR}/ci_data/test_base.zip
- export PGPASSWORD="flectra"
- createdb -h psql -U flectra -O flectra -T template1 test_account_financial_report
- psql -h psql -U flectra -d test_account_financial_report -f ${CI_PROJECT_DIR}/ci_data/dump.sql
- su - flectra -c "mkdir -p ~/.local/share/filestore"
- mv ${CI_PROJECT_DIR}/ci_data/filestore /opt/flectra/.local/share/filestore/test_account_financial_report
- chown -R flectra.flectra /opt/flectra/.local/share/filestore/test_account_financial_report
- su - flectra -c "/opt/flectra/flectra-bin
--addons-path ${CI_PROJECT_DIR},~/others/reporting-engine,~/others/server-ux
--db_host psql
--db_port 5432
--db_user flectra
--db_password flectra
--database test_account_financial_report
--test-enable -i account_financial_report
--stop-after-init
--log-level error
--log-handler flectra.addons.account_financial_report:TEST"
test_module_customer_activity_statement: test_module_customer_activity_statement:
stage: testsingle stage: testsingle
when: on_failure when: on_failure
@ -128,7 +93,7 @@ test_module_customer_activity_statement:
--log-level error --log-level error
--log-handler flectra.addons.customer_activity_statement:TEST" --log-handler flectra.addons.customer_activity_statement:TEST"
test_module_customer_outstanding_statement: test_module_account_financial_report_date_range:
stage: testsingle stage: testsingle
when: on_failure when: on_failure
image: image:
@ -146,22 +111,22 @@ test_module_customer_outstanding_statement:
- wget -O ${CI_PROJECT_DIR}/ci_data/test_base.zip https://gitlab.com/flectra-community/devops/oca2fc/raw/master/ci_data/test_base.zip - wget -O ${CI_PROJECT_DIR}/ci_data/test_base.zip https://gitlab.com/flectra-community/devops/oca2fc/raw/master/ci_data/test_base.zip
- 7z x -o ${CI_PROJECT_DIR}/ci_data/ ${CI_PROJECT_DIR}/ci_data/test_base.zip - 7z x -o ${CI_PROJECT_DIR}/ci_data/ ${CI_PROJECT_DIR}/ci_data/test_base.zip
- export PGPASSWORD="flectra" - export PGPASSWORD="flectra"
- createdb -h psql -U flectra -O flectra -T template1 test_customer_outstanding_statement - createdb -h psql -U flectra -O flectra -T template1 test_account_financial_report_date_range
- psql -h psql -U flectra -d test_customer_outstanding_statement -f ${CI_PROJECT_DIR}/ci_data/dump.sql - psql -h psql -U flectra -d test_account_financial_report_date_range -f ${CI_PROJECT_DIR}/ci_data/dump.sql
- su - flectra -c "mkdir -p ~/.local/share/filestore" - su - flectra -c "mkdir -p ~/.local/share/filestore"
- mv ${CI_PROJECT_DIR}/ci_data/filestore /opt/flectra/.local/share/filestore/test_customer_outstanding_statement - mv ${CI_PROJECT_DIR}/ci_data/filestore /opt/flectra/.local/share/filestore/test_account_financial_report_date_range
- chown -R flectra.flectra /opt/flectra/.local/share/filestore/test_customer_outstanding_statement - chown -R flectra.flectra /opt/flectra/.local/share/filestore/test_account_financial_report_date_range
- su - flectra -c "/opt/flectra/flectra-bin - su - flectra -c "/opt/flectra/flectra-bin
--addons-path ${CI_PROJECT_DIR},~/others/reporting-engine,~/others/server-ux --addons-path ${CI_PROJECT_DIR},~/others/reporting-engine,~/others/server-ux
--db_host psql --db_host psql
--db_port 5432 --db_port 5432
--db_user flectra --db_user flectra
--db_password flectra --db_password flectra
--database test_customer_outstanding_statement --database test_account_financial_report_date_range
--test-enable -i customer_outstanding_statement --test-enable -i account_financial_report_date_range
--stop-after-init --stop-after-init
--log-level error --log-level error
--log-handler flectra.addons.customer_outstanding_statement:TEST" --log-handler flectra.addons.account_financial_report_date_range:TEST"
test_module_account_tax_balance: test_module_account_tax_balance:
stage: testsingle stage: testsingle
@ -198,41 +163,6 @@ test_module_account_tax_balance:
--log-level error --log-level error
--log-handler flectra.addons.account_tax_balance:TEST" --log-handler flectra.addons.account_tax_balance:TEST"
test_module_account_financial_report_date_range:
stage: testsingle
when: on_failure
image:
name: registry.gitlab.com/jamotion/flectra/ubuntudev:2-latest
entrypoint: ["/bin/sh", "-c"]
script:
- apt-get install -y p7zip-full
- apt install -y expect-dev
- pip3 install -r ${CI_PROJECT_DIR}/requirements.txt
- su - flectra -c "mkdir ~/others"
- su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/reporting-engine.git ~/others/reporting-engine"
- su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/server-ux.git ~/others/server-ux"
- sed -i -e 's/# en_US.UTF-8 UTF-8/en_US.UTF-8 UTF-8/' /etc/locale.gen && dpkg-reconfigure --frontend=noninteractive locales && update-locale LANG=en_US.UTF-8
- mkdir ${CI_PROJECT_DIR}/ci_data
- wget -O ${CI_PROJECT_DIR}/ci_data/test_base.zip https://gitlab.com/flectra-community/devops/oca2fc/raw/master/ci_data/test_base.zip
- 7z x -o ${CI_PROJECT_DIR}/ci_data/ ${CI_PROJECT_DIR}/ci_data/test_base.zip
- export PGPASSWORD="flectra"
- createdb -h psql -U flectra -O flectra -T template1 test_account_financial_report_date_range
- psql -h psql -U flectra -d test_account_financial_report_date_range -f ${CI_PROJECT_DIR}/ci_data/dump.sql
- su - flectra -c "mkdir -p ~/.local/share/filestore"
- mv ${CI_PROJECT_DIR}/ci_data/filestore /opt/flectra/.local/share/filestore/test_account_financial_report_date_range
- chown -R flectra.flectra /opt/flectra/.local/share/filestore/test_account_financial_report_date_range
- su - flectra -c "/opt/flectra/flectra-bin
--addons-path ${CI_PROJECT_DIR},~/others/reporting-engine,~/others/server-ux
--db_host psql
--db_port 5432
--db_user flectra
--db_password flectra
--database test_account_financial_report_date_range
--test-enable -i account_financial_report_date_range
--stop-after-init
--log-level error
--log-handler flectra.addons.account_financial_report_date_range:TEST"
test_module_mis_builder_cash_flow: test_module_mis_builder_cash_flow:
stage: testsingle stage: testsingle
when: on_failure when: on_failure
@ -268,3 +198,73 @@ test_module_mis_builder_cash_flow:
--log-level error --log-level error
--log-handler flectra.addons.mis_builder_cash_flow:TEST" --log-handler flectra.addons.mis_builder_cash_flow:TEST"
test_module_account_financial_report:
stage: testsingle
when: on_failure
image:
name: registry.gitlab.com/jamotion/flectra/ubuntudev:2-latest
entrypoint: ["/bin/sh", "-c"]
script:
- apt-get install -y p7zip-full
- apt install -y expect-dev
- pip3 install -r ${CI_PROJECT_DIR}/requirements.txt
- su - flectra -c "mkdir ~/others"
- su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/reporting-engine.git ~/others/reporting-engine"
- su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/server-ux.git ~/others/server-ux"
- sed -i -e 's/# en_US.UTF-8 UTF-8/en_US.UTF-8 UTF-8/' /etc/locale.gen && dpkg-reconfigure --frontend=noninteractive locales && update-locale LANG=en_US.UTF-8
- mkdir ${CI_PROJECT_DIR}/ci_data
- wget -O ${CI_PROJECT_DIR}/ci_data/test_base.zip https://gitlab.com/flectra-community/devops/oca2fc/raw/master/ci_data/test_base.zip
- 7z x -o ${CI_PROJECT_DIR}/ci_data/ ${CI_PROJECT_DIR}/ci_data/test_base.zip
- export PGPASSWORD="flectra"
- createdb -h psql -U flectra -O flectra -T template1 test_account_financial_report
- psql -h psql -U flectra -d test_account_financial_report -f ${CI_PROJECT_DIR}/ci_data/dump.sql
- su - flectra -c "mkdir -p ~/.local/share/filestore"
- mv ${CI_PROJECT_DIR}/ci_data/filestore /opt/flectra/.local/share/filestore/test_account_financial_report
- chown -R flectra.flectra /opt/flectra/.local/share/filestore/test_account_financial_report
- su - flectra -c "/opt/flectra/flectra-bin
--addons-path ${CI_PROJECT_DIR},~/others/reporting-engine,~/others/server-ux
--db_host psql
--db_port 5432
--db_user flectra
--db_password flectra
--database test_account_financial_report
--test-enable -i account_financial_report
--stop-after-init
--log-level error
--log-handler flectra.addons.account_financial_report:TEST"
test_module_customer_outstanding_statement:
stage: testsingle
when: on_failure
image:
name: registry.gitlab.com/jamotion/flectra/ubuntudev:2-latest
entrypoint: ["/bin/sh", "-c"]
script:
- apt-get install -y p7zip-full
- apt install -y expect-dev
- pip3 install -r ${CI_PROJECT_DIR}/requirements.txt
- su - flectra -c "mkdir ~/others"
- su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/reporting-engine.git ~/others/reporting-engine"
- su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/server-ux.git ~/others/server-ux"
- sed -i -e 's/# en_US.UTF-8 UTF-8/en_US.UTF-8 UTF-8/' /etc/locale.gen && dpkg-reconfigure --frontend=noninteractive locales && update-locale LANG=en_US.UTF-8
- mkdir ${CI_PROJECT_DIR}/ci_data
- wget -O ${CI_PROJECT_DIR}/ci_data/test_base.zip https://gitlab.com/flectra-community/devops/oca2fc/raw/master/ci_data/test_base.zip
- 7z x -o ${CI_PROJECT_DIR}/ci_data/ ${CI_PROJECT_DIR}/ci_data/test_base.zip
- export PGPASSWORD="flectra"
- createdb -h psql -U flectra -O flectra -T template1 test_customer_outstanding_statement
- psql -h psql -U flectra -d test_customer_outstanding_statement -f ${CI_PROJECT_DIR}/ci_data/dump.sql
- su - flectra -c "mkdir -p ~/.local/share/filestore"
- mv ${CI_PROJECT_DIR}/ci_data/filestore /opt/flectra/.local/share/filestore/test_customer_outstanding_statement
- chown -R flectra.flectra /opt/flectra/.local/share/filestore/test_customer_outstanding_statement
- su - flectra -c "/opt/flectra/flectra-bin
--addons-path ${CI_PROJECT_DIR},~/others/reporting-engine,~/others/server-ux
--db_host psql
--db_port 5432
--db_user flectra
--db_password flectra
--database test_customer_outstanding_statement
--test-enable -i customer_outstanding_statement
--stop-after-init
--log-level error
--log-handler flectra.addons.customer_outstanding_statement:TEST"

View File

@ -9,11 +9,11 @@ Available addons
addon | version | summary addon | version | summary
--- | --- | --- --- | --- | ---
[account_financial_report](account_financial_report/) | 1.0.2.6.0| OCA Financial Reports
[customer_activity_statement](customer_activity_statement/) | 1.0.2.1.2| OCA Financial Reports [customer_activity_statement](customer_activity_statement/) | 1.0.2.1.2| OCA Financial Reports
[customer_outstanding_statement](customer_outstanding_statement/) | 1.0.2.1.2| OCA Financial Reports
[account_tax_balance](account_tax_balance/) | 1.0.1.0.0| Compute tax balances based on date range
[account_financial_report_date_range](account_financial_report_date_range/) | 1.0.1.0.0| Add Date Range field to the Odoo OE standard addons financial reports wizard. [account_financial_report_date_range](account_financial_report_date_range/) | 1.0.1.0.0| Add Date Range field to the Odoo OE standard addons financial reports wizard.
[account_tax_balance](account_tax_balance/) | 1.0.1.0.0| Compute tax balances based on date range
[mis_builder_cash_flow](mis_builder_cash_flow/) | 1.0.1.1.0| MIS Builder Cash Flow [mis_builder_cash_flow](mis_builder_cash_flow/) | 1.0.1.1.0| MIS Builder Cash Flow
[account_financial_report](account_financial_report/) | 1.0.2.6.0| OCA Financial Reports
[customer_outstanding_statement](customer_outstanding_statement/) | 1.0.2.1.2| OCA Financial Reports

View File

@ -10,8 +10,7 @@ Most of the files are
Copyright 2018 Camptocamp SA Copyright 2018 Camptocamp SA
Copyright 2018 Eficent Business and IT Consuting Services, S.L. Copyright 2018 Eficent Business and IT Consuting Services, S.L.
Copyright 2019 ACSONE SA/NV (<http://acsone.eu>) Copyright 2019 ACSONE SA/NV (<http://acsone.eu>)
© 2015 Yannick Vaucher (Camptocamp) © 2016 Damien Crier (Camptocamp)
© 2016 Julien Coux (Camptocamp)
© 2018 Forest and Biomass Romania SA © 2018 Forest and Biomass Romania SA
Copyright 2018 Flectra Community Copyright 2018 Flectra Community

View File

@ -1,6 +1,5 @@
Most of the files are Most of the files are
<!-- Copyright 2016 Antonio Espinosa <antonio.espinosa@tecnativa.com>
<!-- Copyright 2016 Lorenzo Battistini - Agile Business Group <!-- Copyright 2016 Lorenzo Battistini - Agile Business Group
Copyright 2016 ACSONE SA/NV - Stéphane Bidoul Copyright 2016 ACSONE SA/NV - Stéphane Bidoul
Copyright 2016 Antonio Espinosa <antonio.espinosa@tecnativa.com> Copyright 2016 Antonio Espinosa <antonio.espinosa@tecnativa.com>
@ -8,8 +7,6 @@ Most of the files are
Copyright 2016 Tecnativa - Antonio Espinosa Copyright 2016 Tecnativa - Antonio Espinosa
Copyright 2017 ACSONE SA/NV Copyright 2017 ACSONE SA/NV
Copyright 2017 Tecnativa - Pedro M. Baeza Copyright 2017 Tecnativa - Pedro M. Baeza
© 2016 Giovanni Capalbo
© 2016 Giovanni Capalbo <giovanni@therp.nl>
© 2016 Lorenzo Battistini - Agile Business Group © 2016 Lorenzo Battistini - Agile Business Group
Copyright 2018 Flectra Community Copyright 2018 Flectra Community