From 77ecad4383e220b48d7d1a0aecfd268312ed7c95 Mon Sep 17 00:00:00 2001 From: Flectra Community Bot Date: Thu, 27 May 2021 12:22:13 +0000 Subject: [PATCH] Automatic Update form OCA2FC Migrator --- .gitlab-ci.yml | 1896 +++++++++++++------------- README.md | 66 +- partner_address_street3/COPYRIGHT | 1 + partner_contact_birthdate/COPYRIGHT | 1 - partner_firstname/COPYRIGHT | 7 +- partner_industry_secondary/COPYRIGHT | 1 - partner_second_lastname/COPYRIGHT | 1 - 7 files changed, 986 insertions(+), 987 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 7147d4f..4830c04 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -45,53 +45,53 @@ test_all_modules: --db_password flectra --database test_all --test-enable - --init partner_company_type,partner_ref_unique,partner_employee_quantity,base_partner_merge,base_location,base_location_nuts,partner_contact_department,partner_contact_in_several_companies,partner_second_lastname,partner_contact_gender,partner_external_map,partner_contact_lang,partner_vat_unique,partner_contact_job_position,partner_firstname,partner_contact_personal_information_page,partner_contact_birthdate,portal_partner_select_all,partner_group,partner_academic_title,partner_address_street3,partner_phone_search,partner_multi_relation_tabs,partner_coc,partner_multi_relation,partner_tag_smart_assignation,partner_fax,base_partner_sequence,partner_contact_role,base_country_state_translatable,partner_affiliate,partner_phone_extension,partner_industry_secondary,partner_email_check,partner_noncommercial,base_location_geonames_import,partner_phonecall_schedule,base_vat_sanitized,partner_identification,partner_certificate_of_conduct + --init base_vat_sanitized,partner_firstname,partner_contact_job_position,partner_fax,partner_employee_quantity,base_location_nuts,partner_phonecall_schedule,partner_second_lastname,partner_contact_department,partner_affiliate,base_partner_merge,partner_phone_extension,partner_coc,partner_academic_title,partner_ref_unique,partner_industry_secondary,base_partner_sequence,partner_multi_relation,partner_address_street3,partner_phone_search,partner_company_type,portal_partner_select_all,base_location_geonames_import,partner_contact_birthdate,partner_identification,partner_vat_unique,partner_email_check,partner_contact_personal_information_page,partner_contact_gender,partner_contact_role,partner_contact_lang,base_location,partner_contact_in_several_companies,partner_noncommercial,partner_tag_smart_assignation,partner_group,partner_certificate_of_conduct,partner_external_map,partner_multi_relation_tabs,base_country_state_translatable --stop-after-init --log-level error - --log-handler flectra.addons.partner_company_type:TEST - --log-handler flectra.addons.partner_ref_unique:TEST - --log-handler flectra.addons.partner_employee_quantity:TEST - --log-handler flectra.addons.base_partner_merge:TEST - --log-handler flectra.addons.base_location:TEST - --log-handler flectra.addons.base_location_nuts:TEST - --log-handler flectra.addons.partner_contact_department:TEST - --log-handler flectra.addons.partner_contact_in_several_companies:TEST - --log-handler flectra.addons.partner_second_lastname:TEST - --log-handler flectra.addons.partner_contact_gender:TEST - --log-handler flectra.addons.partner_external_map:TEST - --log-handler flectra.addons.partner_contact_lang:TEST - --log-handler flectra.addons.partner_vat_unique:TEST - --log-handler flectra.addons.partner_contact_job_position:TEST + --log-handler flectra.addons.base_vat_sanitized:TEST --log-handler flectra.addons.partner_firstname:TEST - --log-handler flectra.addons.partner_contact_personal_information_page:TEST - --log-handler flectra.addons.partner_contact_birthdate:TEST - --log-handler flectra.addons.portal_partner_select_all:TEST - --log-handler flectra.addons.partner_group:TEST + --log-handler flectra.addons.partner_contact_job_position:TEST + --log-handler flectra.addons.partner_fax:TEST + --log-handler flectra.addons.partner_employee_quantity:TEST + --log-handler flectra.addons.base_location_nuts:TEST + --log-handler flectra.addons.partner_phonecall_schedule:TEST + --log-handler flectra.addons.partner_second_lastname:TEST + --log-handler flectra.addons.partner_contact_department:TEST + --log-handler flectra.addons.partner_affiliate:TEST + --log-handler flectra.addons.base_partner_merge:TEST + --log-handler flectra.addons.partner_phone_extension:TEST + --log-handler flectra.addons.partner_coc:TEST --log-handler flectra.addons.partner_academic_title:TEST + --log-handler flectra.addons.partner_ref_unique:TEST + --log-handler flectra.addons.partner_industry_secondary:TEST + --log-handler flectra.addons.base_partner_sequence:TEST + --log-handler flectra.addons.partner_multi_relation:TEST --log-handler flectra.addons.partner_address_street3:TEST --log-handler flectra.addons.partner_phone_search:TEST - --log-handler flectra.addons.partner_multi_relation_tabs:TEST - --log-handler flectra.addons.partner_coc:TEST - --log-handler flectra.addons.partner_multi_relation:TEST - --log-handler flectra.addons.partner_tag_smart_assignation:TEST - --log-handler flectra.addons.partner_fax:TEST - --log-handler flectra.addons.base_partner_sequence:TEST - --log-handler flectra.addons.partner_contact_role:TEST - --log-handler flectra.addons.base_country_state_translatable:TEST - --log-handler flectra.addons.partner_affiliate:TEST - --log-handler flectra.addons.partner_phone_extension:TEST - --log-handler flectra.addons.partner_industry_secondary:TEST - --log-handler flectra.addons.partner_email_check:TEST - --log-handler flectra.addons.partner_noncommercial:TEST + --log-handler flectra.addons.partner_company_type:TEST + --log-handler flectra.addons.portal_partner_select_all:TEST --log-handler flectra.addons.base_location_geonames_import:TEST - --log-handler flectra.addons.partner_phonecall_schedule:TEST - --log-handler flectra.addons.base_vat_sanitized:TEST + --log-handler flectra.addons.partner_contact_birthdate:TEST --log-handler flectra.addons.partner_identification:TEST + --log-handler flectra.addons.partner_vat_unique:TEST + --log-handler flectra.addons.partner_email_check:TEST + --log-handler flectra.addons.partner_contact_personal_information_page:TEST + --log-handler flectra.addons.partner_contact_gender:TEST + --log-handler flectra.addons.partner_contact_role:TEST + --log-handler flectra.addons.partner_contact_lang:TEST + --log-handler flectra.addons.base_location:TEST + --log-handler flectra.addons.partner_contact_in_several_companies:TEST + --log-handler flectra.addons.partner_noncommercial:TEST + --log-handler flectra.addons.partner_tag_smart_assignation:TEST + --log-handler flectra.addons.partner_group:TEST --log-handler flectra.addons.partner_certificate_of_conduct:TEST + --log-handler flectra.addons.partner_external_map:TEST + --log-handler flectra.addons.partner_multi_relation_tabs:TEST + --log-handler flectra.addons.base_country_state_translatable:TEST " -test_module_partner_company_type: +test_module_base_vat_sanitized: stage: testsingle when: on_failure image: @@ -108,464 +108,22 @@ test_module_partner_company_type: - 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_partner_company_type - - psql -h psql -U flectra -d test_partner_company_type -f ${CI_PROJECT_DIR}/ci_data/dump.sql + - createdb -h psql -U flectra -O flectra -T template1 test_base_vat_sanitized + - psql -h psql -U flectra -d test_base_vat_sanitized -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_partner_company_type - - chown -R flectra.flectra /opt/flectra/.local/share/filestore/test_partner_company_type + - mv ${CI_PROJECT_DIR}/ci_data/filestore /opt/flectra/.local/share/filestore/test_base_vat_sanitized + - chown -R flectra.flectra /opt/flectra/.local/share/filestore/test_base_vat_sanitized - su - flectra -c "/opt/flectra/flectra-bin --addons-path ${CI_PROJECT_DIR},~/others/server-ux --db_host psql --db_port 5432 --db_user flectra --db_password flectra - --database test_partner_company_type - --test-enable -i partner_company_type + --database test_base_vat_sanitized + --test-enable -i base_vat_sanitized --stop-after-init --log-level error - --log-handler flectra.addons.partner_company_type:TEST" - -test_module_partner_ref_unique: - 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 python-lxml - - 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/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_partner_ref_unique - - psql -h psql -U flectra -d test_partner_ref_unique -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_partner_ref_unique - - chown -R flectra.flectra /opt/flectra/.local/share/filestore/test_partner_ref_unique - - su - flectra -c "/opt/flectra/flectra-bin - --addons-path ${CI_PROJECT_DIR},~/others/server-ux - --db_host psql - --db_port 5432 - --db_user flectra - --db_password flectra - --database test_partner_ref_unique - --test-enable -i partner_ref_unique - --stop-after-init - --log-level error - --log-handler flectra.addons.partner_ref_unique:TEST" - -test_module_partner_employee_quantity: - 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 python-lxml - - 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/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_partner_employee_quantity - - psql -h psql -U flectra -d test_partner_employee_quantity -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_partner_employee_quantity - - chown -R flectra.flectra /opt/flectra/.local/share/filestore/test_partner_employee_quantity - - su - flectra -c "/opt/flectra/flectra-bin - --addons-path ${CI_PROJECT_DIR},~/others/server-ux - --db_host psql - --db_port 5432 - --db_user flectra - --db_password flectra - --database test_partner_employee_quantity - --test-enable -i partner_employee_quantity - --stop-after-init - --log-level error - --log-handler flectra.addons.partner_employee_quantity:TEST" - -test_module_base_partner_merge: - 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 python-lxml - - 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/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_base_partner_merge - - psql -h psql -U flectra -d test_base_partner_merge -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_base_partner_merge - - chown -R flectra.flectra /opt/flectra/.local/share/filestore/test_base_partner_merge - - su - flectra -c "/opt/flectra/flectra-bin - --addons-path ${CI_PROJECT_DIR},~/others/server-ux - --db_host psql - --db_port 5432 - --db_user flectra - --db_password flectra - --database test_base_partner_merge - --test-enable -i base_partner_merge - --stop-after-init - --log-level error - --log-handler flectra.addons.base_partner_merge:TEST" - -test_module_base_location: - 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 python-lxml - - 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/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_base_location - - psql -h psql -U flectra -d test_base_location -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_base_location - - chown -R flectra.flectra /opt/flectra/.local/share/filestore/test_base_location - - su - flectra -c "/opt/flectra/flectra-bin - --addons-path ${CI_PROJECT_DIR},~/others/server-ux - --db_host psql - --db_port 5432 - --db_user flectra - --db_password flectra - --database test_base_location - --test-enable -i base_location - --stop-after-init - --log-level error - --log-handler flectra.addons.base_location:TEST" - -test_module_base_location_nuts: - 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 python-lxml - - 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/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_base_location_nuts - - psql -h psql -U flectra -d test_base_location_nuts -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_base_location_nuts - - chown -R flectra.flectra /opt/flectra/.local/share/filestore/test_base_location_nuts - - su - flectra -c "/opt/flectra/flectra-bin - --addons-path ${CI_PROJECT_DIR},~/others/server-ux - --db_host psql - --db_port 5432 - --db_user flectra - --db_password flectra - --database test_base_location_nuts - --test-enable -i base_location_nuts - --stop-after-init - --log-level error - --log-handler flectra.addons.base_location_nuts:TEST" - -test_module_partner_contact_department: - 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 python-lxml - - 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/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_partner_contact_department - - psql -h psql -U flectra -d test_partner_contact_department -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_partner_contact_department - - chown -R flectra.flectra /opt/flectra/.local/share/filestore/test_partner_contact_department - - su - flectra -c "/opt/flectra/flectra-bin - --addons-path ${CI_PROJECT_DIR},~/others/server-ux - --db_host psql - --db_port 5432 - --db_user flectra - --db_password flectra - --database test_partner_contact_department - --test-enable -i partner_contact_department - --stop-after-init - --log-level error - --log-handler flectra.addons.partner_contact_department:TEST" - -test_module_partner_contact_in_several_companies: - 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 python-lxml - - 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/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_partner_contact_in_several_companies - - psql -h psql -U flectra -d test_partner_contact_in_several_companies -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_partner_contact_in_several_companies - - chown -R flectra.flectra /opt/flectra/.local/share/filestore/test_partner_contact_in_several_companies - - su - flectra -c "/opt/flectra/flectra-bin - --addons-path ${CI_PROJECT_DIR},~/others/server-ux - --db_host psql - --db_port 5432 - --db_user flectra - --db_password flectra - --database test_partner_contact_in_several_companies - --test-enable -i partner_contact_in_several_companies - --stop-after-init - --log-level error - --log-handler flectra.addons.partner_contact_in_several_companies:TEST" - -test_module_partner_second_lastname: - 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 python-lxml - - 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/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_partner_second_lastname - - psql -h psql -U flectra -d test_partner_second_lastname -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_partner_second_lastname - - chown -R flectra.flectra /opt/flectra/.local/share/filestore/test_partner_second_lastname - - su - flectra -c "/opt/flectra/flectra-bin - --addons-path ${CI_PROJECT_DIR},~/others/server-ux - --db_host psql - --db_port 5432 - --db_user flectra - --db_password flectra - --database test_partner_second_lastname - --test-enable -i partner_second_lastname - --stop-after-init - --log-level error - --log-handler flectra.addons.partner_second_lastname:TEST" - -test_module_partner_contact_gender: - 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 python-lxml - - 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/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_partner_contact_gender - - psql -h psql -U flectra -d test_partner_contact_gender -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_partner_contact_gender - - chown -R flectra.flectra /opt/flectra/.local/share/filestore/test_partner_contact_gender - - su - flectra -c "/opt/flectra/flectra-bin - --addons-path ${CI_PROJECT_DIR},~/others/server-ux - --db_host psql - --db_port 5432 - --db_user flectra - --db_password flectra - --database test_partner_contact_gender - --test-enable -i partner_contact_gender - --stop-after-init - --log-level error - --log-handler flectra.addons.partner_contact_gender:TEST" - -test_module_partner_external_map: - 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 python-lxml - - 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/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_partner_external_map - - psql -h psql -U flectra -d test_partner_external_map -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_partner_external_map - - chown -R flectra.flectra /opt/flectra/.local/share/filestore/test_partner_external_map - - su - flectra -c "/opt/flectra/flectra-bin - --addons-path ${CI_PROJECT_DIR},~/others/server-ux - --db_host psql - --db_port 5432 - --db_user flectra - --db_password flectra - --database test_partner_external_map - --test-enable -i partner_external_map - --stop-after-init - --log-level error - --log-handler flectra.addons.partner_external_map:TEST" - -test_module_partner_contact_lang: - 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 python-lxml - - 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/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_partner_contact_lang - - psql -h psql -U flectra -d test_partner_contact_lang -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_partner_contact_lang - - chown -R flectra.flectra /opt/flectra/.local/share/filestore/test_partner_contact_lang - - su - flectra -c "/opt/flectra/flectra-bin - --addons-path ${CI_PROJECT_DIR},~/others/server-ux - --db_host psql - --db_port 5432 - --db_user flectra - --db_password flectra - --database test_partner_contact_lang - --test-enable -i partner_contact_lang - --stop-after-init - --log-level error - --log-handler flectra.addons.partner_contact_lang:TEST" - -test_module_partner_vat_unique: - 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 python-lxml - - 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/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_partner_vat_unique - - psql -h psql -U flectra -d test_partner_vat_unique -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_partner_vat_unique - - chown -R flectra.flectra /opt/flectra/.local/share/filestore/test_partner_vat_unique - - su - flectra -c "/opt/flectra/flectra-bin - --addons-path ${CI_PROJECT_DIR},~/others/server-ux - --db_host psql - --db_port 5432 - --db_user flectra - --db_password flectra - --database test_partner_vat_unique - --test-enable -i partner_vat_unique - --stop-after-init - --log-level error - --log-handler flectra.addons.partner_vat_unique:TEST" - -test_module_partner_contact_job_position: - 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 python-lxml - - 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/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_partner_contact_job_position - - psql -h psql -U flectra -d test_partner_contact_job_position -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_partner_contact_job_position - - chown -R flectra.flectra /opt/flectra/.local/share/filestore/test_partner_contact_job_position - - su - flectra -c "/opt/flectra/flectra-bin - --addons-path ${CI_PROJECT_DIR},~/others/server-ux - --db_host psql - --db_port 5432 - --db_user flectra - --db_password flectra - --database test_partner_contact_job_position - --test-enable -i partner_contact_job_position - --stop-after-init - --log-level error - --log-handler flectra.addons.partner_contact_job_position:TEST" + --log-handler flectra.addons.base_vat_sanitized:TEST" test_module_partner_firstname: stage: testsingle @@ -601,7 +159,7 @@ test_module_partner_firstname: --log-level error --log-handler flectra.addons.partner_firstname:TEST" -test_module_partner_contact_personal_information_page: +test_module_partner_contact_job_position: stage: testsingle when: on_failure image: @@ -618,24 +176,24 @@ test_module_partner_contact_personal_information_page: - 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_partner_contact_personal_information_page - - psql -h psql -U flectra -d test_partner_contact_personal_information_page -f ${CI_PROJECT_DIR}/ci_data/dump.sql + - createdb -h psql -U flectra -O flectra -T template1 test_partner_contact_job_position + - psql -h psql -U flectra -d test_partner_contact_job_position -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_partner_contact_personal_information_page - - chown -R flectra.flectra /opt/flectra/.local/share/filestore/test_partner_contact_personal_information_page + - mv ${CI_PROJECT_DIR}/ci_data/filestore /opt/flectra/.local/share/filestore/test_partner_contact_job_position + - chown -R flectra.flectra /opt/flectra/.local/share/filestore/test_partner_contact_job_position - su - flectra -c "/opt/flectra/flectra-bin --addons-path ${CI_PROJECT_DIR},~/others/server-ux --db_host psql --db_port 5432 --db_user flectra --db_password flectra - --database test_partner_contact_personal_information_page - --test-enable -i partner_contact_personal_information_page + --database test_partner_contact_job_position + --test-enable -i partner_contact_job_position --stop-after-init --log-level error - --log-handler flectra.addons.partner_contact_personal_information_page:TEST" + --log-handler flectra.addons.partner_contact_job_position:TEST" -test_module_partner_contact_birthdate: +test_module_partner_fax: stage: testsingle when: on_failure image: @@ -652,24 +210,24 @@ test_module_partner_contact_birthdate: - 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_partner_contact_birthdate - - psql -h psql -U flectra -d test_partner_contact_birthdate -f ${CI_PROJECT_DIR}/ci_data/dump.sql + - createdb -h psql -U flectra -O flectra -T template1 test_partner_fax + - psql -h psql -U flectra -d test_partner_fax -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_partner_contact_birthdate - - chown -R flectra.flectra /opt/flectra/.local/share/filestore/test_partner_contact_birthdate + - mv ${CI_PROJECT_DIR}/ci_data/filestore /opt/flectra/.local/share/filestore/test_partner_fax + - chown -R flectra.flectra /opt/flectra/.local/share/filestore/test_partner_fax - su - flectra -c "/opt/flectra/flectra-bin --addons-path ${CI_PROJECT_DIR},~/others/server-ux --db_host psql --db_port 5432 --db_user flectra --db_password flectra - --database test_partner_contact_birthdate - --test-enable -i partner_contact_birthdate + --database test_partner_fax + --test-enable -i partner_fax --stop-after-init --log-level error - --log-handler flectra.addons.partner_contact_birthdate:TEST" + --log-handler flectra.addons.partner_fax:TEST" -test_module_portal_partner_select_all: +test_module_partner_employee_quantity: stage: testsingle when: on_failure image: @@ -686,24 +244,24 @@ test_module_portal_partner_select_all: - 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_portal_partner_select_all - - psql -h psql -U flectra -d test_portal_partner_select_all -f ${CI_PROJECT_DIR}/ci_data/dump.sql + - createdb -h psql -U flectra -O flectra -T template1 test_partner_employee_quantity + - psql -h psql -U flectra -d test_partner_employee_quantity -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_portal_partner_select_all - - chown -R flectra.flectra /opt/flectra/.local/share/filestore/test_portal_partner_select_all + - mv ${CI_PROJECT_DIR}/ci_data/filestore /opt/flectra/.local/share/filestore/test_partner_employee_quantity + - chown -R flectra.flectra /opt/flectra/.local/share/filestore/test_partner_employee_quantity - su - flectra -c "/opt/flectra/flectra-bin --addons-path ${CI_PROJECT_DIR},~/others/server-ux --db_host psql --db_port 5432 --db_user flectra --db_password flectra - --database test_portal_partner_select_all - --test-enable -i portal_partner_select_all + --database test_partner_employee_quantity + --test-enable -i partner_employee_quantity --stop-after-init --log-level error - --log-handler flectra.addons.portal_partner_select_all:TEST" + --log-handler flectra.addons.partner_employee_quantity:TEST" -test_module_partner_group: +test_module_base_location_nuts: stage: testsingle when: on_failure image: @@ -720,22 +278,260 @@ test_module_partner_group: - 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_partner_group - - psql -h psql -U flectra -d test_partner_group -f ${CI_PROJECT_DIR}/ci_data/dump.sql + - createdb -h psql -U flectra -O flectra -T template1 test_base_location_nuts + - psql -h psql -U flectra -d test_base_location_nuts -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_partner_group - - chown -R flectra.flectra /opt/flectra/.local/share/filestore/test_partner_group + - mv ${CI_PROJECT_DIR}/ci_data/filestore /opt/flectra/.local/share/filestore/test_base_location_nuts + - chown -R flectra.flectra /opt/flectra/.local/share/filestore/test_base_location_nuts - su - flectra -c "/opt/flectra/flectra-bin --addons-path ${CI_PROJECT_DIR},~/others/server-ux --db_host psql --db_port 5432 --db_user flectra --db_password flectra - --database test_partner_group - --test-enable -i partner_group + --database test_base_location_nuts + --test-enable -i base_location_nuts --stop-after-init --log-level error - --log-handler flectra.addons.partner_group:TEST" + --log-handler flectra.addons.base_location_nuts:TEST" + +test_module_partner_phonecall_schedule: + 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 python-lxml + - 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/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_partner_phonecall_schedule + - psql -h psql -U flectra -d test_partner_phonecall_schedule -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_partner_phonecall_schedule + - chown -R flectra.flectra /opt/flectra/.local/share/filestore/test_partner_phonecall_schedule + - su - flectra -c "/opt/flectra/flectra-bin + --addons-path ${CI_PROJECT_DIR},~/others/server-ux + --db_host psql + --db_port 5432 + --db_user flectra + --db_password flectra + --database test_partner_phonecall_schedule + --test-enable -i partner_phonecall_schedule + --stop-after-init + --log-level error + --log-handler flectra.addons.partner_phonecall_schedule:TEST" + +test_module_partner_second_lastname: + 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 python-lxml + - 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/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_partner_second_lastname + - psql -h psql -U flectra -d test_partner_second_lastname -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_partner_second_lastname + - chown -R flectra.flectra /opt/flectra/.local/share/filestore/test_partner_second_lastname + - su - flectra -c "/opt/flectra/flectra-bin + --addons-path ${CI_PROJECT_DIR},~/others/server-ux + --db_host psql + --db_port 5432 + --db_user flectra + --db_password flectra + --database test_partner_second_lastname + --test-enable -i partner_second_lastname + --stop-after-init + --log-level error + --log-handler flectra.addons.partner_second_lastname:TEST" + +test_module_partner_contact_department: + 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 python-lxml + - 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/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_partner_contact_department + - psql -h psql -U flectra -d test_partner_contact_department -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_partner_contact_department + - chown -R flectra.flectra /opt/flectra/.local/share/filestore/test_partner_contact_department + - su - flectra -c "/opt/flectra/flectra-bin + --addons-path ${CI_PROJECT_DIR},~/others/server-ux + --db_host psql + --db_port 5432 + --db_user flectra + --db_password flectra + --database test_partner_contact_department + --test-enable -i partner_contact_department + --stop-after-init + --log-level error + --log-handler flectra.addons.partner_contact_department:TEST" + +test_module_partner_affiliate: + 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 python-lxml + - 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/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_partner_affiliate + - psql -h psql -U flectra -d test_partner_affiliate -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_partner_affiliate + - chown -R flectra.flectra /opt/flectra/.local/share/filestore/test_partner_affiliate + - su - flectra -c "/opt/flectra/flectra-bin + --addons-path ${CI_PROJECT_DIR},~/others/server-ux + --db_host psql + --db_port 5432 + --db_user flectra + --db_password flectra + --database test_partner_affiliate + --test-enable -i partner_affiliate + --stop-after-init + --log-level error + --log-handler flectra.addons.partner_affiliate:TEST" + +test_module_base_partner_merge: + 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 python-lxml + - 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/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_base_partner_merge + - psql -h psql -U flectra -d test_base_partner_merge -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_base_partner_merge + - chown -R flectra.flectra /opt/flectra/.local/share/filestore/test_base_partner_merge + - su - flectra -c "/opt/flectra/flectra-bin + --addons-path ${CI_PROJECT_DIR},~/others/server-ux + --db_host psql + --db_port 5432 + --db_user flectra + --db_password flectra + --database test_base_partner_merge + --test-enable -i base_partner_merge + --stop-after-init + --log-level error + --log-handler flectra.addons.base_partner_merge:TEST" + +test_module_partner_phone_extension: + 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 python-lxml + - 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/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_partner_phone_extension + - psql -h psql -U flectra -d test_partner_phone_extension -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_partner_phone_extension + - chown -R flectra.flectra /opt/flectra/.local/share/filestore/test_partner_phone_extension + - su - flectra -c "/opt/flectra/flectra-bin + --addons-path ${CI_PROJECT_DIR},~/others/server-ux + --db_host psql + --db_port 5432 + --db_user flectra + --db_password flectra + --database test_partner_phone_extension + --test-enable -i partner_phone_extension + --stop-after-init + --log-level error + --log-handler flectra.addons.partner_phone_extension:TEST" + +test_module_partner_coc: + 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 python-lxml + - 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/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_partner_coc + - psql -h psql -U flectra -d test_partner_coc -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_partner_coc + - chown -R flectra.flectra /opt/flectra/.local/share/filestore/test_partner_coc + - su - flectra -c "/opt/flectra/flectra-bin + --addons-path ${CI_PROJECT_DIR},~/others/server-ux + --db_host psql + --db_port 5432 + --db_user flectra + --db_password flectra + --database test_partner_coc + --test-enable -i partner_coc + --stop-after-init + --log-level error + --log-handler flectra.addons.partner_coc:TEST" test_module_partner_academic_title: stage: testsingle @@ -771,6 +567,142 @@ test_module_partner_academic_title: --log-level error --log-handler flectra.addons.partner_academic_title:TEST" +test_module_partner_ref_unique: + 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 python-lxml + - 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/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_partner_ref_unique + - psql -h psql -U flectra -d test_partner_ref_unique -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_partner_ref_unique + - chown -R flectra.flectra /opt/flectra/.local/share/filestore/test_partner_ref_unique + - su - flectra -c "/opt/flectra/flectra-bin + --addons-path ${CI_PROJECT_DIR},~/others/server-ux + --db_host psql + --db_port 5432 + --db_user flectra + --db_password flectra + --database test_partner_ref_unique + --test-enable -i partner_ref_unique + --stop-after-init + --log-level error + --log-handler flectra.addons.partner_ref_unique:TEST" + +test_module_partner_industry_secondary: + 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 python-lxml + - 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/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_partner_industry_secondary + - psql -h psql -U flectra -d test_partner_industry_secondary -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_partner_industry_secondary + - chown -R flectra.flectra /opt/flectra/.local/share/filestore/test_partner_industry_secondary + - su - flectra -c "/opt/flectra/flectra-bin + --addons-path ${CI_PROJECT_DIR},~/others/server-ux + --db_host psql + --db_port 5432 + --db_user flectra + --db_password flectra + --database test_partner_industry_secondary + --test-enable -i partner_industry_secondary + --stop-after-init + --log-level error + --log-handler flectra.addons.partner_industry_secondary:TEST" + +test_module_base_partner_sequence: + 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 python-lxml + - 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/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_base_partner_sequence + - psql -h psql -U flectra -d test_base_partner_sequence -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_base_partner_sequence + - chown -R flectra.flectra /opt/flectra/.local/share/filestore/test_base_partner_sequence + - su - flectra -c "/opt/flectra/flectra-bin + --addons-path ${CI_PROJECT_DIR},~/others/server-ux + --db_host psql + --db_port 5432 + --db_user flectra + --db_password flectra + --database test_base_partner_sequence + --test-enable -i base_partner_sequence + --stop-after-init + --log-level error + --log-handler flectra.addons.base_partner_sequence:TEST" + +test_module_partner_multi_relation: + 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 python-lxml + - 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/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_partner_multi_relation + - psql -h psql -U flectra -d test_partner_multi_relation -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_partner_multi_relation + - chown -R flectra.flectra /opt/flectra/.local/share/filestore/test_partner_multi_relation + - su - flectra -c "/opt/flectra/flectra-bin + --addons-path ${CI_PROJECT_DIR},~/others/server-ux + --db_host psql + --db_port 5432 + --db_user flectra + --db_password flectra + --database test_partner_multi_relation + --test-enable -i partner_multi_relation + --stop-after-init + --log-level error + --log-handler flectra.addons.partner_multi_relation:TEST" + test_module_partner_address_street3: stage: testsingle when: on_failure @@ -839,7 +771,7 @@ test_module_partner_phone_search: --log-level error --log-handler flectra.addons.partner_phone_search:TEST" -test_module_partner_multi_relation_tabs: +test_module_partner_company_type: stage: testsingle when: on_failure image: @@ -856,24 +788,24 @@ test_module_partner_multi_relation_tabs: - 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_partner_multi_relation_tabs - - psql -h psql -U flectra -d test_partner_multi_relation_tabs -f ${CI_PROJECT_DIR}/ci_data/dump.sql + - createdb -h psql -U flectra -O flectra -T template1 test_partner_company_type + - psql -h psql -U flectra -d test_partner_company_type -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_partner_multi_relation_tabs - - chown -R flectra.flectra /opt/flectra/.local/share/filestore/test_partner_multi_relation_tabs + - mv ${CI_PROJECT_DIR}/ci_data/filestore /opt/flectra/.local/share/filestore/test_partner_company_type + - chown -R flectra.flectra /opt/flectra/.local/share/filestore/test_partner_company_type - su - flectra -c "/opt/flectra/flectra-bin --addons-path ${CI_PROJECT_DIR},~/others/server-ux --db_host psql --db_port 5432 --db_user flectra --db_password flectra - --database test_partner_multi_relation_tabs - --test-enable -i partner_multi_relation_tabs + --database test_partner_company_type + --test-enable -i partner_company_type --stop-after-init --log-level error - --log-handler flectra.addons.partner_multi_relation_tabs:TEST" + --log-handler flectra.addons.partner_company_type:TEST" -test_module_partner_coc: +test_module_portal_partner_select_all: stage: testsingle when: on_failure image: @@ -890,396 +822,22 @@ test_module_partner_coc: - 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_partner_coc - - psql -h psql -U flectra -d test_partner_coc -f ${CI_PROJECT_DIR}/ci_data/dump.sql + - createdb -h psql -U flectra -O flectra -T template1 test_portal_partner_select_all + - psql -h psql -U flectra -d test_portal_partner_select_all -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_partner_coc - - chown -R flectra.flectra /opt/flectra/.local/share/filestore/test_partner_coc + - mv ${CI_PROJECT_DIR}/ci_data/filestore /opt/flectra/.local/share/filestore/test_portal_partner_select_all + - chown -R flectra.flectra /opt/flectra/.local/share/filestore/test_portal_partner_select_all - su - flectra -c "/opt/flectra/flectra-bin --addons-path ${CI_PROJECT_DIR},~/others/server-ux --db_host psql --db_port 5432 --db_user flectra --db_password flectra - --database test_partner_coc - --test-enable -i partner_coc + --database test_portal_partner_select_all + --test-enable -i portal_partner_select_all --stop-after-init --log-level error - --log-handler flectra.addons.partner_coc:TEST" - -test_module_partner_multi_relation: - 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 python-lxml - - 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/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_partner_multi_relation - - psql -h psql -U flectra -d test_partner_multi_relation -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_partner_multi_relation - - chown -R flectra.flectra /opt/flectra/.local/share/filestore/test_partner_multi_relation - - su - flectra -c "/opt/flectra/flectra-bin - --addons-path ${CI_PROJECT_DIR},~/others/server-ux - --db_host psql - --db_port 5432 - --db_user flectra - --db_password flectra - --database test_partner_multi_relation - --test-enable -i partner_multi_relation - --stop-after-init - --log-level error - --log-handler flectra.addons.partner_multi_relation:TEST" - -test_module_partner_tag_smart_assignation: - 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 python-lxml - - 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/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_partner_tag_smart_assignation - - psql -h psql -U flectra -d test_partner_tag_smart_assignation -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_partner_tag_smart_assignation - - chown -R flectra.flectra /opt/flectra/.local/share/filestore/test_partner_tag_smart_assignation - - su - flectra -c "/opt/flectra/flectra-bin - --addons-path ${CI_PROJECT_DIR},~/others/server-ux - --db_host psql - --db_port 5432 - --db_user flectra - --db_password flectra - --database test_partner_tag_smart_assignation - --test-enable -i partner_tag_smart_assignation - --stop-after-init - --log-level error - --log-handler flectra.addons.partner_tag_smart_assignation:TEST" - -test_module_partner_fax: - 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 python-lxml - - 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/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_partner_fax - - psql -h psql -U flectra -d test_partner_fax -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_partner_fax - - chown -R flectra.flectra /opt/flectra/.local/share/filestore/test_partner_fax - - su - flectra -c "/opt/flectra/flectra-bin - --addons-path ${CI_PROJECT_DIR},~/others/server-ux - --db_host psql - --db_port 5432 - --db_user flectra - --db_password flectra - --database test_partner_fax - --test-enable -i partner_fax - --stop-after-init - --log-level error - --log-handler flectra.addons.partner_fax:TEST" - -test_module_base_partner_sequence: - 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 python-lxml - - 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/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_base_partner_sequence - - psql -h psql -U flectra -d test_base_partner_sequence -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_base_partner_sequence - - chown -R flectra.flectra /opt/flectra/.local/share/filestore/test_base_partner_sequence - - su - flectra -c "/opt/flectra/flectra-bin - --addons-path ${CI_PROJECT_DIR},~/others/server-ux - --db_host psql - --db_port 5432 - --db_user flectra - --db_password flectra - --database test_base_partner_sequence - --test-enable -i base_partner_sequence - --stop-after-init - --log-level error - --log-handler flectra.addons.base_partner_sequence:TEST" - -test_module_partner_contact_role: - 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 python-lxml - - 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/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_partner_contact_role - - psql -h psql -U flectra -d test_partner_contact_role -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_partner_contact_role - - chown -R flectra.flectra /opt/flectra/.local/share/filestore/test_partner_contact_role - - su - flectra -c "/opt/flectra/flectra-bin - --addons-path ${CI_PROJECT_DIR},~/others/server-ux - --db_host psql - --db_port 5432 - --db_user flectra - --db_password flectra - --database test_partner_contact_role - --test-enable -i partner_contact_role - --stop-after-init - --log-level error - --log-handler flectra.addons.partner_contact_role:TEST" - -test_module_base_country_state_translatable: - 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 python-lxml - - 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/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_base_country_state_translatable - - psql -h psql -U flectra -d test_base_country_state_translatable -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_base_country_state_translatable - - chown -R flectra.flectra /opt/flectra/.local/share/filestore/test_base_country_state_translatable - - su - flectra -c "/opt/flectra/flectra-bin - --addons-path ${CI_PROJECT_DIR},~/others/server-ux - --db_host psql - --db_port 5432 - --db_user flectra - --db_password flectra - --database test_base_country_state_translatable - --test-enable -i base_country_state_translatable - --stop-after-init - --log-level error - --log-handler flectra.addons.base_country_state_translatable:TEST" - -test_module_partner_affiliate: - 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 python-lxml - - 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/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_partner_affiliate - - psql -h psql -U flectra -d test_partner_affiliate -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_partner_affiliate - - chown -R flectra.flectra /opt/flectra/.local/share/filestore/test_partner_affiliate - - su - flectra -c "/opt/flectra/flectra-bin - --addons-path ${CI_PROJECT_DIR},~/others/server-ux - --db_host psql - --db_port 5432 - --db_user flectra - --db_password flectra - --database test_partner_affiliate - --test-enable -i partner_affiliate - --stop-after-init - --log-level error - --log-handler flectra.addons.partner_affiliate:TEST" - -test_module_partner_phone_extension: - 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 python-lxml - - 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/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_partner_phone_extension - - psql -h psql -U flectra -d test_partner_phone_extension -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_partner_phone_extension - - chown -R flectra.flectra /opt/flectra/.local/share/filestore/test_partner_phone_extension - - su - flectra -c "/opt/flectra/flectra-bin - --addons-path ${CI_PROJECT_DIR},~/others/server-ux - --db_host psql - --db_port 5432 - --db_user flectra - --db_password flectra - --database test_partner_phone_extension - --test-enable -i partner_phone_extension - --stop-after-init - --log-level error - --log-handler flectra.addons.partner_phone_extension:TEST" - -test_module_partner_industry_secondary: - 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 python-lxml - - 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/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_partner_industry_secondary - - psql -h psql -U flectra -d test_partner_industry_secondary -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_partner_industry_secondary - - chown -R flectra.flectra /opt/flectra/.local/share/filestore/test_partner_industry_secondary - - su - flectra -c "/opt/flectra/flectra-bin - --addons-path ${CI_PROJECT_DIR},~/others/server-ux - --db_host psql - --db_port 5432 - --db_user flectra - --db_password flectra - --database test_partner_industry_secondary - --test-enable -i partner_industry_secondary - --stop-after-init - --log-level error - --log-handler flectra.addons.partner_industry_secondary:TEST" - -test_module_partner_email_check: - 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 python-lxml - - 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/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_partner_email_check - - psql -h psql -U flectra -d test_partner_email_check -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_partner_email_check - - chown -R flectra.flectra /opt/flectra/.local/share/filestore/test_partner_email_check - - su - flectra -c "/opt/flectra/flectra-bin - --addons-path ${CI_PROJECT_DIR},~/others/server-ux - --db_host psql - --db_port 5432 - --db_user flectra - --db_password flectra - --database test_partner_email_check - --test-enable -i partner_email_check - --stop-after-init - --log-level error - --log-handler flectra.addons.partner_email_check:TEST" - -test_module_partner_noncommercial: - 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 python-lxml - - 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/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_partner_noncommercial - - psql -h psql -U flectra -d test_partner_noncommercial -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_partner_noncommercial - - chown -R flectra.flectra /opt/flectra/.local/share/filestore/test_partner_noncommercial - - su - flectra -c "/opt/flectra/flectra-bin - --addons-path ${CI_PROJECT_DIR},~/others/server-ux - --db_host psql - --db_port 5432 - --db_user flectra - --db_password flectra - --database test_partner_noncommercial - --test-enable -i partner_noncommercial - --stop-after-init - --log-level error - --log-handler flectra.addons.partner_noncommercial:TEST" + --log-handler flectra.addons.portal_partner_select_all:TEST" test_module_base_location_geonames_import: stage: testsingle @@ -1315,7 +873,7 @@ test_module_base_location_geonames_import: --log-level error --log-handler flectra.addons.base_location_geonames_import:TEST" -test_module_partner_phonecall_schedule: +test_module_partner_contact_birthdate: stage: testsingle when: on_failure image: @@ -1332,56 +890,22 @@ test_module_partner_phonecall_schedule: - 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_partner_phonecall_schedule - - psql -h psql -U flectra -d test_partner_phonecall_schedule -f ${CI_PROJECT_DIR}/ci_data/dump.sql + - createdb -h psql -U flectra -O flectra -T template1 test_partner_contact_birthdate + - psql -h psql -U flectra -d test_partner_contact_birthdate -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_partner_phonecall_schedule - - chown -R flectra.flectra /opt/flectra/.local/share/filestore/test_partner_phonecall_schedule + - mv ${CI_PROJECT_DIR}/ci_data/filestore /opt/flectra/.local/share/filestore/test_partner_contact_birthdate + - chown -R flectra.flectra /opt/flectra/.local/share/filestore/test_partner_contact_birthdate - su - flectra -c "/opt/flectra/flectra-bin --addons-path ${CI_PROJECT_DIR},~/others/server-ux --db_host psql --db_port 5432 --db_user flectra --db_password flectra - --database test_partner_phonecall_schedule - --test-enable -i partner_phonecall_schedule + --database test_partner_contact_birthdate + --test-enable -i partner_contact_birthdate --stop-after-init --log-level error - --log-handler flectra.addons.partner_phonecall_schedule:TEST" - -test_module_base_vat_sanitized: - 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 python-lxml - - 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/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_base_vat_sanitized - - psql -h psql -U flectra -d test_base_vat_sanitized -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_base_vat_sanitized - - chown -R flectra.flectra /opt/flectra/.local/share/filestore/test_base_vat_sanitized - - su - flectra -c "/opt/flectra/flectra-bin - --addons-path ${CI_PROJECT_DIR},~/others/server-ux - --db_host psql - --db_port 5432 - --db_user flectra - --db_password flectra - --database test_base_vat_sanitized - --test-enable -i base_vat_sanitized - --stop-after-init - --log-level error - --log-handler flectra.addons.base_vat_sanitized:TEST" + --log-handler flectra.addons.partner_contact_birthdate:TEST" test_module_partner_identification: stage: testsingle @@ -1417,6 +941,380 @@ test_module_partner_identification: --log-level error --log-handler flectra.addons.partner_identification:TEST" +test_module_partner_vat_unique: + 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 python-lxml + - 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/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_partner_vat_unique + - psql -h psql -U flectra -d test_partner_vat_unique -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_partner_vat_unique + - chown -R flectra.flectra /opt/flectra/.local/share/filestore/test_partner_vat_unique + - su - flectra -c "/opt/flectra/flectra-bin + --addons-path ${CI_PROJECT_DIR},~/others/server-ux + --db_host psql + --db_port 5432 + --db_user flectra + --db_password flectra + --database test_partner_vat_unique + --test-enable -i partner_vat_unique + --stop-after-init + --log-level error + --log-handler flectra.addons.partner_vat_unique:TEST" + +test_module_partner_email_check: + 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 python-lxml + - 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/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_partner_email_check + - psql -h psql -U flectra -d test_partner_email_check -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_partner_email_check + - chown -R flectra.flectra /opt/flectra/.local/share/filestore/test_partner_email_check + - su - flectra -c "/opt/flectra/flectra-bin + --addons-path ${CI_PROJECT_DIR},~/others/server-ux + --db_host psql + --db_port 5432 + --db_user flectra + --db_password flectra + --database test_partner_email_check + --test-enable -i partner_email_check + --stop-after-init + --log-level error + --log-handler flectra.addons.partner_email_check:TEST" + +test_module_partner_contact_personal_information_page: + 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 python-lxml + - 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/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_partner_contact_personal_information_page + - psql -h psql -U flectra -d test_partner_contact_personal_information_page -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_partner_contact_personal_information_page + - chown -R flectra.flectra /opt/flectra/.local/share/filestore/test_partner_contact_personal_information_page + - su - flectra -c "/opt/flectra/flectra-bin + --addons-path ${CI_PROJECT_DIR},~/others/server-ux + --db_host psql + --db_port 5432 + --db_user flectra + --db_password flectra + --database test_partner_contact_personal_information_page + --test-enable -i partner_contact_personal_information_page + --stop-after-init + --log-level error + --log-handler flectra.addons.partner_contact_personal_information_page:TEST" + +test_module_partner_contact_gender: + 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 python-lxml + - 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/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_partner_contact_gender + - psql -h psql -U flectra -d test_partner_contact_gender -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_partner_contact_gender + - chown -R flectra.flectra /opt/flectra/.local/share/filestore/test_partner_contact_gender + - su - flectra -c "/opt/flectra/flectra-bin + --addons-path ${CI_PROJECT_DIR},~/others/server-ux + --db_host psql + --db_port 5432 + --db_user flectra + --db_password flectra + --database test_partner_contact_gender + --test-enable -i partner_contact_gender + --stop-after-init + --log-level error + --log-handler flectra.addons.partner_contact_gender:TEST" + +test_module_partner_contact_role: + 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 python-lxml + - 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/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_partner_contact_role + - psql -h psql -U flectra -d test_partner_contact_role -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_partner_contact_role + - chown -R flectra.flectra /opt/flectra/.local/share/filestore/test_partner_contact_role + - su - flectra -c "/opt/flectra/flectra-bin + --addons-path ${CI_PROJECT_DIR},~/others/server-ux + --db_host psql + --db_port 5432 + --db_user flectra + --db_password flectra + --database test_partner_contact_role + --test-enable -i partner_contact_role + --stop-after-init + --log-level error + --log-handler flectra.addons.partner_contact_role:TEST" + +test_module_partner_contact_lang: + 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 python-lxml + - 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/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_partner_contact_lang + - psql -h psql -U flectra -d test_partner_contact_lang -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_partner_contact_lang + - chown -R flectra.flectra /opt/flectra/.local/share/filestore/test_partner_contact_lang + - su - flectra -c "/opt/flectra/flectra-bin + --addons-path ${CI_PROJECT_DIR},~/others/server-ux + --db_host psql + --db_port 5432 + --db_user flectra + --db_password flectra + --database test_partner_contact_lang + --test-enable -i partner_contact_lang + --stop-after-init + --log-level error + --log-handler flectra.addons.partner_contact_lang:TEST" + +test_module_base_location: + 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 python-lxml + - 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/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_base_location + - psql -h psql -U flectra -d test_base_location -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_base_location + - chown -R flectra.flectra /opt/flectra/.local/share/filestore/test_base_location + - su - flectra -c "/opt/flectra/flectra-bin + --addons-path ${CI_PROJECT_DIR},~/others/server-ux + --db_host psql + --db_port 5432 + --db_user flectra + --db_password flectra + --database test_base_location + --test-enable -i base_location + --stop-after-init + --log-level error + --log-handler flectra.addons.base_location:TEST" + +test_module_partner_contact_in_several_companies: + 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 python-lxml + - 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/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_partner_contact_in_several_companies + - psql -h psql -U flectra -d test_partner_contact_in_several_companies -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_partner_contact_in_several_companies + - chown -R flectra.flectra /opt/flectra/.local/share/filestore/test_partner_contact_in_several_companies + - su - flectra -c "/opt/flectra/flectra-bin + --addons-path ${CI_PROJECT_DIR},~/others/server-ux + --db_host psql + --db_port 5432 + --db_user flectra + --db_password flectra + --database test_partner_contact_in_several_companies + --test-enable -i partner_contact_in_several_companies + --stop-after-init + --log-level error + --log-handler flectra.addons.partner_contact_in_several_companies:TEST" + +test_module_partner_noncommercial: + 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 python-lxml + - 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/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_partner_noncommercial + - psql -h psql -U flectra -d test_partner_noncommercial -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_partner_noncommercial + - chown -R flectra.flectra /opt/flectra/.local/share/filestore/test_partner_noncommercial + - su - flectra -c "/opt/flectra/flectra-bin + --addons-path ${CI_PROJECT_DIR},~/others/server-ux + --db_host psql + --db_port 5432 + --db_user flectra + --db_password flectra + --database test_partner_noncommercial + --test-enable -i partner_noncommercial + --stop-after-init + --log-level error + --log-handler flectra.addons.partner_noncommercial:TEST" + +test_module_partner_tag_smart_assignation: + 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 python-lxml + - 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/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_partner_tag_smart_assignation + - psql -h psql -U flectra -d test_partner_tag_smart_assignation -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_partner_tag_smart_assignation + - chown -R flectra.flectra /opt/flectra/.local/share/filestore/test_partner_tag_smart_assignation + - su - flectra -c "/opt/flectra/flectra-bin + --addons-path ${CI_PROJECT_DIR},~/others/server-ux + --db_host psql + --db_port 5432 + --db_user flectra + --db_password flectra + --database test_partner_tag_smart_assignation + --test-enable -i partner_tag_smart_assignation + --stop-after-init + --log-level error + --log-handler flectra.addons.partner_tag_smart_assignation:TEST" + +test_module_partner_group: + 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 python-lxml + - 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/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_partner_group + - psql -h psql -U flectra -d test_partner_group -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_partner_group + - chown -R flectra.flectra /opt/flectra/.local/share/filestore/test_partner_group + - su - flectra -c "/opt/flectra/flectra-bin + --addons-path ${CI_PROJECT_DIR},~/others/server-ux + --db_host psql + --db_port 5432 + --db_user flectra + --db_password flectra + --database test_partner_group + --test-enable -i partner_group + --stop-after-init + --log-level error + --log-handler flectra.addons.partner_group:TEST" + test_module_partner_certificate_of_conduct: stage: testsingle when: on_failure @@ -1451,3 +1349,105 @@ test_module_partner_certificate_of_conduct: --log-level error --log-handler flectra.addons.partner_certificate_of_conduct:TEST" +test_module_partner_external_map: + 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 python-lxml + - 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/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_partner_external_map + - psql -h psql -U flectra -d test_partner_external_map -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_partner_external_map + - chown -R flectra.flectra /opt/flectra/.local/share/filestore/test_partner_external_map + - su - flectra -c "/opt/flectra/flectra-bin + --addons-path ${CI_PROJECT_DIR},~/others/server-ux + --db_host psql + --db_port 5432 + --db_user flectra + --db_password flectra + --database test_partner_external_map + --test-enable -i partner_external_map + --stop-after-init + --log-level error + --log-handler flectra.addons.partner_external_map:TEST" + +test_module_partner_multi_relation_tabs: + 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 python-lxml + - 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/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_partner_multi_relation_tabs + - psql -h psql -U flectra -d test_partner_multi_relation_tabs -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_partner_multi_relation_tabs + - chown -R flectra.flectra /opt/flectra/.local/share/filestore/test_partner_multi_relation_tabs + - su - flectra -c "/opt/flectra/flectra-bin + --addons-path ${CI_PROJECT_DIR},~/others/server-ux + --db_host psql + --db_port 5432 + --db_user flectra + --db_password flectra + --database test_partner_multi_relation_tabs + --test-enable -i partner_multi_relation_tabs + --stop-after-init + --log-level error + --log-handler flectra.addons.partner_multi_relation_tabs:TEST" + +test_module_base_country_state_translatable: + 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 python-lxml + - 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/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_base_country_state_translatable + - psql -h psql -U flectra -d test_base_country_state_translatable -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_base_country_state_translatable + - chown -R flectra.flectra /opt/flectra/.local/share/filestore/test_base_country_state_translatable + - su - flectra -c "/opt/flectra/flectra-bin + --addons-path ${CI_PROJECT_DIR},~/others/server-ux + --db_host psql + --db_port 5432 + --db_user flectra + --db_password flectra + --database test_base_country_state_translatable + --test-enable -i base_country_state_translatable + --stop-after-init + --log-level error + --log-handler flectra.addons.base_country_state_translatable:TEST" + diff --git a/README.md b/README.md index 4f327d9..fa3dfc3 100644 --- a/README.md +++ b/README.md @@ -9,45 +9,45 @@ Available addons addon | version | summary --- | --- | --- -[partner_company_type](partner_company_type/) | 1.0.1.0.0| Adds a company type to partner that are companies -[partner_ref_unique](partner_ref_unique/) | 1.0.1.0.0| Add an unique constraint to partner ref field -[partner_employee_quantity](partner_employee_quantity/) | 1.0.1.0.0| Know how many employees a partner has -[base_partner_merge](base_partner_merge/) | 1.0.1.0.1| Partner merge wizard without dependency on CRM -[base_location](base_location/) | 1.0.1.0.1| Enhanced zip/npa management system -[base_location_nuts](base_location_nuts/) | 1.0.1.1.1| NUTS Regions -[partner_contact_department](partner_contact_department/) | 1.0.1.0.0| Assign contacts to departments -[partner_contact_in_several_companies](partner_contact_in_several_companies/) | 1.0.1.0.1| Allow to have one contact in several partners -[partner_second_lastname](partner_second_lastname/) | 1.0.2.0.0| Have split first and second lastnames -[partner_contact_gender](partner_contact_gender/) | 1.0.1.0.0| Add gender field to contacts -[partner_external_map](partner_external_map/) | 1.0.1.0.0| Add Map and Map Routing buttons on partner form to open GMaps, OSM, Bing and others -[partner_contact_lang](partner_contact_lang/) | 1.0.1.0.0| Manage language in contacts -[partner_vat_unique](partner_vat_unique/) | 1.0.1.0.4| Partner VAT Unique -[partner_contact_job_position](partner_contact_job_position/) | 1.0.1.0.0| Categorize job positions for contacts +[base_vat_sanitized](base_vat_sanitized/) | 1.0.1.0.0| Adds field sanitized_vat on partners [partner_firstname](partner_firstname/) | 1.0.1.0.1| Split first name and last name for non company partners -[partner_contact_personal_information_page](partner_contact_personal_information_page/) | 1.0.1.0.0| Add a page to contacts form to put personal information -[partner_contact_birthdate](partner_contact_birthdate/) | 1.0.1.0.0| Contact's birthdate -[portal_partner_select_all](portal_partner_select_all/) | 1.0.1.0.1| Portal Partner Select All -[partner_group](partner_group/) | 1.0.1.0.0| Group partners by groups (other partner) +[partner_contact_job_position](partner_contact_job_position/) | 1.0.1.0.0| Categorize job positions for contacts +[partner_fax](partner_fax/) | 1.0.1.1.0| Add fax number on partner +[partner_employee_quantity](partner_employee_quantity/) | 1.0.1.0.0| Know how many employees a partner has +[base_location_nuts](base_location_nuts/) | 1.0.1.1.1| NUTS Regions +[partner_phonecall_schedule](partner_phonecall_schedule/) | 1.0.1.0.0| Track the time and days your partners expect phone calls +[partner_second_lastname](partner_second_lastname/) | 1.0.2.0.0| Have split first and second lastnames +[partner_contact_department](partner_contact_department/) | 1.0.1.0.0| Assign contacts to departments +[partner_affiliate](partner_affiliate/) | 1.0.1.0.0| Partner Affiliates +[base_partner_merge](base_partner_merge/) | 1.0.1.0.1| Partner merge wizard without dependency on CRM +[partner_phone_extension](partner_phone_extension/) | 1.0.1.0.0| Partner Phone Number Extension +[partner_coc](partner_coc/) | 1.0.1.0.0| Adds field 'Chamber Of Commerce Registration Number' [partner_academic_title](partner_academic_title/) | 1.0.1.0.0| Add possibility to define some academic title +[partner_ref_unique](partner_ref_unique/) | 1.0.1.0.0| Add an unique constraint to partner ref field +[partner_industry_secondary](partner_industry_secondary/) | 1.0.1.0.0| Add secondary partner industries +[base_partner_sequence](base_partner_sequence/) | 1.0.1.0.0| Sets customer's code from a sequence +[partner_multi_relation](partner_multi_relation/) | 1.0.1.1.0| Partner Relations [partner_address_street3](partner_address_street3/) | 1.0.1.0.0| Add a third address line on partners [partner_phone_search](partner_phone_search/) | 1.0.1.0.1| Partner Search by Phone/Mobile/Email -[partner_multi_relation_tabs](partner_multi_relation_tabs/) | 1.0.1.0.0| Show partner relations in own tab -[partner_coc](partner_coc/) | 1.0.1.0.0| Adds field 'Chamber Of Commerce Registration Number' -[partner_multi_relation](partner_multi_relation/) | 1.0.1.1.0| Partner Relations -[partner_tag_smart_assignation](partner_tag_smart_assignation/) | 1.0.1.0.1| Smart tagger, module to have smart tags who update themselves alone -[partner_fax](partner_fax/) | 1.0.1.1.0| Add fax number on partner -[base_partner_sequence](base_partner_sequence/) | 1.0.1.0.0| Sets customer's code from a sequence -[partner_contact_role](partner_contact_role/) | 1.0.1.0.0| Add roles to partners. -[base_country_state_translatable](base_country_state_translatable/) | 1.0.1.0.0| Translate Country States -[partner_affiliate](partner_affiliate/) | 1.0.1.0.0| Partner Affiliates -[partner_phone_extension](partner_phone_extension/) | 1.0.1.0.0| Partner Phone Number Extension -[partner_industry_secondary](partner_industry_secondary/) | 1.0.1.0.0| Add secondary partner industries -[partner_email_check](partner_email_check/) | 1.0.2.0.0| Validate email address field -[partner_noncommercial](partner_noncommercial/) | 1.0.1.0.0| Partner Non Commercial +[partner_company_type](partner_company_type/) | 1.0.1.0.0| Adds a company type to partner that are companies +[portal_partner_select_all](portal_partner_select_all/) | 1.0.1.0.1| Portal Partner Select All [base_location_geonames_import](base_location_geonames_import/) | 1.0.1.1.2| Import better zip entries from Geonames -[partner_phonecall_schedule](partner_phonecall_schedule/) | 1.0.1.0.0| Track the time and days your partners expect phone calls -[base_vat_sanitized](base_vat_sanitized/) | 1.0.1.0.0| Adds field sanitized_vat on partners +[partner_contact_birthdate](partner_contact_birthdate/) | 1.0.1.0.0| Contact's birthdate [partner_identification](partner_identification/) | 1.0.1.0.0| Partner Identification Numbers +[partner_vat_unique](partner_vat_unique/) | 1.0.1.0.4| Partner VAT Unique +[partner_email_check](partner_email_check/) | 1.0.2.0.0| Validate email address field +[partner_contact_personal_information_page](partner_contact_personal_information_page/) | 1.0.1.0.0| Add a page to contacts form to put personal information +[partner_contact_gender](partner_contact_gender/) | 1.0.1.0.0| Add gender field to contacts +[partner_contact_role](partner_contact_role/) | 1.0.1.0.0| Add roles to partners. +[partner_contact_lang](partner_contact_lang/) | 1.0.1.0.0| Manage language in contacts +[base_location](base_location/) | 1.0.1.0.1| Enhanced zip/npa management system +[partner_contact_in_several_companies](partner_contact_in_several_companies/) | 1.0.1.0.1| Allow to have one contact in several partners +[partner_noncommercial](partner_noncommercial/) | 1.0.1.0.0| Partner Non Commercial +[partner_tag_smart_assignation](partner_tag_smart_assignation/) | 1.0.1.0.1| Smart tagger, module to have smart tags who update themselves alone +[partner_group](partner_group/) | 1.0.1.0.0| Group partners by groups (other partner) [partner_certificate_of_conduct](partner_certificate_of_conduct/) | 1.0.1.0.0| Adds field 'Certificate of Conduct' +[partner_external_map](partner_external_map/) | 1.0.1.0.0| Add Map and Map Routing buttons on partner form to open GMaps, OSM, Bing and others +[partner_multi_relation_tabs](partner_multi_relation_tabs/) | 1.0.1.0.0| Show partner relations in own tab +[base_country_state_translatable](base_country_state_translatable/) | 1.0.1.0.0| Translate Country States diff --git a/partner_address_street3/COPYRIGHT b/partner_address_street3/COPYRIGHT index 562655b..889412b 100644 --- a/partner_address_street3/COPYRIGHT +++ b/partner_address_street3/COPYRIGHT @@ -2,6 +2,7 @@ Most of the files are Copyright 2016 Sodexis © 2014-2016 Camptocamp SA + © 2016 Akretion (Alexis de Lattre ) Copyright 2018 Flectra Community Many files also contain contributions from third diff --git a/partner_contact_birthdate/COPYRIGHT b/partner_contact_birthdate/COPYRIGHT index faec48b..5d381e8 100644 --- a/partner_contact_birthdate/COPYRIGHT +++ b/partner_contact_birthdate/COPYRIGHT @@ -3,7 +3,6 @@ Most of the files are Copyright (C) 2014-2015 Grupo ESOC Copyright 2014-2015 Grupo ESOC © 2015 Grupo ESOC Ingeniería de Servicios, S.L.U. --> - © 2017-Apertoso N.V. () Copyright 2018 Flectra Community Many files also contain contributions from third diff --git a/partner_firstname/COPYRIGHT b/partner_firstname/COPYRIGHT index 5df5e83..994e288 100644 --- a/partner_firstname/COPYRIGHT +++ b/partner_firstname/COPYRIGHT @@ -1,14 +1,15 @@ Most of the files are -