From db1cf1f456123a7ec9e1ac7cb810b292495553d4 Mon Sep 17 00:00:00 2001 From: Flectra Community Bot Date: Sun, 25 Jul 2021 02:12:32 +0000 Subject: [PATCH 01/21] Automatic Update form OCA2FC Migrator --- .gitlab-ci.yml | 806 +++++++++--------- README.md | 31 +- base_tier_validation/__manifest__.py | 2 +- base_tier_validation/data/mail_data.xml | 10 + .../i18n/base_tier_validation.pot | 11 + base_tier_validation/i18n/es.po | 11 + base_tier_validation/i18n/fr.po | 11 + base_tier_validation/i18n/nl_NL.po | 11 + base_tier_validation/i18n/zh_CN.po | 11 + .../models/tier_validation.py | 21 +- .../__manifest__.py | 2 +- .../models/tier_review.py | 28 +- chained_swapper/COPYRIGHT | 17 + chained_swapper/LICENSE | 663 ++++++++++++++ chained_swapper/README.rst | 140 +++ chained_swapper/__init__.py | 5 + chained_swapper/__manifest__.py | 19 + chained_swapper/demo/chained_swapper_demo.xml | 43 + chained_swapper/hooks.py | 14 + chained_swapper/i18n/chained_swapper.pot | 280 ++++++ chained_swapper/i18n/es.po | 296 +++++++ chained_swapper/models/__init__.py | 3 + chained_swapper/models/chained_swapper.py | 196 +++++ chained_swapper/security/ir.model.access.csv | 8 + chained_swapper/static/description/icon.png | Bin 0 -> 9455 bytes chained_swapper/static/description/index.html | 490 +++++++++++ chained_swapper/tests/__init__.py | 3 + chained_swapper/tests/test_chained_swapper.py | 104 +++ .../views/chained_swapper_views.xml | 145 ++++ chained_swapper/wizard/__init__.py | 3 + .../wizard/chained_swapper_wizard.py | 164 ++++ .../wizard/chained_swapper_wizard_views.xml | 23 + mass_editing/COPYRIGHT | 4 +- 33 files changed, 3154 insertions(+), 421 deletions(-) create mode 100644 chained_swapper/COPYRIGHT create mode 100644 chained_swapper/LICENSE create mode 100644 chained_swapper/README.rst create mode 100644 chained_swapper/__init__.py create mode 100644 chained_swapper/__manifest__.py create mode 100644 chained_swapper/demo/chained_swapper_demo.xml create mode 100644 chained_swapper/hooks.py create mode 100644 chained_swapper/i18n/chained_swapper.pot create mode 100644 chained_swapper/i18n/es.po create mode 100644 chained_swapper/models/__init__.py create mode 100644 chained_swapper/models/chained_swapper.py create mode 100644 chained_swapper/security/ir.model.access.csv create mode 100644 chained_swapper/static/description/icon.png create mode 100644 chained_swapper/static/description/index.html create mode 100644 chained_swapper/tests/__init__.py create mode 100644 chained_swapper/tests/test_chained_swapper.py create mode 100644 chained_swapper/views/chained_swapper_views.xml create mode 100644 chained_swapper/wizard/__init__.py create mode 100644 chained_swapper/wizard/chained_swapper_wizard.py create mode 100644 chained_swapper/wizard/chained_swapper_wizard_views.xml diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index f951ba8..07ee644 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -44,30 +44,31 @@ test_all_modules: --db_password flectra --database test_all --test-enable - --init base_cancel_confirm,base_technical_features,base_menu_visibility_restriction,mass_editing,base_optional_quick_create,filter_multi_user,barcode_action,base_tier_validation_server_action,base_tier_validation,document_quick_access,base_export_manager,sequence_check_digit,base_tier_validation_formula,sequence_reset_period,base_search_custom_field_filter,date_range,base_tier_validation_forward,default_multi_user,base_revision,multi_step_wizard,base_import_security_group + --init base_cancel_confirm,filter_multi_user,default_multi_user,sequence_reset_period,sequence_check_digit,base_import_security_group,date_range,base_tier_validation_forward,base_menu_visibility_restriction,barcode_action,multi_step_wizard,base_technical_features,base_tier_validation_formula,base_tier_validation,base_search_custom_field_filter,base_revision,base_export_manager,document_quick_access,mass_editing,base_tier_validation_server_action,chained_swapper,base_optional_quick_create --stop-after-init --log-level error --log-handler flectra.addons.base_cancel_confirm:TEST - --log-handler flectra.addons.base_technical_features:TEST - --log-handler flectra.addons.base_menu_visibility_restriction:TEST - --log-handler flectra.addons.mass_editing:TEST - --log-handler flectra.addons.base_optional_quick_create:TEST --log-handler flectra.addons.filter_multi_user:TEST - --log-handler flectra.addons.barcode_action:TEST - --log-handler flectra.addons.base_tier_validation_server_action:TEST - --log-handler flectra.addons.base_tier_validation:TEST - --log-handler flectra.addons.document_quick_access:TEST - --log-handler flectra.addons.base_export_manager:TEST - --log-handler flectra.addons.sequence_check_digit:TEST - --log-handler flectra.addons.base_tier_validation_formula:TEST + --log-handler flectra.addons.default_multi_user:TEST --log-handler flectra.addons.sequence_reset_period:TEST - --log-handler flectra.addons.base_search_custom_field_filter:TEST + --log-handler flectra.addons.sequence_check_digit:TEST + --log-handler flectra.addons.base_import_security_group:TEST --log-handler flectra.addons.date_range:TEST --log-handler flectra.addons.base_tier_validation_forward:TEST - --log-handler flectra.addons.default_multi_user:TEST - --log-handler flectra.addons.base_revision:TEST + --log-handler flectra.addons.base_menu_visibility_restriction:TEST + --log-handler flectra.addons.barcode_action:TEST --log-handler flectra.addons.multi_step_wizard:TEST - --log-handler flectra.addons.base_import_security_group:TEST + --log-handler flectra.addons.base_technical_features:TEST + --log-handler flectra.addons.base_tier_validation_formula:TEST + --log-handler flectra.addons.base_tier_validation:TEST + --log-handler flectra.addons.base_search_custom_field_filter:TEST + --log-handler flectra.addons.base_revision:TEST + --log-handler flectra.addons.base_export_manager:TEST + --log-handler flectra.addons.document_quick_access:TEST + --log-handler flectra.addons.mass_editing:TEST + --log-handler flectra.addons.base_tier_validation_server_action:TEST + --log-handler flectra.addons.chained_swapper:TEST + --log-handler flectra.addons.base_optional_quick_create:TEST " @@ -104,138 +105,6 @@ test_module_base_cancel_confirm: --log-level error --log-handler flectra.addons.base_cancel_confirm:TEST" -test_module_base_technical_features: - stage: testsingle - when: on_failure - image: - name: registry.gitlab.com/jamotion/flectra/ubuntudev:2-latest - entrypoint: ["/bin/sh", "-c"] - script: - - apt-get install -y p7zip-full - - apt install -y expect-dev - - pip3 install -r ${CI_PROJECT_DIR}/requirements.txt - - su - flectra -c "mkdir ~/others" - - 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_technical_features - - psql -h psql -U flectra -d test_base_technical_features -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_technical_features - - chown -R flectra.flectra /opt/flectra/.local/share/filestore/test_base_technical_features - - su - flectra -c "/opt/flectra/flectra-bin - --addons-path ${CI_PROJECT_DIR} - --db_host psql - --db_port 5432 - --db_user flectra - --db_password flectra - --database test_base_technical_features - --test-enable -i base_technical_features - --stop-after-init - --log-level error - --log-handler flectra.addons.base_technical_features:TEST" - -test_module_base_menu_visibility_restriction: - stage: testsingle - when: on_failure - image: - name: registry.gitlab.com/jamotion/flectra/ubuntudev:2-latest - entrypoint: ["/bin/sh", "-c"] - script: - - apt-get install -y p7zip-full - - apt install -y expect-dev - - pip3 install -r ${CI_PROJECT_DIR}/requirements.txt - - su - flectra -c "mkdir ~/others" - - 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_menu_visibility_restriction - - psql -h psql -U flectra -d test_base_menu_visibility_restriction -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_menu_visibility_restriction - - chown -R flectra.flectra /opt/flectra/.local/share/filestore/test_base_menu_visibility_restriction - - su - flectra -c "/opt/flectra/flectra-bin - --addons-path ${CI_PROJECT_DIR} - --db_host psql - --db_port 5432 - --db_user flectra - --db_password flectra - --database test_base_menu_visibility_restriction - --test-enable -i base_menu_visibility_restriction - --stop-after-init - --log-level error - --log-handler flectra.addons.base_menu_visibility_restriction:TEST" - -test_module_mass_editing: - stage: testsingle - when: on_failure - image: - name: registry.gitlab.com/jamotion/flectra/ubuntudev:2-latest - entrypoint: ["/bin/sh", "-c"] - script: - - apt-get install -y p7zip-full - - apt install -y expect-dev - - pip3 install -r ${CI_PROJECT_DIR}/requirements.txt - - su - flectra -c "mkdir ~/others" - - 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_mass_editing - - psql -h psql -U flectra -d test_mass_editing -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_mass_editing - - chown -R flectra.flectra /opt/flectra/.local/share/filestore/test_mass_editing - - su - flectra -c "/opt/flectra/flectra-bin - --addons-path ${CI_PROJECT_DIR} - --db_host psql - --db_port 5432 - --db_user flectra - --db_password flectra - --database test_mass_editing - --test-enable -i mass_editing - --stop-after-init - --log-level error - --log-handler flectra.addons.mass_editing:TEST" - -test_module_base_optional_quick_create: - stage: testsingle - when: on_failure - image: - name: registry.gitlab.com/jamotion/flectra/ubuntudev:2-latest - entrypoint: ["/bin/sh", "-c"] - script: - - apt-get install -y p7zip-full - - apt install -y expect-dev - - pip3 install -r ${CI_PROJECT_DIR}/requirements.txt - - su - flectra -c "mkdir ~/others" - - 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_optional_quick_create - - psql -h psql -U flectra -d test_base_optional_quick_create -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_optional_quick_create - - chown -R flectra.flectra /opt/flectra/.local/share/filestore/test_base_optional_quick_create - - su - flectra -c "/opt/flectra/flectra-bin - --addons-path ${CI_PROJECT_DIR} - --db_host psql - --db_port 5432 - --db_user flectra - --db_password flectra - --database test_base_optional_quick_create - --test-enable -i base_optional_quick_create - --stop-after-init - --log-level error - --log-handler flectra.addons.base_optional_quick_create:TEST" - test_module_filter_multi_user: stage: testsingle when: on_failure @@ -269,7 +138,7 @@ test_module_filter_multi_user: --log-level error --log-handler flectra.addons.filter_multi_user:TEST" -test_module_barcode_action: +test_module_default_multi_user: stage: testsingle when: on_failure image: @@ -285,220 +154,22 @@ test_module_barcode_action: - 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_barcode_action - - psql -h psql -U flectra -d test_barcode_action -f ${CI_PROJECT_DIR}/ci_data/dump.sql + - createdb -h psql -U flectra -O flectra -T template1 test_default_multi_user + - psql -h psql -U flectra -d test_default_multi_user -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_barcode_action - - chown -R flectra.flectra /opt/flectra/.local/share/filestore/test_barcode_action + - mv ${CI_PROJECT_DIR}/ci_data/filestore /opt/flectra/.local/share/filestore/test_default_multi_user + - chown -R flectra.flectra /opt/flectra/.local/share/filestore/test_default_multi_user - su - flectra -c "/opt/flectra/flectra-bin --addons-path ${CI_PROJECT_DIR} --db_host psql --db_port 5432 --db_user flectra --db_password flectra - --database test_barcode_action - --test-enable -i barcode_action + --database test_default_multi_user + --test-enable -i default_multi_user --stop-after-init --log-level error - --log-handler flectra.addons.barcode_action:TEST" - -test_module_base_tier_validation_server_action: - stage: testsingle - when: on_failure - image: - name: registry.gitlab.com/jamotion/flectra/ubuntudev:2-latest - entrypoint: ["/bin/sh", "-c"] - script: - - apt-get install -y p7zip-full - - apt install -y expect-dev - - pip3 install -r ${CI_PROJECT_DIR}/requirements.txt - - su - flectra -c "mkdir ~/others" - - 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_tier_validation_server_action - - psql -h psql -U flectra -d test_base_tier_validation_server_action -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_tier_validation_server_action - - chown -R flectra.flectra /opt/flectra/.local/share/filestore/test_base_tier_validation_server_action - - su - flectra -c "/opt/flectra/flectra-bin - --addons-path ${CI_PROJECT_DIR} - --db_host psql - --db_port 5432 - --db_user flectra - --db_password flectra - --database test_base_tier_validation_server_action - --test-enable -i base_tier_validation_server_action - --stop-after-init - --log-level error - --log-handler flectra.addons.base_tier_validation_server_action:TEST" - -test_module_base_tier_validation: - stage: testsingle - when: on_failure - image: - name: registry.gitlab.com/jamotion/flectra/ubuntudev:2-latest - entrypoint: ["/bin/sh", "-c"] - script: - - apt-get install -y p7zip-full - - apt install -y expect-dev - - pip3 install -r ${CI_PROJECT_DIR}/requirements.txt - - su - flectra -c "mkdir ~/others" - - 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_tier_validation - - psql -h psql -U flectra -d test_base_tier_validation -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_tier_validation - - chown -R flectra.flectra /opt/flectra/.local/share/filestore/test_base_tier_validation - - su - flectra -c "/opt/flectra/flectra-bin - --addons-path ${CI_PROJECT_DIR} - --db_host psql - --db_port 5432 - --db_user flectra - --db_password flectra - --database test_base_tier_validation - --test-enable -i base_tier_validation - --stop-after-init - --log-level error - --log-handler flectra.addons.base_tier_validation:TEST" - -test_module_document_quick_access: - stage: testsingle - when: on_failure - image: - name: registry.gitlab.com/jamotion/flectra/ubuntudev:2-latest - entrypoint: ["/bin/sh", "-c"] - script: - - apt-get install -y p7zip-full - - apt install -y expect-dev - - pip3 install -r ${CI_PROJECT_DIR}/requirements.txt - - su - flectra -c "mkdir ~/others" - - 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_document_quick_access - - psql -h psql -U flectra -d test_document_quick_access -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_document_quick_access - - chown -R flectra.flectra /opt/flectra/.local/share/filestore/test_document_quick_access - - su - flectra -c "/opt/flectra/flectra-bin - --addons-path ${CI_PROJECT_DIR} - --db_host psql - --db_port 5432 - --db_user flectra - --db_password flectra - --database test_document_quick_access - --test-enable -i document_quick_access - --stop-after-init - --log-level error - --log-handler flectra.addons.document_quick_access:TEST" - -test_module_base_export_manager: - stage: testsingle - when: on_failure - image: - name: registry.gitlab.com/jamotion/flectra/ubuntudev:2-latest - entrypoint: ["/bin/sh", "-c"] - script: - - apt-get install -y p7zip-full - - apt install -y expect-dev - - pip3 install -r ${CI_PROJECT_DIR}/requirements.txt - - su - flectra -c "mkdir ~/others" - - 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_export_manager - - psql -h psql -U flectra -d test_base_export_manager -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_export_manager - - chown -R flectra.flectra /opt/flectra/.local/share/filestore/test_base_export_manager - - su - flectra -c "/opt/flectra/flectra-bin - --addons-path ${CI_PROJECT_DIR} - --db_host psql - --db_port 5432 - --db_user flectra - --db_password flectra - --database test_base_export_manager - --test-enable -i base_export_manager - --stop-after-init - --log-level error - --log-handler flectra.addons.base_export_manager:TEST" - -test_module_sequence_check_digit: - stage: testsingle - when: on_failure - image: - name: registry.gitlab.com/jamotion/flectra/ubuntudev:2-latest - entrypoint: ["/bin/sh", "-c"] - script: - - apt-get install -y p7zip-full - - apt install -y expect-dev - - pip3 install -r ${CI_PROJECT_DIR}/requirements.txt - - su - flectra -c "mkdir ~/others" - - 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_sequence_check_digit - - psql -h psql -U flectra -d test_sequence_check_digit -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_sequence_check_digit - - chown -R flectra.flectra /opt/flectra/.local/share/filestore/test_sequence_check_digit - - su - flectra -c "/opt/flectra/flectra-bin - --addons-path ${CI_PROJECT_DIR} - --db_host psql - --db_port 5432 - --db_user flectra - --db_password flectra - --database test_sequence_check_digit - --test-enable -i sequence_check_digit - --stop-after-init - --log-level error - --log-handler flectra.addons.sequence_check_digit:TEST" - -test_module_base_tier_validation_formula: - stage: testsingle - when: on_failure - image: - name: registry.gitlab.com/jamotion/flectra/ubuntudev:2-latest - entrypoint: ["/bin/sh", "-c"] - script: - - apt-get install -y p7zip-full - - apt install -y expect-dev - - pip3 install -r ${CI_PROJECT_DIR}/requirements.txt - - su - flectra -c "mkdir ~/others" - - 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_tier_validation_formula - - psql -h psql -U flectra -d test_base_tier_validation_formula -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_tier_validation_formula - - chown -R flectra.flectra /opt/flectra/.local/share/filestore/test_base_tier_validation_formula - - su - flectra -c "/opt/flectra/flectra-bin - --addons-path ${CI_PROJECT_DIR} - --db_host psql - --db_port 5432 - --db_user flectra - --db_password flectra - --database test_base_tier_validation_formula - --test-enable -i base_tier_validation_formula - --stop-after-init - --log-level error - --log-handler flectra.addons.base_tier_validation_formula:TEST" + --log-handler flectra.addons.default_multi_user:TEST" test_module_sequence_reset_period: stage: testsingle @@ -533,7 +204,7 @@ test_module_sequence_reset_period: --log-level error --log-handler flectra.addons.sequence_reset_period:TEST" -test_module_base_search_custom_field_filter: +test_module_sequence_check_digit: stage: testsingle when: on_failure image: @@ -549,22 +220,55 @@ test_module_base_search_custom_field_filter: - 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_search_custom_field_filter - - psql -h psql -U flectra -d test_base_search_custom_field_filter -f ${CI_PROJECT_DIR}/ci_data/dump.sql + - createdb -h psql -U flectra -O flectra -T template1 test_sequence_check_digit + - psql -h psql -U flectra -d test_sequence_check_digit -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_search_custom_field_filter - - chown -R flectra.flectra /opt/flectra/.local/share/filestore/test_base_search_custom_field_filter + - mv ${CI_PROJECT_DIR}/ci_data/filestore /opt/flectra/.local/share/filestore/test_sequence_check_digit + - chown -R flectra.flectra /opt/flectra/.local/share/filestore/test_sequence_check_digit - su - flectra -c "/opt/flectra/flectra-bin --addons-path ${CI_PROJECT_DIR} --db_host psql --db_port 5432 --db_user flectra --db_password flectra - --database test_base_search_custom_field_filter - --test-enable -i base_search_custom_field_filter + --database test_sequence_check_digit + --test-enable -i sequence_check_digit --stop-after-init --log-level error - --log-handler flectra.addons.base_search_custom_field_filter:TEST" + --log-handler flectra.addons.sequence_check_digit:TEST" + +test_module_base_import_security_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 + - pip3 install -r ${CI_PROJECT_DIR}/requirements.txt + - su - flectra -c "mkdir ~/others" + - 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_import_security_group + - psql -h psql -U flectra -d test_base_import_security_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_base_import_security_group + - chown -R flectra.flectra /opt/flectra/.local/share/filestore/test_base_import_security_group + - su - flectra -c "/opt/flectra/flectra-bin + --addons-path ${CI_PROJECT_DIR} + --db_host psql + --db_port 5432 + --db_user flectra + --db_password flectra + --database test_base_import_security_group + --test-enable -i base_import_security_group + --stop-after-init + --log-level error + --log-handler flectra.addons.base_import_security_group:TEST" test_module_date_range: stage: testsingle @@ -632,7 +336,7 @@ test_module_base_tier_validation_forward: --log-level error --log-handler flectra.addons.base_tier_validation_forward:TEST" -test_module_default_multi_user: +test_module_base_menu_visibility_restriction: stage: testsingle when: on_failure image: @@ -648,24 +352,24 @@ test_module_default_multi_user: - 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_default_multi_user - - psql -h psql -U flectra -d test_default_multi_user -f ${CI_PROJECT_DIR}/ci_data/dump.sql + - createdb -h psql -U flectra -O flectra -T template1 test_base_menu_visibility_restriction + - psql -h psql -U flectra -d test_base_menu_visibility_restriction -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_default_multi_user - - chown -R flectra.flectra /opt/flectra/.local/share/filestore/test_default_multi_user + - mv ${CI_PROJECT_DIR}/ci_data/filestore /opt/flectra/.local/share/filestore/test_base_menu_visibility_restriction + - chown -R flectra.flectra /opt/flectra/.local/share/filestore/test_base_menu_visibility_restriction - su - flectra -c "/opt/flectra/flectra-bin --addons-path ${CI_PROJECT_DIR} --db_host psql --db_port 5432 --db_user flectra --db_password flectra - --database test_default_multi_user - --test-enable -i default_multi_user + --database test_base_menu_visibility_restriction + --test-enable -i base_menu_visibility_restriction --stop-after-init --log-level error - --log-handler flectra.addons.default_multi_user:TEST" + --log-handler flectra.addons.base_menu_visibility_restriction:TEST" -test_module_base_revision: +test_module_barcode_action: stage: testsingle when: on_failure image: @@ -681,22 +385,22 @@ test_module_base_revision: - 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_revision - - psql -h psql -U flectra -d test_base_revision -f ${CI_PROJECT_DIR}/ci_data/dump.sql + - createdb -h psql -U flectra -O flectra -T template1 test_barcode_action + - psql -h psql -U flectra -d test_barcode_action -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_revision - - chown -R flectra.flectra /opt/flectra/.local/share/filestore/test_base_revision + - mv ${CI_PROJECT_DIR}/ci_data/filestore /opt/flectra/.local/share/filestore/test_barcode_action + - chown -R flectra.flectra /opt/flectra/.local/share/filestore/test_barcode_action - su - flectra -c "/opt/flectra/flectra-bin --addons-path ${CI_PROJECT_DIR} --db_host psql --db_port 5432 --db_user flectra --db_password flectra - --database test_base_revision - --test-enable -i base_revision + --database test_barcode_action + --test-enable -i barcode_action --stop-after-init --log-level error - --log-handler flectra.addons.base_revision:TEST" + --log-handler flectra.addons.barcode_action:TEST" test_module_multi_step_wizard: stage: testsingle @@ -731,7 +435,7 @@ test_module_multi_step_wizard: --log-level error --log-handler flectra.addons.multi_step_wizard:TEST" -test_module_base_import_security_group: +test_module_base_technical_features: stage: testsingle when: on_failure image: @@ -747,20 +451,350 @@ test_module_base_import_security_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_base_import_security_group - - psql -h psql -U flectra -d test_base_import_security_group -f ${CI_PROJECT_DIR}/ci_data/dump.sql + - createdb -h psql -U flectra -O flectra -T template1 test_base_technical_features + - psql -h psql -U flectra -d test_base_technical_features -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_import_security_group - - chown -R flectra.flectra /opt/flectra/.local/share/filestore/test_base_import_security_group + - mv ${CI_PROJECT_DIR}/ci_data/filestore /opt/flectra/.local/share/filestore/test_base_technical_features + - chown -R flectra.flectra /opt/flectra/.local/share/filestore/test_base_technical_features - su - flectra -c "/opt/flectra/flectra-bin --addons-path ${CI_PROJECT_DIR} --db_host psql --db_port 5432 --db_user flectra --db_password flectra - --database test_base_import_security_group - --test-enable -i base_import_security_group + --database test_base_technical_features + --test-enable -i base_technical_features --stop-after-init --log-level error - --log-handler flectra.addons.base_import_security_group:TEST" + --log-handler flectra.addons.base_technical_features:TEST" + +test_module_base_tier_validation_formula: + stage: testsingle + when: on_failure + image: + name: registry.gitlab.com/jamotion/flectra/ubuntudev:2-latest + entrypoint: ["/bin/sh", "-c"] + script: + - apt-get install -y p7zip-full + - apt install -y expect-dev + - pip3 install -r ${CI_PROJECT_DIR}/requirements.txt + - su - flectra -c "mkdir ~/others" + - 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_tier_validation_formula + - psql -h psql -U flectra -d test_base_tier_validation_formula -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_tier_validation_formula + - chown -R flectra.flectra /opt/flectra/.local/share/filestore/test_base_tier_validation_formula + - su - flectra -c "/opt/flectra/flectra-bin + --addons-path ${CI_PROJECT_DIR} + --db_host psql + --db_port 5432 + --db_user flectra + --db_password flectra + --database test_base_tier_validation_formula + --test-enable -i base_tier_validation_formula + --stop-after-init + --log-level error + --log-handler flectra.addons.base_tier_validation_formula:TEST" + +test_module_base_tier_validation: + stage: testsingle + when: on_failure + image: + name: registry.gitlab.com/jamotion/flectra/ubuntudev:2-latest + entrypoint: ["/bin/sh", "-c"] + script: + - apt-get install -y p7zip-full + - apt install -y expect-dev + - pip3 install -r ${CI_PROJECT_DIR}/requirements.txt + - su - flectra -c "mkdir ~/others" + - 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_tier_validation + - psql -h psql -U flectra -d test_base_tier_validation -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_tier_validation + - chown -R flectra.flectra /opt/flectra/.local/share/filestore/test_base_tier_validation + - su - flectra -c "/opt/flectra/flectra-bin + --addons-path ${CI_PROJECT_DIR} + --db_host psql + --db_port 5432 + --db_user flectra + --db_password flectra + --database test_base_tier_validation + --test-enable -i base_tier_validation + --stop-after-init + --log-level error + --log-handler flectra.addons.base_tier_validation:TEST" + +test_module_base_search_custom_field_filter: + stage: testsingle + when: on_failure + image: + name: registry.gitlab.com/jamotion/flectra/ubuntudev:2-latest + entrypoint: ["/bin/sh", "-c"] + script: + - apt-get install -y p7zip-full + - apt install -y expect-dev + - pip3 install -r ${CI_PROJECT_DIR}/requirements.txt + - su - flectra -c "mkdir ~/others" + - 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_search_custom_field_filter + - psql -h psql -U flectra -d test_base_search_custom_field_filter -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_search_custom_field_filter + - chown -R flectra.flectra /opt/flectra/.local/share/filestore/test_base_search_custom_field_filter + - su - flectra -c "/opt/flectra/flectra-bin + --addons-path ${CI_PROJECT_DIR} + --db_host psql + --db_port 5432 + --db_user flectra + --db_password flectra + --database test_base_search_custom_field_filter + --test-enable -i base_search_custom_field_filter + --stop-after-init + --log-level error + --log-handler flectra.addons.base_search_custom_field_filter:TEST" + +test_module_base_revision: + stage: testsingle + when: on_failure + image: + name: registry.gitlab.com/jamotion/flectra/ubuntudev:2-latest + entrypoint: ["/bin/sh", "-c"] + script: + - apt-get install -y p7zip-full + - apt install -y expect-dev + - pip3 install -r ${CI_PROJECT_DIR}/requirements.txt + - su - flectra -c "mkdir ~/others" + - 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_revision + - psql -h psql -U flectra -d test_base_revision -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_revision + - chown -R flectra.flectra /opt/flectra/.local/share/filestore/test_base_revision + - su - flectra -c "/opt/flectra/flectra-bin + --addons-path ${CI_PROJECT_DIR} + --db_host psql + --db_port 5432 + --db_user flectra + --db_password flectra + --database test_base_revision + --test-enable -i base_revision + --stop-after-init + --log-level error + --log-handler flectra.addons.base_revision:TEST" + +test_module_base_export_manager: + stage: testsingle + when: on_failure + image: + name: registry.gitlab.com/jamotion/flectra/ubuntudev:2-latest + entrypoint: ["/bin/sh", "-c"] + script: + - apt-get install -y p7zip-full + - apt install -y expect-dev + - pip3 install -r ${CI_PROJECT_DIR}/requirements.txt + - su - flectra -c "mkdir ~/others" + - 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_export_manager + - psql -h psql -U flectra -d test_base_export_manager -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_export_manager + - chown -R flectra.flectra /opt/flectra/.local/share/filestore/test_base_export_manager + - su - flectra -c "/opt/flectra/flectra-bin + --addons-path ${CI_PROJECT_DIR} + --db_host psql + --db_port 5432 + --db_user flectra + --db_password flectra + --database test_base_export_manager + --test-enable -i base_export_manager + --stop-after-init + --log-level error + --log-handler flectra.addons.base_export_manager:TEST" + +test_module_document_quick_access: + stage: testsingle + when: on_failure + image: + name: registry.gitlab.com/jamotion/flectra/ubuntudev:2-latest + entrypoint: ["/bin/sh", "-c"] + script: + - apt-get install -y p7zip-full + - apt install -y expect-dev + - pip3 install -r ${CI_PROJECT_DIR}/requirements.txt + - su - flectra -c "mkdir ~/others" + - 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_document_quick_access + - psql -h psql -U flectra -d test_document_quick_access -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_document_quick_access + - chown -R flectra.flectra /opt/flectra/.local/share/filestore/test_document_quick_access + - su - flectra -c "/opt/flectra/flectra-bin + --addons-path ${CI_PROJECT_DIR} + --db_host psql + --db_port 5432 + --db_user flectra + --db_password flectra + --database test_document_quick_access + --test-enable -i document_quick_access + --stop-after-init + --log-level error + --log-handler flectra.addons.document_quick_access:TEST" + +test_module_mass_editing: + stage: testsingle + when: on_failure + image: + name: registry.gitlab.com/jamotion/flectra/ubuntudev:2-latest + entrypoint: ["/bin/sh", "-c"] + script: + - apt-get install -y p7zip-full + - apt install -y expect-dev + - pip3 install -r ${CI_PROJECT_DIR}/requirements.txt + - su - flectra -c "mkdir ~/others" + - 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_mass_editing + - psql -h psql -U flectra -d test_mass_editing -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_mass_editing + - chown -R flectra.flectra /opt/flectra/.local/share/filestore/test_mass_editing + - su - flectra -c "/opt/flectra/flectra-bin + --addons-path ${CI_PROJECT_DIR} + --db_host psql + --db_port 5432 + --db_user flectra + --db_password flectra + --database test_mass_editing + --test-enable -i mass_editing + --stop-after-init + --log-level error + --log-handler flectra.addons.mass_editing:TEST" + +test_module_base_tier_validation_server_action: + stage: testsingle + when: on_failure + image: + name: registry.gitlab.com/jamotion/flectra/ubuntudev:2-latest + entrypoint: ["/bin/sh", "-c"] + script: + - apt-get install -y p7zip-full + - apt install -y expect-dev + - pip3 install -r ${CI_PROJECT_DIR}/requirements.txt + - su - flectra -c "mkdir ~/others" + - 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_tier_validation_server_action + - psql -h psql -U flectra -d test_base_tier_validation_server_action -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_tier_validation_server_action + - chown -R flectra.flectra /opt/flectra/.local/share/filestore/test_base_tier_validation_server_action + - su - flectra -c "/opt/flectra/flectra-bin + --addons-path ${CI_PROJECT_DIR} + --db_host psql + --db_port 5432 + --db_user flectra + --db_password flectra + --database test_base_tier_validation_server_action + --test-enable -i base_tier_validation_server_action + --stop-after-init + --log-level error + --log-handler flectra.addons.base_tier_validation_server_action:TEST" + +test_module_chained_swapper: + stage: testsingle + when: on_failure + image: + name: registry.gitlab.com/jamotion/flectra/ubuntudev:2-latest + entrypoint: ["/bin/sh", "-c"] + script: + - apt-get install -y p7zip-full + - apt install -y expect-dev + - pip3 install -r ${CI_PROJECT_DIR}/requirements.txt + - su - flectra -c "mkdir ~/others" + - 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_chained_swapper + - psql -h psql -U flectra -d test_chained_swapper -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_chained_swapper + - chown -R flectra.flectra /opt/flectra/.local/share/filestore/test_chained_swapper + - su - flectra -c "/opt/flectra/flectra-bin + --addons-path ${CI_PROJECT_DIR} + --db_host psql + --db_port 5432 + --db_user flectra + --db_password flectra + --database test_chained_swapper + --test-enable -i chained_swapper + --stop-after-init + --log-level error + --log-handler flectra.addons.chained_swapper:TEST" + +test_module_base_optional_quick_create: + stage: testsingle + when: on_failure + image: + name: registry.gitlab.com/jamotion/flectra/ubuntudev:2-latest + entrypoint: ["/bin/sh", "-c"] + script: + - apt-get install -y p7zip-full + - apt install -y expect-dev + - pip3 install -r ${CI_PROJECT_DIR}/requirements.txt + - su - flectra -c "mkdir ~/others" + - 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_optional_quick_create + - psql -h psql -U flectra -d test_base_optional_quick_create -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_optional_quick_create + - chown -R flectra.flectra /opt/flectra/.local/share/filestore/test_base_optional_quick_create + - su - flectra -c "/opt/flectra/flectra-bin + --addons-path ${CI_PROJECT_DIR} + --db_host psql + --db_port 5432 + --db_user flectra + --db_password flectra + --database test_base_optional_quick_create + --test-enable -i base_optional_quick_create + --stop-after-init + --log-level error + --log-handler flectra.addons.base_optional_quick_create:TEST" diff --git a/README.md b/README.md index 13a8533..69c5528 100644 --- a/README.md +++ b/README.md @@ -10,25 +10,26 @@ Available addons addon | version | summary --- | --- | --- [base_cancel_confirm](base_cancel_confirm/) | 2.0.1.0.2| Base Cancel Confirm -[base_technical_features](base_technical_features/) | 2.0.1.1.0| Access to technical features without activating debug mode -[base_menu_visibility_restriction](base_menu_visibility_restriction/) | 2.0.1.0.0| Restrict (with groups) menu visibilty -[mass_editing](mass_editing/) | 2.0.1.0.1| Mass Editing -[base_optional_quick_create](base_optional_quick_create/) | 2.0.1.0.0| Avoid "quick create" on m2o fields, on a "by model" basis [filter_multi_user](filter_multi_user/) | 2.0.1.0.0| Allows to share user-defined filters filters among several users. -[barcode_action](barcode_action/) | 2.0.1.0.0| Allows to use barcodes as a launcher -[base_tier_validation_server_action](base_tier_validation_server_action/) | 2.0.1.1.0| Add option to call server action when a tier is validated -[base_tier_validation](base_tier_validation/) | 2.0.2.3.0| Implement a validation process based on tiers. -[document_quick_access](document_quick_access/) | 2.0.1.0.0| Document quick access -[base_export_manager](base_export_manager/) | 2.0.1.0.1| Manage model export profiles -[sequence_check_digit](sequence_check_digit/) | 2.0.1.0.0| Adds a check digit on sequences -[base_tier_validation_formula](base_tier_validation_formula/) | 2.0.2.0.0| Formulas for Base tier validation +[default_multi_user](default_multi_user/) | 2.0.1.0.0| Allows to share user-defined defaults among several users. [sequence_reset_period](sequence_reset_period/) | 2.0.1.0.0| Auto-generate yearly/monthly/weekly/daily sequence period ranges -[base_search_custom_field_filter](base_search_custom_field_filter/) | 2.0.1.0.0| Add custom filters for fields via UI +[sequence_check_digit](sequence_check_digit/) | 2.0.1.0.0| Adds a check digit on sequences +[base_import_security_group](base_import_security_group/) | 2.0.1.0.0| Group-based permissions for importing CSV files [date_range](date_range/) | 2.0.2.0.2| Manage all kind of date range [base_tier_validation_forward](base_tier_validation_forward/) | 2.0.1.0.2| Forward option for base tiers -[default_multi_user](default_multi_user/) | 2.0.1.0.0| Allows to share user-defined defaults among several users. -[base_revision](base_revision/) | 2.0.1.0.1| Keep track of revised document +[base_menu_visibility_restriction](base_menu_visibility_restriction/) | 2.0.1.0.0| Restrict (with groups) menu visibilty +[barcode_action](barcode_action/) | 2.0.1.0.0| Allows to use barcodes as a launcher [multi_step_wizard](multi_step_wizard/) | 2.0.1.0.0| Multi-Steps Wizards -[base_import_security_group](base_import_security_group/) | 2.0.1.0.0| Group-based permissions for importing CSV files +[base_technical_features](base_technical_features/) | 2.0.1.1.0| Access to technical features without activating debug mode +[base_tier_validation_formula](base_tier_validation_formula/) | 2.0.2.0.0| Formulas for Base tier validation +[base_tier_validation](base_tier_validation/) | 2.0.2.4.0| Implement a validation process based on tiers. +[base_search_custom_field_filter](base_search_custom_field_filter/) | 2.0.1.0.0| Add custom filters for fields via UI +[base_revision](base_revision/) | 2.0.1.0.1| Keep track of revised document +[base_export_manager](base_export_manager/) | 2.0.1.0.1| Manage model export profiles +[document_quick_access](document_quick_access/) | 2.0.1.0.0| Document quick access +[mass_editing](mass_editing/) | 2.0.1.0.1| Mass Editing +[base_tier_validation_server_action](base_tier_validation_server_action/) | 2.0.1.1.1| Add option to call server action when a tier is validated +[chained_swapper](chained_swapper/) | 2.0.1.0.0| Chained Swapper +[base_optional_quick_create](base_optional_quick_create/) | 2.0.1.0.0| Avoid "quick create" on m2o fields, on a "by model" basis diff --git a/base_tier_validation/__manifest__.py b/base_tier_validation/__manifest__.py index e3d80e0..a0476c3 100644 --- a/base_tier_validation/__manifest__.py +++ b/base_tier_validation/__manifest__.py @@ -3,7 +3,7 @@ { "name": "Base Tier Validation", "summary": "Implement a validation process based on tiers.", - "version": "2.0.2.3.0", + "version": "2.0.2.4.0", "development_status": "Mature", "maintainers": ["LoisRForgeFlow"], "category": "Tools", diff --git a/base_tier_validation/data/mail_data.xml b/base_tier_validation/data/mail_data.xml index cd1cdb2..42b0ff8 100644 --- a/base_tier_validation/data/mail_data.xml +++ b/base_tier_validation/data/mail_data.xml @@ -30,4 +30,14 @@ + + Tier Validation Restarted + + + + diff --git a/base_tier_validation/i18n/base_tier_validation.pot b/base_tier_validation/i18n/base_tier_validation.pot index 0240604..7fea642 100644 --- a/base_tier_validation/i18n/base_tier_validation.pot +++ b/base_tier_validation/i18n/base_tier_validation.pot @@ -455,6 +455,12 @@ msgstr "" msgid "The operation is under validation." msgstr "" +#. module: base_tier_validation +#: code:addons/base_tier_validation/models/tier_validation.py:0 +#, python-format +msgid "The review has been reset by %s." +msgstr "" + #. module: base_tier_validation #: code:addons/base_tier_validation/models/tier_validation.py:0 #, python-format @@ -498,6 +504,11 @@ msgstr "" msgid "Tier Validation Requested" msgstr "" +#. module: base_tier_validation +#: model:mail.message.subtype,name:base_tier_validation.mt_tier_validation_restarted +msgid "Tier Validation Restarted" +msgstr "" + #. module: base_tier_validation #: model:ir.ui.menu,name:base_tier_validation.menu_tier_confirmation msgid "Tier Validations" diff --git a/base_tier_validation/i18n/es.po b/base_tier_validation/i18n/es.po index 461da16..0e09019 100644 --- a/base_tier_validation/i18n/es.po +++ b/base_tier_validation/i18n/es.po @@ -478,6 +478,12 @@ msgstr "Estado" msgid "The operation is under validation." msgstr "Esta operación está en proceso de validación." +#. module: base_tier_validation +#: code:addons/base_tier_validation/models/tier_validation.py:0 +#, python-format +msgid "The review has been reset by %s." +msgstr "" + #. module: base_tier_validation #: code:addons/base_tier_validation/models/tier_validation.py:0 #, python-format @@ -525,6 +531,11 @@ msgstr "Validaciones de Nivel (abstracto)" msgid "Tier Validation Requested" msgstr "" +#. module: base_tier_validation +#: model:mail.message.subtype,name:base_tier_validation.mt_tier_validation_restarted +msgid "Tier Validation Restarted" +msgstr "" + #. module: base_tier_validation #: model:ir.ui.menu,name:base_tier_validation.menu_tier_confirmation msgid "Tier Validations" diff --git a/base_tier_validation/i18n/fr.po b/base_tier_validation/i18n/fr.po index b131a9a..b9f7010 100644 --- a/base_tier_validation/i18n/fr.po +++ b/base_tier_validation/i18n/fr.po @@ -471,6 +471,12 @@ msgstr "Statut" msgid "The operation is under validation." msgstr "" +#. module: base_tier_validation +#: code:addons/base_tier_validation/models/tier_validation.py:0 +#, python-format +msgid "The review has been reset by %s." +msgstr "" + #. module: base_tier_validation #: code:addons/base_tier_validation/models/tier_validation.py:0 #, python-format @@ -514,6 +520,11 @@ msgstr "" msgid "Tier Validation Requested" msgstr "Validation par un tiers demandée" +#. module: base_tier_validation +#: model:mail.message.subtype,name:base_tier_validation.mt_tier_validation_restarted +msgid "Tier Validation Restarted" +msgstr "" + #. module: base_tier_validation #: model:ir.ui.menu,name:base_tier_validation.menu_tier_confirmation msgid "Tier Validations" diff --git a/base_tier_validation/i18n/nl_NL.po b/base_tier_validation/i18n/nl_NL.po index d6abfd5..7f5c480 100644 --- a/base_tier_validation/i18n/nl_NL.po +++ b/base_tier_validation/i18n/nl_NL.po @@ -460,6 +460,12 @@ msgstr "Status" msgid "The operation is under validation." msgstr "De bewerking is onder validatie." +#. module: base_tier_validation +#: code:addons/base_tier_validation/models/tier_validation.py:0 +#, python-format +msgid "The review has been reset by %s." +msgstr "" + #. module: base_tier_validation #: code:addons/base_tier_validation/models/tier_validation.py:0 #, python-format @@ -507,6 +513,11 @@ msgstr "Tier-validatie (abstract)" msgid "Tier Validation Requested" msgstr "" +#. module: base_tier_validation +#: model:mail.message.subtype,name:base_tier_validation.mt_tier_validation_restarted +msgid "Tier Validation Restarted" +msgstr "" + #. module: base_tier_validation #: model:ir.ui.menu,name:base_tier_validation.menu_tier_confirmation msgid "Tier Validations" diff --git a/base_tier_validation/i18n/zh_CN.po b/base_tier_validation/i18n/zh_CN.po index fc3e09b..0fb81e1 100644 --- a/base_tier_validation/i18n/zh_CN.po +++ b/base_tier_validation/i18n/zh_CN.po @@ -458,6 +458,12 @@ msgstr "状态" msgid "The operation is under validation." msgstr "该操作正在审批中。" +#. module: base_tier_validation +#: code:addons/base_tier_validation/models/tier_validation.py:0 +#, python-format +msgid "The review has been reset by %s." +msgstr "" + #. module: base_tier_validation #: code:addons/base_tier_validation/models/tier_validation.py:0 #, python-format @@ -505,6 +511,11 @@ msgstr "多层级审批(抽象)" msgid "Tier Validation Requested" msgstr "" +#. module: base_tier_validation +#: model:mail.message.subtype,name:base_tier_validation.mt_tier_validation_restarted +msgid "Tier Validation Restarted" +msgstr "" + #. module: base_tier_validation #: model:ir.ui.menu,name:base_tier_validation.menu_tier_confirmation msgid "Tier Validations" diff --git a/base_tier_validation/models/tier_validation.py b/base_tier_validation/models/tier_validation.py index bc6dbfc..37f90c9 100644 --- a/base_tier_validation/models/tier_validation.py +++ b/base_tier_validation/models/tier_validation.py @@ -211,7 +211,7 @@ class TierValidation(models.AbstractModel): and getattr(rec, self._state_field) in self._state_from and not vals.get(self._state_field) in (self._state_to + [self._cancel_state]) - and not self._check_allow_write_under_validation(vals) + and not rec._check_allow_write_under_validation(vals) ): raise ValidationError(_("The operation is under validation.")) if vals.get(self._state_field) in self._state_from: @@ -251,11 +251,14 @@ class TierValidation(models.AbstractModel): def _get_rejected_notification_subtype(self): return "base_tier_validation.mt_tier_validation_rejected" + def _get_restarted_notification_subtype(self): + return "base_tier_validation.mt_tier_validation_restarted" + def _notify_accepted_reviews(self): post = "message_post" if hasattr(self, post): # Notify state change - getattr(self, post)( + getattr(self.sudo(), post)( subtype_xmlid=self._get_accepted_notification_subtype(), body=self._notify_accepted_reviews_body(), ) @@ -320,7 +323,7 @@ class TierValidation(models.AbstractModel): post = "message_post" if hasattr(self, post): # Notify state change - getattr(self, post)( + getattr(self.sudo(), post)( subtype_xmlid=self._get_rejected_notification_subtype(), body=self._notify_rejected_review_body(), ) @@ -388,11 +391,23 @@ class TierValidation(models.AbstractModel): self._notify_review_requested(created_trs) return created_trs + def _notify_restarted_review_body(self): + return _("The review has been reset by %s.") % (self.env.user.name) + + def _notify_restarted_review(self): + post = "message_post" + if hasattr(self, post): + getattr(self.sudo(), post)( + subtype_xmlid=self._get_restarted_notification_subtype(), + body=self._notify_restarted_review_body(), + ) + def restart_validation(self): for rec in self: if getattr(rec, self._state_field) in self._state_from: rec.mapped("review_ids").unlink() self._update_counter() + rec._notify_restarted_review() @api.model def _update_counter(self): diff --git a/base_tier_validation_server_action/__manifest__.py b/base_tier_validation_server_action/__manifest__.py index bb80c4f..fd5136e 100644 --- a/base_tier_validation_server_action/__manifest__.py +++ b/base_tier_validation_server_action/__manifest__.py @@ -3,7 +3,7 @@ { "name": "Base Tier Validation - Server Action", "summary": "Add option to call server action when a tier is validated", - "version": "2.0.1.1.0", + "version": "2.0.1.1.1", "development_status": "Alpha", "maintainers": ["kittiu"], "category": "Tools", diff --git a/base_tier_validation_server_action/models/tier_review.py b/base_tier_validation_server_action/models/tier_review.py index bde26b0..6bb42e1 100644 --- a/base_tier_validation_server_action/models/tier_review.py +++ b/base_tier_validation_server_action/models/tier_review.py @@ -1,20 +1,24 @@ # Copyright 2020 Ecosoft (http://ecosoft.co.th) # License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl). -from flectra import api, models +from flectra import models class TierReview(models.Model): _inherit = "tier.review" - @api.constrains("status") - def _trigger_server_action(self): - for rec in self.filtered(lambda l: l.status in ["approved", "rejected"]): - server_action = False - if rec.status == "approved": - server_action = rec.definition_id.server_action_id - if rec.status == "rejected": - server_action = rec.definition_id.rejected_server_action_id - if server_action: - ctx = {"active_model": rec.model, "active_id": rec.res_id} - server_action.with_context(ctx).run() + def write(self, vals): + res = super().write(vals) + if vals.get("status") in ["approved", "rejected"]: + for rec in self: + server_action = False + if rec.status == "approved": + server_action = rec.definition_id.server_action_id + if rec.status == "rejected": + server_action = rec.definition_id.rejected_server_action_id + if server_action: + server_action.with_context( + active_model=rec.model, + active_id=rec.res_id, + ).sudo().run() + return res diff --git a/chained_swapper/COPYRIGHT b/chained_swapper/COPYRIGHT new file mode 100644 index 0000000..924accc --- /dev/null +++ b/chained_swapper/COPYRIGHT @@ -0,0 +1,17 @@ +Most of the files are + + :Copyright: This stylesheet has been placed in the public domain. + + + + + Language + + + + + + child_ids.lang + + + + Only parent company + bool(records.mapped('parent_id')) + + + + Chained swap: Language + chained.swapper.wizard + form + new + + form + + + + + + + diff --git a/chained_swapper/hooks.py b/chained_swapper/hooks.py new file mode 100644 index 0000000..584c812 --- /dev/null +++ b/chained_swapper/hooks.py @@ -0,0 +1,14 @@ +# Copyright 2020 Tecnativa - Ernesto Tejeda +# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl). + +from flectra.api import SUPERUSER_ID, Environment + + +def uninstall_hook(cr, registry): + """Delete the actions that were created with chained_swapper when + the module is uninstalled""" + env = Environment(cr, SUPERUSER_ID, {}) + env["ir.actions.act_window"].search( + [("res_model", "=", "chained.swapper.wizard")] + ).unlink() + return True diff --git a/chained_swapper/i18n/chained_swapper.pot b/chained_swapper/i18n/chained_swapper.pot new file mode 100644 index 0000000..7b0b71a --- /dev/null +++ b/chained_swapper/i18n/chained_swapper.pot @@ -0,0 +1,280 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * chained_swapper +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 14.0\n" +"Report-Msgid-Bugs-To: \n" +"Last-Translator: \n" +"Language-Team: \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Plural-Forms: \n" + +#. module: chained_swapper +#: code:addons/chained_swapper/wizard/chained_swapper_wizard.py:0 +#, python-format +msgid "Chained swap done:" +msgstr "" + +#. module: chained_swapper +#: model:ir.model.fields,field_description:chained_swapper.field_chained_swapper__ref_ir_act_window_id +msgid "Action" +msgstr "" + +#. module: chained_swapper +#: model:ir.model.fields,help:chained_swapper.field_chained_swapper__ref_ir_act_window_id +msgid "" +"Action to make this template available on records of the related document " +"model." +msgstr "" + +#. module: chained_swapper +#: model_terms:ir.ui.view,arch_db:chained_swapper.chained_swapper_view_form +msgid "Add Action" +msgstr "" + +#. module: chained_swapper +#: model_terms:ir.ui.view,arch_db:chained_swapper.chained_swapper_view_form +msgid "" +"Add a new contextual action of related documents to open a composition " +"wizard" +msgstr "" + +#. module: chained_swapper +#: model_terms:ir.ui.view,arch_db:chained_swapper.chained_swapper_view_form +msgid "Advanced" +msgstr "" + +#. module: chained_swapper +#: model:ir.model.fields,field_description:chained_swapper.field_chained_swapper__allowed_field_ids +msgid "Allowed Field" +msgstr "" + +#. module: chained_swapper +#: model:ir.model.fields,help:chained_swapper.field_chained_swapper_constraint__expression +msgid "" +"Boolean python expression. You can use the keyword 'records' as the records " +"selected to execute the contextual action. Ex.: " +"bool(records.mapped('parent_id'))" +msgstr "" + +#. module: chained_swapper +#: model:ir.model,name:chained_swapper.model_chained_swapper +#: model:ir.model.fields,field_description:chained_swapper.field_chained_swapper_constraint__chained_swapper_id +#: model:ir.model.fields,field_description:chained_swapper.field_chained_swapper_sub_field__chained_swapper_id +msgid "Chained Swapper" +msgstr "" + +#. module: chained_swapper +#: model:ir.model,name:chained_swapper.model_chained_swapper_constraint +msgid "Chained Swapper Constraint" +msgstr "" + +#. module: chained_swapper +#: model:ir.model,name:chained_swapper.model_chained_swapper_sub_field +msgid "Chained Swapper Sub-field" +msgstr "" + +#. module: chained_swapper +#: code:addons/chained_swapper/models/chained_swapper.py:0 +#, python-format +msgid "Chained swap" +msgstr "" + +#. module: chained_swapper +#: model:ir.actions.act_window,name:chained_swapper.partner_chained_swap_lang_action_demo +msgid "Chained swap: Language" +msgstr "" + +#. module: chained_swapper +#: model_terms:ir.ui.view,arch_db:chained_swapper.chained_swapper_wizard_view_form +msgid "Change" +msgstr "" + +#. module: chained_swapper +#: model_terms:ir.ui.view,arch_db:chained_swapper.chained_swapper_wizard_view_form +msgid "Close" +msgstr "" + +#. module: chained_swapper +#: model:ir.model.fields,field_description:chained_swapper.field_chained_swapper_constraint__expression +#: model_terms:ir.ui.view,arch_db:chained_swapper.chained_swapper_constraint_view_form +msgid "Constraint expression" +msgstr "" + +#. module: chained_swapper +#: model:ir.model.fields,field_description:chained_swapper.field_chained_swapper__constraint_ids +#: model_terms:ir.ui.view,arch_db:chained_swapper.chained_swapper_view_form +msgid "Constraints" +msgstr "" + +#. module: chained_swapper +#: model:ir.model.fields,field_description:chained_swapper.field_chained_swapper__create_uid +#: model:ir.model.fields,field_description:chained_swapper.field_chained_swapper_constraint__create_uid +#: model:ir.model.fields,field_description:chained_swapper.field_chained_swapper_sub_field__create_uid +#: model:ir.model.fields,field_description:chained_swapper.field_chained_swapper_wizard__create_uid +msgid "Created by" +msgstr "" + +#. module: chained_swapper +#: model:ir.model.fields,field_description:chained_swapper.field_chained_swapper__create_date +#: model:ir.model.fields,field_description:chained_swapper.field_chained_swapper_constraint__create_date +#: model:ir.model.fields,field_description:chained_swapper.field_chained_swapper_sub_field__create_date +#: model:ir.model.fields,field_description:chained_swapper.field_chained_swapper_wizard__create_date +msgid "Created on" +msgstr "" + +#. module: chained_swapper +#: model:ir.model.fields,field_description:chained_swapper.field_chained_swapper__display_name +#: model:ir.model.fields,field_description:chained_swapper.field_chained_swapper_constraint__display_name +#: model:ir.model.fields,field_description:chained_swapper.field_chained_swapper_sub_field__display_name +#: model:ir.model.fields,field_description:chained_swapper.field_chained_swapper_wizard__display_name +msgid "Display Name" +msgstr "" + +#. module: chained_swapper +#: model:ir.model.fields,field_description:chained_swapper.field_chained_swapper__field_id +msgid "Field" +msgstr "" + +#. module: chained_swapper +#: model:ir.actions.act_window,name:chained_swapper.chained_swapper_action +#: model:ir.ui.menu,name:chained_swapper.chained_swapper_menu +#: model:ir.ui.menu,name:chained_swapper.chained_swapper_submenu +msgid "Field Swaps" +msgstr "" + +#. module: chained_swapper +#: model:ir.model.fields,field_description:chained_swapper.field_chained_swapper__group_ids +msgid "Groups" +msgstr "" + +#. module: chained_swapper +#: model:ir.model.fields,field_description:chained_swapper.field_chained_swapper__id +#: model:ir.model.fields,field_description:chained_swapper.field_chained_swapper_constraint__id +#: model:ir.model.fields,field_description:chained_swapper.field_chained_swapper_sub_field__id +#: model:ir.model.fields,field_description:chained_swapper.field_chained_swapper_wizard__id +msgid "ID" +msgstr "" + +#. module: chained_swapper +#: code:addons/chained_swapper/models/chained_swapper.py:0 +#, python-format +msgid "Incorrect sub-field expression:" +msgstr "" + +#. module: chained_swapper +#: code:addons/chained_swapper/models/chained_swapper.py:0 +#, python-format +msgid "Invalid constraint expression: " +msgstr "" + +#. module: chained_swapper +#: model:chained.swapper,name:chained_swapper.chained_swapper_demo +msgid "Language" +msgstr "" + +#. module: chained_swapper +#: model:ir.model.fields,field_description:chained_swapper.field_chained_swapper____last_update +#: model:ir.model.fields,field_description:chained_swapper.field_chained_swapper_constraint____last_update +#: model:ir.model.fields,field_description:chained_swapper.field_chained_swapper_sub_field____last_update +#: model:ir.model.fields,field_description:chained_swapper.field_chained_swapper_wizard____last_update +msgid "Last Modified on" +msgstr "" + +#. module: chained_swapper +#: model:ir.model.fields,field_description:chained_swapper.field_chained_swapper__write_uid +#: model:ir.model.fields,field_description:chained_swapper.field_chained_swapper_constraint__write_uid +#: model:ir.model.fields,field_description:chained_swapper.field_chained_swapper_sub_field__write_uid +#: model:ir.model.fields,field_description:chained_swapper.field_chained_swapper_wizard__write_uid +msgid "Last Updated by" +msgstr "" + +#. module: chained_swapper +#: model:ir.model.fields,field_description:chained_swapper.field_chained_swapper__write_date +#: model:ir.model.fields,field_description:chained_swapper.field_chained_swapper_constraint__write_date +#: model:ir.model.fields,field_description:chained_swapper.field_chained_swapper_sub_field__write_date +#: model:ir.model.fields,field_description:chained_swapper.field_chained_swapper_wizard__write_date +msgid "Last Updated on" +msgstr "" + +#. module: chained_swapper +#: model:ir.model.fields,field_description:chained_swapper.field_chained_swapper__model_id +msgid "Model" +msgstr "" + +#. module: chained_swapper +#: model:ir.model.constraint,message:chained_swapper.constraint_chained_swapper_model_id_field_id_unique +msgid "Model and Field must be unique!" +msgstr "" + +#. module: chained_swapper +#: model:ir.model.fields,help:chained_swapper.field_chained_swapper__model_id +msgid "" +"Model is used for Selecting Field. This is editable until Contextual Action " +"is not created." +msgstr "" + +#. module: chained_swapper +#: model:ir.model.fields,field_description:chained_swapper.field_chained_swapper__name +#: model:ir.model.fields,field_description:chained_swapper.field_chained_swapper_constraint__name +msgid "Name" +msgstr "" + +#. module: chained_swapper +#: code:addons/chained_swapper/wizard/chained_swapper_wizard.py:0 +#, python-format +msgid "Not possible to swap the field due to the constraint" +msgstr "" + +#. module: chained_swapper +#: model:chained.swapper.constraint,name:chained_swapper.chained_swapper_constraint_demo +msgid "Only parent company" +msgstr "" + +#. module: chained_swapper +#: model_terms:ir.ui.view,arch_db:chained_swapper.chained_swapper_view_form +msgid "Remove Action" +msgstr "" + +#. module: chained_swapper +#: model_terms:ir.ui.view,arch_db:chained_swapper.chained_swapper_view_form +msgid "Remove the contextual action to use this template on related documents" +msgstr "" + +#. module: chained_swapper +#: model_terms:ir.ui.view,arch_db:chained_swapper.chained_swapper_view_form +msgid "Security" +msgstr "" + +#. module: chained_swapper +#: model:ir.model.fields,field_description:chained_swapper.field_chained_swapper_sub_field__sub_field_chain +msgid "Sub Field Chain" +msgstr "" + +#. module: chained_swapper +#: model:ir.model.fields,field_description:chained_swapper.field_chained_swapper__sub_field_ids +#: model_terms:ir.ui.view,arch_db:chained_swapper.chained_swapper_view_form +msgid "Sub-fields" +msgstr "" + +#. module: chained_swapper +#: code:addons/chained_swapper/models/chained_swapper.py:0 +#, python-format +msgid "The sub-field '%s' is not compatible with the main field." +msgstr "" + +#. module: chained_swapper +#: model:ir.model,name:chained_swapper.model_chained_swapper_wizard +msgid "Wizard chained swapper" +msgstr "" + +#. module: chained_swapper +#: model:ir.model.fields,help:chained_swapper.field_chained_swapper_sub_field__sub_field_chain +msgid "" +"You can specify here a field of related fields as dotted names. Ex.: " +"'child_ids.lang'." +msgstr "" diff --git a/chained_swapper/i18n/es.po b/chained_swapper/i18n/es.po new file mode 100644 index 0000000..05a68e2 --- /dev/null +++ b/chained_swapper/i18n/es.po @@ -0,0 +1,296 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * chained_swapper +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 12.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2020-08-14 10:32+0000\n" +"PO-Revision-Date: 2020-08-14 12:33+0200\n" +"Last-Translator: <>\n" +"Language-Team: \n" +"Language: es\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Plural-Forms: \n" +"X-Generator: Poedit 2.3\n" + +#. module: chained_swapper +#: code:addons/chained_swapper/wizard/chained_swapper_wizard.py:146 +#, python-format +msgid "Chained swap done:" +msgstr "Cambio encadenado realizado:" + +#. module: chained_swapper +#: model:ir.model.fields,field_description:chained_swapper.field_chained_swapper__ref_ir_act_window_id +msgid "Action" +msgstr "Acción" + +#. module: chained_swapper +#: model:ir.model.fields,help:chained_swapper.field_chained_swapper__ref_ir_act_window_id +msgid "" +"Action to make this template available on records of the related document " +"model." +msgstr "" +"Acción contextual para hacer que esta plantilla esté disponible en los " +"registros del modelo de documento relacionado." + +#. module: chained_swapper +#: model_terms:ir.ui.view,arch_db:chained_swapper.chained_swapper_view_form +msgid "Add Action" +msgstr "Añadir acción" + +#. module: chained_swapper +#: model_terms:ir.ui.view,arch_db:chained_swapper.chained_swapper_view_form +msgid "" +"Add a new contextual action of related documents to open a composition wizard" +msgstr "" +"Añade una acción contextual para los documentos relacionados para abrir un " +"asistente de intercambio encadenado" + +#. module: chained_swapper +#: model_terms:ir.ui.view,arch_db:chained_swapper.chained_swapper_view_form +msgid "Advanced" +msgstr "Avanzado" + +#. module: chained_swapper +#: model:ir.model.fields,field_description:chained_swapper.field_chained_swapper__allowed_field_ids +msgid "Allowed Field" +msgstr "Campos permitidos" + +#. module: chained_swapper +#: model:ir.model.fields,help:chained_swapper.field_chained_swapper_constraint__expression +msgid "" +"Boolean python expression. You can use the keyword 'records' as the records " +"selected to execute the contextual action. Ex.: bool(records." +"mapped('parent_id'))" +msgstr "" +"Expresión Python booleana. Puede usar la palabra clave 'records' para hacer " +"referencia a los registros seleccionados al ejecutar la acción contextual. " +"Ej.: bool(records.mapped('parent_id'))" + +#. module: chained_swapper +#: model:ir.model,name:chained_swapper.model_chained_swapper +#: model:ir.model.fields,field_description:chained_swapper.field_chained_swapper_constraint__chained_swapper_id +#: model:ir.model.fields,field_description:chained_swapper.field_chained_swapper_sub_field__chained_swapper_id +msgid "Chained Swapper" +msgstr "Intercambiador encadenado" + +#. module: chained_swapper +#: model:ir.model,name:chained_swapper.model_chained_swapper_constraint +msgid "Chained Swapper Constraint" +msgstr "Intercambiador encadenado - Restricciones" + +#. module: chained_swapper +#: model:ir.model,name:chained_swapper.model_chained_swapper_sub_field +msgid "Chained Swapper Sub-field" +msgstr "Intercambiador encadenado - Sub-campos" + +#. module: chained_swapper +#: code:addons/chained_swapper/models/chained_swapper.py:104 +#, python-format +msgid "Chained swap" +msgstr "Cambio encadenado" + +#. module: chained_swapper +#: model:ir.actions.act_window,name:chained_swapper.partner_chained_swap_lang_action_demo +msgid "Chained swap: Language" +msgstr "Cambio encadenado: Idioma" + +#. module: chained_swapper +#: model_terms:ir.ui.view,arch_db:chained_swapper.chained_swapper_wizard_view_form +msgid "Change" +msgstr "Cambiar" + +#. module: chained_swapper +#: model_terms:ir.ui.view,arch_db:chained_swapper.chained_swapper_wizard_view_form +msgid "Close" +msgstr "Cerrar" + +#. module: chained_swapper +#: model:ir.model.fields,field_description:chained_swapper.field_chained_swapper_constraint__expression +#: model_terms:ir.ui.view,arch_db:chained_swapper.chained_swapper_constraint_view_form +msgid "Constraint expression" +msgstr "Expresión de restricción" + +#. module: chained_swapper +#: model:ir.model.fields,field_description:chained_swapper.field_chained_swapper__constraint_ids +#: model_terms:ir.ui.view,arch_db:chained_swapper.chained_swapper_view_form +msgid "Constraints" +msgstr "Restricciones" + +#. module: chained_swapper +#: model:ir.model.fields,field_description:chained_swapper.field_chained_swapper__create_uid +#: model:ir.model.fields,field_description:chained_swapper.field_chained_swapper_constraint__create_uid +#: model:ir.model.fields,field_description:chained_swapper.field_chained_swapper_sub_field__create_uid +#: model:ir.model.fields,field_description:chained_swapper.field_chained_swapper_wizard__create_uid +msgid "Created by" +msgstr "Creado por" + +#. module: chained_swapper +#: model:ir.model.fields,field_description:chained_swapper.field_chained_swapper__create_date +#: model:ir.model.fields,field_description:chained_swapper.field_chained_swapper_constraint__create_date +#: model:ir.model.fields,field_description:chained_swapper.field_chained_swapper_sub_field__create_date +#: model:ir.model.fields,field_description:chained_swapper.field_chained_swapper_wizard__create_date +msgid "Created on" +msgstr "Creado el" + +#. module: chained_swapper +#: model:ir.model.fields,field_description:chained_swapper.field_chained_swapper__display_name +#: model:ir.model.fields,field_description:chained_swapper.field_chained_swapper_constraint__display_name +#: model:ir.model.fields,field_description:chained_swapper.field_chained_swapper_sub_field__display_name +#: model:ir.model.fields,field_description:chained_swapper.field_chained_swapper_wizard__display_name +msgid "Display Name" +msgstr "Nombre mostrado" + +#. module: chained_swapper +#: model:ir.model.fields,field_description:chained_swapper.field_chained_swapper__field_id +msgid "Field" +msgstr "Campo" + +#. module: chained_swapper +#: model:ir.actions.act_window,name:chained_swapper.chained_swapper_action +#: model:ir.ui.menu,name:chained_swapper.chained_swapper_menu +#: model:ir.ui.menu,name:chained_swapper.chained_swapper_submenu +msgid "Field Swaps" +msgstr "Intercambios de campo" + +#. module: chained_swapper +#: model:ir.model.fields,field_description:chained_swapper.field_chained_swapper__group_ids +msgid "Groups" +msgstr "Grupos" + +#. module: chained_swapper +#: model:ir.model.fields,field_description:chained_swapper.field_chained_swapper__id +#: model:ir.model.fields,field_description:chained_swapper.field_chained_swapper_constraint__id +#: model:ir.model.fields,field_description:chained_swapper.field_chained_swapper_sub_field__id +#: model:ir.model.fields,field_description:chained_swapper.field_chained_swapper_wizard__id +msgid "ID" +msgstr "ID" + +#. module: chained_swapper +#: code:addons/chained_swapper/models/chained_swapper.py:151 +#, python-format +msgid "Incorrect sub-field expression:" +msgstr "Expresión de sub-campo incorrecta:" + +#. module: chained_swapper +#: code:addons/chained_swapper/models/chained_swapper.py:193 +#, python-format +msgid "Invalid constraint expression: " +msgstr "Expresión de restricción no válida:" + +#. module: chained_swapper +#: model:chained.swapper,name:chained_swapper.chained_swapper_demo +msgid "Language" +msgstr "Idioma" + +#. module: chained_swapper +#: model:ir.model.fields,field_description:chained_swapper.field_chained_swapper____last_update +#: model:ir.model.fields,field_description:chained_swapper.field_chained_swapper_constraint____last_update +#: model:ir.model.fields,field_description:chained_swapper.field_chained_swapper_sub_field____last_update +#: model:ir.model.fields,field_description:chained_swapper.field_chained_swapper_wizard____last_update +msgid "Last Modified on" +msgstr "Última modificación en" + +#. module: chained_swapper +#: model:ir.model.fields,field_description:chained_swapper.field_chained_swapper__write_uid +#: model:ir.model.fields,field_description:chained_swapper.field_chained_swapper_constraint__write_uid +#: model:ir.model.fields,field_description:chained_swapper.field_chained_swapper_sub_field__write_uid +#: model:ir.model.fields,field_description:chained_swapper.field_chained_swapper_wizard__write_uid +msgid "Last Updated by" +msgstr "Última actualización por" + +#. module: chained_swapper +#: model:ir.model.fields,field_description:chained_swapper.field_chained_swapper__write_date +#: model:ir.model.fields,field_description:chained_swapper.field_chained_swapper_constraint__write_date +#: model:ir.model.fields,field_description:chained_swapper.field_chained_swapper_sub_field__write_date +#: model:ir.model.fields,field_description:chained_swapper.field_chained_swapper_wizard__write_date +msgid "Last Updated on" +msgstr "Última actualización el" + +#. module: chained_swapper +#: model:ir.model.fields,field_description:chained_swapper.field_chained_swapper__model_id +msgid "Model" +msgstr "Modelo" + +#. module: chained_swapper +#: sql_constraint:chained.swapper:0 +msgid "Model and Field must be unique!" +msgstr "La combinación Modelo-Campo debe ser única!" + +#. module: chained_swapper +#: model:ir.model.fields,help:chained_swapper.field_chained_swapper__model_id +msgid "" +"Model is used for Selecting Field. This is editable until Contextual Action " +"is not created." +msgstr "" +"El modelo se utiliza para seleccionar el campo. Este es editable mientras la " +"acción contextual no esté creada." + +#. module: chained_swapper +#: model:ir.model.fields,field_description:chained_swapper.field_chained_swapper__name +#: model:ir.model.fields,field_description:chained_swapper.field_chained_swapper_constraint__name +msgid "Name" +msgstr "Nombre" + +#. module: chained_swapper +#: code:addons/chained_swapper/wizard/chained_swapper_wizard.py:32 +#, python-format +msgid "Not possible to swap the field due to the constraint" +msgstr "No es posible cambiar el campo debido a la restricción" + +#. module: chained_swapper +#: model:chained.swapper.constraint,name:chained_swapper.chained_swapper_constraint_demo +msgid "Only parent company" +msgstr "Solo compañías padres" + +#. module: chained_swapper +#: model_terms:ir.ui.view,arch_db:chained_swapper.chained_swapper_view_form +msgid "Remove Action" +msgstr "Eliminar acción" + +#. module: chained_swapper +#: model_terms:ir.ui.view,arch_db:chained_swapper.chained_swapper_view_form +msgid "Remove the contextual action to use this template on related documents" +msgstr "" +"Borrar la acción conceptual para usar esta plantilla en documentos " +"relacionados" + +#. module: chained_swapper +#: model_terms:ir.ui.view,arch_db:chained_swapper.chained_swapper_view_form +msgid "Security" +msgstr "Seguridad" + +#. module: chained_swapper +#: model:ir.model.fields,field_description:chained_swapper.field_chained_swapper_sub_field__sub_field_chain +msgid "Sub Field Chain" +msgstr "Cadena de sub-campo" + +#. module: chained_swapper +#: model:ir.model.fields,field_description:chained_swapper.field_chained_swapper__sub_field_ids +#: model_terms:ir.ui.view,arch_db:chained_swapper.chained_swapper_view_form +msgid "Sub-fields" +msgstr "Sub-campo" + +#. module: chained_swapper +#: code:addons/chained_swapper/models/chained_swapper.py:162 +#, python-format +msgid "The sub-field '%s' is not compatible with the main field." +msgstr "El sub-campo '%s' no es compatible con el campo principal." + +#. module: chained_swapper +#: model:ir.model,name:chained_swapper.model_chained_swapper_wizard +msgid "Wizard chained swapper" +msgstr "Asistente de intercambiador encadenado" + +#. module: chained_swapper +#: model:ir.model.fields,help:chained_swapper.field_chained_swapper_sub_field__sub_field_chain +msgid "" +"You can specify here a field of related fields as dotted names. Ex.: " +"'child_ids.lang'." +msgstr "" +"Puede especificar aquí un campo de campos relacionados como una cadena de " +"nombres separada por puntos. Ej.: 'child_ids.lang'." diff --git a/chained_swapper/models/__init__.py b/chained_swapper/models/__init__.py new file mode 100644 index 0000000..10e942d --- /dev/null +++ b/chained_swapper/models/__init__.py @@ -0,0 +1,3 @@ +# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). + +from . import chained_swapper diff --git a/chained_swapper/models/chained_swapper.py b/chained_swapper/models/chained_swapper.py new file mode 100644 index 0000000..88e7764 --- /dev/null +++ b/chained_swapper/models/chained_swapper.py @@ -0,0 +1,196 @@ +# Copyright 2020 Tecnativa - Ernesto Tejeda +# Copyright 2020 Tecnativa - Pedro M. Baeza +# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl). + +from flectra import _, api, exceptions, fields, models +from flectra.tools.safe_eval import safe_eval + + +class ChainedSwapper(models.Model): + _name = "chained.swapper" + _description = "Chained Swapper" + + name = fields.Char(required=True, translate=True, index=1) + model_id = fields.Many2one( + comodel_name="ir.model", + required=True, + ondelete="cascade", + help="Model is used for Selecting Field. This is editable " + "until Contextual Action is not created.", + ) + allowed_field_ids = fields.Many2many( + comodel_name="ir.model.fields", compute="_compute_allowed_field_ids" + ) + field_id = fields.Many2one( + comodel_name="ir.model.fields", + required=True, + ondelete="cascade", + domain="[('id', 'in', allowed_field_ids)]", + ) + sub_field_ids = fields.One2many( + comodel_name="chained.swapper.sub.field", + inverse_name="chained_swapper_id", + string="Sub-fields", + ) + constraint_ids = fields.One2many( + comodel_name="chained.swapper.constraint", + inverse_name="chained_swapper_id", + string="Constraints", + ) + ref_ir_act_window_id = fields.Many2one( + comodel_name="ir.actions.act_window", + string="Action", + readonly=True, + help="Action to make this template available on records " + "of the related document model.", + ) + group_ids = fields.Many2many( + comodel_name="res.groups", + relation="mass_group_rel", + column1="mass_id", + column2="group_id", + string="Groups", + ) + + _sql_constraints = [ + ( + "model_id_field_id_unique", + "unique (model_id, field_id)", + "Model and Field must be unique!", + ), + ] + + @api.depends("model_id") + def _compute_allowed_field_ids(self): + model_obj = self.env["ir.model"] + field_obj = self.env["ir.model.fields"] + for record in self: + allowed_field_ids = False + if record.model_id: + all_models = record.model_id + active_model_obj = self.env[record.model_id.model] + if active_model_obj._inherits: + keys = list(active_model_obj._inherits.keys()) + all_models |= model_obj.search([("model", "in", keys)]) + allowed_field_ids = field_obj.search( + [ + ("ttype", "not in", ["reference", "function", "one2many"]), + ("model_id", "in", all_models.ids), + ] + ) + record.allowed_field_ids = allowed_field_ids + + @api.constrains("model_id", "field_id") + def _check_sub_field_ids(self): + self.mapped("sub_field_ids")._check_sub_field_chain() + + @api.onchange("model_id") + def _onchange_model_id(self): + self.field_id = False + + def write(self, vals): + res = super().write(vals) + if "name" in vals: + self.mapped("ref_ir_act_window_id").write({"name": vals["name"]}) + return res + + def unlink(self): + self.unlink_action() + return super().unlink() + + def add_action(self): + self.ensure_one() + action = self.env["ir.actions.act_window"].create( + { + "name": _("Chained swap") + ": " + self.name, + "type": "ir.actions.act_window", + "res_model": "chained.swapper.wizard", + "groups_id": [(4, x.id) for x in self.group_ids], + "context": "{'chained_swapper_id': %d}" % (self.id), + "view_mode": "form", + "target": "new", + "binding_model_id": self.model_id.id, + "binding_type": "action", + } + ) + self.write({"ref_ir_act_window_id": action.id}) + return True + + def unlink_action(self): + self.mapped("ref_ir_act_window_id").unlink() + return True + + +class ChainedSwapperSubField(models.Model): + _name = "chained.swapper.sub.field" + _description = "Chained Swapper Sub-field" + + chained_swapper_id = fields.Many2one( + comodel_name="chained.swapper", ondelete="cascade" + ) + sub_field_chain = fields.Char( + required=True, + help="You can specify here a field of related fields as " + "dotted names. Ex.: 'child_ids.lang'.", + ) + + @api.constrains("chained_swapper_id", "sub_field_chain") + def _check_sub_field_chain(self): + for rec in self: + # Check sub-field exist + try: + chain_list = rec.sub_field_chain.split(".") + chain_field_name = chain_list.pop() + chain_model = self.env[rec.chained_swapper_id.model_id.model] + for name in chain_list: + chain_model = chain_model[name] + chain_model[chain_field_name] # pylint: disable=W0104 + except KeyError: + raise exceptions.ValidationError( + _("Incorrect sub-field expression:") + " " + rec.sub_field_chain + ) + # Check sub-field and original field are the same type + swap_field = rec.chained_swapper_id.field_id + chain_field = self.env["ir.model.fields"].search( + [ + ("model_id", "=", rec.chained_swapper_id.model_id.id), + ("name", "=", chain_field_name), + ] + ) + if ( + chain_field.ttype != swap_field.ttype + or chain_field.relation != swap_field.relation + ): + raise exceptions.ValidationError( + _("The sub-field '%s' is not compatible with the main" " field.") + % rec.sub_field_chain + ) + + +class ChainedSwapperConstraint(models.Model): + _name = "chained.swapper.constraint" + _description = "Chained Swapper Constraint" + + chained_swapper_id = fields.Many2one( + comodel_name="chained.swapper", ondelete="cascade" + ) + name = fields.Char(required=True, translate=True) + expression = fields.Text( + string="Constraint expression", + required=True, + help="Boolean python expression. You can use the keyword " + "'records' as the records selected to execute the " + "contextual action. Ex.: bool(records.mapped('parent_id'))", + default="True", + ) + + @api.constrains("expression") + def _check_expression(self): + for record in self: + model = self.env[record.chained_swapper_id.model_id.model] + try: + safe_eval(record.expression, {"records": model}) + except Exception: + raise exceptions.ValidationError( + _("Invalid constraint expression:" + " " + record.expression) + ) diff --git a/chained_swapper/security/ir.model.access.csv b/chained_swapper/security/ir.model.access.csv new file mode 100644 index 0000000..4bd1828 --- /dev/null +++ b/chained_swapper/security/ir.model.access.csv @@ -0,0 +1,8 @@ +id,name,model_id:id,group_id:id,perm_read,perm_write,perm_create,perm_unlink +access_chained_swapper_user,chained.swapper.user,model_chained_swapper,base.group_user,1,0,0,0 +access_chained_swapper_erp_manager,chained.swapper.erp_manager,model_chained_swapper,base.group_erp_manager,1,1,1,1 +access_chained_swapper_sub_field_user,chained.swapper.sub.field.user,model_chained_swapper_sub_field,base.group_user,1,0,0,0 +access_chained_swapper_sub_field_erp_manager,chained.swapper.sub.field.erp_manager,model_chained_swapper_sub_field,base.group_erp_manager,1,1,1,1 +access_chained_swapper_constraint_user,chained.swapper.constraint.user,model_chained_swapper_constraint,base.group_user,1,0,0,0 +access_chained_swapper_constraint_erp_manager,chained.swapper.constraint.erp_manager,model_chained_swapper_constraint,base.group_erp_manager,1,1,1,1 +access_chained_swapper_wizard,chained.swapper.wizard.constraint.erp_manager,model_chained_swapper_wizard,base.group_user,1,1,1,1 diff --git a/chained_swapper/static/description/icon.png b/chained_swapper/static/description/icon.png new file mode 100644 index 0000000000000000000000000000000000000000..3a0328b516c4980e8e44cdb63fd945757ddd132d GIT binary patch literal 9455 zcmVa*Zag|=W(Jy&L=Ct>-D+}2E!HrkJGSV zFo@#fVhDl&j^jYfLz1L+B&EULNy+R4;k+S0UtiztNLG9u01!f8v)N#^S|N%e2q6$f z5hEibh{xjq07;S{NzzM%ko!Fz&)}qGzJNIA3E=bj)^i;9IDqvu%xpHp;c$Qu0znWM z0SpEM03Z^HAQTEg6h%sc!BG;tG&yfkIGnQt@Or&2lgacO0JqaHlgR|T-43JiTiuuE zc}4(vxG0JU27`#jV)AZbZ#*8qW6qp8?GyDLg~mBafd2meCji_>2yp=b$8oUPY_M1? z008+r3xWVa5Yh-h5s$|)GBN_5=UJF2irZ$)nDInGUt)rAP7z>WU|_u@NiT97S4ZE= zYPG^@wSo|$dJoU@i~uH+iG|C{MUo`eEy%*!1wpuD)~s233-dM;gL8ra0|Ntfgpd~r zA?xY;m`o06fp95kM`zAP5*489^eEVAn)Zd}(B4+0$bkMs2=4AYJPgM)+X0sIEQg*41$GQnc8r1bNdDozfb=aEPx7y&ZH zRZENKc?5$&h@!~CL{Z!p4u_we4&B1EA;7@EK%LQOd>k^f&S*5kY&J9d9mp)Y)sRRe zGD-k7s7Z-PB!WmJlHy5}Bx%YkiPM4rLqkJPNRq_NIzk967E4M$ueZf3!<7Wc2Bmc% zhad^7to^&5@I)fPx&WpA zpmk5C|B@sj9*?UkiL+T|6DkniZfcxv}>fY46aRM;u1PBI$>j@z#W}VS!gwbdmlUbK3TrDgf zkE==mW&B);p%zCJMTEm)@H{Uk!kYl@pR56s-(P)$nHv7<3Urwh%&?SqCIry}X|X z3fJo8h{a-z0Lm^vZ$Gc~yllV2;c$v4QIe#?f*{;6fByUlQxYeX0HIKbnRQgb<2X*Y z-#*hdy)Im3oOnErSS$vk(Wpxa%(e2f-J3`x5RFD52!cG`v$0rg+e9dd6EZ0@5{X+&uj7bQ?Fp59h3iXu}!!dw5e1U~(P(sw(P%s^uY7~Skfz-$q19Tn!j*Ay!FZHCnjiTm+kJ^d z0^x8Np->3%cwAS02_ZL`Os3{jr%r9r_g1+f?-C#!4zK4p?nSx#mg6{Z9GBI7OQE+_ zkGJ(pl9W*i)Jjt;jv5K*a5HrTX~os!V-N)4Fd-zbN@89K5Q#+I;5d%;TWaEdEUkDf z=9b>Ldb@yZ>BuXK&NGzT`&w~xA%G-Fu-R+~g+k8?g0Kw$#;Yjil>o6=j3vf#T$))2 z=-19O#m`j{%#CR_qY`<7#@ z`aveh)6_#EEsdR4GOciVdh}aw{&RuNW`oP+VsjOHdwbE<)s-e?#)G`C4vt2nICbh2 zs;a6`QBk2>Z^z^tR%$T%(mv6*TIMq2DrBt!^lZK>z1L5JCvb%gbT6 z+W{oq)vc|q7#bSNIjwBSD*@!0^7(uS1Ok{jb0&(4iqhiHm&nu|Xqk&@*VXz{we;nc zN(W~`p%9yBqI{1+KuHRDg%%eVqokyS&3owX?#7ujXH@Ua2l6ff5{Lq$ae zs;a8eOhFn~S>Q@?WKx#&YR_8Fq2KhQtdK&8b~TtxCb(QKW{CuYL3DO@A`}Ycz0&0< zC;=$^em|22#l^*G6`!q;Gqsp}`tU5Mn7L;QP-f|*b^&S_7#P6N&=6{BYS`e+c=I#S3LwXEC@Lyq4lq#^;q`hE z2m~_r?OJ)x)IE$BlimfWf#-R2b#=k%bi(a+=dHh^c~UFzvE)@PEvwbalsq75+EFD> zts>=6c70ly))F9>f*u|o#>mJBs;jG0+{yVwJ|qC`LYz(~TVR?Kuc7JZC)lw%hF}Dk@4b?fia!N~_mv!l{Y) zY1;+l6QNKDkw^q(Wo0NSDal*9x zft;nmSWQ7XYDeefQFpe|lb1=vXNs4}+$+Qw0L8TG0_30t5s$~w-Q5kR(+QW$r73%Vm4bI)$*hz+STH#-8Utz04;Hr4?<+~ngxSFrXVt*KA#Waa5!ULwDO**V&&JhbOGhHd|=v006i^@=Xvz?^`WS! z2ridPS1Zw~e4EY2hHHUjccZ4{X%TZQqj_qIq5N7Qx`MnDAfMtX+jA(C1u8cgm5V); zp!d>mqtOV5!@=Gm8jYf_uTNFUQ$9OaPhKXCKO2#ztQ9a($fjXalhI zq7)@B5C~vsXh`#UYR^@MWx6+;r67NoOy0urU`mb!WJ0DFS8FM;SPXrAeJCz2P7&#H zSgls($pexbH}v=SXRM%H`g5)PDbv#u^I9ax2MVGDX3AhLnb$Jea*ZoV5{8F|5sgMs zTwI*8DKypafus&GFff2L^UYMIrq-N`nfu#2?8jZr~bV3wG^z`(wgQ9YgFv@&nQ`oc|LD@8ZwfOl$ zURMVC!87y?_P^YXwNa48H@&|ry0Ax*@JD{wt*0WYp=Z)3l}cT z+oSZ@+twB3t<8R1@r`pLkaZl?*J_} zNs_kgT3j{%c$!Ns#<;&S}xISAr^~aXlN)Wjb919ag9bJJ6VLrv)k>g<%^<-Xf(?9G{~l< zt7+wWEfwYefq? zlfejsGxa16&kq*DKHG^Czu%9}|M?}>{D(CF#y?F;c@0QCH&AW(mj0(>0CdkFK@bp$ zL|`_XS!HM`ka`s}HD^#D5Wv1qKZVI;!iwd~;dZ-0NYa0DsJS^g+h|~b4Rz;xG%&9c zK<@D293~W-?Fc6#Nc2Zi7|(GW${IZ=UQmHEhguOkJ)Bb)phr9#jYgD|l(1=Ai9`Z| zAh4xbTIo@@Fx}ZC7K+xs_ZS`?#;2cs29wEzYc_0Pdnf=vO-&6W9;YE$ zreqfYe4Dw_t7e0Mz~6L6B@!_E`U?O6y$9RVT9?x9%~qgta@lM)IGs)y31OQguuJ|8`a7ysdvL-FvI(|R(6kfRP=qgcQ1~gIFT|Mm#y&WQY<)*N12{ikg}lxJMVp%I_N-9Aw@}we<6a zf=mjf8MMzU#msdJ(fQFyv_5wL^X|DQHL@t7WL^dOzwx4PcMI&7R->t@iJ4}@!^3E8 zZADpG8CI=a$tqT@;N>1jx-%zj@oKFc&}ZM%so&9P6tP&0oeXBNSTxTVlBfCg@#E<1 z=)iC=2mq+BugBsGF2L~5dZ`UQ9!TH$9C+ZyNUBWkN*CCeE!83ssl9^iv=YmC2WrYdPo!9p)^z1 zkxlQAO9Q*zo+1sR(P-L)P-Vp&ICv08j~-=}PrH{$G>Wrl&$1mtDCDibqoad`t647j z!h}o+ssD$y2>sLhICG#Cp+FGjOR7<`p&q@jpFnsZ2#{nU4i66l01O<5b(dWRm&=7< zFo;vFt>|cP$AN|Z`X;Dirnzv)BQt`msy$v#dZfRQu6I$DTzbLKF!$LVxp|CZT2yU3w`( zp%7|oYg4+1DLobdXty+CAXvKPa&)|T6z#jeMvRYxkYvMfFQ`G)hItriZv&8&07_-2 zp}ro2fdIO_UK~Gu9F2{Qtkug$AGKP&meQv8J(Pqvc<>-rtXRRU3@Qzp4jn=$9LB7f zGjYjiqBrI971Qit(C@(K(q){V5K2VT7f-)6s-OWo; zck@#8zI_VuXdGs%1;z8rz?lq~H*X%k{OT)oojHT0OP79|$g(%O_aW9($+;+j@^=zN5gf;1`}XaaF=GZKNy4H>5*@>nbe04Zzo_I~sc+g&Rb zi{VfpfJ284;fnR^QCC-|nZHc`weaGLFXGKN-^7dm@(0Wk-G~pw(Y5C!W?j_)2@CLbB2xD84Lz^JRS@V4k8!~;={drF?a4< zT)u8y);wj(t0;=tw{IU#oH&8b&Q5Gy@-qy+atebuHF`7P|F9j)|LHomvu8<32}(*z z5Dte^bc4fReu-Y64;5~A$}{9!>vu)-&Iy$g#-#)apwPE3c1@L%0Y0ps>wifp7+lL!( zyb-Ve@in-c2uwBti2#r!NC1cg__})0_g))L`A11HnlHJf(B9F3GiT1gYPDifLqkS| zE?eI8=3Or)TnUte#-qoz&=$_~Jl3sShdm#BfYYZ>qqDOU%a$#Jf#bjn0+uy4f{a=U z7KL^yz*aPKw?)f3^AZ` z$qdZ@!7>o11>V1Wjn4hwK#-CBM6h7N z0!Wg?&gGFm%WO8|+6^1<=fC^~O@|KQnhhJ$@*^jKT0W!EC|X)t@Yz#;#o1T@v)44B z@gFW_*IoBq0{@8~44)l>+`ZZD_2U1%@dm6m8zQ6U1eds6xMa;5rU=qWCv=!v%__-M z(YYwE*-)?vA=xr$Hk;YXTS7?6Dc*GJR;$&D4Od@{Yc_018OCiH-Cfk-aIkTE`Lh9_ zva%AZSFc7_R~K4aTT@!Q+HYmvZ8jUu>^hFX@gCHDZvmFwt2mlPlwhxPK!OAlXTtL3 z%h{zwB7xxWFnFGa$K$~duD_lg`ywB&pd*ag%2MlpJ}}{H1C2&w%88*o&$H9Jwe0%Z z+FJbG=FI?rQ!Oo+Kk6E7sISKtO-*QOYQnlvg->2U%NiTe+}w=AhYu&+v5K^n@#TmI zBKY$Ed6zHhuR7z~)XX%UDa*_N7{n*jh-m6d2{Xh3CUCA*Jq zG7*o**^HxDES4e-a*+c0z{Gh1NBe8}sT_2;R=HVorpj43T9JehG&VNkbbC8mT3d0! z1sA|Qs$t6u(CKu-@At#!^P#G$D($-3GbBmEq31pX04(|8>a>ah0RQJ*5JVBRE9ZhU zCW%|Wa3Sg!E=)1!~=dF?4ZM_JkP5R+$eu5(^Dge z+wI2MwQCWN$MMcP@1Uorhh2|EA~@aA0ZEdO81*G&>i6lVbN6vbk_4;K3W!o#yyk!2 zgW=u)=5K6-bAI|R=XwbYeA_r^mnaAVDKzFl*K<{9xloyuEuj5{U#(pFXXbuDsyY$pwG_f+(W(#U@l;F&BMbbfEWG7y6EM z!!@S@7ysw$({u^F?pv*Xoz6v!L?Z0?SvsYyP`j?=od9xkjVgIsQ?t~Ni5S`Luc@iQ z?YG^A=H_M`J$4Kd0D)Y})^e#dNF)+$b`v#^EvU!LjDX$VweytjH??3#aDo|MTX}!_i~MG)1T?;Ved6 z{NzRqG@ZfVnE@C$1LoecENyZIy+0TCZ7%&cAxUQ#&+|+g$d97W2lBcNLGw;oInXRn_kVnr{VJJTH#u0X$=We%Rqi^u_%fk z6GFtrix;PQsd7ZVR|d5M$qf5^K6H0?XPn!vX4YjhZ`7`5GVSDH%HNstp%!<%`O{;{ zDW5~vBJiWSj3i0$`~81==%I)1d;k6SuO;KO1@kHa2qD}%@4U0!>2y9w!;D5FDk>`2 zB+qOby+*oY3e$=smjG&~m1(tb`mOd`{(me|K>44J6$mmjHX4og?cKZgg$Eye@Ff84 z0EE$d#$1W{CIA6Yv1QAa>o;!P_?W}tm^&H{yWNhes;ZQY8?&`0c|5h>xrE98Qvv`; zBY;}PDX-;H(OThJ1fU06(-}|{ZEbD4wr$(?TvJoiX8^(&9fBNBTDM?d;+ z0FDAkAWyAcj)D+?C7!GWD}V)0J@wQN*R5OkfZ1$jr$3dKm$NC-D)*}X){2uYt{g){ zL#zU{2#~48D#ORq4TM4=ghHW|xPd_6$c`O5o_+oG*LMLpivmYDIN*H9J{Taj#aIy27;LSFXJH!3Q7w`J6d(Zlu@EW;1GPYBD;IBq_JO{nXM>N&vaXPA>tJ;d%%V9bFYH zKTa+ZiS+H#G6I0h<$}lK zN!c}H4A0Q~PYD1d^^ihK08tb%G&Gdf>W?2k{_6Ja+y7T{bMr^YqiL55CWQb%iZmz% zu=M4ZU%sopzJ4>kZZsO<@pw>LTB@4_dUXaR0o0(?y49{_>g&VdaN7Aofk5EMYp=cb z$5GR+3xGI!?}S&zq!EB+;9F_1;I6ywy5g2wZuxtc%f(iPQr#fa$sf5Yi*i4J8UgZQ z1tb!Qw5{iPo(~;4a^%%J?zrO>0AB!zVG>%s9FtA}fRO+IoB&q-?svc2ykyCe%_ftn z2uRK_s;Q|-(b)Amk<`NFIzU-jSz0`;%2o?gBf!wm5YC=Go6_q0`}_Al_uO-T*tv7( zUjg_q$rVpAB?v$vGZ`1&c;k&1-F^4n|0tIR4u=D^wY91{eCI+4c^5#pXrT|9P5J-; z1Yk)-K~xGRg<9py|Epb(#bWUJd?^E9JkN*r?Afzp>(;G10ep!9IdsN~DMbJvMH&^o&D@_2Y zU4Yurvr2KV43qy3hr{UW>q}|%p-`ypt+(F#$d=WjZxEX^qwhI;8T_WK$r2_mb8v9*$c`O5cI@1_b3cGnNVfVZUHQN?Apnp<0t~fjw(3?6c^9BY0C|~&LLvBkzLc^0Xf)clYuBzF+qZB38-T+ALYPLaUXE!=016oq zW&l|F{PWM>ym;~A&2-Lz!C*j5O%2<2jbeCsm{qcxhmo3gwAIU=hqku1T~9y#^sCLy z&7T73L2`!9v}*NoOltxFDI_ofShH!^ zCJk0ETefV*6Hh#Gr`&;Lu~<-CT+GG*=(6lUAb|e<{xs9>x#ynSv2*9n&yj5PBF>@8 z2hK49P{_s>YAsh~~`vpM=eel5tJ05xD zk&kc=wt6|vNdf?AeuImaEn8OozylB5D4%nn<|y)dy?eH8+xCa%=H^2HPGeNb1J1q5 z2hL#v04XHk0Mr0z{MpZbw&2!VZ@pLUKmwAc-CJ+HwPXAC?VkZS2q1!UxZ)|!X#!9v z{06H5xL$eXmA{)eZ{7_?qp|4Z$&;`C^rt_470G_S1Lt60uZ8o106>~Fr~+`|rcIk_ z0N~Gm{_{6TI&>l!t^9Mn;wdJ4pTNlitx!UUh@=C@PYAKcVlfWMY1ksp0lPj|oHr6c z4uv!TlH&fn5cx`+mjs}Y4=$Z=6;E+q6W}`l{~v!4wxje|1Azbl002ovPDHLkV1ipa B#b5vc literal 0 KcmV+b0RR6000031 diff --git a/chained_swapper/static/description/index.html b/chained_swapper/static/description/index.html new file mode 100644 index 0000000..20e2be8 --- /dev/null +++ b/chained_swapper/static/description/index.html @@ -0,0 +1,490 @@ + + + + + + +Chained Swapper + + + +
+

Chained Swapper

+ + +

Beta License: AGPL-3 OCA/server-ux Translate me on Weblate Try me on Runbot

+

This module allows to swap the value of a field and propagate it in a chained +way to linked records. Example: changing the delivery address in a confirmed +sales order, it should be changed in its delivery orders as well.

+

It also allows to apply constraints for not allowing to do that change +according rules, so the business logic is not broken. Example: Don’t allow +to change the delivery address if the delivery order is validated.

+

This module requires some technical knowledge for setting the chained swap and +the constraint, as it’s defined through technical names and Python code.

+

WARNING: Use this module with care, as it can screw up database consistency +if swaps are not properly designed .

+

Table of contents

+ +
+

Configuration

+

To configure this module, you need to:

+
    +
  1. Go to Setting > Field Swaps > Field Swaps.

    +
  2. +
  3. Create a new object and set the following data as an example:

    +
      +
    • Name for identifying it and use it for the action name.

      +
    • +
    • Select the source model where the swap will be started.

      +
    • +
    • Select the starting field for which the swap will be done.

      +
    • +
    • Add several chained fields. They are expressed as a string using +dot notation, taking the source model as beginning for looking there +the first field, and continuing from there drilling through. Example: +picking_ids.partner_id for sale.order model will go to the linked +deliveries orders, and change the customer there.

      +
    • +
    • Add possible constraints for restricting the chained swap. They are +Python expressions that must be one line that is evaluated as boolean. +If the evaluation is true, then a message will be thrown and no swap +will be allowed. You can use the variable records in your code, that +will be referring the selected records for doing the swap. Example: for +restricting sales orders that have a delivery order validated:

      +

      any(p.state == ‘done’ for p in records.mapped(‘picking_ids.state’))

      +

      Other variables you can use are env, date and datetime. +Each constraint has a name for identifying it, but also for showing that +name when displaying the error trying to do the swap.

      +
    • +
    +
  4. +
  5. Click on ‘Add action’ smart button to add a new action in the source model.

    +
  6. +
+

On demo databases, you can check the example “Language”, that changes the +language of a contact, and propagate it to children contacts.

+
+
+

Usage

+

To use this module, you need to:

+
    +
  1. Go to the source document in list mode.
  2. +
  3. Select one or several records.
  4. +
  5. Click on Action and locate the option “Chained swap: <name of the swap>”.
  6. +
  7. If one of the selected records doesn’t comply with one of the constraints, +a message will be shown, and the swap won’t continue.
  8. +
  9. If everything is OK, a popup will arise, and you will see a field for +filling the new value.
  10. +
  11. Click on “Change”, and the swap will be done.
  12. +
  13. On the chatter of the source document, an entry will be logged for +reflecting the done swap.
  14. +
+
+
+

Bug Tracker

+

Bugs are tracked on GitHub Issues. +In case of trouble, please check there if your issue has already been reported. +If you spotted it first, help us smashing it by providing a detailed and welcomed +feedback.

+

Do not contact contributors directly about support or help with technical issues.

+
+
+

Credits

+
+

Authors

+
    +
  • Tecnativa
  • +
+
+
+

Contributors

+ +
+
+

Maintainers

+

This module is maintained by the OCA.

+Odoo Community Association +

OCA, or the Odoo Community Association, is a nonprofit organization whose +mission is to support the collaborative development of Odoo features and +promote its widespread use.

+

This module is part of the OCA/server-ux project on GitHub.

+

You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.

+
+
+
+ + diff --git a/chained_swapper/tests/__init__.py b/chained_swapper/tests/__init__.py new file mode 100644 index 0000000..ccd7e32 --- /dev/null +++ b/chained_swapper/tests/__init__.py @@ -0,0 +1,3 @@ +# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl). + +from . import test_chained_swapper diff --git a/chained_swapper/tests/test_chained_swapper.py b/chained_swapper/tests/test_chained_swapper.py new file mode 100644 index 0000000..626c403 --- /dev/null +++ b/chained_swapper/tests/test_chained_swapper.py @@ -0,0 +1,104 @@ +# Copyright 2020 Tecnativa - Ernesto Tejeda +# Copyright 2020 Tecnativa - Pedro M. Baeza +# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl). + +from flectra import exceptions +from flectra.modules import registry +from flectra.tests import common +from flectra.tests.common import Form + +from ..hooks import uninstall_hook + + +class TestChainedSwapper(common.SavepointCase): + @classmethod + def setUpClass(cls): + super(TestChainedSwapper, cls).setUpClass() + cls.env["res.lang"].load_lang("es_ES") + res_partner = cls.env["res.partner"] + cls.partner_parent = res_partner.create( + {"name": "parent partner cs", "lang": "en_US"} + ) + cls.partner_child_1 = res_partner.create( + {"name": "partner child1 cs", "parent_id": cls.partner_parent.id} + ) + cls.partner_child_2 = res_partner.create( + {"name": "partner child2 cs", "parent_id": cls.partner_parent.id} + ) + # Prevent duplicate error removing demo data if exists + record = cls.env.ref("chained_swapper.chained_swapper_demo", False) + if record: + record.unlink() + + chained_swapper_form = Form(cls.env["chained.swapper"]) + chained_swapper_form.name = "Language" + chained_swapper_form.model_id = cls.env.ref("base.model_res_partner") + chained_swapper_form.field_id = cls.env.ref("base.field_res_partner__lang") + with chained_swapper_form.sub_field_ids.new() as sub_field_form: + sub_field_form.sub_field_chain = "child_ids.lang" + with chained_swapper_form.constraint_ids.new() as constraint_form: + constraint_form.name = "Only parent company" + constraint_form.expression = "bool(records.mapped('parent_id'))" + + cls.chained_swapper = chained_swapper_form.save() + cls.chained_swapper.add_action() + + def test_create_unlink_action(self): + """Test if Sidebar Action is added / removed to / from given object.""" + action = ( + self.chained_swapper.ref_ir_act_window_id + and self.chained_swapper.ref_ir_act_window_id.binding_model_id + ) + self.assertTrue(action) + # Remove the action + self.chained_swapper.unlink_action() + action = self.chained_swapper.ref_ir_act_window_id + self.assertFalse(action) + # Add an action + self.chained_swapper.add_action() + action = ( + self.chained_swapper.ref_ir_act_window_id + and self.chained_swapper.ref_ir_act_window_id.binding_model_id + ) + self.assertTrue(action) + + def test_unlink_chained_swapper(self): + """Test if related actions are removed when a chained swapper + record is unlinked.""" + action_id = self.chained_swapper.ref_ir_act_window_id.id + self.chained_swapper.unlink() + action = self.env["ir.actions.act_window"].search([("id", "=", action_id)]) + self.assertFalse(action) + + def test_change_constrained_partner_language(self): + with self.assertRaises(exceptions.UserError): + self.env["chained.swapper.wizard"].with_context( + active_model="res.partner", + active_id=self.partner_parent.id, + active_ids=(self.partner_parent | self.partner_child_1).ids, + chained_swapper_id=self.chained_swapper.id, + ).create({"lang": "es_ES"}) + + def test_change_partner_language(self): + self.env["chained.swapper.wizard"].with_context( + active_model="res.partner", + active_id=self.partner_parent.id, + active_ids=[self.partner_parent.id], + chained_swapper_id=self.chained_swapper.id, + ).create({"lang": "es_ES"}) + self.assertEqual(self.partner_parent.lang, "es_ES") + self.assertEqual(self.partner_child_1.lang, "es_ES") + self.assertEqual(self.partner_child_2.lang, "es_ES") + + def test_uninstall_hook(self): + """Test if related actions are removed when mass editing + record is uninstalled.""" + action_id = self.chained_swapper.ref_ir_act_window_id.id + uninstall_hook(self.cr, registry) + self.assertFalse(self.env["ir.actions.act_window"].browse(action_id).exists()) + + def test_invalid_constraint(self): + with self.assertRaises(exceptions.ValidationError): + self.chained_swapper.constraint_ids.write( + {"expression": "Something incorrect"} + ) diff --git a/chained_swapper/views/chained_swapper_views.xml b/chained_swapper/views/chained_swapper_views.xml new file mode 100644 index 0000000..ed6013d --- /dev/null +++ b/chained_swapper/views/chained_swapper_views.xml @@ -0,0 +1,145 @@ + + + + + + chained.swapper.form + chained.swapper + +
+ +
+ + +
+
+
+ + + + + + + + + + + + + + + + + + + + + + + +
+
+
+
+ + chained.swapper.tree + chained.swapper + + + + + + + + + + Field Swaps + chained.swapper + tree,form + + + + chained.swapper.sub.field.tree + chained.swapper.sub.field + + + + + + + + + chained.swapper.constraint.tree + chained.swapper.constraint + + + + + + + + + chained.swapper.constraint.form + chained.swapper.constraint + +
+ + + + + + +
+
+
+ + + + +
diff --git a/chained_swapper/wizard/__init__.py b/chained_swapper/wizard/__init__.py new file mode 100644 index 0000000..f841eb5 --- /dev/null +++ b/chained_swapper/wizard/__init__.py @@ -0,0 +1,3 @@ +# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). + +from . import chained_swapper_wizard diff --git a/chained_swapper/wizard/chained_swapper_wizard.py b/chained_swapper/wizard/chained_swapper_wizard.py new file mode 100644 index 0000000..9165165 --- /dev/null +++ b/chained_swapper/wizard/chained_swapper_wizard.py @@ -0,0 +1,164 @@ +# Copyright 2020 Tecnativa - Ernesto Tejeda +# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl). + +from datetime import date, datetime + +from lxml import etree + +from flectra import _, api, models +from flectra.exceptions import UserError +from flectra.tools.safe_eval import safe_eval + + +class ChainedSwapperWizard(models.TransientModel): + _name = "chained.swapper.wizard" + _description = "Wizard chained swapper" + + @api.model + def default_get(self, fields): + context = self.env.context + if context.get("chained_swapper_id"): + records = self.env[context.get("active_model")].browse( + context.get("active_ids") + ) + exp_dict = { + "records": records, + "env": self.env, + "date": date, + "datetime": datetime, + } + chained_swapper = self.env["chained.swapper"].browse( + context.get("chained_swapper_id") + ) + for constraint in chained_swapper.constraint_ids: + if safe_eval(constraint.expression, exp_dict): + raise UserError( + _("Not possible to swap the field due to the constraint") + + ": " + + constraint.name + ) + return super().default_get(fields) + + @api.model + def fields_view_get( + self, view_id=None, view_type="form", toolbar=False, submenu=False + ): + """As we don't have any field in this model, result['fields'] + and result['arch'] are modified to add dynamically the + corresponding field. + """ + res = super().fields_view_get( + view_id=view_id, + view_type=view_type, + toolbar=toolbar, + submenu=submenu, + ) + if not self.env.context.get("chained_swapper_id"): + return res + chained_swapper = self.env["chained.swapper"].browse( + self.env.context.get("chained_swapper_id") + ) + model_obj = self.env[self.env.context.get("active_model")] + field_info = model_obj.fields_get() + field = chained_swapper.field_id + # Fields dict + all_fields = { + field.name: { + "type": field.ttype, + "string": field.field_description, + "views": {}, + } + } + if field.ttype in ["many2many", "many2one"]: + all_fields[field.name]["relation"] = field.relation + elif field.ttype == "selection": + field_selection = field_info[field.name]["selection"] + all_fields[field.name]["selection"] = field_selection + # XML view definition + doc = etree.XML(res["arch"]) + group_node = doc.xpath("//group[@name='swap_field_group']")[0] + etree.SubElement(group_node, "field", {"name": field.name, "colspan": "4"}) + if field.ttype in ["one2many", "many2many", "text"]: + group_node.set("string", field.field_description) + group_node.set("nolabel", "1") + res.update(arch=etree.tostring(doc, encoding="unicode"), fields=all_fields) + return res + + @api.model + def create(self, vals): + """As we don't have any field in this model, the key-value pair + received in vals dict are only used to change the value in the active + models. + """ + model_obj = self.env[self.env.context.get("active_model")] + context = self.env.context + field_name, new_value = list(vals.items())[0] + # write the active model + model = model_obj.browse(self.env.context.get("active_ids")) + original_values = {m.id: m[field_name] for m in model} + model.write(vals) + if hasattr(model, "message_post"): + self.post_chained_swap(model, field_name, original_values, new_value) + # write chained models + chained_swapper_obj = self.env["chained.swapper"] + chained_swapper = chained_swapper_obj.browse(context.get("chained_swapper_id")) + for sub_field in chained_swapper.sub_field_ids: + chain_fields = sub_field.sub_field_chain.split(".") + field_name = chain_fields.pop() + chain_model = model + for chain_field in chain_fields: + chain_model = chain_model.mapped(chain_field) + original_values = {cm.id: cm[field_name] for cm in chain_model} + chain_model.write({field_name: new_value}) + # post swap + if hasattr(chain_model, "message_post"): + self.post_chained_swap( + chain_model, field_name, original_values, new_value + ) + return super().create({}) + + def change_action(self): + return {"type": "ir.actions.act_window_close"} + + @api.model + def post_chained_swap(self, model, field_name, original_values, new_value): + def human_readable_field(value): + result = value + field_def = model._fields[field_name] + if field_def.type == "selection": + if type(field_def.selection) == list: + selection = field_def.selection + else: + selection = field_def.selection(self) + for selection_item in selection: + if selection_item[0] == value: + result = selection_item[1] + break + elif field_def.type == "many2one": + if type(value) == int: + result = self.env[field_def.comodel_name].browse(value) + result = result.display_name + elif field_def.type == "many2many": + if type(value) == list: + ids = value[0][2] + value = self.env[field_def.comodel_name].browse(ids) + result = str(value.mapped("display_name")) + return result + + field_desc = model._fields[field_name].string + new_value = human_readable_field(new_value) + for m in model: + original_value = human_readable_field(original_values[m.id]) + m.message_post( + body=_("Chained swap done:") + + "
{}: {} ⇒ {}".format(field_desc, original_value, new_value) + ) + + def read(self, fields, load="_classic_read"): + """Without this call, dynamic fields build by fields_view_get() + generate a crash and warning, i.e.: read() with unknown field 'myfield' + """ + real_fields = set(fields) & set(self._fields) + result = super().read(list(real_fields), load=load) + result[0].update({x: False for x in set(fields) - real_fields}) + return result diff --git a/chained_swapper/wizard/chained_swapper_wizard_views.xml b/chained_swapper/wizard/chained_swapper_wizard_views.xml new file mode 100644 index 0000000..083041b --- /dev/null +++ b/chained_swapper/wizard/chained_swapper_wizard_views.xml @@ -0,0 +1,23 @@ + + + + + chained.swapper.wizard.form + chained.swapper.wizard + +
+ +
+
+ +
+
+
diff --git a/mass_editing/COPYRIGHT b/mass_editing/COPYRIGHT index abcdd46..2244a61 100644 --- a/mass_editing/COPYRIGHT +++ b/mass_editing/COPYRIGHT @@ -1,9 +1,7 @@ Most of the files are :Copyright: This stylesheet has been placed in the public domain. - Copyright (C) 2016 Serpent Consulting Services Pvt. Ltd. (support@serpentcs.com) - Copyright (C) 2019-Today GRAP (http://www.grap.coop) - Copyright (C) 2020 - Iván Todorovich (https://twitter.com/ivan.todorovich) + Copyright (C) 2019 - Today: GRAP (http://www.grap.coop) Copyright (C) 2020 - Iván Todorovich Copyright (C) 2020 Iván Todorovich (https://twitter.com/ivantodorovich) Copyright 2016 Serpent Consulting Services Pvt. Ltd. (support@serpentcs.com) From 28171eb67529130f49b7dc87c479b69f8a3d16ad Mon Sep 17 00:00:00 2001 From: Flectra Community Bot Date: Sun, 1 Aug 2021 02:14:00 +0000 Subject: [PATCH 02/21] Automatic Update form OCA2FC Migrator --- README.md | 2 +- base_tier_validation/__manifest__.py | 2 +- .../i18n/base_tier_validation.pot | 24 ++++++++++++++- base_tier_validation/i18n/es.po | 29 +++++++++++++++++-- base_tier_validation/i18n/fr.po | 29 +++++++++++++++++-- base_tier_validation/i18n/nl_NL.po | 29 +++++++++++++++++-- base_tier_validation/i18n/zh_CN.po | 29 +++++++++++++++++-- .../models/tier_definition.py | 19 +++++++++++- base_tier_validation/models/tier_review.py | 14 ++++++++- .../tests/test_tier_validation.py | 23 +++++++++++++++ .../views/tier_definition_view.xml | 7 +++++ 11 files changed, 194 insertions(+), 13 deletions(-) diff --git a/README.md b/README.md index 69c5528..a0f8ddc 100644 --- a/README.md +++ b/README.md @@ -22,7 +22,7 @@ addon | version | summary [multi_step_wizard](multi_step_wizard/) | 2.0.1.0.0| Multi-Steps Wizards [base_technical_features](base_technical_features/) | 2.0.1.1.0| Access to technical features without activating debug mode [base_tier_validation_formula](base_tier_validation_formula/) | 2.0.2.0.0| Formulas for Base tier validation -[base_tier_validation](base_tier_validation/) | 2.0.2.4.0| Implement a validation process based on tiers. +[base_tier_validation](base_tier_validation/) | 2.0.2.5.0| Implement a validation process based on tiers. [base_search_custom_field_filter](base_search_custom_field_filter/) | 2.0.1.0.0| Add custom filters for fields via UI [base_revision](base_revision/) | 2.0.1.0.1| Keep track of revised document [base_export_manager](base_export_manager/) | 2.0.1.0.1| Manage model export profiles diff --git a/base_tier_validation/__manifest__.py b/base_tier_validation/__manifest__.py index a0476c3..b54ce41 100644 --- a/base_tier_validation/__manifest__.py +++ b/base_tier_validation/__manifest__.py @@ -3,7 +3,7 @@ { "name": "Base Tier Validation", "summary": "Implement a validation process based on tiers.", - "version": "2.0.2.4.0", + "version": "2.0.2.5.0", "development_status": "Mature", "maintainers": ["LoisRForgeFlow"], "category": "Tools", diff --git a/base_tier_validation/i18n/base_tier_validation.pot b/base_tier_validation/i18n/base_tier_validation.pot index 7fea642..8cf7107 100644 --- a/base_tier_validation/i18n/base_tier_validation.pot +++ b/base_tier_validation/i18n/base_tier_validation.pot @@ -106,7 +106,7 @@ msgstr "" #. module: base_tier_validation #: model:ir.model.fields.selection,name:base_tier_validation.selection__tier_definition__review_type__group -msgid "Any user in a specific group." +msgid "Any user in a specific group" msgstr "" #. module: base_tier_validation @@ -237,6 +237,11 @@ msgstr "" msgid "Done by" msgstr "" +#. module: base_tier_validation +#: model:ir.model.fields.selection,name:base_tier_validation.selection__tier_definition__review_type__field +msgid "Field in related record" +msgstr "" + #. module: base_tier_validation #: code:addons/base_tier_validation/models/tier_review.py:0 #, python-format @@ -406,6 +411,12 @@ msgstr "" msgid "Reviewer" msgstr "" +#. module: base_tier_validation +#: model:ir.model.fields,field_description:base_tier_validation.field_tier_definition__reviewer_field_id +#: model:ir.model.fields,field_description:base_tier_validation.field_tier_review__reviewer_field_id +msgid "Reviewer field" +msgstr "" + #. module: base_tier_validation #: model:ir.model.fields,field_description:base_tier_validation.field_tier_definition__reviewer_group_id #: model:ir.model.fields,field_description:base_tier_validation.field_tier_review__reviewer_group_id @@ -461,6 +472,12 @@ msgstr "" msgid "The review has been reset by %s." msgstr "" +#. module: base_tier_validation +#: code:addons/base_tier_validation/models/tier_review.py:0 +#, python-format +msgid "There are no res.users in the selected field" +msgstr "" + #. module: base_tier_validation #: code:addons/base_tier_validation/models/tier_validation.py:0 #, python-format @@ -531,6 +548,11 @@ msgstr "" msgid "Users" msgstr "" +#. module: base_tier_validation +#: model:ir.model.fields,field_description:base_tier_validation.field_tier_definition__valid_reviewer_field_ids +msgid "Valid Reviewer Field" +msgstr "" + #. module: base_tier_validation #: model_terms:ir.ui.view,arch_db:base_tier_validation.tier_validation_label msgid "Validate" diff --git a/base_tier_validation/i18n/es.po b/base_tier_validation/i18n/es.po index 0e09019..964f694 100644 --- a/base_tier_validation/i18n/es.po +++ b/base_tier_validation/i18n/es.po @@ -120,8 +120,8 @@ msgstr "Todos" #. module: base_tier_validation #: model:ir.model.fields.selection,name:base_tier_validation.selection__tier_definition__review_type__group -msgid "Any user in a specific group." -msgstr "Cualquier usuario en el grupo especificado." +msgid "Any user in a specific group" +msgstr "" #. module: base_tier_validation #: model_terms:ir.ui.view,arch_db:base_tier_validation.tier_definition_view_form @@ -253,6 +253,11 @@ msgstr "Hecho Por" msgid "Done by" msgstr "Hecho Por" +#. module: base_tier_validation +#: model:ir.model.fields.selection,name:base_tier_validation.selection__tier_definition__review_type__field +msgid "Field in related record" +msgstr "" + #. module: base_tier_validation #: code:addons/base_tier_validation/models/tier_review.py:0 #, python-format @@ -429,6 +434,12 @@ msgstr "Revisor" msgid "Reviewer" msgstr "Revisor" +#. module: base_tier_validation +#: model:ir.model.fields,field_description:base_tier_validation.field_tier_definition__reviewer_field_id +#: model:ir.model.fields,field_description:base_tier_validation.field_tier_review__reviewer_field_id +msgid "Reviewer field" +msgstr "" + #. module: base_tier_validation #: model:ir.model.fields,field_description:base_tier_validation.field_tier_definition__reviewer_group_id #: model:ir.model.fields,field_description:base_tier_validation.field_tier_review__reviewer_group_id @@ -484,6 +495,12 @@ msgstr "Esta operación está en proceso de validación." msgid "The review has been reset by %s." msgstr "" +#. module: base_tier_validation +#: code:addons/base_tier_validation/models/tier_review.py:0 +#, python-format +msgid "There are no res.users in the selected field" +msgstr "" + #. module: base_tier_validation #: code:addons/base_tier_validation/models/tier_validation.py:0 #, python-format @@ -558,6 +575,11 @@ msgstr "" msgid "Users" msgstr "Usuarios" +#. module: base_tier_validation +#: model:ir.model.fields,field_description:base_tier_validation.field_tier_definition__valid_reviewer_field_ids +msgid "Valid Reviewer Field" +msgstr "" + #. module: base_tier_validation #: model_terms:ir.ui.view,arch_db:base_tier_validation.tier_validation_label msgid "Validate" @@ -598,6 +620,9 @@ msgstr "Validaciones" msgid "e.g. Tier Validation for..." msgstr "ej. Validación de Nivel por..." +#~ msgid "Any user in a specific group." +#~ msgstr "Cualquier usuario en el grupo especificado." + #~ msgid "Tier" #~ msgstr "Nivel" diff --git a/base_tier_validation/i18n/fr.po b/base_tier_validation/i18n/fr.po index b9f7010..27311fd 100644 --- a/base_tier_validation/i18n/fr.po +++ b/base_tier_validation/i18n/fr.po @@ -122,8 +122,8 @@ msgstr "Tout" #. module: base_tier_validation #: model:ir.model.fields.selection,name:base_tier_validation.selection__tier_definition__review_type__group -msgid "Any user in a specific group." -msgstr "Tout utilisateur d'un groupe spécifique." +msgid "Any user in a specific group" +msgstr "" #. module: base_tier_validation #: model_terms:ir.ui.view,arch_db:base_tier_validation.tier_definition_view_form @@ -253,6 +253,11 @@ msgstr "Fait par" msgid "Done by" msgstr "Fait par" +#. module: base_tier_validation +#: model:ir.model.fields.selection,name:base_tier_validation.selection__tier_definition__review_type__field +msgid "Field in related record" +msgstr "" + #. module: base_tier_validation #: code:addons/base_tier_validation/models/tier_review.py:0 #, python-format @@ -422,6 +427,12 @@ msgstr "Vérification" msgid "Reviewer" msgstr "Vérificateur" +#. module: base_tier_validation +#: model:ir.model.fields,field_description:base_tier_validation.field_tier_definition__reviewer_field_id +#: model:ir.model.fields,field_description:base_tier_validation.field_tier_review__reviewer_field_id +msgid "Reviewer field" +msgstr "" + #. module: base_tier_validation #: model:ir.model.fields,field_description:base_tier_validation.field_tier_definition__reviewer_group_id #: model:ir.model.fields,field_description:base_tier_validation.field_tier_review__reviewer_group_id @@ -477,6 +488,12 @@ msgstr "" msgid "The review has been reset by %s." msgstr "" +#. module: base_tier_validation +#: code:addons/base_tier_validation/models/tier_review.py:0 +#, python-format +msgid "There are no res.users in the selected field" +msgstr "" + #. module: base_tier_validation #: code:addons/base_tier_validation/models/tier_validation.py:0 #, python-format @@ -547,6 +564,11 @@ msgstr "A faire par" msgid "Users" msgstr "Utilisateurs" +#. module: base_tier_validation +#: model:ir.model.fields,field_description:base_tier_validation.field_tier_definition__valid_reviewer_field_ids +msgid "Valid Reviewer Field" +msgstr "" + #. module: base_tier_validation #: model_terms:ir.ui.view,arch_db:base_tier_validation.tier_validation_label msgid "Validate" @@ -585,3 +607,6 @@ msgstr "" #: model_terms:ir.ui.view,arch_db:base_tier_validation.tier_definition_view_form msgid "e.g. Tier Validation for..." msgstr "ie Validation par un tiers pour..." + +#~ msgid "Any user in a specific group." +#~ msgstr "Tout utilisateur d'un groupe spécifique." diff --git a/base_tier_validation/i18n/nl_NL.po b/base_tier_validation/i18n/nl_NL.po index 7f5c480..b9c0784 100644 --- a/base_tier_validation/i18n/nl_NL.po +++ b/base_tier_validation/i18n/nl_NL.po @@ -109,8 +109,8 @@ msgstr "Alle" #. module: base_tier_validation #: model:ir.model.fields.selection,name:base_tier_validation.selection__tier_definition__review_type__group -msgid "Any user in a specific group." -msgstr "Elke gebruiker in een specifieke groep." +msgid "Any user in a specific group" +msgstr "" #. module: base_tier_validation #: model_terms:ir.ui.view,arch_db:base_tier_validation.tier_definition_view_form @@ -240,6 +240,11 @@ msgstr "Gedaan door" msgid "Done by" msgstr "Gedaan door" +#. module: base_tier_validation +#: model:ir.model.fields.selection,name:base_tier_validation.selection__tier_definition__review_type__field +msgid "Field in related record" +msgstr "" + #. module: base_tier_validation #: code:addons/base_tier_validation/models/tier_review.py:0 #, python-format @@ -411,6 +416,12 @@ msgstr "Beoordeling" msgid "Reviewer" msgstr "Beoordelaar" +#. module: base_tier_validation +#: model:ir.model.fields,field_description:base_tier_validation.field_tier_definition__reviewer_field_id +#: model:ir.model.fields,field_description:base_tier_validation.field_tier_review__reviewer_field_id +msgid "Reviewer field" +msgstr "" + #. module: base_tier_validation #: model:ir.model.fields,field_description:base_tier_validation.field_tier_definition__reviewer_group_id #: model:ir.model.fields,field_description:base_tier_validation.field_tier_review__reviewer_group_id @@ -466,6 +477,12 @@ msgstr "De bewerking is onder validatie." msgid "The review has been reset by %s." msgstr "" +#. module: base_tier_validation +#: code:addons/base_tier_validation/models/tier_review.py:0 +#, python-format +msgid "There are no res.users in the selected field" +msgstr "" + #. module: base_tier_validation #: code:addons/base_tier_validation/models/tier_validation.py:0 #, python-format @@ -540,6 +557,11 @@ msgstr "" msgid "Users" msgstr "Gebruikers" +#. module: base_tier_validation +#: model:ir.model.fields,field_description:base_tier_validation.field_tier_definition__valid_reviewer_field_ids +msgid "Valid Reviewer Field" +msgstr "" + #. module: base_tier_validation #: model_terms:ir.ui.view,arch_db:base_tier_validation.tier_validation_label msgid "Validate" @@ -579,6 +601,9 @@ msgstr "Validaties" msgid "e.g. Tier Validation for..." msgstr "bijv. Tier validatie voor..." +#~ msgid "Any user in a specific group." +#~ msgstr "Elke gebruiker in een specifieke groep." + #~ msgid "Tier" #~ msgstr "Tier" diff --git a/base_tier_validation/i18n/zh_CN.po b/base_tier_validation/i18n/zh_CN.po index 0fb81e1..3375986 100644 --- a/base_tier_validation/i18n/zh_CN.po +++ b/base_tier_validation/i18n/zh_CN.po @@ -109,8 +109,8 @@ msgstr "所有" #. module: base_tier_validation #: model:ir.model.fields.selection,name:base_tier_validation.selection__tier_definition__review_type__group -msgid "Any user in a specific group." -msgstr "指定权限组" +msgid "Any user in a specific group" +msgstr "" #. module: base_tier_validation #: model_terms:ir.ui.view,arch_db:base_tier_validation.tier_definition_view_form @@ -240,6 +240,11 @@ msgstr "审批人" msgid "Done by" msgstr "审批人" +#. module: base_tier_validation +#: model:ir.model.fields.selection,name:base_tier_validation.selection__tier_definition__review_type__field +msgid "Field in related record" +msgstr "" + #. module: base_tier_validation #: code:addons/base_tier_validation/models/tier_review.py:0 #, python-format @@ -409,6 +414,12 @@ msgstr "审批" msgid "Reviewer" msgstr "审批人" +#. module: base_tier_validation +#: model:ir.model.fields,field_description:base_tier_validation.field_tier_definition__reviewer_field_id +#: model:ir.model.fields,field_description:base_tier_validation.field_tier_review__reviewer_field_id +msgid "Reviewer field" +msgstr "" + #. module: base_tier_validation #: model:ir.model.fields,field_description:base_tier_validation.field_tier_definition__reviewer_group_id #: model:ir.model.fields,field_description:base_tier_validation.field_tier_review__reviewer_group_id @@ -464,6 +475,12 @@ msgstr "该操作正在审批中。" msgid "The review has been reset by %s." msgstr "" +#. module: base_tier_validation +#: code:addons/base_tier_validation/models/tier_review.py:0 +#, python-format +msgid "There are no res.users in the selected field" +msgstr "" + #. module: base_tier_validation #: code:addons/base_tier_validation/models/tier_validation.py:0 #, python-format @@ -538,6 +555,11 @@ msgstr "" msgid "Users" msgstr "用户" +#. module: base_tier_validation +#: model:ir.model.fields,field_description:base_tier_validation.field_tier_definition__valid_reviewer_field_ids +msgid "Valid Reviewer Field" +msgstr "" + #. module: base_tier_validation #: model_terms:ir.ui.view,arch_db:base_tier_validation.tier_validation_label msgid "Validate" @@ -577,6 +599,9 @@ msgstr "审批" msgid "e.g. Tier Validation for..." msgstr "例如:审批层级用于..." +#~ msgid "Any user in a specific group." +#~ msgstr "指定权限组" + #~ msgid "Tier" #~ msgstr "层级" diff --git a/base_tier_validation/models/tier_definition.py b/base_tier_validation/models/tier_definition.py index 4091a5a..4d22170 100644 --- a/base_tier_validation/models/tier_definition.py +++ b/base_tier_validation/models/tier_definition.py @@ -34,13 +34,23 @@ class TierDefinition(models.Model): default="individual", selection=[ ("individual", "Specific user"), - ("group", "Any user in a specific group."), + ("group", "Any user in a specific group"), + ("field", "Field in related record"), ], ) reviewer_id = fields.Many2one(comodel_name="res.users", string="Reviewer") reviewer_group_id = fields.Many2one( comodel_name="res.groups", string="Reviewer group" ) + reviewer_field_id = fields.Many2one( + comodel_name="ir.model.fields", + string="Reviewer field", + domain="[('id', 'in', valid_reviewer_field_ids)]", + ) + valid_reviewer_field_ids = fields.One2many( + comodel_name="ir.model.fields", + compute="_compute_domain_reviewer_field", + ) definition_type = fields.Selection( string="Definition", selection=[("domain", "Domain")], default="domain" ) @@ -68,3 +78,10 @@ class TierDefinition(models.Model): def onchange_review_type(self): self.reviewer_id = None self.reviewer_group_id = None + + @api.depends("review_type", "model_id") + def _compute_domain_reviewer_field(self): + for rec in self: + rec.valid_reviewer_field_ids = self.env["ir.model.fields"].search( + [("model", "=", rec.model), ("relation", "=", "res.users")] + ) diff --git a/base_tier_validation/models/tier_review.py b/base_tier_validation/models/tier_review.py index 091c565..42f7f5f 100644 --- a/base_tier_validation/models/tier_review.py +++ b/base_tier_validation/models/tier_review.py @@ -2,6 +2,7 @@ # License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl). from flectra import _, api, fields, models +from flectra.exceptions import ValidationError class TierReview(models.Model): @@ -29,6 +30,9 @@ class TierReview(models.Model): reviewer_group_id = fields.Many2one( related="definition_id.reviewer_group_id", readonly=True ) + reviewer_field_id = fields.Many2one( + related="definition_id.reviewer_field_id", readonly=True + ) reviewer_ids = fields.Many2many( string="Reviewers", comodel_name="res.users", @@ -94,4 +98,12 @@ class TierReview(models.Model): rec.todo_by = todo_by def _get_reviewers(self): - return self.reviewer_id + self.reviewer_group_id.users + if self.reviewer_id or self.reviewer_group_id.users: + return self.reviewer_id + self.reviewer_group_id.users + reviewer_field = self.env["res.users"] + if self.reviewer_field_id: + resource = self.env[self.model].browse(self.res_id) + reviewer_field = getattr(resource, self.reviewer_field_id.name, False) + if not reviewer_field or not reviewer_field._name == "res.users": + raise ValidationError(_("There are no res.users in the selected field")) + return reviewer_field diff --git a/base_tier_validation/tests/test_tier_validation.py b/base_tier_validation/tests/test_tier_validation.py index b4aa5f0..8dbe60a 100644 --- a/base_tier_validation/tests/test_tier_validation.py +++ b/base_tier_validation/tests/test_tier_validation.py @@ -413,6 +413,29 @@ class TierTierValidation(CommonTierValidation): ) self.assertEquals(len(records), 0) + def test_18_test_review_by_res_users_field(self): + selected_field = self.env["ir.model.fields"].search( + [("model", "=", self.test_model._name), ("name", "=", "user_id")] + ) + test_record = self.test_model.create( + {"test_field": 2.5, "user_id": self.test_user_2.id} + ) + + definition = self.env["tier.definition"].create( + { + "model_id": self.tester_model.id, + "review_type": "field", + "reviewer_field_id": selected_field.id, + "definition_domain": "[('test_field', '>', 1.0)]", + "approve_sequence": True, + } + ) + + reviews = test_record.request_validation() + review = reviews.filtered(lambda r: r.definition_id == definition) + self.assertTrue(review) + self.assertEqual(review.reviewer_ids, self.test_user_2) + @tagged("at_install") class TierTierValidationView(CommonTierValidation): diff --git a/base_tier_validation/views/tier_definition_view.xml b/base_tier_validation/views/tier_definition_view.xml index 81b5a17..94a06d7 100644 --- a/base_tier_validation/views/tier_definition_view.xml +++ b/base_tier_validation/views/tier_definition_view.xml @@ -12,6 +12,7 @@ + @@ -55,6 +56,12 @@ name="reviewer_group_id" attrs="{'invisible': [('review_type', '!=', 'group')]}" /> + + Date: Sun, 15 Aug 2021 02:11:58 +0000 Subject: [PATCH 03/21] Automatic Update form OCA2FC Migrator --- .gitlab-ci.yml | 36 +- README.md | 1 + base_tier_validation/i18n/it.po | 613 ++++++++++++++++ mass_operation_abstract/COPYRIGHT | 16 + mass_operation_abstract/LICENSE | 663 ++++++++++++++++++ mass_operation_abstract/README.rst | 98 +++ mass_operation_abstract/__init__.py | 2 + mass_operation_abstract/__manifest__.py | 21 + mass_operation_abstract/demo/res_groups.xml | 11 + mass_operation_abstract/i18n/es.po | 191 +++++ mass_operation_abstract/i18n/fr.po | 199 ++++++ mass_operation_abstract/i18n/it.po | 197 ++++++ .../i18n/mass_operation_abstract.pot | 188 +++++ mass_operation_abstract/models/__init__.py | 1 + .../models/mass_operation_mixin.py | 95 +++ .../static/description/icon.png | Bin 0 -> 9455 bytes .../static/description/index.html | 446 ++++++++++++ mass_operation_abstract/views/menu.xml | 16 + .../views/view_mass_operation_mixin.xml | 105 +++ .../view_mass_operation_wizard_mixin.xml | 61 ++ mass_operation_abstract/wizard/__init__.py | 1 + .../wizard/mass_operation_wizard_mixin.py | 130 ++++ 22 files changed, 3090 insertions(+), 1 deletion(-) create mode 100644 base_tier_validation/i18n/it.po create mode 100644 mass_operation_abstract/COPYRIGHT create mode 100644 mass_operation_abstract/LICENSE create mode 100644 mass_operation_abstract/README.rst create mode 100644 mass_operation_abstract/__init__.py create mode 100644 mass_operation_abstract/__manifest__.py create mode 100644 mass_operation_abstract/demo/res_groups.xml create mode 100644 mass_operation_abstract/i18n/es.po create mode 100644 mass_operation_abstract/i18n/fr.po create mode 100644 mass_operation_abstract/i18n/it.po create mode 100644 mass_operation_abstract/i18n/mass_operation_abstract.pot create mode 100644 mass_operation_abstract/models/__init__.py create mode 100644 mass_operation_abstract/models/mass_operation_mixin.py create mode 100644 mass_operation_abstract/static/description/icon.png create mode 100644 mass_operation_abstract/static/description/index.html create mode 100644 mass_operation_abstract/views/menu.xml create mode 100644 mass_operation_abstract/views/view_mass_operation_mixin.xml create mode 100644 mass_operation_abstract/views/view_mass_operation_wizard_mixin.xml create mode 100644 mass_operation_abstract/wizard/__init__.py create mode 100644 mass_operation_abstract/wizard/mass_operation_wizard_mixin.py diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 07ee644..cf65e1f 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -44,7 +44,7 @@ test_all_modules: --db_password flectra --database test_all --test-enable - --init base_cancel_confirm,filter_multi_user,default_multi_user,sequence_reset_period,sequence_check_digit,base_import_security_group,date_range,base_tier_validation_forward,base_menu_visibility_restriction,barcode_action,multi_step_wizard,base_technical_features,base_tier_validation_formula,base_tier_validation,base_search_custom_field_filter,base_revision,base_export_manager,document_quick_access,mass_editing,base_tier_validation_server_action,chained_swapper,base_optional_quick_create + --init base_cancel_confirm,filter_multi_user,default_multi_user,sequence_reset_period,sequence_check_digit,base_import_security_group,date_range,base_tier_validation_forward,base_menu_visibility_restriction,barcode_action,multi_step_wizard,base_technical_features,base_tier_validation_formula,base_tier_validation,base_search_custom_field_filter,base_revision,base_export_manager,document_quick_access,mass_editing,base_tier_validation_server_action,mass_operation_abstract,chained_swapper,base_optional_quick_create --stop-after-init --log-level error --log-handler flectra.addons.base_cancel_confirm:TEST @@ -67,6 +67,7 @@ test_all_modules: --log-handler flectra.addons.document_quick_access:TEST --log-handler flectra.addons.mass_editing:TEST --log-handler flectra.addons.base_tier_validation_server_action:TEST + --log-handler flectra.addons.mass_operation_abstract:TEST --log-handler flectra.addons.chained_swapper:TEST --log-handler flectra.addons.base_optional_quick_create:TEST " @@ -732,6 +733,39 @@ test_module_base_tier_validation_server_action: --log-level error --log-handler flectra.addons.base_tier_validation_server_action:TEST" +test_module_mass_operation_abstract: + stage: testsingle + when: on_failure + image: + name: registry.gitlab.com/jamotion/flectra/ubuntudev:2-latest + entrypoint: ["/bin/sh", "-c"] + script: + - apt-get install -y p7zip-full + - apt install -y expect-dev + - pip3 install -r ${CI_PROJECT_DIR}/requirements.txt + - su - flectra -c "mkdir ~/others" + - 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_mass_operation_abstract + - psql -h psql -U flectra -d test_mass_operation_abstract -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_mass_operation_abstract + - chown -R flectra.flectra /opt/flectra/.local/share/filestore/test_mass_operation_abstract + - su - flectra -c "/opt/flectra/flectra-bin + --addons-path ${CI_PROJECT_DIR} + --db_host psql + --db_port 5432 + --db_user flectra + --db_password flectra + --database test_mass_operation_abstract + --test-enable -i mass_operation_abstract + --stop-after-init + --log-level error + --log-handler flectra.addons.mass_operation_abstract:TEST" + test_module_chained_swapper: stage: testsingle when: on_failure diff --git a/README.md b/README.md index a0f8ddc..7dbb0ca 100644 --- a/README.md +++ b/README.md @@ -29,6 +29,7 @@ addon | version | summary [document_quick_access](document_quick_access/) | 2.0.1.0.0| Document quick access [mass_editing](mass_editing/) | 2.0.1.0.1| Mass Editing [base_tier_validation_server_action](base_tier_validation_server_action/) | 2.0.1.1.1| Add option to call server action when a tier is validated +[mass_operation_abstract](mass_operation_abstract/) | 2.0.1.0.0| Abstract Tools used for modules that realize operation on many items [chained_swapper](chained_swapper/) | 2.0.1.0.0| Chained Swapper [base_optional_quick_create](base_optional_quick_create/) | 2.0.1.0.0| Avoid "quick create" on m2o fields, on a "by model" basis diff --git a/base_tier_validation/i18n/it.po b/base_tier_validation/i18n/it.po new file mode 100644 index 0000000..504ef99 --- /dev/null +++ b/base_tier_validation/i18n/it.po @@ -0,0 +1,613 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * base_tier_validation +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 14.0\n" +"Report-Msgid-Bugs-To: \n" +"PO-Revision-Date: 2021-08-11 22:50+0000\n" +"Last-Translator: Alessandro Fiorino \n" +"Language-Team: none\n" +"Language: it\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Plural-Forms: nplurals=2; plural=n != 1;\n" +"X-Generator: Weblate 4.3.2\n" + +#. module: base_tier_validation +#. openerp-web +#: code:addons/base_tier_validation/static/src/xml/systray.xml:0 +#, python-format +msgid "0 Pending" +msgstr "0 In attesa" + +#. module: base_tier_validation +#: model_terms:ir.ui.view,arch_db:base_tier_validation.tier_validation_label +msgid "" +"\n" +" This Record needs to be\n" +" validated." +msgstr "" +"\n" +" Questo Record necessita di\n" +" approvazione." + +#. module: base_tier_validation +#: model_terms:ir.ui.view,arch_db:base_tier_validation.tier_validation_label +msgid "" +"\n" +" Operation has been\n" +" rejected\n" +" ." +msgstr "" +"\n" +" L'operazione è stata\n" +" rifiutata\n" +" ." + +#. module: base_tier_validation +#: model_terms:ir.ui.view,arch_db:base_tier_validation.tier_validation_label +msgid "" +"\n" +" Operation has been\n" +" validated\n" +" !" +msgstr "" +"\n" +" L'operazione è stata\n" +" approvata\n" +" !" + +#. module: base_tier_validation +#: model_terms:ir.ui.view,arch_db:base_tier_validation.tier_definition_view_form +msgid "Name" +msgstr "Nome" + +#. module: base_tier_validation +#: code:addons/base_tier_validation/models/tier_validation.py:0 +#, python-format +msgid "A review has been requested by %s." +msgstr "Un'approvazione è stata richiesta da %s." + +#. module: base_tier_validation +#: code:addons/base_tier_validation/models/tier_validation.py:0 +#, python-format +msgid "A review was accepted" +msgstr "Un'approvazione è stata accettata" + +#. module: base_tier_validation +#: code:addons/base_tier_validation/models/tier_validation.py:0 +#, python-format +msgid "A review was accepted. (%s)" +msgstr "Un'approvazione è stata accettata. (%s)" + +#. module: base_tier_validation +#: code:addons/base_tier_validation/models/tier_validation.py:0 +#, python-format +msgid "A review was rejected by %s." +msgstr "Un'approvazione è stata rifiutata da %s." + +#. module: base_tier_validation +#: code:addons/base_tier_validation/models/tier_validation.py:0 +#, python-format +msgid "A review was rejected by {}. ({})" +msgstr "Un'approvazione è stata rifiutata da {}. ({})" + +#. module: base_tier_validation +#: code:addons/base_tier_validation/models/tier_validation.py:0 +#, python-format +msgid "A validation process is still open for at least one record." +msgstr "Un processo di approvazione è ancora aperto per almeno un record." + +#. module: base_tier_validation +#: model:ir.model.fields,field_description:base_tier_validation.field_tier_definition__active +msgid "Active" +msgstr "Attivo" + +#. module: base_tier_validation +#. openerp-web +#: code:addons/base_tier_validation/static/src/xml/systray.xml:0 +#, python-format +msgid "Activities" +msgstr "Attività" + +#. module: base_tier_validation +#: model_terms:ir.ui.view,arch_db:base_tier_validation.tier_definition_view_search +msgid "All" +msgstr "Tutto" + +#. module: base_tier_validation +#: model:ir.model.fields.selection,name:base_tier_validation.selection__tier_definition__review_type__group +msgid "Any user in a specific group" +msgstr "Qualunque utente in un gruppo specifico" + +#. module: base_tier_validation +#: model_terms:ir.ui.view,arch_db:base_tier_validation.tier_definition_view_form +msgid "Apply On" +msgstr "Applica A" + +#. module: base_tier_validation +#: model:ir.model.fields,help:base_tier_validation.field_tier_definition__approve_sequence +#: model:ir.model.fields,help:base_tier_validation.field_tier_review__approve_sequence +msgid "Approval order by the specified sequence number" +msgstr "Ordine di approvazione specificato da numero sequenza" + +#. module: base_tier_validation +#: model:ir.model.fields,field_description:base_tier_validation.field_tier_definition__approve_sequence +#: model:ir.model.fields,field_description:base_tier_validation.field_tier_review__approve_sequence +msgid "Approve by sequence" +msgstr "Approva in sequenza" + +#. module: base_tier_validation +#: model:ir.model.fields.selection,name:base_tier_validation.selection__tier_review__status__approved +msgid "Approved" +msgstr "Approvato" + +#. module: base_tier_validation +#: model:ir.model.fields,field_description:base_tier_validation.field_tier_review__can_review +#: model:ir.model.fields,field_description:base_tier_validation.field_tier_validation__can_review +msgid "Can Review" +msgstr "Può approvare" + +#. module: base_tier_validation +#: model:ir.model.fields,help:base_tier_validation.field_tier_review__can_review +msgid "" +"Can review will be marked if the review is pending and the\n" +" approve sequence has been achieved" +msgstr "" + +#. module: base_tier_validation +#: model_terms:ir.ui.view,arch_db:base_tier_validation.view_comment_wizard +msgid "Cancel" +msgstr "Annulla" + +#. module: base_tier_validation +#. openerp-web +#: code:addons/base_tier_validation/models/tier_validation.py:0 +#: code:addons/base_tier_validation/static/src/xml/tier_review_template.xml:0 +#: model:ir.model.fields,field_description:base_tier_validation.field_comment_wizard__comment +#: model:ir.model.fields,field_description:base_tier_validation.field_tier_definition__has_comment +#: model:ir.model.fields,field_description:base_tier_validation.field_tier_review__has_comment +#: model_terms:ir.ui.view,arch_db:base_tier_validation.view_comment_wizard +#, python-format +msgid "Comment" +msgstr "Commento" + +#. module: base_tier_validation +#: model:ir.model,name:base_tier_validation.model_comment_wizard +msgid "Comment Wizard" +msgstr "Wizard Commento" + +#. module: base_tier_validation +#: model:ir.model.fields,field_description:base_tier_validation.field_tier_review__comment +msgid "Comments" +msgstr "Commenti" + +#. module: base_tier_validation +#: model:ir.model.fields,field_description:base_tier_validation.field_tier_definition__company_id +#: model:ir.model.fields,field_description:base_tier_validation.field_tier_review__company_id +msgid "Company" +msgstr "Azienda" + +#. module: base_tier_validation +#: model:ir.model.fields,field_description:base_tier_validation.field_comment_wizard__create_uid +#: model:ir.model.fields,field_description:base_tier_validation.field_tier_definition__create_uid +#: model:ir.model.fields,field_description:base_tier_validation.field_tier_review__create_uid +msgid "Created by" +msgstr "Creato da" + +#. module: base_tier_validation +#: model:ir.model.fields,field_description:base_tier_validation.field_comment_wizard__create_date +#: model:ir.model.fields,field_description:base_tier_validation.field_tier_definition__create_date +#: model:ir.model.fields,field_description:base_tier_validation.field_tier_review__create_date +msgid "Created on" +msgstr "Creato il" + +#. module: base_tier_validation +#: model:ir.model.fields,field_description:base_tier_validation.field_tier_definition__definition_type +#: model:ir.model.fields,field_description:base_tier_validation.field_tier_review__definition_id +msgid "Definition" +msgstr "Definizione" + +#. module: base_tier_validation +#: model:ir.model.fields,field_description:base_tier_validation.field_tier_definition__definition_domain +msgid "Definition Domain" +msgstr "Dominio Definizione" + +#. module: base_tier_validation +#. openerp-web +#: code:addons/base_tier_validation/static/src/xml/tier_review_template.xml:0 +#: model:ir.model.fields,field_description:base_tier_validation.field_tier_definition__name +#: model:ir.model.fields,field_description:base_tier_validation.field_tier_review__name +#, python-format +msgid "Description" +msgstr "Descrizione" + +#. module: base_tier_validation +#: model:ir.model.fields,field_description:base_tier_validation.field_comment_wizard__display_name +#: model:ir.model.fields,field_description:base_tier_validation.field_res_users__display_name +#: model:ir.model.fields,field_description:base_tier_validation.field_tier_definition__display_name +#: model:ir.model.fields,field_description:base_tier_validation.field_tier_review__display_name +#: model:ir.model.fields,field_description:base_tier_validation.field_tier_validation__display_name +msgid "Display Name" +msgstr "Nome Visualizzato" + +#. module: base_tier_validation +#: model:ir.model.fields.selection,name:base_tier_validation.selection__tier_definition__definition_type__domain +msgid "Domain" +msgstr "Dominio" + +#. module: base_tier_validation +#: model:ir.model.fields,field_description:base_tier_validation.field_tier_review__done_by +msgid "Done By" +msgstr "Eseguito Da" + +#. module: base_tier_validation +#. openerp-web +#: code:addons/base_tier_validation/static/src/xml/tier_review_template.xml:0 +#, python-format +msgid "Done by" +msgstr "Eseguito da" + +#. module: base_tier_validation +#: model:ir.model.fields.selection,name:base_tier_validation.selection__tier_definition__review_type__field +msgid "Field in related record" +msgstr "Campo in record collegato" + +#. module: base_tier_validation +#: code:addons/base_tier_validation/models/tier_review.py:0 +#, python-format +msgid "Group %s" +msgstr "Gruppo %s" + +#. module: base_tier_validation +#: model_terms:ir.ui.view,arch_db:base_tier_validation.tier_definition_view_search +msgid "Group By" +msgstr "Raggruppa Per" + +#. module: base_tier_validation +#: model:ir.model.fields,field_description:base_tier_validation.field_tier_validation__has_comment +msgid "Has Comment" +msgstr "Ha commenti" + +#. module: base_tier_validation +#: model:ir.model.fields,field_description:base_tier_validation.field_comment_wizard__id +#: model:ir.model.fields,field_description:base_tier_validation.field_res_users__id +#: model:ir.model.fields,field_description:base_tier_validation.field_tier_definition__id +#: model:ir.model.fields,field_description:base_tier_validation.field_tier_review__id +#: model:ir.model.fields,field_description:base_tier_validation.field_tier_validation__id +msgid "ID" +msgstr "ID" + +#. module: base_tier_validation +#: model:ir.model.fields,help:base_tier_validation.field_tier_definition__notify_on_create +msgid "" +"If set, all possible reviewers will be notified by email when this " +"definition is triggered." +msgstr "" +"Se impostato, tutti i possibili approvatori saranno notificati via email " +"quando la definizione è attivata." + +#. module: base_tier_validation +#: model:ir.model.fields,field_description:base_tier_validation.field_comment_wizard____last_update +#: model:ir.model.fields,field_description:base_tier_validation.field_res_users____last_update +#: model:ir.model.fields,field_description:base_tier_validation.field_tier_definition____last_update +#: model:ir.model.fields,field_description:base_tier_validation.field_tier_review____last_update +#: model:ir.model.fields,field_description:base_tier_validation.field_tier_validation____last_update +msgid "Last Modified on" +msgstr "Ultima Modifica il" + +#. module: base_tier_validation +#: model:ir.model.fields,field_description:base_tier_validation.field_comment_wizard__write_uid +#: model:ir.model.fields,field_description:base_tier_validation.field_tier_definition__write_uid +#: model:ir.model.fields,field_description:base_tier_validation.field_tier_review__write_uid +msgid "Last Updated by" +msgstr "Ultimo Aggiornamento il" + +#. module: base_tier_validation +#: model:ir.model.fields,field_description:base_tier_validation.field_comment_wizard__write_date +#: model:ir.model.fields,field_description:base_tier_validation.field_tier_definition__write_date +#: model:ir.model.fields,field_description:base_tier_validation.field_tier_review__write_date +msgid "Last Updated on" +msgstr "Ultimo Aggiornamento il" + +#. module: base_tier_validation +#: model:ir.model.fields,field_description:base_tier_validation.field_tier_definition__model +#: model_terms:ir.ui.view,arch_db:base_tier_validation.tier_definition_view_search +msgid "Model" +msgstr "Modello" + +#. module: base_tier_validation +#: model_terms:ir.ui.view,arch_db:base_tier_validation.tier_definition_view_form +msgid "More Options" +msgstr "Più Opzioni" + +#. module: base_tier_validation +#: model:ir.model.fields,field_description:base_tier_validation.field_tier_validation__need_validation +msgid "Need Validation" +msgstr "Richiede Approvazione" + +#. module: base_tier_validation +#: code:addons/base_tier_validation/models/tier_definition.py:0 +#, python-format +msgid "New Tier Validation" +msgstr "Nuovo Livello Approvazione" + +#. module: base_tier_validation +#. openerp-web +#: code:addons/base_tier_validation/static/src/xml/systray.xml:0 +#, python-format +msgid "No reviews to do." +msgstr "Nessuna approvazione da fare." + +#. module: base_tier_validation +#: model:ir.model.fields,field_description:base_tier_validation.field_tier_definition__notify_on_create +msgid "Notify Reviewers on Creation" +msgstr "Notifica Approvatori su Creazione" + +#. module: base_tier_validation +#. openerp-web +#: code:addons/base_tier_validation/static/src/xml/systray.xml:0 +#: model:ir.model.fields.selection,name:base_tier_validation.selection__tier_review__status__pending +#, python-format +msgid "Pending" +msgstr "In sospeso" + +#. module: base_tier_validation +#: model:ir.model.fields,field_description:base_tier_validation.field_tier_definition__model_id +msgid "Referenced Model" +msgstr "" + +#. module: base_tier_validation +#: model_terms:ir.ui.view,arch_db:base_tier_validation.tier_validation_label +msgid "Reject" +msgstr "Rifiuta" + +#. module: base_tier_validation +#: model:ir.model.fields,field_description:base_tier_validation.field_tier_validation__rejected +#: model:ir.model.fields.selection,name:base_tier_validation.selection__tier_review__status__rejected +msgid "Rejected" +msgstr "Rifiutato" + +#. module: base_tier_validation +#: model:ir.model.fields,field_description:base_tier_validation.field_tier_review__res_id +msgid "Related Document ID" +msgstr "" + +#. module: base_tier_validation +#: model:ir.model.fields,field_description:base_tier_validation.field_tier_review__model +msgid "Related Document Model" +msgstr "" + +#. module: base_tier_validation +#: model_terms:ir.ui.view,arch_db:base_tier_validation.tier_validation_buttons +msgid "Request Validation" +msgstr "Richiedi Approvazione" + +#. module: base_tier_validation +#: model:ir.model.fields,field_description:base_tier_validation.field_tier_review__requested_by +msgid "Requested By" +msgstr "Richiesta Da" + +#. module: base_tier_validation +#. openerp-web +#: code:addons/base_tier_validation/static/src/xml/tier_review_template.xml:0 +#, python-format +msgid "Requested by" +msgstr "Richiesta da" + +#. module: base_tier_validation +#: model:ir.model.fields,field_description:base_tier_validation.field_comment_wizard__res_id +#, fuzzy +msgid "Res" +msgstr "Res" + +#. module: base_tier_validation +#: model:ir.model.fields,field_description:base_tier_validation.field_comment_wizard__res_model +#, fuzzy +msgid "Res Model" +msgstr "Res Model" + +#. module: base_tier_validation +#: model_terms:ir.ui.view,arch_db:base_tier_validation.tier_validation_buttons +msgid "Restart Validation" +msgstr "Riavvia Approvazione" + +#. module: base_tier_validation +#. openerp-web +#: code:addons/base_tier_validation/static/src/xml/systray.xml:0 +#: model:ir.model.fields,field_description:base_tier_validation.field_comment_wizard__review_ids +#, python-format +msgid "Review" +msgstr "Approvazione" + +#. module: base_tier_validation +#: model:ir.model.fields,field_description:base_tier_validation.field_tier_definition__reviewer_id +#: model:ir.model.fields,field_description:base_tier_validation.field_tier_review__reviewer_id +msgid "Reviewer" +msgstr "Approvatore" + +#. module: base_tier_validation +#: model:ir.model.fields,field_description:base_tier_validation.field_tier_definition__reviewer_field_id +#: model:ir.model.fields,field_description:base_tier_validation.field_tier_review__reviewer_field_id +msgid "Reviewer field" +msgstr "Campo approvatore" + +#. module: base_tier_validation +#: model:ir.model.fields,field_description:base_tier_validation.field_tier_definition__reviewer_group_id +#: model:ir.model.fields,field_description:base_tier_validation.field_tier_review__reviewer_group_id +msgid "Reviewer group" +msgstr "Gruppo approvatore" + +#. module: base_tier_validation +#: model:ir.model.fields,field_description:base_tier_validation.field_tier_review__reviewer_ids +#: model:ir.model.fields,field_description:base_tier_validation.field_tier_validation__reviewer_ids +msgid "Reviewers" +msgstr "Approvatori" + +#. module: base_tier_validation +#. openerp-web +#: code:addons/base_tier_validation/static/src/xml/systray.xml:0 +#: code:addons/base_tier_validation/static/src/xml/tier_review_template.xml:0 +#: model:ir.model.fields,field_description:base_tier_validation.field_res_users__review_ids +#, python-format +msgid "Reviews" +msgstr "Approvazioni" + +#. module: base_tier_validation +#. openerp-web +#: code:addons/base_tier_validation/static/src/xml/tier_review_template.xml:0 +#: model:ir.model.fields,field_description:base_tier_validation.field_tier_definition__sequence +#: model:ir.model.fields,field_description:base_tier_validation.field_tier_review__sequence +#, python-format +msgid "Sequence" +msgstr "Sequenza" + +#. module: base_tier_validation +#: model:ir.model.fields.selection,name:base_tier_validation.selection__tier_definition__review_type__individual +msgid "Specific user" +msgstr "Utente specifico" + +#. module: base_tier_validation +#. openerp-web +#: code:addons/base_tier_validation/static/src/xml/tier_review_template.xml:0 +#: model:ir.model.fields,field_description:base_tier_validation.field_tier_review__status +#, python-format +msgid "Status" +msgstr "Stato" + +#. module: base_tier_validation +#: code:addons/base_tier_validation/models/tier_validation.py:0 +#, python-format +msgid "The operation is under validation." +msgstr "L'operazione è sotto approvazione." + +#. module: base_tier_validation +#: code:addons/base_tier_validation/models/tier_validation.py:0 +#, python-format +msgid "The review has been reset by %s." +msgstr "L'approvazione è stata riavviata da %s." + +#. module: base_tier_validation +#: code:addons/base_tier_validation/models/tier_review.py:0 +#, python-format +msgid "There are no res.users in the selected field" +msgstr "" + +#. module: base_tier_validation +#: code:addons/base_tier_validation/models/tier_validation.py:0 +#, python-format +msgid "" +"This action needs to be validated for at least one record. \n" +"Please request a validation." +msgstr "" +"Questa azione richiede di essere approvata per almeno un record.\n" +"Prego richiedere un'approvazione." + +#. module: base_tier_validation +#: model:ir.actions.act_window,name:base_tier_validation.tier_definition_action +#: model:ir.model,name:base_tier_validation.model_tier_definition +#: model:ir.ui.menu,name:base_tier_validation.menu_tier_definition +#: model_terms:ir.ui.view,arch_db:base_tier_validation.tier_definition_view_form +#: model_terms:ir.ui.view,arch_db:base_tier_validation.tier_definition_view_tree +msgid "Tier Definition" +msgstr "Definizione Livello" + +#. module: base_tier_validation +#: model:ir.model,name:base_tier_validation.model_tier_review +#: model_terms:ir.ui.view,arch_db:base_tier_validation.tier_review_view_tree +msgid "Tier Review" +msgstr "Livello Approvazione" + +#. module: base_tier_validation +#: model:ir.model,name:base_tier_validation.model_tier_validation +msgid "Tier Validation (abstract)" +msgstr "" + +#. module: base_tier_validation +#: model:mail.message.subtype,name:base_tier_validation.mt_tier_validation_accepted +msgid "Tier Validation Accepted Notification" +msgstr "Notifica Accettazione Livello Approvazione" + +#. module: base_tier_validation +#: model:mail.message.subtype,name:base_tier_validation.mt_tier_validation_rejected +msgid "Tier Validation Rejected Notification" +msgstr "Notifica Rifiuto Livello Approvazione" + +#. module: base_tier_validation +#: model:mail.message.subtype,name:base_tier_validation.mt_tier_validation_requested +msgid "Tier Validation Requested" +msgstr "Approvazione Richiesta" + +#. module: base_tier_validation +#: model:mail.message.subtype,name:base_tier_validation.mt_tier_validation_restarted +msgid "Tier Validation Restarted" +msgstr "Approvazione Riavviata" + +#. module: base_tier_validation +#: model:ir.ui.menu,name:base_tier_validation.menu_tier_confirmation +msgid "Tier Validations" +msgstr "Livelli di Approvazione" + +#. module: base_tier_validation +#: model:ir.model.fields,field_description:base_tier_validation.field_tier_review__todo_by +msgid "Todo By" +msgstr "Incaricati" + +#. module: base_tier_validation +#. openerp-web +#: code:addons/base_tier_validation/static/src/xml/tier_review_template.xml:0 +#, python-format +msgid "Todo by" +msgstr "Incaricati" + +#. module: base_tier_validation +#: model:ir.model,name:base_tier_validation.model_res_users +msgid "Users" +msgstr "Utenti" + +#. module: base_tier_validation +#: model:ir.model.fields,field_description:base_tier_validation.field_tier_definition__valid_reviewer_field_ids +msgid "Valid Reviewer Field" +msgstr "" + +#. module: base_tier_validation +#: model_terms:ir.ui.view,arch_db:base_tier_validation.tier_validation_label +msgid "Validate" +msgstr "Approva" + +#. module: base_tier_validation +#: model:ir.model.fields,field_description:base_tier_validation.field_comment_wizard__validate_reject +msgid "Validate Reject" +msgstr "Rifiuta Approvazione" + +#. module: base_tier_validation +#: model:ir.model.fields,field_description:base_tier_validation.field_tier_validation__validated +msgid "Validated" +msgstr "Approvato" + +#. module: base_tier_validation +#: model:ir.model.fields,field_description:base_tier_validation.field_tier_definition__review_type +#: model:ir.model.fields,field_description:base_tier_validation.field_tier_review__review_type +msgid "Validated by" +msgstr "Approvato da" + +#. module: base_tier_validation +#. openerp-web +#: code:addons/base_tier_validation/static/src/xml/tier_review_template.xml:0 +#: model:ir.model.fields,field_description:base_tier_validation.field_tier_review__reviewed_date +#, python-format +msgid "Validation Date" +msgstr "Data Approvazione" + +#. module: base_tier_validation +#: model:ir.model.fields,field_description:base_tier_validation.field_tier_validation__review_ids +msgid "Validations" +msgstr "Approvazioni" + +#. module: base_tier_validation +#: model_terms:ir.ui.view,arch_db:base_tier_validation.tier_definition_view_form +msgid "e.g. Tier Validation for..." +msgstr "" diff --git a/mass_operation_abstract/COPYRIGHT b/mass_operation_abstract/COPYRIGHT new file mode 100644 index 0000000..2ef43ae --- /dev/null +++ b/mass_operation_abstract/COPYRIGHT @@ -0,0 +1,16 @@ +Most of the files are + + :Copyright: This stylesheet has been placed in the public domain. + Copyright (C) 2018 - Today: GRAP (http://www.grap.coop) + Copyright (C) 2018-Today GRAP (http://www.grap.coop) + Copyright 2018 Flectra Community + +Many files also contain contributions from third +parties. In this case the original copyright of +the contributions can be traced through the +history of the source version control system. + +When that is not the case, the files contain a prominent +notice stating the original copyright and applicable +license, or come with their own dedicated COPYRIGHT +and/or LICENSE file. \ No newline at end of file diff --git a/mass_operation_abstract/LICENSE b/mass_operation_abstract/LICENSE new file mode 100644 index 0000000..3939cd9 --- /dev/null +++ b/mass_operation_abstract/LICENSE @@ -0,0 +1,663 @@ +For copyright information, please see the COPYRIGHT file. + +GNU AFFERO GENERAL PUBLIC LICENSE + Version 3, 19 November 2007 + + Copyright (C) 2007 Free Software Foundation, Inc. + Everyone is permitted to copy and distribute verbatim copies + of this license document, but changing it is not allowed. + + Preamble + + The GNU Affero General Public License is a free, copyleft license for +software and other kinds of works, specifically designed to ensure +cooperation with the community in the case of network server software. + + The licenses for most software and other practical works are designed +to take away your freedom to share and change the works. By contrast, +our General Public Licenses are intended to guarantee your freedom to +share and change all versions of a program--to make sure it remains free +software for all its users. + + When we speak of free software, we are referring to freedom, not +price. Our General Public Licenses are designed to make sure that you +have the freedom to distribute copies of free software (and charge for +them if you wish), that you receive source code or can get it if you +want it, that you can change the software or use pieces of it in new +free programs, and that you know you can do these things. + + Developers that use our General Public Licenses protect your rights +with two steps: (1) assert copyright on the software, and (2) offer +you this License which gives you legal permission to copy, distribute +and/or modify the software. + + A secondary benefit of defending all users' freedom is that +improvements made in alternate versions of the program, if they +receive widespread use, become available for other developers to +incorporate. Many developers of free software are heartened and +encouraged by the resulting cooperation. However, in the case of +software used on network servers, this result may fail to come about. +The GNU General Public License permits making a modified version and +letting the public access it on a server without ever releasing its +source code to the public. + + The GNU Affero General Public License is designed specifically to +ensure that, in such cases, the modified source code becomes available +to the community. It requires the operator of a network server to +provide the source code of the modified version running there to the +users of that server. Therefore, public use of a modified version, on +a publicly accessible server, gives the public access to the source +code of the modified version. + + An older license, called the Affero General Public License and +published by Affero, was designed to accomplish similar goals. This is +a different license, not a version of the Affero GPL, but Affero has +released a new version of the Affero GPL which permits relicensing under +this license. + + The precise terms and conditions for copying, distribution and +modification follow. + + TERMS AND CONDITIONS + + 0. Definitions. + + "This License" refers to version 3 of the GNU Affero General Public License. + + "Copyright" also means copyright-like laws that apply to other kinds of +works, such as semiconductor masks. + + "The Program" refers to any copyrightable work licensed under this +License. Each licensee is addressed as "you". "Licensees" and +"recipients" may be individuals or organizations. + + To "modify" a work means to copy from or adapt all or part of the work +in a fashion requiring copyright permission, other than the making of an +exact copy. The resulting work is called a "modified version" of the +earlier work or a work "based on" the earlier work. + + A "covered work" means either the unmodified Program or a work based +on the Program. + + To "propagate" a work means to do anything with it that, without +permission, would make you directly or secondarily liable for +infringement under applicable copyright law, except executing it on a +computer or modifying a private copy. Propagation includes copying, +distribution (with or without modification), making available to the +public, and in some countries other activities as well. + + To "convey" a work means any kind of propagation that enables other +parties to make or receive copies. Mere interaction with a user through +a computer network, with no transfer of a copy, is not conveying. + + An interactive user interface displays "Appropriate Legal Notices" +to the extent that it includes a convenient and prominently visible +feature that (1) displays an appropriate copyright notice, and (2) +tells the user that there is no warranty for the work (except to the +extent that warranties are provided), that licensees may convey the +work under this License, and how to view a copy of this License. If +the interface presents a list of user commands or options, such as a +menu, a prominent item in the list meets this criterion. + + 1. Source Code. + + The "source code" for a work means the preferred form of the work +for making modifications to it. "Object code" means any non-source +form of a work. + + A "Standard Interface" means an interface that either is an official +standard defined by a recognized standards body, or, in the case of +interfaces specified for a particular programming language, one that +is widely used among developers working in that language. + + The "System Libraries" of an executable work include anything, other +than the work as a whole, that (a) is included in the normal form of +packaging a Major Component, but which is not part of that Major +Component, and (b) serves only to enable use of the work with that +Major Component, or to implement a Standard Interface for which an +implementation is available to the public in source code form. A +"Major Component", in this context, means a major essential component +(kernel, window system, and so on) of the specific operating system +(if any) on which the executable work runs, or a compiler used to +produce the work, or an object code interpreter used to run it. + + The "Corresponding Source" for a work in object code form means all +the source code needed to generate, install, and (for an executable +work) run the object code and to modify the work, including scripts to +control those activities. However, it does not include the work's +System Libraries, or general-purpose tools or generally available free +programs which are used unmodified in performing those activities but +which are not part of the work. For example, Corresponding Source +includes interface definition files associated with source files for +the work, and the source code for shared libraries and dynamically +linked subprograms that the work is specifically designed to require, +such as by intimate data communication or control flow between those +subprograms and other parts of the work. + + The Corresponding Source need not include anything that users +can regenerate automatically from other parts of the Corresponding +Source. + + The Corresponding Source for a work in source code form is that +same work. + + 2. Basic Permissions. + + All rights granted under this License are granted for the term of +copyright on the Program, and are irrevocable provided the stated +conditions are met. This License explicitly affirms your unlimited +permission to run the unmodified Program. The output from running a +covered work is covered by this License only if the output, given its +content, constitutes a covered work. This License acknowledges your +rights of fair use or other equivalent, as provided by copyright law. + + You may make, run and propagate covered works that you do not +convey, without conditions so long as your license otherwise remains +in force. You may convey covered works to others for the sole purpose +of having them make modifications exclusively for you, or provide you +with facilities for running those works, provided that you comply with +the terms of this License in conveying all material for which you do +not control copyright. Those thus making or running the covered works +for you must do so exclusively on your behalf, under your direction +and control, on terms that prohibit them from making any copies of +your copyrighted material outside their relationship with you. + + Conveying under any other circumstances is permitted solely under +the conditions stated below. Sublicensing is not allowed; section 10 +makes it unnecessary. + + 3. Protecting Users' Legal Rights From Anti-Circumvention Law. + + No covered work shall be deemed part of an effective technological +measure under any applicable law fulfilling obligations under article +11 of the WIPO copyright treaty adopted on 20 December 1996, or +similar laws prohibiting or restricting circumvention of such +measures. + + When you convey a covered work, you waive any legal power to forbid +circumvention of technological measures to the extent such circumvention +is effected by exercising rights under this License with respect to +the covered work, and you disclaim any intention to limit operation or +modification of the work as a means of enforcing, against the work's +users, your or third parties' legal rights to forbid circumvention of +technological measures. + + 4. Conveying Verbatim Copies. + + You may convey verbatim copies of the Program's source code as you +receive it, in any medium, provided that you conspicuously and +appropriately publish on each copy an appropriate copyright notice; +keep intact all notices stating that this License and any +non-permissive terms added in accord with section 7 apply to the code; +keep intact all notices of the absence of any warranty; and give all +recipients a copy of this License along with the Program. + + You may charge any price or no price for each copy that you convey, +and you may offer support or warranty protection for a fee. + + 5. Conveying Modified Source Versions. + + You may convey a work based on the Program, or the modifications to +produce it from the Program, in the form of source code under the +terms of section 4, provided that you also meet all of these conditions: + + a) The work must carry prominent notices stating that you modified + it, and giving a relevant date. + + b) The work must carry prominent notices stating that it is + released under this License and any conditions added under section + 7. This requirement modifies the requirement in section 4 to + "keep intact all notices". + + c) You must license the entire work, as a whole, under this + License to anyone who comes into possession of a copy. This + License will therefore apply, along with any applicable section 7 + additional terms, to the whole of the work, and all its parts, + regardless of how they are packaged. This License gives no + permission to license the work in any other way, but it does not + invalidate such permission if you have separately received it. + + d) If the work has interactive user interfaces, each must display + Appropriate Legal Notices; however, if the Program has interactive + interfaces that do not display Appropriate Legal Notices, your + work need not make them do so. + + A compilation of a covered work with other separate and independent +works, which are not by their nature extensions of the covered work, +and which are not combined with it such as to form a larger program, +in or on a volume of a storage or distribution medium, is called an +"aggregate" if the compilation and its resulting copyright are not +used to limit the access or legal rights of the compilation's users +beyond what the individual works permit. Inclusion of a covered work +in an aggregate does not cause this License to apply to the other +parts of the aggregate. + + 6. Conveying Non-Source Forms. + + You may convey a covered work in object code form under the terms +of sections 4 and 5, provided that you also convey the +machine-readable Corresponding Source under the terms of this License, +in one of these ways: + + a) Convey the object code in, or embodied in, a physical product + (including a physical distribution medium), accompanied by the + Corresponding Source fixed on a durable physical medium + customarily used for software interchange. + + b) Convey the object code in, or embodied in, a physical product + (including a physical distribution medium), accompanied by a + written offer, valid for at least three years and valid for as + long as you offer spare parts or customer support for that product + model, to give anyone who possesses the object code either (1) a + copy of the Corresponding Source for all the software in the + product that is covered by this License, on a durable physical + medium customarily used for software interchange, for a price no + more than your reasonable cost of physically performing this + conveying of source, or (2) access to copy the + Corresponding Source from a network server at no charge. + + c) Convey individual copies of the object code with a copy of the + written offer to provide the Corresponding Source. This + alternative is allowed only occasionally and noncommercially, and + only if you received the object code with such an offer, in accord + with subsection 6b. + + d) Convey the object code by offering access from a designated + place (gratis or for a charge), and offer equivalent access to the + Corresponding Source in the same way through the same place at no + further charge. You need not require recipients to copy the + Corresponding Source along with the object code. If the place to + copy the object code is a network server, the Corresponding Source + may be on a different server (operated by you or a third party) + that supports equivalent copying facilities, provided you maintain + clear directions next to the object code saying where to find the + Corresponding Source. Regardless of what server hosts the + Corresponding Source, you remain obligated to ensure that it is + available for as long as needed to satisfy these requirements. + + e) Convey the object code using peer-to-peer transmission, provided + you inform other peers where the object code and Corresponding + Source of the work are being offered to the general public at no + charge under subsection 6d. + + A separable portion of the object code, whose source code is excluded +from the Corresponding Source as a System Library, need not be +included in conveying the object code work. + + A "User Product" is either (1) a "consumer product", which means any +tangible personal property which is normally used for personal, family, +or household purposes, or (2) anything designed or sold for incorporation +into a dwelling. In determining whether a product is a consumer product, +doubtful cases shall be resolved in favor of coverage. For a particular +product received by a particular user, "normally used" refers to a +typical or common use of that class of product, regardless of the status +of the particular user or of the way in which the particular user +actually uses, or expects or is expected to use, the product. A product +is a consumer product regardless of whether the product has substantial +commercial, industrial or non-consumer uses, unless such uses represent +the only significant mode of use of the product. + + "Installation Information" for a User Product means any methods, +procedures, authorization keys, or other information required to install +and execute modified versions of a covered work in that User Product from +a modified version of its Corresponding Source. The information must +suffice to ensure that the continued functioning of the modified object +code is in no case prevented or interfered with solely because +modification has been made. + + If you convey an object code work under this section in, or with, or +specifically for use in, a User Product, and the conveying occurs as +part of a transaction in which the right of possession and use of the +User Product is transferred to the recipient in perpetuity or for a +fixed term (regardless of how the transaction is characterized), the +Corresponding Source conveyed under this section must be accompanied +by the Installation Information. But this requirement does not apply +if neither you nor any third party retains the ability to install +modified object code on the User Product (for example, the work has +been installed in ROM). + + The requirement to provide Installation Information does not include a +requirement to continue to provide support service, warranty, or updates +for a work that has been modified or installed by the recipient, or for +the User Product in which it has been modified or installed. Access to a +network may be denied when the modification itself materially and +adversely affects the operation of the network or violates the rules and +protocols for communication across the network. + + Corresponding Source conveyed, and Installation Information provided, +in accord with this section must be in a format that is publicly +documented (and with an implementation available to the public in +source code form), and must require no special password or key for +unpacking, reading or copying. + + 7. Additional Terms. + + "Additional permissions" are terms that supplement the terms of this +License by making exceptions from one or more of its conditions. +Additional permissions that are applicable to the entire Program shall +be treated as though they were included in this License, to the extent +that they are valid under applicable law. If additional permissions +apply only to part of the Program, that part may be used separately +under those permissions, but the entire Program remains governed by +this License without regard to the additional permissions. + + When you convey a copy of a covered work, you may at your option +remove any additional permissions from that copy, or from any part of +it. (Additional permissions may be written to require their own +removal in certain cases when you modify the work.) You may place +additional permissions on material, added by you to a covered work, +for which you have or can give appropriate copyright permission. + + Notwithstanding any other provision of this License, for material you +add to a covered work, you may (if authorized by the copyright holders of +that material) supplement the terms of this License with terms: + + a) Disclaiming warranty or limiting liability differently from the + terms of sections 15 and 16 of this License; or + + b) Requiring preservation of specified reasonable legal notices or + author attributions in that material or in the Appropriate Legal + Notices displayed by works containing it; or + + c) Prohibiting misrepresentation of the origin of that material, or + requiring that modified versions of such material be marked in + reasonable ways as different from the original version; or + + d) Limiting the use for publicity purposes of names of licensors or + authors of the material; or + + e) Declining to grant rights under trademark law for use of some + trade names, trademarks, or service marks; or + + f) Requiring indemnification of licensors and authors of that + material by anyone who conveys the material (or modified versions of + it) with contractual assumptions of liability to the recipient, for + any liability that these contractual assumptions directly impose on + those licensors and authors. + + All other non-permissive additional terms are considered "further +restrictions" within the meaning of section 10. If the Program as you +received it, or any part of it, contains a notice stating that it is +governed by this License along with a term that is a further +restriction, you may remove that term. If a license document contains +a further restriction but permits relicensing or conveying under this +License, you may add to a covered work material governed by the terms +of that license document, provided that the further restriction does +not survive such relicensing or conveying. + + If you add terms to a covered work in accord with this section, you +must place, in the relevant source files, a statement of the +additional terms that apply to those files, or a notice indicating +where to find the applicable terms. + + Additional terms, permissive or non-permissive, may be stated in the +form of a separately written license, or stated as exceptions; +the above requirements apply either way. + + 8. Termination. + + You may not propagate or modify a covered work except as expressly +provided under this License. Any attempt otherwise to propagate or +modify it is void, and will automatically terminate your rights under +this License (including any patent licenses granted under the third +paragraph of section 11). + + However, if you cease all violation of this License, then your +license from a particular copyright holder is reinstated (a) +provisionally, unless and until the copyright holder explicitly and +finally terminates your license, and (b) permanently, if the copyright +holder fails to notify you of the violation by some reasonable means +prior to 60 days after the cessation. + + Moreover, your license from a particular copyright holder is +reinstated permanently if the copyright holder notifies you of the +violation by some reasonable means, this is the first time you have +received notice of violation of this License (for any work) from that +copyright holder, and you cure the violation prior to 30 days after +your receipt of the notice. + + Termination of your rights under this section does not terminate the +licenses of parties who have received copies or rights from you under +this License. If your rights have been terminated and not permanently +reinstated, you do not qualify to receive new licenses for the same +material under section 10. + + 9. Acceptance Not Required for Having Copies. + + You are not required to accept this License in order to receive or +run a copy of the Program. Ancillary propagation of a covered work +occurring solely as a consequence of using peer-to-peer transmission +to receive a copy likewise does not require acceptance. However, +nothing other than this License grants you permission to propagate or +modify any covered work. These actions infringe copyright if you do +not accept this License. Therefore, by modifying or propagating a +covered work, you indicate your acceptance of this License to do so. + + 10. Automatic Licensing of Downstream Recipients. + + Each time you convey a covered work, the recipient automatically +receives a license from the original licensors, to run, modify and +propagate that work, subject to this License. You are not responsible +for enforcing compliance by third parties with this License. + + An "entity transaction" is a transaction transferring control of an +organization, or substantially all assets of one, or subdividing an +organization, or merging organizations. If propagation of a covered +work results from an entity transaction, each party to that +transaction who receives a copy of the work also receives whatever +licenses to the work the party's predecessor in interest had or could +give under the previous paragraph, plus a right to possession of the +Corresponding Source of the work from the predecessor in interest, if +the predecessor has it or can get it with reasonable efforts. + + You may not impose any further restrictions on the exercise of the +rights granted or affirmed under this License. For example, you may +not impose a license fee, royalty, or other charge for exercise of +rights granted under this License, and you may not initiate litigation +(including a cross-claim or counterclaim in a lawsuit) alleging that +any patent claim is infringed by making, using, selling, offering for +sale, or importing the Program or any portion of it. + + 11. Patents. + + A "contributor" is a copyright holder who authorizes use under this +License of the Program or a work on which the Program is based. The +work thus licensed is called the contributor's "contributor version". + + A contributor's "essential patent claims" are all patent claims +owned or controlled by the contributor, whether already acquired or +hereafter acquired, that would be infringed by some manner, permitted +by this License, of making, using, or selling its contributor version, +but do not include claims that would be infringed only as a +consequence of further modification of the contributor version. For +purposes of this definition, "control" includes the right to grant +patent sublicenses in a manner consistent with the requirements of +this License. + + Each contributor grants you a non-exclusive, worldwide, royalty-free +patent license under the contributor's essential patent claims, to +make, use, sell, offer for sale, import and otherwise run, modify and +propagate the contents of its contributor version. + + In the following three paragraphs, a "patent license" is any express +agreement or commitment, however denominated, not to enforce a patent +(such as an express permission to practice a patent or covenant not to +sue for patent infringement). To "grant" such a patent license to a +party means to make such an agreement or commitment not to enforce a +patent against the party. + + If you convey a covered work, knowingly relying on a patent license, +and the Corresponding Source of the work is not available for anyone +to copy, free of charge and under the terms of this License, through a +publicly available network server or other readily accessible means, +then you must either (1) cause the Corresponding Source to be so +available, or (2) arrange to deprive yourself of the benefit of the +patent license for this particular work, or (3) arrange, in a manner +consistent with the requirements of this License, to extend the patent +license to downstream recipients. "Knowingly relying" means you have +actual knowledge that, but for the patent license, your conveying the +covered work in a country, or your recipient's use of the covered work +in a country, would infringe one or more identifiable patents in that +country that you have reason to believe are valid. + + If, pursuant to or in connection with a single transaction or +arrangement, you convey, or propagate by procuring conveyance of, a +covered work, and grant a patent license to some of the parties +receiving the covered work authorizing them to use, propagate, modify +or convey a specific copy of the covered work, then the patent license +you grant is automatically extended to all recipients of the covered +work and works based on it. + + A patent license is "discriminatory" if it does not include within +the scope of its coverage, prohibits the exercise of, or is +conditioned on the non-exercise of one or more of the rights that are +specifically granted under this License. You may not convey a covered +work if you are a party to an arrangement with a third party that is +in the business of distributing software, under which you make payment +to the third party based on the extent of your activity of conveying +the work, and under which the third party grants, to any of the +parties who would receive the covered work from you, a discriminatory +patent license (a) in connection with copies of the covered work +conveyed by you (or copies made from those copies), or (b) primarily +for and in connection with specific products or compilations that +contain the covered work, unless you entered into that arrangement, +or that patent license was granted, prior to 28 March 2007. + + Nothing in this License shall be construed as excluding or limiting +any implied license or other defenses to infringement that may +otherwise be available to you under applicable patent law. + + 12. No Surrender of Others' Freedom. + + If conditions are imposed on you (whether by court order, agreement or +otherwise) that contradict the conditions of this License, they do not +excuse you from the conditions of this License. If you cannot convey a +covered work so as to satisfy simultaneously your obligations under this +License and any other pertinent obligations, then as a consequence you may +not convey it at all. For example, if you agree to terms that obligate you +to collect a royalty for further conveying from those to whom you convey +the Program, the only way you could satisfy both those terms and this +License would be to refrain entirely from conveying the Program. + + 13. Remote Network Interaction; Use with the GNU General Public License. + + Notwithstanding any other provision of this License, if you modify the +Program, your modified version must prominently offer all users +interacting with it remotely through a computer network (if your version +supports such interaction) an opportunity to receive the Corresponding +Source of your version by providing access to the Corresponding Source +from a network server at no charge, through some standard or customary +means of facilitating copying of software. This Corresponding Source +shall include the Corresponding Source for any work covered by version 3 +of the GNU General Public License that is incorporated pursuant to the +following paragraph. + + Notwithstanding any other provision of this License, you have +permission to link or combine any covered work with a work licensed +under version 3 of the GNU General Public License into a single +combined work, and to convey the resulting work. The terms of this +License will continue to apply to the part which is the covered work, +but the work with which it is combined will remain governed by version +3 of the GNU General Public License. + + 14. Revised Versions of this License. + + The Free Software Foundation may publish revised and/or new versions of +the GNU Affero General Public License from time to time. Such new versions +will be similar in spirit to the present version, but may differ in detail to +address new problems or concerns. + + Each version is given a distinguishing version number. If the +Program specifies that a certain numbered version of the GNU Affero General +Public License "or any later version" applies to it, you have the +option of following the terms and conditions either of that numbered +version or of any later version published by the Free Software +Foundation. If the Program does not specify a version number of the +GNU Affero General Public License, you may choose any version ever published +by the Free Software Foundation. + + If the Program specifies that a proxy can decide which future +versions of the GNU Affero General Public License can be used, that proxy's +public statement of acceptance of a version permanently authorizes you +to choose that version for the Program. + + Later license versions may give you additional or different +permissions. However, no additional obligations are imposed on any +author or copyright holder as a result of your choosing to follow a +later version. + + 15. Disclaimer of Warranty. + + THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY +APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT +HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY +OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, +THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR +PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM +IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF +ALL NECESSARY SERVICING, REPAIR OR CORRECTION. + + 16. Limitation of Liability. + + IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING +WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS +THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY +GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE +USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF +DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD +PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS), +EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF +SUCH DAMAGES. + + 17. Interpretation of Sections 15 and 16. + + If the disclaimer of warranty and limitation of liability provided +above cannot be given local legal effect according to their terms, +reviewing courts shall apply local law that most closely approximates +an absolute waiver of all civil liability in connection with the +Program, unless a warranty or assumption of liability accompanies a +copy of the Program in return for a fee. + + END OF TERMS AND CONDITIONS + + How to Apply These Terms to Your New Programs + + If you develop a new program, and you want it to be of the greatest +possible use to the public, the best way to achieve this is to make it +free software which everyone can redistribute and change under these terms. + + To do so, attach the following notices to the program. It is safest +to attach them to the start of each source file to most effectively +state the exclusion of warranty; and each file should have at least +the "copyright" line and a pointer to where the full notice is found. + + + Copyright (C) + + This program is free software: you can redistribute it and/or modify + it under the terms of the GNU Affero General Public License as published + by the Free Software Foundation, either version 3 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU Affero General Public License for more details. + + You should have received a copy of the GNU Affero General Public License + along with this program. If not, see . + +Also add information on how to contact you by electronic and paper mail. + + If your software can interact with users remotely through a computer +network, you should also make sure that it provides a way for users to +get its source. For example, if your program is a web application, its +interface could display a "Source" link that leads users to an archive +of the code. There are many ways you could offer source, and different +solutions will be better for different programs; see section 13 for the +specific requirements. + + You should also get your employer (if you work as a programmer) or school, +if any, to sign a "copyright disclaimer" for the program, if necessary. +For more information on this, and how to apply and follow the GNU AGPL, see +. \ No newline at end of file diff --git a/mass_operation_abstract/README.rst b/mass_operation_abstract/README.rst new file mode 100644 index 0000000..bc24764 --- /dev/null +++ b/mass_operation_abstract/README.rst @@ -0,0 +1,98 @@ +======================= +Mass Operation Abstract +======================= + +.. !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! + !! This file is generated by oca-gen-addon-readme !! + !! changes will be overwritten. !! + !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! + +.. |badge1| image:: https://img.shields.io/badge/maturity-Beta-yellow.png + :target: https://odoo-community.org/page/development-status + :alt: Beta +.. |badge2| image:: https://img.shields.io/badge/licence-AGPL--3-blue.png + :target: http://www.gnu.org/licenses/agpl-3.0-standalone.html + :alt: License: AGPL-3 +.. |badge3| image:: https://img.shields.io/badge/github-OCA%2Fserver--ux-lightgray.png?logo=github + :target: https://github.com/OCA/server-ux/tree/14.0/mass_operation_abstract + :alt: OCA/server-ux +.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png + :target: https://translation.odoo-community.org/projects/server-ux-14-0/server-ux-14-0-mass_operation_abstract + :alt: Translate me on Weblate +.. |badge5| image:: https://img.shields.io/badge/runbot-Try%20me-875A7B.png + :target: https://runbot.odoo-community.org/runbot/250/14.0 + :alt: Try me on Runbot + +|badge1| |badge2| |badge3| |badge4| |badge5| + +This module provides generic tools to develop modules that process mass +operations on any models. + +**Table of contents** + +.. contents:: + :local: + +Known issues / Roadmap +====================== + +* Propose this module in the OCA. (server-tools repository) + +* refactor ``mass_editing`` and ``mass_sorting`` OCA modules to depend on + this module. + +* Develop new modules like: + +1. ``mass_scripting`` to have the possibility to execute custom python code + on any model, for selected items. + +Bug Tracker +=========== + +Bugs are tracked on `GitHub Issues `_. +In case of trouble, please check there if your issue has already been reported. +If you spotted it first, help us smashing it by providing a detailed and welcomed +`feedback `_. + +Do not contact contributors directly about support or help with technical issues. + +Credits +======= + +Authors +~~~~~~~ + +* GRAP + +Contributors +~~~~~~~~~~~~ + +* Sylvain LE GAL (https://www.twitter.com/legalsylvain) + +* `Trobz `_: + + * Dung Tran + +Other credits +~~~~~~~~~~~~~ + +The development of this module has been financially supported by: + +* Camptocamp + +Maintainers +~~~~~~~~~~~ + +This module is maintained by the OCA. + +.. image:: https://odoo-community.org/logo.png + :alt: Odoo Community Association + :target: https://odoo-community.org + +OCA, or the Odoo Community Association, is a nonprofit organization whose +mission is to support the collaborative development of Odoo features and +promote its widespread use. + +This module is part of the `OCA/server-ux `_ project on GitHub. + +You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute. \ No newline at end of file diff --git a/mass_operation_abstract/__init__.py b/mass_operation_abstract/__init__.py new file mode 100644 index 0000000..9b42961 --- /dev/null +++ b/mass_operation_abstract/__init__.py @@ -0,0 +1,2 @@ +from . import models +from . import wizard diff --git a/mass_operation_abstract/__manifest__.py b/mass_operation_abstract/__manifest__.py new file mode 100644 index 0000000..a3d2a51 --- /dev/null +++ b/mass_operation_abstract/__manifest__.py @@ -0,0 +1,21 @@ +# Copyright (C) 2018 - Today: GRAP (http://www.grap.coop) +# @author: Sylvain LE GAL (https://twitter.com/legalsylvain) +# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html). + + +{ + "name": "Mass Operation Abstract", + "version": "2.0.1.0.0", + "author": "GRAP, " "Odoo Community Association (OCA)", + "summary": "Abstract Tools used for modules that realize operation on many items", + "category": "Tools", + "website": "https://gitlab.com/flectra-community/server-ux", + "license": "AGPL-3", + "depends": ["base"], + "data": [ + "views/menu.xml", + "views/view_mass_operation_mixin.xml", + "views/view_mass_operation_wizard_mixin.xml", + ], + "demo": ["demo/res_groups.xml"], +} diff --git a/mass_operation_abstract/demo/res_groups.xml b/mass_operation_abstract/demo/res_groups.xml new file mode 100644 index 0000000..04fdd87 --- /dev/null +++ b/mass_operation_abstract/demo/res_groups.xml @@ -0,0 +1,11 @@ + + + + + + + diff --git a/mass_operation_abstract/i18n/es.po b/mass_operation_abstract/i18n/es.po new file mode 100644 index 0000000..0442a4f --- /dev/null +++ b/mass_operation_abstract/i18n/es.po @@ -0,0 +1,191 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * mass_operation_abstract +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 13.0\n" +"Report-Msgid-Bugs-To: \n" +"PO-Revision-Date: 2020-12-02 10:36+0000\n" +"Last-Translator: María Asunción Daza \n" +"Language-Team: none\n" +"Language: es\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Plural-Forms: nplurals=2; plural=n != 1;\n" +"X-Generator: Weblate 3.10\n" + +#. module: mass_operation_abstract +#: code:addons/mass_operation_abstract/models/mass_operation_mixin.py:0 +#, python-format +msgid "%s (copy)" +msgstr "" + +#. module: mass_operation_abstract +#: model:ir.model,name:mass_operation_abstract.model_mass_operation_mixin +msgid "Abstract Mass Operations" +msgstr "" + +#. module: mass_operation_abstract +#: model:ir.model,name:mass_operation_abstract.model_mass_operation_wizard_mixin +msgid "Abstract Mass Operations Wizard" +msgstr "" + +#. module: mass_operation_abstract +#: model:ir.model.fields,field_description:mass_operation_abstract.field_mass_operation_mixin__action_name +msgid "Action Name" +msgstr "" + +#. module: mass_operation_abstract +#: model_terms:ir.ui.view,arch_db:mass_operation_abstract.view_mass_operation_mixin_form +msgid "Add sidebar button" +msgstr "" + +#. module: mass_operation_abstract +#: model:ir.model.fields,field_description:mass_operation_abstract.field_mass_operation_mixin__groups_id +msgid "Allowed Groups" +msgstr "" + +#. module: mass_operation_abstract +#: model_terms:ir.ui.view,arch_db:mass_operation_abstract.view_mass_operation_wizard_mixin_form +msgid "Apply" +msgstr "Aplicar" + +#. module: mass_operation_abstract +#: model_terms:ir.ui.view,arch_db:mass_operation_abstract.view_mass_operation_wizard_mixin_form +msgid "Cancel" +msgstr "Cancelar" + +#. module: mass_operation_abstract +#: model:ir.model.fields,field_description:mass_operation_abstract.field_mass_operation_mixin__display_name +#: model:ir.model.fields,field_description:mass_operation_abstract.field_mass_operation_wizard_mixin__display_name +msgid "Display Name" +msgstr "" + +#. module: mass_operation_abstract +#: model_terms:ir.ui.view,arch_db:mass_operation_abstract.view_mass_operation_mixin_form +msgid "Display a button in the sidebar of related model to open a wizard" +msgstr "" + +#. module: mass_operation_abstract +#: model:ir.model.fields,field_description:mass_operation_abstract.field_mass_operation_mixin__domain +msgid "Domain" +msgstr "" + +#. module: mass_operation_abstract +#: model:ir.model.fields,field_description:mass_operation_abstract.field_mass_operation_mixin__id +#: model:ir.model.fields,field_description:mass_operation_abstract.field_mass_operation_wizard_mixin__id +msgid "ID" +msgstr "" + +#. module: mass_operation_abstract +#: model:ir.model.fields,help:mass_operation_abstract.field_mass_operation_mixin__message +msgid "If set, this message will be displayed in the wizard." +msgstr "" + +#. module: mass_operation_abstract +#: model:ir.model.fields,field_description:mass_operation_abstract.field_mass_operation_mixin____last_update +#: model:ir.model.fields,field_description:mass_operation_abstract.field_mass_operation_wizard_mixin____last_update +msgid "Last Modified on" +msgstr "" + +#. module: mass_operation_abstract +#: code:addons/mass_operation_abstract/models/mass_operation_mixin.py:0 +#, python-format +msgid "Mass Operation (%s)" +msgstr "" + +#. module: mass_operation_abstract +#: model:ir.ui.menu,name:mass_operation_abstract.menu_mass_operation +msgid "Mass Operations" +msgstr "Operaciones masivas" + +#. module: mass_operation_abstract +#: model:ir.model.fields,field_description:mass_operation_abstract.field_mass_operation_mixin__message +#: model:ir.model.fields,field_description:mass_operation_abstract.field_mass_operation_wizard_mixin__message +msgid "Message" +msgstr "" + +#. module: mass_operation_abstract +#: model:ir.model.fields,field_description:mass_operation_abstract.field_mass_operation_mixin__model_id +msgid "Model" +msgstr "" + +#. module: mass_operation_abstract +#: model:ir.model.fields,field_description:mass_operation_abstract.field_mass_operation_mixin__name +msgid "Name" +msgstr "" + +#. module: mass_operation_abstract +#: code:addons/mass_operation_abstract/wizard/mass_operation_wizard_mixin.py:0 +#, python-format +msgid "None of the %d items you have selected can be processed." +msgstr "" + +#. module: mass_operation_abstract +#: model:ir.model.fields,field_description:mass_operation_abstract.field_mass_operation_wizard_mixin__operation_description_danger +msgid "Operation Description Danger" +msgstr "" + +#. module: mass_operation_abstract +#: model:ir.model.fields,field_description:mass_operation_abstract.field_mass_operation_wizard_mixin__operation_description_info +msgid "Operation Description Info" +msgstr "" + +#. module: mass_operation_abstract +#: model:ir.model.fields,field_description:mass_operation_abstract.field_mass_operation_wizard_mixin__operation_description_warning +msgid "Operation Description Warning" +msgstr "" + +#. module: mass_operation_abstract +#: model:ir.model.fields,field_description:mass_operation_abstract.field_mass_operation_wizard_mixin__remaining_item_qty +msgid "Remaining Item Qty" +msgstr "" + +#. module: mass_operation_abstract +#: model_terms:ir.ui.view,arch_db:mass_operation_abstract.view_mass_operation_mixin_form +msgid "Remove sidebar button" +msgstr "" + +#. module: mass_operation_abstract +#: model:ir.model.fields,field_description:mass_operation_abstract.field_mass_operation_wizard_mixin__selected_item_qty +msgid "Selected Item Qty" +msgstr "" + +#. module: mass_operation_abstract +#: model_terms:ir.ui.view,arch_db:mass_operation_abstract.view_mass_operation_mixin_form +msgid "Settings" +msgstr "" + +#. module: mass_operation_abstract +#: model:ir.model.fields,field_description:mass_operation_abstract.field_mass_operation_mixin__ref_ir_act_window_id +msgid "Sidebar Action" +msgstr "" + +#. module: mass_operation_abstract +#: model_terms:ir.ui.view,arch_db:mass_operation_abstract.view_mass_operation_mixin_form +msgid "Technical Informations" +msgstr "" + +#. module: mass_operation_abstract +#: code:addons/mass_operation_abstract/wizard/mass_operation_wizard_mixin.py:0 +#, python-format +msgid "The treatment will be processed on the %d selected elements." +msgstr "El tratamiento se procesará sobre los %d elementos seleccionados." + +#. module: mass_operation_abstract +#: code:addons/mass_operation_abstract/wizard/mass_operation_wizard_mixin.py:0 +#, python-format +msgid "" +"You have selected %d items that can not be processed. Only %d items will be " +"processed." +msgstr "" + +#. module: mass_operation_abstract +#: code:addons/mass_operation_abstract/wizard/mass_operation_wizard_mixin.py:0 +#, python-format +msgid "" +"there is no more element that corresponds to the rules of the domain.\n" +" Please refresh your list and try to select again the items." +msgstr "" diff --git a/mass_operation_abstract/i18n/fr.po b/mass_operation_abstract/i18n/fr.po new file mode 100644 index 0000000..8b0b414 --- /dev/null +++ b/mass_operation_abstract/i18n/fr.po @@ -0,0 +1,199 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * mass_operation_abstract +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 13.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2020-02-24 12:11+0000\n" +"PO-Revision-Date: 2020-02-24 12:11+0000\n" +"Last-Translator: \n" +"Language-Team: \n" +"Language: \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Plural-Forms: \n" + +#. module: mass_operation_abstract +#: code:addons/mass_operation_abstract/models/mass_operation_mixin.py:0 +#, python-format +msgid "%s (copy)" +msgstr "%s (copie)" + +#. module: mass_operation_abstract +#: model:ir.model,name:mass_operation_abstract.model_mass_operation_mixin +msgid "Abstract Mass Operations" +msgstr "Opérations en lot (modèle abstrait)" + +#. module: mass_operation_abstract +#: model:ir.model,name:mass_operation_abstract.model_mass_operation_wizard_mixin +msgid "Abstract Mass Operations Wizard" +msgstr "Assistant d'opérations en lot (modèle abstrait)" + +#. module: mass_operation_abstract +#: model:ir.model.fields,field_description:mass_operation_abstract.field_mass_operation_mixin__action_name +msgid "Action Name" +msgstr "Nom de l'action" + +#. module: mass_operation_abstract +#: model_terms:ir.ui.view,arch_db:mass_operation_abstract.view_mass_operation_mixin_form +msgid "Add sidebar button" +msgstr "Ajouter le boutton à la barre latérale" + +#. module: mass_operation_abstract +#: model:ir.model.fields,field_description:mass_operation_abstract.field_mass_operation_mixin__groups_id +msgid "Allowed Groups" +msgstr "Groupes autorisés" + +#. module: mass_operation_abstract +#: model_terms:ir.ui.view,arch_db:mass_operation_abstract.view_mass_operation_wizard_mixin_form +msgid "Apply" +msgstr "Appliquer" + +#. module: mass_operation_abstract +#: model_terms:ir.ui.view,arch_db:mass_operation_abstract.view_mass_operation_wizard_mixin_form +msgid "Cancel" +msgstr "Annuler" + +#. module: mass_operation_abstract +#: model:ir.model.fields,field_description:mass_operation_abstract.field_mass_operation_mixin__display_name +#: model:ir.model.fields,field_description:mass_operation_abstract.field_mass_operation_wizard_mixin__display_name +msgid "Display Name" +msgstr "Afficher Nom" + +#. module: mass_operation_abstract +#: model_terms:ir.ui.view,arch_db:mass_operation_abstract.view_mass_operation_mixin_form +msgid "Display a button in the sidebar of related model to open a wizard" +msgstr "" +"Affichier un bouton dans la barre latérale du module associé, pour ouvrir " +"l'assistant" + +#. module: mass_operation_abstract +#: model:ir.model.fields,field_description:mass_operation_abstract.field_mass_operation_mixin__domain +msgid "Domain" +msgstr "Domaine" + +#. module: mass_operation_abstract +#: model:ir.model.fields,field_description:mass_operation_abstract.field_mass_operation_mixin__id +#: model:ir.model.fields,field_description:mass_operation_abstract.field_mass_operation_wizard_mixin__id +msgid "ID" +msgstr "" + +#. module: mass_operation_abstract +#: model:ir.model.fields,help:mass_operation_abstract.field_mass_operation_mixin__message +msgid "If set, this message will be displayed in the wizard." +msgstr "Si ce champ est défini, le message sera affiché dans l'assistant" + +#. module: mass_operation_abstract +#: model:ir.model.fields,field_description:mass_operation_abstract.field_mass_operation_mixin____last_update +#: model:ir.model.fields,field_description:mass_operation_abstract.field_mass_operation_wizard_mixin____last_update +msgid "Last Modified on" +msgstr "Dernière modification le" + +#. module: mass_operation_abstract +#: code:addons/mass_operation_abstract/models/mass_operation_mixin.py:0 +#, python-format +msgid "Mass Operation (%s)" +msgstr "Opération en lot (%s)" + +#. module: mass_operation_abstract +#: model:ir.ui.menu,name:mass_operation_abstract.menu_mass_operation +msgid "Mass Operations" +msgstr "Opérations en lot" + +#. module: mass_operation_abstract +#: model:ir.model.fields,field_description:mass_operation_abstract.field_mass_operation_mixin__message +#: model:ir.model.fields,field_description:mass_operation_abstract.field_mass_operation_wizard_mixin__message +msgid "Message" +msgstr "" + +#. module: mass_operation_abstract +#: model:ir.model.fields,field_description:mass_operation_abstract.field_mass_operation_mixin__model_id +msgid "Model" +msgstr "Modèle" + +#. module: mass_operation_abstract +#: model:ir.model.fields,field_description:mass_operation_abstract.field_mass_operation_mixin__name +msgid "Name" +msgstr "Nom" + +#. module: mass_operation_abstract +#: code:addons/mass_operation_abstract/wizard/mass_operation_wizard_mixin.py:0 +#, python-format +msgid "None of the %d items you have selected can be processed." +msgstr "Aucun des %d éléments que vous avez sélectionné ne peut être traités." + +#. module: mass_operation_abstract +#: model:ir.model.fields,field_description:mass_operation_abstract.field_mass_operation_wizard_mixin__operation_description_danger +msgid "Operation Description Danger" +msgstr "Description de l'opération - Danger" + +#. module: mass_operation_abstract +#: model:ir.model.fields,field_description:mass_operation_abstract.field_mass_operation_wizard_mixin__operation_description_info +msgid "Operation Description Info" +msgstr "Description de l'opération - Information" + +#. module: mass_operation_abstract +#: model:ir.model.fields,field_description:mass_operation_abstract.field_mass_operation_wizard_mixin__operation_description_warning +msgid "Operation Description Warning" +msgstr "Description de l'opération - Attention" + +#. module: mass_operation_abstract +#: model:ir.model.fields,field_description:mass_operation_abstract.field_mass_operation_wizard_mixin__remaining_item_qty +msgid "Remaining Item Qty" +msgstr "Nombre d'éléments restants" + +#. module: mass_operation_abstract +#: model_terms:ir.ui.view,arch_db:mass_operation_abstract.view_mass_operation_mixin_form +msgid "Remove sidebar button" +msgstr "Retirer le boutton de la barre latérale" + +#. module: mass_operation_abstract +#: model:ir.model.fields,field_description:mass_operation_abstract.field_mass_operation_wizard_mixin__selected_item_qty +msgid "Selected Item Qty" +msgstr "Nombre d'éléments sélectionnés" + +#. module: mass_operation_abstract +#: model_terms:ir.ui.view,arch_db:mass_operation_abstract.view_mass_operation_mixin_form +msgid "Settings" +msgstr "Configuration" + +#. module: mass_operation_abstract +#: model:ir.model.fields,field_description:mass_operation_abstract.field_mass_operation_mixin__ref_ir_act_window_id +msgid "Sidebar Action" +msgstr "Action de la barre latérale" + +#. module: mass_operation_abstract +#: model_terms:ir.ui.view,arch_db:mass_operation_abstract.view_mass_operation_mixin_form +msgid "Technical Informations" +msgstr "Informations techniques" + +#. module: mass_operation_abstract +#: code:addons/mass_operation_abstract/wizard/mass_operation_wizard_mixin.py:0 +#, python-format +msgid "The treatment will be processed on the %d selected elements." +msgstr "Le traitement sera réalisé sur les %d éléments sélectionnés." + +#. module: mass_operation_abstract +#: code:addons/mass_operation_abstract/wizard/mass_operation_wizard_mixin.py:0 +#, python-format +msgid "" +"You have selected %d items that can not be processed. Only %d items will be " +"processed." +msgstr "" +"Vous avez sélectionné %d éléments qui ne peuvent pas être traités. Seulement " +"%d éléments vont être traités." + +#. module: mass_operation_abstract +#: code:addons/mass_operation_abstract/wizard/mass_operation_wizard_mixin.py:0 +#, python-format +msgid "" +"there is no more element that corresponds to the rules of the domain.\n" +" Please refresh your list and try to select again the items." +msgstr "" +"Il n'y a pas d'élément qui correspond aux règles d'accès définis par le " +"domaine.\n" +"Veuillez rafraichir la liste des éléments, et sélectionner des éléments de " +"nouveau" diff --git a/mass_operation_abstract/i18n/it.po b/mass_operation_abstract/i18n/it.po new file mode 100644 index 0000000..8480d1a --- /dev/null +++ b/mass_operation_abstract/i18n/it.po @@ -0,0 +1,197 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * mass_operation_abstract +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 13.0\n" +"Report-Msgid-Bugs-To: \n" +"PO-Revision-Date: 2020-12-28 23:44+0000\n" +"Last-Translator: Alessandro Fiorino \n" +"Language-Team: none\n" +"Language: it\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Plural-Forms: nplurals=2; plural=n != 1;\n" +"X-Generator: Weblate 4.3.2\n" + +#. module: mass_operation_abstract +#: code:addons/mass_operation_abstract/models/mass_operation_mixin.py:0 +#, python-format +msgid "%s (copy)" +msgstr "%s (copia)" + +#. module: mass_operation_abstract +#: model:ir.model,name:mass_operation_abstract.model_mass_operation_mixin +msgid "Abstract Mass Operations" +msgstr "Astrazione Operazioni Massive" + +#. module: mass_operation_abstract +#: model:ir.model,name:mass_operation_abstract.model_mass_operation_wizard_mixin +msgid "Abstract Mass Operations Wizard" +msgstr "Procedura Guidata Astrazione Operazioni Massive" + +#. module: mass_operation_abstract +#: model:ir.model.fields,field_description:mass_operation_abstract.field_mass_operation_mixin__action_name +msgid "Action Name" +msgstr "Nome Azione" + +#. module: mass_operation_abstract +#: model_terms:ir.ui.view,arch_db:mass_operation_abstract.view_mass_operation_mixin_form +msgid "Add sidebar button" +msgstr "Aggiungi pulsante laterale" + +#. module: mass_operation_abstract +#: model:ir.model.fields,field_description:mass_operation_abstract.field_mass_operation_mixin__groups_id +msgid "Allowed Groups" +msgstr "Gruppi Consentiti" + +#. module: mass_operation_abstract +#: model_terms:ir.ui.view,arch_db:mass_operation_abstract.view_mass_operation_wizard_mixin_form +msgid "Apply" +msgstr "Applica" + +#. module: mass_operation_abstract +#: model_terms:ir.ui.view,arch_db:mass_operation_abstract.view_mass_operation_wizard_mixin_form +msgid "Cancel" +msgstr "Annulla" + +#. module: mass_operation_abstract +#: model:ir.model.fields,field_description:mass_operation_abstract.field_mass_operation_mixin__display_name +#: model:ir.model.fields,field_description:mass_operation_abstract.field_mass_operation_wizard_mixin__display_name +msgid "Display Name" +msgstr "Nome Visualizzato" + +#. module: mass_operation_abstract +#: model_terms:ir.ui.view,arch_db:mass_operation_abstract.view_mass_operation_mixin_form +msgid "Display a button in the sidebar of related model to open a wizard" +msgstr "" +"Mostra un pulsante nella barra laterale del modello collegato per aprire una " +"procedura guidata" + +#. module: mass_operation_abstract +#: model:ir.model.fields,field_description:mass_operation_abstract.field_mass_operation_mixin__domain +msgid "Domain" +msgstr "Dominio" + +#. module: mass_operation_abstract +#: model:ir.model.fields,field_description:mass_operation_abstract.field_mass_operation_mixin__id +#: model:ir.model.fields,field_description:mass_operation_abstract.field_mass_operation_wizard_mixin__id +msgid "ID" +msgstr "ID" + +#. module: mass_operation_abstract +#: model:ir.model.fields,help:mass_operation_abstract.field_mass_operation_mixin__message +msgid "If set, this message will be displayed in the wizard." +msgstr "Se impostato, questo messaggio sarà mostrato nella procedura guidata." + +#. module: mass_operation_abstract +#: model:ir.model.fields,field_description:mass_operation_abstract.field_mass_operation_mixin____last_update +#: model:ir.model.fields,field_description:mass_operation_abstract.field_mass_operation_wizard_mixin____last_update +msgid "Last Modified on" +msgstr "Ultima modifica il" + +#. module: mass_operation_abstract +#: code:addons/mass_operation_abstract/models/mass_operation_mixin.py:0 +#, python-format +msgid "Mass Operation (%s)" +msgstr "Operazione Massiva (%s)" + +#. module: mass_operation_abstract +#: model:ir.ui.menu,name:mass_operation_abstract.menu_mass_operation +msgid "Mass Operations" +msgstr "Operazioni Massive" + +#. module: mass_operation_abstract +#: model:ir.model.fields,field_description:mass_operation_abstract.field_mass_operation_mixin__message +#: model:ir.model.fields,field_description:mass_operation_abstract.field_mass_operation_wizard_mixin__message +msgid "Message" +msgstr "Messaggio" + +#. module: mass_operation_abstract +#: model:ir.model.fields,field_description:mass_operation_abstract.field_mass_operation_mixin__model_id +msgid "Model" +msgstr "Modello" + +#. module: mass_operation_abstract +#: model:ir.model.fields,field_description:mass_operation_abstract.field_mass_operation_mixin__name +msgid "Name" +msgstr "Nome" + +#. module: mass_operation_abstract +#: code:addons/mass_operation_abstract/wizard/mass_operation_wizard_mixin.py:0 +#, python-format +msgid "None of the %d items you have selected can be processed." +msgstr "Nessuno degli %d elementi selezionati possono essere elaborati." + +#. module: mass_operation_abstract +#: model:ir.model.fields,field_description:mass_operation_abstract.field_mass_operation_wizard_mixin__operation_description_danger +msgid "Operation Description Danger" +msgstr "Descrizione Operazione Pericolo" + +#. module: mass_operation_abstract +#: model:ir.model.fields,field_description:mass_operation_abstract.field_mass_operation_wizard_mixin__operation_description_info +msgid "Operation Description Info" +msgstr "Descrizione Operazione Info" + +#. module: mass_operation_abstract +#: model:ir.model.fields,field_description:mass_operation_abstract.field_mass_operation_wizard_mixin__operation_description_warning +msgid "Operation Description Warning" +msgstr "Descrizione Operazione Avviso" + +#. module: mass_operation_abstract +#: model:ir.model.fields,field_description:mass_operation_abstract.field_mass_operation_wizard_mixin__remaining_item_qty +msgid "Remaining Item Qty" +msgstr "Qta Elementi Rimanenti" + +#. module: mass_operation_abstract +#: model_terms:ir.ui.view,arch_db:mass_operation_abstract.view_mass_operation_mixin_form +msgid "Remove sidebar button" +msgstr "Rimuovi pulsante laterale" + +#. module: mass_operation_abstract +#: model:ir.model.fields,field_description:mass_operation_abstract.field_mass_operation_wizard_mixin__selected_item_qty +msgid "Selected Item Qty" +msgstr "Qta Elementi Selezionati" + +#. module: mass_operation_abstract +#: model_terms:ir.ui.view,arch_db:mass_operation_abstract.view_mass_operation_mixin_form +msgid "Settings" +msgstr "Impostazioni" + +#. module: mass_operation_abstract +#: model:ir.model.fields,field_description:mass_operation_abstract.field_mass_operation_mixin__ref_ir_act_window_id +msgid "Sidebar Action" +msgstr "Azione Barra Laterale" + +#. module: mass_operation_abstract +#: model_terms:ir.ui.view,arch_db:mass_operation_abstract.view_mass_operation_mixin_form +msgid "Technical Informations" +msgstr "Informazioni Tecniche" + +#. module: mass_operation_abstract +#: code:addons/mass_operation_abstract/wizard/mass_operation_wizard_mixin.py:0 +#, python-format +msgid "The treatment will be processed on the %d selected elements." +msgstr "L'operazione sarà eseguita sugli %d elementi selezionati." + +#. module: mass_operation_abstract +#: code:addons/mass_operation_abstract/wizard/mass_operation_wizard_mixin.py:0 +#, python-format +msgid "" +"You have selected %d items that can not be processed. Only %d items will be " +"processed." +msgstr "" +"Hai selezionato %d elementi che non possono essere elaborati. Solo %d " +"elementi saranno elaborati." + +#. module: mass_operation_abstract +#: code:addons/mass_operation_abstract/wizard/mass_operation_wizard_mixin.py:0 +#, python-format +msgid "" +"there is no more element that corresponds to the rules of the domain.\n" +" Please refresh your list and try to select again the items." +msgstr "" +"non ci sono ulteriori elementi che corrispondono alle regole del dominio.\n" +" Prego aggiornare la lista e provare a selezionare di nuovo gli elementi." diff --git a/mass_operation_abstract/i18n/mass_operation_abstract.pot b/mass_operation_abstract/i18n/mass_operation_abstract.pot new file mode 100644 index 0000000..7568fad --- /dev/null +++ b/mass_operation_abstract/i18n/mass_operation_abstract.pot @@ -0,0 +1,188 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * mass_operation_abstract +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 14.0\n" +"Report-Msgid-Bugs-To: \n" +"Last-Translator: \n" +"Language-Team: \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Plural-Forms: \n" + +#. module: mass_operation_abstract +#: code:addons/mass_operation_abstract/models/mass_operation_mixin.py:0 +#, python-format +msgid "%s (copy)" +msgstr "" + +#. module: mass_operation_abstract +#: model:ir.model,name:mass_operation_abstract.model_mass_operation_mixin +msgid "Abstract Mass Operations" +msgstr "" + +#. module: mass_operation_abstract +#: model:ir.model,name:mass_operation_abstract.model_mass_operation_wizard_mixin +msgid "Abstract Mass Operations Wizard" +msgstr "" + +#. module: mass_operation_abstract +#: model:ir.model.fields,field_description:mass_operation_abstract.field_mass_operation_mixin__action_name +msgid "Action Name" +msgstr "" + +#. module: mass_operation_abstract +#: model_terms:ir.ui.view,arch_db:mass_operation_abstract.view_mass_operation_mixin_form +msgid "Add sidebar button" +msgstr "" + +#. module: mass_operation_abstract +#: model:ir.model.fields,field_description:mass_operation_abstract.field_mass_operation_mixin__groups_id +msgid "Allowed Groups" +msgstr "" + +#. module: mass_operation_abstract +#: model_terms:ir.ui.view,arch_db:mass_operation_abstract.view_mass_operation_wizard_mixin_form +msgid "Apply" +msgstr "" + +#. module: mass_operation_abstract +#: model_terms:ir.ui.view,arch_db:mass_operation_abstract.view_mass_operation_wizard_mixin_form +msgid "Cancel" +msgstr "" + +#. module: mass_operation_abstract +#: model:ir.model.fields,field_description:mass_operation_abstract.field_mass_operation_mixin__display_name +#: model:ir.model.fields,field_description:mass_operation_abstract.field_mass_operation_wizard_mixin__display_name +msgid "Display Name" +msgstr "" + +#. module: mass_operation_abstract +#: model_terms:ir.ui.view,arch_db:mass_operation_abstract.view_mass_operation_mixin_form +msgid "Display a button in the sidebar of related model to open a wizard" +msgstr "" + +#. module: mass_operation_abstract +#: model:ir.model.fields,field_description:mass_operation_abstract.field_mass_operation_mixin__domain +msgid "Domain" +msgstr "" + +#. module: mass_operation_abstract +#: model:ir.model.fields,field_description:mass_operation_abstract.field_mass_operation_mixin__id +#: model:ir.model.fields,field_description:mass_operation_abstract.field_mass_operation_wizard_mixin__id +msgid "ID" +msgstr "" + +#. module: mass_operation_abstract +#: model:ir.model.fields,help:mass_operation_abstract.field_mass_operation_mixin__message +msgid "If set, this message will be displayed in the wizard." +msgstr "" + +#. module: mass_operation_abstract +#: model:ir.model.fields,field_description:mass_operation_abstract.field_mass_operation_mixin____last_update +#: model:ir.model.fields,field_description:mass_operation_abstract.field_mass_operation_wizard_mixin____last_update +msgid "Last Modified on" +msgstr "" + +#. module: mass_operation_abstract +#: code:addons/mass_operation_abstract/models/mass_operation_mixin.py:0 +#, python-format +msgid "Mass Operation (%s)" +msgstr "" + +#. module: mass_operation_abstract +#: model:ir.ui.menu,name:mass_operation_abstract.menu_mass_operation +msgid "Mass Operations" +msgstr "" + +#. module: mass_operation_abstract +#: model:ir.model.fields,field_description:mass_operation_abstract.field_mass_operation_mixin__message +#: model:ir.model.fields,field_description:mass_operation_abstract.field_mass_operation_wizard_mixin__message +msgid "Message" +msgstr "" + +#. module: mass_operation_abstract +#: model:ir.model.fields,field_description:mass_operation_abstract.field_mass_operation_mixin__model_id +msgid "Model" +msgstr "" + +#. module: mass_operation_abstract +#: model:ir.model.fields,field_description:mass_operation_abstract.field_mass_operation_mixin__name +msgid "Name" +msgstr "" + +#. module: mass_operation_abstract +#: code:addons/mass_operation_abstract/wizard/mass_operation_wizard_mixin.py:0 +#, python-format +msgid "None of the {} items you have selected can be processed." +msgstr "" + +#. module: mass_operation_abstract +#: model:ir.model.fields,field_description:mass_operation_abstract.field_mass_operation_wizard_mixin__operation_description_danger +msgid "Operation Description Danger" +msgstr "" + +#. module: mass_operation_abstract +#: model:ir.model.fields,field_description:mass_operation_abstract.field_mass_operation_wizard_mixin__operation_description_info +msgid "Operation Description Info" +msgstr "" + +#. module: mass_operation_abstract +#: model:ir.model.fields,field_description:mass_operation_abstract.field_mass_operation_wizard_mixin__operation_description_warning +msgid "Operation Description Warning" +msgstr "" + +#. module: mass_operation_abstract +#: model:ir.model.fields,field_description:mass_operation_abstract.field_mass_operation_wizard_mixin__remaining_item_qty +msgid "Remaining Item Qty" +msgstr "" + +#. module: mass_operation_abstract +#: model_terms:ir.ui.view,arch_db:mass_operation_abstract.view_mass_operation_mixin_form +msgid "Remove sidebar button" +msgstr "" + +#. module: mass_operation_abstract +#: model:ir.model.fields,field_description:mass_operation_abstract.field_mass_operation_wizard_mixin__selected_item_qty +msgid "Selected Item Qty" +msgstr "" + +#. module: mass_operation_abstract +#: model_terms:ir.ui.view,arch_db:mass_operation_abstract.view_mass_operation_mixin_form +msgid "Settings" +msgstr "" + +#. module: mass_operation_abstract +#: model:ir.model.fields,field_description:mass_operation_abstract.field_mass_operation_mixin__ref_ir_act_window_id +msgid "Sidebar Action" +msgstr "" + +#. module: mass_operation_abstract +#: model_terms:ir.ui.view,arch_db:mass_operation_abstract.view_mass_operation_mixin_form +msgid "Technical Informations" +msgstr "" + +#. module: mass_operation_abstract +#: code:addons/mass_operation_abstract/wizard/mass_operation_wizard_mixin.py:0 +#, python-format +msgid "The treatment will be processed on the {} selected elements." +msgstr "" + +#. module: mass_operation_abstract +#: code:addons/mass_operation_abstract/wizard/mass_operation_wizard_mixin.py:0 +#, python-format +msgid "" +"There is no more element that corresponds to the rules of the domain.\n" +" Please refresh your list and try to select again the items." +msgstr "" + +#. module: mass_operation_abstract +#: code:addons/mass_operation_abstract/wizard/mass_operation_wizard_mixin.py:0 +#, python-format +msgid "" +"You have selected {} items that can not be processed. Only {} items will be " +"processed." +msgstr "" diff --git a/mass_operation_abstract/models/__init__.py b/mass_operation_abstract/models/__init__.py new file mode 100644 index 0000000..6fdeeca --- /dev/null +++ b/mass_operation_abstract/models/__init__.py @@ -0,0 +1 @@ +from . import mass_operation_mixin diff --git a/mass_operation_abstract/models/mass_operation_mixin.py b/mass_operation_abstract/models/mass_operation_mixin.py new file mode 100644 index 0000000..5349e8b --- /dev/null +++ b/mass_operation_abstract/models/mass_operation_mixin.py @@ -0,0 +1,95 @@ +# Copyright (C) 2018 - Today: GRAP (http://www.grap.coop) +# @author: Sylvain LE GAL (https://twitter.com/legalsylvain) +# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html). + + +from flectra import _, api, fields, models + + +class MassOperationMixin(models.AbstractModel): + _name = "mass.operation.mixin" + _description = "Abstract Mass Operations" + + # To Overwrite Section (Mandatory) + _wizard_model_name = False + + # To Overwrite Section (Optional) + def _prepare_action_name(self): + return _("Mass Operation (%s)" % (self.name)) + + def _get_model_domain(self): + return [("transient", "=", False)] + + # Column Section + name = fields.Char(string="Name", required=True) + + action_name = fields.Char(string="Action Name", required=True) + + message = fields.Text( + string="Message", + help="If set, this message will be displayed in the" " wizard.", + ) + + model_id = fields.Many2one( + comodel_name="ir.model", + string="Model", + required=True, + ondelete="cascade", + domain=lambda s: s._get_model_domain(), + ) + + ref_ir_act_window_id = fields.Many2one( + comodel_name="ir.actions.act_window", + string="Sidebar Action", + readonly=True, + copy=False, + ) + + groups_id = fields.Many2one(comodel_name="res.groups", string="Allowed Groups") + + domain = fields.Char(string="Domain", required=True, default="[]") + + # Onchange Section + @api.onchange("name") + def onchange_name(self): + if self.name and not self.action_name: + self.action_name = self._prepare_action_name() + + # Action Section + def enable_mass_operation(self): + action_obj = self.env["ir.actions.act_window"] + for mixin in self: + if not mixin.ref_ir_act_window_id: + mixin.ref_ir_act_window_id = action_obj.create(mixin._prepare_action()) + + def disable_mass_operation(self): + self.mapped("ref_ir_act_window_id").unlink() + + # Overload Section + def unlink(self): + self.disable_mass_operation() + return super().unlink() + + def copy(self, default=None): + default = default or {} + default.update({"name": _("%s (copy)") % self.name}) + return super().copy(default=default) + + # Private Section + def _prepare_action(self): + self.ensure_one() + return { + "name": self.action_name, + "type": "ir.actions.act_window", + "res_model": self._wizard_model_name, + "groups_id": [(6, 0, self.groups_id.ids)], + "context": """{ + 'mass_operation_mixin_id' : %d, + 'mass_operation_mixin_name' : '%s', + }""" + % (self.id, self._name), + "view_mode": "form", + "target": "new", + "binding_model_id": self.model_id.id, + "binding_type": "action", + } diff --git a/mass_operation_abstract/static/description/icon.png b/mass_operation_abstract/static/description/icon.png new file mode 100644 index 0000000000000000000000000000000000000000..3a0328b516c4980e8e44cdb63fd945757ddd132d GIT binary patch literal 9455 zcmVa*Zag|=W(Jy&L=Ct>-D+}2E!HrkJGSV zFo@#fVhDl&j^jYfLz1L+B&EULNy+R4;k+S0UtiztNLG9u01!f8v)N#^S|N%e2q6$f z5hEibh{xjq07;S{NzzM%ko!Fz&)}qGzJNIA3E=bj)^i;9IDqvu%xpHp;c$Qu0znWM z0SpEM03Z^HAQTEg6h%sc!BG;tG&yfkIGnQt@Or&2lgacO0JqaHlgR|T-43JiTiuuE zc}4(vxG0JU27`#jV)AZbZ#*8qW6qp8?GyDLg~mBafd2meCji_>2yp=b$8oUPY_M1? z008+r3xWVa5Yh-h5s$|)GBN_5=UJF2irZ$)nDInGUt)rAP7z>WU|_u@NiT97S4ZE= zYPG^@wSo|$dJoU@i~uH+iG|C{MUo`eEy%*!1wpuD)~s233-dM;gL8ra0|Ntfgpd~r zA?xY;m`o06fp95kM`zAP5*489^eEVAn)Zd}(B4+0$bkMs2=4AYJPgM)+X0sIEQg*41$GQnc8r1bNdDozfb=aEPx7y&ZH zRZENKc?5$&h@!~CL{Z!p4u_we4&B1EA;7@EK%LQOd>k^f&S*5kY&J9d9mp)Y)sRRe zGD-k7s7Z-PB!WmJlHy5}Bx%YkiPM4rLqkJPNRq_NIzk967E4M$ueZf3!<7Wc2Bmc% zhad^7to^&5@I)fPx&WpA zpmk5C|B@sj9*?UkiL+T|6DkniZfcxv}>fY46aRM;u1PBI$>j@z#W}VS!gwbdmlUbK3TrDgf zkE==mW&B);p%zCJMTEm)@H{Uk!kYl@pR56s-(P)$nHv7<3Urwh%&?SqCIry}X|X z3fJo8h{a-z0Lm^vZ$Gc~yllV2;c$v4QIe#?f*{;6fByUlQxYeX0HIKbnRQgb<2X*Y z-#*hdy)Im3oOnErSS$vk(Wpxa%(e2f-J3`x5RFD52!cG`v$0rg+e9dd6EZ0@5{X+&uj7bQ?Fp59h3iXu}!!dw5e1U~(P(sw(P%s^uY7~Skfz-$q19Tn!j*Ay!FZHCnjiTm+kJ^d z0^x8Np->3%cwAS02_ZL`Os3{jr%r9r_g1+f?-C#!4zK4p?nSx#mg6{Z9GBI7OQE+_ zkGJ(pl9W*i)Jjt;jv5K*a5HrTX~os!V-N)4Fd-zbN@89K5Q#+I;5d%;TWaEdEUkDf z=9b>Ldb@yZ>BuXK&NGzT`&w~xA%G-Fu-R+~g+k8?g0Kw$#;Yjil>o6=j3vf#T$))2 z=-19O#m`j{%#CR_qY`<7#@ z`aveh)6_#EEsdR4GOciVdh}aw{&RuNW`oP+VsjOHdwbE<)s-e?#)G`C4vt2nICbh2 zs;a6`QBk2>Z^z^tR%$T%(mv6*TIMq2DrBt!^lZK>z1L5JCvb%gbT6 z+W{oq)vc|q7#bSNIjwBSD*@!0^7(uS1Ok{jb0&(4iqhiHm&nu|Xqk&@*VXz{we;nc zN(W~`p%9yBqI{1+KuHRDg%%eVqokyS&3owX?#7ujXH@Ua2l6ff5{Lq$ae zs;a8eOhFn~S>Q@?WKx#&YR_8Fq2KhQtdK&8b~TtxCb(QKW{CuYL3DO@A`}Ycz0&0< zC;=$^em|22#l^*G6`!q;Gqsp}`tU5Mn7L;QP-f|*b^&S_7#P6N&=6{BYS`e+c=I#S3LwXEC@Lyq4lq#^;q`hE z2m~_r?OJ)x)IE$BlimfWf#-R2b#=k%bi(a+=dHh^c~UFzvE)@PEvwbalsq75+EFD> zts>=6c70ly))F9>f*u|o#>mJBs;jG0+{yVwJ|qC`LYz(~TVR?Kuc7JZC)lw%hF}Dk@4b?fia!N~_mv!l{Y) zY1;+l6QNKDkw^q(Wo0NSDal*9x zft;nmSWQ7XYDeefQFpe|lb1=vXNs4}+$+Qw0L8TG0_30t5s$~w-Q5kR(+QW$r73%Vm4bI)$*hz+STH#-8Utz04;Hr4?<+~ngxSFrXVt*KA#Waa5!ULwDO**V&&JhbOGhHd|=v006i^@=Xvz?^`WS! z2ridPS1Zw~e4EY2hHHUjccZ4{X%TZQqj_qIq5N7Qx`MnDAfMtX+jA(C1u8cgm5V); zp!d>mqtOV5!@=Gm8jYf_uTNFUQ$9OaPhKXCKO2#ztQ9a($fjXalhI zq7)@B5C~vsXh`#UYR^@MWx6+;r67NoOy0urU`mb!WJ0DFS8FM;SPXrAeJCz2P7&#H zSgls($pexbH}v=SXRM%H`g5)PDbv#u^I9ax2MVGDX3AhLnb$Jea*ZoV5{8F|5sgMs zTwI*8DKypafus&GFff2L^UYMIrq-N`nfu#2?8jZr~bV3wG^z`(wgQ9YgFv@&nQ`oc|LD@8ZwfOl$ zURMVC!87y?_P^YXwNa48H@&|ry0Ax*@JD{wt*0WYp=Z)3l}cT z+oSZ@+twB3t<8R1@r`pLkaZl?*J_} zNs_kgT3j{%c$!Ns#<;&S}xISAr^~aXlN)Wjb919ag9bJJ6VLrv)k>g<%^<-Xf(?9G{~l< zt7+wWEfwYefq? zlfejsGxa16&kq*DKHG^Czu%9}|M?}>{D(CF#y?F;c@0QCH&AW(mj0(>0CdkFK@bp$ zL|`_XS!HM`ka`s}HD^#D5Wv1qKZVI;!iwd~;dZ-0NYa0DsJS^g+h|~b4Rz;xG%&9c zK<@D293~W-?Fc6#Nc2Zi7|(GW${IZ=UQmHEhguOkJ)Bb)phr9#jYgD|l(1=Ai9`Z| zAh4xbTIo@@Fx}ZC7K+xs_ZS`?#;2cs29wEzYc_0Pdnf=vO-&6W9;YE$ zreqfYe4Dw_t7e0Mz~6L6B@!_E`U?O6y$9RVT9?x9%~qgta@lM)IGs)y31OQguuJ|8`a7ysdvL-FvI(|R(6kfRP=qgcQ1~gIFT|Mm#y&WQY<)*N12{ikg}lxJMVp%I_N-9Aw@}we<6a zf=mjf8MMzU#msdJ(fQFyv_5wL^X|DQHL@t7WL^dOzwx4PcMI&7R->t@iJ4}@!^3E8 zZADpG8CI=a$tqT@;N>1jx-%zj@oKFc&}ZM%so&9P6tP&0oeXBNSTxTVlBfCg@#E<1 z=)iC=2mq+BugBsGF2L~5dZ`UQ9!TH$9C+ZyNUBWkN*CCeE!83ssl9^iv=YmC2WrYdPo!9p)^z1 zkxlQAO9Q*zo+1sR(P-L)P-Vp&ICv08j~-=}PrH{$G>Wrl&$1mtDCDibqoad`t647j z!h}o+ssD$y2>sLhICG#Cp+FGjOR7<`p&q@jpFnsZ2#{nU4i66l01O<5b(dWRm&=7< zFo;vFt>|cP$AN|Z`X;Dirnzv)BQt`msy$v#dZfRQu6I$DTzbLKF!$LVxp|CZT2yU3w`( zp%7|oYg4+1DLobdXty+CAXvKPa&)|T6z#jeMvRYxkYvMfFQ`G)hItriZv&8&07_-2 zp}ro2fdIO_UK~Gu9F2{Qtkug$AGKP&meQv8J(Pqvc<>-rtXRRU3@Qzp4jn=$9LB7f zGjYjiqBrI971Qit(C@(K(q){V5K2VT7f-)6s-OWo; zck@#8zI_VuXdGs%1;z8rz?lq~H*X%k{OT)oojHT0OP79|$g(%O_aW9($+;+j@^=zN5gf;1`}XaaF=GZKNy4H>5*@>nbe04Zzo_I~sc+g&Rb zi{VfpfJ284;fnR^QCC-|nZHc`weaGLFXGKN-^7dm@(0Wk-G~pw(Y5C!W?j_)2@CLbB2xD84Lz^JRS@V4k8!~;={drF?a4< zT)u8y);wj(t0;=tw{IU#oH&8b&Q5Gy@-qy+atebuHF`7P|F9j)|LHomvu8<32}(*z z5Dte^bc4fReu-Y64;5~A$}{9!>vu)-&Iy$g#-#)apwPE3c1@L%0Y0ps>wifp7+lL!( zyb-Ve@in-c2uwBti2#r!NC1cg__})0_g))L`A11HnlHJf(B9F3GiT1gYPDifLqkS| zE?eI8=3Or)TnUte#-qoz&=$_~Jl3sShdm#BfYYZ>qqDOU%a$#Jf#bjn0+uy4f{a=U z7KL^yz*aPKw?)f3^AZ` z$qdZ@!7>o11>V1Wjn4hwK#-CBM6h7N z0!Wg?&gGFm%WO8|+6^1<=fC^~O@|KQnhhJ$@*^jKT0W!EC|X)t@Yz#;#o1T@v)44B z@gFW_*IoBq0{@8~44)l>+`ZZD_2U1%@dm6m8zQ6U1eds6xMa;5rU=qWCv=!v%__-M z(YYwE*-)?vA=xr$Hk;YXTS7?6Dc*GJR;$&D4Od@{Yc_018OCiH-Cfk-aIkTE`Lh9_ zva%AZSFc7_R~K4aTT@!Q+HYmvZ8jUu>^hFX@gCHDZvmFwt2mlPlwhxPK!OAlXTtL3 z%h{zwB7xxWFnFGa$K$~duD_lg`ywB&pd*ag%2MlpJ}}{H1C2&w%88*o&$H9Jwe0%Z z+FJbG=FI?rQ!Oo+Kk6E7sISKtO-*QOYQnlvg->2U%NiTe+}w=AhYu&+v5K^n@#TmI zBKY$Ed6zHhuR7z~)XX%UDa*_N7{n*jh-m6d2{Xh3CUCA*Jq zG7*o**^HxDES4e-a*+c0z{Gh1NBe8}sT_2;R=HVorpj43T9JehG&VNkbbC8mT3d0! z1sA|Qs$t6u(CKu-@At#!^P#G$D($-3GbBmEq31pX04(|8>a>ah0RQJ*5JVBRE9ZhU zCW%|Wa3Sg!E=)1!~=dF?4ZM_JkP5R+$eu5(^Dge z+wI2MwQCWN$MMcP@1Uorhh2|EA~@aA0ZEdO81*G&>i6lVbN6vbk_4;K3W!o#yyk!2 zgW=u)=5K6-bAI|R=XwbYeA_r^mnaAVDKzFl*K<{9xloyuEuj5{U#(pFXXbuDsyY$pwG_f+(W(#U@l;F&BMbbfEWG7y6EM z!!@S@7ysw$({u^F?pv*Xoz6v!L?Z0?SvsYyP`j?=od9xkjVgIsQ?t~Ni5S`Luc@iQ z?YG^A=H_M`J$4Kd0D)Y})^e#dNF)+$b`v#^EvU!LjDX$VweytjH??3#aDo|MTX}!_i~MG)1T?;Ved6 z{NzRqG@ZfVnE@C$1LoecENyZIy+0TCZ7%&cAxUQ#&+|+g$d97W2lBcNLGw;oInXRn_kVnr{VJJTH#u0X$=We%Rqi^u_%fk z6GFtrix;PQsd7ZVR|d5M$qf5^K6H0?XPn!vX4YjhZ`7`5GVSDH%HNstp%!<%`O{;{ zDW5~vBJiWSj3i0$`~81==%I)1d;k6SuO;KO1@kHa2qD}%@4U0!>2y9w!;D5FDk>`2 zB+qOby+*oY3e$=smjG&~m1(tb`mOd`{(me|K>44J6$mmjHX4og?cKZgg$Eye@Ff84 z0EE$d#$1W{CIA6Yv1QAa>o;!P_?W}tm^&H{yWNhes;ZQY8?&`0c|5h>xrE98Qvv`; zBY;}PDX-;H(OThJ1fU06(-}|{ZEbD4wr$(?TvJoiX8^(&9fBNBTDM?d;+ z0FDAkAWyAcj)D+?C7!GWD}V)0J@wQN*R5OkfZ1$jr$3dKm$NC-D)*}X){2uYt{g){ zL#zU{2#~48D#ORq4TM4=ghHW|xPd_6$c`O5o_+oG*LMLpivmYDIN*H9J{Taj#aIy27;LSFXJH!3Q7w`J6d(Zlu@EW;1GPYBD;IBq_JO{nXM>N&vaXPA>tJ;d%%V9bFYH zKTa+ZiS+H#G6I0h<$}lK zN!c}H4A0Q~PYD1d^^ihK08tb%G&Gdf>W?2k{_6Ja+y7T{bMr^YqiL55CWQb%iZmz% zu=M4ZU%sopzJ4>kZZsO<@pw>LTB@4_dUXaR0o0(?y49{_>g&VdaN7Aofk5EMYp=cb z$5GR+3xGI!?}S&zq!EB+;9F_1;I6ywy5g2wZuxtc%f(iPQr#fa$sf5Yi*i4J8UgZQ z1tb!Qw5{iPo(~;4a^%%J?zrO>0AB!zVG>%s9FtA}fRO+IoB&q-?svc2ykyCe%_ftn z2uRK_s;Q|-(b)Amk<`NFIzU-jSz0`;%2o?gBf!wm5YC=Go6_q0`}_Al_uO-T*tv7( zUjg_q$rVpAB?v$vGZ`1&c;k&1-F^4n|0tIR4u=D^wY91{eCI+4c^5#pXrT|9P5J-; z1Yk)-K~xGRg<9py|Epb(#bWUJd?^E9JkN*r?Afzp>(;G10ep!9IdsN~DMbJvMH&^o&D@_2Y zU4Yurvr2KV43qy3hr{UW>q}|%p-`ypt+(F#$d=WjZxEX^qwhI;8T_WK$r2_mb8v9*$c`O5cI@1_b3cGnNVfVZUHQN?Apnp<0t~fjw(3?6c^9BY0C|~&LLvBkzLc^0Xf)clYuBzF+qZB38-T+ALYPLaUXE!=016oq zW&l|F{PWM>ym;~A&2-Lz!C*j5O%2<2jbeCsm{qcxhmo3gwAIU=hqku1T~9y#^sCLy z&7T73L2`!9v}*NoOltxFDI_ofShH!^ zCJk0ETefV*6Hh#Gr`&;Lu~<-CT+GG*=(6lUAb|e<{xs9>x#ynSv2*9n&yj5PBF>@8 z2hK49P{_s>YAsh~~`vpM=eel5tJ05xD zk&kc=wt6|vNdf?AeuImaEn8OozylB5D4%nn<|y)dy?eH8+xCa%=H^2HPGeNb1J1q5 z2hL#v04XHk0Mr0z{MpZbw&2!VZ@pLUKmwAc-CJ+HwPXAC?VkZS2q1!UxZ)|!X#!9v z{06H5xL$eXmA{)eZ{7_?qp|4Z$&;`C^rt_470G_S1Lt60uZ8o106>~Fr~+`|rcIk_ z0N~Gm{_{6TI&>l!t^9Mn;wdJ4pTNlitx!UUh@=C@PYAKcVlfWMY1ksp0lPj|oHr6c z4uv!TlH&fn5cx`+mjs}Y4=$Z=6;E+q6W}`l{~v!4wxje|1Azbl002ovPDHLkV1ipa B#b5vc literal 0 KcmV+b0RR6000031 diff --git a/mass_operation_abstract/static/description/index.html b/mass_operation_abstract/static/description/index.html new file mode 100644 index 0000000..f97ef44 --- /dev/null +++ b/mass_operation_abstract/static/description/index.html @@ -0,0 +1,446 @@ + + + + + + +Mass Operation Abstract + + + +
+

Mass Operation Abstract

+ + +

Beta License: AGPL-3 OCA/server-ux Translate me on Weblate Try me on Runbot

+

This module provides generic tools to develop modules that process mass +operations on any models.

+

Table of contents

+ +
+

Known issues / Roadmap

+
    +
  • Propose this module in the OCA. (server-tools repository)
  • +
  • refactor mass_editing and mass_sorting OCA modules to depend on +this module.
  • +
  • Develop new modules like:
  • +
+
    +
  1. mass_scripting to have the possibility to execute custom python code +on any model, for selected items.
  2. +
+
+
+

Bug Tracker

+

Bugs are tracked on GitHub Issues. +In case of trouble, please check there if your issue has already been reported. +If you spotted it first, help us smashing it by providing a detailed and welcomed +feedback.

+

Do not contact contributors directly about support or help with technical issues.

+
+
+

Credits

+
+

Authors

+
    +
  • GRAP
  • +
+
+
+

Contributors

+ +
+
+

Other credits

+

The development of this module has been financially supported by:

+
    +
  • Camptocamp
  • +
+
+
+

Maintainers

+

This module is maintained by the OCA.

+Odoo Community Association +

OCA, or the Odoo Community Association, is a nonprofit organization whose +mission is to support the collaborative development of Odoo features and +promote its widespread use.

+

This module is part of the OCA/server-ux project on GitHub.

+

You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.

+
+
+
+ + diff --git a/mass_operation_abstract/views/menu.xml b/mass_operation_abstract/views/menu.xml new file mode 100644 index 0000000..8743853 --- /dev/null +++ b/mass_operation_abstract/views/menu.xml @@ -0,0 +1,16 @@ + + + + + + + diff --git a/mass_operation_abstract/views/view_mass_operation_mixin.xml b/mass_operation_abstract/views/view_mass_operation_mixin.xml new file mode 100644 index 0000000..dc8cd80 --- /dev/null +++ b/mass_operation_abstract/views/view_mass_operation_mixin.xml @@ -0,0 +1,105 @@ + + + + + mass.operation.mixin + + + + + + + + + + mass.operation.mixin + + + + + + + + + + + mass.operation.mixin + +
+
+
+ +
+
+
+

+ +

+
+
+

+ +

+
+ + + + + + + + + + + + + + + + + + + +
+
+
+
+
diff --git a/mass_operation_abstract/views/view_mass_operation_wizard_mixin.xml b/mass_operation_abstract/views/view_mass_operation_wizard_mixin.xml new file mode 100644 index 0000000..88378b6 --- /dev/null +++ b/mass_operation_abstract/views/view_mass_operation_wizard_mixin.xml @@ -0,0 +1,61 @@ + + + + + + mass.operation.wizard.mixin + +
+
+

+ +

+ + + + + + +
+
+ + + + + + diff --git a/mass_operation_abstract/wizard/__init__.py b/mass_operation_abstract/wizard/__init__.py new file mode 100644 index 0000000..6b90cca --- /dev/null +++ b/mass_operation_abstract/wizard/__init__.py @@ -0,0 +1 @@ +from . import mass_operation_wizard_mixin diff --git a/mass_operation_abstract/wizard/mass_operation_wizard_mixin.py b/mass_operation_abstract/wizard/mass_operation_wizard_mixin.py new file mode 100644 index 0000000..c86d8be --- /dev/null +++ b/mass_operation_abstract/wizard/mass_operation_wizard_mixin.py @@ -0,0 +1,130 @@ +# Copyright (C) 2018 - Today: GRAP (http://www.grap.coop) +# @author: Sylvain LE GAL (https://twitter.com/legalsylvain) +# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html). + +from flectra import _, api, fields, models +from flectra.exceptions import UserError +from flectra.osv import expression +from flectra.tools.safe_eval import safe_eval + + +class MassOperationWizardMixin(models.AbstractModel): + _name = "mass.operation.wizard.mixin" + _description = "Abstract Mass Operations Wizard" + + _OPERATION_STATUS_SELECTION = [ + ("info", "Info"), + ("warning", "Warning"), + ("danger", "Danger"), + ] + + # To Overwrite Section + def _apply_operation(self, items): + self.ensure_one() + + # Column Section + selected_item_qty = fields.Integer(readonly=True) + + remaining_item_qty = fields.Integer(readonly=True) + + operation_description_info = fields.Text(readonly=True) + operation_description_warning = fields.Text(readonly=True) + operation_description_danger = fields.Text(readonly=True) + + message = fields.Text(readonly=True) + + @api.model + def default_get(self, fields): + res = super().default_get(fields) + + mass_operation = self._get_mass_operation() + + operation_description_info = False + operation_description_warning = False + operation_description_danger = False + + # Compute items quantity + active_ids = self.env.context.get("active_ids") + remaining_items = self._get_remaining_items() + + if len(active_ids) == len(remaining_items): + operation_description_info = _( + "The treatment will be processed on the {} selected" + " elements.".format(len(active_ids)) + ) + elif len(remaining_items): + operation_description_warning = _( + "You have selected {} items that can not be processed." + " Only {} items will be processed.".format( + len(active_ids) - len(remaining_items), len(remaining_items) + ) + ) + else: + operation_description_danger = _( + "None of the {} items you have selected can be processed.".format( + len(active_ids) + ) + ) + + res.update( + { + "selected_item_qty": len(active_ids), + "remaining_item_qty": len(remaining_items), + "operation_description_info": operation_description_info, + "operation_description_warning": operation_description_warning, + "operation_description_danger": operation_description_danger, + "message": mass_operation.message, + } + ) + return res + + def button_apply(self): + items = self._get_remaining_items() + if not len(items): + raise UserError( + _( + "There is no more element that corresponds to the rules of" + " the domain.\n Please refresh your list and try to" + " select again the items." + ) + ) + return self._apply_operation(items) + + # Private Section + @api.model + def _get_mass_operation(self): + IrModel = self.env["ir.model"] + mass_operation_models = IrModel.search( + [("model", "=", self.env.context.get("mass_operation_mixin_name", False))] + ) + + if len(mass_operation_models) != 1: + return False + + MassOperationModel = self.env[mass_operation_models[0].model] + return MassOperationModel.search( + [("id", "=", self.env.context.get("mass_operation_mixin_id", 0))] + ) + + @api.model + def _get_remaining_items(self, force_active_domain=False): + """ + Get items based on active_ids set on the context. + You can also use the active_domain (by setting the parameter to True). + This could be useful when you want to do an operation on a lot of + records and you don't want to select them all. + + :param force_active_domain: bool + :return: recordset + """ + active_ids = self.env.context.get("active_ids", []) + mass_operation = self._get_mass_operation() + SrcModel = self.env[mass_operation.model_id.model] + + domain = [("id", "in", active_ids)] + if force_active_domain: + domain = self.env.context.get("active_domain", []) + + if mass_operation.domain != "[]": + domain = expression.AND([safe_eval(mass_operation.domain), domain]) + return SrcModel.search(domain) From ab3d60c07c320e55c2174145f0974a5e4a17c46d Mon Sep 17 00:00:00 2001 From: Flectra Community Bot Date: Sun, 22 Aug 2021 02:12:13 +0000 Subject: [PATCH 04/21] Automatic Update form OCA2FC Migrator --- base_tier_validation/i18n/es_MX.po | 613 +++++++++++++++++++++++++++++ 1 file changed, 613 insertions(+) create mode 100644 base_tier_validation/i18n/es_MX.po diff --git a/base_tier_validation/i18n/es_MX.po b/base_tier_validation/i18n/es_MX.po new file mode 100644 index 0000000..b36d529 --- /dev/null +++ b/base_tier_validation/i18n/es_MX.po @@ -0,0 +1,613 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * base_tier_validation +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 14.0\n" +"Report-Msgid-Bugs-To: \n" +"PO-Revision-Date: 2021-08-16 22:50+0000\n" +"Last-Translator: Jesús Alan Ramos Rodríguez \n" +"Language-Team: none\n" +"Language: es_MX\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Plural-Forms: nplurals=2; plural=n != 1;\n" +"X-Generator: Weblate 4.3.2\n" + +#. module: base_tier_validation +#. openerp-web +#: code:addons/base_tier_validation/static/src/xml/systray.xml:0 +#, python-format +msgid "0 Pending" +msgstr "0 Pendientes" + +#. module: base_tier_validation +#: model_terms:ir.ui.view,arch_db:base_tier_validation.tier_validation_label +msgid "" +"\n" +" This Record needs to be\n" +" validated." +msgstr "" +"\n" +" Este registro necesita ser\n" +" validado." + +#. module: base_tier_validation +#: model_terms:ir.ui.view,arch_db:base_tier_validation.tier_validation_label +msgid "" +"\n" +" Operation has been\n" +" rejected\n" +" ." +msgstr "" +"\n" +" La operación ha sido\n" +" rechazada\n" +" ." + +#. module: base_tier_validation +#: model_terms:ir.ui.view,arch_db:base_tier_validation.tier_validation_label +msgid "" +"\n" +" Operation has been\n" +" validated\n" +" !" +msgstr "" +"\n" +" ¡La operación ha sido\n" +" validada\n" +" !" + +#. module: base_tier_validation +#: model_terms:ir.ui.view,arch_db:base_tier_validation.tier_definition_view_form +msgid "Name" +msgstr "Nombre" + +#. module: base_tier_validation +#: code:addons/base_tier_validation/models/tier_validation.py:0 +#, python-format +msgid "A review has been requested by %s." +msgstr "%s ha solicitado una revisión." + +#. module: base_tier_validation +#: code:addons/base_tier_validation/models/tier_validation.py:0 +#, python-format +msgid "A review was accepted" +msgstr "Se aceptó una revisión" + +#. module: base_tier_validation +#: code:addons/base_tier_validation/models/tier_validation.py:0 +#, python-format +msgid "A review was accepted. (%s)" +msgstr "Se aceptó una revisión. (%s)" + +#. module: base_tier_validation +#: code:addons/base_tier_validation/models/tier_validation.py:0 +#, python-format +msgid "A review was rejected by %s." +msgstr "%s rechazó una revisión." + +#. module: base_tier_validation +#: code:addons/base_tier_validation/models/tier_validation.py:0 +#, python-format +msgid "A review was rejected by {}. ({})" +msgstr "{} rechazó una revisión. ({})" + +#. module: base_tier_validation +#: code:addons/base_tier_validation/models/tier_validation.py:0 +#, python-format +msgid "A validation process is still open for at least one record." +msgstr "Todavía hay un proceso de validación abierto para al menos un registro." + +#. module: base_tier_validation +#: model:ir.model.fields,field_description:base_tier_validation.field_tier_definition__active +msgid "Active" +msgstr "Activo" + +#. module: base_tier_validation +#. openerp-web +#: code:addons/base_tier_validation/static/src/xml/systray.xml:0 +#, python-format +msgid "Activities" +msgstr "Actividades" + +#. module: base_tier_validation +#: model_terms:ir.ui.view,arch_db:base_tier_validation.tier_definition_view_search +msgid "All" +msgstr "Todos" + +#. module: base_tier_validation +#: model:ir.model.fields.selection,name:base_tier_validation.selection__tier_definition__review_type__group +msgid "Any user in a specific group" +msgstr "Cualquier usuario de un grupo específico" + +#. module: base_tier_validation +#: model_terms:ir.ui.view,arch_db:base_tier_validation.tier_definition_view_form +msgid "Apply On" +msgstr "Aplicar en" + +#. module: base_tier_validation +#: model:ir.model.fields,help:base_tier_validation.field_tier_definition__approve_sequence +#: model:ir.model.fields,help:base_tier_validation.field_tier_review__approve_sequence +msgid "Approval order by the specified sequence number" +msgstr "Orden de aprobación por el número de secuencia especificado" + +#. module: base_tier_validation +#: model:ir.model.fields,field_description:base_tier_validation.field_tier_definition__approve_sequence +#: model:ir.model.fields,field_description:base_tier_validation.field_tier_review__approve_sequence +msgid "Approve by sequence" +msgstr "Aprobar por secuencia" + +#. module: base_tier_validation +#: model:ir.model.fields.selection,name:base_tier_validation.selection__tier_review__status__approved +msgid "Approved" +msgstr "Aprobado" + +#. module: base_tier_validation +#: model:ir.model.fields,field_description:base_tier_validation.field_tier_review__can_review +#: model:ir.model.fields,field_description:base_tier_validation.field_tier_validation__can_review +msgid "Can Review" +msgstr "Puede revisar" + +#. module: base_tier_validation +#: model:ir.model.fields,help:base_tier_validation.field_tier_review__can_review +msgid "" +"Can review will be marked if the review is pending and the\n" +" approve sequence has been achieved" +msgstr "" +"Puede revisar se marcará si la revisión está pendiente y\n" +" se ha logrado aprobar la secuencia" + +#. module: base_tier_validation +#: model_terms:ir.ui.view,arch_db:base_tier_validation.view_comment_wizard +msgid "Cancel" +msgstr "Cancelado" + +#. module: base_tier_validation +#. openerp-web +#: code:addons/base_tier_validation/models/tier_validation.py:0 +#: code:addons/base_tier_validation/static/src/xml/tier_review_template.xml:0 +#: model:ir.model.fields,field_description:base_tier_validation.field_comment_wizard__comment +#: model:ir.model.fields,field_description:base_tier_validation.field_tier_definition__has_comment +#: model:ir.model.fields,field_description:base_tier_validation.field_tier_review__has_comment +#: model_terms:ir.ui.view,arch_db:base_tier_validation.view_comment_wizard +#, python-format +msgid "Comment" +msgstr "Comentario" + +#. module: base_tier_validation +#: model:ir.model,name:base_tier_validation.model_comment_wizard +msgid "Comment Wizard" +msgstr "Asistente de comentarios" + +#. module: base_tier_validation +#: model:ir.model.fields,field_description:base_tier_validation.field_tier_review__comment +msgid "Comments" +msgstr "Comentarios" + +#. module: base_tier_validation +#: model:ir.model.fields,field_description:base_tier_validation.field_tier_definition__company_id +#: model:ir.model.fields,field_description:base_tier_validation.field_tier_review__company_id +msgid "Company" +msgstr "Empresa" + +#. module: base_tier_validation +#: model:ir.model.fields,field_description:base_tier_validation.field_comment_wizard__create_uid +#: model:ir.model.fields,field_description:base_tier_validation.field_tier_definition__create_uid +#: model:ir.model.fields,field_description:base_tier_validation.field_tier_review__create_uid +msgid "Created by" +msgstr "Creado por" + +#. module: base_tier_validation +#: model:ir.model.fields,field_description:base_tier_validation.field_comment_wizard__create_date +#: model:ir.model.fields,field_description:base_tier_validation.field_tier_definition__create_date +#: model:ir.model.fields,field_description:base_tier_validation.field_tier_review__create_date +msgid "Created on" +msgstr "Creado en" + +#. module: base_tier_validation +#: model:ir.model.fields,field_description:base_tier_validation.field_tier_definition__definition_type +#: model:ir.model.fields,field_description:base_tier_validation.field_tier_review__definition_id +msgid "Definition" +msgstr "Definición de Nivel" + +#. module: base_tier_validation +#: model:ir.model.fields,field_description:base_tier_validation.field_tier_definition__definition_domain +msgid "Definition Domain" +msgstr "Dominio de definición" + +#. module: base_tier_validation +#. openerp-web +#: code:addons/base_tier_validation/static/src/xml/tier_review_template.xml:0 +#: model:ir.model.fields,field_description:base_tier_validation.field_tier_definition__name +#: model:ir.model.fields,field_description:base_tier_validation.field_tier_review__name +#, python-format +msgid "Description" +msgstr "Descripción" + +#. module: base_tier_validation +#: model:ir.model.fields,field_description:base_tier_validation.field_comment_wizard__display_name +#: model:ir.model.fields,field_description:base_tier_validation.field_res_users__display_name +#: model:ir.model.fields,field_description:base_tier_validation.field_tier_definition__display_name +#: model:ir.model.fields,field_description:base_tier_validation.field_tier_review__display_name +#: model:ir.model.fields,field_description:base_tier_validation.field_tier_validation__display_name +msgid "Display Name" +msgstr "Nombre mostrado" + +#. module: base_tier_validation +#: model:ir.model.fields.selection,name:base_tier_validation.selection__tier_definition__definition_type__domain +msgid "Domain" +msgstr "Dominio" + +#. module: base_tier_validation +#: model:ir.model.fields,field_description:base_tier_validation.field_tier_review__done_by +msgid "Done By" +msgstr "Realizado por" + +#. module: base_tier_validation +#. openerp-web +#: code:addons/base_tier_validation/static/src/xml/tier_review_template.xml:0 +#, python-format +msgid "Done by" +msgstr "Realizado por" + +#. module: base_tier_validation +#: model:ir.model.fields.selection,name:base_tier_validation.selection__tier_definition__review_type__field +msgid "Field in related record" +msgstr "Campo en registro relacionado" + +#. module: base_tier_validation +#: code:addons/base_tier_validation/models/tier_review.py:0 +#, python-format +msgid "Group %s" +msgstr "Grupo %s" + +#. module: base_tier_validation +#: model_terms:ir.ui.view,arch_db:base_tier_validation.tier_definition_view_search +msgid "Group By" +msgstr "Agrupar por" + +#. module: base_tier_validation +#: model:ir.model.fields,field_description:base_tier_validation.field_tier_validation__has_comment +msgid "Has Comment" +msgstr "Tiene comentario" + +#. module: base_tier_validation +#: model:ir.model.fields,field_description:base_tier_validation.field_comment_wizard__id +#: model:ir.model.fields,field_description:base_tier_validation.field_res_users__id +#: model:ir.model.fields,field_description:base_tier_validation.field_tier_definition__id +#: model:ir.model.fields,field_description:base_tier_validation.field_tier_review__id +#: model:ir.model.fields,field_description:base_tier_validation.field_tier_validation__id +msgid "ID" +msgstr "Identificación" + +#. module: base_tier_validation +#: model:ir.model.fields,help:base_tier_validation.field_tier_definition__notify_on_create +msgid "" +"If set, all possible reviewers will be notified by email when this " +"definition is triggered." +msgstr "" +"Si se establece, todos los posibles revisores serán notificados por correo " +"electrónico cuando se active esta definición." + +#. module: base_tier_validation +#: model:ir.model.fields,field_description:base_tier_validation.field_comment_wizard____last_update +#: model:ir.model.fields,field_description:base_tier_validation.field_res_users____last_update +#: model:ir.model.fields,field_description:base_tier_validation.field_tier_definition____last_update +#: model:ir.model.fields,field_description:base_tier_validation.field_tier_review____last_update +#: model:ir.model.fields,field_description:base_tier_validation.field_tier_validation____last_update +msgid "Last Modified on" +msgstr "Última modificación el" + +#. module: base_tier_validation +#: model:ir.model.fields,field_description:base_tier_validation.field_comment_wizard__write_uid +#: model:ir.model.fields,field_description:base_tier_validation.field_tier_definition__write_uid +#: model:ir.model.fields,field_description:base_tier_validation.field_tier_review__write_uid +msgid "Last Updated by" +msgstr "Última modificación por" + +#. module: base_tier_validation +#: model:ir.model.fields,field_description:base_tier_validation.field_comment_wizard__write_date +#: model:ir.model.fields,field_description:base_tier_validation.field_tier_definition__write_date +#: model:ir.model.fields,field_description:base_tier_validation.field_tier_review__write_date +msgid "Last Updated on" +msgstr "Última modificación en" + +#. module: base_tier_validation +#: model:ir.model.fields,field_description:base_tier_validation.field_tier_definition__model +#: model_terms:ir.ui.view,arch_db:base_tier_validation.tier_definition_view_search +msgid "Model" +msgstr "Modelo" + +#. module: base_tier_validation +#: model_terms:ir.ui.view,arch_db:base_tier_validation.tier_definition_view_form +msgid "More Options" +msgstr "Más opciones" + +#. module: base_tier_validation +#: model:ir.model.fields,field_description:base_tier_validation.field_tier_validation__need_validation +msgid "Need Validation" +msgstr "Necesita validación" + +#. module: base_tier_validation +#: code:addons/base_tier_validation/models/tier_definition.py:0 +#, python-format +msgid "New Tier Validation" +msgstr "Nueva Definición de Nivel" + +#. module: base_tier_validation +#. openerp-web +#: code:addons/base_tier_validation/static/src/xml/systray.xml:0 +#, python-format +msgid "No reviews to do." +msgstr "No hay revisiones que hacer." + +#. module: base_tier_validation +#: model:ir.model.fields,field_description:base_tier_validation.field_tier_definition__notify_on_create +msgid "Notify Reviewers on Creation" +msgstr "Notificar a los revisores sobre la creación" + +#. module: base_tier_validation +#. openerp-web +#: code:addons/base_tier_validation/static/src/xml/systray.xml:0 +#: model:ir.model.fields.selection,name:base_tier_validation.selection__tier_review__status__pending +#, python-format +msgid "Pending" +msgstr "Pendiente" + +#. module: base_tier_validation +#: model:ir.model.fields,field_description:base_tier_validation.field_tier_definition__model_id +msgid "Referenced Model" +msgstr "Modelo referenciado" + +#. module: base_tier_validation +#: model_terms:ir.ui.view,arch_db:base_tier_validation.tier_validation_label +msgid "Reject" +msgstr "Rechazar" + +#. module: base_tier_validation +#: model:ir.model.fields,field_description:base_tier_validation.field_tier_validation__rejected +#: model:ir.model.fields.selection,name:base_tier_validation.selection__tier_review__status__rejected +msgid "Rejected" +msgstr "Rechazado" + +#. module: base_tier_validation +#: model:ir.model.fields,field_description:base_tier_validation.field_tier_review__res_id +msgid "Related Document ID" +msgstr "ID de documento relacionado" + +#. module: base_tier_validation +#: model:ir.model.fields,field_description:base_tier_validation.field_tier_review__model +msgid "Related Document Model" +msgstr "Modelo de documento relacionado" + +#. module: base_tier_validation +#: model_terms:ir.ui.view,arch_db:base_tier_validation.tier_validation_buttons +msgid "Request Validation" +msgstr "Solicitar Validación" + +#. module: base_tier_validation +#: model:ir.model.fields,field_description:base_tier_validation.field_tier_review__requested_by +msgid "Requested By" +msgstr "Solicitado por" + +#. module: base_tier_validation +#. openerp-web +#: code:addons/base_tier_validation/static/src/xml/tier_review_template.xml:0 +#, python-format +msgid "Requested by" +msgstr "Solicitado por" + +#. module: base_tier_validation +#: model:ir.model.fields,field_description:base_tier_validation.field_comment_wizard__res_id +msgid "Res" +msgstr "Res" + +#. module: base_tier_validation +#: model:ir.model.fields,field_description:base_tier_validation.field_comment_wizard__res_model +msgid "Res Model" +msgstr "Modelo Res" + +#. module: base_tier_validation +#: model_terms:ir.ui.view,arch_db:base_tier_validation.tier_validation_buttons +msgid "Restart Validation" +msgstr "Reiniciar la validación" + +#. module: base_tier_validation +#. openerp-web +#: code:addons/base_tier_validation/static/src/xml/systray.xml:0 +#: model:ir.model.fields,field_description:base_tier_validation.field_comment_wizard__review_ids +#, python-format +msgid "Review" +msgstr "Revisión" + +#. module: base_tier_validation +#: model:ir.model.fields,field_description:base_tier_validation.field_tier_definition__reviewer_id +#: model:ir.model.fields,field_description:base_tier_validation.field_tier_review__reviewer_id +msgid "Reviewer" +msgstr "Evaluador" + +#. module: base_tier_validation +#: model:ir.model.fields,field_description:base_tier_validation.field_tier_definition__reviewer_field_id +#: model:ir.model.fields,field_description:base_tier_validation.field_tier_review__reviewer_field_id +msgid "Reviewer field" +msgstr "Campo de revisor" + +#. module: base_tier_validation +#: model:ir.model.fields,field_description:base_tier_validation.field_tier_definition__reviewer_group_id +#: model:ir.model.fields,field_description:base_tier_validation.field_tier_review__reviewer_group_id +msgid "Reviewer group" +msgstr "Grupo de revisores" + +#. module: base_tier_validation +#: model:ir.model.fields,field_description:base_tier_validation.field_tier_review__reviewer_ids +#: model:ir.model.fields,field_description:base_tier_validation.field_tier_validation__reviewer_ids +msgid "Reviewers" +msgstr "Revisores" + +#. module: base_tier_validation +#. openerp-web +#: code:addons/base_tier_validation/static/src/xml/systray.xml:0 +#: code:addons/base_tier_validation/static/src/xml/tier_review_template.xml:0 +#: model:ir.model.fields,field_description:base_tier_validation.field_res_users__review_ids +#, python-format +msgid "Reviews" +msgstr "Comentarios" + +#. module: base_tier_validation +#. openerp-web +#: code:addons/base_tier_validation/static/src/xml/tier_review_template.xml:0 +#: model:ir.model.fields,field_description:base_tier_validation.field_tier_definition__sequence +#: model:ir.model.fields,field_description:base_tier_validation.field_tier_review__sequence +#, python-format +msgid "Sequence" +msgstr "Secuencia" + +#. module: base_tier_validation +#: model:ir.model.fields.selection,name:base_tier_validation.selection__tier_definition__review_type__individual +msgid "Specific user" +msgstr "Usuario específico" + +#. module: base_tier_validation +#. openerp-web +#: code:addons/base_tier_validation/static/src/xml/tier_review_template.xml:0 +#: model:ir.model.fields,field_description:base_tier_validation.field_tier_review__status +#, python-format +msgid "Status" +msgstr "Estatus" + +#. module: base_tier_validation +#: code:addons/base_tier_validation/models/tier_validation.py:0 +#, python-format +msgid "The operation is under validation." +msgstr "La operación está en proceso de validación." + +#. module: base_tier_validation +#: code:addons/base_tier_validation/models/tier_validation.py:0 +#, python-format +msgid "The review has been reset by %s." +msgstr "%s ha restablecido la revisión." + +#. module: base_tier_validation +#: code:addons/base_tier_validation/models/tier_review.py:0 +#, python-format +msgid "There are no res.users in the selected field" +msgstr "No hay res.users en el campo seleccionado" + +#. module: base_tier_validation +#: code:addons/base_tier_validation/models/tier_validation.py:0 +#, python-format +msgid "" +"This action needs to be validated for at least one record. \n" +"Please request a validation." +msgstr "" +"Esta acción debe validarse para al menos un registro.\n" +"Solicite una validación." + +#. module: base_tier_validation +#: model:ir.actions.act_window,name:base_tier_validation.tier_definition_action +#: model:ir.model,name:base_tier_validation.model_tier_definition +#: model:ir.ui.menu,name:base_tier_validation.menu_tier_definition +#: model_terms:ir.ui.view,arch_db:base_tier_validation.tier_definition_view_form +#: model_terms:ir.ui.view,arch_db:base_tier_validation.tier_definition_view_tree +msgid "Tier Definition" +msgstr "Definición de Nivel" + +#. module: base_tier_validation +#: model:ir.model,name:base_tier_validation.model_tier_review +#: model_terms:ir.ui.view,arch_db:base_tier_validation.tier_review_view_tree +msgid "Tier Review" +msgstr "Revisión de niveles" + +#. module: base_tier_validation +#: model:ir.model,name:base_tier_validation.model_tier_validation +msgid "Tier Validation (abstract)" +msgstr "Validación de nivel (resumen)" + +#. module: base_tier_validation +#: model:mail.message.subtype,name:base_tier_validation.mt_tier_validation_accepted +msgid "Tier Validation Accepted Notification" +msgstr "Notificación de validación de nivel aceptada" + +#. module: base_tier_validation +#: model:mail.message.subtype,name:base_tier_validation.mt_tier_validation_rejected +msgid "Tier Validation Rejected Notification" +msgstr "Notificación de rechazo de validación de nivel" + +#. module: base_tier_validation +#: model:mail.message.subtype,name:base_tier_validation.mt_tier_validation_requested +msgid "Tier Validation Requested" +msgstr "Validación de nivel solicitada" + +#. module: base_tier_validation +#: model:mail.message.subtype,name:base_tier_validation.mt_tier_validation_restarted +msgid "Tier Validation Restarted" +msgstr "Se reinició la validación de nivel" + +#. module: base_tier_validation +#: model:ir.ui.menu,name:base_tier_validation.menu_tier_confirmation +msgid "Tier Validations" +msgstr "Validaciones de nivel" + +#. module: base_tier_validation +#: model:ir.model.fields,field_description:base_tier_validation.field_tier_review__todo_by +msgid "Todo By" +msgstr "Por Hacer por" + +#. module: base_tier_validation +#. openerp-web +#: code:addons/base_tier_validation/static/src/xml/tier_review_template.xml:0 +#, python-format +msgid "Todo by" +msgstr "Por Hacer por" + +#. module: base_tier_validation +#: model:ir.model,name:base_tier_validation.model_res_users +msgid "Users" +msgstr "Usuarios" + +#. module: base_tier_validation +#: model:ir.model.fields,field_description:base_tier_validation.field_tier_definition__valid_reviewer_field_ids +msgid "Valid Reviewer Field" +msgstr "Campo de revisor válido" + +#. module: base_tier_validation +#: model_terms:ir.ui.view,arch_db:base_tier_validation.tier_validation_label +msgid "Validate" +msgstr "Validar" + +#. module: base_tier_validation +#: model:ir.model.fields,field_description:base_tier_validation.field_comment_wizard__validate_reject +msgid "Validate Reject" +msgstr "Validar Rechazar" + +#. module: base_tier_validation +#: model:ir.model.fields,field_description:base_tier_validation.field_tier_validation__validated +msgid "Validated" +msgstr "Validado" + +#. module: base_tier_validation +#: model:ir.model.fields,field_description:base_tier_validation.field_tier_definition__review_type +#: model:ir.model.fields,field_description:base_tier_validation.field_tier_review__review_type +msgid "Validated by" +msgstr "Validado por" + +#. module: base_tier_validation +#. openerp-web +#: code:addons/base_tier_validation/static/src/xml/tier_review_template.xml:0 +#: model:ir.model.fields,field_description:base_tier_validation.field_tier_review__reviewed_date +#, python-format +msgid "Validation Date" +msgstr "Fecha de validación" + +#. module: base_tier_validation +#: model:ir.model.fields,field_description:base_tier_validation.field_tier_validation__review_ids +msgid "Validations" +msgstr "Validaciones" + +#. module: base_tier_validation +#: model_terms:ir.ui.view,arch_db:base_tier_validation.tier_definition_view_form +msgid "e.g. Tier Validation for..." +msgstr "p.ej. Validación de nivel para ..." From b9577103acd2d3b960a696e37536da618f5284de Mon Sep 17 00:00:00 2001 From: Flectra Community Bot Date: Sun, 3 Oct 2021 02:12:30 +0000 Subject: [PATCH 05/21] Automatic Update form OCA2FC Migrator --- README.md | 2 +- base_tier_validation/__manifest__.py | 2 +- base_tier_validation/models/res_users.py | 55 +++++++++++------------- 3 files changed, 26 insertions(+), 33 deletions(-) diff --git a/README.md b/README.md index 7dbb0ca..f4f9ce1 100644 --- a/README.md +++ b/README.md @@ -22,7 +22,7 @@ addon | version | summary [multi_step_wizard](multi_step_wizard/) | 2.0.1.0.0| Multi-Steps Wizards [base_technical_features](base_technical_features/) | 2.0.1.1.0| Access to technical features without activating debug mode [base_tier_validation_formula](base_tier_validation_formula/) | 2.0.2.0.0| Formulas for Base tier validation -[base_tier_validation](base_tier_validation/) | 2.0.2.5.0| Implement a validation process based on tiers. +[base_tier_validation](base_tier_validation/) | 2.0.2.5.1| Implement a validation process based on tiers. [base_search_custom_field_filter](base_search_custom_field_filter/) | 2.0.1.0.0| Add custom filters for fields via UI [base_revision](base_revision/) | 2.0.1.0.1| Keep track of revised document [base_export_manager](base_export_manager/) | 2.0.1.0.1| Manage model export profiles diff --git a/base_tier_validation/__manifest__.py b/base_tier_validation/__manifest__.py index b54ce41..0d5af16 100644 --- a/base_tier_validation/__manifest__.py +++ b/base_tier_validation/__manifest__.py @@ -3,7 +3,7 @@ { "name": "Base Tier Validation", "summary": "Implement a validation process based on tiers.", - "version": "2.0.2.5.0", + "version": "2.0.2.5.1", "development_status": "Mature", "maintainers": ["LoisRForgeFlow"], "category": "Tools", diff --git a/base_tier_validation/models/res_users.py b/base_tier_validation/models/res_users.py index b29456d..f85dbce 100644 --- a/base_tier_validation/models/res_users.py +++ b/base_tier_validation/models/res_users.py @@ -12,37 +12,30 @@ class Users(models.Model): @api.model def review_user_count(self): user_reviews = {} - to_review_docs = {} - reviews = self.env["tier.review"].search( - [ - ("status", "=", "pending"), - ("can_review", "=", True), - ("id", "in", self.env.user.review_ids.ids), - ] - ) - for review in reviews: - record = ( - review.env[review.model] - .with_user(self.env.user) - .search([("id", "=", review.res_id)]) - ) - if not record or record.rejected or not record.can_review: - # Checking that the review is accessible with the permissions - # and to review condition is valid - continue - if not user_reviews.get(review["model"]): - user_reviews[review.model] = { - "name": record._description, - "model": review.model, - "icon": modules.module.get_module_icon( - self.env[review.model]._original_module - ), - "pending_count": 0, - } - docs = to_review_docs.get(review.model) - if (docs and record not in docs) or not docs: - user_reviews[review.model]["pending_count"] += 1 - to_review_docs.setdefault(review.model, []).append(record) + domain = [ + ("status", "=", "pending"), + ("can_review", "=", True), + ("id", "in", self.env.user.review_ids.ids), + ] + review_groups = self.env["tier.review"].read_group(domain, ["model"], ["model"]) + for review_group in review_groups: + model = review_group["model"] + reviews = self.env["tier.review"].search(review_group.get("__domain")) + if reviews: + records = ( + self.env[model] + .with_user(self.env.user) + .search([("id", "in", reviews.mapped("res_id"))]) + .filtered(lambda x: not x.rejected and x.can_review) + ) + if len(records): + record = self.env[model] + user_reviews[model] = { + "name": record._description, + "model": model, + "icon": modules.module.get_module_icon(record._original_module), + "pending_count": len(records), + } return list(user_reviews.values()) @api.model From d740a08a8e3893fa6c8ee3637a240335a8d5c67c Mon Sep 17 00:00:00 2001 From: Flectra Community Bot Date: Sun, 17 Oct 2021 02:13:25 +0000 Subject: [PATCH 06/21] Automatic Update form OCA2FC Migrator --- .gitlab-ci.yml | 707 ++++++++++++++++-- README.md | 1 + .../COPYRIGHT | 15 + .../LICENSE | 663 ++++++++++++++++ .../README.rst | 106 +++ .../__init__.py | 2 + .../__manifest__.py | 23 + .../data/config_parameter.xml | 38 + .../data/cron_data.xml | 21 + ...uick_access_folder_auto_classification.pot | 190 +++++ .../models/__init__.py | 3 + .../models/document_quick_access_missing.py | 50 ++ .../models/document_quick_access_rule.py | 153 ++++ .../models/ir_attachment.py | 76 ++ .../security/ir.model.access.csv | 3 + .../security/security.xml | 16 + .../static/description/icon.png | Bin 0 -> 7280 bytes .../static/description/icon.svg | 178 +++++ .../static/description/index.html | 446 +++++++++++ .../tests/__init__.py | 1 + ...cument_quick_access_auto_classification.py | 260 +++++++ .../tests/test_file.pdf | Bin 0 -> 1138 bytes .../views/document_quick_access_missing.xml | 104 +++ .../wizards/__init__.py | 1 + .../document_quick_access_missing_assign.py | 29 + .../document_quick_access_missing_assign.xml | 34 + 26 files changed, 3071 insertions(+), 49 deletions(-) create mode 100644 document_quick_access_folder_auto_classification/COPYRIGHT create mode 100644 document_quick_access_folder_auto_classification/LICENSE create mode 100644 document_quick_access_folder_auto_classification/README.rst create mode 100644 document_quick_access_folder_auto_classification/__init__.py create mode 100644 document_quick_access_folder_auto_classification/__manifest__.py create mode 100644 document_quick_access_folder_auto_classification/data/config_parameter.xml create mode 100644 document_quick_access_folder_auto_classification/data/cron_data.xml create mode 100644 document_quick_access_folder_auto_classification/i18n/document_quick_access_folder_auto_classification.pot create mode 100644 document_quick_access_folder_auto_classification/models/__init__.py create mode 100644 document_quick_access_folder_auto_classification/models/document_quick_access_missing.py create mode 100644 document_quick_access_folder_auto_classification/models/document_quick_access_rule.py create mode 100644 document_quick_access_folder_auto_classification/models/ir_attachment.py create mode 100644 document_quick_access_folder_auto_classification/security/ir.model.access.csv create mode 100644 document_quick_access_folder_auto_classification/security/security.xml create mode 100644 document_quick_access_folder_auto_classification/static/description/icon.png create mode 100644 document_quick_access_folder_auto_classification/static/description/icon.svg create mode 100644 document_quick_access_folder_auto_classification/static/description/index.html create mode 100644 document_quick_access_folder_auto_classification/tests/__init__.py create mode 100644 document_quick_access_folder_auto_classification/tests/test_document_quick_access_auto_classification.py create mode 100644 document_quick_access_folder_auto_classification/tests/test_file.pdf create mode 100644 document_quick_access_folder_auto_classification/views/document_quick_access_missing.xml create mode 100644 document_quick_access_folder_auto_classification/wizards/__init__.py create mode 100644 document_quick_access_folder_auto_classification/wizards/document_quick_access_missing_assign.py create mode 100644 document_quick_access_folder_auto_classification/wizards/document_quick_access_missing_assign.xml diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index cf65e1f..6a39522 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -23,9 +23,32 @@ test_all_modules: entrypoint: ["/bin/sh", "-c"] script: - apt-get install -y p7zip-full - - apt-get install -y expect-dev + - apt-get install -y expect-dev libzbar0 poppler-utils - 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/account-closing.git ~/others/account-closing" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/account-invoicing.git ~/others/account-invoicing" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/account-payment.git ~/others/account-payment" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/bank-payment.git ~/others/bank-payment" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/brand.git ~/others/brand" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/community-data-files.git ~/others/community-data-files" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/connector.git ~/others/connector" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/edi.git ~/others/edi" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/partner-contact.git ~/others/partner-contact" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/product-attribute.git ~/others/product-attribute" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/queue.git ~/others/queue" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/report-print-send.git ~/others/report-print-send" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/rest-framework.git ~/others/rest-framework" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/sale-workflow.git ~/others/sale-workflow" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/server-env.git ~/others/server-env" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/server-tools.git ~/others/server-tools" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/social.git ~/others/social" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/stock-logistics-transport.git ~/others/stock-logistics-transport" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/stock-logistics-warehouse.git ~/others/stock-logistics-warehouse" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/stock-logistics-workflow.git ~/others/stock-logistics-workflow" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/storage.git ~/others/storage" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/web.git ~/others/web" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/wms.git ~/others/wms" - 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 @@ -37,14 +60,14 @@ test_all_modules: - mv ${CI_PROJECT_DIR}/ci_data/filestore /opt/flectra/.local/share/filestore/test_all - chown -R flectra.flectra /opt/flectra/.local/share/filestore/test_all - su - flectra -c "/opt/flectra/flectra-bin - --addons-path ${CI_PROJECT_DIR} + --addons-path ${CI_PROJECT_DIR},~/others/account-closing,~/others/account-invoicing,~/others/account-payment,~/others/bank-payment,~/others/brand,~/others/community-data-files,~/others/connector,~/others/edi,~/others/partner-contact,~/others/product-attribute,~/others/queue,~/others/report-print-send,~/others/rest-framework,~/others/sale-workflow,~/others/server-env,~/others/server-tools,~/others/social,~/others/stock-logistics-transport,~/others/stock-logistics-warehouse,~/others/stock-logistics-workflow,~/others/storage,~/others/web,~/others/wms --db_host psql --db_port 5432 --db_user flectra --db_password flectra --database test_all --test-enable - --init base_cancel_confirm,filter_multi_user,default_multi_user,sequence_reset_period,sequence_check_digit,base_import_security_group,date_range,base_tier_validation_forward,base_menu_visibility_restriction,barcode_action,multi_step_wizard,base_technical_features,base_tier_validation_formula,base_tier_validation,base_search_custom_field_filter,base_revision,base_export_manager,document_quick_access,mass_editing,base_tier_validation_server_action,mass_operation_abstract,chained_swapper,base_optional_quick_create + --init base_cancel_confirm,filter_multi_user,default_multi_user,sequence_reset_period,sequence_check_digit,base_import_security_group,date_range,base_tier_validation_forward,base_menu_visibility_restriction,barcode_action,multi_step_wizard,base_technical_features,base_tier_validation_formula,base_tier_validation,base_search_custom_field_filter,base_revision,base_export_manager,document_quick_access,mass_editing,base_tier_validation_server_action,mass_operation_abstract,chained_swapper,base_optional_quick_create,document_quick_access_folder_auto_classification --stop-after-init --log-level error --log-handler flectra.addons.base_cancel_confirm:TEST @@ -70,6 +93,7 @@ test_all_modules: --log-handler flectra.addons.mass_operation_abstract:TEST --log-handler flectra.addons.chained_swapper:TEST --log-handler flectra.addons.base_optional_quick_create:TEST + --log-handler flectra.addons.document_quick_access_folder_auto_classification:TEST " @@ -81,9 +105,32 @@ test_module_base_cancel_confirm: entrypoint: ["/bin/sh", "-c"] script: - apt-get install -y p7zip-full - - apt install -y expect-dev + - apt install -y expect-dev libzbar0 poppler-utils - 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/account-closing.git ~/others/account-closing" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/account-invoicing.git ~/others/account-invoicing" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/account-payment.git ~/others/account-payment" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/bank-payment.git ~/others/bank-payment" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/brand.git ~/others/brand" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/community-data-files.git ~/others/community-data-files" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/connector.git ~/others/connector" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/edi.git ~/others/edi" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/partner-contact.git ~/others/partner-contact" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/product-attribute.git ~/others/product-attribute" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/queue.git ~/others/queue" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/report-print-send.git ~/others/report-print-send" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/rest-framework.git ~/others/rest-framework" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/sale-workflow.git ~/others/sale-workflow" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/server-env.git ~/others/server-env" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/server-tools.git ~/others/server-tools" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/social.git ~/others/social" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/stock-logistics-transport.git ~/others/stock-logistics-transport" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/stock-logistics-warehouse.git ~/others/stock-logistics-warehouse" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/stock-logistics-workflow.git ~/others/stock-logistics-workflow" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/storage.git ~/others/storage" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/web.git ~/others/web" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/wms.git ~/others/wms" - 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 @@ -95,7 +142,7 @@ test_module_base_cancel_confirm: - mv ${CI_PROJECT_DIR}/ci_data/filestore /opt/flectra/.local/share/filestore/test_base_cancel_confirm - chown -R flectra.flectra /opt/flectra/.local/share/filestore/test_base_cancel_confirm - su - flectra -c "/opt/flectra/flectra-bin - --addons-path ${CI_PROJECT_DIR} + --addons-path ${CI_PROJECT_DIR},~/others/account-closing,~/others/account-invoicing,~/others/account-payment,~/others/bank-payment,~/others/brand,~/others/community-data-files,~/others/connector,~/others/edi,~/others/partner-contact,~/others/product-attribute,~/others/queue,~/others/report-print-send,~/others/rest-framework,~/others/sale-workflow,~/others/server-env,~/others/server-tools,~/others/social,~/others/stock-logistics-transport,~/others/stock-logistics-warehouse,~/others/stock-logistics-workflow,~/others/storage,~/others/web,~/others/wms --db_host psql --db_port 5432 --db_user flectra @@ -114,9 +161,32 @@ test_module_filter_multi_user: entrypoint: ["/bin/sh", "-c"] script: - apt-get install -y p7zip-full - - apt install -y expect-dev + - apt install -y expect-dev libzbar0 poppler-utils - 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/account-closing.git ~/others/account-closing" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/account-invoicing.git ~/others/account-invoicing" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/account-payment.git ~/others/account-payment" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/bank-payment.git ~/others/bank-payment" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/brand.git ~/others/brand" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/community-data-files.git ~/others/community-data-files" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/connector.git ~/others/connector" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/edi.git ~/others/edi" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/partner-contact.git ~/others/partner-contact" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/product-attribute.git ~/others/product-attribute" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/queue.git ~/others/queue" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/report-print-send.git ~/others/report-print-send" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/rest-framework.git ~/others/rest-framework" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/sale-workflow.git ~/others/sale-workflow" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/server-env.git ~/others/server-env" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/server-tools.git ~/others/server-tools" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/social.git ~/others/social" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/stock-logistics-transport.git ~/others/stock-logistics-transport" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/stock-logistics-warehouse.git ~/others/stock-logistics-warehouse" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/stock-logistics-workflow.git ~/others/stock-logistics-workflow" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/storage.git ~/others/storage" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/web.git ~/others/web" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/wms.git ~/others/wms" - 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 @@ -128,7 +198,7 @@ test_module_filter_multi_user: - mv ${CI_PROJECT_DIR}/ci_data/filestore /opt/flectra/.local/share/filestore/test_filter_multi_user - chown -R flectra.flectra /opt/flectra/.local/share/filestore/test_filter_multi_user - su - flectra -c "/opt/flectra/flectra-bin - --addons-path ${CI_PROJECT_DIR} + --addons-path ${CI_PROJECT_DIR},~/others/account-closing,~/others/account-invoicing,~/others/account-payment,~/others/bank-payment,~/others/brand,~/others/community-data-files,~/others/connector,~/others/edi,~/others/partner-contact,~/others/product-attribute,~/others/queue,~/others/report-print-send,~/others/rest-framework,~/others/sale-workflow,~/others/server-env,~/others/server-tools,~/others/social,~/others/stock-logistics-transport,~/others/stock-logistics-warehouse,~/others/stock-logistics-workflow,~/others/storage,~/others/web,~/others/wms --db_host psql --db_port 5432 --db_user flectra @@ -147,9 +217,32 @@ test_module_default_multi_user: entrypoint: ["/bin/sh", "-c"] script: - apt-get install -y p7zip-full - - apt install -y expect-dev + - apt install -y expect-dev libzbar0 poppler-utils - 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/account-closing.git ~/others/account-closing" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/account-invoicing.git ~/others/account-invoicing" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/account-payment.git ~/others/account-payment" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/bank-payment.git ~/others/bank-payment" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/brand.git ~/others/brand" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/community-data-files.git ~/others/community-data-files" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/connector.git ~/others/connector" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/edi.git ~/others/edi" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/partner-contact.git ~/others/partner-contact" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/product-attribute.git ~/others/product-attribute" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/queue.git ~/others/queue" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/report-print-send.git ~/others/report-print-send" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/rest-framework.git ~/others/rest-framework" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/sale-workflow.git ~/others/sale-workflow" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/server-env.git ~/others/server-env" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/server-tools.git ~/others/server-tools" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/social.git ~/others/social" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/stock-logistics-transport.git ~/others/stock-logistics-transport" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/stock-logistics-warehouse.git ~/others/stock-logistics-warehouse" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/stock-logistics-workflow.git ~/others/stock-logistics-workflow" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/storage.git ~/others/storage" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/web.git ~/others/web" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/wms.git ~/others/wms" - 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 @@ -161,7 +254,7 @@ test_module_default_multi_user: - mv ${CI_PROJECT_DIR}/ci_data/filestore /opt/flectra/.local/share/filestore/test_default_multi_user - chown -R flectra.flectra /opt/flectra/.local/share/filestore/test_default_multi_user - su - flectra -c "/opt/flectra/flectra-bin - --addons-path ${CI_PROJECT_DIR} + --addons-path ${CI_PROJECT_DIR},~/others/account-closing,~/others/account-invoicing,~/others/account-payment,~/others/bank-payment,~/others/brand,~/others/community-data-files,~/others/connector,~/others/edi,~/others/partner-contact,~/others/product-attribute,~/others/queue,~/others/report-print-send,~/others/rest-framework,~/others/sale-workflow,~/others/server-env,~/others/server-tools,~/others/social,~/others/stock-logistics-transport,~/others/stock-logistics-warehouse,~/others/stock-logistics-workflow,~/others/storage,~/others/web,~/others/wms --db_host psql --db_port 5432 --db_user flectra @@ -180,9 +273,32 @@ test_module_sequence_reset_period: entrypoint: ["/bin/sh", "-c"] script: - apt-get install -y p7zip-full - - apt install -y expect-dev + - apt install -y expect-dev libzbar0 poppler-utils - 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/account-closing.git ~/others/account-closing" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/account-invoicing.git ~/others/account-invoicing" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/account-payment.git ~/others/account-payment" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/bank-payment.git ~/others/bank-payment" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/brand.git ~/others/brand" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/community-data-files.git ~/others/community-data-files" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/connector.git ~/others/connector" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/edi.git ~/others/edi" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/partner-contact.git ~/others/partner-contact" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/product-attribute.git ~/others/product-attribute" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/queue.git ~/others/queue" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/report-print-send.git ~/others/report-print-send" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/rest-framework.git ~/others/rest-framework" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/sale-workflow.git ~/others/sale-workflow" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/server-env.git ~/others/server-env" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/server-tools.git ~/others/server-tools" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/social.git ~/others/social" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/stock-logistics-transport.git ~/others/stock-logistics-transport" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/stock-logistics-warehouse.git ~/others/stock-logistics-warehouse" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/stock-logistics-workflow.git ~/others/stock-logistics-workflow" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/storage.git ~/others/storage" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/web.git ~/others/web" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/wms.git ~/others/wms" - 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 @@ -194,7 +310,7 @@ test_module_sequence_reset_period: - mv ${CI_PROJECT_DIR}/ci_data/filestore /opt/flectra/.local/share/filestore/test_sequence_reset_period - chown -R flectra.flectra /opt/flectra/.local/share/filestore/test_sequence_reset_period - su - flectra -c "/opt/flectra/flectra-bin - --addons-path ${CI_PROJECT_DIR} + --addons-path ${CI_PROJECT_DIR},~/others/account-closing,~/others/account-invoicing,~/others/account-payment,~/others/bank-payment,~/others/brand,~/others/community-data-files,~/others/connector,~/others/edi,~/others/partner-contact,~/others/product-attribute,~/others/queue,~/others/report-print-send,~/others/rest-framework,~/others/sale-workflow,~/others/server-env,~/others/server-tools,~/others/social,~/others/stock-logistics-transport,~/others/stock-logistics-warehouse,~/others/stock-logistics-workflow,~/others/storage,~/others/web,~/others/wms --db_host psql --db_port 5432 --db_user flectra @@ -213,9 +329,32 @@ test_module_sequence_check_digit: entrypoint: ["/bin/sh", "-c"] script: - apt-get install -y p7zip-full - - apt install -y expect-dev + - apt install -y expect-dev libzbar0 poppler-utils - 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/account-closing.git ~/others/account-closing" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/account-invoicing.git ~/others/account-invoicing" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/account-payment.git ~/others/account-payment" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/bank-payment.git ~/others/bank-payment" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/brand.git ~/others/brand" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/community-data-files.git ~/others/community-data-files" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/connector.git ~/others/connector" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/edi.git ~/others/edi" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/partner-contact.git ~/others/partner-contact" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/product-attribute.git ~/others/product-attribute" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/queue.git ~/others/queue" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/report-print-send.git ~/others/report-print-send" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/rest-framework.git ~/others/rest-framework" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/sale-workflow.git ~/others/sale-workflow" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/server-env.git ~/others/server-env" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/server-tools.git ~/others/server-tools" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/social.git ~/others/social" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/stock-logistics-transport.git ~/others/stock-logistics-transport" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/stock-logistics-warehouse.git ~/others/stock-logistics-warehouse" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/stock-logistics-workflow.git ~/others/stock-logistics-workflow" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/storage.git ~/others/storage" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/web.git ~/others/web" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/wms.git ~/others/wms" - 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 @@ -227,7 +366,7 @@ test_module_sequence_check_digit: - mv ${CI_PROJECT_DIR}/ci_data/filestore /opt/flectra/.local/share/filestore/test_sequence_check_digit - chown -R flectra.flectra /opt/flectra/.local/share/filestore/test_sequence_check_digit - su - flectra -c "/opt/flectra/flectra-bin - --addons-path ${CI_PROJECT_DIR} + --addons-path ${CI_PROJECT_DIR},~/others/account-closing,~/others/account-invoicing,~/others/account-payment,~/others/bank-payment,~/others/brand,~/others/community-data-files,~/others/connector,~/others/edi,~/others/partner-contact,~/others/product-attribute,~/others/queue,~/others/report-print-send,~/others/rest-framework,~/others/sale-workflow,~/others/server-env,~/others/server-tools,~/others/social,~/others/stock-logistics-transport,~/others/stock-logistics-warehouse,~/others/stock-logistics-workflow,~/others/storage,~/others/web,~/others/wms --db_host psql --db_port 5432 --db_user flectra @@ -246,9 +385,32 @@ test_module_base_import_security_group: entrypoint: ["/bin/sh", "-c"] script: - apt-get install -y p7zip-full - - apt install -y expect-dev + - apt install -y expect-dev libzbar0 poppler-utils - 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/account-closing.git ~/others/account-closing" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/account-invoicing.git ~/others/account-invoicing" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/account-payment.git ~/others/account-payment" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/bank-payment.git ~/others/bank-payment" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/brand.git ~/others/brand" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/community-data-files.git ~/others/community-data-files" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/connector.git ~/others/connector" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/edi.git ~/others/edi" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/partner-contact.git ~/others/partner-contact" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/product-attribute.git ~/others/product-attribute" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/queue.git ~/others/queue" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/report-print-send.git ~/others/report-print-send" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/rest-framework.git ~/others/rest-framework" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/sale-workflow.git ~/others/sale-workflow" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/server-env.git ~/others/server-env" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/server-tools.git ~/others/server-tools" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/social.git ~/others/social" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/stock-logistics-transport.git ~/others/stock-logistics-transport" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/stock-logistics-warehouse.git ~/others/stock-logistics-warehouse" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/stock-logistics-workflow.git ~/others/stock-logistics-workflow" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/storage.git ~/others/storage" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/web.git ~/others/web" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/wms.git ~/others/wms" - 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 @@ -260,7 +422,7 @@ test_module_base_import_security_group: - mv ${CI_PROJECT_DIR}/ci_data/filestore /opt/flectra/.local/share/filestore/test_base_import_security_group - chown -R flectra.flectra /opt/flectra/.local/share/filestore/test_base_import_security_group - su - flectra -c "/opt/flectra/flectra-bin - --addons-path ${CI_PROJECT_DIR} + --addons-path ${CI_PROJECT_DIR},~/others/account-closing,~/others/account-invoicing,~/others/account-payment,~/others/bank-payment,~/others/brand,~/others/community-data-files,~/others/connector,~/others/edi,~/others/partner-contact,~/others/product-attribute,~/others/queue,~/others/report-print-send,~/others/rest-framework,~/others/sale-workflow,~/others/server-env,~/others/server-tools,~/others/social,~/others/stock-logistics-transport,~/others/stock-logistics-warehouse,~/others/stock-logistics-workflow,~/others/storage,~/others/web,~/others/wms --db_host psql --db_port 5432 --db_user flectra @@ -279,9 +441,32 @@ test_module_date_range: entrypoint: ["/bin/sh", "-c"] script: - apt-get install -y p7zip-full - - apt install -y expect-dev + - apt install -y expect-dev libzbar0 poppler-utils - 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/account-closing.git ~/others/account-closing" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/account-invoicing.git ~/others/account-invoicing" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/account-payment.git ~/others/account-payment" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/bank-payment.git ~/others/bank-payment" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/brand.git ~/others/brand" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/community-data-files.git ~/others/community-data-files" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/connector.git ~/others/connector" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/edi.git ~/others/edi" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/partner-contact.git ~/others/partner-contact" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/product-attribute.git ~/others/product-attribute" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/queue.git ~/others/queue" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/report-print-send.git ~/others/report-print-send" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/rest-framework.git ~/others/rest-framework" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/sale-workflow.git ~/others/sale-workflow" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/server-env.git ~/others/server-env" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/server-tools.git ~/others/server-tools" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/social.git ~/others/social" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/stock-logistics-transport.git ~/others/stock-logistics-transport" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/stock-logistics-warehouse.git ~/others/stock-logistics-warehouse" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/stock-logistics-workflow.git ~/others/stock-logistics-workflow" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/storage.git ~/others/storage" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/web.git ~/others/web" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/wms.git ~/others/wms" - 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 @@ -293,7 +478,7 @@ test_module_date_range: - mv ${CI_PROJECT_DIR}/ci_data/filestore /opt/flectra/.local/share/filestore/test_date_range - chown -R flectra.flectra /opt/flectra/.local/share/filestore/test_date_range - su - flectra -c "/opt/flectra/flectra-bin - --addons-path ${CI_PROJECT_DIR} + --addons-path ${CI_PROJECT_DIR},~/others/account-closing,~/others/account-invoicing,~/others/account-payment,~/others/bank-payment,~/others/brand,~/others/community-data-files,~/others/connector,~/others/edi,~/others/partner-contact,~/others/product-attribute,~/others/queue,~/others/report-print-send,~/others/rest-framework,~/others/sale-workflow,~/others/server-env,~/others/server-tools,~/others/social,~/others/stock-logistics-transport,~/others/stock-logistics-warehouse,~/others/stock-logistics-workflow,~/others/storage,~/others/web,~/others/wms --db_host psql --db_port 5432 --db_user flectra @@ -312,9 +497,32 @@ test_module_base_tier_validation_forward: entrypoint: ["/bin/sh", "-c"] script: - apt-get install -y p7zip-full - - apt install -y expect-dev + - apt install -y expect-dev libzbar0 poppler-utils - 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/account-closing.git ~/others/account-closing" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/account-invoicing.git ~/others/account-invoicing" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/account-payment.git ~/others/account-payment" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/bank-payment.git ~/others/bank-payment" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/brand.git ~/others/brand" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/community-data-files.git ~/others/community-data-files" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/connector.git ~/others/connector" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/edi.git ~/others/edi" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/partner-contact.git ~/others/partner-contact" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/product-attribute.git ~/others/product-attribute" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/queue.git ~/others/queue" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/report-print-send.git ~/others/report-print-send" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/rest-framework.git ~/others/rest-framework" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/sale-workflow.git ~/others/sale-workflow" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/server-env.git ~/others/server-env" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/server-tools.git ~/others/server-tools" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/social.git ~/others/social" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/stock-logistics-transport.git ~/others/stock-logistics-transport" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/stock-logistics-warehouse.git ~/others/stock-logistics-warehouse" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/stock-logistics-workflow.git ~/others/stock-logistics-workflow" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/storage.git ~/others/storage" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/web.git ~/others/web" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/wms.git ~/others/wms" - 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 @@ -326,7 +534,7 @@ test_module_base_tier_validation_forward: - mv ${CI_PROJECT_DIR}/ci_data/filestore /opt/flectra/.local/share/filestore/test_base_tier_validation_forward - chown -R flectra.flectra /opt/flectra/.local/share/filestore/test_base_tier_validation_forward - su - flectra -c "/opt/flectra/flectra-bin - --addons-path ${CI_PROJECT_DIR} + --addons-path ${CI_PROJECT_DIR},~/others/account-closing,~/others/account-invoicing,~/others/account-payment,~/others/bank-payment,~/others/brand,~/others/community-data-files,~/others/connector,~/others/edi,~/others/partner-contact,~/others/product-attribute,~/others/queue,~/others/report-print-send,~/others/rest-framework,~/others/sale-workflow,~/others/server-env,~/others/server-tools,~/others/social,~/others/stock-logistics-transport,~/others/stock-logistics-warehouse,~/others/stock-logistics-workflow,~/others/storage,~/others/web,~/others/wms --db_host psql --db_port 5432 --db_user flectra @@ -345,9 +553,32 @@ test_module_base_menu_visibility_restriction: entrypoint: ["/bin/sh", "-c"] script: - apt-get install -y p7zip-full - - apt install -y expect-dev + - apt install -y expect-dev libzbar0 poppler-utils - 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/account-closing.git ~/others/account-closing" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/account-invoicing.git ~/others/account-invoicing" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/account-payment.git ~/others/account-payment" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/bank-payment.git ~/others/bank-payment" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/brand.git ~/others/brand" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/community-data-files.git ~/others/community-data-files" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/connector.git ~/others/connector" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/edi.git ~/others/edi" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/partner-contact.git ~/others/partner-contact" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/product-attribute.git ~/others/product-attribute" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/queue.git ~/others/queue" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/report-print-send.git ~/others/report-print-send" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/rest-framework.git ~/others/rest-framework" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/sale-workflow.git ~/others/sale-workflow" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/server-env.git ~/others/server-env" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/server-tools.git ~/others/server-tools" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/social.git ~/others/social" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/stock-logistics-transport.git ~/others/stock-logistics-transport" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/stock-logistics-warehouse.git ~/others/stock-logistics-warehouse" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/stock-logistics-workflow.git ~/others/stock-logistics-workflow" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/storage.git ~/others/storage" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/web.git ~/others/web" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/wms.git ~/others/wms" - 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 @@ -359,7 +590,7 @@ test_module_base_menu_visibility_restriction: - mv ${CI_PROJECT_DIR}/ci_data/filestore /opt/flectra/.local/share/filestore/test_base_menu_visibility_restriction - chown -R flectra.flectra /opt/flectra/.local/share/filestore/test_base_menu_visibility_restriction - su - flectra -c "/opt/flectra/flectra-bin - --addons-path ${CI_PROJECT_DIR} + --addons-path ${CI_PROJECT_DIR},~/others/account-closing,~/others/account-invoicing,~/others/account-payment,~/others/bank-payment,~/others/brand,~/others/community-data-files,~/others/connector,~/others/edi,~/others/partner-contact,~/others/product-attribute,~/others/queue,~/others/report-print-send,~/others/rest-framework,~/others/sale-workflow,~/others/server-env,~/others/server-tools,~/others/social,~/others/stock-logistics-transport,~/others/stock-logistics-warehouse,~/others/stock-logistics-workflow,~/others/storage,~/others/web,~/others/wms --db_host psql --db_port 5432 --db_user flectra @@ -378,9 +609,32 @@ test_module_barcode_action: entrypoint: ["/bin/sh", "-c"] script: - apt-get install -y p7zip-full - - apt install -y expect-dev + - apt install -y expect-dev libzbar0 poppler-utils - 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/account-closing.git ~/others/account-closing" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/account-invoicing.git ~/others/account-invoicing" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/account-payment.git ~/others/account-payment" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/bank-payment.git ~/others/bank-payment" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/brand.git ~/others/brand" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/community-data-files.git ~/others/community-data-files" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/connector.git ~/others/connector" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/edi.git ~/others/edi" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/partner-contact.git ~/others/partner-contact" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/product-attribute.git ~/others/product-attribute" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/queue.git ~/others/queue" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/report-print-send.git ~/others/report-print-send" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/rest-framework.git ~/others/rest-framework" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/sale-workflow.git ~/others/sale-workflow" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/server-env.git ~/others/server-env" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/server-tools.git ~/others/server-tools" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/social.git ~/others/social" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/stock-logistics-transport.git ~/others/stock-logistics-transport" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/stock-logistics-warehouse.git ~/others/stock-logistics-warehouse" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/stock-logistics-workflow.git ~/others/stock-logistics-workflow" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/storage.git ~/others/storage" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/web.git ~/others/web" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/wms.git ~/others/wms" - 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 @@ -392,7 +646,7 @@ test_module_barcode_action: - mv ${CI_PROJECT_DIR}/ci_data/filestore /opt/flectra/.local/share/filestore/test_barcode_action - chown -R flectra.flectra /opt/flectra/.local/share/filestore/test_barcode_action - su - flectra -c "/opt/flectra/flectra-bin - --addons-path ${CI_PROJECT_DIR} + --addons-path ${CI_PROJECT_DIR},~/others/account-closing,~/others/account-invoicing,~/others/account-payment,~/others/bank-payment,~/others/brand,~/others/community-data-files,~/others/connector,~/others/edi,~/others/partner-contact,~/others/product-attribute,~/others/queue,~/others/report-print-send,~/others/rest-framework,~/others/sale-workflow,~/others/server-env,~/others/server-tools,~/others/social,~/others/stock-logistics-transport,~/others/stock-logistics-warehouse,~/others/stock-logistics-workflow,~/others/storage,~/others/web,~/others/wms --db_host psql --db_port 5432 --db_user flectra @@ -411,9 +665,32 @@ test_module_multi_step_wizard: entrypoint: ["/bin/sh", "-c"] script: - apt-get install -y p7zip-full - - apt install -y expect-dev + - apt install -y expect-dev libzbar0 poppler-utils - 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/account-closing.git ~/others/account-closing" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/account-invoicing.git ~/others/account-invoicing" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/account-payment.git ~/others/account-payment" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/bank-payment.git ~/others/bank-payment" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/brand.git ~/others/brand" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/community-data-files.git ~/others/community-data-files" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/connector.git ~/others/connector" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/edi.git ~/others/edi" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/partner-contact.git ~/others/partner-contact" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/product-attribute.git ~/others/product-attribute" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/queue.git ~/others/queue" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/report-print-send.git ~/others/report-print-send" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/rest-framework.git ~/others/rest-framework" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/sale-workflow.git ~/others/sale-workflow" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/server-env.git ~/others/server-env" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/server-tools.git ~/others/server-tools" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/social.git ~/others/social" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/stock-logistics-transport.git ~/others/stock-logistics-transport" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/stock-logistics-warehouse.git ~/others/stock-logistics-warehouse" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/stock-logistics-workflow.git ~/others/stock-logistics-workflow" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/storage.git ~/others/storage" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/web.git ~/others/web" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/wms.git ~/others/wms" - 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 @@ -425,7 +702,7 @@ test_module_multi_step_wizard: - mv ${CI_PROJECT_DIR}/ci_data/filestore /opt/flectra/.local/share/filestore/test_multi_step_wizard - chown -R flectra.flectra /opt/flectra/.local/share/filestore/test_multi_step_wizard - su - flectra -c "/opt/flectra/flectra-bin - --addons-path ${CI_PROJECT_DIR} + --addons-path ${CI_PROJECT_DIR},~/others/account-closing,~/others/account-invoicing,~/others/account-payment,~/others/bank-payment,~/others/brand,~/others/community-data-files,~/others/connector,~/others/edi,~/others/partner-contact,~/others/product-attribute,~/others/queue,~/others/report-print-send,~/others/rest-framework,~/others/sale-workflow,~/others/server-env,~/others/server-tools,~/others/social,~/others/stock-logistics-transport,~/others/stock-logistics-warehouse,~/others/stock-logistics-workflow,~/others/storage,~/others/web,~/others/wms --db_host psql --db_port 5432 --db_user flectra @@ -444,9 +721,32 @@ test_module_base_technical_features: entrypoint: ["/bin/sh", "-c"] script: - apt-get install -y p7zip-full - - apt install -y expect-dev + - apt install -y expect-dev libzbar0 poppler-utils - 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/account-closing.git ~/others/account-closing" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/account-invoicing.git ~/others/account-invoicing" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/account-payment.git ~/others/account-payment" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/bank-payment.git ~/others/bank-payment" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/brand.git ~/others/brand" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/community-data-files.git ~/others/community-data-files" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/connector.git ~/others/connector" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/edi.git ~/others/edi" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/partner-contact.git ~/others/partner-contact" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/product-attribute.git ~/others/product-attribute" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/queue.git ~/others/queue" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/report-print-send.git ~/others/report-print-send" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/rest-framework.git ~/others/rest-framework" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/sale-workflow.git ~/others/sale-workflow" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/server-env.git ~/others/server-env" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/server-tools.git ~/others/server-tools" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/social.git ~/others/social" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/stock-logistics-transport.git ~/others/stock-logistics-transport" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/stock-logistics-warehouse.git ~/others/stock-logistics-warehouse" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/stock-logistics-workflow.git ~/others/stock-logistics-workflow" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/storage.git ~/others/storage" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/web.git ~/others/web" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/wms.git ~/others/wms" - 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 @@ -458,7 +758,7 @@ test_module_base_technical_features: - mv ${CI_PROJECT_DIR}/ci_data/filestore /opt/flectra/.local/share/filestore/test_base_technical_features - chown -R flectra.flectra /opt/flectra/.local/share/filestore/test_base_technical_features - su - flectra -c "/opt/flectra/flectra-bin - --addons-path ${CI_PROJECT_DIR} + --addons-path ${CI_PROJECT_DIR},~/others/account-closing,~/others/account-invoicing,~/others/account-payment,~/others/bank-payment,~/others/brand,~/others/community-data-files,~/others/connector,~/others/edi,~/others/partner-contact,~/others/product-attribute,~/others/queue,~/others/report-print-send,~/others/rest-framework,~/others/sale-workflow,~/others/server-env,~/others/server-tools,~/others/social,~/others/stock-logistics-transport,~/others/stock-logistics-warehouse,~/others/stock-logistics-workflow,~/others/storage,~/others/web,~/others/wms --db_host psql --db_port 5432 --db_user flectra @@ -477,9 +777,32 @@ test_module_base_tier_validation_formula: entrypoint: ["/bin/sh", "-c"] script: - apt-get install -y p7zip-full - - apt install -y expect-dev + - apt install -y expect-dev libzbar0 poppler-utils - 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/account-closing.git ~/others/account-closing" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/account-invoicing.git ~/others/account-invoicing" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/account-payment.git ~/others/account-payment" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/bank-payment.git ~/others/bank-payment" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/brand.git ~/others/brand" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/community-data-files.git ~/others/community-data-files" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/connector.git ~/others/connector" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/edi.git ~/others/edi" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/partner-contact.git ~/others/partner-contact" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/product-attribute.git ~/others/product-attribute" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/queue.git ~/others/queue" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/report-print-send.git ~/others/report-print-send" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/rest-framework.git ~/others/rest-framework" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/sale-workflow.git ~/others/sale-workflow" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/server-env.git ~/others/server-env" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/server-tools.git ~/others/server-tools" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/social.git ~/others/social" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/stock-logistics-transport.git ~/others/stock-logistics-transport" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/stock-logistics-warehouse.git ~/others/stock-logistics-warehouse" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/stock-logistics-workflow.git ~/others/stock-logistics-workflow" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/storage.git ~/others/storage" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/web.git ~/others/web" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/wms.git ~/others/wms" - 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 @@ -491,7 +814,7 @@ test_module_base_tier_validation_formula: - mv ${CI_PROJECT_DIR}/ci_data/filestore /opt/flectra/.local/share/filestore/test_base_tier_validation_formula - chown -R flectra.flectra /opt/flectra/.local/share/filestore/test_base_tier_validation_formula - su - flectra -c "/opt/flectra/flectra-bin - --addons-path ${CI_PROJECT_DIR} + --addons-path ${CI_PROJECT_DIR},~/others/account-closing,~/others/account-invoicing,~/others/account-payment,~/others/bank-payment,~/others/brand,~/others/community-data-files,~/others/connector,~/others/edi,~/others/partner-contact,~/others/product-attribute,~/others/queue,~/others/report-print-send,~/others/rest-framework,~/others/sale-workflow,~/others/server-env,~/others/server-tools,~/others/social,~/others/stock-logistics-transport,~/others/stock-logistics-warehouse,~/others/stock-logistics-workflow,~/others/storage,~/others/web,~/others/wms --db_host psql --db_port 5432 --db_user flectra @@ -510,9 +833,32 @@ test_module_base_tier_validation: entrypoint: ["/bin/sh", "-c"] script: - apt-get install -y p7zip-full - - apt install -y expect-dev + - apt install -y expect-dev libzbar0 poppler-utils - 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/account-closing.git ~/others/account-closing" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/account-invoicing.git ~/others/account-invoicing" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/account-payment.git ~/others/account-payment" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/bank-payment.git ~/others/bank-payment" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/brand.git ~/others/brand" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/community-data-files.git ~/others/community-data-files" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/connector.git ~/others/connector" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/edi.git ~/others/edi" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/partner-contact.git ~/others/partner-contact" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/product-attribute.git ~/others/product-attribute" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/queue.git ~/others/queue" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/report-print-send.git ~/others/report-print-send" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/rest-framework.git ~/others/rest-framework" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/sale-workflow.git ~/others/sale-workflow" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/server-env.git ~/others/server-env" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/server-tools.git ~/others/server-tools" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/social.git ~/others/social" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/stock-logistics-transport.git ~/others/stock-logistics-transport" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/stock-logistics-warehouse.git ~/others/stock-logistics-warehouse" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/stock-logistics-workflow.git ~/others/stock-logistics-workflow" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/storage.git ~/others/storage" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/web.git ~/others/web" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/wms.git ~/others/wms" - 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 @@ -524,7 +870,7 @@ test_module_base_tier_validation: - mv ${CI_PROJECT_DIR}/ci_data/filestore /opt/flectra/.local/share/filestore/test_base_tier_validation - chown -R flectra.flectra /opt/flectra/.local/share/filestore/test_base_tier_validation - su - flectra -c "/opt/flectra/flectra-bin - --addons-path ${CI_PROJECT_DIR} + --addons-path ${CI_PROJECT_DIR},~/others/account-closing,~/others/account-invoicing,~/others/account-payment,~/others/bank-payment,~/others/brand,~/others/community-data-files,~/others/connector,~/others/edi,~/others/partner-contact,~/others/product-attribute,~/others/queue,~/others/report-print-send,~/others/rest-framework,~/others/sale-workflow,~/others/server-env,~/others/server-tools,~/others/social,~/others/stock-logistics-transport,~/others/stock-logistics-warehouse,~/others/stock-logistics-workflow,~/others/storage,~/others/web,~/others/wms --db_host psql --db_port 5432 --db_user flectra @@ -543,9 +889,32 @@ test_module_base_search_custom_field_filter: entrypoint: ["/bin/sh", "-c"] script: - apt-get install -y p7zip-full - - apt install -y expect-dev + - apt install -y expect-dev libzbar0 poppler-utils - 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/account-closing.git ~/others/account-closing" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/account-invoicing.git ~/others/account-invoicing" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/account-payment.git ~/others/account-payment" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/bank-payment.git ~/others/bank-payment" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/brand.git ~/others/brand" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/community-data-files.git ~/others/community-data-files" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/connector.git ~/others/connector" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/edi.git ~/others/edi" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/partner-contact.git ~/others/partner-contact" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/product-attribute.git ~/others/product-attribute" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/queue.git ~/others/queue" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/report-print-send.git ~/others/report-print-send" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/rest-framework.git ~/others/rest-framework" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/sale-workflow.git ~/others/sale-workflow" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/server-env.git ~/others/server-env" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/server-tools.git ~/others/server-tools" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/social.git ~/others/social" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/stock-logistics-transport.git ~/others/stock-logistics-transport" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/stock-logistics-warehouse.git ~/others/stock-logistics-warehouse" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/stock-logistics-workflow.git ~/others/stock-logistics-workflow" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/storage.git ~/others/storage" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/web.git ~/others/web" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/wms.git ~/others/wms" - 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 @@ -557,7 +926,7 @@ test_module_base_search_custom_field_filter: - mv ${CI_PROJECT_DIR}/ci_data/filestore /opt/flectra/.local/share/filestore/test_base_search_custom_field_filter - chown -R flectra.flectra /opt/flectra/.local/share/filestore/test_base_search_custom_field_filter - su - flectra -c "/opt/flectra/flectra-bin - --addons-path ${CI_PROJECT_DIR} + --addons-path ${CI_PROJECT_DIR},~/others/account-closing,~/others/account-invoicing,~/others/account-payment,~/others/bank-payment,~/others/brand,~/others/community-data-files,~/others/connector,~/others/edi,~/others/partner-contact,~/others/product-attribute,~/others/queue,~/others/report-print-send,~/others/rest-framework,~/others/sale-workflow,~/others/server-env,~/others/server-tools,~/others/social,~/others/stock-logistics-transport,~/others/stock-logistics-warehouse,~/others/stock-logistics-workflow,~/others/storage,~/others/web,~/others/wms --db_host psql --db_port 5432 --db_user flectra @@ -576,9 +945,32 @@ test_module_base_revision: entrypoint: ["/bin/sh", "-c"] script: - apt-get install -y p7zip-full - - apt install -y expect-dev + - apt install -y expect-dev libzbar0 poppler-utils - 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/account-closing.git ~/others/account-closing" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/account-invoicing.git ~/others/account-invoicing" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/account-payment.git ~/others/account-payment" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/bank-payment.git ~/others/bank-payment" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/brand.git ~/others/brand" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/community-data-files.git ~/others/community-data-files" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/connector.git ~/others/connector" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/edi.git ~/others/edi" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/partner-contact.git ~/others/partner-contact" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/product-attribute.git ~/others/product-attribute" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/queue.git ~/others/queue" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/report-print-send.git ~/others/report-print-send" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/rest-framework.git ~/others/rest-framework" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/sale-workflow.git ~/others/sale-workflow" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/server-env.git ~/others/server-env" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/server-tools.git ~/others/server-tools" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/social.git ~/others/social" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/stock-logistics-transport.git ~/others/stock-logistics-transport" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/stock-logistics-warehouse.git ~/others/stock-logistics-warehouse" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/stock-logistics-workflow.git ~/others/stock-logistics-workflow" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/storage.git ~/others/storage" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/web.git ~/others/web" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/wms.git ~/others/wms" - 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 @@ -590,7 +982,7 @@ test_module_base_revision: - mv ${CI_PROJECT_DIR}/ci_data/filestore /opt/flectra/.local/share/filestore/test_base_revision - chown -R flectra.flectra /opt/flectra/.local/share/filestore/test_base_revision - su - flectra -c "/opt/flectra/flectra-bin - --addons-path ${CI_PROJECT_DIR} + --addons-path ${CI_PROJECT_DIR},~/others/account-closing,~/others/account-invoicing,~/others/account-payment,~/others/bank-payment,~/others/brand,~/others/community-data-files,~/others/connector,~/others/edi,~/others/partner-contact,~/others/product-attribute,~/others/queue,~/others/report-print-send,~/others/rest-framework,~/others/sale-workflow,~/others/server-env,~/others/server-tools,~/others/social,~/others/stock-logistics-transport,~/others/stock-logistics-warehouse,~/others/stock-logistics-workflow,~/others/storage,~/others/web,~/others/wms --db_host psql --db_port 5432 --db_user flectra @@ -609,9 +1001,32 @@ test_module_base_export_manager: entrypoint: ["/bin/sh", "-c"] script: - apt-get install -y p7zip-full - - apt install -y expect-dev + - apt install -y expect-dev libzbar0 poppler-utils - 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/account-closing.git ~/others/account-closing" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/account-invoicing.git ~/others/account-invoicing" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/account-payment.git ~/others/account-payment" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/bank-payment.git ~/others/bank-payment" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/brand.git ~/others/brand" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/community-data-files.git ~/others/community-data-files" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/connector.git ~/others/connector" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/edi.git ~/others/edi" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/partner-contact.git ~/others/partner-contact" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/product-attribute.git ~/others/product-attribute" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/queue.git ~/others/queue" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/report-print-send.git ~/others/report-print-send" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/rest-framework.git ~/others/rest-framework" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/sale-workflow.git ~/others/sale-workflow" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/server-env.git ~/others/server-env" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/server-tools.git ~/others/server-tools" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/social.git ~/others/social" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/stock-logistics-transport.git ~/others/stock-logistics-transport" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/stock-logistics-warehouse.git ~/others/stock-logistics-warehouse" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/stock-logistics-workflow.git ~/others/stock-logistics-workflow" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/storage.git ~/others/storage" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/web.git ~/others/web" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/wms.git ~/others/wms" - 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 @@ -623,7 +1038,7 @@ test_module_base_export_manager: - mv ${CI_PROJECT_DIR}/ci_data/filestore /opt/flectra/.local/share/filestore/test_base_export_manager - chown -R flectra.flectra /opt/flectra/.local/share/filestore/test_base_export_manager - su - flectra -c "/opt/flectra/flectra-bin - --addons-path ${CI_PROJECT_DIR} + --addons-path ${CI_PROJECT_DIR},~/others/account-closing,~/others/account-invoicing,~/others/account-payment,~/others/bank-payment,~/others/brand,~/others/community-data-files,~/others/connector,~/others/edi,~/others/partner-contact,~/others/product-attribute,~/others/queue,~/others/report-print-send,~/others/rest-framework,~/others/sale-workflow,~/others/server-env,~/others/server-tools,~/others/social,~/others/stock-logistics-transport,~/others/stock-logistics-warehouse,~/others/stock-logistics-workflow,~/others/storage,~/others/web,~/others/wms --db_host psql --db_port 5432 --db_user flectra @@ -642,9 +1057,32 @@ test_module_document_quick_access: entrypoint: ["/bin/sh", "-c"] script: - apt-get install -y p7zip-full - - apt install -y expect-dev + - apt install -y expect-dev libzbar0 poppler-utils - 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/account-closing.git ~/others/account-closing" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/account-invoicing.git ~/others/account-invoicing" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/account-payment.git ~/others/account-payment" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/bank-payment.git ~/others/bank-payment" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/brand.git ~/others/brand" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/community-data-files.git ~/others/community-data-files" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/connector.git ~/others/connector" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/edi.git ~/others/edi" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/partner-contact.git ~/others/partner-contact" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/product-attribute.git ~/others/product-attribute" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/queue.git ~/others/queue" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/report-print-send.git ~/others/report-print-send" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/rest-framework.git ~/others/rest-framework" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/sale-workflow.git ~/others/sale-workflow" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/server-env.git ~/others/server-env" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/server-tools.git ~/others/server-tools" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/social.git ~/others/social" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/stock-logistics-transport.git ~/others/stock-logistics-transport" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/stock-logistics-warehouse.git ~/others/stock-logistics-warehouse" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/stock-logistics-workflow.git ~/others/stock-logistics-workflow" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/storage.git ~/others/storage" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/web.git ~/others/web" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/wms.git ~/others/wms" - 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 @@ -656,7 +1094,7 @@ test_module_document_quick_access: - mv ${CI_PROJECT_DIR}/ci_data/filestore /opt/flectra/.local/share/filestore/test_document_quick_access - chown -R flectra.flectra /opt/flectra/.local/share/filestore/test_document_quick_access - su - flectra -c "/opt/flectra/flectra-bin - --addons-path ${CI_PROJECT_DIR} + --addons-path ${CI_PROJECT_DIR},~/others/account-closing,~/others/account-invoicing,~/others/account-payment,~/others/bank-payment,~/others/brand,~/others/community-data-files,~/others/connector,~/others/edi,~/others/partner-contact,~/others/product-attribute,~/others/queue,~/others/report-print-send,~/others/rest-framework,~/others/sale-workflow,~/others/server-env,~/others/server-tools,~/others/social,~/others/stock-logistics-transport,~/others/stock-logistics-warehouse,~/others/stock-logistics-workflow,~/others/storage,~/others/web,~/others/wms --db_host psql --db_port 5432 --db_user flectra @@ -675,9 +1113,32 @@ test_module_mass_editing: entrypoint: ["/bin/sh", "-c"] script: - apt-get install -y p7zip-full - - apt install -y expect-dev + - apt install -y expect-dev libzbar0 poppler-utils - 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/account-closing.git ~/others/account-closing" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/account-invoicing.git ~/others/account-invoicing" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/account-payment.git ~/others/account-payment" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/bank-payment.git ~/others/bank-payment" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/brand.git ~/others/brand" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/community-data-files.git ~/others/community-data-files" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/connector.git ~/others/connector" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/edi.git ~/others/edi" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/partner-contact.git ~/others/partner-contact" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/product-attribute.git ~/others/product-attribute" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/queue.git ~/others/queue" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/report-print-send.git ~/others/report-print-send" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/rest-framework.git ~/others/rest-framework" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/sale-workflow.git ~/others/sale-workflow" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/server-env.git ~/others/server-env" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/server-tools.git ~/others/server-tools" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/social.git ~/others/social" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/stock-logistics-transport.git ~/others/stock-logistics-transport" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/stock-logistics-warehouse.git ~/others/stock-logistics-warehouse" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/stock-logistics-workflow.git ~/others/stock-logistics-workflow" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/storage.git ~/others/storage" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/web.git ~/others/web" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/wms.git ~/others/wms" - 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 @@ -689,7 +1150,7 @@ test_module_mass_editing: - mv ${CI_PROJECT_DIR}/ci_data/filestore /opt/flectra/.local/share/filestore/test_mass_editing - chown -R flectra.flectra /opt/flectra/.local/share/filestore/test_mass_editing - su - flectra -c "/opt/flectra/flectra-bin - --addons-path ${CI_PROJECT_DIR} + --addons-path ${CI_PROJECT_DIR},~/others/account-closing,~/others/account-invoicing,~/others/account-payment,~/others/bank-payment,~/others/brand,~/others/community-data-files,~/others/connector,~/others/edi,~/others/partner-contact,~/others/product-attribute,~/others/queue,~/others/report-print-send,~/others/rest-framework,~/others/sale-workflow,~/others/server-env,~/others/server-tools,~/others/social,~/others/stock-logistics-transport,~/others/stock-logistics-warehouse,~/others/stock-logistics-workflow,~/others/storage,~/others/web,~/others/wms --db_host psql --db_port 5432 --db_user flectra @@ -708,9 +1169,32 @@ test_module_base_tier_validation_server_action: entrypoint: ["/bin/sh", "-c"] script: - apt-get install -y p7zip-full - - apt install -y expect-dev + - apt install -y expect-dev libzbar0 poppler-utils - 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/account-closing.git ~/others/account-closing" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/account-invoicing.git ~/others/account-invoicing" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/account-payment.git ~/others/account-payment" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/bank-payment.git ~/others/bank-payment" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/brand.git ~/others/brand" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/community-data-files.git ~/others/community-data-files" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/connector.git ~/others/connector" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/edi.git ~/others/edi" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/partner-contact.git ~/others/partner-contact" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/product-attribute.git ~/others/product-attribute" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/queue.git ~/others/queue" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/report-print-send.git ~/others/report-print-send" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/rest-framework.git ~/others/rest-framework" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/sale-workflow.git ~/others/sale-workflow" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/server-env.git ~/others/server-env" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/server-tools.git ~/others/server-tools" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/social.git ~/others/social" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/stock-logistics-transport.git ~/others/stock-logistics-transport" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/stock-logistics-warehouse.git ~/others/stock-logistics-warehouse" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/stock-logistics-workflow.git ~/others/stock-logistics-workflow" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/storage.git ~/others/storage" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/web.git ~/others/web" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/wms.git ~/others/wms" - 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 @@ -722,7 +1206,7 @@ test_module_base_tier_validation_server_action: - mv ${CI_PROJECT_DIR}/ci_data/filestore /opt/flectra/.local/share/filestore/test_base_tier_validation_server_action - chown -R flectra.flectra /opt/flectra/.local/share/filestore/test_base_tier_validation_server_action - su - flectra -c "/opt/flectra/flectra-bin - --addons-path ${CI_PROJECT_DIR} + --addons-path ${CI_PROJECT_DIR},~/others/account-closing,~/others/account-invoicing,~/others/account-payment,~/others/bank-payment,~/others/brand,~/others/community-data-files,~/others/connector,~/others/edi,~/others/partner-contact,~/others/product-attribute,~/others/queue,~/others/report-print-send,~/others/rest-framework,~/others/sale-workflow,~/others/server-env,~/others/server-tools,~/others/social,~/others/stock-logistics-transport,~/others/stock-logistics-warehouse,~/others/stock-logistics-workflow,~/others/storage,~/others/web,~/others/wms --db_host psql --db_port 5432 --db_user flectra @@ -741,9 +1225,32 @@ test_module_mass_operation_abstract: entrypoint: ["/bin/sh", "-c"] script: - apt-get install -y p7zip-full - - apt install -y expect-dev + - apt install -y expect-dev libzbar0 poppler-utils - 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/account-closing.git ~/others/account-closing" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/account-invoicing.git ~/others/account-invoicing" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/account-payment.git ~/others/account-payment" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/bank-payment.git ~/others/bank-payment" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/brand.git ~/others/brand" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/community-data-files.git ~/others/community-data-files" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/connector.git ~/others/connector" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/edi.git ~/others/edi" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/partner-contact.git ~/others/partner-contact" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/product-attribute.git ~/others/product-attribute" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/queue.git ~/others/queue" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/report-print-send.git ~/others/report-print-send" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/rest-framework.git ~/others/rest-framework" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/sale-workflow.git ~/others/sale-workflow" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/server-env.git ~/others/server-env" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/server-tools.git ~/others/server-tools" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/social.git ~/others/social" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/stock-logistics-transport.git ~/others/stock-logistics-transport" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/stock-logistics-warehouse.git ~/others/stock-logistics-warehouse" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/stock-logistics-workflow.git ~/others/stock-logistics-workflow" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/storage.git ~/others/storage" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/web.git ~/others/web" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/wms.git ~/others/wms" - 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 @@ -755,7 +1262,7 @@ test_module_mass_operation_abstract: - mv ${CI_PROJECT_DIR}/ci_data/filestore /opt/flectra/.local/share/filestore/test_mass_operation_abstract - chown -R flectra.flectra /opt/flectra/.local/share/filestore/test_mass_operation_abstract - su - flectra -c "/opt/flectra/flectra-bin - --addons-path ${CI_PROJECT_DIR} + --addons-path ${CI_PROJECT_DIR},~/others/account-closing,~/others/account-invoicing,~/others/account-payment,~/others/bank-payment,~/others/brand,~/others/community-data-files,~/others/connector,~/others/edi,~/others/partner-contact,~/others/product-attribute,~/others/queue,~/others/report-print-send,~/others/rest-framework,~/others/sale-workflow,~/others/server-env,~/others/server-tools,~/others/social,~/others/stock-logistics-transport,~/others/stock-logistics-warehouse,~/others/stock-logistics-workflow,~/others/storage,~/others/web,~/others/wms --db_host psql --db_port 5432 --db_user flectra @@ -774,9 +1281,32 @@ test_module_chained_swapper: entrypoint: ["/bin/sh", "-c"] script: - apt-get install -y p7zip-full - - apt install -y expect-dev + - apt install -y expect-dev libzbar0 poppler-utils - 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/account-closing.git ~/others/account-closing" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/account-invoicing.git ~/others/account-invoicing" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/account-payment.git ~/others/account-payment" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/bank-payment.git ~/others/bank-payment" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/brand.git ~/others/brand" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/community-data-files.git ~/others/community-data-files" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/connector.git ~/others/connector" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/edi.git ~/others/edi" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/partner-contact.git ~/others/partner-contact" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/product-attribute.git ~/others/product-attribute" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/queue.git ~/others/queue" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/report-print-send.git ~/others/report-print-send" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/rest-framework.git ~/others/rest-framework" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/sale-workflow.git ~/others/sale-workflow" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/server-env.git ~/others/server-env" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/server-tools.git ~/others/server-tools" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/social.git ~/others/social" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/stock-logistics-transport.git ~/others/stock-logistics-transport" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/stock-logistics-warehouse.git ~/others/stock-logistics-warehouse" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/stock-logistics-workflow.git ~/others/stock-logistics-workflow" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/storage.git ~/others/storage" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/web.git ~/others/web" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/wms.git ~/others/wms" - 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 @@ -788,7 +1318,7 @@ test_module_chained_swapper: - mv ${CI_PROJECT_DIR}/ci_data/filestore /opt/flectra/.local/share/filestore/test_chained_swapper - chown -R flectra.flectra /opt/flectra/.local/share/filestore/test_chained_swapper - su - flectra -c "/opt/flectra/flectra-bin - --addons-path ${CI_PROJECT_DIR} + --addons-path ${CI_PROJECT_DIR},~/others/account-closing,~/others/account-invoicing,~/others/account-payment,~/others/bank-payment,~/others/brand,~/others/community-data-files,~/others/connector,~/others/edi,~/others/partner-contact,~/others/product-attribute,~/others/queue,~/others/report-print-send,~/others/rest-framework,~/others/sale-workflow,~/others/server-env,~/others/server-tools,~/others/social,~/others/stock-logistics-transport,~/others/stock-logistics-warehouse,~/others/stock-logistics-workflow,~/others/storage,~/others/web,~/others/wms --db_host psql --db_port 5432 --db_user flectra @@ -807,9 +1337,32 @@ test_module_base_optional_quick_create: entrypoint: ["/bin/sh", "-c"] script: - apt-get install -y p7zip-full - - apt install -y expect-dev + - apt install -y expect-dev libzbar0 poppler-utils - 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/account-closing.git ~/others/account-closing" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/account-invoicing.git ~/others/account-invoicing" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/account-payment.git ~/others/account-payment" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/bank-payment.git ~/others/bank-payment" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/brand.git ~/others/brand" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/community-data-files.git ~/others/community-data-files" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/connector.git ~/others/connector" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/edi.git ~/others/edi" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/partner-contact.git ~/others/partner-contact" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/product-attribute.git ~/others/product-attribute" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/queue.git ~/others/queue" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/report-print-send.git ~/others/report-print-send" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/rest-framework.git ~/others/rest-framework" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/sale-workflow.git ~/others/sale-workflow" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/server-env.git ~/others/server-env" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/server-tools.git ~/others/server-tools" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/social.git ~/others/social" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/stock-logistics-transport.git ~/others/stock-logistics-transport" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/stock-logistics-warehouse.git ~/others/stock-logistics-warehouse" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/stock-logistics-workflow.git ~/others/stock-logistics-workflow" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/storage.git ~/others/storage" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/web.git ~/others/web" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/wms.git ~/others/wms" - 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 @@ -821,7 +1374,7 @@ test_module_base_optional_quick_create: - mv ${CI_PROJECT_DIR}/ci_data/filestore /opt/flectra/.local/share/filestore/test_base_optional_quick_create - chown -R flectra.flectra /opt/flectra/.local/share/filestore/test_base_optional_quick_create - su - flectra -c "/opt/flectra/flectra-bin - --addons-path ${CI_PROJECT_DIR} + --addons-path ${CI_PROJECT_DIR},~/others/account-closing,~/others/account-invoicing,~/others/account-payment,~/others/bank-payment,~/others/brand,~/others/community-data-files,~/others/connector,~/others/edi,~/others/partner-contact,~/others/product-attribute,~/others/queue,~/others/report-print-send,~/others/rest-framework,~/others/sale-workflow,~/others/server-env,~/others/server-tools,~/others/social,~/others/stock-logistics-transport,~/others/stock-logistics-warehouse,~/others/stock-logistics-workflow,~/others/storage,~/others/web,~/others/wms --db_host psql --db_port 5432 --db_user flectra @@ -832,3 +1385,59 @@ test_module_base_optional_quick_create: --log-level error --log-handler flectra.addons.base_optional_quick_create:TEST" +test_module_document_quick_access_folder_auto_classification: + 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 libzbar0 poppler-utils + - 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/account-closing.git ~/others/account-closing" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/account-invoicing.git ~/others/account-invoicing" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/account-payment.git ~/others/account-payment" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/bank-payment.git ~/others/bank-payment" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/brand.git ~/others/brand" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/community-data-files.git ~/others/community-data-files" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/connector.git ~/others/connector" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/edi.git ~/others/edi" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/partner-contact.git ~/others/partner-contact" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/product-attribute.git ~/others/product-attribute" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/queue.git ~/others/queue" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/report-print-send.git ~/others/report-print-send" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/rest-framework.git ~/others/rest-framework" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/sale-workflow.git ~/others/sale-workflow" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/server-env.git ~/others/server-env" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/server-tools.git ~/others/server-tools" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/social.git ~/others/social" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/stock-logistics-transport.git ~/others/stock-logistics-transport" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/stock-logistics-warehouse.git ~/others/stock-logistics-warehouse" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/stock-logistics-workflow.git ~/others/stock-logistics-workflow" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/storage.git ~/others/storage" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/web.git ~/others/web" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/wms.git ~/others/wms" + - 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_document_quick_access_folder_auto_classification + - psql -h psql -U flectra -d test_document_quick_access_folder_auto_classification -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_document_quick_access_folder_auto_classification + - chown -R flectra.flectra /opt/flectra/.local/share/filestore/test_document_quick_access_folder_auto_classification + - su - flectra -c "/opt/flectra/flectra-bin + --addons-path ${CI_PROJECT_DIR},~/others/account-closing,~/others/account-invoicing,~/others/account-payment,~/others/bank-payment,~/others/brand,~/others/community-data-files,~/others/connector,~/others/edi,~/others/partner-contact,~/others/product-attribute,~/others/queue,~/others/report-print-send,~/others/rest-framework,~/others/sale-workflow,~/others/server-env,~/others/server-tools,~/others/social,~/others/stock-logistics-transport,~/others/stock-logistics-warehouse,~/others/stock-logistics-workflow,~/others/storage,~/others/web,~/others/wms + --db_host psql + --db_port 5432 + --db_user flectra + --db_password flectra + --database test_document_quick_access_folder_auto_classification + --test-enable -i document_quick_access_folder_auto_classification + --stop-after-init + --log-level error + --log-handler flectra.addons.document_quick_access_folder_auto_classification:TEST" + diff --git a/README.md b/README.md index f4f9ce1..5abe217 100644 --- a/README.md +++ b/README.md @@ -32,5 +32,6 @@ addon | version | summary [mass_operation_abstract](mass_operation_abstract/) | 2.0.1.0.0| Abstract Tools used for modules that realize operation on many items [chained_swapper](chained_swapper/) | 2.0.1.0.0| Chained Swapper [base_optional_quick_create](base_optional_quick_create/) | 2.0.1.0.0| Avoid "quick create" on m2o fields, on a "by model" basis +[document_quick_access_folder_auto_classification](document_quick_access_folder_auto_classification/) | 2.0.1.0.0| Auto classification of Documents after reading a QR diff --git a/document_quick_access_folder_auto_classification/COPYRIGHT b/document_quick_access_folder_auto_classification/COPYRIGHT new file mode 100644 index 0000000..31bc3dd --- /dev/null +++ b/document_quick_access_folder_auto_classification/COPYRIGHT @@ -0,0 +1,15 @@ +Most of the files are + + :Copyright: This stylesheet has been placed in the public domain. + Copyright 2019 Creu Blanca + Copyright 2018 Flectra Community + +Many files also contain contributions from third +parties. In this case the original copyright of +the contributions can be traced through the +history of the source version control system. + +When that is not the case, the files contain a prominent +notice stating the original copyright and applicable +license, or come with their own dedicated COPYRIGHT +and/or LICENSE file. \ No newline at end of file diff --git a/document_quick_access_folder_auto_classification/LICENSE b/document_quick_access_folder_auto_classification/LICENSE new file mode 100644 index 0000000..3939cd9 --- /dev/null +++ b/document_quick_access_folder_auto_classification/LICENSE @@ -0,0 +1,663 @@ +For copyright information, please see the COPYRIGHT file. + +GNU AFFERO GENERAL PUBLIC LICENSE + Version 3, 19 November 2007 + + Copyright (C) 2007 Free Software Foundation, Inc. + Everyone is permitted to copy and distribute verbatim copies + of this license document, but changing it is not allowed. + + Preamble + + The GNU Affero General Public License is a free, copyleft license for +software and other kinds of works, specifically designed to ensure +cooperation with the community in the case of network server software. + + The licenses for most software and other practical works are designed +to take away your freedom to share and change the works. By contrast, +our General Public Licenses are intended to guarantee your freedom to +share and change all versions of a program--to make sure it remains free +software for all its users. + + When we speak of free software, we are referring to freedom, not +price. Our General Public Licenses are designed to make sure that you +have the freedom to distribute copies of free software (and charge for +them if you wish), that you receive source code or can get it if you +want it, that you can change the software or use pieces of it in new +free programs, and that you know you can do these things. + + Developers that use our General Public Licenses protect your rights +with two steps: (1) assert copyright on the software, and (2) offer +you this License which gives you legal permission to copy, distribute +and/or modify the software. + + A secondary benefit of defending all users' freedom is that +improvements made in alternate versions of the program, if they +receive widespread use, become available for other developers to +incorporate. Many developers of free software are heartened and +encouraged by the resulting cooperation. However, in the case of +software used on network servers, this result may fail to come about. +The GNU General Public License permits making a modified version and +letting the public access it on a server without ever releasing its +source code to the public. + + The GNU Affero General Public License is designed specifically to +ensure that, in such cases, the modified source code becomes available +to the community. It requires the operator of a network server to +provide the source code of the modified version running there to the +users of that server. Therefore, public use of a modified version, on +a publicly accessible server, gives the public access to the source +code of the modified version. + + An older license, called the Affero General Public License and +published by Affero, was designed to accomplish similar goals. This is +a different license, not a version of the Affero GPL, but Affero has +released a new version of the Affero GPL which permits relicensing under +this license. + + The precise terms and conditions for copying, distribution and +modification follow. + + TERMS AND CONDITIONS + + 0. Definitions. + + "This License" refers to version 3 of the GNU Affero General Public License. + + "Copyright" also means copyright-like laws that apply to other kinds of +works, such as semiconductor masks. + + "The Program" refers to any copyrightable work licensed under this +License. Each licensee is addressed as "you". "Licensees" and +"recipients" may be individuals or organizations. + + To "modify" a work means to copy from or adapt all or part of the work +in a fashion requiring copyright permission, other than the making of an +exact copy. The resulting work is called a "modified version" of the +earlier work or a work "based on" the earlier work. + + A "covered work" means either the unmodified Program or a work based +on the Program. + + To "propagate" a work means to do anything with it that, without +permission, would make you directly or secondarily liable for +infringement under applicable copyright law, except executing it on a +computer or modifying a private copy. Propagation includes copying, +distribution (with or without modification), making available to the +public, and in some countries other activities as well. + + To "convey" a work means any kind of propagation that enables other +parties to make or receive copies. Mere interaction with a user through +a computer network, with no transfer of a copy, is not conveying. + + An interactive user interface displays "Appropriate Legal Notices" +to the extent that it includes a convenient and prominently visible +feature that (1) displays an appropriate copyright notice, and (2) +tells the user that there is no warranty for the work (except to the +extent that warranties are provided), that licensees may convey the +work under this License, and how to view a copy of this License. If +the interface presents a list of user commands or options, such as a +menu, a prominent item in the list meets this criterion. + + 1. Source Code. + + The "source code" for a work means the preferred form of the work +for making modifications to it. "Object code" means any non-source +form of a work. + + A "Standard Interface" means an interface that either is an official +standard defined by a recognized standards body, or, in the case of +interfaces specified for a particular programming language, one that +is widely used among developers working in that language. + + The "System Libraries" of an executable work include anything, other +than the work as a whole, that (a) is included in the normal form of +packaging a Major Component, but which is not part of that Major +Component, and (b) serves only to enable use of the work with that +Major Component, or to implement a Standard Interface for which an +implementation is available to the public in source code form. A +"Major Component", in this context, means a major essential component +(kernel, window system, and so on) of the specific operating system +(if any) on which the executable work runs, or a compiler used to +produce the work, or an object code interpreter used to run it. + + The "Corresponding Source" for a work in object code form means all +the source code needed to generate, install, and (for an executable +work) run the object code and to modify the work, including scripts to +control those activities. However, it does not include the work's +System Libraries, or general-purpose tools or generally available free +programs which are used unmodified in performing those activities but +which are not part of the work. For example, Corresponding Source +includes interface definition files associated with source files for +the work, and the source code for shared libraries and dynamically +linked subprograms that the work is specifically designed to require, +such as by intimate data communication or control flow between those +subprograms and other parts of the work. + + The Corresponding Source need not include anything that users +can regenerate automatically from other parts of the Corresponding +Source. + + The Corresponding Source for a work in source code form is that +same work. + + 2. Basic Permissions. + + All rights granted under this License are granted for the term of +copyright on the Program, and are irrevocable provided the stated +conditions are met. This License explicitly affirms your unlimited +permission to run the unmodified Program. The output from running a +covered work is covered by this License only if the output, given its +content, constitutes a covered work. This License acknowledges your +rights of fair use or other equivalent, as provided by copyright law. + + You may make, run and propagate covered works that you do not +convey, without conditions so long as your license otherwise remains +in force. You may convey covered works to others for the sole purpose +of having them make modifications exclusively for you, or provide you +with facilities for running those works, provided that you comply with +the terms of this License in conveying all material for which you do +not control copyright. Those thus making or running the covered works +for you must do so exclusively on your behalf, under your direction +and control, on terms that prohibit them from making any copies of +your copyrighted material outside their relationship with you. + + Conveying under any other circumstances is permitted solely under +the conditions stated below. Sublicensing is not allowed; section 10 +makes it unnecessary. + + 3. Protecting Users' Legal Rights From Anti-Circumvention Law. + + No covered work shall be deemed part of an effective technological +measure under any applicable law fulfilling obligations under article +11 of the WIPO copyright treaty adopted on 20 December 1996, or +similar laws prohibiting or restricting circumvention of such +measures. + + When you convey a covered work, you waive any legal power to forbid +circumvention of technological measures to the extent such circumvention +is effected by exercising rights under this License with respect to +the covered work, and you disclaim any intention to limit operation or +modification of the work as a means of enforcing, against the work's +users, your or third parties' legal rights to forbid circumvention of +technological measures. + + 4. Conveying Verbatim Copies. + + You may convey verbatim copies of the Program's source code as you +receive it, in any medium, provided that you conspicuously and +appropriately publish on each copy an appropriate copyright notice; +keep intact all notices stating that this License and any +non-permissive terms added in accord with section 7 apply to the code; +keep intact all notices of the absence of any warranty; and give all +recipients a copy of this License along with the Program. + + You may charge any price or no price for each copy that you convey, +and you may offer support or warranty protection for a fee. + + 5. Conveying Modified Source Versions. + + You may convey a work based on the Program, or the modifications to +produce it from the Program, in the form of source code under the +terms of section 4, provided that you also meet all of these conditions: + + a) The work must carry prominent notices stating that you modified + it, and giving a relevant date. + + b) The work must carry prominent notices stating that it is + released under this License and any conditions added under section + 7. This requirement modifies the requirement in section 4 to + "keep intact all notices". + + c) You must license the entire work, as a whole, under this + License to anyone who comes into possession of a copy. This + License will therefore apply, along with any applicable section 7 + additional terms, to the whole of the work, and all its parts, + regardless of how they are packaged. This License gives no + permission to license the work in any other way, but it does not + invalidate such permission if you have separately received it. + + d) If the work has interactive user interfaces, each must display + Appropriate Legal Notices; however, if the Program has interactive + interfaces that do not display Appropriate Legal Notices, your + work need not make them do so. + + A compilation of a covered work with other separate and independent +works, which are not by their nature extensions of the covered work, +and which are not combined with it such as to form a larger program, +in or on a volume of a storage or distribution medium, is called an +"aggregate" if the compilation and its resulting copyright are not +used to limit the access or legal rights of the compilation's users +beyond what the individual works permit. Inclusion of a covered work +in an aggregate does not cause this License to apply to the other +parts of the aggregate. + + 6. Conveying Non-Source Forms. + + You may convey a covered work in object code form under the terms +of sections 4 and 5, provided that you also convey the +machine-readable Corresponding Source under the terms of this License, +in one of these ways: + + a) Convey the object code in, or embodied in, a physical product + (including a physical distribution medium), accompanied by the + Corresponding Source fixed on a durable physical medium + customarily used for software interchange. + + b) Convey the object code in, or embodied in, a physical product + (including a physical distribution medium), accompanied by a + written offer, valid for at least three years and valid for as + long as you offer spare parts or customer support for that product + model, to give anyone who possesses the object code either (1) a + copy of the Corresponding Source for all the software in the + product that is covered by this License, on a durable physical + medium customarily used for software interchange, for a price no + more than your reasonable cost of physically performing this + conveying of source, or (2) access to copy the + Corresponding Source from a network server at no charge. + + c) Convey individual copies of the object code with a copy of the + written offer to provide the Corresponding Source. This + alternative is allowed only occasionally and noncommercially, and + only if you received the object code with such an offer, in accord + with subsection 6b. + + d) Convey the object code by offering access from a designated + place (gratis or for a charge), and offer equivalent access to the + Corresponding Source in the same way through the same place at no + further charge. You need not require recipients to copy the + Corresponding Source along with the object code. If the place to + copy the object code is a network server, the Corresponding Source + may be on a different server (operated by you or a third party) + that supports equivalent copying facilities, provided you maintain + clear directions next to the object code saying where to find the + Corresponding Source. Regardless of what server hosts the + Corresponding Source, you remain obligated to ensure that it is + available for as long as needed to satisfy these requirements. + + e) Convey the object code using peer-to-peer transmission, provided + you inform other peers where the object code and Corresponding + Source of the work are being offered to the general public at no + charge under subsection 6d. + + A separable portion of the object code, whose source code is excluded +from the Corresponding Source as a System Library, need not be +included in conveying the object code work. + + A "User Product" is either (1) a "consumer product", which means any +tangible personal property which is normally used for personal, family, +or household purposes, or (2) anything designed or sold for incorporation +into a dwelling. In determining whether a product is a consumer product, +doubtful cases shall be resolved in favor of coverage. For a particular +product received by a particular user, "normally used" refers to a +typical or common use of that class of product, regardless of the status +of the particular user or of the way in which the particular user +actually uses, or expects or is expected to use, the product. A product +is a consumer product regardless of whether the product has substantial +commercial, industrial or non-consumer uses, unless such uses represent +the only significant mode of use of the product. + + "Installation Information" for a User Product means any methods, +procedures, authorization keys, or other information required to install +and execute modified versions of a covered work in that User Product from +a modified version of its Corresponding Source. The information must +suffice to ensure that the continued functioning of the modified object +code is in no case prevented or interfered with solely because +modification has been made. + + If you convey an object code work under this section in, or with, or +specifically for use in, a User Product, and the conveying occurs as +part of a transaction in which the right of possession and use of the +User Product is transferred to the recipient in perpetuity or for a +fixed term (regardless of how the transaction is characterized), the +Corresponding Source conveyed under this section must be accompanied +by the Installation Information. But this requirement does not apply +if neither you nor any third party retains the ability to install +modified object code on the User Product (for example, the work has +been installed in ROM). + + The requirement to provide Installation Information does not include a +requirement to continue to provide support service, warranty, or updates +for a work that has been modified or installed by the recipient, or for +the User Product in which it has been modified or installed. Access to a +network may be denied when the modification itself materially and +adversely affects the operation of the network or violates the rules and +protocols for communication across the network. + + Corresponding Source conveyed, and Installation Information provided, +in accord with this section must be in a format that is publicly +documented (and with an implementation available to the public in +source code form), and must require no special password or key for +unpacking, reading or copying. + + 7. Additional Terms. + + "Additional permissions" are terms that supplement the terms of this +License by making exceptions from one or more of its conditions. +Additional permissions that are applicable to the entire Program shall +be treated as though they were included in this License, to the extent +that they are valid under applicable law. If additional permissions +apply only to part of the Program, that part may be used separately +under those permissions, but the entire Program remains governed by +this License without regard to the additional permissions. + + When you convey a copy of a covered work, you may at your option +remove any additional permissions from that copy, or from any part of +it. (Additional permissions may be written to require their own +removal in certain cases when you modify the work.) You may place +additional permissions on material, added by you to a covered work, +for which you have or can give appropriate copyright permission. + + Notwithstanding any other provision of this License, for material you +add to a covered work, you may (if authorized by the copyright holders of +that material) supplement the terms of this License with terms: + + a) Disclaiming warranty or limiting liability differently from the + terms of sections 15 and 16 of this License; or + + b) Requiring preservation of specified reasonable legal notices or + author attributions in that material or in the Appropriate Legal + Notices displayed by works containing it; or + + c) Prohibiting misrepresentation of the origin of that material, or + requiring that modified versions of such material be marked in + reasonable ways as different from the original version; or + + d) Limiting the use for publicity purposes of names of licensors or + authors of the material; or + + e) Declining to grant rights under trademark law for use of some + trade names, trademarks, or service marks; or + + f) Requiring indemnification of licensors and authors of that + material by anyone who conveys the material (or modified versions of + it) with contractual assumptions of liability to the recipient, for + any liability that these contractual assumptions directly impose on + those licensors and authors. + + All other non-permissive additional terms are considered "further +restrictions" within the meaning of section 10. If the Program as you +received it, or any part of it, contains a notice stating that it is +governed by this License along with a term that is a further +restriction, you may remove that term. If a license document contains +a further restriction but permits relicensing or conveying under this +License, you may add to a covered work material governed by the terms +of that license document, provided that the further restriction does +not survive such relicensing or conveying. + + If you add terms to a covered work in accord with this section, you +must place, in the relevant source files, a statement of the +additional terms that apply to those files, or a notice indicating +where to find the applicable terms. + + Additional terms, permissive or non-permissive, may be stated in the +form of a separately written license, or stated as exceptions; +the above requirements apply either way. + + 8. Termination. + + You may not propagate or modify a covered work except as expressly +provided under this License. Any attempt otherwise to propagate or +modify it is void, and will automatically terminate your rights under +this License (including any patent licenses granted under the third +paragraph of section 11). + + However, if you cease all violation of this License, then your +license from a particular copyright holder is reinstated (a) +provisionally, unless and until the copyright holder explicitly and +finally terminates your license, and (b) permanently, if the copyright +holder fails to notify you of the violation by some reasonable means +prior to 60 days after the cessation. + + Moreover, your license from a particular copyright holder is +reinstated permanently if the copyright holder notifies you of the +violation by some reasonable means, this is the first time you have +received notice of violation of this License (for any work) from that +copyright holder, and you cure the violation prior to 30 days after +your receipt of the notice. + + Termination of your rights under this section does not terminate the +licenses of parties who have received copies or rights from you under +this License. If your rights have been terminated and not permanently +reinstated, you do not qualify to receive new licenses for the same +material under section 10. + + 9. Acceptance Not Required for Having Copies. + + You are not required to accept this License in order to receive or +run a copy of the Program. Ancillary propagation of a covered work +occurring solely as a consequence of using peer-to-peer transmission +to receive a copy likewise does not require acceptance. However, +nothing other than this License grants you permission to propagate or +modify any covered work. These actions infringe copyright if you do +not accept this License. Therefore, by modifying or propagating a +covered work, you indicate your acceptance of this License to do so. + + 10. Automatic Licensing of Downstream Recipients. + + Each time you convey a covered work, the recipient automatically +receives a license from the original licensors, to run, modify and +propagate that work, subject to this License. You are not responsible +for enforcing compliance by third parties with this License. + + An "entity transaction" is a transaction transferring control of an +organization, or substantially all assets of one, or subdividing an +organization, or merging organizations. If propagation of a covered +work results from an entity transaction, each party to that +transaction who receives a copy of the work also receives whatever +licenses to the work the party's predecessor in interest had or could +give under the previous paragraph, plus a right to possession of the +Corresponding Source of the work from the predecessor in interest, if +the predecessor has it or can get it with reasonable efforts. + + You may not impose any further restrictions on the exercise of the +rights granted or affirmed under this License. For example, you may +not impose a license fee, royalty, or other charge for exercise of +rights granted under this License, and you may not initiate litigation +(including a cross-claim or counterclaim in a lawsuit) alleging that +any patent claim is infringed by making, using, selling, offering for +sale, or importing the Program or any portion of it. + + 11. Patents. + + A "contributor" is a copyright holder who authorizes use under this +License of the Program or a work on which the Program is based. The +work thus licensed is called the contributor's "contributor version". + + A contributor's "essential patent claims" are all patent claims +owned or controlled by the contributor, whether already acquired or +hereafter acquired, that would be infringed by some manner, permitted +by this License, of making, using, or selling its contributor version, +but do not include claims that would be infringed only as a +consequence of further modification of the contributor version. For +purposes of this definition, "control" includes the right to grant +patent sublicenses in a manner consistent with the requirements of +this License. + + Each contributor grants you a non-exclusive, worldwide, royalty-free +patent license under the contributor's essential patent claims, to +make, use, sell, offer for sale, import and otherwise run, modify and +propagate the contents of its contributor version. + + In the following three paragraphs, a "patent license" is any express +agreement or commitment, however denominated, not to enforce a patent +(such as an express permission to practice a patent or covenant not to +sue for patent infringement). To "grant" such a patent license to a +party means to make such an agreement or commitment not to enforce a +patent against the party. + + If you convey a covered work, knowingly relying on a patent license, +and the Corresponding Source of the work is not available for anyone +to copy, free of charge and under the terms of this License, through a +publicly available network server or other readily accessible means, +then you must either (1) cause the Corresponding Source to be so +available, or (2) arrange to deprive yourself of the benefit of the +patent license for this particular work, or (3) arrange, in a manner +consistent with the requirements of this License, to extend the patent +license to downstream recipients. "Knowingly relying" means you have +actual knowledge that, but for the patent license, your conveying the +covered work in a country, or your recipient's use of the covered work +in a country, would infringe one or more identifiable patents in that +country that you have reason to believe are valid. + + If, pursuant to or in connection with a single transaction or +arrangement, you convey, or propagate by procuring conveyance of, a +covered work, and grant a patent license to some of the parties +receiving the covered work authorizing them to use, propagate, modify +or convey a specific copy of the covered work, then the patent license +you grant is automatically extended to all recipients of the covered +work and works based on it. + + A patent license is "discriminatory" if it does not include within +the scope of its coverage, prohibits the exercise of, or is +conditioned on the non-exercise of one or more of the rights that are +specifically granted under this License. You may not convey a covered +work if you are a party to an arrangement with a third party that is +in the business of distributing software, under which you make payment +to the third party based on the extent of your activity of conveying +the work, and under which the third party grants, to any of the +parties who would receive the covered work from you, a discriminatory +patent license (a) in connection with copies of the covered work +conveyed by you (or copies made from those copies), or (b) primarily +for and in connection with specific products or compilations that +contain the covered work, unless you entered into that arrangement, +or that patent license was granted, prior to 28 March 2007. + + Nothing in this License shall be construed as excluding or limiting +any implied license or other defenses to infringement that may +otherwise be available to you under applicable patent law. + + 12. No Surrender of Others' Freedom. + + If conditions are imposed on you (whether by court order, agreement or +otherwise) that contradict the conditions of this License, they do not +excuse you from the conditions of this License. If you cannot convey a +covered work so as to satisfy simultaneously your obligations under this +License and any other pertinent obligations, then as a consequence you may +not convey it at all. For example, if you agree to terms that obligate you +to collect a royalty for further conveying from those to whom you convey +the Program, the only way you could satisfy both those terms and this +License would be to refrain entirely from conveying the Program. + + 13. Remote Network Interaction; Use with the GNU General Public License. + + Notwithstanding any other provision of this License, if you modify the +Program, your modified version must prominently offer all users +interacting with it remotely through a computer network (if your version +supports such interaction) an opportunity to receive the Corresponding +Source of your version by providing access to the Corresponding Source +from a network server at no charge, through some standard or customary +means of facilitating copying of software. This Corresponding Source +shall include the Corresponding Source for any work covered by version 3 +of the GNU General Public License that is incorporated pursuant to the +following paragraph. + + Notwithstanding any other provision of this License, you have +permission to link or combine any covered work with a work licensed +under version 3 of the GNU General Public License into a single +combined work, and to convey the resulting work. The terms of this +License will continue to apply to the part which is the covered work, +but the work with which it is combined will remain governed by version +3 of the GNU General Public License. + + 14. Revised Versions of this License. + + The Free Software Foundation may publish revised and/or new versions of +the GNU Affero General Public License from time to time. Such new versions +will be similar in spirit to the present version, but may differ in detail to +address new problems or concerns. + + Each version is given a distinguishing version number. If the +Program specifies that a certain numbered version of the GNU Affero General +Public License "or any later version" applies to it, you have the +option of following the terms and conditions either of that numbered +version or of any later version published by the Free Software +Foundation. If the Program does not specify a version number of the +GNU Affero General Public License, you may choose any version ever published +by the Free Software Foundation. + + If the Program specifies that a proxy can decide which future +versions of the GNU Affero General Public License can be used, that proxy's +public statement of acceptance of a version permanently authorizes you +to choose that version for the Program. + + Later license versions may give you additional or different +permissions. However, no additional obligations are imposed on any +author or copyright holder as a result of your choosing to follow a +later version. + + 15. Disclaimer of Warranty. + + THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY +APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT +HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY +OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, +THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR +PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM +IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF +ALL NECESSARY SERVICING, REPAIR OR CORRECTION. + + 16. Limitation of Liability. + + IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING +WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS +THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY +GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE +USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF +DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD +PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS), +EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF +SUCH DAMAGES. + + 17. Interpretation of Sections 15 and 16. + + If the disclaimer of warranty and limitation of liability provided +above cannot be given local legal effect according to their terms, +reviewing courts shall apply local law that most closely approximates +an absolute waiver of all civil liability in connection with the +Program, unless a warranty or assumption of liability accompanies a +copy of the Program in return for a fee. + + END OF TERMS AND CONDITIONS + + How to Apply These Terms to Your New Programs + + If you develop a new program, and you want it to be of the greatest +possible use to the public, the best way to achieve this is to make it +free software which everyone can redistribute and change under these terms. + + To do so, attach the following notices to the program. It is safest +to attach them to the start of each source file to most effectively +state the exclusion of warranty; and each file should have at least +the "copyright" line and a pointer to where the full notice is found. + + + Copyright (C) + + This program is free software: you can redistribute it and/or modify + it under the terms of the GNU Affero General Public License as published + by the Free Software Foundation, either version 3 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU Affero General Public License for more details. + + You should have received a copy of the GNU Affero General Public License + along with this program. If not, see . + +Also add information on how to contact you by electronic and paper mail. + + If your software can interact with users remotely through a computer +network, you should also make sure that it provides a way for users to +get its source. For example, if your program is a web application, its +interface could display a "Source" link that leads users to an archive +of the code. There are many ways you could offer source, and different +solutions will be better for different programs; see section 13 for the +specific requirements. + + You should also get your employer (if you work as a programmer) or school, +if any, to sign a "copyright disclaimer" for the program, if necessary. +For more information on this, and how to apply and follow the GNU AGPL, see +. \ No newline at end of file diff --git a/document_quick_access_folder_auto_classification/README.rst b/document_quick_access_folder_auto_classification/README.rst new file mode 100644 index 0000000..13f1450 --- /dev/null +++ b/document_quick_access_folder_auto_classification/README.rst @@ -0,0 +1,106 @@ +================================================ +Document Quick Access Folder Auto Classification +================================================ + +.. !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! + !! This file is generated by oca-gen-addon-readme !! + !! changes will be overwritten. !! + !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! + +.. |badge1| image:: https://img.shields.io/badge/maturity-Beta-yellow.png + :target: https://odoo-community.org/page/development-status + :alt: Beta +.. |badge2| image:: https://img.shields.io/badge/licence-AGPL--3-blue.png + :target: http://www.gnu.org/licenses/agpl-3.0-standalone.html + :alt: License: AGPL-3 +.. |badge3| image:: https://img.shields.io/badge/github-OCA%2Fserver--ux-lightgray.png?logo=github + :target: https://github.com/OCA/server-ux/tree/14.0/document_quick_access_folder_auto_classification + :alt: OCA/server-ux +.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png + :target: https://translation.odoo-community.org/projects/server-ux-14-0/server-ux-14-0-document_quick_access_folder_auto_classification + :alt: Translate me on Weblate +.. |badge5| image:: https://img.shields.io/badge/runbot-Try%20me-875A7B.png + :target: https://runbot.odoo-community.org/runbot/250/14.0 + :alt: Try me on Runbot + +|badge1| |badge2| |badge3| |badge4| |badge5| + +This module creates a job that scans all files from a folder and attaches them +to its record. The record is found using the document quick access rules. + +**Table of contents** + +.. contents:: + :local: + +Configuration +============= + +# Create 3 folders on your odoo system. Odoo will use them for Preprocessing, + Store processed (not required), Store failed (not required) +# Access your system parameters and edit the parameters in order to match your + folders + +Usage +===== + +Users can drop the files on the folder (You may be able to configure your +scanner to send the files directly). +Then, they will be able to see the files attached to the expected record. +If two records matches the rules, it will be attached to both (two QRs). + +If the file matches no rules, it will be attached as a non processed documents. +Users should be able to assign which record to use + +# Access `Documents to process` +# Select a non processed document +# Assign or reject the document. When assigning it, the record will be asked. + +Bug Tracker +=========== + +Bugs are tracked on `GitHub Issues `_. +In case of trouble, please check there if your issue has already been reported. +If you spotted it first, help us smashing it by providing a detailed and welcomed +`feedback `_. + +Do not contact contributors directly about support or help with technical issues. + +Credits +======= + +Authors +~~~~~~~ + +* Creu Blanca + +Contributors +~~~~~~~~~~~~ + +* Enric Tobella +* Foram Shah + +Maintainers +~~~~~~~~~~~ + +This module is maintained by the OCA. + +.. image:: https://odoo-community.org/logo.png + :alt: Odoo Community Association + :target: https://odoo-community.org + +OCA, or the Odoo Community Association, is a nonprofit organization whose +mission is to support the collaborative development of Odoo features and +promote its widespread use. + +.. |maintainer-etobella| image:: https://github.com/etobella.png?size=40px + :target: https://github.com/etobella + :alt: etobella + +Current `maintainer `__: + +|maintainer-etobella| + +This module is part of the `OCA/server-ux `_ project on GitHub. + +You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute. \ No newline at end of file diff --git a/document_quick_access_folder_auto_classification/__init__.py b/document_quick_access_folder_auto_classification/__init__.py new file mode 100644 index 0000000..aee8895 --- /dev/null +++ b/document_quick_access_folder_auto_classification/__init__.py @@ -0,0 +1,2 @@ +from . import models +from . import wizards diff --git a/document_quick_access_folder_auto_classification/__manifest__.py b/document_quick_access_folder_auto_classification/__manifest__.py new file mode 100644 index 0000000..ee5e460 --- /dev/null +++ b/document_quick_access_folder_auto_classification/__manifest__.py @@ -0,0 +1,23 @@ +# Copyright 2019 Creu Blanca +# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). + +{ + "name": "Document Quick Access Folder Auto Classification", + "summary": """ + Auto classification of Documents after reading a QR""", + "version": "2.0.1.0.0", + "license": "AGPL-3", + "author": "Creu Blanca,Odoo Community Association (OCA)", + "website": "https://gitlab.com/flectra-community/server-ux", + "depends": ["document_quick_access", "edi_storage_oca"], + "external_dependencies": {"python": ["pyzbar"]}, + "data": [ + "security/security.xml", + "security/ir.model.access.csv", + "wizards/document_quick_access_missing_assign.xml", + "views/document_quick_access_missing.xml", + "data/config_parameter.xml", + "data/cron_data.xml", + ], + "maintainers": ["etobella"], +} diff --git a/document_quick_access_folder_auto_classification/data/config_parameter.xml b/document_quick_access_folder_auto_classification/data/config_parameter.xml new file mode 100644 index 0000000..fe17f40 --- /dev/null +++ b/document_quick_access_folder_auto_classification/data/config_parameter.xml @@ -0,0 +1,38 @@ + + + + + document_quick_access_auto_classification.path + /opt/qr_data + + + document_quick_access_auto_classification.ok_path + /opt/ok_qr_data + + + document_quick_access_auto_classification.failure_path + /opt/ko_qr_data + + + document_quick_access_auto_classification.process_path + /opt/process_data + + + diff --git a/document_quick_access_folder_auto_classification/data/cron_data.xml b/document_quick_access_folder_auto_classification/data/cron_data.xml new file mode 100644 index 0000000..30ee477 --- /dev/null +++ b/document_quick_access_folder_auto_classification/data/cron_data.xml @@ -0,0 +1,21 @@ + + + + + Process documents + + + code + model.cron_folder_auto_classification() + 15 + minutes + -1 + + + diff --git a/document_quick_access_folder_auto_classification/i18n/document_quick_access_folder_auto_classification.pot b/document_quick_access_folder_auto_classification/i18n/document_quick_access_folder_auto_classification.pot new file mode 100644 index 0000000..5a476a9 --- /dev/null +++ b/document_quick_access_folder_auto_classification/i18n/document_quick_access_folder_auto_classification.pot @@ -0,0 +1,190 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * document_quick_access_folder_auto_classification +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 14.0\n" +"Report-Msgid-Bugs-To: \n" +"Last-Translator: \n" +"Language-Team: \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Plural-Forms: \n" + +#. module: document_quick_access_folder_auto_classification +#: model_terms:ir.ui.view,arch_db:document_quick_access_folder_auto_classification.document_quick_access_missing_form_view +msgid "Access" +msgstr "" + +#. module: document_quick_access_folder_auto_classification +#: model_terms:ir.ui.view,arch_db:document_quick_access_folder_auto_classification.document_quick_access_missing_form_view +msgid "Assign" +msgstr "" + +#. module: document_quick_access_folder_auto_classification +#: model:res.groups,name:document_quick_access_folder_auto_classification.group_missing_document +msgid "Assigner" +msgstr "" + +#. module: document_quick_access_folder_auto_classification +#: model:ir.model,name:document_quick_access_folder_auto_classification.model_ir_attachment +#: model:ir.model.fields,field_description:document_quick_access_folder_auto_classification.field_document_quick_access_missing__attachment_id +msgid "Attachment" +msgstr "" + +#. module: document_quick_access_folder_auto_classification +#: model_terms:ir.ui.view,arch_db:document_quick_access_folder_auto_classification.document_quick_access_missing_assign_form_view +msgid "Cancel" +msgstr "" + +#. module: document_quick_access_folder_auto_classification +#: model:ir.model.fields,field_description:document_quick_access_folder_auto_classification.field_document_quick_access_missing__create_uid +#: model:ir.model.fields,field_description:document_quick_access_folder_auto_classification.field_document_quick_access_missing_assign__create_uid +msgid "Created by" +msgstr "" + +#. module: document_quick_access_folder_auto_classification +#: model:ir.model.fields,field_description:document_quick_access_folder_auto_classification.field_document_quick_access_missing__create_date +#: model:ir.model.fields,field_description:document_quick_access_folder_auto_classification.field_document_quick_access_missing_assign__create_date +msgid "Created on" +msgstr "" + +#. module: document_quick_access_folder_auto_classification +#: model:ir.model.fields,field_description:document_quick_access_folder_auto_classification.field_document_quick_access_missing__display_name +#: model:ir.model.fields,field_description:document_quick_access_folder_auto_classification.field_document_quick_access_missing_assign__display_name +#: model:ir.model.fields,field_description:document_quick_access_folder_auto_classification.field_document_quick_access_rule__display_name +#: model:ir.model.fields,field_description:document_quick_access_folder_auto_classification.field_ir_attachment__display_name +msgid "Display Name" +msgstr "" + +#. module: document_quick_access_folder_auto_classification +#: model:ir.actions.act_window,name:document_quick_access_folder_auto_classification.document_quick_access_missing_act_window +msgid "Document Quick Access Missing" +msgstr "" + +#. module: document_quick_access_folder_auto_classification +#: model:ir.actions.act_window,name:document_quick_access_folder_auto_classification.document_quick_access_missing_assign_act_window +#: model_terms:ir.ui.view,arch_db:document_quick_access_folder_auto_classification.document_quick_access_missing_assign_form_view +msgid "Document Quick Access Missing Assign" +msgstr "" + +#. module: document_quick_access_folder_auto_classification +#: model:ir.model,name:document_quick_access_folder_auto_classification.model_document_quick_access_rule +msgid "Document Quick Access Rule" +msgstr "" + +#. module: document_quick_access_folder_auto_classification +#: model:ir.ui.menu,name:document_quick_access_folder_auto_classification.document_quick_access_missing_menu +msgid "Documents to process" +msgstr "" + +#. module: document_quick_access_folder_auto_classification +#: model:ir.model.fields,field_description:document_quick_access_folder_auto_classification.field_document_quick_access_missing__data +msgid "File Content (base64)" +msgstr "" + +#. module: document_quick_access_folder_auto_classification +#: model:ir.model.fields,field_description:document_quick_access_folder_auto_classification.field_document_quick_access_missing__id +#: model:ir.model.fields,field_description:document_quick_access_folder_auto_classification.field_document_quick_access_missing_assign__id +#: model:ir.model.fields,field_description:document_quick_access_folder_auto_classification.field_document_quick_access_rule__id +#: model:ir.model.fields,field_description:document_quick_access_folder_auto_classification.field_ir_attachment__id +msgid "ID" +msgstr "" + +#. module: document_quick_access_folder_auto_classification +#: model:ir.model.fields,field_description:document_quick_access_folder_auto_classification.field_document_quick_access_missing____last_update +#: model:ir.model.fields,field_description:document_quick_access_folder_auto_classification.field_document_quick_access_missing_assign____last_update +#: model:ir.model.fields,field_description:document_quick_access_folder_auto_classification.field_document_quick_access_rule____last_update +#: model:ir.model.fields,field_description:document_quick_access_folder_auto_classification.field_ir_attachment____last_update +msgid "Last Modified on" +msgstr "" + +#. module: document_quick_access_folder_auto_classification +#: model:ir.model.fields,field_description:document_quick_access_folder_auto_classification.field_document_quick_access_missing__write_uid +#: model:ir.model.fields,field_description:document_quick_access_folder_auto_classification.field_document_quick_access_missing_assign__write_uid +msgid "Last Updated by" +msgstr "" + +#. module: document_quick_access_folder_auto_classification +#: model:ir.model.fields,field_description:document_quick_access_folder_auto_classification.field_document_quick_access_missing__write_date +#: model:ir.model.fields,field_description:document_quick_access_folder_auto_classification.field_document_quick_access_missing_assign__write_date +msgid "Last Updated on" +msgstr "" + +#. module: document_quick_access_folder_auto_classification +#: model:ir.model,name:document_quick_access_folder_auto_classification.model_document_quick_access_missing +#: model:ir.model.fields,field_description:document_quick_access_folder_auto_classification.field_document_quick_access_missing_assign__missing_document_id +msgid "Missing Document" +msgstr "" + +#. module: document_quick_access_folder_auto_classification +#: model:ir.module.category,name:document_quick_access_folder_auto_classification.ir_module_category_missing_document +msgid "Missing Documents" +msgstr "" + +#. module: document_quick_access_folder_auto_classification +#: model:ir.model.fields,field_description:document_quick_access_folder_auto_classification.field_document_quick_access_missing__model +msgid "Model" +msgstr "" + +#. module: document_quick_access_folder_auto_classification +#: model:ir.model.fields,field_description:document_quick_access_folder_auto_classification.field_document_quick_access_missing__name +msgid "Name" +msgstr "" + +#. module: document_quick_access_folder_auto_classification +#: model_terms:ir.ui.view,arch_db:document_quick_access_folder_auto_classification.document_quick_access_missing_assign_form_view +msgid "OK" +msgstr "" + +#. module: document_quick_access_folder_auto_classification +#: model:ir.model.fields,field_description:document_quick_access_folder_auto_classification.field_document_quick_access_missing_assign__object_id +msgid "Object" +msgstr "" + +#. module: document_quick_access_folder_auto_classification +#: model:ir.model.fields.selection,name:document_quick_access_folder_auto_classification.selection__document_quick_access_missing__state__pending +#: model_terms:ir.ui.view,arch_db:document_quick_access_folder_auto_classification.document_quick_access_missing_search_view +msgid "Pending" +msgstr "" + +#. module: document_quick_access_folder_auto_classification +#: model:ir.actions.server,name:document_quick_access_folder_auto_classification.process_documents_ir_actions_server +#: model:ir.cron,cron_name:document_quick_access_folder_auto_classification.process_documents +#: model:ir.cron,name:document_quick_access_folder_auto_classification.process_documents +msgid "Process documents" +msgstr "" + +#. module: document_quick_access_folder_auto_classification +#: model:ir.model.fields.selection,name:document_quick_access_folder_auto_classification.selection__document_quick_access_missing__state__processed +#: model_terms:ir.ui.view,arch_db:document_quick_access_folder_auto_classification.document_quick_access_missing_search_view +msgid "Processed" +msgstr "" + +#. module: document_quick_access_folder_auto_classification +#: model_terms:ir.ui.view,arch_db:document_quick_access_folder_auto_classification.document_quick_access_missing_form_view +msgid "Reject" +msgstr "" + +#. module: document_quick_access_folder_auto_classification +#: model:ir.model.fields.selection,name:document_quick_access_folder_auto_classification.selection__document_quick_access_missing__state__deleted +#: model_terms:ir.ui.view,arch_db:document_quick_access_folder_auto_classification.document_quick_access_missing_search_view +msgid "Rejected" +msgstr "" + +#. module: document_quick_access_folder_auto_classification +#: model:ir.model.fields,field_description:document_quick_access_folder_auto_classification.field_document_quick_access_missing__res_id +msgid "Res" +msgstr "" + +#. module: document_quick_access_folder_auto_classification +#: model:ir.model.fields,field_description:document_quick_access_folder_auto_classification.field_document_quick_access_missing__state +msgid "State" +msgstr "" + +#. module: document_quick_access_folder_auto_classification +#: model:ir.model,name:document_quick_access_folder_auto_classification.model_document_quick_access_missing_assign +msgid "document.quick.access.missing.assign" +msgstr "" diff --git a/document_quick_access_folder_auto_classification/models/__init__.py b/document_quick_access_folder_auto_classification/models/__init__.py new file mode 100644 index 0000000..a525671 --- /dev/null +++ b/document_quick_access_folder_auto_classification/models/__init__.py @@ -0,0 +1,3 @@ +from . import document_quick_access_rule +from . import document_quick_access_missing +from . import ir_attachment diff --git a/document_quick_access_folder_auto_classification/models/document_quick_access_missing.py b/document_quick_access_folder_auto_classification/models/document_quick_access_missing.py new file mode 100644 index 0000000..5830763 --- /dev/null +++ b/document_quick_access_folder_auto_classification/models/document_quick_access_missing.py @@ -0,0 +1,50 @@ +# Copyright 2019 Creu Blanca +# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). + +from flectra import fields, models + + +class DocumentQuickAccessMissing(models.Model): + _name = "document.quick.access.missing" + _description = "Missing Document" + + name = fields.Char(required=True, readonly=True) + data = fields.Binary(related="attachment_id.datas", readonly=True) + state = fields.Selection( + [("pending", "Pending"), ("processed", "Processed"), ("deleted", "Rejected")], + default="pending", + ) + model = fields.Char(readonly=True) + res_id = fields.Integer(readonly=True) + attachment_id = fields.Many2one("ir.attachment", readonly=True) + + def assign_model(self, model, res_id): + records = self.filtered(lambda r: r.state == "pending") + res = self.env[model].browse(res_id) + res.ensure_one() + for record in records: + record.attachment_id.write({"res_model": model, "res_id": res_id}) + records.write(self._processed_values(model, res_id)) + + def _processed_values(self, model, res_id): + return {"state": "processed", "model": model, "res_id": res_id} + + def _deleted_values(self): + return {"state": "deleted"} + + def access_resource(self): + self.ensure_one() + if not self.model: + return {} + record = self.env[self.model].browse(self.res_id).exists() + if not record: + return {} + return { + "type": "ir.actions.act_window", + "res_model": record._name, + "views": [[record.get_formview_id(), "form"]], + "res_id": record.id, + } + + def reject_assign_document(self): + self.filtered(lambda r: r.state == "pending").write(self._deleted_values()) diff --git a/document_quick_access_folder_auto_classification/models/document_quick_access_rule.py b/document_quick_access_folder_auto_classification/models/document_quick_access_rule.py new file mode 100644 index 0000000..6fc2d75 --- /dev/null +++ b/document_quick_access_folder_auto_classification/models/document_quick_access_rule.py @@ -0,0 +1,153 @@ +# Copyright 2019 Creu Blanca +# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). +import base64 +import logging +import os +import shutil + +from flectra import api, models +from flectra.modules.registry import Registry + +try: + from flectra.addons.queue_job.job import job +except ImportError: + job = lambda *args, **kwargs: lambda func: func # noqa: E731 + +_logger = logging.getLogger(__name__) + + +class OCRException(Exception): + __slots__ = "name" + + def __init__(self, name): + self.name = name + + +class DocumentQuickAccessRule(models.Model): + _inherit = "document.quick.access.rule" + + @api.model + def cron_folder_auto_classification( + self, path=False, processing_path=False, limit=False + ): + if not path: + path = ( + self.env["ir.config_parameter"] + .sudo() + .get_param( + "document_quick_access_auto_classification.path", default=False + ) + ) + if not path: + return False + if not processing_path and not self.env.context.get("ignore_process_path"): + processing_path = ( + self.env["ir.config_parameter"] + .sudo() + .get_param( + "document_quick_access_auto_classification.process_path", + default=False, + ) + ) + elements = [ + os.path.join(path, f) + for f in os.listdir(path) + if os.path.isfile(os.path.join(path, f)) + ] + if limit: + elements = elements[:limit] + for element in elements: + obj = self + new_element = element + if processing_path: + new_cr = Registry(self.env.cr.dbname).cursor() + try: + if processing_path: + new_element = os.path.join( + processing_path, os.path.basename(element) + ) + shutil.copy(element, new_element) + obj = ( + api.Environment(new_cr, self.env.uid, self.env.context)[ + self._name + ] + .browse() + .with_delay(**self._delay_vals()) + ) + obj._process_document(new_element) + if processing_path: + new_cr.commit() + except Exception: + if processing_path: + os.unlink(new_element) + new_cr.rollback() + raise + finally: + if processing_path: + new_cr.close() + if processing_path: + os.unlink(element) + return True + + @api.model + def _delay_vals(self): + return {} + + @api.model + def process_document(self, filename, datas): + attachment = self.env["ir.attachment"].create( + self._get_attachment_vals(filename, datas) + ) + return attachment._process_quick_access_rules() + + @api.model + @job(default_channel="root.document_quick_access_classification") + def _process_document(self, element): + try: + filename = os.path.basename(element) + datas = base64.b64encode(open(element, "rb").read()) + results = self.process_document(filename, datas) + return self._postprocess_document(element, results) + except OCRException: + _logger.warning("Element %s was corrupted" % element) + os.unlink(element) + + @api.model + def _postprocess_document(self, path, results): + filename = os.path.basename(path) + if any(result.res_id for result in results): + new_path = ( + self.env["ir.config_parameter"] + .sudo() + .get_param( + "document_quick_access_auto_classification.ok_path", default=False + ) + ) + else: + new_path = ( + self.env["ir.config_parameter"] + .sudo() + .get_param( + "document_quick_access_auto_classification.failure_path", + default=False, + ) + ) + self.env["document.quick.access.missing"].create( + {"name": filename, "attachment_id": results.id} + ) + if new_path: + shutil.copy(path, os.path.join(new_path, filename)) + os.unlink(path) + return bool(results) + + def _get_attachment_vals(self, filename, datas): + return {"name": filename, "datas": datas} + + @api.model + def read_code(self, code): + try: + return super().read_code(code) + except Exception: + if self.env.context.get("no_raise_document_access", False): + return False + raise diff --git a/document_quick_access_folder_auto_classification/models/ir_attachment.py b/document_quick_access_folder_auto_classification/models/ir_attachment.py new file mode 100644 index 0000000..19f88da --- /dev/null +++ b/document_quick_access_folder_auto_classification/models/ir_attachment.py @@ -0,0 +1,76 @@ +# Copyright 2019 Creu Blanca +# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). + +import base64 +import logging +import traceback +from io import StringIO + +from flectra import api, models + +from .document_quick_access_rule import OCRException + +_logger = logging.getLogger(__name__) + +try: + from pyzbar.pyzbar import ZBarSymbol, decode +except (ImportError, IOError) as err: + _logger.warning(err) +try: + import pdf2image + from pdf2image.exceptions import ( + PDFInfoNotInstalledError, + PDFPageCountError, + PDFSyntaxError, + ) +except (ImportError, IOError) as err: + _logger.warning(err) + + +class IrAttachment(models.Model): + _inherit = "ir.attachment" + + def _search_document_pdf(self): + self.ensure_one() + records = [] + try: + images = pdf2image.convert_from_bytes(base64.b64decode(self.datas)) + except (PDFInfoNotInstalledError, PDFPageCountError, PDFSyntaxError) as e: + buff = StringIO() + traceback.print_exc(file=buff) + _logger.warning(buff.getvalue()) + raise OCRException(str(e)) + for im in images: + records += self._search_pil_image(im) + return records + + @api.model + def _search_pil_image(self, image): + results = decode(image, symbols=[ZBarSymbol.QRCODE]) + records = [] + rule_obj = self.env["document.quick.access.rule"] + for result in results: + record = rule_obj.with_context(no_raise_document_access=True).read_code( + result.data.decode("utf-8") + ) + if record and record not in records: + records += record + return records + + def _search_document(self): + if self.mimetype == "application/pdf": + return self._search_document_pdf() + return [] + + def _process_quick_access_rules(self): + self.ensure_one() + results = self.env["ir.attachment"] + records = self._search_document() + for record in records: + if not results: + result = self + result.write({"res_id": record.id, "res_model": record._name}) + else: + result = self.copy({"res_id": record.id, "res_model": record._name}) + results |= result + return results or self diff --git a/document_quick_access_folder_auto_classification/security/ir.model.access.csv b/document_quick_access_folder_auto_classification/security/ir.model.access.csv new file mode 100644 index 0000000..ad4eb4b --- /dev/null +++ b/document_quick_access_folder_auto_classification/security/ir.model.access.csv @@ -0,0 +1,3 @@ +id,name,model_id:id,group_id:id,perm_read,perm_write,perm_create,perm_unlink +access_document_quick_access_missing,access_document_quick_access_missing,model_document_quick_access_missing,group_missing_document,1,1,1,0 +access_document_quick_access_missing_assign,access_document_quick_access_missing_assign,model_document_quick_access_missing_assign,group_missing_document,1,1,1,0 diff --git a/document_quick_access_folder_auto_classification/security/security.xml b/document_quick_access_folder_auto_classification/security/security.xml new file mode 100644 index 0000000..2efff70 --- /dev/null +++ b/document_quick_access_folder_auto_classification/security/security.xml @@ -0,0 +1,16 @@ + + + + Missing Documents + + + Assigner + + + + + + diff --git a/document_quick_access_folder_auto_classification/static/description/icon.png b/document_quick_access_folder_auto_classification/static/description/icon.png new file mode 100644 index 0000000000000000000000000000000000000000..4426a8228250d68e6f033e2274b692405c5f43cf GIT binary patch literal 7280 zcmV-$9FOCPP)v8yXrBgl1o5RZLJJVvJ_y zCOV26na69QPMqi@k89$i;}V^W8OLZQ&P-;!@g^f=fTmR_pPnLnCFXy~Q7tLi=Hyx-6B@I2C0UG;kqz8p@St~ScjX;-W&Nhmnq4}$Y# z%(OrnXQY0T%Cmhe06<5AgOWKANSnMs>t*y>V_Glm`j>O6vwbAf)jL*QwR&QZ@ox=` zt`uPh09(>VdfAtGV%zg)zu47J>NNIMm#sK8NGAR|2(&TQcX( z&hFS@?1x>x@@g6VgE*20fUxov1dk1>=ymtIPoCM_-ksWsePD)NvFcGtx3&3rn;!sx z!ZK}s9QAr2bIG>n&)(bKXSETSVOOmB-;%z5%*Q18BJcnZCau9gdWL;{CfRh}jz#l! zx4q{H=irB3zWPTx8u~y|=Ex614*=oPdLVwZ(UTMDqGdzA`cCh*_dG84!>@e(N}1r+ zmY*H>004l{YCSObCF!h0N#ozPy~okhIK!@feTXt!SG~B;|;AJ@g&Lj zgWFsFJ7a4Z03fF_@}=ALK;TJ|ciI)JN~GX&LJt7(Vgi5o(BH58f+Tqf1?NjD=c*e3 zh#Oy?uPY_V^Ml|#&eH=xJOw8Bsw8x;ZV-dJJ}0C5$V1L?Za zo{?W^dkO#`fBaN1-jhr(+d}{V`QsaZgeL`jLlOXpF)tmI5_$lLI}>=s9snFb>;b?5 z#2x?~K;b?5#2x?~K;b?5#2x?~K;b?5#2x?~K;b?5#2x?~K;b?5#2x?~K;b?5#2x?~KOBQ!yX_$Wfc){4*qM~^KbADZ_88=cG17ptA`L80DU~#~=fq0g z!HhoHbvWzK8+mGp`jjLjNrxJJRqtz3{h@TO=K)9gCX-Go2-eAHzU?u{t+OVU>+16d zYu=0s4Jb?5o)b&2yt7BwKe9fn&uOTs)l8fAVbC2a3NjtuHwq`&&+IDPSq3foiAM*YSQRQvu~HP_FQbbRc`4DGEkLwoDG zKOCz6wRD>vd+rmZGh8T#-0=c=O}0lMHztqlqooheAoL;B8hS~}96r?U{fbkb{_N7> zT6p&qm6s+9H4hHpi>hK`a7D3x{=LZ>Tv2R$3fidO_~Fsechxyl`f2g~Q`NsOr{Itq z#6AYn2kZ4W*9|80A=DE3-*xMACy(f(U*0=K6$BqSKec$5knmcE-?KwC`{l*VeyKbqJ{?{WPF_KCo(@*lMBxSOG%+W)8Ytg+^ zb@hYqsiu}|Dv&*n>?5f8K)tGe`%7gGEY!GBo0LlNcXn7Dd)3Wn0!fFYV26}hEd`%; z>#@h4)?3d#Fpbw{&@IG1Vww-stNPU+%RjVO3U+Dm;K8;h;fRxm{$#p;{ru=5C0cy{ zRDzGJ5&H;f3H=lD8-6Xxmn4;xl-L~wNmBhsT@8KDjXJeNzj|nzPOI!ykmo}@5c`N| zId!vGe#0xar=X4ck3LZC`oe_1)oGQz^!x);HEa;UN7oSh2xzXaQ_btI%0IkZtw;0- z2OFVpHMFvqo_k=LhMz+4(K%uta?SO1s#&>QnZsM8V4LkZI7a&50c)XeHFRLHp1psX zs!ri_9y&(sL+ohi8yY14W7~7kMst0g?Fo{O1pk4l8ZnsQqkY6aq>c-{Bn8!W2O-pk z3@Fx;2d8Q5X}xVvK}Zq%5NfWgRrTwyeinL3(m`u`5Dk_6iuCOLQ#EcF!N-Y+eaJM| z)v9{sZ{;_({RS4zR`wuT29_6T@qJS@epspPDF_*2A0o~B+Y3F=bpy+bwCKL6nlPN; z<1@rQB%1fvs(KZnM{W!(PifJ8Q#G-Q;G+ex4*^1td>Bxc(sK_?)6~&@ZBIc65PQoA zJ@To%G^uC)e2S(KeCH8+iwHdmp*8r^#}Is%5qnDrJqoGpNbqNjCHSr)_7)I&*wD9k zQvZC<6wMr4W_t=OAoc~;w7*u>E0+^`Skbq4Qop=!ie^vlXL||?jBjyNK+XGWRkL!r z{HADsTezt+Z$8|C}<--WZXvQl&B&efPPV{A`}gx<|1LhK8qx%G%X;-O!=cC9YH_+o9@vc>k4Fb;lidXzg0NZ#f(#rM(jRr@K$r*__gG z0F~If|W|JHWP1v7gxKeRE1^%N61FF_Fyq?2DVgLS ztGSZ!j2^pryuLEK()JYO0I}~OS3)mIV@6l1xHtqcHSNE11DNbnN%R6k(L6$g;lO>l!4;Ul;#r0$KKQ9_$dkV5d?6W}VftKJubln(z{mTSD zN{D?I5qjV=#z^1)#u#05A;FIdV&4T#wR;IY(1tP6L)VYt&C?=+*mt5O^eYHGa1x%8 z{^r}`HJ~hIdkQ*1>^nf{fzI{qoz!>c54Sx7ognt@AoM`jT{&;Cic{ny%=o`^5`-Se zPHC@%X7jylLyg$CLFj?*88@uA?Fr}rUqO3}roDSqvwDU6=4RVdfXErtugLZUbburK zBM3dvGew-U4>kVph|mLwKj%;5H16H4-K$?C^jTQ5W{sYC<{53-vc>ikNm5x^ndZ%# zr>}kOYcj^zp3|ux{NM-r+0TAvdq(z5vEs#OYR_H?CYVqR5dimv-ZO@3eVDkwd@=_`F88OPj7-YlA*f;Lot(sMY zK3khMZBk85jqMp7TD^L8!Jf;Dz$v4g3#yO%sh3Kr^6W3DsDFi}LFg*yV&5A2AWi7A zb@1Rp+Y>rf$c+OBmKN-}LL)dNspZ>~5&CFxD)xjPxioB8|IY6eJHDh$OX$xzkI+Ym zGqG>nL+FuPLx=R!#0i6K&nUQ~q3`G7Uv|;u#ML;Bdv>d4HKFgh63Lrs>A3?*wUWO@ zQpVDT6J2%1Og-?>zn$ckGK;@f`C}5ED$kxr=p!ihu_yF7WJ;yPY`Yu0JyQB#B^|Q6 z0v?!D*B1%KW`A@uPO%h(h8 z{1`oIpeif-*q$M&SG%{&o^9vU$@lO3ANq&CyIMs>2`kT^FD;>;OXy=DcCjb)`Qv#; zKmFUQl}d#(Xjfl-wJyByLTk@| zit8;uf5$2-`{>$hK4*JILH**z9lCGxM%y#cj#$LLCG;y4q|>&i06-{3{=_1o2Y}8+ zI`)Jf0J_jg1gdPC07pd42dI0F2$i$w|13>phBKCwH0D30$ zUsTn&yGAu{yhi8&pa(*IWKZY;AU8rAdqNKYxf9CMI4z-Hp&%WtcM1f6unOIgJ)sAH z+zVCg2|WPhM`%vtG*s`>?l)gokRkK{kZYkhvM2NakYCngPv`+4|E$KI&;vkWSUYFm zP`y*T-&{%P0iXb^9N80k04S`2$DYswK;acM_Jke)>?m052|WPVQ;^sbdH}F1?^okA z?Aoc_ZxQ;qTC--2UVH5|?cBLjzVF+fFf>7|!+&N=50`Vji$lTUQ{ z<(KQ>haa{*1tF7{*c1Br+OlPfuDtR}9X@>6_7t=u2m;-6&pleUY?Y&@G6jF2%lK=cg^_=m|X#LdNz0L_nwK>CV+>t$@N4Ew0rS$VBzs)~G5|>^AHXV&Up-0aI zk{a8&jjy%_Y)eYg;ZL_~&)cgBJpja1vTox?qv|)jN9X|{#ytPvfeJzo0P&X7Z#WJB z2q$6>01hDb0N?;(4*(7z_5k1jVh;cgAoc*@0AddS4j}db-~eI|01hDb0N?;(4*(7z z_5k1jVh;cgIO#VW2Xbk}iWTyC8||(!!zI)Agb(l9RcB!g;)K{E?-njxsD%p`+MW>& zi9eLQk+xSLhB%D_01hDb0N?;(4*(7z_5k1jVh;cg;A$LnS#fbkzg-fNsVvx**fPaA zeYoP{+&&(ni`b*fhMZb1&olD<;KUnEUnzNI;YXoE!-o&IJpm!XX&iJ}d3lM>npI_c z2D+%Eq(pP(%&|QKAwlesl{;>`!1e@m(aksCtkTj_+cOXn#2#6hf9Z5x^T%h|o`FtG znlwrG-g~d@83++#kE}iQH_nkU#`YAP#JqX)w0!w;m6es*o`Mh|_Q+Z)mC)Zm zah2Y9{SJNO+Rtm$$bstBD`k6@vy#b#h71{^OD?%YFTC)Ae)F5(sIrnPqi{T~#zD88 zHLHpjY=Ma2$Q}S3K;b?5#2x?~K;b?5#2x?~K;b?5#2x?~khDDjh`JyM^zp|ZYxCyKwx>vvh7KL7apT4*kx1B{f)FA0 zKo5NM(MMXaV1eF!_g&jljx%=bSUvO1GnzGPmhCAB2~Ohx-IPwJHGls6(1l)V`Ag{1 zOD|PjU7hVI2nk{jbkqCqzpr)c*4duXuI<~mYx(l!wr3zDh&|9vTeohtJ)u)uwrsII z0U<%`fo=+d!1jbrMPVZfgV+Or1GpLo=r&JMv8CtENJ?9JZbT8W2fE9vl2SKVdh$RD zY9;?o$=_sY1EPe}I6x#B$@G^JUzSXj?JI$EfQ1Py~*?VBaRmQP5`=T z^yq=MCmhkg-CM?u8&|*`2s2_2bkl_Kr|7&djI}*O(#ijYF=^5y&6zW&z*`Vj#2)A- zV~n1C<~m(|*$kyp;d#@sL?WRJF1SETmo8PWUcGG3K}c{l4$uRG2KCkRi?3H>V_MsH z)LL2*NWpzae|E|#r>L~F)Y2A&6|o0$ptv}xQ6p`h!>_dX+=v2B;{bpIh&=!}fY<|o z1Bg8UIDps#fCGp<062iy1AqgFJped>*aLtAh&=!}fY<|o1Bg8UIDps#fCGp<062iy zM_dpDwkH6H0Ae3;wY9dsVFqx#+5^qDC!hnwKH_%l*kOADAW7P_ugUfVbb#1L+=dMs zw0rk%+cN;Y{h#}7Pe2EVeZ*xl87*D9)b%*;wY|lUkhhRWdI<1Q@zE}$vE-cUB-QmKyrbpV`95Cp2OuGZ$woAu&L?`Y|Z zNo6XBt9;T_+tZK*VjmUWNXcK*<-0dFHfq_jWm>juSsq8hIf?UCHsMl2A2BB57jYUV zD$J>p8Ekt6TxLpDHsNAIA4P}vO(FJCl9(;Y*j@ogl?nM2b&nSfI{ zQDKHiiO<_!0S6WJ|GWmyzTWl>bdw1(BfX@j3fn`F1#hO5_?+z(a7a=Avo+}azpy<6 zJ>mO9lYvo*?H$OHccx@2rOfM6z*`(6UwW(LwD}r1`v%)X&_jWOzDXm)^>|Tas-)yF z$=@UeA4~oYNxTsidaAhPLI7{1$|n2~=jda?1VQhlJYMmOE>H5tN*XIABq<{)ZFdqP zEU6>EkyJk6bd^n*WOoj7$?)QAtR&R>hZX29LLX0DdI{jD@(Gg(eM}L10FqimKiT#S z;cCSdN=R_E#R>7iKnYz)RC_?WRVh=co(7T7&1CAl|ZsMFh z;E?i(Q&cv7qU{;5fFpar5rp1t#2#<}p$D-CVvf*5BKAP65qh*D_CQP#dK`<`12IJC z(H5}>VusM;WVp^Ah>`M1Q&cvN(BniL*#j{_=+O~k55xeWM`wsV5OIVaT|w-D2qX09 zDq;^r6ro2ph&>QNgdW)<_CUlCdUOZZ*#i+$K544T#!aw20}({*fk-gwH)Xo|jvi}! z2qKEpI6&wTdh{Hz2SSa|BR7aW5L$#DxkK!MP$KlmEn*LZ4xvZx5qlt12tD$HOD}=Y zFzP>by84VF^vFGq?14}q^vEw_4_HU&k$=P14WUQj5PQH1LXW~C_CUcA zdK4b92MUVN!w#;q2MWfh|I``kGir?OA#e~!_CP@pde}wmfxIL1u#eaSc}3_E4xFEC%lF-9Gj_iTFAoK_qVh`jTp-1=-dmyI>J;I6D135$J5njAN3*>}R|7kPT zXXI$xLx7Xw$R6l1LXYqx_CSvidPD=U2fB^WBRYsZ&@F@>(c;MjO}0k>(L(4EHNKLb zXZG2i0Yru|s+fMJN~=cNUIJvn_q|kc@*UeVfM_u4KXoRdNAxr|9`Jf4((ffoN^DO7 z!p#^}%$&uk8$?g0QOczEczx>kZ|YUi&-NT3yo^!Bj5Ad_e1z>KK=vBzC8H0$_3IyK zDk<;1%k~~1l#Efuj9Drj&Z!$j)SX9ML1{nh#5jbuvNl zswYXtPy9>y@Ikg`0pYsBlyCm%oM+5|2yAyj?=N zsn3%M&)+(5+)$ZB!q!B<9zu^e2z+VpMk&)INeg$ZyyXMwnAq=l_r^nk32rGW_BC+A z2zfD`P*8*(Q5X19{Z6TRLrd@_1=3$_U46%*WAA28_PImOdvsu;$-FA* zbV>3vM)iA}ba3ZxWf~6Wdpb}U#%RFIv($T7mF*=!_A*V+0M7 zL^8p#cRy+DC29D%5BCrJqW>#t&ascu+?-J3p^VZE&B`>Tr66eUA%IXT89Ye62M@MA z1L&F{ko+bo-6%C3X!(Mvws$e+huc=(dUxBQAiz0000< KMNUMnLSTYw0`ztO literal 0 KcmV+b0RR6000031 diff --git a/document_quick_access_folder_auto_classification/static/description/icon.svg b/document_quick_access_folder_auto_classification/static/description/icon.svg new file mode 100644 index 0000000..eedade1 --- /dev/null +++ b/document_quick_access_folder_auto_classification/static/description/icon.svg @@ -0,0 +1,178 @@ + + + + + + + + + + + + + + + + + + + + + + image/svg+xml + + + + + + + + + + + + + + + + + + + + diff --git a/document_quick_access_folder_auto_classification/static/description/index.html b/document_quick_access_folder_auto_classification/static/description/index.html new file mode 100644 index 0000000..31041f8 --- /dev/null +++ b/document_quick_access_folder_auto_classification/static/description/index.html @@ -0,0 +1,446 @@ + + + + + + +Document Quick Access Folder Auto Classification + + + +
+

Document Quick Access Folder Auto Classification

+ + +

Beta License: AGPL-3 OCA/server-ux Translate me on Weblate Try me on Runbot

+

This module creates a job that scans all files from a folder and attaches them +to its record. The record is found using the document quick access rules.

+

Table of contents

+ +
+

Configuration

+
+
# Create 3 folders on your odoo system. Odoo will use them for Preprocessing,
+
Store processed (not required), Store failed (not required)
+
# Access your system parameters and edit the parameters in order to match your
+
folders
+
+
+
+

Usage

+

Users can drop the files on the folder (You may be able to configure your +scanner to send the files directly). +Then, they will be able to see the files attached to the expected record. +If two records matches the rules, it will be attached to both (two QRs).

+

If the file matches no rules, it will be attached as a non processed documents. +Users should be able to assign which record to use

+

# Access Documents to process +# Select a non processed document +# Assign or reject the document. When assigning it, the record will be asked.

+
+
+

Bug Tracker

+

Bugs are tracked on GitHub Issues. +In case of trouble, please check there if your issue has already been reported. +If you spotted it first, help us smashing it by providing a detailed and welcomed +feedback.

+

Do not contact contributors directly about support or help with technical issues.

+
+
+

Credits

+
+

Authors

+
    +
  • Creu Blanca
  • +
+
+
+

Contributors

+ +
+
+

Maintainers

+

This module is maintained by the OCA.

+Odoo Community Association +

OCA, or the Odoo Community Association, is a nonprofit organization whose +mission is to support the collaborative development of Odoo features and +promote its widespread use.

+

Current maintainer:

+

etobella

+

This module is part of the OCA/server-ux project on GitHub.

+

You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.

+
+
+
+ + diff --git a/document_quick_access_folder_auto_classification/tests/__init__.py b/document_quick_access_folder_auto_classification/tests/__init__.py new file mode 100644 index 0000000..9248511 --- /dev/null +++ b/document_quick_access_folder_auto_classification/tests/__init__.py @@ -0,0 +1 @@ +from . import test_document_quick_access_auto_classification diff --git a/document_quick_access_folder_auto_classification/tests/test_document_quick_access_auto_classification.py b/document_quick_access_folder_auto_classification/tests/test_document_quick_access_auto_classification.py new file mode 100644 index 0000000..46ecf74 --- /dev/null +++ b/document_quick_access_folder_auto_classification/tests/test_document_quick_access_auto_classification.py @@ -0,0 +1,260 @@ +# Copyright 2019 Creu Blanca +# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). + +import os +from tempfile import TemporaryDirectory +from unittest.mock import patch + +from flectra import tools +from flectra.tests.common import TransactionCase +from flectra.tools import mute_logger + + +class Encoded: + __slots__ = "data" + + def __init__(self, data): + self.data = data + + +class TestDocumentQuickAccessClassification(TransactionCase): + def setUp(self): + super().setUp() + self.tmpdir = TemporaryDirectory() + self.ok_tmpdir = TemporaryDirectory() + self.no_ok_tmpdir = TemporaryDirectory() + self.env["ir.config_parameter"].set_param( + "document_quick_access_auto_classification.path", self.tmpdir.name + ) + self.env["ir.config_parameter"].set_param( + "document_quick_access_auto_classification.ok_path", self.ok_tmpdir.name + ) + self.env["ir.config_parameter"].set_param( + "document_quick_access_auto_classification.failure_path", + self.no_ok_tmpdir.name, + ) + self.model_id = self.env.ref("base.model_res_partner") + + def tearDown(self): + super().tearDown() + self.tmpdir.cleanup() + self.ok_tmpdir.cleanup() + self.no_ok_tmpdir.cleanup() + + def test_ok_pdf_multi(self): + partners = self.env["res.partner"].create({"name": "Partner 1"}) + partners |= self.env["res.partner"].create({"name": "Partner 2"}) + partners |= self.env["res.partner"].create({"name": "Partner 3"}) + partners |= self.env["res.partner"].create({"name": "Partner 4"}) + self.test_ok_pdf(partners) + + def test_ok_pdf_multi_limit(self): + """Limit the number of files to process""" + partner = self.env["res.partner"].create({"name": "Partner 1"}) + self.env["document.quick.access.rule"].create( + { + "model_id": self.model_id.id, + "name": "PARTNER", + "priority": 1, + "barcode_format": "standard", + } + ) + file = tools.file_open( + "test_file.pdf", + mode="rb", + subdir="addons/document_quick_access_folder_auto_classification" "/tests", + ).read() + self.env["document.quick.access.rule"].create( + { + "model_id": self.model_id.id, + "name": "PARTNER", + "priority": 1, + "barcode_format": "standard", + } + ) + with open(os.path.join(self.tmpdir.name, "test_file.pdf"), "wb") as f: + f.write(file) + with open(os.path.join(self.tmpdir.name, "test_file_2.pdf"), "wb") as f: + f.write(file) + code = [Encoded(partner.get_quick_access_code().encode("utf-8"))] + with patch( + "flectra.addons.document_quick_access_folder_auto_classification." + "models.ir_attachment.decode" + ) as ptch: + ptch.return_value = code + self.env["document.quick.access.rule"].with_context( + ignore_process_path=True + ).cron_folder_auto_classification(limit=1) + ptch.assert_called_once() + attachments = self.env["ir.attachment"].search( + [("res_model", "=", partner._name), ("res_id", "=", partner.id)] + ) + self.assertTrue(attachments) + self.assertEqual(1, len(attachments)) + self.assertTrue( + os.path.exists(os.path.join(self.ok_tmpdir.name, "test_file.pdf")) + ) + self.assertFalse( + os.path.exists(os.path.join(self.ok_tmpdir.name, "test_file_2.pdf")) + ) + self.assertFalse( + os.path.exists(os.path.join(self.tmpdir.name, "test_file.pdf")) + ) + self.assertTrue( + os.path.exists(os.path.join(self.tmpdir.name, "test_file_2.pdf")) + ) + + def test_ok_pdf(self, partners=False): + """Assign automatically PDFs to their assigned place""" + if not partners: + partners = self.env["res.partner"].create({"name": "Partner"}) + file = tools.file_open( + "test_file.pdf", + mode="rb", + subdir="addons/document_quick_access_folder_auto_classification" "/tests", + ).read() + + self.env["document.quick.access.rule"].create( + { + "model_id": self.model_id.id, + "name": "PARTNER", + "priority": 1, + "barcode_format": "standard", + } + ) + with open(os.path.join(self.tmpdir.name, "test_file.pdf"), "wb") as f: + f.write(file) + code = [ + Encoded(partner.get_quick_access_code().encode("utf-8")) + for partner in partners + ] + with patch( + "flectra.addons.document_quick_access_folder_auto_classification." + "models.ir_attachment.decode" + ) as ptch: + ptch.return_value = code + self.env["document.quick.access.rule"].with_context( + ignore_process_path=True + ).cron_folder_auto_classification() + ptch.assert_called() + self.assertTrue(partners) + for partner in partners: + self.assertTrue( + self.env["ir.attachment"].search( + [("res_model", "=", partner._name), ("res_id", "=", partner.id)] + ) + ) + self.assertTrue( + os.path.exists(os.path.join(self.ok_tmpdir.name, "test_file.pdf")) + ) + + def test_no_ok_assign(self): + """Assign failed files""" + file = tools.file_open( + "test_file.pdf", + mode="rb", + subdir="addons/document_quick_access_folder_auto_classification/" "tests", + ).read() + with open(os.path.join(self.tmpdir.name, "test_file.pdf"), "wb") as f: + f.write(file) + self.env["document.quick.access.rule"].with_context( + ignore_process_path=True + ).cron_folder_auto_classification() + self.assertTrue( + os.path.exists(os.path.join(self.no_ok_tmpdir.name, "test_file.pdf")) + ) + partner = self.env["res.partner"].create({"name": "Partner"}) + missing = self.env["document.quick.access.missing"].search( + [("name", "=", "test_file.pdf"), ("state", "=", "pending")] + ) + self.assertTrue(missing) + action = missing.access_resource() + self.assertFalse(action.keys()) + self.env["document.quick.access.rule"].create( + { + "model_id": self.model_id.id, + "name": "PARTNER", + "priority": 1, + "barcode_format": "standard", + } + ) + wizard = self.env["document.quick.access.missing.assign"].create( + { + "object_id": "{},{}".format(partner._name, partner.id), + "missing_document_id": missing.id, + } + ) + wizard.doit() + self.assertEqual(missing.state, "processed") + action = missing.access_resource() + self.assertEqual(partner._name, action["res_model"]) + self.assertEqual(partner.id, action["res_id"]) + + def test_failure(self): + """We will check that if a major exception raises all is handled""" + file = tools.file_open( + "test_file.pdf", + mode="rb", + subdir="addons/document_quick_access_folder_auto_classification/" "tests", + ).read() + with open(os.path.join(self.tmpdir.name, "test_file.pdf"), "wb") as f: + f.write(file) + with self.assertRaises(TypeError): + with patch( + "flectra.addons.document_quick_access_folder_auto_classification." + "models.ir_attachment.decode" + ) as ptch: + ptch.return_value = 1 + self.env["document.quick.access.rule"].with_context( + ignore_process_path=True + ).cron_folder_auto_classification() + + def test_no_ok_reject(self): + """We will check that we can manage and reject failed files""" + file = tools.file_open( + "test_file.pdf", + mode="rb", + subdir="addons/document_quick_access_folder_auto_classification/" "tests", + ).read() + with open(os.path.join(self.tmpdir.name, "test_file.pdf"), "wb") as f: + f.write(file) + self.env["document.quick.access.rule"].with_context( + ignore_process_path=True + ).cron_folder_auto_classification() + self.assertTrue( + os.path.exists(os.path.join(self.no_ok_tmpdir.name, "test_file.pdf")) + ) + missing = self.env["document.quick.access.missing"].search( + [("name", "=", "test_file.pdf"), ("state", "=", "pending")] + ) + self.assertTrue(missing) + missing.reject_assign_document() + self.assertEqual(missing.state, "deleted") + + def test_corrupted(self): + """We will check that corrupted files are removed""" + file = tools.file_open( + "test_file.pdf", + mode="rb", + subdir="addons/document_quick_access_folder_auto_classification/" "tests", + ).read() + with open(os.path.join(self.tmpdir.name, "test_file.pdf"), "wb") as f: + f.write(file[: int(len(file) / 2)]) + with mute_logger( + "flectra.addons.document_quick_access_folder_auto_classification." + "models.document_quick_access_rule", + "flectra.addons.document_quick_access_folder_auto_classification." + "models.ir_attachment", + ): + self.env["document.quick.access.rule"].with_context( + ignore_process_path=True + ).cron_folder_auto_classification() + self.assertFalse( + os.path.exists(os.path.join(self.ok_tmpdir.name, "test_file.pdf")) + ) + self.assertFalse( + os.path.exists(os.path.join(self.no_ok_tmpdir.name, "test_file.pdf")) + ) + self.assertFalse( + os.path.exists(os.path.join(self.tmpdir.name, "test_file.pdf")) + ) diff --git a/document_quick_access_folder_auto_classification/tests/test_file.pdf b/document_quick_access_folder_auto_classification/tests/test_file.pdf new file mode 100644 index 0000000000000000000000000000000000000000..95b437c7b76206f2207cdf439da4bf5d8e2ad943 GIT binary patch literal 1138 zcmV-&1daP8P((&8F)lO;CBvk{yu-G`p9(S{Fd%PYY6?6&FHB`_XLM*FGaxV^QZGhn zY;g*>i61ps-22NMcqZe(+Ga%Ev{3T19&Z(?c+3Ns)uAa7!73N$bZWo~3|VrmKs zH6Sn`Z(?c+JUj|MJ_==SWN%_>3JNwLFd%PYY6?6&FGg=}bRab#Fd$M2FHmxCV^d{x zTQ5*VMlV!lcywI~K0XR%Ze(v_Y6=Q5ATS_rVrmLJJTFvvaAhx0VP|D8P+@XqZge0t zATS_OFH&W5Z*_8GWpf}lATS_OFHL1+X<AT>EPAUHHJAYBSCOKD_t zTOctYFd$MOT?#KlZ*^{TATd5Z3T19&Z(?c+3O67yAa7!73Oqb7RC#b^FGFE;VQg<_ zFHm7;Wpf}jATS_O3NKG^Wo|)ZbZKvHTQMLoAW|SNSXo*iZgp&IAZ~SRY#=aQ3NK7y zZf7WEb1g+vDGEM53T19&Z(?c+3OFDzAa7!73Oqb7Lvm$dbZ>GzMny(OFfcVYFfcbV zFfcYbFfcbXFfcYXFfcbVJ_;{Ta&KgHV`XwYMny(OFfcSjFfcYbFfcYUFfcbVFfcYX zFfcSmFfcYYFfcYYFfcYbFfcYVFfcYXFfcMOFfcPVFfcMjFfcPPJ_;{Ga%Ew3X>V>s zVRU6EL^?7sF*z_eGcYhYF*7kUD=;!AFfb=6K0XR%Ze(v_Y6=Q?a%E-;Fd#V!FfcGM zFfcGMFfbrCH8nFeAZ8#6FfcGMFfcGOGBhACFfcGMAZ{QEFfcGMFfcGMF*zVGFfcGM zAZ{QEFfcGMFfcGNGcX`9FfcGMAZ{QEFfcGMFfcGPIWizHFfcGMAZ{QEFfcGMFfcGN zG&vwJFfcGMAZ{QEFfcGMFfcGNH!&bEFfcGMAZ{QEFfcGMFfcGQIWQnFFfcGMAZ{QE zFfcGMFfcGRI5r?KFfcGMAZ{QEbaG*7Y-Mr^JUlN`X?kTKIWJOgZ*(9xATS_O3NJ}+ zW^W)kATS_O3NJ}SAX^|jGd3_mGBrdpLNG8eHZ?*uL^U}vI5{&kMlwc5I5{*nJ_ + + + + document.quick.access.missing.form (in document_quick_access_folder_auto_classification) + document.quick.access.missing + +
+
+
+ +

+ +

+ + + + + + +
+
+
+
+ + document.quick.access.missing.search (in document_quick_access_folder_auto_classification) + document.quick.access.missing + + + + + + + + + + + + document.quick.access.missing.tree (in document_quick_access_folder_auto_classification) + document.quick.access.missing + + + + + + + + + + Document Quick Access Missing + document.quick.access.missing + tree,form + [] + {'search_default_pending': 1} + + +
diff --git a/document_quick_access_folder_auto_classification/wizards/__init__.py b/document_quick_access_folder_auto_classification/wizards/__init__.py new file mode 100644 index 0000000..4d34fe7 --- /dev/null +++ b/document_quick_access_folder_auto_classification/wizards/__init__.py @@ -0,0 +1 @@ +from . import document_quick_access_missing_assign diff --git a/document_quick_access_folder_auto_classification/wizards/document_quick_access_missing_assign.py b/document_quick_access_folder_auto_classification/wizards/document_quick_access_missing_assign.py new file mode 100644 index 0000000..931568d --- /dev/null +++ b/document_quick_access_folder_auto_classification/wizards/document_quick_access_missing_assign.py @@ -0,0 +1,29 @@ +# Copyright 2019 Creu Blanca +# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). + +from flectra import api, fields, models + + +class DocumentQuickAccessMissingAssign(models.TransientModel): + _name = "document.quick.access.missing.assign" + _description = "document.quick.access.missing.assign" + + @api.model + def document_quick_access_models(self): + models = self.env["document.quick.access.rule"].search([]).mapped("model_id") + res = [] + for model in models: + res.append((model.model, model.name)) + return res + + object_id = fields.Reference( + selection=lambda r: r.document_quick_access_models(), required=True + ) + missing_document_id = fields.Many2one( + "document.quick.access.missing", required=True + ) + + def doit(self): + self.ensure_one() + self.missing_document_id.assign_model(self.object_id._name, self.object_id.id) + return True diff --git a/document_quick_access_folder_auto_classification/wizards/document_quick_access_missing_assign.xml b/document_quick_access_folder_auto_classification/wizards/document_quick_access_missing_assign.xml new file mode 100644 index 0000000..1967dea --- /dev/null +++ b/document_quick_access_folder_auto_classification/wizards/document_quick_access_missing_assign.xml @@ -0,0 +1,34 @@ + + + + + document.quick.access.missing.assign.form (in document_quick_access_folder_auto_classification) + document.quick.access.missing.assign + +
+ + + + +
+
+
+
+
+ + Document Quick Access Missing Assign + + document.quick.access.missing.assign + form + {} + new + +
From 493bd5fe5ad3a56787768ac4c4e43315673220e0 Mon Sep 17 00:00:00 2001 From: Flectra Community Bot Date: Sun, 24 Oct 2021 02:12:54 +0000 Subject: [PATCH 07/21] Automatic Update form OCA2FC Migrator --- README.md | 2 +- base_tier_validation_formula/__manifest__.py | 2 +- base_tier_validation_formula/models/tier_review.py | 5 ++++- 3 files changed, 6 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 5abe217..1603959 100644 --- a/README.md +++ b/README.md @@ -21,7 +21,7 @@ addon | version | summary [barcode_action](barcode_action/) | 2.0.1.0.0| Allows to use barcodes as a launcher [multi_step_wizard](multi_step_wizard/) | 2.0.1.0.0| Multi-Steps Wizards [base_technical_features](base_technical_features/) | 2.0.1.1.0| Access to technical features without activating debug mode -[base_tier_validation_formula](base_tier_validation_formula/) | 2.0.2.0.0| Formulas for Base tier validation +[base_tier_validation_formula](base_tier_validation_formula/) | 2.0.2.0.1| Formulas for Base tier validation [base_tier_validation](base_tier_validation/) | 2.0.2.5.1| Implement a validation process based on tiers. [base_search_custom_field_filter](base_search_custom_field_filter/) | 2.0.1.0.0| Add custom filters for fields via UI [base_revision](base_revision/) | 2.0.1.0.1| Keep track of revised document diff --git a/base_tier_validation_formula/__manifest__.py b/base_tier_validation_formula/__manifest__.py index c193eb9..f1cdfa2 100644 --- a/base_tier_validation_formula/__manifest__.py +++ b/base_tier_validation_formula/__manifest__.py @@ -5,7 +5,7 @@ "name": "Base Tier Validation Formula", "summary": """ Formulas for Base tier validation""", - "version": "2.0.2.0.0", + "version": "2.0.2.0.1", "license": "AGPL-3", "author": "Creu Blanca,Odoo Community Association (OCA)", "website": "https://gitlab.com/flectra-community/server-ux", diff --git a/base_tier_validation_formula/models/tier_review.py b/base_tier_validation_formula/models/tier_review.py index 3c2228b..4bb9050 100644 --- a/base_tier_validation_formula/models/tier_review.py +++ b/base_tier_validation_formula/models/tier_review.py @@ -29,7 +29,10 @@ class TierReview(models.Model): @api.depends("definition_id.reviewer_expression", "review_type", "model", "res_id") def _compute_python_reviewer_ids(self): - for rec in self.filtered(lambda x: x.review_type == "expression"): + for rec in self: + if rec.review_type != "expression": + rec.python_reviewer_ids = self.env["res.users"].browse() + continue record = rec.env[rec.model].browse(rec.res_id).exists() try: reviewer_ids = safe_eval( From fe51718db214894da4bea4bac651b30ff7bf069c Mon Sep 17 00:00:00 2001 From: Flectra Community Bot Date: Sun, 31 Oct 2021 03:13:00 +0000 Subject: [PATCH 08/21] Automatic Update form OCA2FC Migrator --- .gitlab-ci.yml | 75 +++++++++++++++++++++++++++++++++----------------- 1 file changed, 50 insertions(+), 25 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 6a39522..fd4a333 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -40,6 +40,7 @@ test_all_modules: - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/report-print-send.git ~/others/report-print-send" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/rest-framework.git ~/others/rest-framework" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/sale-workflow.git ~/others/sale-workflow" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/server-auth.git ~/others/server-auth" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/server-env.git ~/others/server-env" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/server-tools.git ~/others/server-tools" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/social.git ~/others/social" @@ -60,7 +61,7 @@ test_all_modules: - mv ${CI_PROJECT_DIR}/ci_data/filestore /opt/flectra/.local/share/filestore/test_all - chown -R flectra.flectra /opt/flectra/.local/share/filestore/test_all - su - flectra -c "/opt/flectra/flectra-bin - --addons-path ${CI_PROJECT_DIR},~/others/account-closing,~/others/account-invoicing,~/others/account-payment,~/others/bank-payment,~/others/brand,~/others/community-data-files,~/others/connector,~/others/edi,~/others/partner-contact,~/others/product-attribute,~/others/queue,~/others/report-print-send,~/others/rest-framework,~/others/sale-workflow,~/others/server-env,~/others/server-tools,~/others/social,~/others/stock-logistics-transport,~/others/stock-logistics-warehouse,~/others/stock-logistics-workflow,~/others/storage,~/others/web,~/others/wms + --addons-path ${CI_PROJECT_DIR},~/others/account-closing,~/others/account-invoicing,~/others/account-payment,~/others/bank-payment,~/others/brand,~/others/community-data-files,~/others/connector,~/others/edi,~/others/partner-contact,~/others/product-attribute,~/others/queue,~/others/report-print-send,~/others/rest-framework,~/others/sale-workflow,~/others/server-auth,~/others/server-env,~/others/server-tools,~/others/social,~/others/stock-logistics-transport,~/others/stock-logistics-warehouse,~/others/stock-logistics-workflow,~/others/storage,~/others/web,~/others/wms --db_host psql --db_port 5432 --db_user flectra @@ -122,6 +123,7 @@ test_module_base_cancel_confirm: - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/report-print-send.git ~/others/report-print-send" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/rest-framework.git ~/others/rest-framework" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/sale-workflow.git ~/others/sale-workflow" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/server-auth.git ~/others/server-auth" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/server-env.git ~/others/server-env" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/server-tools.git ~/others/server-tools" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/social.git ~/others/social" @@ -142,7 +144,7 @@ test_module_base_cancel_confirm: - mv ${CI_PROJECT_DIR}/ci_data/filestore /opt/flectra/.local/share/filestore/test_base_cancel_confirm - chown -R flectra.flectra /opt/flectra/.local/share/filestore/test_base_cancel_confirm - su - flectra -c "/opt/flectra/flectra-bin - --addons-path ${CI_PROJECT_DIR},~/others/account-closing,~/others/account-invoicing,~/others/account-payment,~/others/bank-payment,~/others/brand,~/others/community-data-files,~/others/connector,~/others/edi,~/others/partner-contact,~/others/product-attribute,~/others/queue,~/others/report-print-send,~/others/rest-framework,~/others/sale-workflow,~/others/server-env,~/others/server-tools,~/others/social,~/others/stock-logistics-transport,~/others/stock-logistics-warehouse,~/others/stock-logistics-workflow,~/others/storage,~/others/web,~/others/wms + --addons-path ${CI_PROJECT_DIR},~/others/account-closing,~/others/account-invoicing,~/others/account-payment,~/others/bank-payment,~/others/brand,~/others/community-data-files,~/others/connector,~/others/edi,~/others/partner-contact,~/others/product-attribute,~/others/queue,~/others/report-print-send,~/others/rest-framework,~/others/sale-workflow,~/others/server-auth,~/others/server-env,~/others/server-tools,~/others/social,~/others/stock-logistics-transport,~/others/stock-logistics-warehouse,~/others/stock-logistics-workflow,~/others/storage,~/others/web,~/others/wms --db_host psql --db_port 5432 --db_user flectra @@ -178,6 +180,7 @@ test_module_filter_multi_user: - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/report-print-send.git ~/others/report-print-send" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/rest-framework.git ~/others/rest-framework" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/sale-workflow.git ~/others/sale-workflow" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/server-auth.git ~/others/server-auth" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/server-env.git ~/others/server-env" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/server-tools.git ~/others/server-tools" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/social.git ~/others/social" @@ -198,7 +201,7 @@ test_module_filter_multi_user: - mv ${CI_PROJECT_DIR}/ci_data/filestore /opt/flectra/.local/share/filestore/test_filter_multi_user - chown -R flectra.flectra /opt/flectra/.local/share/filestore/test_filter_multi_user - su - flectra -c "/opt/flectra/flectra-bin - --addons-path ${CI_PROJECT_DIR},~/others/account-closing,~/others/account-invoicing,~/others/account-payment,~/others/bank-payment,~/others/brand,~/others/community-data-files,~/others/connector,~/others/edi,~/others/partner-contact,~/others/product-attribute,~/others/queue,~/others/report-print-send,~/others/rest-framework,~/others/sale-workflow,~/others/server-env,~/others/server-tools,~/others/social,~/others/stock-logistics-transport,~/others/stock-logistics-warehouse,~/others/stock-logistics-workflow,~/others/storage,~/others/web,~/others/wms + --addons-path ${CI_PROJECT_DIR},~/others/account-closing,~/others/account-invoicing,~/others/account-payment,~/others/bank-payment,~/others/brand,~/others/community-data-files,~/others/connector,~/others/edi,~/others/partner-contact,~/others/product-attribute,~/others/queue,~/others/report-print-send,~/others/rest-framework,~/others/sale-workflow,~/others/server-auth,~/others/server-env,~/others/server-tools,~/others/social,~/others/stock-logistics-transport,~/others/stock-logistics-warehouse,~/others/stock-logistics-workflow,~/others/storage,~/others/web,~/others/wms --db_host psql --db_port 5432 --db_user flectra @@ -234,6 +237,7 @@ test_module_default_multi_user: - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/report-print-send.git ~/others/report-print-send" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/rest-framework.git ~/others/rest-framework" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/sale-workflow.git ~/others/sale-workflow" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/server-auth.git ~/others/server-auth" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/server-env.git ~/others/server-env" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/server-tools.git ~/others/server-tools" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/social.git ~/others/social" @@ -254,7 +258,7 @@ test_module_default_multi_user: - mv ${CI_PROJECT_DIR}/ci_data/filestore /opt/flectra/.local/share/filestore/test_default_multi_user - chown -R flectra.flectra /opt/flectra/.local/share/filestore/test_default_multi_user - su - flectra -c "/opt/flectra/flectra-bin - --addons-path ${CI_PROJECT_DIR},~/others/account-closing,~/others/account-invoicing,~/others/account-payment,~/others/bank-payment,~/others/brand,~/others/community-data-files,~/others/connector,~/others/edi,~/others/partner-contact,~/others/product-attribute,~/others/queue,~/others/report-print-send,~/others/rest-framework,~/others/sale-workflow,~/others/server-env,~/others/server-tools,~/others/social,~/others/stock-logistics-transport,~/others/stock-logistics-warehouse,~/others/stock-logistics-workflow,~/others/storage,~/others/web,~/others/wms + --addons-path ${CI_PROJECT_DIR},~/others/account-closing,~/others/account-invoicing,~/others/account-payment,~/others/bank-payment,~/others/brand,~/others/community-data-files,~/others/connector,~/others/edi,~/others/partner-contact,~/others/product-attribute,~/others/queue,~/others/report-print-send,~/others/rest-framework,~/others/sale-workflow,~/others/server-auth,~/others/server-env,~/others/server-tools,~/others/social,~/others/stock-logistics-transport,~/others/stock-logistics-warehouse,~/others/stock-logistics-workflow,~/others/storage,~/others/web,~/others/wms --db_host psql --db_port 5432 --db_user flectra @@ -290,6 +294,7 @@ test_module_sequence_reset_period: - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/report-print-send.git ~/others/report-print-send" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/rest-framework.git ~/others/rest-framework" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/sale-workflow.git ~/others/sale-workflow" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/server-auth.git ~/others/server-auth" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/server-env.git ~/others/server-env" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/server-tools.git ~/others/server-tools" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/social.git ~/others/social" @@ -310,7 +315,7 @@ test_module_sequence_reset_period: - mv ${CI_PROJECT_DIR}/ci_data/filestore /opt/flectra/.local/share/filestore/test_sequence_reset_period - chown -R flectra.flectra /opt/flectra/.local/share/filestore/test_sequence_reset_period - su - flectra -c "/opt/flectra/flectra-bin - --addons-path ${CI_PROJECT_DIR},~/others/account-closing,~/others/account-invoicing,~/others/account-payment,~/others/bank-payment,~/others/brand,~/others/community-data-files,~/others/connector,~/others/edi,~/others/partner-contact,~/others/product-attribute,~/others/queue,~/others/report-print-send,~/others/rest-framework,~/others/sale-workflow,~/others/server-env,~/others/server-tools,~/others/social,~/others/stock-logistics-transport,~/others/stock-logistics-warehouse,~/others/stock-logistics-workflow,~/others/storage,~/others/web,~/others/wms + --addons-path ${CI_PROJECT_DIR},~/others/account-closing,~/others/account-invoicing,~/others/account-payment,~/others/bank-payment,~/others/brand,~/others/community-data-files,~/others/connector,~/others/edi,~/others/partner-contact,~/others/product-attribute,~/others/queue,~/others/report-print-send,~/others/rest-framework,~/others/sale-workflow,~/others/server-auth,~/others/server-env,~/others/server-tools,~/others/social,~/others/stock-logistics-transport,~/others/stock-logistics-warehouse,~/others/stock-logistics-workflow,~/others/storage,~/others/web,~/others/wms --db_host psql --db_port 5432 --db_user flectra @@ -346,6 +351,7 @@ test_module_sequence_check_digit: - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/report-print-send.git ~/others/report-print-send" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/rest-framework.git ~/others/rest-framework" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/sale-workflow.git ~/others/sale-workflow" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/server-auth.git ~/others/server-auth" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/server-env.git ~/others/server-env" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/server-tools.git ~/others/server-tools" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/social.git ~/others/social" @@ -366,7 +372,7 @@ test_module_sequence_check_digit: - mv ${CI_PROJECT_DIR}/ci_data/filestore /opt/flectra/.local/share/filestore/test_sequence_check_digit - chown -R flectra.flectra /opt/flectra/.local/share/filestore/test_sequence_check_digit - su - flectra -c "/opt/flectra/flectra-bin - --addons-path ${CI_PROJECT_DIR},~/others/account-closing,~/others/account-invoicing,~/others/account-payment,~/others/bank-payment,~/others/brand,~/others/community-data-files,~/others/connector,~/others/edi,~/others/partner-contact,~/others/product-attribute,~/others/queue,~/others/report-print-send,~/others/rest-framework,~/others/sale-workflow,~/others/server-env,~/others/server-tools,~/others/social,~/others/stock-logistics-transport,~/others/stock-logistics-warehouse,~/others/stock-logistics-workflow,~/others/storage,~/others/web,~/others/wms + --addons-path ${CI_PROJECT_DIR},~/others/account-closing,~/others/account-invoicing,~/others/account-payment,~/others/bank-payment,~/others/brand,~/others/community-data-files,~/others/connector,~/others/edi,~/others/partner-contact,~/others/product-attribute,~/others/queue,~/others/report-print-send,~/others/rest-framework,~/others/sale-workflow,~/others/server-auth,~/others/server-env,~/others/server-tools,~/others/social,~/others/stock-logistics-transport,~/others/stock-logistics-warehouse,~/others/stock-logistics-workflow,~/others/storage,~/others/web,~/others/wms --db_host psql --db_port 5432 --db_user flectra @@ -402,6 +408,7 @@ test_module_base_import_security_group: - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/report-print-send.git ~/others/report-print-send" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/rest-framework.git ~/others/rest-framework" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/sale-workflow.git ~/others/sale-workflow" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/server-auth.git ~/others/server-auth" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/server-env.git ~/others/server-env" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/server-tools.git ~/others/server-tools" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/social.git ~/others/social" @@ -422,7 +429,7 @@ test_module_base_import_security_group: - mv ${CI_PROJECT_DIR}/ci_data/filestore /opt/flectra/.local/share/filestore/test_base_import_security_group - chown -R flectra.flectra /opt/flectra/.local/share/filestore/test_base_import_security_group - su - flectra -c "/opt/flectra/flectra-bin - --addons-path ${CI_PROJECT_DIR},~/others/account-closing,~/others/account-invoicing,~/others/account-payment,~/others/bank-payment,~/others/brand,~/others/community-data-files,~/others/connector,~/others/edi,~/others/partner-contact,~/others/product-attribute,~/others/queue,~/others/report-print-send,~/others/rest-framework,~/others/sale-workflow,~/others/server-env,~/others/server-tools,~/others/social,~/others/stock-logistics-transport,~/others/stock-logistics-warehouse,~/others/stock-logistics-workflow,~/others/storage,~/others/web,~/others/wms + --addons-path ${CI_PROJECT_DIR},~/others/account-closing,~/others/account-invoicing,~/others/account-payment,~/others/bank-payment,~/others/brand,~/others/community-data-files,~/others/connector,~/others/edi,~/others/partner-contact,~/others/product-attribute,~/others/queue,~/others/report-print-send,~/others/rest-framework,~/others/sale-workflow,~/others/server-auth,~/others/server-env,~/others/server-tools,~/others/social,~/others/stock-logistics-transport,~/others/stock-logistics-warehouse,~/others/stock-logistics-workflow,~/others/storage,~/others/web,~/others/wms --db_host psql --db_port 5432 --db_user flectra @@ -458,6 +465,7 @@ test_module_date_range: - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/report-print-send.git ~/others/report-print-send" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/rest-framework.git ~/others/rest-framework" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/sale-workflow.git ~/others/sale-workflow" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/server-auth.git ~/others/server-auth" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/server-env.git ~/others/server-env" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/server-tools.git ~/others/server-tools" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/social.git ~/others/social" @@ -478,7 +486,7 @@ test_module_date_range: - mv ${CI_PROJECT_DIR}/ci_data/filestore /opt/flectra/.local/share/filestore/test_date_range - chown -R flectra.flectra /opt/flectra/.local/share/filestore/test_date_range - su - flectra -c "/opt/flectra/flectra-bin - --addons-path ${CI_PROJECT_DIR},~/others/account-closing,~/others/account-invoicing,~/others/account-payment,~/others/bank-payment,~/others/brand,~/others/community-data-files,~/others/connector,~/others/edi,~/others/partner-contact,~/others/product-attribute,~/others/queue,~/others/report-print-send,~/others/rest-framework,~/others/sale-workflow,~/others/server-env,~/others/server-tools,~/others/social,~/others/stock-logistics-transport,~/others/stock-logistics-warehouse,~/others/stock-logistics-workflow,~/others/storage,~/others/web,~/others/wms + --addons-path ${CI_PROJECT_DIR},~/others/account-closing,~/others/account-invoicing,~/others/account-payment,~/others/bank-payment,~/others/brand,~/others/community-data-files,~/others/connector,~/others/edi,~/others/partner-contact,~/others/product-attribute,~/others/queue,~/others/report-print-send,~/others/rest-framework,~/others/sale-workflow,~/others/server-auth,~/others/server-env,~/others/server-tools,~/others/social,~/others/stock-logistics-transport,~/others/stock-logistics-warehouse,~/others/stock-logistics-workflow,~/others/storage,~/others/web,~/others/wms --db_host psql --db_port 5432 --db_user flectra @@ -514,6 +522,7 @@ test_module_base_tier_validation_forward: - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/report-print-send.git ~/others/report-print-send" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/rest-framework.git ~/others/rest-framework" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/sale-workflow.git ~/others/sale-workflow" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/server-auth.git ~/others/server-auth" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/server-env.git ~/others/server-env" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/server-tools.git ~/others/server-tools" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/social.git ~/others/social" @@ -534,7 +543,7 @@ test_module_base_tier_validation_forward: - mv ${CI_PROJECT_DIR}/ci_data/filestore /opt/flectra/.local/share/filestore/test_base_tier_validation_forward - chown -R flectra.flectra /opt/flectra/.local/share/filestore/test_base_tier_validation_forward - su - flectra -c "/opt/flectra/flectra-bin - --addons-path ${CI_PROJECT_DIR},~/others/account-closing,~/others/account-invoicing,~/others/account-payment,~/others/bank-payment,~/others/brand,~/others/community-data-files,~/others/connector,~/others/edi,~/others/partner-contact,~/others/product-attribute,~/others/queue,~/others/report-print-send,~/others/rest-framework,~/others/sale-workflow,~/others/server-env,~/others/server-tools,~/others/social,~/others/stock-logistics-transport,~/others/stock-logistics-warehouse,~/others/stock-logistics-workflow,~/others/storage,~/others/web,~/others/wms + --addons-path ${CI_PROJECT_DIR},~/others/account-closing,~/others/account-invoicing,~/others/account-payment,~/others/bank-payment,~/others/brand,~/others/community-data-files,~/others/connector,~/others/edi,~/others/partner-contact,~/others/product-attribute,~/others/queue,~/others/report-print-send,~/others/rest-framework,~/others/sale-workflow,~/others/server-auth,~/others/server-env,~/others/server-tools,~/others/social,~/others/stock-logistics-transport,~/others/stock-logistics-warehouse,~/others/stock-logistics-workflow,~/others/storage,~/others/web,~/others/wms --db_host psql --db_port 5432 --db_user flectra @@ -570,6 +579,7 @@ test_module_base_menu_visibility_restriction: - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/report-print-send.git ~/others/report-print-send" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/rest-framework.git ~/others/rest-framework" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/sale-workflow.git ~/others/sale-workflow" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/server-auth.git ~/others/server-auth" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/server-env.git ~/others/server-env" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/server-tools.git ~/others/server-tools" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/social.git ~/others/social" @@ -590,7 +600,7 @@ test_module_base_menu_visibility_restriction: - mv ${CI_PROJECT_DIR}/ci_data/filestore /opt/flectra/.local/share/filestore/test_base_menu_visibility_restriction - chown -R flectra.flectra /opt/flectra/.local/share/filestore/test_base_menu_visibility_restriction - su - flectra -c "/opt/flectra/flectra-bin - --addons-path ${CI_PROJECT_DIR},~/others/account-closing,~/others/account-invoicing,~/others/account-payment,~/others/bank-payment,~/others/brand,~/others/community-data-files,~/others/connector,~/others/edi,~/others/partner-contact,~/others/product-attribute,~/others/queue,~/others/report-print-send,~/others/rest-framework,~/others/sale-workflow,~/others/server-env,~/others/server-tools,~/others/social,~/others/stock-logistics-transport,~/others/stock-logistics-warehouse,~/others/stock-logistics-workflow,~/others/storage,~/others/web,~/others/wms + --addons-path ${CI_PROJECT_DIR},~/others/account-closing,~/others/account-invoicing,~/others/account-payment,~/others/bank-payment,~/others/brand,~/others/community-data-files,~/others/connector,~/others/edi,~/others/partner-contact,~/others/product-attribute,~/others/queue,~/others/report-print-send,~/others/rest-framework,~/others/sale-workflow,~/others/server-auth,~/others/server-env,~/others/server-tools,~/others/social,~/others/stock-logistics-transport,~/others/stock-logistics-warehouse,~/others/stock-logistics-workflow,~/others/storage,~/others/web,~/others/wms --db_host psql --db_port 5432 --db_user flectra @@ -626,6 +636,7 @@ test_module_barcode_action: - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/report-print-send.git ~/others/report-print-send" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/rest-framework.git ~/others/rest-framework" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/sale-workflow.git ~/others/sale-workflow" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/server-auth.git ~/others/server-auth" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/server-env.git ~/others/server-env" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/server-tools.git ~/others/server-tools" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/social.git ~/others/social" @@ -646,7 +657,7 @@ test_module_barcode_action: - mv ${CI_PROJECT_DIR}/ci_data/filestore /opt/flectra/.local/share/filestore/test_barcode_action - chown -R flectra.flectra /opt/flectra/.local/share/filestore/test_barcode_action - su - flectra -c "/opt/flectra/flectra-bin - --addons-path ${CI_PROJECT_DIR},~/others/account-closing,~/others/account-invoicing,~/others/account-payment,~/others/bank-payment,~/others/brand,~/others/community-data-files,~/others/connector,~/others/edi,~/others/partner-contact,~/others/product-attribute,~/others/queue,~/others/report-print-send,~/others/rest-framework,~/others/sale-workflow,~/others/server-env,~/others/server-tools,~/others/social,~/others/stock-logistics-transport,~/others/stock-logistics-warehouse,~/others/stock-logistics-workflow,~/others/storage,~/others/web,~/others/wms + --addons-path ${CI_PROJECT_DIR},~/others/account-closing,~/others/account-invoicing,~/others/account-payment,~/others/bank-payment,~/others/brand,~/others/community-data-files,~/others/connector,~/others/edi,~/others/partner-contact,~/others/product-attribute,~/others/queue,~/others/report-print-send,~/others/rest-framework,~/others/sale-workflow,~/others/server-auth,~/others/server-env,~/others/server-tools,~/others/social,~/others/stock-logistics-transport,~/others/stock-logistics-warehouse,~/others/stock-logistics-workflow,~/others/storage,~/others/web,~/others/wms --db_host psql --db_port 5432 --db_user flectra @@ -682,6 +693,7 @@ test_module_multi_step_wizard: - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/report-print-send.git ~/others/report-print-send" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/rest-framework.git ~/others/rest-framework" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/sale-workflow.git ~/others/sale-workflow" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/server-auth.git ~/others/server-auth" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/server-env.git ~/others/server-env" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/server-tools.git ~/others/server-tools" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/social.git ~/others/social" @@ -702,7 +714,7 @@ test_module_multi_step_wizard: - mv ${CI_PROJECT_DIR}/ci_data/filestore /opt/flectra/.local/share/filestore/test_multi_step_wizard - chown -R flectra.flectra /opt/flectra/.local/share/filestore/test_multi_step_wizard - su - flectra -c "/opt/flectra/flectra-bin - --addons-path ${CI_PROJECT_DIR},~/others/account-closing,~/others/account-invoicing,~/others/account-payment,~/others/bank-payment,~/others/brand,~/others/community-data-files,~/others/connector,~/others/edi,~/others/partner-contact,~/others/product-attribute,~/others/queue,~/others/report-print-send,~/others/rest-framework,~/others/sale-workflow,~/others/server-env,~/others/server-tools,~/others/social,~/others/stock-logistics-transport,~/others/stock-logistics-warehouse,~/others/stock-logistics-workflow,~/others/storage,~/others/web,~/others/wms + --addons-path ${CI_PROJECT_DIR},~/others/account-closing,~/others/account-invoicing,~/others/account-payment,~/others/bank-payment,~/others/brand,~/others/community-data-files,~/others/connector,~/others/edi,~/others/partner-contact,~/others/product-attribute,~/others/queue,~/others/report-print-send,~/others/rest-framework,~/others/sale-workflow,~/others/server-auth,~/others/server-env,~/others/server-tools,~/others/social,~/others/stock-logistics-transport,~/others/stock-logistics-warehouse,~/others/stock-logistics-workflow,~/others/storage,~/others/web,~/others/wms --db_host psql --db_port 5432 --db_user flectra @@ -738,6 +750,7 @@ test_module_base_technical_features: - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/report-print-send.git ~/others/report-print-send" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/rest-framework.git ~/others/rest-framework" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/sale-workflow.git ~/others/sale-workflow" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/server-auth.git ~/others/server-auth" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/server-env.git ~/others/server-env" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/server-tools.git ~/others/server-tools" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/social.git ~/others/social" @@ -758,7 +771,7 @@ test_module_base_technical_features: - mv ${CI_PROJECT_DIR}/ci_data/filestore /opt/flectra/.local/share/filestore/test_base_technical_features - chown -R flectra.flectra /opt/flectra/.local/share/filestore/test_base_technical_features - su - flectra -c "/opt/flectra/flectra-bin - --addons-path ${CI_PROJECT_DIR},~/others/account-closing,~/others/account-invoicing,~/others/account-payment,~/others/bank-payment,~/others/brand,~/others/community-data-files,~/others/connector,~/others/edi,~/others/partner-contact,~/others/product-attribute,~/others/queue,~/others/report-print-send,~/others/rest-framework,~/others/sale-workflow,~/others/server-env,~/others/server-tools,~/others/social,~/others/stock-logistics-transport,~/others/stock-logistics-warehouse,~/others/stock-logistics-workflow,~/others/storage,~/others/web,~/others/wms + --addons-path ${CI_PROJECT_DIR},~/others/account-closing,~/others/account-invoicing,~/others/account-payment,~/others/bank-payment,~/others/brand,~/others/community-data-files,~/others/connector,~/others/edi,~/others/partner-contact,~/others/product-attribute,~/others/queue,~/others/report-print-send,~/others/rest-framework,~/others/sale-workflow,~/others/server-auth,~/others/server-env,~/others/server-tools,~/others/social,~/others/stock-logistics-transport,~/others/stock-logistics-warehouse,~/others/stock-logistics-workflow,~/others/storage,~/others/web,~/others/wms --db_host psql --db_port 5432 --db_user flectra @@ -794,6 +807,7 @@ test_module_base_tier_validation_formula: - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/report-print-send.git ~/others/report-print-send" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/rest-framework.git ~/others/rest-framework" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/sale-workflow.git ~/others/sale-workflow" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/server-auth.git ~/others/server-auth" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/server-env.git ~/others/server-env" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/server-tools.git ~/others/server-tools" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/social.git ~/others/social" @@ -814,7 +828,7 @@ test_module_base_tier_validation_formula: - mv ${CI_PROJECT_DIR}/ci_data/filestore /opt/flectra/.local/share/filestore/test_base_tier_validation_formula - chown -R flectra.flectra /opt/flectra/.local/share/filestore/test_base_tier_validation_formula - su - flectra -c "/opt/flectra/flectra-bin - --addons-path ${CI_PROJECT_DIR},~/others/account-closing,~/others/account-invoicing,~/others/account-payment,~/others/bank-payment,~/others/brand,~/others/community-data-files,~/others/connector,~/others/edi,~/others/partner-contact,~/others/product-attribute,~/others/queue,~/others/report-print-send,~/others/rest-framework,~/others/sale-workflow,~/others/server-env,~/others/server-tools,~/others/social,~/others/stock-logistics-transport,~/others/stock-logistics-warehouse,~/others/stock-logistics-workflow,~/others/storage,~/others/web,~/others/wms + --addons-path ${CI_PROJECT_DIR},~/others/account-closing,~/others/account-invoicing,~/others/account-payment,~/others/bank-payment,~/others/brand,~/others/community-data-files,~/others/connector,~/others/edi,~/others/partner-contact,~/others/product-attribute,~/others/queue,~/others/report-print-send,~/others/rest-framework,~/others/sale-workflow,~/others/server-auth,~/others/server-env,~/others/server-tools,~/others/social,~/others/stock-logistics-transport,~/others/stock-logistics-warehouse,~/others/stock-logistics-workflow,~/others/storage,~/others/web,~/others/wms --db_host psql --db_port 5432 --db_user flectra @@ -850,6 +864,7 @@ test_module_base_tier_validation: - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/report-print-send.git ~/others/report-print-send" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/rest-framework.git ~/others/rest-framework" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/sale-workflow.git ~/others/sale-workflow" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/server-auth.git ~/others/server-auth" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/server-env.git ~/others/server-env" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/server-tools.git ~/others/server-tools" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/social.git ~/others/social" @@ -870,7 +885,7 @@ test_module_base_tier_validation: - mv ${CI_PROJECT_DIR}/ci_data/filestore /opt/flectra/.local/share/filestore/test_base_tier_validation - chown -R flectra.flectra /opt/flectra/.local/share/filestore/test_base_tier_validation - su - flectra -c "/opt/flectra/flectra-bin - --addons-path ${CI_PROJECT_DIR},~/others/account-closing,~/others/account-invoicing,~/others/account-payment,~/others/bank-payment,~/others/brand,~/others/community-data-files,~/others/connector,~/others/edi,~/others/partner-contact,~/others/product-attribute,~/others/queue,~/others/report-print-send,~/others/rest-framework,~/others/sale-workflow,~/others/server-env,~/others/server-tools,~/others/social,~/others/stock-logistics-transport,~/others/stock-logistics-warehouse,~/others/stock-logistics-workflow,~/others/storage,~/others/web,~/others/wms + --addons-path ${CI_PROJECT_DIR},~/others/account-closing,~/others/account-invoicing,~/others/account-payment,~/others/bank-payment,~/others/brand,~/others/community-data-files,~/others/connector,~/others/edi,~/others/partner-contact,~/others/product-attribute,~/others/queue,~/others/report-print-send,~/others/rest-framework,~/others/sale-workflow,~/others/server-auth,~/others/server-env,~/others/server-tools,~/others/social,~/others/stock-logistics-transport,~/others/stock-logistics-warehouse,~/others/stock-logistics-workflow,~/others/storage,~/others/web,~/others/wms --db_host psql --db_port 5432 --db_user flectra @@ -906,6 +921,7 @@ test_module_base_search_custom_field_filter: - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/report-print-send.git ~/others/report-print-send" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/rest-framework.git ~/others/rest-framework" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/sale-workflow.git ~/others/sale-workflow" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/server-auth.git ~/others/server-auth" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/server-env.git ~/others/server-env" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/server-tools.git ~/others/server-tools" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/social.git ~/others/social" @@ -926,7 +942,7 @@ test_module_base_search_custom_field_filter: - mv ${CI_PROJECT_DIR}/ci_data/filestore /opt/flectra/.local/share/filestore/test_base_search_custom_field_filter - chown -R flectra.flectra /opt/flectra/.local/share/filestore/test_base_search_custom_field_filter - su - flectra -c "/opt/flectra/flectra-bin - --addons-path ${CI_PROJECT_DIR},~/others/account-closing,~/others/account-invoicing,~/others/account-payment,~/others/bank-payment,~/others/brand,~/others/community-data-files,~/others/connector,~/others/edi,~/others/partner-contact,~/others/product-attribute,~/others/queue,~/others/report-print-send,~/others/rest-framework,~/others/sale-workflow,~/others/server-env,~/others/server-tools,~/others/social,~/others/stock-logistics-transport,~/others/stock-logistics-warehouse,~/others/stock-logistics-workflow,~/others/storage,~/others/web,~/others/wms + --addons-path ${CI_PROJECT_DIR},~/others/account-closing,~/others/account-invoicing,~/others/account-payment,~/others/bank-payment,~/others/brand,~/others/community-data-files,~/others/connector,~/others/edi,~/others/partner-contact,~/others/product-attribute,~/others/queue,~/others/report-print-send,~/others/rest-framework,~/others/sale-workflow,~/others/server-auth,~/others/server-env,~/others/server-tools,~/others/social,~/others/stock-logistics-transport,~/others/stock-logistics-warehouse,~/others/stock-logistics-workflow,~/others/storage,~/others/web,~/others/wms --db_host psql --db_port 5432 --db_user flectra @@ -962,6 +978,7 @@ test_module_base_revision: - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/report-print-send.git ~/others/report-print-send" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/rest-framework.git ~/others/rest-framework" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/sale-workflow.git ~/others/sale-workflow" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/server-auth.git ~/others/server-auth" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/server-env.git ~/others/server-env" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/server-tools.git ~/others/server-tools" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/social.git ~/others/social" @@ -982,7 +999,7 @@ test_module_base_revision: - mv ${CI_PROJECT_DIR}/ci_data/filestore /opt/flectra/.local/share/filestore/test_base_revision - chown -R flectra.flectra /opt/flectra/.local/share/filestore/test_base_revision - su - flectra -c "/opt/flectra/flectra-bin - --addons-path ${CI_PROJECT_DIR},~/others/account-closing,~/others/account-invoicing,~/others/account-payment,~/others/bank-payment,~/others/brand,~/others/community-data-files,~/others/connector,~/others/edi,~/others/partner-contact,~/others/product-attribute,~/others/queue,~/others/report-print-send,~/others/rest-framework,~/others/sale-workflow,~/others/server-env,~/others/server-tools,~/others/social,~/others/stock-logistics-transport,~/others/stock-logistics-warehouse,~/others/stock-logistics-workflow,~/others/storage,~/others/web,~/others/wms + --addons-path ${CI_PROJECT_DIR},~/others/account-closing,~/others/account-invoicing,~/others/account-payment,~/others/bank-payment,~/others/brand,~/others/community-data-files,~/others/connector,~/others/edi,~/others/partner-contact,~/others/product-attribute,~/others/queue,~/others/report-print-send,~/others/rest-framework,~/others/sale-workflow,~/others/server-auth,~/others/server-env,~/others/server-tools,~/others/social,~/others/stock-logistics-transport,~/others/stock-logistics-warehouse,~/others/stock-logistics-workflow,~/others/storage,~/others/web,~/others/wms --db_host psql --db_port 5432 --db_user flectra @@ -1018,6 +1035,7 @@ test_module_base_export_manager: - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/report-print-send.git ~/others/report-print-send" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/rest-framework.git ~/others/rest-framework" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/sale-workflow.git ~/others/sale-workflow" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/server-auth.git ~/others/server-auth" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/server-env.git ~/others/server-env" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/server-tools.git ~/others/server-tools" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/social.git ~/others/social" @@ -1038,7 +1056,7 @@ test_module_base_export_manager: - mv ${CI_PROJECT_DIR}/ci_data/filestore /opt/flectra/.local/share/filestore/test_base_export_manager - chown -R flectra.flectra /opt/flectra/.local/share/filestore/test_base_export_manager - su - flectra -c "/opt/flectra/flectra-bin - --addons-path ${CI_PROJECT_DIR},~/others/account-closing,~/others/account-invoicing,~/others/account-payment,~/others/bank-payment,~/others/brand,~/others/community-data-files,~/others/connector,~/others/edi,~/others/partner-contact,~/others/product-attribute,~/others/queue,~/others/report-print-send,~/others/rest-framework,~/others/sale-workflow,~/others/server-env,~/others/server-tools,~/others/social,~/others/stock-logistics-transport,~/others/stock-logistics-warehouse,~/others/stock-logistics-workflow,~/others/storage,~/others/web,~/others/wms + --addons-path ${CI_PROJECT_DIR},~/others/account-closing,~/others/account-invoicing,~/others/account-payment,~/others/bank-payment,~/others/brand,~/others/community-data-files,~/others/connector,~/others/edi,~/others/partner-contact,~/others/product-attribute,~/others/queue,~/others/report-print-send,~/others/rest-framework,~/others/sale-workflow,~/others/server-auth,~/others/server-env,~/others/server-tools,~/others/social,~/others/stock-logistics-transport,~/others/stock-logistics-warehouse,~/others/stock-logistics-workflow,~/others/storage,~/others/web,~/others/wms --db_host psql --db_port 5432 --db_user flectra @@ -1074,6 +1092,7 @@ test_module_document_quick_access: - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/report-print-send.git ~/others/report-print-send" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/rest-framework.git ~/others/rest-framework" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/sale-workflow.git ~/others/sale-workflow" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/server-auth.git ~/others/server-auth" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/server-env.git ~/others/server-env" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/server-tools.git ~/others/server-tools" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/social.git ~/others/social" @@ -1094,7 +1113,7 @@ test_module_document_quick_access: - mv ${CI_PROJECT_DIR}/ci_data/filestore /opt/flectra/.local/share/filestore/test_document_quick_access - chown -R flectra.flectra /opt/flectra/.local/share/filestore/test_document_quick_access - su - flectra -c "/opt/flectra/flectra-bin - --addons-path ${CI_PROJECT_DIR},~/others/account-closing,~/others/account-invoicing,~/others/account-payment,~/others/bank-payment,~/others/brand,~/others/community-data-files,~/others/connector,~/others/edi,~/others/partner-contact,~/others/product-attribute,~/others/queue,~/others/report-print-send,~/others/rest-framework,~/others/sale-workflow,~/others/server-env,~/others/server-tools,~/others/social,~/others/stock-logistics-transport,~/others/stock-logistics-warehouse,~/others/stock-logistics-workflow,~/others/storage,~/others/web,~/others/wms + --addons-path ${CI_PROJECT_DIR},~/others/account-closing,~/others/account-invoicing,~/others/account-payment,~/others/bank-payment,~/others/brand,~/others/community-data-files,~/others/connector,~/others/edi,~/others/partner-contact,~/others/product-attribute,~/others/queue,~/others/report-print-send,~/others/rest-framework,~/others/sale-workflow,~/others/server-auth,~/others/server-env,~/others/server-tools,~/others/social,~/others/stock-logistics-transport,~/others/stock-logistics-warehouse,~/others/stock-logistics-workflow,~/others/storage,~/others/web,~/others/wms --db_host psql --db_port 5432 --db_user flectra @@ -1130,6 +1149,7 @@ test_module_mass_editing: - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/report-print-send.git ~/others/report-print-send" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/rest-framework.git ~/others/rest-framework" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/sale-workflow.git ~/others/sale-workflow" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/server-auth.git ~/others/server-auth" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/server-env.git ~/others/server-env" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/server-tools.git ~/others/server-tools" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/social.git ~/others/social" @@ -1150,7 +1170,7 @@ test_module_mass_editing: - mv ${CI_PROJECT_DIR}/ci_data/filestore /opt/flectra/.local/share/filestore/test_mass_editing - chown -R flectra.flectra /opt/flectra/.local/share/filestore/test_mass_editing - su - flectra -c "/opt/flectra/flectra-bin - --addons-path ${CI_PROJECT_DIR},~/others/account-closing,~/others/account-invoicing,~/others/account-payment,~/others/bank-payment,~/others/brand,~/others/community-data-files,~/others/connector,~/others/edi,~/others/partner-contact,~/others/product-attribute,~/others/queue,~/others/report-print-send,~/others/rest-framework,~/others/sale-workflow,~/others/server-env,~/others/server-tools,~/others/social,~/others/stock-logistics-transport,~/others/stock-logistics-warehouse,~/others/stock-logistics-workflow,~/others/storage,~/others/web,~/others/wms + --addons-path ${CI_PROJECT_DIR},~/others/account-closing,~/others/account-invoicing,~/others/account-payment,~/others/bank-payment,~/others/brand,~/others/community-data-files,~/others/connector,~/others/edi,~/others/partner-contact,~/others/product-attribute,~/others/queue,~/others/report-print-send,~/others/rest-framework,~/others/sale-workflow,~/others/server-auth,~/others/server-env,~/others/server-tools,~/others/social,~/others/stock-logistics-transport,~/others/stock-logistics-warehouse,~/others/stock-logistics-workflow,~/others/storage,~/others/web,~/others/wms --db_host psql --db_port 5432 --db_user flectra @@ -1186,6 +1206,7 @@ test_module_base_tier_validation_server_action: - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/report-print-send.git ~/others/report-print-send" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/rest-framework.git ~/others/rest-framework" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/sale-workflow.git ~/others/sale-workflow" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/server-auth.git ~/others/server-auth" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/server-env.git ~/others/server-env" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/server-tools.git ~/others/server-tools" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/social.git ~/others/social" @@ -1206,7 +1227,7 @@ test_module_base_tier_validation_server_action: - mv ${CI_PROJECT_DIR}/ci_data/filestore /opt/flectra/.local/share/filestore/test_base_tier_validation_server_action - chown -R flectra.flectra /opt/flectra/.local/share/filestore/test_base_tier_validation_server_action - su - flectra -c "/opt/flectra/flectra-bin - --addons-path ${CI_PROJECT_DIR},~/others/account-closing,~/others/account-invoicing,~/others/account-payment,~/others/bank-payment,~/others/brand,~/others/community-data-files,~/others/connector,~/others/edi,~/others/partner-contact,~/others/product-attribute,~/others/queue,~/others/report-print-send,~/others/rest-framework,~/others/sale-workflow,~/others/server-env,~/others/server-tools,~/others/social,~/others/stock-logistics-transport,~/others/stock-logistics-warehouse,~/others/stock-logistics-workflow,~/others/storage,~/others/web,~/others/wms + --addons-path ${CI_PROJECT_DIR},~/others/account-closing,~/others/account-invoicing,~/others/account-payment,~/others/bank-payment,~/others/brand,~/others/community-data-files,~/others/connector,~/others/edi,~/others/partner-contact,~/others/product-attribute,~/others/queue,~/others/report-print-send,~/others/rest-framework,~/others/sale-workflow,~/others/server-auth,~/others/server-env,~/others/server-tools,~/others/social,~/others/stock-logistics-transport,~/others/stock-logistics-warehouse,~/others/stock-logistics-workflow,~/others/storage,~/others/web,~/others/wms --db_host psql --db_port 5432 --db_user flectra @@ -1242,6 +1263,7 @@ test_module_mass_operation_abstract: - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/report-print-send.git ~/others/report-print-send" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/rest-framework.git ~/others/rest-framework" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/sale-workflow.git ~/others/sale-workflow" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/server-auth.git ~/others/server-auth" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/server-env.git ~/others/server-env" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/server-tools.git ~/others/server-tools" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/social.git ~/others/social" @@ -1262,7 +1284,7 @@ test_module_mass_operation_abstract: - mv ${CI_PROJECT_DIR}/ci_data/filestore /opt/flectra/.local/share/filestore/test_mass_operation_abstract - chown -R flectra.flectra /opt/flectra/.local/share/filestore/test_mass_operation_abstract - su - flectra -c "/opt/flectra/flectra-bin - --addons-path ${CI_PROJECT_DIR},~/others/account-closing,~/others/account-invoicing,~/others/account-payment,~/others/bank-payment,~/others/brand,~/others/community-data-files,~/others/connector,~/others/edi,~/others/partner-contact,~/others/product-attribute,~/others/queue,~/others/report-print-send,~/others/rest-framework,~/others/sale-workflow,~/others/server-env,~/others/server-tools,~/others/social,~/others/stock-logistics-transport,~/others/stock-logistics-warehouse,~/others/stock-logistics-workflow,~/others/storage,~/others/web,~/others/wms + --addons-path ${CI_PROJECT_DIR},~/others/account-closing,~/others/account-invoicing,~/others/account-payment,~/others/bank-payment,~/others/brand,~/others/community-data-files,~/others/connector,~/others/edi,~/others/partner-contact,~/others/product-attribute,~/others/queue,~/others/report-print-send,~/others/rest-framework,~/others/sale-workflow,~/others/server-auth,~/others/server-env,~/others/server-tools,~/others/social,~/others/stock-logistics-transport,~/others/stock-logistics-warehouse,~/others/stock-logistics-workflow,~/others/storage,~/others/web,~/others/wms --db_host psql --db_port 5432 --db_user flectra @@ -1298,6 +1320,7 @@ test_module_chained_swapper: - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/report-print-send.git ~/others/report-print-send" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/rest-framework.git ~/others/rest-framework" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/sale-workflow.git ~/others/sale-workflow" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/server-auth.git ~/others/server-auth" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/server-env.git ~/others/server-env" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/server-tools.git ~/others/server-tools" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/social.git ~/others/social" @@ -1318,7 +1341,7 @@ test_module_chained_swapper: - mv ${CI_PROJECT_DIR}/ci_data/filestore /opt/flectra/.local/share/filestore/test_chained_swapper - chown -R flectra.flectra /opt/flectra/.local/share/filestore/test_chained_swapper - su - flectra -c "/opt/flectra/flectra-bin - --addons-path ${CI_PROJECT_DIR},~/others/account-closing,~/others/account-invoicing,~/others/account-payment,~/others/bank-payment,~/others/brand,~/others/community-data-files,~/others/connector,~/others/edi,~/others/partner-contact,~/others/product-attribute,~/others/queue,~/others/report-print-send,~/others/rest-framework,~/others/sale-workflow,~/others/server-env,~/others/server-tools,~/others/social,~/others/stock-logistics-transport,~/others/stock-logistics-warehouse,~/others/stock-logistics-workflow,~/others/storage,~/others/web,~/others/wms + --addons-path ${CI_PROJECT_DIR},~/others/account-closing,~/others/account-invoicing,~/others/account-payment,~/others/bank-payment,~/others/brand,~/others/community-data-files,~/others/connector,~/others/edi,~/others/partner-contact,~/others/product-attribute,~/others/queue,~/others/report-print-send,~/others/rest-framework,~/others/sale-workflow,~/others/server-auth,~/others/server-env,~/others/server-tools,~/others/social,~/others/stock-logistics-transport,~/others/stock-logistics-warehouse,~/others/stock-logistics-workflow,~/others/storage,~/others/web,~/others/wms --db_host psql --db_port 5432 --db_user flectra @@ -1354,6 +1377,7 @@ test_module_base_optional_quick_create: - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/report-print-send.git ~/others/report-print-send" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/rest-framework.git ~/others/rest-framework" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/sale-workflow.git ~/others/sale-workflow" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/server-auth.git ~/others/server-auth" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/server-env.git ~/others/server-env" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/server-tools.git ~/others/server-tools" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/social.git ~/others/social" @@ -1374,7 +1398,7 @@ test_module_base_optional_quick_create: - mv ${CI_PROJECT_DIR}/ci_data/filestore /opt/flectra/.local/share/filestore/test_base_optional_quick_create - chown -R flectra.flectra /opt/flectra/.local/share/filestore/test_base_optional_quick_create - su - flectra -c "/opt/flectra/flectra-bin - --addons-path ${CI_PROJECT_DIR},~/others/account-closing,~/others/account-invoicing,~/others/account-payment,~/others/bank-payment,~/others/brand,~/others/community-data-files,~/others/connector,~/others/edi,~/others/partner-contact,~/others/product-attribute,~/others/queue,~/others/report-print-send,~/others/rest-framework,~/others/sale-workflow,~/others/server-env,~/others/server-tools,~/others/social,~/others/stock-logistics-transport,~/others/stock-logistics-warehouse,~/others/stock-logistics-workflow,~/others/storage,~/others/web,~/others/wms + --addons-path ${CI_PROJECT_DIR},~/others/account-closing,~/others/account-invoicing,~/others/account-payment,~/others/bank-payment,~/others/brand,~/others/community-data-files,~/others/connector,~/others/edi,~/others/partner-contact,~/others/product-attribute,~/others/queue,~/others/report-print-send,~/others/rest-framework,~/others/sale-workflow,~/others/server-auth,~/others/server-env,~/others/server-tools,~/others/social,~/others/stock-logistics-transport,~/others/stock-logistics-warehouse,~/others/stock-logistics-workflow,~/others/storage,~/others/web,~/others/wms --db_host psql --db_port 5432 --db_user flectra @@ -1410,6 +1434,7 @@ test_module_document_quick_access_folder_auto_classification: - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/report-print-send.git ~/others/report-print-send" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/rest-framework.git ~/others/rest-framework" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/sale-workflow.git ~/others/sale-workflow" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/server-auth.git ~/others/server-auth" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/server-env.git ~/others/server-env" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/server-tools.git ~/others/server-tools" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/social.git ~/others/social" @@ -1430,7 +1455,7 @@ test_module_document_quick_access_folder_auto_classification: - mv ${CI_PROJECT_DIR}/ci_data/filestore /opt/flectra/.local/share/filestore/test_document_quick_access_folder_auto_classification - chown -R flectra.flectra /opt/flectra/.local/share/filestore/test_document_quick_access_folder_auto_classification - su - flectra -c "/opt/flectra/flectra-bin - --addons-path ${CI_PROJECT_DIR},~/others/account-closing,~/others/account-invoicing,~/others/account-payment,~/others/bank-payment,~/others/brand,~/others/community-data-files,~/others/connector,~/others/edi,~/others/partner-contact,~/others/product-attribute,~/others/queue,~/others/report-print-send,~/others/rest-framework,~/others/sale-workflow,~/others/server-env,~/others/server-tools,~/others/social,~/others/stock-logistics-transport,~/others/stock-logistics-warehouse,~/others/stock-logistics-workflow,~/others/storage,~/others/web,~/others/wms + --addons-path ${CI_PROJECT_DIR},~/others/account-closing,~/others/account-invoicing,~/others/account-payment,~/others/bank-payment,~/others/brand,~/others/community-data-files,~/others/connector,~/others/edi,~/others/partner-contact,~/others/product-attribute,~/others/queue,~/others/report-print-send,~/others/rest-framework,~/others/sale-workflow,~/others/server-auth,~/others/server-env,~/others/server-tools,~/others/social,~/others/stock-logistics-transport,~/others/stock-logistics-warehouse,~/others/stock-logistics-workflow,~/others/storage,~/others/web,~/others/wms --db_host psql --db_port 5432 --db_user flectra From 5fe9942931f382181f898457d49ec475552a107b Mon Sep 17 00:00:00 2001 From: Flectra Community Bot Date: Sun, 14 Nov 2021 03:13:16 +0000 Subject: [PATCH 09/21] Automatic Update form OCA2FC Migrator --- README.md | 2 +- base_tier_validation/__manifest__.py | 2 +- .../i18n/base_tier_validation.pot | 11 +++++++++++ base_tier_validation/i18n/es.po | 11 +++++++++++ base_tier_validation/i18n/es_MX.po | 14 +++++++++++++- base_tier_validation/i18n/fr.po | 11 +++++++++++ base_tier_validation/i18n/it.po | 11 +++++++++++ base_tier_validation/i18n/nl_NL.po | 11 +++++++++++ base_tier_validation/i18n/zh_CN.po | 11 +++++++++++ base_tier_validation/models/tier_validation.py | 8 ++++++++ .../templates/tier_validation_templates.xml | 1 + mass_editing/i18n/it.po | 16 ++++++++-------- 12 files changed, 98 insertions(+), 11 deletions(-) diff --git a/README.md b/README.md index 1603959..6fc7617 100644 --- a/README.md +++ b/README.md @@ -22,7 +22,7 @@ addon | version | summary [multi_step_wizard](multi_step_wizard/) | 2.0.1.0.0| Multi-Steps Wizards [base_technical_features](base_technical_features/) | 2.0.1.1.0| Access to technical features without activating debug mode [base_tier_validation_formula](base_tier_validation_formula/) | 2.0.2.0.1| Formulas for Base tier validation -[base_tier_validation](base_tier_validation/) | 2.0.2.5.1| Implement a validation process based on tiers. +[base_tier_validation](base_tier_validation/) | 2.0.2.6.0| Implement a validation process based on tiers. [base_search_custom_field_filter](base_search_custom_field_filter/) | 2.0.1.0.0| Add custom filters for fields via UI [base_revision](base_revision/) | 2.0.1.0.1| Keep track of revised document [base_export_manager](base_export_manager/) | 2.0.1.0.1| Manage model export profiles diff --git a/base_tier_validation/__manifest__.py b/base_tier_validation/__manifest__.py index 0d5af16..14fd820 100644 --- a/base_tier_validation/__manifest__.py +++ b/base_tier_validation/__manifest__.py @@ -3,7 +3,7 @@ { "name": "Base Tier Validation", "summary": "Implement a validation process based on tiers.", - "version": "2.0.2.5.1", + "version": "2.0.2.6.0", "development_status": "Mature", "maintainers": ["LoisRForgeFlow"], "category": "Tools", diff --git a/base_tier_validation/i18n/base_tier_validation.pot b/base_tier_validation/i18n/base_tier_validation.pot index 8cf7107..8308c15 100644 --- a/base_tier_validation/i18n/base_tier_validation.pot +++ b/base_tier_validation/i18n/base_tier_validation.pot @@ -319,6 +319,17 @@ msgstr "" msgid "New Tier Validation" msgstr "" +#. module: base_tier_validation +#: model:ir.model.fields,field_description:base_tier_validation.field_tier_validation__next_review +msgid "Next Review" +msgstr "" + +#. module: base_tier_validation +#: code:addons/base_tier_validation/models/tier_validation.py:0 +#, python-format +msgid "Next: %s" +msgstr "" + #. module: base_tier_validation #. openerp-web #: code:addons/base_tier_validation/static/src/xml/systray.xml:0 diff --git a/base_tier_validation/i18n/es.po b/base_tier_validation/i18n/es.po index 964f694..e31d893 100644 --- a/base_tier_validation/i18n/es.po +++ b/base_tier_validation/i18n/es.po @@ -338,6 +338,17 @@ msgstr "Necesita validación" msgid "New Tier Validation" msgstr "Nueva Validación de Nivel" +#. module: base_tier_validation +#: model:ir.model.fields,field_description:base_tier_validation.field_tier_validation__next_review +msgid "Next Review" +msgstr "" + +#. module: base_tier_validation +#: code:addons/base_tier_validation/models/tier_validation.py:0 +#, python-format +msgid "Next: %s" +msgstr "" + #. module: base_tier_validation #. openerp-web #: code:addons/base_tier_validation/static/src/xml/systray.xml:0 diff --git a/base_tier_validation/i18n/es_MX.po b/base_tier_validation/i18n/es_MX.po index b36d529..2597d78 100644 --- a/base_tier_validation/i18n/es_MX.po +++ b/base_tier_validation/i18n/es_MX.po @@ -99,7 +99,8 @@ msgstr "{} rechazó una revisión. ({})" #: code:addons/base_tier_validation/models/tier_validation.py:0 #, python-format msgid "A validation process is still open for at least one record." -msgstr "Todavía hay un proceso de validación abierto para al menos un registro." +msgstr "" +"Todavía hay un proceso de validación abierto para al menos un registro." #. module: base_tier_validation #: model:ir.model.fields,field_description:base_tier_validation.field_tier_definition__active @@ -337,6 +338,17 @@ msgstr "Necesita validación" msgid "New Tier Validation" msgstr "Nueva Definición de Nivel" +#. module: base_tier_validation +#: model:ir.model.fields,field_description:base_tier_validation.field_tier_validation__next_review +msgid "Next Review" +msgstr "" + +#. module: base_tier_validation +#: code:addons/base_tier_validation/models/tier_validation.py:0 +#, python-format +msgid "Next: %s" +msgstr "" + #. module: base_tier_validation #. openerp-web #: code:addons/base_tier_validation/static/src/xml/systray.xml:0 diff --git a/base_tier_validation/i18n/fr.po b/base_tier_validation/i18n/fr.po index 27311fd..89348b7 100644 --- a/base_tier_validation/i18n/fr.po +++ b/base_tier_validation/i18n/fr.po @@ -335,6 +335,17 @@ msgstr "Doit être validé" msgid "New Tier Validation" msgstr "Nouvelle validation par un tiers" +#. module: base_tier_validation +#: model:ir.model.fields,field_description:base_tier_validation.field_tier_validation__next_review +msgid "Next Review" +msgstr "" + +#. module: base_tier_validation +#: code:addons/base_tier_validation/models/tier_validation.py:0 +#, python-format +msgid "Next: %s" +msgstr "" + #. module: base_tier_validation #. openerp-web #: code:addons/base_tier_validation/static/src/xml/systray.xml:0 diff --git a/base_tier_validation/i18n/it.po b/base_tier_validation/i18n/it.po index 504ef99..6a67af3 100644 --- a/base_tier_validation/i18n/it.po +++ b/base_tier_validation/i18n/it.po @@ -335,6 +335,17 @@ msgstr "Richiede Approvazione" msgid "New Tier Validation" msgstr "Nuovo Livello Approvazione" +#. module: base_tier_validation +#: model:ir.model.fields,field_description:base_tier_validation.field_tier_validation__next_review +msgid "Next Review" +msgstr "" + +#. module: base_tier_validation +#: code:addons/base_tier_validation/models/tier_validation.py:0 +#, python-format +msgid "Next: %s" +msgstr "" + #. module: base_tier_validation #. openerp-web #: code:addons/base_tier_validation/static/src/xml/systray.xml:0 diff --git a/base_tier_validation/i18n/nl_NL.po b/base_tier_validation/i18n/nl_NL.po index b9c0784..ee08eac 100644 --- a/base_tier_validation/i18n/nl_NL.po +++ b/base_tier_validation/i18n/nl_NL.po @@ -324,6 +324,17 @@ msgstr "Validatie nodig" msgid "New Tier Validation" msgstr "Nieuwe Tier-validatie" +#. module: base_tier_validation +#: model:ir.model.fields,field_description:base_tier_validation.field_tier_validation__next_review +msgid "Next Review" +msgstr "" + +#. module: base_tier_validation +#: code:addons/base_tier_validation/models/tier_validation.py:0 +#, python-format +msgid "Next: %s" +msgstr "" + #. module: base_tier_validation #. openerp-web #: code:addons/base_tier_validation/static/src/xml/systray.xml:0 diff --git a/base_tier_validation/i18n/zh_CN.po b/base_tier_validation/i18n/zh_CN.po index 3375986..3edb7f4 100644 --- a/base_tier_validation/i18n/zh_CN.po +++ b/base_tier_validation/i18n/zh_CN.po @@ -322,6 +322,17 @@ msgstr "需要审批" msgid "New Tier Validation" msgstr "新建多层级审批" +#. module: base_tier_validation +#: model:ir.model.fields,field_description:base_tier_validation.field_tier_validation__next_review +msgid "Next Review" +msgstr "" + +#. module: base_tier_validation +#: code:addons/base_tier_validation/models/tier_validation.py:0 +#, python-format +msgid "Next: %s" +msgstr "" + #. module: base_tier_validation #. openerp-web #: code:addons/base_tier_validation/static/src/xml/systray.xml:0 diff --git a/base_tier_validation/models/tier_validation.py b/base_tier_validation/models/tier_validation.py index 37f90c9..e95c9ad 100644 --- a/base_tier_validation/models/tier_validation.py +++ b/base_tier_validation/models/tier_validation.py @@ -48,6 +48,7 @@ class TierValidation(models.AbstractModel): compute="_compute_can_review", search="_search_can_review" ) has_comment = fields.Boolean(compute="_compute_has_comment") + next_review = fields.Char(compute="_compute_next_review") def _compute_has_comment(self): for rec in self: @@ -140,6 +141,13 @@ class TierValidation(models.AbstractModel): rec.validated = self._calc_reviews_validated(rec.review_ids) rec.rejected = self._calc_reviews_rejected(rec.review_ids) + def _compute_next_review(self): + for rec in self: + review = rec.review_ids.sorted("sequence").filtered( + lambda l: l.status == "pending" + )[:1] + rec.next_review = review and _("Next: %s") % review.name or "" + @api.model def _calc_reviews_validated(self, reviews): """Override for different validation policy.""" diff --git a/base_tier_validation/templates/tier_validation_templates.xml b/base_tier_validation/templates/tier_validation_templates.xml index 9caa5bf..932f613 100644 --- a/base_tier_validation/templates/tier_validation_templates.xml +++ b/base_tier_validation/templates/tier_validation_templates.xml @@ -50,6 +50,7 @@ class="btn-icon btn-danger" icon="fa-thumbs-down" /> +

\n" +"PO-Revision-Date: 2021-11-08 19:35+0000\n" +"Last-Translator: Francesco Foresti \n" "Language-Team: Italian (https://www.transifex.com/oca/teams/23907/it/)\n" "Language: it\n" "MIME-Version: 1.0\n" @@ -48,14 +48,14 @@ msgid "" "Example :\n" "'many2many_tags', 'selection'" msgstr "" -"Aggiunti il tipo di widget che sarà usato per mostrare il campo nel wizard. " +"Aggiungi il tipo di widget che sarà usato per mostrare il campo nel wizard. " "Esempio:\n" "'many2many_tags', 'selection'" #. module: mass_editing #: model:ir.model.fields,field_description:mass_editing.field_mass_editing__groups_id msgid "Allowed Groups" -msgstr "Gruppi Abilitati" +msgstr "Gruppi Consentiti" #. module: mass_editing #: model:ir.model.fields,help:mass_editing.field_mass_editing_line__apply_domain @@ -152,7 +152,7 @@ msgstr "Modifiche massive" #. module: mass_editing #: model:ir.model,name:mass_editing.model_mass_editing_line msgid "Mass Editing Line" -msgstr "Modifiche massive linea" +msgstr "Riga Modifiche massive" #. module: mass_editing #: model:ir.model.fields,field_description:mass_editing.field_mass_editing__message @@ -189,18 +189,18 @@ msgstr "Descrizione Operazione Avviso" #. module: mass_editing #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_wizard__remaining_item_qty msgid "Remaining Item Qty" -msgstr "Qta Item RImanenti" +msgstr "Qta Elementi Rimanenti" #. module: mass_editing #: code:addons/mass_editing/wizard/mass_editing_wizard.py:0 #, python-format msgid "Remove" -msgstr "RImuovi" +msgstr "Rimuovi" #. module: mass_editing #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_wizard__selected_item_qty msgid "Selected Item Qty" -msgstr "Qty Item Selezionati" +msgstr "Qta Elementi Selezionati" #. module: mass_editing #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line__sequence From 911894b8f845929307c78806cba0140f4ba0ac82 Mon Sep 17 00:00:00 2001 From: Flectra Community Bot Date: Sun, 21 Nov 2021 03:13:13 +0000 Subject: [PATCH 10/21] Automatic Update form OCA2FC Migrator --- README.md | 2 +- base_tier_validation/COPYRIGHT | 1 + base_tier_validation/__manifest__.py | 3 +- .../i18n/base_tier_validation.pot | 53 ++++++++++++ base_tier_validation/i18n/es.po | 53 ++++++++++++ base_tier_validation/i18n/es_MX.po | 53 ++++++++++++ base_tier_validation/i18n/fr.po | 53 ++++++++++++ base_tier_validation/i18n/it.po | 53 ++++++++++++ base_tier_validation/i18n/nl_NL.po | 53 ++++++++++++ base_tier_validation/i18n/zh_CN.po | 53 ++++++++++++ base_tier_validation/models/__init__.py | 1 + .../models/res_config_settings.py | 12 +++ .../views/res_config_settings_views.xml | 81 +++++++++++++++++++ 13 files changed, 469 insertions(+), 2 deletions(-) create mode 100644 base_tier_validation/models/res_config_settings.py create mode 100644 base_tier_validation/views/res_config_settings_views.xml diff --git a/README.md b/README.md index 6fc7617..16dfc6f 100644 --- a/README.md +++ b/README.md @@ -22,7 +22,7 @@ addon | version | summary [multi_step_wizard](multi_step_wizard/) | 2.0.1.0.0| Multi-Steps Wizards [base_technical_features](base_technical_features/) | 2.0.1.1.0| Access to technical features without activating debug mode [base_tier_validation_formula](base_tier_validation_formula/) | 2.0.2.0.1| Formulas for Base tier validation -[base_tier_validation](base_tier_validation/) | 2.0.2.6.0| Implement a validation process based on tiers. +[base_tier_validation](base_tier_validation/) | 2.0.2.7.0| Implement a validation process based on tiers. [base_search_custom_field_filter](base_search_custom_field_filter/) | 2.0.1.0.0| Add custom filters for fields via UI [base_revision](base_revision/) | 2.0.1.0.1| Keep track of revised document [base_export_manager](base_export_manager/) | 2.0.1.0.1| Manage model export profiles diff --git a/base_tier_validation/COPYRIGHT b/base_tier_validation/COPYRIGHT index d20d254..0369403 100644 --- a/base_tier_validation/COPYRIGHT +++ b/base_tier_validation/COPYRIGHT @@ -7,6 +7,7 @@ Most of the files are Copyright 2018-19 ForgeFlow S.L. (https://www.forgeflow.com) Copyright 2019 Ecosoft Co., Ltd. (http://ecosoft.co.th) Copyright 2019 ForgeFlow S.L. (https://www.forgeflow.com) + Copyright 2021 Ecosoft Co., Ltd. (http://ecosoft.co.th) Copyright 2018 Flectra Community Many files also contain contributions from third diff --git a/base_tier_validation/__manifest__.py b/base_tier_validation/__manifest__.py index 14fd820..059e5ad 100644 --- a/base_tier_validation/__manifest__.py +++ b/base_tier_validation/__manifest__.py @@ -3,7 +3,7 @@ { "name": "Base Tier Validation", "summary": "Implement a validation process based on tiers.", - "version": "2.0.2.6.0", + "version": "2.0.2.7.0", "development_status": "Mature", "maintainers": ["LoisRForgeFlow"], "category": "Tools", @@ -17,6 +17,7 @@ "data/mail_data.xml", "security/ir.model.access.csv", "security/tier_validation_security.xml", + "views/res_config_settings_views.xml", "views/tier_definition_view.xml", "views/tier_review_view.xml", "views/assets_backend.xml", diff --git a/base_tier_validation/i18n/base_tier_validation.pot b/base_tier_validation/i18n/base_tier_validation.pot index 8308c15..4b6888d 100644 --- a/base_tier_validation/i18n/base_tier_validation.pot +++ b/base_tier_validation/i18n/base_tier_validation.pot @@ -177,6 +177,11 @@ msgstr "" msgid "Company" msgstr "" +#. module: base_tier_validation +#: model:ir.model,name:base_tier_validation.model_res_config_settings +msgid "Config Settings" +msgstr "" + #. module: base_tier_validation #: model:ir.model.fields,field_description:base_tier_validation.field_comment_wizard__create_uid #: model:ir.model.fields,field_description:base_tier_validation.field_tier_definition__create_uid @@ -213,6 +218,7 @@ msgstr "" #. module: base_tier_validation #: model:ir.model.fields,field_description:base_tier_validation.field_comment_wizard__display_name +#: model:ir.model.fields,field_description:base_tier_validation.field_res_config_settings__display_name #: model:ir.model.fields,field_description:base_tier_validation.field_res_users__display_name #: model:ir.model.fields,field_description:base_tier_validation.field_tier_definition__display_name #: model:ir.model.fields,field_description:base_tier_validation.field_tier_review__display_name @@ -260,6 +266,7 @@ msgstr "" #. module: base_tier_validation #: model:ir.model.fields,field_description:base_tier_validation.field_comment_wizard__id +#: model:ir.model.fields,field_description:base_tier_validation.field_res_config_settings__id #: model:ir.model.fields,field_description:base_tier_validation.field_res_users__id #: model:ir.model.fields,field_description:base_tier_validation.field_tier_definition__id #: model:ir.model.fields,field_description:base_tier_validation.field_tier_review__id @@ -276,6 +283,7 @@ msgstr "" #. module: base_tier_validation #: model:ir.model.fields,field_description:base_tier_validation.field_comment_wizard____last_update +#: model:ir.model.fields,field_description:base_tier_validation.field_res_config_settings____last_update #: model:ir.model.fields,field_description:base_tier_validation.field_res_users____last_update #: model:ir.model.fields,field_description:base_tier_validation.field_tier_definition____last_update #: model:ir.model.fields,field_description:base_tier_validation.field_tier_review____last_update @@ -308,6 +316,11 @@ msgstr "" msgid "More Options" msgstr "" +#. module: base_tier_validation +#: model_terms:ir.ui.view,arch_db:base_tier_validation.res_config_settings_view_form_budget +msgid "More reports about tier validations, i.e., summary of all my reviews" +msgstr "" + #. module: base_tier_validation #: model:ir.model.fields,field_description:base_tier_validation.field_tier_validation__need_validation msgid "Need Validation" @@ -342,6 +355,21 @@ msgstr "" msgid "Notify Reviewers on Creation" msgstr "" +#. module: base_tier_validation +#: model_terms:ir.ui.view,arch_db:base_tier_validation.res_config_settings_view_form_budget +msgid "Option to forward a tier validation to other reviewer, and backward" +msgstr "" + +#. module: base_tier_validation +#: model_terms:ir.ui.view,arch_db:base_tier_validation.res_config_settings_view_form_budget +msgid "Option to trigger server actions on completion of tier reviews" +msgstr "" + +#. module: base_tier_validation +#: model_terms:ir.ui.view,arch_db:base_tier_validation.res_config_settings_view_form_budget +msgid "Option to use python formula to get reviewers and find documents" +msgstr "" + #. module: base_tier_validation #. openerp-web #: code:addons/base_tier_validation/static/src/xml/systray.xml:0 @@ -506,12 +534,37 @@ msgstr "" msgid "Tier Definition" msgstr "" +#. module: base_tier_validation +#: model:ir.model.fields,field_description:base_tier_validation.field_res_config_settings__module_base_tier_validation_formula +msgid "Tier Formula" +msgstr "" + +#. module: base_tier_validation +#: model:ir.model.fields,field_description:base_tier_validation.field_res_config_settings__module_base_tier_validation_forward +msgid "Tier Forward & Backward" +msgstr "" + +#. module: base_tier_validation +#: model:ir.model.fields,field_description:base_tier_validation.field_res_config_settings__module_base_tier_validation_report +msgid "Tier Reports" +msgstr "" + #. module: base_tier_validation #: model:ir.model,name:base_tier_validation.model_tier_review #: model_terms:ir.ui.view,arch_db:base_tier_validation.tier_review_view_tree msgid "Tier Review" msgstr "" +#. module: base_tier_validation +#: model:ir.model.fields,field_description:base_tier_validation.field_res_config_settings__module_base_tier_validation_server_action +msgid "Tier Server Action" +msgstr "" + +#. module: base_tier_validation +#: model_terms:ir.ui.view,arch_db:base_tier_validation.res_config_settings_view_form_budget +msgid "Tier Validation" +msgstr "" + #. module: base_tier_validation #: model:ir.model,name:base_tier_validation.model_tier_validation msgid "Tier Validation (abstract)" diff --git a/base_tier_validation/i18n/es.po b/base_tier_validation/i18n/es.po index e31d893..6592f5b 100644 --- a/base_tier_validation/i18n/es.po +++ b/base_tier_validation/i18n/es.po @@ -193,6 +193,11 @@ msgstr "Comentarios" msgid "Company" msgstr "Compañía" +#. module: base_tier_validation +#: model:ir.model,name:base_tier_validation.model_res_config_settings +msgid "Config Settings" +msgstr "" + #. module: base_tier_validation #: model:ir.model.fields,field_description:base_tier_validation.field_comment_wizard__create_uid #: model:ir.model.fields,field_description:base_tier_validation.field_tier_definition__create_uid @@ -229,6 +234,7 @@ msgstr "Descripción" #. module: base_tier_validation #: model:ir.model.fields,field_description:base_tier_validation.field_comment_wizard__display_name +#: model:ir.model.fields,field_description:base_tier_validation.field_res_config_settings__display_name #: model:ir.model.fields,field_description:base_tier_validation.field_res_users__display_name #: model:ir.model.fields,field_description:base_tier_validation.field_tier_definition__display_name #: model:ir.model.fields,field_description:base_tier_validation.field_tier_review__display_name @@ -276,6 +282,7 @@ msgstr "Ha comentado" #. module: base_tier_validation #: model:ir.model.fields,field_description:base_tier_validation.field_comment_wizard__id +#: model:ir.model.fields,field_description:base_tier_validation.field_res_config_settings__id #: model:ir.model.fields,field_description:base_tier_validation.field_res_users__id #: model:ir.model.fields,field_description:base_tier_validation.field_tier_definition__id #: model:ir.model.fields,field_description:base_tier_validation.field_tier_review__id @@ -295,6 +302,7 @@ msgstr "" #. module: base_tier_validation #: model:ir.model.fields,field_description:base_tier_validation.field_comment_wizard____last_update +#: model:ir.model.fields,field_description:base_tier_validation.field_res_config_settings____last_update #: model:ir.model.fields,field_description:base_tier_validation.field_res_users____last_update #: model:ir.model.fields,field_description:base_tier_validation.field_tier_definition____last_update #: model:ir.model.fields,field_description:base_tier_validation.field_tier_review____last_update @@ -327,6 +335,11 @@ msgstr "Modelo" msgid "More Options" msgstr "Más opciones" +#. module: base_tier_validation +#: model_terms:ir.ui.view,arch_db:base_tier_validation.res_config_settings_view_form_budget +msgid "More reports about tier validations, i.e., summary of all my reviews" +msgstr "" + #. module: base_tier_validation #: model:ir.model.fields,field_description:base_tier_validation.field_tier_validation__need_validation msgid "Need Validation" @@ -362,6 +375,21 @@ msgstr "No hay revisiones a realizar." msgid "Notify Reviewers on Creation" msgstr "Notificar validadores en la creación" +#. module: base_tier_validation +#: model_terms:ir.ui.view,arch_db:base_tier_validation.res_config_settings_view_form_budget +msgid "Option to forward a tier validation to other reviewer, and backward" +msgstr "" + +#. module: base_tier_validation +#: model_terms:ir.ui.view,arch_db:base_tier_validation.res_config_settings_view_form_budget +msgid "Option to trigger server actions on completion of tier reviews" +msgstr "" + +#. module: base_tier_validation +#: model_terms:ir.ui.view,arch_db:base_tier_validation.res_config_settings_view_form_budget +msgid "Option to use python formula to get reviewers and find documents" +msgstr "" + #. module: base_tier_validation #. openerp-web #: code:addons/base_tier_validation/static/src/xml/systray.xml:0 @@ -531,12 +559,37 @@ msgstr "" msgid "Tier Definition" msgstr "Definición de Nivel" +#. module: base_tier_validation +#: model:ir.model.fields,field_description:base_tier_validation.field_res_config_settings__module_base_tier_validation_formula +msgid "Tier Formula" +msgstr "" + +#. module: base_tier_validation +#: model:ir.model.fields,field_description:base_tier_validation.field_res_config_settings__module_base_tier_validation_forward +msgid "Tier Forward & Backward" +msgstr "" + +#. module: base_tier_validation +#: model:ir.model.fields,field_description:base_tier_validation.field_res_config_settings__module_base_tier_validation_report +msgid "Tier Reports" +msgstr "" + #. module: base_tier_validation #: model:ir.model,name:base_tier_validation.model_tier_review #: model_terms:ir.ui.view,arch_db:base_tier_validation.tier_review_view_tree msgid "Tier Review" msgstr "Revisión de Nivel" +#. module: base_tier_validation +#: model:ir.model.fields,field_description:base_tier_validation.field_res_config_settings__module_base_tier_validation_server_action +msgid "Tier Server Action" +msgstr "" + +#. module: base_tier_validation +#: model_terms:ir.ui.view,arch_db:base_tier_validation.res_config_settings_view_form_budget +msgid "Tier Validation" +msgstr "" + #. module: base_tier_validation #: model:ir.model,name:base_tier_validation.model_tier_validation msgid "Tier Validation (abstract)" diff --git a/base_tier_validation/i18n/es_MX.po b/base_tier_validation/i18n/es_MX.po index 2597d78..48fa2ee 100644 --- a/base_tier_validation/i18n/es_MX.po +++ b/base_tier_validation/i18n/es_MX.po @@ -194,6 +194,11 @@ msgstr "Comentarios" msgid "Company" msgstr "Empresa" +#. module: base_tier_validation +#: model:ir.model,name:base_tier_validation.model_res_config_settings +msgid "Config Settings" +msgstr "" + #. module: base_tier_validation #: model:ir.model.fields,field_description:base_tier_validation.field_comment_wizard__create_uid #: model:ir.model.fields,field_description:base_tier_validation.field_tier_definition__create_uid @@ -230,6 +235,7 @@ msgstr "Descripción" #. module: base_tier_validation #: model:ir.model.fields,field_description:base_tier_validation.field_comment_wizard__display_name +#: model:ir.model.fields,field_description:base_tier_validation.field_res_config_settings__display_name #: model:ir.model.fields,field_description:base_tier_validation.field_res_users__display_name #: model:ir.model.fields,field_description:base_tier_validation.field_tier_definition__display_name #: model:ir.model.fields,field_description:base_tier_validation.field_tier_review__display_name @@ -277,6 +283,7 @@ msgstr "Tiene comentario" #. module: base_tier_validation #: model:ir.model.fields,field_description:base_tier_validation.field_comment_wizard__id +#: model:ir.model.fields,field_description:base_tier_validation.field_res_config_settings__id #: model:ir.model.fields,field_description:base_tier_validation.field_res_users__id #: model:ir.model.fields,field_description:base_tier_validation.field_tier_definition__id #: model:ir.model.fields,field_description:base_tier_validation.field_tier_review__id @@ -295,6 +302,7 @@ msgstr "" #. module: base_tier_validation #: model:ir.model.fields,field_description:base_tier_validation.field_comment_wizard____last_update +#: model:ir.model.fields,field_description:base_tier_validation.field_res_config_settings____last_update #: model:ir.model.fields,field_description:base_tier_validation.field_res_users____last_update #: model:ir.model.fields,field_description:base_tier_validation.field_tier_definition____last_update #: model:ir.model.fields,field_description:base_tier_validation.field_tier_review____last_update @@ -327,6 +335,11 @@ msgstr "Modelo" msgid "More Options" msgstr "Más opciones" +#. module: base_tier_validation +#: model_terms:ir.ui.view,arch_db:base_tier_validation.res_config_settings_view_form_budget +msgid "More reports about tier validations, i.e., summary of all my reviews" +msgstr "" + #. module: base_tier_validation #: model:ir.model.fields,field_description:base_tier_validation.field_tier_validation__need_validation msgid "Need Validation" @@ -361,6 +374,21 @@ msgstr "No hay revisiones que hacer." msgid "Notify Reviewers on Creation" msgstr "Notificar a los revisores sobre la creación" +#. module: base_tier_validation +#: model_terms:ir.ui.view,arch_db:base_tier_validation.res_config_settings_view_form_budget +msgid "Option to forward a tier validation to other reviewer, and backward" +msgstr "" + +#. module: base_tier_validation +#: model_terms:ir.ui.view,arch_db:base_tier_validation.res_config_settings_view_form_budget +msgid "Option to trigger server actions on completion of tier reviews" +msgstr "" + +#. module: base_tier_validation +#: model_terms:ir.ui.view,arch_db:base_tier_validation.res_config_settings_view_form_budget +msgid "Option to use python formula to get reviewers and find documents" +msgstr "" + #. module: base_tier_validation #. openerp-web #: code:addons/base_tier_validation/static/src/xml/systray.xml:0 @@ -527,12 +555,37 @@ msgstr "" msgid "Tier Definition" msgstr "Definición de Nivel" +#. module: base_tier_validation +#: model:ir.model.fields,field_description:base_tier_validation.field_res_config_settings__module_base_tier_validation_formula +msgid "Tier Formula" +msgstr "" + +#. module: base_tier_validation +#: model:ir.model.fields,field_description:base_tier_validation.field_res_config_settings__module_base_tier_validation_forward +msgid "Tier Forward & Backward" +msgstr "" + +#. module: base_tier_validation +#: model:ir.model.fields,field_description:base_tier_validation.field_res_config_settings__module_base_tier_validation_report +msgid "Tier Reports" +msgstr "" + #. module: base_tier_validation #: model:ir.model,name:base_tier_validation.model_tier_review #: model_terms:ir.ui.view,arch_db:base_tier_validation.tier_review_view_tree msgid "Tier Review" msgstr "Revisión de niveles" +#. module: base_tier_validation +#: model:ir.model.fields,field_description:base_tier_validation.field_res_config_settings__module_base_tier_validation_server_action +msgid "Tier Server Action" +msgstr "" + +#. module: base_tier_validation +#: model_terms:ir.ui.view,arch_db:base_tier_validation.res_config_settings_view_form_budget +msgid "Tier Validation" +msgstr "" + #. module: base_tier_validation #: model:ir.model,name:base_tier_validation.model_tier_validation msgid "Tier Validation (abstract)" diff --git a/base_tier_validation/i18n/fr.po b/base_tier_validation/i18n/fr.po index 89348b7..203b941 100644 --- a/base_tier_validation/i18n/fr.po +++ b/base_tier_validation/i18n/fr.po @@ -193,6 +193,11 @@ msgstr "Commentaires" msgid "Company" msgstr "Société" +#. module: base_tier_validation +#: model:ir.model,name:base_tier_validation.model_res_config_settings +msgid "Config Settings" +msgstr "" + #. module: base_tier_validation #: model:ir.model.fields,field_description:base_tier_validation.field_comment_wizard__create_uid #: model:ir.model.fields,field_description:base_tier_validation.field_tier_definition__create_uid @@ -229,6 +234,7 @@ msgstr "" #. module: base_tier_validation #: model:ir.model.fields,field_description:base_tier_validation.field_comment_wizard__display_name +#: model:ir.model.fields,field_description:base_tier_validation.field_res_config_settings__display_name #: model:ir.model.fields,field_description:base_tier_validation.field_res_users__display_name #: model:ir.model.fields,field_description:base_tier_validation.field_tier_definition__display_name #: model:ir.model.fields,field_description:base_tier_validation.field_tier_review__display_name @@ -276,6 +282,7 @@ msgstr "" #. module: base_tier_validation #: model:ir.model.fields,field_description:base_tier_validation.field_comment_wizard__id +#: model:ir.model.fields,field_description:base_tier_validation.field_res_config_settings__id #: model:ir.model.fields,field_description:base_tier_validation.field_res_users__id #: model:ir.model.fields,field_description:base_tier_validation.field_tier_definition__id #: model:ir.model.fields,field_description:base_tier_validation.field_tier_review__id @@ -292,6 +299,7 @@ msgstr "" #. module: base_tier_validation #: model:ir.model.fields,field_description:base_tier_validation.field_comment_wizard____last_update +#: model:ir.model.fields,field_description:base_tier_validation.field_res_config_settings____last_update #: model:ir.model.fields,field_description:base_tier_validation.field_res_users____last_update #: model:ir.model.fields,field_description:base_tier_validation.field_tier_definition____last_update #: model:ir.model.fields,field_description:base_tier_validation.field_tier_review____last_update @@ -324,6 +332,11 @@ msgstr "" msgid "More Options" msgstr "" +#. module: base_tier_validation +#: model_terms:ir.ui.view,arch_db:base_tier_validation.res_config_settings_view_form_budget +msgid "More reports about tier validations, i.e., summary of all my reviews" +msgstr "" + #. module: base_tier_validation #: model:ir.model.fields,field_description:base_tier_validation.field_tier_validation__need_validation msgid "Need Validation" @@ -358,6 +371,21 @@ msgstr "" msgid "Notify Reviewers on Creation" msgstr "" +#. module: base_tier_validation +#: model_terms:ir.ui.view,arch_db:base_tier_validation.res_config_settings_view_form_budget +msgid "Option to forward a tier validation to other reviewer, and backward" +msgstr "" + +#. module: base_tier_validation +#: model_terms:ir.ui.view,arch_db:base_tier_validation.res_config_settings_view_form_budget +msgid "Option to trigger server actions on completion of tier reviews" +msgstr "" + +#. module: base_tier_validation +#: model_terms:ir.ui.view,arch_db:base_tier_validation.res_config_settings_view_form_budget +msgid "Option to use python formula to get reviewers and find documents" +msgstr "" + #. module: base_tier_validation #. openerp-web #: code:addons/base_tier_validation/static/src/xml/systray.xml:0 @@ -522,12 +550,37 @@ msgstr "" msgid "Tier Definition" msgstr "" +#. module: base_tier_validation +#: model:ir.model.fields,field_description:base_tier_validation.field_res_config_settings__module_base_tier_validation_formula +msgid "Tier Formula" +msgstr "" + +#. module: base_tier_validation +#: model:ir.model.fields,field_description:base_tier_validation.field_res_config_settings__module_base_tier_validation_forward +msgid "Tier Forward & Backward" +msgstr "" + +#. module: base_tier_validation +#: model:ir.model.fields,field_description:base_tier_validation.field_res_config_settings__module_base_tier_validation_report +msgid "Tier Reports" +msgstr "" + #. module: base_tier_validation #: model:ir.model,name:base_tier_validation.model_tier_review #: model_terms:ir.ui.view,arch_db:base_tier_validation.tier_review_view_tree msgid "Tier Review" msgstr "Vérification par un tiers" +#. module: base_tier_validation +#: model:ir.model.fields,field_description:base_tier_validation.field_res_config_settings__module_base_tier_validation_server_action +msgid "Tier Server Action" +msgstr "" + +#. module: base_tier_validation +#: model_terms:ir.ui.view,arch_db:base_tier_validation.res_config_settings_view_form_budget +msgid "Tier Validation" +msgstr "" + #. module: base_tier_validation #: model:ir.model,name:base_tier_validation.model_tier_validation msgid "Tier Validation (abstract)" diff --git a/base_tier_validation/i18n/it.po b/base_tier_validation/i18n/it.po index 6a67af3..a3069dc 100644 --- a/base_tier_validation/i18n/it.po +++ b/base_tier_validation/i18n/it.po @@ -191,6 +191,11 @@ msgstr "Commenti" msgid "Company" msgstr "Azienda" +#. module: base_tier_validation +#: model:ir.model,name:base_tier_validation.model_res_config_settings +msgid "Config Settings" +msgstr "" + #. module: base_tier_validation #: model:ir.model.fields,field_description:base_tier_validation.field_comment_wizard__create_uid #: model:ir.model.fields,field_description:base_tier_validation.field_tier_definition__create_uid @@ -227,6 +232,7 @@ msgstr "Descrizione" #. module: base_tier_validation #: model:ir.model.fields,field_description:base_tier_validation.field_comment_wizard__display_name +#: model:ir.model.fields,field_description:base_tier_validation.field_res_config_settings__display_name #: model:ir.model.fields,field_description:base_tier_validation.field_res_users__display_name #: model:ir.model.fields,field_description:base_tier_validation.field_tier_definition__display_name #: model:ir.model.fields,field_description:base_tier_validation.field_tier_review__display_name @@ -274,6 +280,7 @@ msgstr "Ha commenti" #. module: base_tier_validation #: model:ir.model.fields,field_description:base_tier_validation.field_comment_wizard__id +#: model:ir.model.fields,field_description:base_tier_validation.field_res_config_settings__id #: model:ir.model.fields,field_description:base_tier_validation.field_res_users__id #: model:ir.model.fields,field_description:base_tier_validation.field_tier_definition__id #: model:ir.model.fields,field_description:base_tier_validation.field_tier_review__id @@ -292,6 +299,7 @@ msgstr "" #. module: base_tier_validation #: model:ir.model.fields,field_description:base_tier_validation.field_comment_wizard____last_update +#: model:ir.model.fields,field_description:base_tier_validation.field_res_config_settings____last_update #: model:ir.model.fields,field_description:base_tier_validation.field_res_users____last_update #: model:ir.model.fields,field_description:base_tier_validation.field_tier_definition____last_update #: model:ir.model.fields,field_description:base_tier_validation.field_tier_review____last_update @@ -324,6 +332,11 @@ msgstr "Modello" msgid "More Options" msgstr "Più Opzioni" +#. module: base_tier_validation +#: model_terms:ir.ui.view,arch_db:base_tier_validation.res_config_settings_view_form_budget +msgid "More reports about tier validations, i.e., summary of all my reviews" +msgstr "" + #. module: base_tier_validation #: model:ir.model.fields,field_description:base_tier_validation.field_tier_validation__need_validation msgid "Need Validation" @@ -358,6 +371,21 @@ msgstr "Nessuna approvazione da fare." msgid "Notify Reviewers on Creation" msgstr "Notifica Approvatori su Creazione" +#. module: base_tier_validation +#: model_terms:ir.ui.view,arch_db:base_tier_validation.res_config_settings_view_form_budget +msgid "Option to forward a tier validation to other reviewer, and backward" +msgstr "" + +#. module: base_tier_validation +#: model_terms:ir.ui.view,arch_db:base_tier_validation.res_config_settings_view_form_budget +msgid "Option to trigger server actions on completion of tier reviews" +msgstr "" + +#. module: base_tier_validation +#: model_terms:ir.ui.view,arch_db:base_tier_validation.res_config_settings_view_form_budget +msgid "Option to use python formula to get reviewers and find documents" +msgstr "" + #. module: base_tier_validation #. openerp-web #: code:addons/base_tier_validation/static/src/xml/systray.xml:0 @@ -526,12 +554,37 @@ msgstr "" msgid "Tier Definition" msgstr "Definizione Livello" +#. module: base_tier_validation +#: model:ir.model.fields,field_description:base_tier_validation.field_res_config_settings__module_base_tier_validation_formula +msgid "Tier Formula" +msgstr "" + +#. module: base_tier_validation +#: model:ir.model.fields,field_description:base_tier_validation.field_res_config_settings__module_base_tier_validation_forward +msgid "Tier Forward & Backward" +msgstr "" + +#. module: base_tier_validation +#: model:ir.model.fields,field_description:base_tier_validation.field_res_config_settings__module_base_tier_validation_report +msgid "Tier Reports" +msgstr "" + #. module: base_tier_validation #: model:ir.model,name:base_tier_validation.model_tier_review #: model_terms:ir.ui.view,arch_db:base_tier_validation.tier_review_view_tree msgid "Tier Review" msgstr "Livello Approvazione" +#. module: base_tier_validation +#: model:ir.model.fields,field_description:base_tier_validation.field_res_config_settings__module_base_tier_validation_server_action +msgid "Tier Server Action" +msgstr "" + +#. module: base_tier_validation +#: model_terms:ir.ui.view,arch_db:base_tier_validation.res_config_settings_view_form_budget +msgid "Tier Validation" +msgstr "" + #. module: base_tier_validation #: model:ir.model,name:base_tier_validation.model_tier_validation msgid "Tier Validation (abstract)" diff --git a/base_tier_validation/i18n/nl_NL.po b/base_tier_validation/i18n/nl_NL.po index ee08eac..2d35c08 100644 --- a/base_tier_validation/i18n/nl_NL.po +++ b/base_tier_validation/i18n/nl_NL.po @@ -180,6 +180,11 @@ msgstr "Opmerkingen" msgid "Company" msgstr "Bedrijf" +#. module: base_tier_validation +#: model:ir.model,name:base_tier_validation.model_res_config_settings +msgid "Config Settings" +msgstr "" + #. module: base_tier_validation #: model:ir.model.fields,field_description:base_tier_validation.field_comment_wizard__create_uid #: model:ir.model.fields,field_description:base_tier_validation.field_tier_definition__create_uid @@ -216,6 +221,7 @@ msgstr "Omschrijving" #. module: base_tier_validation #: model:ir.model.fields,field_description:base_tier_validation.field_comment_wizard__display_name +#: model:ir.model.fields,field_description:base_tier_validation.field_res_config_settings__display_name #: model:ir.model.fields,field_description:base_tier_validation.field_res_users__display_name #: model:ir.model.fields,field_description:base_tier_validation.field_tier_definition__display_name #: model:ir.model.fields,field_description:base_tier_validation.field_tier_review__display_name @@ -263,6 +269,7 @@ msgstr "Heeft commentaar" #. module: base_tier_validation #: model:ir.model.fields,field_description:base_tier_validation.field_comment_wizard__id +#: model:ir.model.fields,field_description:base_tier_validation.field_res_config_settings__id #: model:ir.model.fields,field_description:base_tier_validation.field_res_users__id #: model:ir.model.fields,field_description:base_tier_validation.field_tier_definition__id #: model:ir.model.fields,field_description:base_tier_validation.field_tier_review__id @@ -281,6 +288,7 @@ msgstr "" #. module: base_tier_validation #: model:ir.model.fields,field_description:base_tier_validation.field_comment_wizard____last_update +#: model:ir.model.fields,field_description:base_tier_validation.field_res_config_settings____last_update #: model:ir.model.fields,field_description:base_tier_validation.field_res_users____last_update #: model:ir.model.fields,field_description:base_tier_validation.field_tier_definition____last_update #: model:ir.model.fields,field_description:base_tier_validation.field_tier_review____last_update @@ -313,6 +321,11 @@ msgstr "Model" msgid "More Options" msgstr "" +#. module: base_tier_validation +#: model_terms:ir.ui.view,arch_db:base_tier_validation.res_config_settings_view_form_budget +msgid "More reports about tier validations, i.e., summary of all my reviews" +msgstr "" + #. module: base_tier_validation #: model:ir.model.fields,field_description:base_tier_validation.field_tier_validation__need_validation msgid "Need Validation" @@ -347,6 +360,21 @@ msgstr "Geen beoordelingen te doen." msgid "Notify Reviewers on Creation" msgstr "Informeer beoordelaar bij het maken" +#. module: base_tier_validation +#: model_terms:ir.ui.view,arch_db:base_tier_validation.res_config_settings_view_form_budget +msgid "Option to forward a tier validation to other reviewer, and backward" +msgstr "" + +#. module: base_tier_validation +#: model_terms:ir.ui.view,arch_db:base_tier_validation.res_config_settings_view_form_budget +msgid "Option to trigger server actions on completion of tier reviews" +msgstr "" + +#. module: base_tier_validation +#: model_terms:ir.ui.view,arch_db:base_tier_validation.res_config_settings_view_form_budget +msgid "Option to use python formula to get reviewers and find documents" +msgstr "" + #. module: base_tier_validation #. openerp-web #: code:addons/base_tier_validation/static/src/xml/systray.xml:0 @@ -513,12 +541,37 @@ msgstr "" msgid "Tier Definition" msgstr "Tier definitie" +#. module: base_tier_validation +#: model:ir.model.fields,field_description:base_tier_validation.field_res_config_settings__module_base_tier_validation_formula +msgid "Tier Formula" +msgstr "" + +#. module: base_tier_validation +#: model:ir.model.fields,field_description:base_tier_validation.field_res_config_settings__module_base_tier_validation_forward +msgid "Tier Forward & Backward" +msgstr "" + +#. module: base_tier_validation +#: model:ir.model.fields,field_description:base_tier_validation.field_res_config_settings__module_base_tier_validation_report +msgid "Tier Reports" +msgstr "" + #. module: base_tier_validation #: model:ir.model,name:base_tier_validation.model_tier_review #: model_terms:ir.ui.view,arch_db:base_tier_validation.tier_review_view_tree msgid "Tier Review" msgstr "Tier beoordeling" +#. module: base_tier_validation +#: model:ir.model.fields,field_description:base_tier_validation.field_res_config_settings__module_base_tier_validation_server_action +msgid "Tier Server Action" +msgstr "" + +#. module: base_tier_validation +#: model_terms:ir.ui.view,arch_db:base_tier_validation.res_config_settings_view_form_budget +msgid "Tier Validation" +msgstr "" + #. module: base_tier_validation #: model:ir.model,name:base_tier_validation.model_tier_validation msgid "Tier Validation (abstract)" diff --git a/base_tier_validation/i18n/zh_CN.po b/base_tier_validation/i18n/zh_CN.po index 3edb7f4..f3857ea 100644 --- a/base_tier_validation/i18n/zh_CN.po +++ b/base_tier_validation/i18n/zh_CN.po @@ -180,6 +180,11 @@ msgstr "审批意见" msgid "Company" msgstr "公司" +#. module: base_tier_validation +#: model:ir.model,name:base_tier_validation.model_res_config_settings +msgid "Config Settings" +msgstr "" + #. module: base_tier_validation #: model:ir.model.fields,field_description:base_tier_validation.field_comment_wizard__create_uid #: model:ir.model.fields,field_description:base_tier_validation.field_tier_definition__create_uid @@ -216,6 +221,7 @@ msgstr "说明" #. module: base_tier_validation #: model:ir.model.fields,field_description:base_tier_validation.field_comment_wizard__display_name +#: model:ir.model.fields,field_description:base_tier_validation.field_res_config_settings__display_name #: model:ir.model.fields,field_description:base_tier_validation.field_res_users__display_name #: model:ir.model.fields,field_description:base_tier_validation.field_tier_definition__display_name #: model:ir.model.fields,field_description:base_tier_validation.field_tier_review__display_name @@ -263,6 +269,7 @@ msgstr "含审批意见" #. module: base_tier_validation #: model:ir.model.fields,field_description:base_tier_validation.field_comment_wizard__id +#: model:ir.model.fields,field_description:base_tier_validation.field_res_config_settings__id #: model:ir.model.fields,field_description:base_tier_validation.field_res_users__id #: model:ir.model.fields,field_description:base_tier_validation.field_tier_definition__id #: model:ir.model.fields,field_description:base_tier_validation.field_tier_review__id @@ -279,6 +286,7 @@ msgstr "如果设置,则触发此定义规则时将通过电子邮件通知所 #. module: base_tier_validation #: model:ir.model.fields,field_description:base_tier_validation.field_comment_wizard____last_update +#: model:ir.model.fields,field_description:base_tier_validation.field_res_config_settings____last_update #: model:ir.model.fields,field_description:base_tier_validation.field_res_users____last_update #: model:ir.model.fields,field_description:base_tier_validation.field_tier_definition____last_update #: model:ir.model.fields,field_description:base_tier_validation.field_tier_review____last_update @@ -311,6 +319,11 @@ msgstr "模型" msgid "More Options" msgstr "" +#. module: base_tier_validation +#: model_terms:ir.ui.view,arch_db:base_tier_validation.res_config_settings_view_form_budget +msgid "More reports about tier validations, i.e., summary of all my reviews" +msgstr "" + #. module: base_tier_validation #: model:ir.model.fields,field_description:base_tier_validation.field_tier_validation__need_validation msgid "Need Validation" @@ -345,6 +358,21 @@ msgstr "没有待审批的项目。" msgid "Notify Reviewers on Creation" msgstr "创建时通知审批人" +#. module: base_tier_validation +#: model_terms:ir.ui.view,arch_db:base_tier_validation.res_config_settings_view_form_budget +msgid "Option to forward a tier validation to other reviewer, and backward" +msgstr "" + +#. module: base_tier_validation +#: model_terms:ir.ui.view,arch_db:base_tier_validation.res_config_settings_view_form_budget +msgid "Option to trigger server actions on completion of tier reviews" +msgstr "" + +#. module: base_tier_validation +#: model_terms:ir.ui.view,arch_db:base_tier_validation.res_config_settings_view_form_budget +msgid "Option to use python formula to get reviewers and find documents" +msgstr "" + #. module: base_tier_validation #. openerp-web #: code:addons/base_tier_validation/static/src/xml/systray.xml:0 @@ -511,12 +539,37 @@ msgstr "" msgid "Tier Definition" msgstr "层级定义" +#. module: base_tier_validation +#: model:ir.model.fields,field_description:base_tier_validation.field_res_config_settings__module_base_tier_validation_formula +msgid "Tier Formula" +msgstr "" + +#. module: base_tier_validation +#: model:ir.model.fields,field_description:base_tier_validation.field_res_config_settings__module_base_tier_validation_forward +msgid "Tier Forward & Backward" +msgstr "" + +#. module: base_tier_validation +#: model:ir.model.fields,field_description:base_tier_validation.field_res_config_settings__module_base_tier_validation_report +msgid "Tier Reports" +msgstr "" + #. module: base_tier_validation #: model:ir.model,name:base_tier_validation.model_tier_review #: model_terms:ir.ui.view,arch_db:base_tier_validation.tier_review_view_tree msgid "Tier Review" msgstr "多层级审批" +#. module: base_tier_validation +#: model:ir.model.fields,field_description:base_tier_validation.field_res_config_settings__module_base_tier_validation_server_action +msgid "Tier Server Action" +msgstr "" + +#. module: base_tier_validation +#: model_terms:ir.ui.view,arch_db:base_tier_validation.res_config_settings_view_form_budget +msgid "Tier Validation" +msgstr "" + #. module: base_tier_validation #: model:ir.model,name:base_tier_validation.model_tier_validation msgid "Tier Validation (abstract)" diff --git a/base_tier_validation/models/__init__.py b/base_tier_validation/models/__init__.py index 4bfc7ac..45227c2 100644 --- a/base_tier_validation/models/__init__.py +++ b/base_tier_validation/models/__init__.py @@ -4,3 +4,4 @@ from . import tier_definition from . import tier_review from . import tier_validation from . import res_users +from . import res_config_settings diff --git a/base_tier_validation/models/res_config_settings.py b/base_tier_validation/models/res_config_settings.py new file mode 100644 index 0000000..001c2ed --- /dev/null +++ b/base_tier_validation/models/res_config_settings.py @@ -0,0 +1,12 @@ +# Copyright 2021 Ecosoft Co., Ltd. (http://ecosoft.co.th) +# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). +from flectra import fields, models + + +class ResConfigSettings(models.TransientModel): + _inherit = "res.config.settings" + + module_base_tier_validation_formula = fields.Boolean(string="Tier Formula") + module_base_tier_validation_forward = fields.Boolean("Tier Forward & Backward") + module_base_tier_validation_server_action = fields.Boolean("Tier Server Action") + module_base_tier_validation_report = fields.Boolean("Tier Reports") diff --git a/base_tier_validation/views/res_config_settings_views.xml b/base_tier_validation/views/res_config_settings_views.xml new file mode 100644 index 0000000..185f1a9 --- /dev/null +++ b/base_tier_validation/views/res_config_settings_views.xml @@ -0,0 +1,81 @@ + + + + res.config.settings.view.form.budget + res.config.settings + + + + +
+

Tier Validation

+
+
+
+ +
+
+
+
+
+
+ +
+
+
+
+
+
+ +
+
+
+
+
+
+ +
+
+
+
+
+
+
+
+
+
From e30b9c845a5cd205d7f82de5a2643c4a7702f46b Mon Sep 17 00:00:00 2001 From: Flectra Community Bot Date: Sun, 28 Nov 2021 03:13:50 +0000 Subject: [PATCH 11/21] Automatic Update form OCA2FC Migrator --- .gitlab-ci.yml | 60 +- README.md | 1 + base_tier_validation/i18n/sv.po | 684 ++++++++++++++++++ date_range/COPYRIGHT | 1 + date_range/README.rst | 24 +- date_range/__manifest__.py | 1 + date_range/data/ir_cron_data.xml | 14 + date_range/i18n/am.po | 153 +++- date_range/i18n/ar.po | 158 +++- date_range/i18n/bg.po | 153 +++- date_range/i18n/bs.po | 153 +++- date_range/i18n/ca.po | 153 +++- date_range/i18n/ca_ES.po | 153 +++- date_range/i18n/cs.po | 153 +++- date_range/i18n/da.po | 158 +++- date_range/i18n/date_range.pot | 152 +++- date_range/i18n/de.po | 160 +++- date_range/i18n/el_GR.po | 153 +++- date_range/i18n/en_AU.po | 153 +++- date_range/i18n/en_GB.po | 153 +++- date_range/i18n/es.po | 158 +++- date_range/i18n/es_AR.po | 153 +++- date_range/i18n/es_CL.po | 153 +++- date_range/i18n/es_CO.po | 153 +++- date_range/i18n/es_CR.po | 153 +++- date_range/i18n/es_DO.po | 153 +++- date_range/i18n/es_EC.po | 153 +++- date_range/i18n/es_ES.po | 153 +++- date_range/i18n/es_MX.po | 153 +++- date_range/i18n/es_PE.po | 153 +++- date_range/i18n/es_PY.po | 153 +++- date_range/i18n/es_VE.po | 153 +++- date_range/i18n/et.po | 153 +++- date_range/i18n/eu.po | 153 +++- date_range/i18n/fa.po | 153 +++- date_range/i18n/fi.po | 153 +++- date_range/i18n/fr.po | 153 +++- date_range/i18n/fr_CA.po | 153 +++- date_range/i18n/fr_CH.po | 153 +++- date_range/i18n/fr_FR.po | 158 +++- date_range/i18n/gl.po | 153 +++- date_range/i18n/gl_ES.po | 153 +++- date_range/i18n/he.po | 153 +++- date_range/i18n/hi.po | 153 +++- date_range/i18n/hr.po | 160 +++- date_range/i18n/hr_HR.po | 153 +++- date_range/i18n/hu.po | 153 +++- date_range/i18n/id.po | 153 +++- date_range/i18n/it.po | 158 +++- date_range/i18n/ja.po | 153 +++- date_range/i18n/ko.po | 153 +++- date_range/i18n/lo.po | 153 +++- date_range/i18n/lt.po | 153 +++- date_range/i18n/lt_LT.po | 153 +++- date_range/i18n/lv.po | 153 +++- date_range/i18n/mk.po | 153 +++- date_range/i18n/mn.po | 153 +++- date_range/i18n/nb.po | 153 +++- date_range/i18n/nb_NO.po | 153 +++- date_range/i18n/nl.po | 158 +++- date_range/i18n/nl_BE.po | 153 +++- date_range/i18n/nl_NL.po | 160 +++- date_range/i18n/pl.po | 153 +++- date_range/i18n/pt.po | 158 +++- date_range/i18n/pt_BR.po | 158 +++- date_range/i18n/pt_PT.po | 153 +++- date_range/i18n/ro.po | 153 +++- date_range/i18n/ru.po | 153 +++- date_range/i18n/sk.po | 153 +++- date_range/i18n/sl.po | 153 +++- date_range/i18n/sr.po | 153 +++- date_range/i18n/sr@latin.po | 153 +++- date_range/i18n/sv.po | 153 +++- date_range/i18n/th.po | 153 +++- date_range/i18n/tr.po | 153 +++- date_range/i18n/tr_TR.po | 153 +++- date_range/i18n/uk.po | 153 +++- date_range/i18n/vi.po | 153 +++- date_range/i18n/vi_VN.po | 153 +++- date_range/i18n/zh_CN.po | 158 +++- date_range/i18n/zh_TW.po | 153 +++- date_range/models/date_range_type.py | 93 +++ .../static/description/date_range_create.png | Bin 101189 -> 45425 bytes .../date_range_type_autogeneration.png | Bin 0 -> 77463 bytes .../description/date_range_type_create.png | Bin 79925 -> 34342 bytes .../static/description/date_range_wizard.png | Bin 28955 -> 94624 bytes .../description/date_range_wizard_result.png | Bin 57321 -> 82082 bytes date_range/static/description/index.html | 23 +- date_range/tests/test_date_range_generator.py | 39 +- date_range/tests/test_date_range_type.py | 103 ++- date_range/views/date_range_view.xml | 76 +- date_range/wizard/date_range_generator.py | 292 +++++++- date_range/wizard/date_range_generator.xml | 63 +- sequence_range_end/COPYRIGHT | 16 + sequence_range_end/LICENSE | 663 +++++++++++++++++ sequence_range_end/README.rst | 74 ++ sequence_range_end/__init__.py | 1 + sequence_range_end/__manifest__.py | 14 + .../i18n/sequence_range_end.pot | 55 ++ sequence_range_end/models/__init__.py | 1 + sequence_range_end/models/ir_sequence.py | 77 ++ .../static/description/icon.png | Bin 0 -> 9455 bytes .../static/description/index.html | 420 +++++++++++ sequence_range_end/tests/__init__.py | 3 + .../tests/test_sequence_range_end.py | 47 ++ sequence_range_end/views/sequence_views.xml | 15 + 106 files changed, 13999 insertions(+), 248 deletions(-) create mode 100644 base_tier_validation/i18n/sv.po create mode 100644 date_range/data/ir_cron_data.xml create mode 100644 date_range/static/description/date_range_type_autogeneration.png create mode 100644 sequence_range_end/COPYRIGHT create mode 100644 sequence_range_end/LICENSE create mode 100644 sequence_range_end/README.rst create mode 100644 sequence_range_end/__init__.py create mode 100644 sequence_range_end/__manifest__.py create mode 100644 sequence_range_end/i18n/sequence_range_end.pot create mode 100644 sequence_range_end/models/__init__.py create mode 100644 sequence_range_end/models/ir_sequence.py create mode 100644 sequence_range_end/static/description/icon.png create mode 100644 sequence_range_end/static/description/index.html create mode 100644 sequence_range_end/tests/__init__.py create mode 100644 sequence_range_end/tests/test_sequence_range_end.py create mode 100644 sequence_range_end/views/sequence_views.xml diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index fd4a333..211c5d6 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -68,12 +68,13 @@ test_all_modules: --db_password flectra --database test_all --test-enable - --init base_cancel_confirm,filter_multi_user,default_multi_user,sequence_reset_period,sequence_check_digit,base_import_security_group,date_range,base_tier_validation_forward,base_menu_visibility_restriction,barcode_action,multi_step_wizard,base_technical_features,base_tier_validation_formula,base_tier_validation,base_search_custom_field_filter,base_revision,base_export_manager,document_quick_access,mass_editing,base_tier_validation_server_action,mass_operation_abstract,chained_swapper,base_optional_quick_create,document_quick_access_folder_auto_classification + --init base_cancel_confirm,filter_multi_user,default_multi_user,sequence_range_end,sequence_reset_period,sequence_check_digit,base_import_security_group,date_range,base_tier_validation_forward,base_menu_visibility_restriction,barcode_action,multi_step_wizard,base_technical_features,base_tier_validation_formula,base_tier_validation,base_search_custom_field_filter,base_revision,base_export_manager,document_quick_access,mass_editing,base_tier_validation_server_action,mass_operation_abstract,chained_swapper,base_optional_quick_create,document_quick_access_folder_auto_classification --stop-after-init --log-level error --log-handler flectra.addons.base_cancel_confirm:TEST --log-handler flectra.addons.filter_multi_user:TEST --log-handler flectra.addons.default_multi_user:TEST + --log-handler flectra.addons.sequence_range_end:TEST --log-handler flectra.addons.sequence_reset_period:TEST --log-handler flectra.addons.sequence_check_digit:TEST --log-handler flectra.addons.base_import_security_group:TEST @@ -269,6 +270,63 @@ test_module_default_multi_user: --log-level error --log-handler flectra.addons.default_multi_user:TEST" +test_module_sequence_range_end: + 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 libzbar0 poppler-utils + - 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/account-closing.git ~/others/account-closing" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/account-invoicing.git ~/others/account-invoicing" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/account-payment.git ~/others/account-payment" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/bank-payment.git ~/others/bank-payment" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/brand.git ~/others/brand" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/community-data-files.git ~/others/community-data-files" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/connector.git ~/others/connector" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/edi.git ~/others/edi" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/partner-contact.git ~/others/partner-contact" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/product-attribute.git ~/others/product-attribute" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/queue.git ~/others/queue" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/report-print-send.git ~/others/report-print-send" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/rest-framework.git ~/others/rest-framework" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/sale-workflow.git ~/others/sale-workflow" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/server-auth.git ~/others/server-auth" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/server-env.git ~/others/server-env" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/server-tools.git ~/others/server-tools" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/social.git ~/others/social" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/stock-logistics-transport.git ~/others/stock-logistics-transport" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/stock-logistics-warehouse.git ~/others/stock-logistics-warehouse" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/stock-logistics-workflow.git ~/others/stock-logistics-workflow" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/storage.git ~/others/storage" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/web.git ~/others/web" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/wms.git ~/others/wms" + - 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_sequence_range_end + - psql -h psql -U flectra -d test_sequence_range_end -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_sequence_range_end + - chown -R flectra.flectra /opt/flectra/.local/share/filestore/test_sequence_range_end + - su - flectra -c "/opt/flectra/flectra-bin + --addons-path ${CI_PROJECT_DIR},~/others/account-closing,~/others/account-invoicing,~/others/account-payment,~/others/bank-payment,~/others/brand,~/others/community-data-files,~/others/connector,~/others/edi,~/others/partner-contact,~/others/product-attribute,~/others/queue,~/others/report-print-send,~/others/rest-framework,~/others/sale-workflow,~/others/server-auth,~/others/server-env,~/others/server-tools,~/others/social,~/others/stock-logistics-transport,~/others/stock-logistics-warehouse,~/others/stock-logistics-workflow,~/others/storage,~/others/web,~/others/wms + --db_host psql + --db_port 5432 + --db_user flectra + --db_password flectra + --database test_sequence_range_end + --test-enable -i sequence_range_end + --stop-after-init + --log-level error + --log-handler flectra.addons.sequence_range_end:TEST" + test_module_sequence_reset_period: stage: testsingle when: on_failure diff --git a/README.md b/README.md index 16dfc6f..f242379 100644 --- a/README.md +++ b/README.md @@ -12,6 +12,7 @@ addon | version | summary [base_cancel_confirm](base_cancel_confirm/) | 2.0.1.0.2| Base Cancel Confirm [filter_multi_user](filter_multi_user/) | 2.0.1.0.0| Allows to share user-defined filters filters among several users. [default_multi_user](default_multi_user/) | 2.0.1.0.0| Allows to share user-defined defaults among several users. +[sequence_range_end](sequence_range_end/) | 2.0.1.0.0| Sequence prefix/suffix option, 'range_end_', to use the beginning of the range [sequence_reset_period](sequence_reset_period/) | 2.0.1.0.0| Auto-generate yearly/monthly/weekly/daily sequence period ranges [sequence_check_digit](sequence_check_digit/) | 2.0.1.0.0| Adds a check digit on sequences [base_import_security_group](base_import_security_group/) | 2.0.1.0.0| Group-based permissions for importing CSV files diff --git a/base_tier_validation/i18n/sv.po b/base_tier_validation/i18n/sv.po new file mode 100644 index 0000000..8033de4 --- /dev/null +++ b/base_tier_validation/i18n/sv.po @@ -0,0 +1,684 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * base_tier_validation +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 14.0\n" +"Report-Msgid-Bugs-To: \n" +"PO-Revision-Date: 2021-11-24 12:20+0000\n" +"Last-Translator: Simon S \n" +"Language-Team: none\n" +"Language: sv\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Plural-Forms: nplurals=2; plural=n != 1;\n" +"X-Generator: Weblate 4.3.2\n" + +#. module: base_tier_validation +#. openerp-web +#: code:addons/base_tier_validation/static/src/xml/systray.xml:0 +#, python-format +msgid "0 Pending" +msgstr "0 väntande" + +#. module: base_tier_validation +#: model_terms:ir.ui.view,arch_db:base_tier_validation.tier_validation_label +msgid "" +"\n" +" This Record needs to be\n" +" validated." +msgstr "" +"\n" +" Den här posten måste\n" +" valideras." + +#. module: base_tier_validation +#: model_terms:ir.ui.view,arch_db:base_tier_validation.tier_validation_label +msgid "" +"\n" +" Operation has been\n" +" rejected\n" +" ." +msgstr "" +"\n" +" Åtgärden har\n" +" nekats\n" +" ." + +#. module: base_tier_validation +#: model_terms:ir.ui.view,arch_db:base_tier_validation.tier_validation_label +msgid "" +"\n" +" Operation has been\n" +" validated\n" +" !" +msgstr "" +"\n" +" Åtgärden har\n" +" validerats\n" +" !" + +#. module: base_tier_validation +#: model_terms:ir.ui.view,arch_db:base_tier_validation.tier_definition_view_form +msgid "Name" +msgstr "Namn" + +#. module: base_tier_validation +#: code:addons/base_tier_validation/models/tier_validation.py:0 +#, python-format +msgid "A review has been requested by %s." +msgstr "En granskning har begärts av %s." + +#. module: base_tier_validation +#: code:addons/base_tier_validation/models/tier_validation.py:0 +#, python-format +msgid "A review was accepted" +msgstr "En granskning accepterades" + +#. module: base_tier_validation +#: code:addons/base_tier_validation/models/tier_validation.py:0 +#, python-format +msgid "A review was accepted. (%s)" +msgstr "En granskning accepterades. (%s)" + +#. module: base_tier_validation +#: code:addons/base_tier_validation/models/tier_validation.py:0 +#, python-format +msgid "A review was rejected by %s." +msgstr "En granskning nekades av %s." + +#. module: base_tier_validation +#: code:addons/base_tier_validation/models/tier_validation.py:0 +#, python-format +msgid "A review was rejected by {}. ({})" +msgstr "En granskning nekades av {}. ({})" + +#. module: base_tier_validation +#: code:addons/base_tier_validation/models/tier_validation.py:0 +#, python-format +msgid "A validation process is still open for at least one record." +msgstr "En valideringsprocess är fortfarande öppen för minst en post." + +#. module: base_tier_validation +#: model:ir.model.fields,field_description:base_tier_validation.field_tier_definition__active +msgid "Active" +msgstr "Aktiv" + +#. module: base_tier_validation +#. openerp-web +#: code:addons/base_tier_validation/static/src/xml/systray.xml:0 +#, python-format +msgid "Activities" +msgstr "Aktiviteter" + +#. module: base_tier_validation +#: model_terms:ir.ui.view,arch_db:base_tier_validation.tier_definition_view_search +msgid "All" +msgstr "Alla" + +#. module: base_tier_validation +#: model:ir.model.fields.selection,name:base_tier_validation.selection__tier_definition__review_type__group +msgid "Any user in a specific group" +msgstr "Alla användare i en specifik grupp" + +#. module: base_tier_validation +#: model_terms:ir.ui.view,arch_db:base_tier_validation.tier_definition_view_form +msgid "Apply On" +msgstr "Applicera på" + +#. module: base_tier_validation +#: model:ir.model.fields,help:base_tier_validation.field_tier_definition__approve_sequence +#: model:ir.model.fields,help:base_tier_validation.field_tier_review__approve_sequence +msgid "Approval order by the specified sequence number" +msgstr "Godkännandeordning enligt angivet sekvensnummer" + +#. module: base_tier_validation +#: model:ir.model.fields,field_description:base_tier_validation.field_tier_definition__approve_sequence +#: model:ir.model.fields,field_description:base_tier_validation.field_tier_review__approve_sequence +msgid "Approve by sequence" +msgstr "Godkänn efter sekvens" + +#. module: base_tier_validation +#: model:ir.model.fields.selection,name:base_tier_validation.selection__tier_review__status__approved +msgid "Approved" +msgstr "Godkänd" + +#. module: base_tier_validation +#: model:ir.model.fields,field_description:base_tier_validation.field_tier_review__can_review +#: model:ir.model.fields,field_description:base_tier_validation.field_tier_validation__can_review +msgid "Can Review" +msgstr "Kan granska" + +#. module: base_tier_validation +#: model:ir.model.fields,help:base_tier_validation.field_tier_review__can_review +msgid "" +"Can review will be marked if the review is pending and the\n" +" approve sequence has been achieved" +msgstr "" +"Kan granska kommer att vara ikryssad om granskningen är väntande och\n" +" godkännandesekvensen har uppnåtts" + +#. module: base_tier_validation +#: model_terms:ir.ui.view,arch_db:base_tier_validation.view_comment_wizard +msgid "Cancel" +msgstr "Avbryt" + +#. module: base_tier_validation +#. openerp-web +#: code:addons/base_tier_validation/models/tier_validation.py:0 +#: code:addons/base_tier_validation/static/src/xml/tier_review_template.xml:0 +#: model:ir.model.fields,field_description:base_tier_validation.field_comment_wizard__comment +#: model:ir.model.fields,field_description:base_tier_validation.field_tier_definition__has_comment +#: model:ir.model.fields,field_description:base_tier_validation.field_tier_review__has_comment +#: model_terms:ir.ui.view,arch_db:base_tier_validation.view_comment_wizard +#, python-format +msgid "Comment" +msgstr "Kommentar" + +#. module: base_tier_validation +#: model:ir.model,name:base_tier_validation.model_comment_wizard +msgid "Comment Wizard" +msgstr "Kommentarsguide" + +#. module: base_tier_validation +#: model:ir.model.fields,field_description:base_tier_validation.field_tier_review__comment +msgid "Comments" +msgstr "Kommentarer" + +#. module: base_tier_validation +#: model:ir.model.fields,field_description:base_tier_validation.field_tier_definition__company_id +#: model:ir.model.fields,field_description:base_tier_validation.field_tier_review__company_id +msgid "Company" +msgstr "Bolag" + +#. module: base_tier_validation +#: model:ir.model,name:base_tier_validation.model_res_config_settings +msgid "Config Settings" +msgstr "Konfigurationsinställningar" + +#. module: base_tier_validation +#: model:ir.model.fields,field_description:base_tier_validation.field_comment_wizard__create_uid +#: model:ir.model.fields,field_description:base_tier_validation.field_tier_definition__create_uid +#: model:ir.model.fields,field_description:base_tier_validation.field_tier_review__create_uid +msgid "Created by" +msgstr "Skapad av" + +#. module: base_tier_validation +#: model:ir.model.fields,field_description:base_tier_validation.field_comment_wizard__create_date +#: model:ir.model.fields,field_description:base_tier_validation.field_tier_definition__create_date +#: model:ir.model.fields,field_description:base_tier_validation.field_tier_review__create_date +msgid "Created on" +msgstr "Skapad den" + +#. module: base_tier_validation +#: model:ir.model.fields,field_description:base_tier_validation.field_tier_definition__definition_type +#: model:ir.model.fields,field_description:base_tier_validation.field_tier_review__definition_id +msgid "Definition" +msgstr "Definition" + +#. module: base_tier_validation +#: model:ir.model.fields,field_description:base_tier_validation.field_tier_definition__definition_domain +msgid "Definition Domain" +msgstr "Definitionsdomän" + +#. module: base_tier_validation +#. openerp-web +#: code:addons/base_tier_validation/static/src/xml/tier_review_template.xml:0 +#: model:ir.model.fields,field_description:base_tier_validation.field_tier_definition__name +#: model:ir.model.fields,field_description:base_tier_validation.field_tier_review__name +#, python-format +msgid "Description" +msgstr "Beskrivning" + +#. module: base_tier_validation +#: model:ir.model.fields,field_description:base_tier_validation.field_comment_wizard__display_name +#: model:ir.model.fields,field_description:base_tier_validation.field_res_config_settings__display_name +#: model:ir.model.fields,field_description:base_tier_validation.field_res_users__display_name +#: model:ir.model.fields,field_description:base_tier_validation.field_tier_definition__display_name +#: model:ir.model.fields,field_description:base_tier_validation.field_tier_review__display_name +#: model:ir.model.fields,field_description:base_tier_validation.field_tier_validation__display_name +msgid "Display Name" +msgstr "Visningsnamn" + +#. module: base_tier_validation +#: model:ir.model.fields.selection,name:base_tier_validation.selection__tier_definition__definition_type__domain +msgid "Domain" +msgstr "Domän" + +#. module: base_tier_validation +#: model:ir.model.fields,field_description:base_tier_validation.field_tier_review__done_by +msgid "Done By" +msgstr "Gjord av" + +#. module: base_tier_validation +#. openerp-web +#: code:addons/base_tier_validation/static/src/xml/tier_review_template.xml:0 +#, python-format +msgid "Done by" +msgstr "Gjord av" + +#. module: base_tier_validation +#: model:ir.model.fields.selection,name:base_tier_validation.selection__tier_definition__review_type__field +msgid "Field in related record" +msgstr "Fält i relaterad post" + +#. module: base_tier_validation +#: code:addons/base_tier_validation/models/tier_review.py:0 +#, python-format +msgid "Group %s" +msgstr "Grupp %s" + +#. module: base_tier_validation +#: model_terms:ir.ui.view,arch_db:base_tier_validation.tier_definition_view_search +msgid "Group By" +msgstr "Gruppera efter" + +#. module: base_tier_validation +#: model:ir.model.fields,field_description:base_tier_validation.field_tier_validation__has_comment +msgid "Has Comment" +msgstr "Har kommentar" + +#. module: base_tier_validation +#: model:ir.model.fields,field_description:base_tier_validation.field_comment_wizard__id +#: model:ir.model.fields,field_description:base_tier_validation.field_res_config_settings__id +#: model:ir.model.fields,field_description:base_tier_validation.field_res_users__id +#: model:ir.model.fields,field_description:base_tier_validation.field_tier_definition__id +#: model:ir.model.fields,field_description:base_tier_validation.field_tier_review__id +#: model:ir.model.fields,field_description:base_tier_validation.field_tier_validation__id +msgid "ID" +msgstr "ID" + +#. module: base_tier_validation +#: model:ir.model.fields,help:base_tier_validation.field_tier_definition__notify_on_create +msgid "" +"If set, all possible reviewers will be notified by email when this " +"definition is triggered." +msgstr "" +"Om den är inställd kommer alla möjliga granskare att meddelas via e-post när " +"denna definition aktiveras." + +#. module: base_tier_validation +#: model:ir.model.fields,field_description:base_tier_validation.field_comment_wizard____last_update +#: model:ir.model.fields,field_description:base_tier_validation.field_res_config_settings____last_update +#: model:ir.model.fields,field_description:base_tier_validation.field_res_users____last_update +#: model:ir.model.fields,field_description:base_tier_validation.field_tier_definition____last_update +#: model:ir.model.fields,field_description:base_tier_validation.field_tier_review____last_update +#: model:ir.model.fields,field_description:base_tier_validation.field_tier_validation____last_update +msgid "Last Modified on" +msgstr "Senast ändrad den" + +#. module: base_tier_validation +#: model:ir.model.fields,field_description:base_tier_validation.field_comment_wizard__write_uid +#: model:ir.model.fields,field_description:base_tier_validation.field_tier_definition__write_uid +#: model:ir.model.fields,field_description:base_tier_validation.field_tier_review__write_uid +msgid "Last Updated by" +msgstr "Senast uppdaterad av" + +#. module: base_tier_validation +#: model:ir.model.fields,field_description:base_tier_validation.field_comment_wizard__write_date +#: model:ir.model.fields,field_description:base_tier_validation.field_tier_definition__write_date +#: model:ir.model.fields,field_description:base_tier_validation.field_tier_review__write_date +msgid "Last Updated on" +msgstr "Senast uppdaterad den" + +#. module: base_tier_validation +#: model:ir.model.fields,field_description:base_tier_validation.field_tier_definition__model +#: model_terms:ir.ui.view,arch_db:base_tier_validation.tier_definition_view_search +msgid "Model" +msgstr "Modell" + +#. module: base_tier_validation +#: model_terms:ir.ui.view,arch_db:base_tier_validation.tier_definition_view_form +msgid "More Options" +msgstr "Fler alternativ" + +#. module: base_tier_validation +#: model_terms:ir.ui.view,arch_db:base_tier_validation.res_config_settings_view_form_budget +msgid "More reports about tier validations, i.e., summary of all my reviews" +msgstr "" +"Fler rapporter om attesteringar, dvs. en sammanfattning av alla mina " +"granskningar" + +#. module: base_tier_validation +#: model:ir.model.fields,field_description:base_tier_validation.field_tier_validation__need_validation +msgid "Need Validation" +msgstr "Behöver validering" + +#. module: base_tier_validation +#: code:addons/base_tier_validation/models/tier_definition.py:0 +#, python-format +msgid "New Tier Validation" +msgstr "Ny attestering" + +#. module: base_tier_validation +#: model:ir.model.fields,field_description:base_tier_validation.field_tier_validation__next_review +msgid "Next Review" +msgstr "Nästa granskning" + +#. module: base_tier_validation +#: code:addons/base_tier_validation/models/tier_validation.py:0 +#, python-format +msgid "Next: %s" +msgstr "Nästa: %s" + +#. module: base_tier_validation +#. openerp-web +#: code:addons/base_tier_validation/static/src/xml/systray.xml:0 +#, python-format +msgid "No reviews to do." +msgstr "Inga granskningar att göra." + +#. module: base_tier_validation +#: model:ir.model.fields,field_description:base_tier_validation.field_tier_definition__notify_on_create +msgid "Notify Reviewers on Creation" +msgstr "Meddela granskare vid skapande" + +#. module: base_tier_validation +#: model_terms:ir.ui.view,arch_db:base_tier_validation.res_config_settings_view_form_budget +msgid "Option to forward a tier validation to other reviewer, and backward" +msgstr "" +"Alternativ för att vidarebefordra en attestering till en annan granskare och " +"bakåt" + +#. module: base_tier_validation +#: model_terms:ir.ui.view,arch_db:base_tier_validation.res_config_settings_view_form_budget +msgid "Option to trigger server actions on completion of tier reviews" +msgstr "" +"Alternativ för att utlösa serveråtgärder när attesteringar har slutförts" + +#. module: base_tier_validation +#: model_terms:ir.ui.view,arch_db:base_tier_validation.res_config_settings_view_form_budget +msgid "Option to use python formula to get reviewers and find documents" +msgstr "" +"Alternativ för att använda python-formel för att få fram granskare och hitta " +"dokument" + +#. module: base_tier_validation +#. openerp-web +#: code:addons/base_tier_validation/static/src/xml/systray.xml:0 +#: model:ir.model.fields.selection,name:base_tier_validation.selection__tier_review__status__pending +#, python-format +msgid "Pending" +msgstr "Väntande" + +#. module: base_tier_validation +#: model:ir.model.fields,field_description:base_tier_validation.field_tier_definition__model_id +msgid "Referenced Model" +msgstr "Refererad modell" + +#. module: base_tier_validation +#: model_terms:ir.ui.view,arch_db:base_tier_validation.tier_validation_label +msgid "Reject" +msgstr "Neka" + +#. module: base_tier_validation +#: model:ir.model.fields,field_description:base_tier_validation.field_tier_validation__rejected +#: model:ir.model.fields.selection,name:base_tier_validation.selection__tier_review__status__rejected +msgid "Rejected" +msgstr "Nekad" + +#. module: base_tier_validation +#: model:ir.model.fields,field_description:base_tier_validation.field_tier_review__res_id +msgid "Related Document ID" +msgstr "ID för relaterat dokument" + +#. module: base_tier_validation +#: model:ir.model.fields,field_description:base_tier_validation.field_tier_review__model +msgid "Related Document Model" +msgstr "Modell för relaterat dokument" + +#. module: base_tier_validation +#: model_terms:ir.ui.view,arch_db:base_tier_validation.tier_validation_buttons +msgid "Request Validation" +msgstr "Begär validering" + +#. module: base_tier_validation +#: model:ir.model.fields,field_description:base_tier_validation.field_tier_review__requested_by +msgid "Requested By" +msgstr "Begärd av" + +#. module: base_tier_validation +#. openerp-web +#: code:addons/base_tier_validation/static/src/xml/tier_review_template.xml:0 +#, python-format +msgid "Requested by" +msgstr "Begärd av" + +#. module: base_tier_validation +#: model:ir.model.fields,field_description:base_tier_validation.field_comment_wizard__res_id +msgid "Res" +msgstr "" + +#. module: base_tier_validation +#: model:ir.model.fields,field_description:base_tier_validation.field_comment_wizard__res_model +msgid "Res Model" +msgstr "" + +#. module: base_tier_validation +#: model_terms:ir.ui.view,arch_db:base_tier_validation.tier_validation_buttons +msgid "Restart Validation" +msgstr "Starta om validering" + +#. module: base_tier_validation +#. openerp-web +#: code:addons/base_tier_validation/static/src/xml/systray.xml:0 +#: model:ir.model.fields,field_description:base_tier_validation.field_comment_wizard__review_ids +#, python-format +msgid "Review" +msgstr "Granska" + +#. module: base_tier_validation +#: model:ir.model.fields,field_description:base_tier_validation.field_tier_definition__reviewer_id +#: model:ir.model.fields,field_description:base_tier_validation.field_tier_review__reviewer_id +msgid "Reviewer" +msgstr "Granskare" + +#. module: base_tier_validation +#: model:ir.model.fields,field_description:base_tier_validation.field_tier_definition__reviewer_field_id +#: model:ir.model.fields,field_description:base_tier_validation.field_tier_review__reviewer_field_id +msgid "Reviewer field" +msgstr "Granskarfält" + +#. module: base_tier_validation +#: model:ir.model.fields,field_description:base_tier_validation.field_tier_definition__reviewer_group_id +#: model:ir.model.fields,field_description:base_tier_validation.field_tier_review__reviewer_group_id +msgid "Reviewer group" +msgstr "Granskargrupp" + +#. module: base_tier_validation +#: model:ir.model.fields,field_description:base_tier_validation.field_tier_review__reviewer_ids +#: model:ir.model.fields,field_description:base_tier_validation.field_tier_validation__reviewer_ids +msgid "Reviewers" +msgstr "Granskare" + +#. module: base_tier_validation +#. openerp-web +#: code:addons/base_tier_validation/static/src/xml/systray.xml:0 +#: code:addons/base_tier_validation/static/src/xml/tier_review_template.xml:0 +#: model:ir.model.fields,field_description:base_tier_validation.field_res_users__review_ids +#, python-format +msgid "Reviews" +msgstr "Granskningar" + +#. module: base_tier_validation +#. openerp-web +#: code:addons/base_tier_validation/static/src/xml/tier_review_template.xml:0 +#: model:ir.model.fields,field_description:base_tier_validation.field_tier_definition__sequence +#: model:ir.model.fields,field_description:base_tier_validation.field_tier_review__sequence +#, python-format +msgid "Sequence" +msgstr "Sekvens" + +#. module: base_tier_validation +#: model:ir.model.fields.selection,name:base_tier_validation.selection__tier_definition__review_type__individual +msgid "Specific user" +msgstr "Specifik användare" + +#. module: base_tier_validation +#. openerp-web +#: code:addons/base_tier_validation/static/src/xml/tier_review_template.xml:0 +#: model:ir.model.fields,field_description:base_tier_validation.field_tier_review__status +#, python-format +msgid "Status" +msgstr "Status" + +#. module: base_tier_validation +#: code:addons/base_tier_validation/models/tier_validation.py:0 +#, python-format +msgid "The operation is under validation." +msgstr "Åtgärden håller på att valideras." + +#. module: base_tier_validation +#: code:addons/base_tier_validation/models/tier_validation.py:0 +#, python-format +msgid "The review has been reset by %s." +msgstr "Granskningen har återställts av %s." + +#. module: base_tier_validation +#: code:addons/base_tier_validation/models/tier_review.py:0 +#, python-format +msgid "There are no res.users in the selected field" +msgstr "Det finns inga res.users i det valda fältet" + +#. module: base_tier_validation +#: code:addons/base_tier_validation/models/tier_validation.py:0 +#, python-format +msgid "" +"This action needs to be validated for at least one record. \n" +"Please request a validation." +msgstr "" +"Denna åtgärd måste valideras för minst en post.\n" +"Vänligen begär en validering." + +#. module: base_tier_validation +#: model:ir.actions.act_window,name:base_tier_validation.tier_definition_action +#: model:ir.model,name:base_tier_validation.model_tier_definition +#: model:ir.ui.menu,name:base_tier_validation.menu_tier_definition +#: model_terms:ir.ui.view,arch_db:base_tier_validation.tier_definition_view_form +#: model_terms:ir.ui.view,arch_db:base_tier_validation.tier_definition_view_tree +msgid "Tier Definition" +msgstr "Attestdefinition" + +#. module: base_tier_validation +#: model:ir.model.fields,field_description:base_tier_validation.field_res_config_settings__module_base_tier_validation_formula +msgid "Tier Formula" +msgstr "Attestformel" + +#. module: base_tier_validation +#: model:ir.model.fields,field_description:base_tier_validation.field_res_config_settings__module_base_tier_validation_forward +msgid "Tier Forward & Backward" +msgstr "Attest framåt och bakåt" + +#. module: base_tier_validation +#: model:ir.model.fields,field_description:base_tier_validation.field_res_config_settings__module_base_tier_validation_report +msgid "Tier Reports" +msgstr "Attestrapporter" + +#. module: base_tier_validation +#: model:ir.model,name:base_tier_validation.model_tier_review +#: model_terms:ir.ui.view,arch_db:base_tier_validation.tier_review_view_tree +msgid "Tier Review" +msgstr "Attestgranskning" + +#. module: base_tier_validation +#: model:ir.model.fields,field_description:base_tier_validation.field_res_config_settings__module_base_tier_validation_server_action +msgid "Tier Server Action" +msgstr "Attestserveråtgärd" + +#. module: base_tier_validation +#: model_terms:ir.ui.view,arch_db:base_tier_validation.res_config_settings_view_form_budget +msgid "Tier Validation" +msgstr "Attestering" + +#. module: base_tier_validation +#: model:ir.model,name:base_tier_validation.model_tier_validation +msgid "Tier Validation (abstract)" +msgstr "Attestering (sammanfattning)" + +#. module: base_tier_validation +#: model:mail.message.subtype,name:base_tier_validation.mt_tier_validation_accepted +msgid "Tier Validation Accepted Notification" +msgstr "Meddelande vid accepterad attestering" + +#. module: base_tier_validation +#: model:mail.message.subtype,name:base_tier_validation.mt_tier_validation_rejected +msgid "Tier Validation Rejected Notification" +msgstr "Meddelande vid nekad attestering" + +#. module: base_tier_validation +#: model:mail.message.subtype,name:base_tier_validation.mt_tier_validation_requested +msgid "Tier Validation Requested" +msgstr "Attestering begärd" + +#. module: base_tier_validation +#: model:mail.message.subtype,name:base_tier_validation.mt_tier_validation_restarted +msgid "Tier Validation Restarted" +msgstr "Attestering omstartad" + +#. module: base_tier_validation +#: model:ir.ui.menu,name:base_tier_validation.menu_tier_confirmation +msgid "Tier Validations" +msgstr "Attesteringar" + +#. module: base_tier_validation +#: model:ir.model.fields,field_description:base_tier_validation.field_tier_review__todo_by +msgid "Todo By" +msgstr "Att göra av" + +#. module: base_tier_validation +#. openerp-web +#: code:addons/base_tier_validation/static/src/xml/tier_review_template.xml:0 +#, python-format +msgid "Todo by" +msgstr "Att göra av" + +#. module: base_tier_validation +#: model:ir.model,name:base_tier_validation.model_res_users +msgid "Users" +msgstr "Användare" + +#. module: base_tier_validation +#: model:ir.model.fields,field_description:base_tier_validation.field_tier_definition__valid_reviewer_field_ids +msgid "Valid Reviewer Field" +msgstr "" + +#. module: base_tier_validation +#: model_terms:ir.ui.view,arch_db:base_tier_validation.tier_validation_label +msgid "Validate" +msgstr "Validera" + +#. module: base_tier_validation +#: model:ir.model.fields,field_description:base_tier_validation.field_comment_wizard__validate_reject +msgid "Validate Reject" +msgstr "Validera Neka" + +#. module: base_tier_validation +#: model:ir.model.fields,field_description:base_tier_validation.field_tier_validation__validated +msgid "Validated" +msgstr "Validerad" + +#. module: base_tier_validation +#: model:ir.model.fields,field_description:base_tier_validation.field_tier_definition__review_type +#: model:ir.model.fields,field_description:base_tier_validation.field_tier_review__review_type +msgid "Validated by" +msgstr "Validerad av" + +#. module: base_tier_validation +#. openerp-web +#: code:addons/base_tier_validation/static/src/xml/tier_review_template.xml:0 +#: model:ir.model.fields,field_description:base_tier_validation.field_tier_review__reviewed_date +#, python-format +msgid "Validation Date" +msgstr "Valideringsdatum" + +#. module: base_tier_validation +#: model:ir.model.fields,field_description:base_tier_validation.field_tier_validation__review_ids +msgid "Validations" +msgstr "Valideringar" + +#. module: base_tier_validation +#: model_terms:ir.ui.view,arch_db:base_tier_validation.tier_definition_view_form +msgid "e.g. Tier Validation for..." +msgstr "t.ex. attestvalidering för..." diff --git a/date_range/COPYRIGHT b/date_range/COPYRIGHT index f9c4be0..61b9589 100644 --- a/date_range/COPYRIGHT +++ b/date_range/COPYRIGHT @@ -5,6 +5,7 @@ Most of the files are :Copyright: This stylesheet has been placed in the public domain. +

Beta License: AGPL-3 OCA/server-ux Translate me on Weblate Try me on Runbot

+

When configure for sequence prefix/suffix, this module add option range_end_ in addition to range_. +to use the ending of the range instead of the current date, e.g. %(range_end_year)s instead of %(year)s.

+

Table of contents

+ +
+

Bug Tracker

+

Bugs are tracked on GitHub Issues. +In case of trouble, please check there if your issue has already been reported. +If you spotted it first, help us smashing it by providing a detailed and welcomed +feedback.

+

Do not contact contributors directly about support or help with technical issues.

+
+
+

Credits

+
+

Authors

+
    +
  • Ecosoft
  • +
+
+ +
+

Maintainers

+

This module is maintained by the OCA.

+Odoo Community Association +

OCA, or the Odoo Community Association, is a nonprofit organization whose +mission is to support the collaborative development of Odoo features and +promote its widespread use.

+

This module is part of the OCA/server-ux project on GitHub.

+

You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.

+
+
+
+ + diff --git a/sequence_range_end/tests/__init__.py b/sequence_range_end/tests/__init__.py new file mode 100644 index 0000000..a57c2c6 --- /dev/null +++ b/sequence_range_end/tests/__init__.py @@ -0,0 +1,3 @@ +# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl). + +from . import test_sequence_range_end diff --git a/sequence_range_end/tests/test_sequence_range_end.py b/sequence_range_end/tests/test_sequence_range_end.py new file mode 100644 index 0000000..193836b --- /dev/null +++ b/sequence_range_end/tests/test_sequence_range_end.py @@ -0,0 +1,47 @@ +# Copyright 2020 Ecosoft Co., Ltd. (http://ecosoft.co.th) +# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). + +from flectra.tests.common import TransactionCase + + +class TestSequenceRangeEnd(TransactionCase): + def setUp(self): + super(TestSequenceRangeEnd, self).setUp() + self.sequence_obj = self.env["ir.sequence"] + self.sequence_code = "test.sequence" + vals = { + "name": "Test Sequence", + "implementation": "standard", + "code": self.sequence_code, + "use_date_range": True, + "padding": 3, + "date_range_ids": [ + ( + 0, + 0, + { + "date_from": "2020-10-01", + "date_to": "2021-09-30", + "number_next_actual": 1, + }, + ) + ], + } + self.test_sequence = self.sequence_obj.create(vals) + + def test_range_year(self): + """range_year: use year of date_from + range_end_year: use year of date_to""" + test_date = "2021-03-10" + # range_year + self.test_sequence.prefix = "TEST/%(range_year)s/" + number = self.sequence_obj.next_by_code( + "test.sequence", sequence_date=test_date + ) + self.assertEqual(number, "TEST/2020/001") + # range_end_year + self.test_sequence.prefix = "TEST/%(range_end_year)s/" + number = self.sequence_obj.next_by_code( + "test.sequence", sequence_date=test_date + ) + self.assertEqual(number, "TEST/2021/002") diff --git a/sequence_range_end/views/sequence_views.xml b/sequence_range_end/views/sequence_views.xml new file mode 100644 index 0000000..4994ed5 --- /dev/null +++ b/sequence_range_end/views/sequence_views.xml @@ -0,0 +1,15 @@ + + + ir.sequence + + + + +
+ You can also use 'range_end_' to use the end date of the range, e.g. %%(range_end_year)s. +
+
+
+
+
+
From 006b537876f2156520827bb9f199a14918f94d89 Mon Sep 17 00:00:00 2001 From: Flectra Community Bot Date: Sun, 5 Dec 2021 03:14:22 +0000 Subject: [PATCH 12/21] Automatic Update form OCA2FC Migrator --- README.md | 4 +- base_optional_quick_create/i18n/it.po | 12 +- base_search_custom_field_filter/i18n/it.po | 114 +++++++++++++ base_technical_features/__manifest__.py | 2 +- base_technical_features/models/res_users.py | 8 +- date_range/COPYRIGHT | 1 + date_range/README.rst | 31 ++++ date_range/__manifest__.py | 7 +- date_range/i18n/am.po | 19 +++ date_range/i18n/ar.po | 19 +++ date_range/i18n/bg.po | 19 +++ date_range/i18n/bs.po | 19 +++ date_range/i18n/ca.po | 19 +++ date_range/i18n/ca_ES.po | 19 +++ date_range/i18n/cs.po | 19 +++ date_range/i18n/da.po | 19 +++ date_range/i18n/date_range.pot | 20 +++ date_range/i18n/de.po | 19 +++ date_range/i18n/el_GR.po | 19 +++ date_range/i18n/en_AU.po | 19 +++ date_range/i18n/en_GB.po | 19 +++ date_range/i18n/es.po | 19 +++ date_range/i18n/es_AR.po | 19 +++ date_range/i18n/es_CL.po | 19 +++ date_range/i18n/es_CO.po | 19 +++ date_range/i18n/es_CR.po | 19 +++ date_range/i18n/es_DO.po | 19 +++ date_range/i18n/es_EC.po | 19 +++ date_range/i18n/es_ES.po | 19 +++ date_range/i18n/es_MX.po | 19 +++ date_range/i18n/es_PE.po | 19 +++ date_range/i18n/es_PY.po | 19 +++ date_range/i18n/es_VE.po | 19 +++ date_range/i18n/et.po | 19 +++ date_range/i18n/eu.po | 19 +++ date_range/i18n/fa.po | 19 +++ date_range/i18n/fi.po | 19 +++ date_range/i18n/fr.po | 19 +++ date_range/i18n/fr_CA.po | 19 +++ date_range/i18n/fr_CH.po | 19 +++ date_range/i18n/fr_FR.po | 19 +++ date_range/i18n/gl.po | 19 +++ date_range/i18n/gl_ES.po | 19 +++ date_range/i18n/he.po | 19 +++ date_range/i18n/hi.po | 19 +++ date_range/i18n/hr.po | 19 +++ date_range/i18n/hr_HR.po | 19 +++ date_range/i18n/hu.po | 19 +++ date_range/i18n/id.po | 19 +++ date_range/i18n/it.po | 19 +++ date_range/i18n/ja.po | 19 +++ date_range/i18n/ko.po | 19 +++ date_range/i18n/lo.po | 19 +++ date_range/i18n/lt.po | 19 +++ date_range/i18n/lt_LT.po | 19 +++ date_range/i18n/lv.po | 19 +++ date_range/i18n/mk.po | 19 +++ date_range/i18n/mn.po | 19 +++ date_range/i18n/nb.po | 19 +++ date_range/i18n/nb_NO.po | 19 +++ date_range/i18n/nl.po | 19 +++ date_range/i18n/nl_BE.po | 19 +++ date_range/i18n/nl_NL.po | 19 +++ date_range/i18n/pl.po | 19 +++ date_range/i18n/pt.po | 19 +++ date_range/i18n/pt_BR.po | 19 +++ date_range/i18n/pt_PT.po | 19 +++ date_range/i18n/ro.po | 19 +++ date_range/i18n/ru.po | 19 +++ date_range/i18n/sk.po | 19 +++ date_range/i18n/sl.po | 19 +++ date_range/i18n/sr.po | 19 +++ date_range/i18n/sr@latin.po | 19 +++ date_range/i18n/sv.po | 19 +++ date_range/i18n/th.po | 19 +++ date_range/i18n/tr.po | 19 +++ date_range/i18n/tr_TR.po | 19 +++ date_range/i18n/uk.po | 19 +++ date_range/i18n/vi.po | 19 +++ date_range/i18n/vi_VN.po | 19 +++ date_range/i18n/zh_CN.po | 19 +++ date_range/i18n/zh_TW.po | 19 +++ date_range/models/__init__.py | 1 + date_range/models/date_range_search_mixin.py | 106 ++++++++++++ .../date_range_many2one_search_field.png | Bin 0 -> 15904 bytes date_range/static/description/index.html | 50 ++++-- date_range/tests/__init__.py | 1 + date_range/tests/models.py | 10 ++ .../tests/test_date_range_search_mixin.py | 155 ++++++++++++++++++ 89 files changed, 1882 insertions(+), 27 deletions(-) create mode 100644 base_search_custom_field_filter/i18n/it.po create mode 100644 date_range/models/date_range_search_mixin.py create mode 100644 date_range/static/description/date_range_many2one_search_field.png create mode 100644 date_range/tests/models.py create mode 100644 date_range/tests/test_date_range_search_mixin.py diff --git a/README.md b/README.md index f242379..cba7e01 100644 --- a/README.md +++ b/README.md @@ -16,12 +16,12 @@ addon | version | summary [sequence_reset_period](sequence_reset_period/) | 2.0.1.0.0| Auto-generate yearly/monthly/weekly/daily sequence period ranges [sequence_check_digit](sequence_check_digit/) | 2.0.1.0.0| Adds a check digit on sequences [base_import_security_group](base_import_security_group/) | 2.0.1.0.0| Group-based permissions for importing CSV files -[date_range](date_range/) | 2.0.2.0.2| Manage all kind of date range +[date_range](date_range/) | 2.0.2.1.0| Manage all kind of date range [base_tier_validation_forward](base_tier_validation_forward/) | 2.0.1.0.2| Forward option for base tiers [base_menu_visibility_restriction](base_menu_visibility_restriction/) | 2.0.1.0.0| Restrict (with groups) menu visibilty [barcode_action](barcode_action/) | 2.0.1.0.0| Allows to use barcodes as a launcher [multi_step_wizard](multi_step_wizard/) | 2.0.1.0.0| Multi-Steps Wizards -[base_technical_features](base_technical_features/) | 2.0.1.1.0| Access to technical features without activating debug mode +[base_technical_features](base_technical_features/) | 2.0.1.1.1| Access to technical features without activating debug mode [base_tier_validation_formula](base_tier_validation_formula/) | 2.0.2.0.1| Formulas for Base tier validation [base_tier_validation](base_tier_validation/) | 2.0.2.7.0| Implement a validation process based on tiers. [base_search_custom_field_filter](base_search_custom_field_filter/) | 2.0.1.0.0| Add custom filters for fields via UI diff --git a/base_optional_quick_create/i18n/it.po b/base_optional_quick_create/i18n/it.po index c898487..2b3590a 100644 --- a/base_optional_quick_create/i18n/it.po +++ b/base_optional_quick_create/i18n/it.po @@ -7,20 +7,20 @@ msgstr "" "Project-Id-Version: Odoo Server 10.0+e\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2018-03-19 17:10+0000\n" -"PO-Revision-Date: 2018-03-19 17:10+0000\n" -"Last-Translator: <>\n" +"PO-Revision-Date: 2021-12-03 12:37+0000\n" +"Last-Translator: Francesco Foresti \n" "Language-Team: \n" -"Language: \n" +"Language: it\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: \n" -"Plural-Forms: \n" +"Plural-Forms: nplurals=2; plural=n != 1;\n" +"X-Generator: Weblate 4.3.2\n" #. module: base_optional_quick_create #: model:ir.model.fields,field_description:base_optional_quick_create.field_ir_model__avoid_quick_create -#, fuzzy msgid "Avoid Quick Create" -msgstr "Evita creazione veloce" +msgstr "Impedisci creazione rapida" #. module: base_optional_quick_create #: code:addons/base_optional_quick_create/models/ir_model.py:21 diff --git a/base_search_custom_field_filter/i18n/it.po b/base_search_custom_field_filter/i18n/it.po new file mode 100644 index 0000000..a7a4ee0 --- /dev/null +++ b/base_search_custom_field_filter/i18n/it.po @@ -0,0 +1,114 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * base_search_custom_field_filter +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 14.0\n" +"Report-Msgid-Bugs-To: \n" +"Last-Translator: Automatically generated\n" +"Language-Team: none\n" +"Language: it\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Plural-Forms: nplurals=2; plural=n != 1;\n" + +#. module: base_search_custom_field_filter +#: model:ir.model,name:base_search_custom_field_filter.model_base +msgid "Base" +msgstr "" + +#. module: base_search_custom_field_filter +#: model:ir.model.fields,field_description:base_search_custom_field_filter.field_ir_ui_custom_field_filter__create_uid +msgid "Created by" +msgstr "" + +#. module: base_search_custom_field_filter +#: model:ir.model.fields,field_description:base_search_custom_field_filter.field_ir_ui_custom_field_filter__create_date +msgid "Created on" +msgstr "" + +#. module: base_search_custom_field_filter +#: model:ir.actions.act_window,name:base_search_custom_field_filter.action_ir_ui_custom_field_filter +#: model:ir.ui.menu,name:base_search_custom_field_filter.menu_ir_ui_custom_field_filter +msgid "Custom Field Filters" +msgstr "" + +#. module: base_search_custom_field_filter +#: model:ir.model,name:base_search_custom_field_filter.model_ir_ui_custom_field_filter +msgid "Custom UI field filter" +msgstr "" + +#. module: base_search_custom_field_filter +#: model:ir.model.fields,field_description:base_search_custom_field_filter.field_ir_ui_custom_field_filter__display_name +msgid "Display Name" +msgstr "" + +#. module: base_search_custom_field_filter +#: model:ir.model.fields,field_description:base_search_custom_field_filter.field_ir_ui_custom_field_filter__expression +msgid "Expression" +msgstr "" + +#. module: base_search_custom_field_filter +#: model:ir.model.fields,field_description:base_search_custom_field_filter.field_ir_ui_custom_field_filter__id +msgid "ID" +msgstr "" + +#. module: base_search_custom_field_filter +#: code:addons/base_search_custom_field_filter/models/ir_ui_custom_field_filter.py:0 +#, python-format +msgid "Incorrect expression." +msgstr "" + +#. module: base_search_custom_field_filter +#: model:ir.ui.custom.field.filter,name:base_search_custom_field_filter.custom_field_filter_demo +msgid "Language" +msgstr "" + +#. module: base_search_custom_field_filter +#: model:ir.model.fields,field_description:base_search_custom_field_filter.field_ir_ui_custom_field_filter____last_update +msgid "Last Modified on" +msgstr "" + +#. module: base_search_custom_field_filter +#: model:ir.model.fields,field_description:base_search_custom_field_filter.field_ir_ui_custom_field_filter__write_uid +msgid "Last Updated by" +msgstr "" + +#. module: base_search_custom_field_filter +#: model:ir.model.fields,field_description:base_search_custom_field_filter.field_ir_ui_custom_field_filter__write_date +msgid "Last Updated on" +msgstr "" + +#. module: base_search_custom_field_filter +#: model:ir.model.fields,field_description:base_search_custom_field_filter.field_ir_ui_custom_field_filter__model_id +msgid "Model" +msgstr "" + +#. module: base_search_custom_field_filter +#: model:ir.model.fields,field_description:base_search_custom_field_filter.field_ir_ui_custom_field_filter__model_name +msgid "Model name" +msgstr "" + +#. module: base_search_custom_field_filter +#: model:ir.model.fields,field_description:base_search_custom_field_filter.field_ir_ui_custom_field_filter__name +msgid "Name" +msgstr "" + +#. module: base_search_custom_field_filter +#: model:ir.model.fields,help:base_search_custom_field_filter.field_ir_ui_custom_field_filter__position_after +msgid "" +"Optional field name for putting the filter after that one. If empty or not " +"found, it will be put at the end." +msgstr "" + +#. module: base_search_custom_field_filter +#: model:ir.model.fields,field_description:base_search_custom_field_filter.field_ir_ui_custom_field_filter__position_after +msgid "Position After" +msgstr "" + +#. module: base_search_custom_field_filter +#: model:ir.model.fields,field_description:base_search_custom_field_filter.field_ir_ui_custom_field_filter__sequence +msgid "Sequence" +msgstr "" diff --git a/base_technical_features/__manifest__.py b/base_technical_features/__manifest__.py index 83481d4..1b324d4 100644 --- a/base_technical_features/__manifest__.py +++ b/base_technical_features/__manifest__.py @@ -3,7 +3,7 @@ { "name": "Technical features group", "summary": "Access to technical features without activating debug mode", - "version": "2.0.1.1.0", + "version": "2.0.1.1.1", "category": "Usability", "website": "https://gitlab.com/flectra-community/server-ux", "author": "Opener B.V., Odoo Community Association (OCA)", diff --git a/base_technical_features/models/res_users.py b/base_technical_features/models/res_users.py index 8a47a34..ad10916 100644 --- a/base_technical_features/models/res_users.py +++ b/base_technical_features/models/res_users.py @@ -24,16 +24,16 @@ class ResUsers(models.Model): def _compute_show_technical_features(self): """Only display the technical features checkbox in the user preferences if the user has access to them""" - users = self.env.ref("base.group_no_one").users for user in self: - user.show_technical_features = user in users + user.show_technical_features = user.has_group("base.group_no_one") @api.depends("groups_id") def _compute_technical_features(self): """ Map user membership to boolean field value """ - users = self.env.ref("base_technical_features.group_technical_features").users for user in self: - user.technical_features = user in users + user.technical_features = user.has_group( + "base_technical_features.group_technical_features" + ) def _inverse_technical_features(self): """Map boolean field value to group membership, but checking diff --git a/date_range/COPYRIGHT b/date_range/COPYRIGHT index 61b9589..0e4fab7 100644 --- a/date_range/COPYRIGHT +++ b/date_range/COPYRIGHT @@ -6,6 +6,7 @@ Most of the files are +

Beta License: AGPL-3 OCA/server-ux Translate me on Weblate Try me on Runbot

+

This module provide abstract models to manage customizable +substates to be applied on different models (sale order, purchase, …).

+
+

example:

+
    +
  • for the quotation state of a sale order we can define 3 substates “In negotiation”, +“Won” and “Lost”.
  • +
  • We can also send mail when the susbstate is reached.
  • +
+

It is not useful for itself. You can see an example of implementation +in the ‘purchase_substate’ module. (purchase-workflow repository).

+

Table of contents

+ +
+

Usage

+
    +
  1. You must install an application module depending this one (for example purchase_substate)
  2. +
+
+
+

Bug Tracker

+

Bugs are tracked on GitHub Issues. +In case of trouble, please check there if your issue has already been reported. +If you spotted it first, help us smashing it by providing a detailed and welcomed +feedback.

+

Do not contact contributors directly about support or help with technical issues.

+
+
+

Credits

+
+

Authors

+
    +
  • Akretion
  • +
+
+
+

Contributors

+ +
+
+

Maintainers

+

This module is maintained by the OCA.

+Odoo Community Association +

OCA, or the Odoo Community Association, is a nonprofit organization whose +mission is to support the collaborative development of Odoo features and +promote its widespread use.

+

This module is part of the OCA/server-ux project on GitHub.

+

You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.

+
+
+
+ + + diff --git a/base_substate/tests/__init__.py b/base_substate/tests/__init__.py new file mode 100644 index 0000000..7b880d2 --- /dev/null +++ b/base_substate/tests/__init__.py @@ -0,0 +1 @@ +from . import test_base_substate diff --git a/base_substate/tests/models.py b/base_substate/tests/models.py new file mode 100644 index 0000000..e1df037 --- /dev/null +++ b/base_substate/tests/models.py @@ -0,0 +1,53 @@ +# Copyright 2020 Akretion Mourad EL HADJ MIMOUNE +# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl.html). +from flectra import api, fields, models + + +class SaleTest(models.Model): + _inherit = "base.substate.mixin" + _name = "base.substate.test.sale" + _description = "Base substate Test Model" + + name = fields.Char(required=True) + user_id = fields.Many2one("res.users", string="Responsible") + state = fields.Selection( + [("draft", "New"), ("cancel", "Cancelled"), ("sale", "Sale"), ("done", "Done")], + string="Status", + readonly=True, + default="draft", + ) + active = fields.Boolean(default=True) + partner_id = fields.Many2one("res.partner", string="Partner") + line_ids = fields.One2many( + comodel_name="base.substate.test.sale.line", + inverse_name="sale_id", + context={"active_test": False}, + ) + amount_total = fields.Float(compute="_compute_amount_total", store=True) + + @api.depends("line_ids") + def _compute_amount_total(self): + for record in self: + for line in record.line_ids: + record.amount_total += line.amount * line.qty + + def button_confirm(self): + self.write({"state": "sale"}) + return True + + def button_cancel(self): + self.write({"state": "cancel"}) + + +class LineTest(models.Model): + _name = "base.substate.test.sale.line" + _description = "Base substate Test Model Line" + + name = fields.Char() + sale_id = fields.Many2one( + comodel_name="base.substate.test.sale", + ondelete="cascade", + context={"active_test": False}, + ) + qty = fields.Float() + amount = fields.Float() diff --git a/base_substate/tests/test_base_substate.py b/base_substate/tests/test_base_substate.py new file mode 100644 index 0000000..000cf0f --- /dev/null +++ b/base_substate/tests/test_base_substate.py @@ -0,0 +1,121 @@ +# Copyright 2020 Akretion Mourad EL HADJ MIMOUNE +# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl.html). + +from flectra_test_helper import FakeModelLoader + +from flectra.tests import common, tagged + + +@tagged("-at_install", "post_install") +class TestBaseSubstate(common.SavepointCase, FakeModelLoader): + @classmethod + def setUpClass(cls): + super(TestBaseSubstate, cls).setUpClass() + cls.loader = FakeModelLoader(cls.env, cls.__module__) + cls.loader.backup_registry() + from .models import LineTest, SaleTest + + cls.loader.update_registry((SaleTest, LineTest)) + + cls.substate_test_sale = cls.env["base.substate.test.sale"] + cls.substate_test_sale_line = cls.env["base.substate.test.sale.line"] + + cls.base_substate = cls.env["base.substate.mixin"] + cls.substate_type = cls.env["base.substate.type"] + + cls.substate_type._fields["model"].selection.append( + ("base.substate.test.sale", "Sale Order") + ) + + cls.substate_type = cls.env["base.substate.type"].create( + { + "name": "Sale", + "model": "base.substate.test.sale", + "target_state_field": "state", + } + ) + + cls.substate_val_quotation = cls.env["target.state.value"].create( + { + "name": "Quotation", + "base_substate_type_id": cls.substate_type.id, + "target_state_value": "draft", + } + ) + + cls.substate_val_sale = cls.env["target.state.value"].create( + { + "name": "Sale order", + "base_substate_type_id": cls.substate_type.id, + "target_state_value": "sale", + } + ) + cls.substate_under_negotiation = cls.env["base.substate"].create( + { + "name": "Under negotiation", + "sequence": 1, + "target_state_value_id": cls.substate_val_quotation.id, + } + ) + + cls.substate_won = cls.env["base.substate"].create( + { + "name": "Won", + "sequence": 3, + "target_state_value_id": cls.substate_val_quotation.id, + } + ) + + cls.substate_wait_docs = cls.env["base.substate"].create( + { + "name": "Waiting for legal documents", + "sequence": 4, + "target_state_value_id": cls.substate_val_sale.id, + } + ) + + cls.substate_valid_docs = cls.env["base.substate"].create( + { + "name": "To validate legal documents", + "sequence": 5, + "target_state_value_id": cls.substate_val_sale.id, + } + ) + + cls.substate_in_delivering = cls.env["base.substate"].create( + { + "name": "In delivering", + "sequence": 6, + "target_state_value_id": cls.substate_val_sale.id, + } + ) + + @classmethod + def tearDownClass(cls): + cls.loader.restore_registry() + super().tearDownClass() + + def test_sale_order_substate(self): + partner = self.env.ref("base.res_partner_1") + so_test1 = self.substate_test_sale.create( + { + "name": "Test base substate to basic sale", + "partner_id": partner.id, + "line_ids": [ + (0, 0, {"name": "line test", "amount": 120.0, "qty": 1.5}) + ], + } + ) + self.assertTrue(so_test1.state == "draft") + self.assertTrue(so_test1.substate_id == self.substate_under_negotiation) + + # Test that validation of sale order change substate_id + so_test1.button_confirm() + self.assertTrue(so_test1.state == "sale") + self.assertTrue(so_test1.substate_id == self.substate_wait_docs) + + # Test that substate_id is set to false if + # there is not substate corresponding to state + so_test1.button_cancel() + self.assertTrue(so_test1.state == "cancel") + self.assertTrue(not so_test1.substate_id) diff --git a/base_substate/views/base_substate_type_views.xml b/base_substate/views/base_substate_type_views.xml new file mode 100644 index 0000000..b5a2fa0 --- /dev/null +++ b/base_substate/views/base_substate_type_views.xml @@ -0,0 +1,85 @@ + + + + + base.substate.type + + + + + + + + + + base.substate.type + +
+ +
+
+ + + + + + +
+
+
+
+ + base.substate.type + + + + + + + + + + Sub State Type + ir.actions.act_window + base.substate.type + tree,form + + [] + {} + + + + + form + + + + + + tree + + + + +
diff --git a/base_substate/views/base_substate_value_views.xml b/base_substate/views/base_substate_value_views.xml new file mode 100644 index 0000000..8fae74c --- /dev/null +++ b/base_substate/views/base_substate_value_views.xml @@ -0,0 +1,83 @@ + + + + + target.state.value + + + + + + + + + + target.state.value + +
+ +
+
+ + + + + + +
+
+
+
+ + target.state.value + + + + + + + + + + Target State Value + ir.actions.act_window + target.state.value + tree,form + + [] + {} + + + + + form + + + + + + tree + + + +
diff --git a/base_substate/views/base_substate_views.xml b/base_substate/views/base_substate_views.xml new file mode 100644 index 0000000..7296e22 --- /dev/null +++ b/base_substate/views/base_substate_views.xml @@ -0,0 +1,89 @@ + + + + + base.substate + + + + + + + + + + + + base.substate + +
+ +
+ +
+
+
+ + + + + + + + + +
+
+
+
+ + base.substate + + + + + + + + Base Substate + ir.actions.act_window + base.substate + tree,form + + [] + {} + + + + + form + + + + + + tree + + + +
From 28d9e8805c5b1defb2fa7fe6614cccd1f3c0bc64 Mon Sep 17 00:00:00 2001 From: Flectra Community Bot Date: Sun, 23 Jan 2022 03:13:11 +0000 Subject: [PATCH 18/21] Automatic Update form OCA2FC Migrator --- .gitlab-ci.yml | 189 +++--------------- README.md | 6 +- base_tier_validation/__manifest__.py | 2 +- .../i18n/base_tier_validation.pot | 3 +- base_tier_validation/i18n/es.po | 12 +- base_tier_validation/i18n/es_MX.po | 12 +- base_tier_validation/i18n/fr.po | 3 +- base_tier_validation/i18n/it.po | 12 +- base_tier_validation/i18n/nl_NL.po | 12 +- base_tier_validation/i18n/sv.po | 12 +- base_tier_validation/i18n/zh_CN.po | 12 +- .../models/tier_validation.py | 23 ++- mass_editing/__manifest__.py | 2 +- mass_editing/demo/mass_editing.xml | 15 +- mass_editing/i18n/am.po | 121 +++++++---- mass_editing/i18n/ar.po | 126 ++++++++---- mass_editing/i18n/bg.po | 126 ++++++++---- mass_editing/i18n/bs.po | 126 ++++++++---- mass_editing/i18n/ca.po | 126 ++++++++---- mass_editing/i18n/cs.po | 126 ++++++++---- mass_editing/i18n/da.po | 126 ++++++++---- mass_editing/i18n/de.po | 138 +++++++++---- mass_editing/i18n/el_GR.po | 126 ++++++++---- mass_editing/i18n/en_GB.po | 126 ++++++++---- mass_editing/i18n/es.po | 166 +++++++++++---- mass_editing/i18n/es_AR.po | 126 ++++++++---- mass_editing/i18n/es_CL.po | 126 ++++++++---- mass_editing/i18n/es_CO.po | 126 ++++++++---- mass_editing/i18n/es_CR.po | 126 ++++++++---- mass_editing/i18n/es_DO.po | 126 ++++++++---- mass_editing/i18n/es_EC.po | 126 ++++++++---- mass_editing/i18n/es_ES.po | 121 +++++++---- mass_editing/i18n/es_MX.po | 126 ++++++++---- mass_editing/i18n/es_PE.po | 126 ++++++++---- mass_editing/i18n/es_PY.po | 126 ++++++++---- mass_editing/i18n/es_VE.po | 126 ++++++++---- mass_editing/i18n/et.po | 126 ++++++++---- mass_editing/i18n/eu.po | 126 ++++++++---- mass_editing/i18n/fa.po | 126 ++++++++---- mass_editing/i18n/fi.po | 154 ++++++++++---- mass_editing/i18n/fr.po | 166 +++++++++++---- mass_editing/i18n/fr_CA.po | 138 +++++++++---- mass_editing/i18n/fr_CH.po | 121 +++++++---- mass_editing/i18n/fr_FR.po | 12 +- mass_editing/i18n/gl.po | 126 ++++++++---- mass_editing/i18n/gl_ES.po | 121 +++++++---- mass_editing/i18n/he.po | 126 ++++++++---- mass_editing/i18n/hr.po | 138 +++++++++---- mass_editing/i18n/hr_HR.po | 126 ++++++++---- mass_editing/i18n/hu.po | 126 ++++++++---- mass_editing/i18n/id.po | 126 ++++++++---- mass_editing/i18n/it.po | 166 +++++++++++---- mass_editing/i18n/ja.po | 126 ++++++++---- mass_editing/i18n/ko.po | 126 ++++++++---- mass_editing/i18n/lt.po | 126 ++++++++---- mass_editing/i18n/lt_LT.po | 121 +++++++---- mass_editing/i18n/lv.po | 126 ++++++++---- mass_editing/i18n/mass_editing.pot | 3 + mass_editing/i18n/mk.po | 126 ++++++++---- mass_editing/i18n/mn.po | 126 ++++++++---- mass_editing/i18n/nb.po | 126 ++++++++---- mass_editing/i18n/nb_NO.po | 121 +++++++---- mass_editing/i18n/nl.po | 151 ++++++++++---- mass_editing/i18n/nl_BE.po | 126 ++++++++---- mass_editing/i18n/nl_NL.po | 126 ++++++++---- mass_editing/i18n/pl.po | 126 ++++++++---- mass_editing/i18n/pt.po | 166 +++++++++++---- mass_editing/i18n/pt_BR.po | 138 +++++++++---- mass_editing/i18n/pt_PT.po | 131 ++++++++---- mass_editing/i18n/ro.po | 126 ++++++++---- mass_editing/i18n/ru.po | 126 ++++++++---- mass_editing/i18n/sk.po | 126 ++++++++---- mass_editing/i18n/sl.po | 131 ++++++++---- mass_editing/i18n/sr.po | 126 ++++++++---- mass_editing/i18n/sr@latin.po | 126 ++++++++---- mass_editing/i18n/sv.po | 126 ++++++++---- mass_editing/i18n/th.po | 126 ++++++++---- mass_editing/i18n/tr.po | 131 ++++++++---- mass_editing/i18n/tr_TR.po | 126 ++++++++---- mass_editing/i18n/uk.po | 126 ++++++++---- mass_editing/i18n/vi.po | 126 ++++++++---- mass_editing/i18n/vi_VN.po | 126 ++++++++---- mass_editing/i18n/zh_CN.po | 138 +++++++++---- mass_editing/i18n/zh_TW.po | 126 ++++++++---- mass_editing/static/description/icon.png | Bin 9455 -> 6696 bytes mass_editing/static/description/icon.svg | 29 +++ mass_editing/tests/test_mass_editing.py | 28 +++ mass_editing/wizard/mass_editing_wizard.py | 12 +- mass_operation_abstract/README.rst | 2 - mass_operation_abstract/__manifest__.py | 2 +- mass_operation_abstract/i18n/es.po | 15 +- mass_operation_abstract/i18n/fr.po | 34 ++-- mass_operation_abstract/i18n/it.po | 31 ++- .../i18n/mass_operation_abstract.pot | 13 +- .../models/mass_operation_mixin.py | 14 +- .../static/description/index.html | 1 - .../views/view_mass_operation_mixin.xml | 15 +- .../wizard/mass_operation_wizard_mixin.py | 19 +- 98 files changed, 6612 insertions(+), 2759 deletions(-) create mode 100644 mass_editing/static/description/icon.svg diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 0d9c29b..08e05fb 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -39,20 +39,15 @@ test_all_modules: - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/partner-contact.git ~/others/partner-contact" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/product-attribute.git ~/others/product-attribute" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/queue.git ~/others/queue" - - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/report-print-send.git ~/others/report-print-send" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/reporting-engine.git ~/others/reporting-engine" - - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/rest-framework.git ~/others/rest-framework" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/sale-workflow.git ~/others/sale-workflow" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/server-auth.git ~/others/server-auth" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/server-env.git ~/others/server-env" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/server-tools.git ~/others/server-tools" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/social.git ~/others/social" - - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/stock-logistics-transport.git ~/others/stock-logistics-transport" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/stock-logistics-warehouse.git ~/others/stock-logistics-warehouse" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/stock-logistics-workflow.git ~/others/stock-logistics-workflow" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/storage.git ~/others/storage" - - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/web.git ~/others/web" - - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/wms.git ~/others/wms" - 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 @@ -64,7 +59,7 @@ test_all_modules: - mv ${CI_PROJECT_DIR}/ci_data/filestore /opt/flectra/.local/share/filestore/test_all - chown -R flectra.flectra /opt/flectra/.local/share/filestore/test_all - su - flectra -c "/opt/flectra/flectra-bin - --addons-path ${CI_PROJECT_DIR},~/others/account-analytic,~/others/account-closing,~/others/account-financial-tools,~/others/account-invoicing,~/others/account-payment,~/others/bank-payment,~/others/brand,~/others/community-data-files,~/others/connector,~/others/edi,~/others/partner-contact,~/others/product-attribute,~/others/queue,~/others/report-print-send,~/others/reporting-engine,~/others/rest-framework,~/others/sale-workflow,~/others/server-auth,~/others/server-env,~/others/server-tools,~/others/social,~/others/stock-logistics-transport,~/others/stock-logistics-warehouse,~/others/stock-logistics-workflow,~/others/storage,~/others/web,~/others/wms + --addons-path ${CI_PROJECT_DIR},~/others/account-analytic,~/others/account-closing,~/others/account-financial-tools,~/others/account-invoicing,~/others/account-payment,~/others/bank-payment,~/others/brand,~/others/community-data-files,~/others/connector,~/others/edi,~/others/partner-contact,~/others/product-attribute,~/others/queue,~/others/reporting-engine,~/others/sale-workflow,~/others/server-auth,~/others/server-env,~/others/server-tools,~/others/social,~/others/stock-logistics-warehouse,~/others/stock-logistics-workflow,~/others/storage --db_host psql --db_port 5432 --db_user flectra @@ -127,20 +122,15 @@ test_module_base_cancel_confirm: - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/partner-contact.git ~/others/partner-contact" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/product-attribute.git ~/others/product-attribute" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/queue.git ~/others/queue" - - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/report-print-send.git ~/others/report-print-send" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/reporting-engine.git ~/others/reporting-engine" - - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/rest-framework.git ~/others/rest-framework" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/sale-workflow.git ~/others/sale-workflow" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/server-auth.git ~/others/server-auth" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/server-env.git ~/others/server-env" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/server-tools.git ~/others/server-tools" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/social.git ~/others/social" - - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/stock-logistics-transport.git ~/others/stock-logistics-transport" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/stock-logistics-warehouse.git ~/others/stock-logistics-warehouse" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/stock-logistics-workflow.git ~/others/stock-logistics-workflow" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/storage.git ~/others/storage" - - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/web.git ~/others/web" - - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/wms.git ~/others/wms" - 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 @@ -152,7 +142,7 @@ test_module_base_cancel_confirm: - mv ${CI_PROJECT_DIR}/ci_data/filestore /opt/flectra/.local/share/filestore/test_base_cancel_confirm - chown -R flectra.flectra /opt/flectra/.local/share/filestore/test_base_cancel_confirm - su - flectra -c "/opt/flectra/flectra-bin - --addons-path ${CI_PROJECT_DIR},~/others/account-analytic,~/others/account-closing,~/others/account-financial-tools,~/others/account-invoicing,~/others/account-payment,~/others/bank-payment,~/others/brand,~/others/community-data-files,~/others/connector,~/others/edi,~/others/partner-contact,~/others/product-attribute,~/others/queue,~/others/report-print-send,~/others/reporting-engine,~/others/rest-framework,~/others/sale-workflow,~/others/server-auth,~/others/server-env,~/others/server-tools,~/others/social,~/others/stock-logistics-transport,~/others/stock-logistics-warehouse,~/others/stock-logistics-workflow,~/others/storage,~/others/web,~/others/wms + --addons-path ${CI_PROJECT_DIR},~/others/account-analytic,~/others/account-closing,~/others/account-financial-tools,~/others/account-invoicing,~/others/account-payment,~/others/bank-payment,~/others/brand,~/others/community-data-files,~/others/connector,~/others/edi,~/others/partner-contact,~/others/product-attribute,~/others/queue,~/others/reporting-engine,~/others/sale-workflow,~/others/server-auth,~/others/server-env,~/others/server-tools,~/others/social,~/others/stock-logistics-warehouse,~/others/stock-logistics-workflow,~/others/storage --db_host psql --db_port 5432 --db_user flectra @@ -187,20 +177,15 @@ test_module_base_substate: - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/partner-contact.git ~/others/partner-contact" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/product-attribute.git ~/others/product-attribute" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/queue.git ~/others/queue" - - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/report-print-send.git ~/others/report-print-send" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/reporting-engine.git ~/others/reporting-engine" - - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/rest-framework.git ~/others/rest-framework" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/sale-workflow.git ~/others/sale-workflow" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/server-auth.git ~/others/server-auth" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/server-env.git ~/others/server-env" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/server-tools.git ~/others/server-tools" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/social.git ~/others/social" - - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/stock-logistics-transport.git ~/others/stock-logistics-transport" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/stock-logistics-warehouse.git ~/others/stock-logistics-warehouse" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/stock-logistics-workflow.git ~/others/stock-logistics-workflow" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/storage.git ~/others/storage" - - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/web.git ~/others/web" - - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/wms.git ~/others/wms" - 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 @@ -212,7 +197,7 @@ test_module_base_substate: - mv ${CI_PROJECT_DIR}/ci_data/filestore /opt/flectra/.local/share/filestore/test_base_substate - chown -R flectra.flectra /opt/flectra/.local/share/filestore/test_base_substate - su - flectra -c "/opt/flectra/flectra-bin - --addons-path ${CI_PROJECT_DIR},~/others/account-analytic,~/others/account-closing,~/others/account-financial-tools,~/others/account-invoicing,~/others/account-payment,~/others/bank-payment,~/others/brand,~/others/community-data-files,~/others/connector,~/others/edi,~/others/partner-contact,~/others/product-attribute,~/others/queue,~/others/report-print-send,~/others/reporting-engine,~/others/rest-framework,~/others/sale-workflow,~/others/server-auth,~/others/server-env,~/others/server-tools,~/others/social,~/others/stock-logistics-transport,~/others/stock-logistics-warehouse,~/others/stock-logistics-workflow,~/others/storage,~/others/web,~/others/wms + --addons-path ${CI_PROJECT_DIR},~/others/account-analytic,~/others/account-closing,~/others/account-financial-tools,~/others/account-invoicing,~/others/account-payment,~/others/bank-payment,~/others/brand,~/others/community-data-files,~/others/connector,~/others/edi,~/others/partner-contact,~/others/product-attribute,~/others/queue,~/others/reporting-engine,~/others/sale-workflow,~/others/server-auth,~/others/server-env,~/others/server-tools,~/others/social,~/others/stock-logistics-warehouse,~/others/stock-logistics-workflow,~/others/storage --db_host psql --db_port 5432 --db_user flectra @@ -247,20 +232,15 @@ test_module_filter_multi_user: - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/partner-contact.git ~/others/partner-contact" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/product-attribute.git ~/others/product-attribute" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/queue.git ~/others/queue" - - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/report-print-send.git ~/others/report-print-send" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/reporting-engine.git ~/others/reporting-engine" - - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/rest-framework.git ~/others/rest-framework" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/sale-workflow.git ~/others/sale-workflow" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/server-auth.git ~/others/server-auth" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/server-env.git ~/others/server-env" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/server-tools.git ~/others/server-tools" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/social.git ~/others/social" - - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/stock-logistics-transport.git ~/others/stock-logistics-transport" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/stock-logistics-warehouse.git ~/others/stock-logistics-warehouse" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/stock-logistics-workflow.git ~/others/stock-logistics-workflow" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/storage.git ~/others/storage" - - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/web.git ~/others/web" - - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/wms.git ~/others/wms" - 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 @@ -272,7 +252,7 @@ test_module_filter_multi_user: - mv ${CI_PROJECT_DIR}/ci_data/filestore /opt/flectra/.local/share/filestore/test_filter_multi_user - chown -R flectra.flectra /opt/flectra/.local/share/filestore/test_filter_multi_user - su - flectra -c "/opt/flectra/flectra-bin - --addons-path ${CI_PROJECT_DIR},~/others/account-analytic,~/others/account-closing,~/others/account-financial-tools,~/others/account-invoicing,~/others/account-payment,~/others/bank-payment,~/others/brand,~/others/community-data-files,~/others/connector,~/others/edi,~/others/partner-contact,~/others/product-attribute,~/others/queue,~/others/report-print-send,~/others/reporting-engine,~/others/rest-framework,~/others/sale-workflow,~/others/server-auth,~/others/server-env,~/others/server-tools,~/others/social,~/others/stock-logistics-transport,~/others/stock-logistics-warehouse,~/others/stock-logistics-workflow,~/others/storage,~/others/web,~/others/wms + --addons-path ${CI_PROJECT_DIR},~/others/account-analytic,~/others/account-closing,~/others/account-financial-tools,~/others/account-invoicing,~/others/account-payment,~/others/bank-payment,~/others/brand,~/others/community-data-files,~/others/connector,~/others/edi,~/others/partner-contact,~/others/product-attribute,~/others/queue,~/others/reporting-engine,~/others/sale-workflow,~/others/server-auth,~/others/server-env,~/others/server-tools,~/others/social,~/others/stock-logistics-warehouse,~/others/stock-logistics-workflow,~/others/storage --db_host psql --db_port 5432 --db_user flectra @@ -307,20 +287,15 @@ test_module_default_multi_user: - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/partner-contact.git ~/others/partner-contact" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/product-attribute.git ~/others/product-attribute" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/queue.git ~/others/queue" - - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/report-print-send.git ~/others/report-print-send" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/reporting-engine.git ~/others/reporting-engine" - - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/rest-framework.git ~/others/rest-framework" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/sale-workflow.git ~/others/sale-workflow" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/server-auth.git ~/others/server-auth" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/server-env.git ~/others/server-env" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/server-tools.git ~/others/server-tools" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/social.git ~/others/social" - - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/stock-logistics-transport.git ~/others/stock-logistics-transport" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/stock-logistics-warehouse.git ~/others/stock-logistics-warehouse" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/stock-logistics-workflow.git ~/others/stock-logistics-workflow" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/storage.git ~/others/storage" - - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/web.git ~/others/web" - - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/wms.git ~/others/wms" - 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 @@ -332,7 +307,7 @@ test_module_default_multi_user: - mv ${CI_PROJECT_DIR}/ci_data/filestore /opt/flectra/.local/share/filestore/test_default_multi_user - chown -R flectra.flectra /opt/flectra/.local/share/filestore/test_default_multi_user - su - flectra -c "/opt/flectra/flectra-bin - --addons-path ${CI_PROJECT_DIR},~/others/account-analytic,~/others/account-closing,~/others/account-financial-tools,~/others/account-invoicing,~/others/account-payment,~/others/bank-payment,~/others/brand,~/others/community-data-files,~/others/connector,~/others/edi,~/others/partner-contact,~/others/product-attribute,~/others/queue,~/others/report-print-send,~/others/reporting-engine,~/others/rest-framework,~/others/sale-workflow,~/others/server-auth,~/others/server-env,~/others/server-tools,~/others/social,~/others/stock-logistics-transport,~/others/stock-logistics-warehouse,~/others/stock-logistics-workflow,~/others/storage,~/others/web,~/others/wms + --addons-path ${CI_PROJECT_DIR},~/others/account-analytic,~/others/account-closing,~/others/account-financial-tools,~/others/account-invoicing,~/others/account-payment,~/others/bank-payment,~/others/brand,~/others/community-data-files,~/others/connector,~/others/edi,~/others/partner-contact,~/others/product-attribute,~/others/queue,~/others/reporting-engine,~/others/sale-workflow,~/others/server-auth,~/others/server-env,~/others/server-tools,~/others/social,~/others/stock-logistics-warehouse,~/others/stock-logistics-workflow,~/others/storage --db_host psql --db_port 5432 --db_user flectra @@ -367,20 +342,15 @@ test_module_sequence_range_end: - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/partner-contact.git ~/others/partner-contact" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/product-attribute.git ~/others/product-attribute" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/queue.git ~/others/queue" - - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/report-print-send.git ~/others/report-print-send" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/reporting-engine.git ~/others/reporting-engine" - - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/rest-framework.git ~/others/rest-framework" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/sale-workflow.git ~/others/sale-workflow" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/server-auth.git ~/others/server-auth" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/server-env.git ~/others/server-env" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/server-tools.git ~/others/server-tools" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/social.git ~/others/social" - - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/stock-logistics-transport.git ~/others/stock-logistics-transport" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/stock-logistics-warehouse.git ~/others/stock-logistics-warehouse" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/stock-logistics-workflow.git ~/others/stock-logistics-workflow" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/storage.git ~/others/storage" - - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/web.git ~/others/web" - - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/wms.git ~/others/wms" - 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 @@ -392,7 +362,7 @@ test_module_sequence_range_end: - mv ${CI_PROJECT_DIR}/ci_data/filestore /opt/flectra/.local/share/filestore/test_sequence_range_end - chown -R flectra.flectra /opt/flectra/.local/share/filestore/test_sequence_range_end - su - flectra -c "/opt/flectra/flectra-bin - --addons-path ${CI_PROJECT_DIR},~/others/account-analytic,~/others/account-closing,~/others/account-financial-tools,~/others/account-invoicing,~/others/account-payment,~/others/bank-payment,~/others/brand,~/others/community-data-files,~/others/connector,~/others/edi,~/others/partner-contact,~/others/product-attribute,~/others/queue,~/others/report-print-send,~/others/reporting-engine,~/others/rest-framework,~/others/sale-workflow,~/others/server-auth,~/others/server-env,~/others/server-tools,~/others/social,~/others/stock-logistics-transport,~/others/stock-logistics-warehouse,~/others/stock-logistics-workflow,~/others/storage,~/others/web,~/others/wms + --addons-path ${CI_PROJECT_DIR},~/others/account-analytic,~/others/account-closing,~/others/account-financial-tools,~/others/account-invoicing,~/others/account-payment,~/others/bank-payment,~/others/brand,~/others/community-data-files,~/others/connector,~/others/edi,~/others/partner-contact,~/others/product-attribute,~/others/queue,~/others/reporting-engine,~/others/sale-workflow,~/others/server-auth,~/others/server-env,~/others/server-tools,~/others/social,~/others/stock-logistics-warehouse,~/others/stock-logistics-workflow,~/others/storage --db_host psql --db_port 5432 --db_user flectra @@ -427,20 +397,15 @@ test_module_sequence_reset_period: - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/partner-contact.git ~/others/partner-contact" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/product-attribute.git ~/others/product-attribute" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/queue.git ~/others/queue" - - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/report-print-send.git ~/others/report-print-send" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/reporting-engine.git ~/others/reporting-engine" - - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/rest-framework.git ~/others/rest-framework" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/sale-workflow.git ~/others/sale-workflow" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/server-auth.git ~/others/server-auth" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/server-env.git ~/others/server-env" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/server-tools.git ~/others/server-tools" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/social.git ~/others/social" - - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/stock-logistics-transport.git ~/others/stock-logistics-transport" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/stock-logistics-warehouse.git ~/others/stock-logistics-warehouse" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/stock-logistics-workflow.git ~/others/stock-logistics-workflow" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/storage.git ~/others/storage" - - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/web.git ~/others/web" - - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/wms.git ~/others/wms" - 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 @@ -452,7 +417,7 @@ test_module_sequence_reset_period: - mv ${CI_PROJECT_DIR}/ci_data/filestore /opt/flectra/.local/share/filestore/test_sequence_reset_period - chown -R flectra.flectra /opt/flectra/.local/share/filestore/test_sequence_reset_period - su - flectra -c "/opt/flectra/flectra-bin - --addons-path ${CI_PROJECT_DIR},~/others/account-analytic,~/others/account-closing,~/others/account-financial-tools,~/others/account-invoicing,~/others/account-payment,~/others/bank-payment,~/others/brand,~/others/community-data-files,~/others/connector,~/others/edi,~/others/partner-contact,~/others/product-attribute,~/others/queue,~/others/report-print-send,~/others/reporting-engine,~/others/rest-framework,~/others/sale-workflow,~/others/server-auth,~/others/server-env,~/others/server-tools,~/others/social,~/others/stock-logistics-transport,~/others/stock-logistics-warehouse,~/others/stock-logistics-workflow,~/others/storage,~/others/web,~/others/wms + --addons-path ${CI_PROJECT_DIR},~/others/account-analytic,~/others/account-closing,~/others/account-financial-tools,~/others/account-invoicing,~/others/account-payment,~/others/bank-payment,~/others/brand,~/others/community-data-files,~/others/connector,~/others/edi,~/others/partner-contact,~/others/product-attribute,~/others/queue,~/others/reporting-engine,~/others/sale-workflow,~/others/server-auth,~/others/server-env,~/others/server-tools,~/others/social,~/others/stock-logistics-warehouse,~/others/stock-logistics-workflow,~/others/storage --db_host psql --db_port 5432 --db_user flectra @@ -487,20 +452,15 @@ test_module_sequence_check_digit: - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/partner-contact.git ~/others/partner-contact" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/product-attribute.git ~/others/product-attribute" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/queue.git ~/others/queue" - - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/report-print-send.git ~/others/report-print-send" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/reporting-engine.git ~/others/reporting-engine" - - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/rest-framework.git ~/others/rest-framework" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/sale-workflow.git ~/others/sale-workflow" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/server-auth.git ~/others/server-auth" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/server-env.git ~/others/server-env" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/server-tools.git ~/others/server-tools" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/social.git ~/others/social" - - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/stock-logistics-transport.git ~/others/stock-logistics-transport" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/stock-logistics-warehouse.git ~/others/stock-logistics-warehouse" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/stock-logistics-workflow.git ~/others/stock-logistics-workflow" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/storage.git ~/others/storage" - - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/web.git ~/others/web" - - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/wms.git ~/others/wms" - 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 @@ -512,7 +472,7 @@ test_module_sequence_check_digit: - mv ${CI_PROJECT_DIR}/ci_data/filestore /opt/flectra/.local/share/filestore/test_sequence_check_digit - chown -R flectra.flectra /opt/flectra/.local/share/filestore/test_sequence_check_digit - su - flectra -c "/opt/flectra/flectra-bin - --addons-path ${CI_PROJECT_DIR},~/others/account-analytic,~/others/account-closing,~/others/account-financial-tools,~/others/account-invoicing,~/others/account-payment,~/others/bank-payment,~/others/brand,~/others/community-data-files,~/others/connector,~/others/edi,~/others/partner-contact,~/others/product-attribute,~/others/queue,~/others/report-print-send,~/others/reporting-engine,~/others/rest-framework,~/others/sale-workflow,~/others/server-auth,~/others/server-env,~/others/server-tools,~/others/social,~/others/stock-logistics-transport,~/others/stock-logistics-warehouse,~/others/stock-logistics-workflow,~/others/storage,~/others/web,~/others/wms + --addons-path ${CI_PROJECT_DIR},~/others/account-analytic,~/others/account-closing,~/others/account-financial-tools,~/others/account-invoicing,~/others/account-payment,~/others/bank-payment,~/others/brand,~/others/community-data-files,~/others/connector,~/others/edi,~/others/partner-contact,~/others/product-attribute,~/others/queue,~/others/reporting-engine,~/others/sale-workflow,~/others/server-auth,~/others/server-env,~/others/server-tools,~/others/social,~/others/stock-logistics-warehouse,~/others/stock-logistics-workflow,~/others/storage --db_host psql --db_port 5432 --db_user flectra @@ -547,20 +507,15 @@ test_module_base_import_security_group: - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/partner-contact.git ~/others/partner-contact" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/product-attribute.git ~/others/product-attribute" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/queue.git ~/others/queue" - - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/report-print-send.git ~/others/report-print-send" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/reporting-engine.git ~/others/reporting-engine" - - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/rest-framework.git ~/others/rest-framework" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/sale-workflow.git ~/others/sale-workflow" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/server-auth.git ~/others/server-auth" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/server-env.git ~/others/server-env" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/server-tools.git ~/others/server-tools" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/social.git ~/others/social" - - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/stock-logistics-transport.git ~/others/stock-logistics-transport" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/stock-logistics-warehouse.git ~/others/stock-logistics-warehouse" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/stock-logistics-workflow.git ~/others/stock-logistics-workflow" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/storage.git ~/others/storage" - - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/web.git ~/others/web" - - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/wms.git ~/others/wms" - 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 @@ -572,7 +527,7 @@ test_module_base_import_security_group: - mv ${CI_PROJECT_DIR}/ci_data/filestore /opt/flectra/.local/share/filestore/test_base_import_security_group - chown -R flectra.flectra /opt/flectra/.local/share/filestore/test_base_import_security_group - su - flectra -c "/opt/flectra/flectra-bin - --addons-path ${CI_PROJECT_DIR},~/others/account-analytic,~/others/account-closing,~/others/account-financial-tools,~/others/account-invoicing,~/others/account-payment,~/others/bank-payment,~/others/brand,~/others/community-data-files,~/others/connector,~/others/edi,~/others/partner-contact,~/others/product-attribute,~/others/queue,~/others/report-print-send,~/others/reporting-engine,~/others/rest-framework,~/others/sale-workflow,~/others/server-auth,~/others/server-env,~/others/server-tools,~/others/social,~/others/stock-logistics-transport,~/others/stock-logistics-warehouse,~/others/stock-logistics-workflow,~/others/storage,~/others/web,~/others/wms + --addons-path ${CI_PROJECT_DIR},~/others/account-analytic,~/others/account-closing,~/others/account-financial-tools,~/others/account-invoicing,~/others/account-payment,~/others/bank-payment,~/others/brand,~/others/community-data-files,~/others/connector,~/others/edi,~/others/partner-contact,~/others/product-attribute,~/others/queue,~/others/reporting-engine,~/others/sale-workflow,~/others/server-auth,~/others/server-env,~/others/server-tools,~/others/social,~/others/stock-logistics-warehouse,~/others/stock-logistics-workflow,~/others/storage --db_host psql --db_port 5432 --db_user flectra @@ -607,20 +562,15 @@ test_module_date_range: - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/partner-contact.git ~/others/partner-contact" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/product-attribute.git ~/others/product-attribute" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/queue.git ~/others/queue" - - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/report-print-send.git ~/others/report-print-send" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/reporting-engine.git ~/others/reporting-engine" - - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/rest-framework.git ~/others/rest-framework" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/sale-workflow.git ~/others/sale-workflow" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/server-auth.git ~/others/server-auth" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/server-env.git ~/others/server-env" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/server-tools.git ~/others/server-tools" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/social.git ~/others/social" - - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/stock-logistics-transport.git ~/others/stock-logistics-transport" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/stock-logistics-warehouse.git ~/others/stock-logistics-warehouse" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/stock-logistics-workflow.git ~/others/stock-logistics-workflow" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/storage.git ~/others/storage" - - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/web.git ~/others/web" - - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/wms.git ~/others/wms" - 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 @@ -632,7 +582,7 @@ test_module_date_range: - mv ${CI_PROJECT_DIR}/ci_data/filestore /opt/flectra/.local/share/filestore/test_date_range - chown -R flectra.flectra /opt/flectra/.local/share/filestore/test_date_range - su - flectra -c "/opt/flectra/flectra-bin - --addons-path ${CI_PROJECT_DIR},~/others/account-analytic,~/others/account-closing,~/others/account-financial-tools,~/others/account-invoicing,~/others/account-payment,~/others/bank-payment,~/others/brand,~/others/community-data-files,~/others/connector,~/others/edi,~/others/partner-contact,~/others/product-attribute,~/others/queue,~/others/report-print-send,~/others/reporting-engine,~/others/rest-framework,~/others/sale-workflow,~/others/server-auth,~/others/server-env,~/others/server-tools,~/others/social,~/others/stock-logistics-transport,~/others/stock-logistics-warehouse,~/others/stock-logistics-workflow,~/others/storage,~/others/web,~/others/wms + --addons-path ${CI_PROJECT_DIR},~/others/account-analytic,~/others/account-closing,~/others/account-financial-tools,~/others/account-invoicing,~/others/account-payment,~/others/bank-payment,~/others/brand,~/others/community-data-files,~/others/connector,~/others/edi,~/others/partner-contact,~/others/product-attribute,~/others/queue,~/others/reporting-engine,~/others/sale-workflow,~/others/server-auth,~/others/server-env,~/others/server-tools,~/others/social,~/others/stock-logistics-warehouse,~/others/stock-logistics-workflow,~/others/storage --db_host psql --db_port 5432 --db_user flectra @@ -667,20 +617,15 @@ test_module_base_tier_validation_forward: - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/partner-contact.git ~/others/partner-contact" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/product-attribute.git ~/others/product-attribute" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/queue.git ~/others/queue" - - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/report-print-send.git ~/others/report-print-send" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/reporting-engine.git ~/others/reporting-engine" - - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/rest-framework.git ~/others/rest-framework" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/sale-workflow.git ~/others/sale-workflow" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/server-auth.git ~/others/server-auth" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/server-env.git ~/others/server-env" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/server-tools.git ~/others/server-tools" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/social.git ~/others/social" - - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/stock-logistics-transport.git ~/others/stock-logistics-transport" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/stock-logistics-warehouse.git ~/others/stock-logistics-warehouse" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/stock-logistics-workflow.git ~/others/stock-logistics-workflow" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/storage.git ~/others/storage" - - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/web.git ~/others/web" - - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/wms.git ~/others/wms" - 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 @@ -692,7 +637,7 @@ test_module_base_tier_validation_forward: - mv ${CI_PROJECT_DIR}/ci_data/filestore /opt/flectra/.local/share/filestore/test_base_tier_validation_forward - chown -R flectra.flectra /opt/flectra/.local/share/filestore/test_base_tier_validation_forward - su - flectra -c "/opt/flectra/flectra-bin - --addons-path ${CI_PROJECT_DIR},~/others/account-analytic,~/others/account-closing,~/others/account-financial-tools,~/others/account-invoicing,~/others/account-payment,~/others/bank-payment,~/others/brand,~/others/community-data-files,~/others/connector,~/others/edi,~/others/partner-contact,~/others/product-attribute,~/others/queue,~/others/report-print-send,~/others/reporting-engine,~/others/rest-framework,~/others/sale-workflow,~/others/server-auth,~/others/server-env,~/others/server-tools,~/others/social,~/others/stock-logistics-transport,~/others/stock-logistics-warehouse,~/others/stock-logistics-workflow,~/others/storage,~/others/web,~/others/wms + --addons-path ${CI_PROJECT_DIR},~/others/account-analytic,~/others/account-closing,~/others/account-financial-tools,~/others/account-invoicing,~/others/account-payment,~/others/bank-payment,~/others/brand,~/others/community-data-files,~/others/connector,~/others/edi,~/others/partner-contact,~/others/product-attribute,~/others/queue,~/others/reporting-engine,~/others/sale-workflow,~/others/server-auth,~/others/server-env,~/others/server-tools,~/others/social,~/others/stock-logistics-warehouse,~/others/stock-logistics-workflow,~/others/storage --db_host psql --db_port 5432 --db_user flectra @@ -727,20 +672,15 @@ test_module_base_menu_visibility_restriction: - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/partner-contact.git ~/others/partner-contact" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/product-attribute.git ~/others/product-attribute" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/queue.git ~/others/queue" - - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/report-print-send.git ~/others/report-print-send" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/reporting-engine.git ~/others/reporting-engine" - - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/rest-framework.git ~/others/rest-framework" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/sale-workflow.git ~/others/sale-workflow" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/server-auth.git ~/others/server-auth" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/server-env.git ~/others/server-env" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/server-tools.git ~/others/server-tools" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/social.git ~/others/social" - - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/stock-logistics-transport.git ~/others/stock-logistics-transport" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/stock-logistics-warehouse.git ~/others/stock-logistics-warehouse" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/stock-logistics-workflow.git ~/others/stock-logistics-workflow" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/storage.git ~/others/storage" - - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/web.git ~/others/web" - - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/wms.git ~/others/wms" - 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 @@ -752,7 +692,7 @@ test_module_base_menu_visibility_restriction: - mv ${CI_PROJECT_DIR}/ci_data/filestore /opt/flectra/.local/share/filestore/test_base_menu_visibility_restriction - chown -R flectra.flectra /opt/flectra/.local/share/filestore/test_base_menu_visibility_restriction - su - flectra -c "/opt/flectra/flectra-bin - --addons-path ${CI_PROJECT_DIR},~/others/account-analytic,~/others/account-closing,~/others/account-financial-tools,~/others/account-invoicing,~/others/account-payment,~/others/bank-payment,~/others/brand,~/others/community-data-files,~/others/connector,~/others/edi,~/others/partner-contact,~/others/product-attribute,~/others/queue,~/others/report-print-send,~/others/reporting-engine,~/others/rest-framework,~/others/sale-workflow,~/others/server-auth,~/others/server-env,~/others/server-tools,~/others/social,~/others/stock-logistics-transport,~/others/stock-logistics-warehouse,~/others/stock-logistics-workflow,~/others/storage,~/others/web,~/others/wms + --addons-path ${CI_PROJECT_DIR},~/others/account-analytic,~/others/account-closing,~/others/account-financial-tools,~/others/account-invoicing,~/others/account-payment,~/others/bank-payment,~/others/brand,~/others/community-data-files,~/others/connector,~/others/edi,~/others/partner-contact,~/others/product-attribute,~/others/queue,~/others/reporting-engine,~/others/sale-workflow,~/others/server-auth,~/others/server-env,~/others/server-tools,~/others/social,~/others/stock-logistics-warehouse,~/others/stock-logistics-workflow,~/others/storage --db_host psql --db_port 5432 --db_user flectra @@ -787,20 +727,15 @@ test_module_barcode_action: - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/partner-contact.git ~/others/partner-contact" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/product-attribute.git ~/others/product-attribute" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/queue.git ~/others/queue" - - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/report-print-send.git ~/others/report-print-send" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/reporting-engine.git ~/others/reporting-engine" - - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/rest-framework.git ~/others/rest-framework" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/sale-workflow.git ~/others/sale-workflow" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/server-auth.git ~/others/server-auth" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/server-env.git ~/others/server-env" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/server-tools.git ~/others/server-tools" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/social.git ~/others/social" - - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/stock-logistics-transport.git ~/others/stock-logistics-transport" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/stock-logistics-warehouse.git ~/others/stock-logistics-warehouse" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/stock-logistics-workflow.git ~/others/stock-logistics-workflow" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/storage.git ~/others/storage" - - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/web.git ~/others/web" - - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/wms.git ~/others/wms" - 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 @@ -812,7 +747,7 @@ test_module_barcode_action: - mv ${CI_PROJECT_DIR}/ci_data/filestore /opt/flectra/.local/share/filestore/test_barcode_action - chown -R flectra.flectra /opt/flectra/.local/share/filestore/test_barcode_action - su - flectra -c "/opt/flectra/flectra-bin - --addons-path ${CI_PROJECT_DIR},~/others/account-analytic,~/others/account-closing,~/others/account-financial-tools,~/others/account-invoicing,~/others/account-payment,~/others/bank-payment,~/others/brand,~/others/community-data-files,~/others/connector,~/others/edi,~/others/partner-contact,~/others/product-attribute,~/others/queue,~/others/report-print-send,~/others/reporting-engine,~/others/rest-framework,~/others/sale-workflow,~/others/server-auth,~/others/server-env,~/others/server-tools,~/others/social,~/others/stock-logistics-transport,~/others/stock-logistics-warehouse,~/others/stock-logistics-workflow,~/others/storage,~/others/web,~/others/wms + --addons-path ${CI_PROJECT_DIR},~/others/account-analytic,~/others/account-closing,~/others/account-financial-tools,~/others/account-invoicing,~/others/account-payment,~/others/bank-payment,~/others/brand,~/others/community-data-files,~/others/connector,~/others/edi,~/others/partner-contact,~/others/product-attribute,~/others/queue,~/others/reporting-engine,~/others/sale-workflow,~/others/server-auth,~/others/server-env,~/others/server-tools,~/others/social,~/others/stock-logistics-warehouse,~/others/stock-logistics-workflow,~/others/storage --db_host psql --db_port 5432 --db_user flectra @@ -847,20 +782,15 @@ test_module_multi_step_wizard: - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/partner-contact.git ~/others/partner-contact" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/product-attribute.git ~/others/product-attribute" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/queue.git ~/others/queue" - - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/report-print-send.git ~/others/report-print-send" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/reporting-engine.git ~/others/reporting-engine" - - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/rest-framework.git ~/others/rest-framework" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/sale-workflow.git ~/others/sale-workflow" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/server-auth.git ~/others/server-auth" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/server-env.git ~/others/server-env" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/server-tools.git ~/others/server-tools" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/social.git ~/others/social" - - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/stock-logistics-transport.git ~/others/stock-logistics-transport" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/stock-logistics-warehouse.git ~/others/stock-logistics-warehouse" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/stock-logistics-workflow.git ~/others/stock-logistics-workflow" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/storage.git ~/others/storage" - - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/web.git ~/others/web" - - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/wms.git ~/others/wms" - 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 @@ -872,7 +802,7 @@ test_module_multi_step_wizard: - mv ${CI_PROJECT_DIR}/ci_data/filestore /opt/flectra/.local/share/filestore/test_multi_step_wizard - chown -R flectra.flectra /opt/flectra/.local/share/filestore/test_multi_step_wizard - su - flectra -c "/opt/flectra/flectra-bin - --addons-path ${CI_PROJECT_DIR},~/others/account-analytic,~/others/account-closing,~/others/account-financial-tools,~/others/account-invoicing,~/others/account-payment,~/others/bank-payment,~/others/brand,~/others/community-data-files,~/others/connector,~/others/edi,~/others/partner-contact,~/others/product-attribute,~/others/queue,~/others/report-print-send,~/others/reporting-engine,~/others/rest-framework,~/others/sale-workflow,~/others/server-auth,~/others/server-env,~/others/server-tools,~/others/social,~/others/stock-logistics-transport,~/others/stock-logistics-warehouse,~/others/stock-logistics-workflow,~/others/storage,~/others/web,~/others/wms + --addons-path ${CI_PROJECT_DIR},~/others/account-analytic,~/others/account-closing,~/others/account-financial-tools,~/others/account-invoicing,~/others/account-payment,~/others/bank-payment,~/others/brand,~/others/community-data-files,~/others/connector,~/others/edi,~/others/partner-contact,~/others/product-attribute,~/others/queue,~/others/reporting-engine,~/others/sale-workflow,~/others/server-auth,~/others/server-env,~/others/server-tools,~/others/social,~/others/stock-logistics-warehouse,~/others/stock-logistics-workflow,~/others/storage --db_host psql --db_port 5432 --db_user flectra @@ -907,20 +837,15 @@ test_module_base_technical_features: - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/partner-contact.git ~/others/partner-contact" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/product-attribute.git ~/others/product-attribute" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/queue.git ~/others/queue" - - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/report-print-send.git ~/others/report-print-send" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/reporting-engine.git ~/others/reporting-engine" - - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/rest-framework.git ~/others/rest-framework" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/sale-workflow.git ~/others/sale-workflow" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/server-auth.git ~/others/server-auth" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/server-env.git ~/others/server-env" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/server-tools.git ~/others/server-tools" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/social.git ~/others/social" - - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/stock-logistics-transport.git ~/others/stock-logistics-transport" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/stock-logistics-warehouse.git ~/others/stock-logistics-warehouse" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/stock-logistics-workflow.git ~/others/stock-logistics-workflow" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/storage.git ~/others/storage" - - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/web.git ~/others/web" - - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/wms.git ~/others/wms" - 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 @@ -932,7 +857,7 @@ test_module_base_technical_features: - mv ${CI_PROJECT_DIR}/ci_data/filestore /opt/flectra/.local/share/filestore/test_base_technical_features - chown -R flectra.flectra /opt/flectra/.local/share/filestore/test_base_technical_features - su - flectra -c "/opt/flectra/flectra-bin - --addons-path ${CI_PROJECT_DIR},~/others/account-analytic,~/others/account-closing,~/others/account-financial-tools,~/others/account-invoicing,~/others/account-payment,~/others/bank-payment,~/others/brand,~/others/community-data-files,~/others/connector,~/others/edi,~/others/partner-contact,~/others/product-attribute,~/others/queue,~/others/report-print-send,~/others/reporting-engine,~/others/rest-framework,~/others/sale-workflow,~/others/server-auth,~/others/server-env,~/others/server-tools,~/others/social,~/others/stock-logistics-transport,~/others/stock-logistics-warehouse,~/others/stock-logistics-workflow,~/others/storage,~/others/web,~/others/wms + --addons-path ${CI_PROJECT_DIR},~/others/account-analytic,~/others/account-closing,~/others/account-financial-tools,~/others/account-invoicing,~/others/account-payment,~/others/bank-payment,~/others/brand,~/others/community-data-files,~/others/connector,~/others/edi,~/others/partner-contact,~/others/product-attribute,~/others/queue,~/others/reporting-engine,~/others/sale-workflow,~/others/server-auth,~/others/server-env,~/others/server-tools,~/others/social,~/others/stock-logistics-warehouse,~/others/stock-logistics-workflow,~/others/storage --db_host psql --db_port 5432 --db_user flectra @@ -967,20 +892,15 @@ test_module_base_tier_validation_formula: - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/partner-contact.git ~/others/partner-contact" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/product-attribute.git ~/others/product-attribute" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/queue.git ~/others/queue" - - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/report-print-send.git ~/others/report-print-send" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/reporting-engine.git ~/others/reporting-engine" - - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/rest-framework.git ~/others/rest-framework" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/sale-workflow.git ~/others/sale-workflow" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/server-auth.git ~/others/server-auth" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/server-env.git ~/others/server-env" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/server-tools.git ~/others/server-tools" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/social.git ~/others/social" - - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/stock-logistics-transport.git ~/others/stock-logistics-transport" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/stock-logistics-warehouse.git ~/others/stock-logistics-warehouse" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/stock-logistics-workflow.git ~/others/stock-logistics-workflow" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/storage.git ~/others/storage" - - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/web.git ~/others/web" - - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/wms.git ~/others/wms" - 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 @@ -992,7 +912,7 @@ test_module_base_tier_validation_formula: - mv ${CI_PROJECT_DIR}/ci_data/filestore /opt/flectra/.local/share/filestore/test_base_tier_validation_formula - chown -R flectra.flectra /opt/flectra/.local/share/filestore/test_base_tier_validation_formula - su - flectra -c "/opt/flectra/flectra-bin - --addons-path ${CI_PROJECT_DIR},~/others/account-analytic,~/others/account-closing,~/others/account-financial-tools,~/others/account-invoicing,~/others/account-payment,~/others/bank-payment,~/others/brand,~/others/community-data-files,~/others/connector,~/others/edi,~/others/partner-contact,~/others/product-attribute,~/others/queue,~/others/report-print-send,~/others/reporting-engine,~/others/rest-framework,~/others/sale-workflow,~/others/server-auth,~/others/server-env,~/others/server-tools,~/others/social,~/others/stock-logistics-transport,~/others/stock-logistics-warehouse,~/others/stock-logistics-workflow,~/others/storage,~/others/web,~/others/wms + --addons-path ${CI_PROJECT_DIR},~/others/account-analytic,~/others/account-closing,~/others/account-financial-tools,~/others/account-invoicing,~/others/account-payment,~/others/bank-payment,~/others/brand,~/others/community-data-files,~/others/connector,~/others/edi,~/others/partner-contact,~/others/product-attribute,~/others/queue,~/others/reporting-engine,~/others/sale-workflow,~/others/server-auth,~/others/server-env,~/others/server-tools,~/others/social,~/others/stock-logistics-warehouse,~/others/stock-logistics-workflow,~/others/storage --db_host psql --db_port 5432 --db_user flectra @@ -1027,20 +947,15 @@ test_module_base_tier_validation: - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/partner-contact.git ~/others/partner-contact" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/product-attribute.git ~/others/product-attribute" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/queue.git ~/others/queue" - - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/report-print-send.git ~/others/report-print-send" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/reporting-engine.git ~/others/reporting-engine" - - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/rest-framework.git ~/others/rest-framework" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/sale-workflow.git ~/others/sale-workflow" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/server-auth.git ~/others/server-auth" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/server-env.git ~/others/server-env" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/server-tools.git ~/others/server-tools" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/social.git ~/others/social" - - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/stock-logistics-transport.git ~/others/stock-logistics-transport" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/stock-logistics-warehouse.git ~/others/stock-logistics-warehouse" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/stock-logistics-workflow.git ~/others/stock-logistics-workflow" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/storage.git ~/others/storage" - - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/web.git ~/others/web" - - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/wms.git ~/others/wms" - 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 @@ -1052,7 +967,7 @@ test_module_base_tier_validation: - mv ${CI_PROJECT_DIR}/ci_data/filestore /opt/flectra/.local/share/filestore/test_base_tier_validation - chown -R flectra.flectra /opt/flectra/.local/share/filestore/test_base_tier_validation - su - flectra -c "/opt/flectra/flectra-bin - --addons-path ${CI_PROJECT_DIR},~/others/account-analytic,~/others/account-closing,~/others/account-financial-tools,~/others/account-invoicing,~/others/account-payment,~/others/bank-payment,~/others/brand,~/others/community-data-files,~/others/connector,~/others/edi,~/others/partner-contact,~/others/product-attribute,~/others/queue,~/others/report-print-send,~/others/reporting-engine,~/others/rest-framework,~/others/sale-workflow,~/others/server-auth,~/others/server-env,~/others/server-tools,~/others/social,~/others/stock-logistics-transport,~/others/stock-logistics-warehouse,~/others/stock-logistics-workflow,~/others/storage,~/others/web,~/others/wms + --addons-path ${CI_PROJECT_DIR},~/others/account-analytic,~/others/account-closing,~/others/account-financial-tools,~/others/account-invoicing,~/others/account-payment,~/others/bank-payment,~/others/brand,~/others/community-data-files,~/others/connector,~/others/edi,~/others/partner-contact,~/others/product-attribute,~/others/queue,~/others/reporting-engine,~/others/sale-workflow,~/others/server-auth,~/others/server-env,~/others/server-tools,~/others/social,~/others/stock-logistics-warehouse,~/others/stock-logistics-workflow,~/others/storage --db_host psql --db_port 5432 --db_user flectra @@ -1087,20 +1002,15 @@ test_module_base_search_custom_field_filter: - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/partner-contact.git ~/others/partner-contact" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/product-attribute.git ~/others/product-attribute" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/queue.git ~/others/queue" - - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/report-print-send.git ~/others/report-print-send" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/reporting-engine.git ~/others/reporting-engine" - - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/rest-framework.git ~/others/rest-framework" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/sale-workflow.git ~/others/sale-workflow" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/server-auth.git ~/others/server-auth" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/server-env.git ~/others/server-env" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/server-tools.git ~/others/server-tools" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/social.git ~/others/social" - - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/stock-logistics-transport.git ~/others/stock-logistics-transport" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/stock-logistics-warehouse.git ~/others/stock-logistics-warehouse" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/stock-logistics-workflow.git ~/others/stock-logistics-workflow" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/storage.git ~/others/storage" - - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/web.git ~/others/web" - - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/wms.git ~/others/wms" - 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 @@ -1112,7 +1022,7 @@ test_module_base_search_custom_field_filter: - mv ${CI_PROJECT_DIR}/ci_data/filestore /opt/flectra/.local/share/filestore/test_base_search_custom_field_filter - chown -R flectra.flectra /opt/flectra/.local/share/filestore/test_base_search_custom_field_filter - su - flectra -c "/opt/flectra/flectra-bin - --addons-path ${CI_PROJECT_DIR},~/others/account-analytic,~/others/account-closing,~/others/account-financial-tools,~/others/account-invoicing,~/others/account-payment,~/others/bank-payment,~/others/brand,~/others/community-data-files,~/others/connector,~/others/edi,~/others/partner-contact,~/others/product-attribute,~/others/queue,~/others/report-print-send,~/others/reporting-engine,~/others/rest-framework,~/others/sale-workflow,~/others/server-auth,~/others/server-env,~/others/server-tools,~/others/social,~/others/stock-logistics-transport,~/others/stock-logistics-warehouse,~/others/stock-logistics-workflow,~/others/storage,~/others/web,~/others/wms + --addons-path ${CI_PROJECT_DIR},~/others/account-analytic,~/others/account-closing,~/others/account-financial-tools,~/others/account-invoicing,~/others/account-payment,~/others/bank-payment,~/others/brand,~/others/community-data-files,~/others/connector,~/others/edi,~/others/partner-contact,~/others/product-attribute,~/others/queue,~/others/reporting-engine,~/others/sale-workflow,~/others/server-auth,~/others/server-env,~/others/server-tools,~/others/social,~/others/stock-logistics-warehouse,~/others/stock-logistics-workflow,~/others/storage --db_host psql --db_port 5432 --db_user flectra @@ -1147,20 +1057,15 @@ test_module_base_revision: - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/partner-contact.git ~/others/partner-contact" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/product-attribute.git ~/others/product-attribute" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/queue.git ~/others/queue" - - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/report-print-send.git ~/others/report-print-send" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/reporting-engine.git ~/others/reporting-engine" - - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/rest-framework.git ~/others/rest-framework" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/sale-workflow.git ~/others/sale-workflow" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/server-auth.git ~/others/server-auth" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/server-env.git ~/others/server-env" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/server-tools.git ~/others/server-tools" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/social.git ~/others/social" - - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/stock-logistics-transport.git ~/others/stock-logistics-transport" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/stock-logistics-warehouse.git ~/others/stock-logistics-warehouse" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/stock-logistics-workflow.git ~/others/stock-logistics-workflow" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/storage.git ~/others/storage" - - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/web.git ~/others/web" - - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/wms.git ~/others/wms" - 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 @@ -1172,7 +1077,7 @@ test_module_base_revision: - mv ${CI_PROJECT_DIR}/ci_data/filestore /opt/flectra/.local/share/filestore/test_base_revision - chown -R flectra.flectra /opt/flectra/.local/share/filestore/test_base_revision - su - flectra -c "/opt/flectra/flectra-bin - --addons-path ${CI_PROJECT_DIR},~/others/account-analytic,~/others/account-closing,~/others/account-financial-tools,~/others/account-invoicing,~/others/account-payment,~/others/bank-payment,~/others/brand,~/others/community-data-files,~/others/connector,~/others/edi,~/others/partner-contact,~/others/product-attribute,~/others/queue,~/others/report-print-send,~/others/reporting-engine,~/others/rest-framework,~/others/sale-workflow,~/others/server-auth,~/others/server-env,~/others/server-tools,~/others/social,~/others/stock-logistics-transport,~/others/stock-logistics-warehouse,~/others/stock-logistics-workflow,~/others/storage,~/others/web,~/others/wms + --addons-path ${CI_PROJECT_DIR},~/others/account-analytic,~/others/account-closing,~/others/account-financial-tools,~/others/account-invoicing,~/others/account-payment,~/others/bank-payment,~/others/brand,~/others/community-data-files,~/others/connector,~/others/edi,~/others/partner-contact,~/others/product-attribute,~/others/queue,~/others/reporting-engine,~/others/sale-workflow,~/others/server-auth,~/others/server-env,~/others/server-tools,~/others/social,~/others/stock-logistics-warehouse,~/others/stock-logistics-workflow,~/others/storage --db_host psql --db_port 5432 --db_user flectra @@ -1207,20 +1112,15 @@ test_module_base_export_manager: - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/partner-contact.git ~/others/partner-contact" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/product-attribute.git ~/others/product-attribute" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/queue.git ~/others/queue" - - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/report-print-send.git ~/others/report-print-send" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/reporting-engine.git ~/others/reporting-engine" - - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/rest-framework.git ~/others/rest-framework" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/sale-workflow.git ~/others/sale-workflow" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/server-auth.git ~/others/server-auth" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/server-env.git ~/others/server-env" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/server-tools.git ~/others/server-tools" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/social.git ~/others/social" - - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/stock-logistics-transport.git ~/others/stock-logistics-transport" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/stock-logistics-warehouse.git ~/others/stock-logistics-warehouse" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/stock-logistics-workflow.git ~/others/stock-logistics-workflow" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/storage.git ~/others/storage" - - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/web.git ~/others/web" - - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/wms.git ~/others/wms" - 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 @@ -1232,7 +1132,7 @@ test_module_base_export_manager: - mv ${CI_PROJECT_DIR}/ci_data/filestore /opt/flectra/.local/share/filestore/test_base_export_manager - chown -R flectra.flectra /opt/flectra/.local/share/filestore/test_base_export_manager - su - flectra -c "/opt/flectra/flectra-bin - --addons-path ${CI_PROJECT_DIR},~/others/account-analytic,~/others/account-closing,~/others/account-financial-tools,~/others/account-invoicing,~/others/account-payment,~/others/bank-payment,~/others/brand,~/others/community-data-files,~/others/connector,~/others/edi,~/others/partner-contact,~/others/product-attribute,~/others/queue,~/others/report-print-send,~/others/reporting-engine,~/others/rest-framework,~/others/sale-workflow,~/others/server-auth,~/others/server-env,~/others/server-tools,~/others/social,~/others/stock-logistics-transport,~/others/stock-logistics-warehouse,~/others/stock-logistics-workflow,~/others/storage,~/others/web,~/others/wms + --addons-path ${CI_PROJECT_DIR},~/others/account-analytic,~/others/account-closing,~/others/account-financial-tools,~/others/account-invoicing,~/others/account-payment,~/others/bank-payment,~/others/brand,~/others/community-data-files,~/others/connector,~/others/edi,~/others/partner-contact,~/others/product-attribute,~/others/queue,~/others/reporting-engine,~/others/sale-workflow,~/others/server-auth,~/others/server-env,~/others/server-tools,~/others/social,~/others/stock-logistics-warehouse,~/others/stock-logistics-workflow,~/others/storage --db_host psql --db_port 5432 --db_user flectra @@ -1267,20 +1167,15 @@ test_module_document_quick_access: - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/partner-contact.git ~/others/partner-contact" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/product-attribute.git ~/others/product-attribute" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/queue.git ~/others/queue" - - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/report-print-send.git ~/others/report-print-send" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/reporting-engine.git ~/others/reporting-engine" - - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/rest-framework.git ~/others/rest-framework" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/sale-workflow.git ~/others/sale-workflow" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/server-auth.git ~/others/server-auth" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/server-env.git ~/others/server-env" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/server-tools.git ~/others/server-tools" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/social.git ~/others/social" - - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/stock-logistics-transport.git ~/others/stock-logistics-transport" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/stock-logistics-warehouse.git ~/others/stock-logistics-warehouse" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/stock-logistics-workflow.git ~/others/stock-logistics-workflow" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/storage.git ~/others/storage" - - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/web.git ~/others/web" - - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/wms.git ~/others/wms" - 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 @@ -1292,7 +1187,7 @@ test_module_document_quick_access: - mv ${CI_PROJECT_DIR}/ci_data/filestore /opt/flectra/.local/share/filestore/test_document_quick_access - chown -R flectra.flectra /opt/flectra/.local/share/filestore/test_document_quick_access - su - flectra -c "/opt/flectra/flectra-bin - --addons-path ${CI_PROJECT_DIR},~/others/account-analytic,~/others/account-closing,~/others/account-financial-tools,~/others/account-invoicing,~/others/account-payment,~/others/bank-payment,~/others/brand,~/others/community-data-files,~/others/connector,~/others/edi,~/others/partner-contact,~/others/product-attribute,~/others/queue,~/others/report-print-send,~/others/reporting-engine,~/others/rest-framework,~/others/sale-workflow,~/others/server-auth,~/others/server-env,~/others/server-tools,~/others/social,~/others/stock-logistics-transport,~/others/stock-logistics-warehouse,~/others/stock-logistics-workflow,~/others/storage,~/others/web,~/others/wms + --addons-path ${CI_PROJECT_DIR},~/others/account-analytic,~/others/account-closing,~/others/account-financial-tools,~/others/account-invoicing,~/others/account-payment,~/others/bank-payment,~/others/brand,~/others/community-data-files,~/others/connector,~/others/edi,~/others/partner-contact,~/others/product-attribute,~/others/queue,~/others/reporting-engine,~/others/sale-workflow,~/others/server-auth,~/others/server-env,~/others/server-tools,~/others/social,~/others/stock-logistics-warehouse,~/others/stock-logistics-workflow,~/others/storage --db_host psql --db_port 5432 --db_user flectra @@ -1327,20 +1222,15 @@ test_module_mass_editing: - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/partner-contact.git ~/others/partner-contact" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/product-attribute.git ~/others/product-attribute" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/queue.git ~/others/queue" - - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/report-print-send.git ~/others/report-print-send" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/reporting-engine.git ~/others/reporting-engine" - - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/rest-framework.git ~/others/rest-framework" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/sale-workflow.git ~/others/sale-workflow" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/server-auth.git ~/others/server-auth" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/server-env.git ~/others/server-env" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/server-tools.git ~/others/server-tools" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/social.git ~/others/social" - - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/stock-logistics-transport.git ~/others/stock-logistics-transport" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/stock-logistics-warehouse.git ~/others/stock-logistics-warehouse" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/stock-logistics-workflow.git ~/others/stock-logistics-workflow" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/storage.git ~/others/storage" - - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/web.git ~/others/web" - - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/wms.git ~/others/wms" - 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 @@ -1352,7 +1242,7 @@ test_module_mass_editing: - mv ${CI_PROJECT_DIR}/ci_data/filestore /opt/flectra/.local/share/filestore/test_mass_editing - chown -R flectra.flectra /opt/flectra/.local/share/filestore/test_mass_editing - su - flectra -c "/opt/flectra/flectra-bin - --addons-path ${CI_PROJECT_DIR},~/others/account-analytic,~/others/account-closing,~/others/account-financial-tools,~/others/account-invoicing,~/others/account-payment,~/others/bank-payment,~/others/brand,~/others/community-data-files,~/others/connector,~/others/edi,~/others/partner-contact,~/others/product-attribute,~/others/queue,~/others/report-print-send,~/others/reporting-engine,~/others/rest-framework,~/others/sale-workflow,~/others/server-auth,~/others/server-env,~/others/server-tools,~/others/social,~/others/stock-logistics-transport,~/others/stock-logistics-warehouse,~/others/stock-logistics-workflow,~/others/storage,~/others/web,~/others/wms + --addons-path ${CI_PROJECT_DIR},~/others/account-analytic,~/others/account-closing,~/others/account-financial-tools,~/others/account-invoicing,~/others/account-payment,~/others/bank-payment,~/others/brand,~/others/community-data-files,~/others/connector,~/others/edi,~/others/partner-contact,~/others/product-attribute,~/others/queue,~/others/reporting-engine,~/others/sale-workflow,~/others/server-auth,~/others/server-env,~/others/server-tools,~/others/social,~/others/stock-logistics-warehouse,~/others/stock-logistics-workflow,~/others/storage --db_host psql --db_port 5432 --db_user flectra @@ -1387,20 +1277,15 @@ test_module_base_tier_validation_server_action: - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/partner-contact.git ~/others/partner-contact" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/product-attribute.git ~/others/product-attribute" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/queue.git ~/others/queue" - - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/report-print-send.git ~/others/report-print-send" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/reporting-engine.git ~/others/reporting-engine" - - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/rest-framework.git ~/others/rest-framework" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/sale-workflow.git ~/others/sale-workflow" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/server-auth.git ~/others/server-auth" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/server-env.git ~/others/server-env" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/server-tools.git ~/others/server-tools" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/social.git ~/others/social" - - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/stock-logistics-transport.git ~/others/stock-logistics-transport" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/stock-logistics-warehouse.git ~/others/stock-logistics-warehouse" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/stock-logistics-workflow.git ~/others/stock-logistics-workflow" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/storage.git ~/others/storage" - - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/web.git ~/others/web" - - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/wms.git ~/others/wms" - 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 @@ -1412,7 +1297,7 @@ test_module_base_tier_validation_server_action: - mv ${CI_PROJECT_DIR}/ci_data/filestore /opt/flectra/.local/share/filestore/test_base_tier_validation_server_action - chown -R flectra.flectra /opt/flectra/.local/share/filestore/test_base_tier_validation_server_action - su - flectra -c "/opt/flectra/flectra-bin - --addons-path ${CI_PROJECT_DIR},~/others/account-analytic,~/others/account-closing,~/others/account-financial-tools,~/others/account-invoicing,~/others/account-payment,~/others/bank-payment,~/others/brand,~/others/community-data-files,~/others/connector,~/others/edi,~/others/partner-contact,~/others/product-attribute,~/others/queue,~/others/report-print-send,~/others/reporting-engine,~/others/rest-framework,~/others/sale-workflow,~/others/server-auth,~/others/server-env,~/others/server-tools,~/others/social,~/others/stock-logistics-transport,~/others/stock-logistics-warehouse,~/others/stock-logistics-workflow,~/others/storage,~/others/web,~/others/wms + --addons-path ${CI_PROJECT_DIR},~/others/account-analytic,~/others/account-closing,~/others/account-financial-tools,~/others/account-invoicing,~/others/account-payment,~/others/bank-payment,~/others/brand,~/others/community-data-files,~/others/connector,~/others/edi,~/others/partner-contact,~/others/product-attribute,~/others/queue,~/others/reporting-engine,~/others/sale-workflow,~/others/server-auth,~/others/server-env,~/others/server-tools,~/others/social,~/others/stock-logistics-warehouse,~/others/stock-logistics-workflow,~/others/storage --db_host psql --db_port 5432 --db_user flectra @@ -1447,20 +1332,15 @@ test_module_mass_operation_abstract: - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/partner-contact.git ~/others/partner-contact" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/product-attribute.git ~/others/product-attribute" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/queue.git ~/others/queue" - - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/report-print-send.git ~/others/report-print-send" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/reporting-engine.git ~/others/reporting-engine" - - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/rest-framework.git ~/others/rest-framework" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/sale-workflow.git ~/others/sale-workflow" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/server-auth.git ~/others/server-auth" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/server-env.git ~/others/server-env" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/server-tools.git ~/others/server-tools" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/social.git ~/others/social" - - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/stock-logistics-transport.git ~/others/stock-logistics-transport" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/stock-logistics-warehouse.git ~/others/stock-logistics-warehouse" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/stock-logistics-workflow.git ~/others/stock-logistics-workflow" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/storage.git ~/others/storage" - - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/web.git ~/others/web" - - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/wms.git ~/others/wms" - 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 @@ -1472,7 +1352,7 @@ test_module_mass_operation_abstract: - mv ${CI_PROJECT_DIR}/ci_data/filestore /opt/flectra/.local/share/filestore/test_mass_operation_abstract - chown -R flectra.flectra /opt/flectra/.local/share/filestore/test_mass_operation_abstract - su - flectra -c "/opt/flectra/flectra-bin - --addons-path ${CI_PROJECT_DIR},~/others/account-analytic,~/others/account-closing,~/others/account-financial-tools,~/others/account-invoicing,~/others/account-payment,~/others/bank-payment,~/others/brand,~/others/community-data-files,~/others/connector,~/others/edi,~/others/partner-contact,~/others/product-attribute,~/others/queue,~/others/report-print-send,~/others/reporting-engine,~/others/rest-framework,~/others/sale-workflow,~/others/server-auth,~/others/server-env,~/others/server-tools,~/others/social,~/others/stock-logistics-transport,~/others/stock-logistics-warehouse,~/others/stock-logistics-workflow,~/others/storage,~/others/web,~/others/wms + --addons-path ${CI_PROJECT_DIR},~/others/account-analytic,~/others/account-closing,~/others/account-financial-tools,~/others/account-invoicing,~/others/account-payment,~/others/bank-payment,~/others/brand,~/others/community-data-files,~/others/connector,~/others/edi,~/others/partner-contact,~/others/product-attribute,~/others/queue,~/others/reporting-engine,~/others/sale-workflow,~/others/server-auth,~/others/server-env,~/others/server-tools,~/others/social,~/others/stock-logistics-warehouse,~/others/stock-logistics-workflow,~/others/storage --db_host psql --db_port 5432 --db_user flectra @@ -1507,20 +1387,15 @@ test_module_chained_swapper: - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/partner-contact.git ~/others/partner-contact" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/product-attribute.git ~/others/product-attribute" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/queue.git ~/others/queue" - - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/report-print-send.git ~/others/report-print-send" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/reporting-engine.git ~/others/reporting-engine" - - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/rest-framework.git ~/others/rest-framework" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/sale-workflow.git ~/others/sale-workflow" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/server-auth.git ~/others/server-auth" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/server-env.git ~/others/server-env" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/server-tools.git ~/others/server-tools" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/social.git ~/others/social" - - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/stock-logistics-transport.git ~/others/stock-logistics-transport" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/stock-logistics-warehouse.git ~/others/stock-logistics-warehouse" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/stock-logistics-workflow.git ~/others/stock-logistics-workflow" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/storage.git ~/others/storage" - - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/web.git ~/others/web" - - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/wms.git ~/others/wms" - 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 @@ -1532,7 +1407,7 @@ test_module_chained_swapper: - mv ${CI_PROJECT_DIR}/ci_data/filestore /opt/flectra/.local/share/filestore/test_chained_swapper - chown -R flectra.flectra /opt/flectra/.local/share/filestore/test_chained_swapper - su - flectra -c "/opt/flectra/flectra-bin - --addons-path ${CI_PROJECT_DIR},~/others/account-analytic,~/others/account-closing,~/others/account-financial-tools,~/others/account-invoicing,~/others/account-payment,~/others/bank-payment,~/others/brand,~/others/community-data-files,~/others/connector,~/others/edi,~/others/partner-contact,~/others/product-attribute,~/others/queue,~/others/report-print-send,~/others/reporting-engine,~/others/rest-framework,~/others/sale-workflow,~/others/server-auth,~/others/server-env,~/others/server-tools,~/others/social,~/others/stock-logistics-transport,~/others/stock-logistics-warehouse,~/others/stock-logistics-workflow,~/others/storage,~/others/web,~/others/wms + --addons-path ${CI_PROJECT_DIR},~/others/account-analytic,~/others/account-closing,~/others/account-financial-tools,~/others/account-invoicing,~/others/account-payment,~/others/bank-payment,~/others/brand,~/others/community-data-files,~/others/connector,~/others/edi,~/others/partner-contact,~/others/product-attribute,~/others/queue,~/others/reporting-engine,~/others/sale-workflow,~/others/server-auth,~/others/server-env,~/others/server-tools,~/others/social,~/others/stock-logistics-warehouse,~/others/stock-logistics-workflow,~/others/storage --db_host psql --db_port 5432 --db_user flectra @@ -1567,20 +1442,15 @@ test_module_base_optional_quick_create: - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/partner-contact.git ~/others/partner-contact" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/product-attribute.git ~/others/product-attribute" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/queue.git ~/others/queue" - - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/report-print-send.git ~/others/report-print-send" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/reporting-engine.git ~/others/reporting-engine" - - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/rest-framework.git ~/others/rest-framework" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/sale-workflow.git ~/others/sale-workflow" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/server-auth.git ~/others/server-auth" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/server-env.git ~/others/server-env" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/server-tools.git ~/others/server-tools" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/social.git ~/others/social" - - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/stock-logistics-transport.git ~/others/stock-logistics-transport" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/stock-logistics-warehouse.git ~/others/stock-logistics-warehouse" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/stock-logistics-workflow.git ~/others/stock-logistics-workflow" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/storage.git ~/others/storage" - - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/web.git ~/others/web" - - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/wms.git ~/others/wms" - 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 @@ -1592,7 +1462,7 @@ test_module_base_optional_quick_create: - mv ${CI_PROJECT_DIR}/ci_data/filestore /opt/flectra/.local/share/filestore/test_base_optional_quick_create - chown -R flectra.flectra /opt/flectra/.local/share/filestore/test_base_optional_quick_create - su - flectra -c "/opt/flectra/flectra-bin - --addons-path ${CI_PROJECT_DIR},~/others/account-analytic,~/others/account-closing,~/others/account-financial-tools,~/others/account-invoicing,~/others/account-payment,~/others/bank-payment,~/others/brand,~/others/community-data-files,~/others/connector,~/others/edi,~/others/partner-contact,~/others/product-attribute,~/others/queue,~/others/report-print-send,~/others/reporting-engine,~/others/rest-framework,~/others/sale-workflow,~/others/server-auth,~/others/server-env,~/others/server-tools,~/others/social,~/others/stock-logistics-transport,~/others/stock-logistics-warehouse,~/others/stock-logistics-workflow,~/others/storage,~/others/web,~/others/wms + --addons-path ${CI_PROJECT_DIR},~/others/account-analytic,~/others/account-closing,~/others/account-financial-tools,~/others/account-invoicing,~/others/account-payment,~/others/bank-payment,~/others/brand,~/others/community-data-files,~/others/connector,~/others/edi,~/others/partner-contact,~/others/product-attribute,~/others/queue,~/others/reporting-engine,~/others/sale-workflow,~/others/server-auth,~/others/server-env,~/others/server-tools,~/others/social,~/others/stock-logistics-warehouse,~/others/stock-logistics-workflow,~/others/storage --db_host psql --db_port 5432 --db_user flectra @@ -1627,20 +1497,15 @@ test_module_document_quick_access_folder_auto_classification: - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/partner-contact.git ~/others/partner-contact" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/product-attribute.git ~/others/product-attribute" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/queue.git ~/others/queue" - - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/report-print-send.git ~/others/report-print-send" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/reporting-engine.git ~/others/reporting-engine" - - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/rest-framework.git ~/others/rest-framework" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/sale-workflow.git ~/others/sale-workflow" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/server-auth.git ~/others/server-auth" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/server-env.git ~/others/server-env" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/server-tools.git ~/others/server-tools" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/social.git ~/others/social" - - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/stock-logistics-transport.git ~/others/stock-logistics-transport" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/stock-logistics-warehouse.git ~/others/stock-logistics-warehouse" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/stock-logistics-workflow.git ~/others/stock-logistics-workflow" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/storage.git ~/others/storage" - - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/web.git ~/others/web" - - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/wms.git ~/others/wms" - 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 @@ -1652,7 +1517,7 @@ test_module_document_quick_access_folder_auto_classification: - mv ${CI_PROJECT_DIR}/ci_data/filestore /opt/flectra/.local/share/filestore/test_document_quick_access_folder_auto_classification - chown -R flectra.flectra /opt/flectra/.local/share/filestore/test_document_quick_access_folder_auto_classification - su - flectra -c "/opt/flectra/flectra-bin - --addons-path ${CI_PROJECT_DIR},~/others/account-analytic,~/others/account-closing,~/others/account-financial-tools,~/others/account-invoicing,~/others/account-payment,~/others/bank-payment,~/others/brand,~/others/community-data-files,~/others/connector,~/others/edi,~/others/partner-contact,~/others/product-attribute,~/others/queue,~/others/report-print-send,~/others/reporting-engine,~/others/rest-framework,~/others/sale-workflow,~/others/server-auth,~/others/server-env,~/others/server-tools,~/others/social,~/others/stock-logistics-transport,~/others/stock-logistics-warehouse,~/others/stock-logistics-workflow,~/others/storage,~/others/web,~/others/wms + --addons-path ${CI_PROJECT_DIR},~/others/account-analytic,~/others/account-closing,~/others/account-financial-tools,~/others/account-invoicing,~/others/account-payment,~/others/bank-payment,~/others/brand,~/others/community-data-files,~/others/connector,~/others/edi,~/others/partner-contact,~/others/product-attribute,~/others/queue,~/others/reporting-engine,~/others/sale-workflow,~/others/server-auth,~/others/server-env,~/others/server-tools,~/others/social,~/others/stock-logistics-warehouse,~/others/stock-logistics-workflow,~/others/storage --db_host psql --db_port 5432 --db_user flectra diff --git a/README.md b/README.md index ab7178f..4071662 100644 --- a/README.md +++ b/README.md @@ -24,14 +24,14 @@ addon | version | summary [multi_step_wizard](multi_step_wizard/) | 2.0.1.0.0| Multi-Steps Wizards [base_technical_features](base_technical_features/) | 2.0.1.1.1| Access to technical features without activating debug mode [base_tier_validation_formula](base_tier_validation_formula/) | 2.0.2.0.1| Formulas for Base tier validation -[base_tier_validation](base_tier_validation/) | 2.0.2.8.1| Implement a validation process based on tiers. +[base_tier_validation](base_tier_validation/) | 2.0.2.9.0| Implement a validation process based on tiers. [base_search_custom_field_filter](base_search_custom_field_filter/) | 2.0.1.0.0| Add custom filters for fields via UI [base_revision](base_revision/) | 2.0.1.0.1| Keep track of revised document [base_export_manager](base_export_manager/) | 2.0.1.0.1| Manage model export profiles [document_quick_access](document_quick_access/) | 2.0.1.0.0| Document quick access -[mass_editing](mass_editing/) | 2.0.1.0.1| Mass Editing +[mass_editing](mass_editing/) | 2.0.1.1.0| Mass Editing [base_tier_validation_server_action](base_tier_validation_server_action/) | 2.0.1.1.1| Add option to call server action when a tier is validated -[mass_operation_abstract](mass_operation_abstract/) | 2.0.1.0.0| Abstract Tools used for modules that realize operation on many items +[mass_operation_abstract](mass_operation_abstract/) | 2.0.1.0.1| Abstract Tools used for modules that realize operation on many items [chained_swapper](chained_swapper/) | 2.0.1.0.0| Chained Swapper [base_optional_quick_create](base_optional_quick_create/) | 2.0.1.0.0| Avoid "quick create" on m2o fields, on a "by model" basis [document_quick_access_folder_auto_classification](document_quick_access_folder_auto_classification/) | 2.0.1.0.0| Auto classification of Documents after reading a QR diff --git a/base_tier_validation/__manifest__.py b/base_tier_validation/__manifest__.py index 6ddec53..0a72866 100644 --- a/base_tier_validation/__manifest__.py +++ b/base_tier_validation/__manifest__.py @@ -3,7 +3,7 @@ { "name": "Base Tier Validation", "summary": "Implement a validation process based on tiers.", - "version": "2.0.2.8.1", + "version": "2.0.2.9.0", "development_status": "Mature", "maintainers": ["LoisRForgeFlow"], "category": "Tools", diff --git a/base_tier_validation/i18n/base_tier_validation.pot b/base_tier_validation/i18n/base_tier_validation.pot index 4b6888d..2cb129b 100644 --- a/base_tier_validation/i18n/base_tier_validation.pot +++ b/base_tier_validation/i18n/base_tier_validation.pot @@ -521,7 +521,8 @@ msgstr "" #: code:addons/base_tier_validation/models/tier_validation.py:0 #, python-format msgid "" -"This action needs to be validated for at least one record. \n" +"This action needs to be validated for at least one record. Reviews pending:\n" +" - %s \n" "Please request a validation." msgstr "" diff --git a/base_tier_validation/i18n/es.po b/base_tier_validation/i18n/es.po index 6592f5b..2cbec6a 100644 --- a/base_tier_validation/i18n/es.po +++ b/base_tier_validation/i18n/es.po @@ -544,11 +544,10 @@ msgstr "" #: code:addons/base_tier_validation/models/tier_validation.py:0 #, python-format msgid "" -"This action needs to be validated for at least one record. \n" +"This action needs to be validated for at least one record. Reviews pending:\n" +" - %s \n" "Please request a validation." msgstr "" -"Esta acción necesita ser validada para algún registro.\n" -"Por favor, solicita una validación." #. module: base_tier_validation #: model:ir.actions.act_window,name:base_tier_validation.tier_definition_action @@ -684,6 +683,13 @@ msgstr "Validaciones" msgid "e.g. Tier Validation for..." msgstr "ej. Validación de Nivel por..." +#~ msgid "" +#~ "This action needs to be validated for at least one record. \n" +#~ "Please request a validation." +#~ msgstr "" +#~ "Esta acción necesita ser validada para algún registro.\n" +#~ "Por favor, solicita una validación." + #~ msgid "Any user in a specific group." #~ msgstr "Cualquier usuario en el grupo especificado." diff --git a/base_tier_validation/i18n/es_MX.po b/base_tier_validation/i18n/es_MX.po index 48fa2ee..5f61862 100644 --- a/base_tier_validation/i18n/es_MX.po +++ b/base_tier_validation/i18n/es_MX.po @@ -540,11 +540,10 @@ msgstr "No hay res.users en el campo seleccionado" #: code:addons/base_tier_validation/models/tier_validation.py:0 #, python-format msgid "" -"This action needs to be validated for at least one record. \n" +"This action needs to be validated for at least one record. Reviews pending:\n" +" - %s \n" "Please request a validation." msgstr "" -"Esta acción debe validarse para al menos un registro.\n" -"Solicite una validación." #. module: base_tier_validation #: model:ir.actions.act_window,name:base_tier_validation.tier_definition_action @@ -676,3 +675,10 @@ msgstr "Validaciones" #: model_terms:ir.ui.view,arch_db:base_tier_validation.tier_definition_view_form msgid "e.g. Tier Validation for..." msgstr "p.ej. Validación de nivel para ..." + +#~ msgid "" +#~ "This action needs to be validated for at least one record. \n" +#~ "Please request a validation." +#~ msgstr "" +#~ "Esta acción debe validarse para al menos un registro.\n" +#~ "Solicite una validación." diff --git a/base_tier_validation/i18n/fr.po b/base_tier_validation/i18n/fr.po index 203b941..a4b4c64 100644 --- a/base_tier_validation/i18n/fr.po +++ b/base_tier_validation/i18n/fr.po @@ -537,7 +537,8 @@ msgstr "" #: code:addons/base_tier_validation/models/tier_validation.py:0 #, python-format msgid "" -"This action needs to be validated for at least one record. \n" +"This action needs to be validated for at least one record. Reviews pending:\n" +" - %s \n" "Please request a validation." msgstr "" diff --git a/base_tier_validation/i18n/it.po b/base_tier_validation/i18n/it.po index a3069dc..e318c5b 100644 --- a/base_tier_validation/i18n/it.po +++ b/base_tier_validation/i18n/it.po @@ -539,11 +539,10 @@ msgstr "" #: code:addons/base_tier_validation/models/tier_validation.py:0 #, python-format msgid "" -"This action needs to be validated for at least one record. \n" +"This action needs to be validated for at least one record. Reviews pending:\n" +" - %s \n" "Please request a validation." msgstr "" -"Questa azione richiede di essere approvata per almeno un record.\n" -"Prego richiedere un'approvazione." #. module: base_tier_validation #: model:ir.actions.act_window,name:base_tier_validation.tier_definition_action @@ -675,3 +674,10 @@ msgstr "Approvazioni" #: model_terms:ir.ui.view,arch_db:base_tier_validation.tier_definition_view_form msgid "e.g. Tier Validation for..." msgstr "" + +#~ msgid "" +#~ "This action needs to be validated for at least one record. \n" +#~ "Please request a validation." +#~ msgstr "" +#~ "Questa azione richiede di essere approvata per almeno un record.\n" +#~ "Prego richiedere un'approvazione." diff --git a/base_tier_validation/i18n/nl_NL.po b/base_tier_validation/i18n/nl_NL.po index 2d35c08..5e42d98 100644 --- a/base_tier_validation/i18n/nl_NL.po +++ b/base_tier_validation/i18n/nl_NL.po @@ -526,11 +526,10 @@ msgstr "" #: code:addons/base_tier_validation/models/tier_validation.py:0 #, python-format msgid "" -"This action needs to be validated for at least one record. \n" +"This action needs to be validated for at least one record. Reviews pending:\n" +" - %s \n" "Please request a validation." msgstr "" -"Deze actie moet voor ten minste één record gevalideerd worden.\n" -"Vraag een validatie aan." #. module: base_tier_validation #: model:ir.actions.act_window,name:base_tier_validation.tier_definition_action @@ -665,6 +664,13 @@ msgstr "Validaties" msgid "e.g. Tier Validation for..." msgstr "bijv. Tier validatie voor..." +#~ msgid "" +#~ "This action needs to be validated for at least one record. \n" +#~ "Please request a validation." +#~ msgstr "" +#~ "Deze actie moet voor ten minste één record gevalideerd worden.\n" +#~ "Vraag een validatie aan." + #~ msgid "Any user in a specific group." #~ msgstr "Elke gebruiker in een specifieke groep." diff --git a/base_tier_validation/i18n/sv.po b/base_tier_validation/i18n/sv.po index 8033de4..33243ac 100644 --- a/base_tier_validation/i18n/sv.po +++ b/base_tier_validation/i18n/sv.po @@ -546,11 +546,10 @@ msgstr "Det finns inga res.users i det valda fältet" #: code:addons/base_tier_validation/models/tier_validation.py:0 #, python-format msgid "" -"This action needs to be validated for at least one record. \n" +"This action needs to be validated for at least one record. Reviews pending:\n" +" - %s \n" "Please request a validation." msgstr "" -"Denna åtgärd måste valideras för minst en post.\n" -"Vänligen begär en validering." #. module: base_tier_validation #: model:ir.actions.act_window,name:base_tier_validation.tier_definition_action @@ -682,3 +681,10 @@ msgstr "Valideringar" #: model_terms:ir.ui.view,arch_db:base_tier_validation.tier_definition_view_form msgid "e.g. Tier Validation for..." msgstr "t.ex. attestvalidering för..." + +#~ msgid "" +#~ "This action needs to be validated for at least one record. \n" +#~ "Please request a validation." +#~ msgstr "" +#~ "Denna åtgärd måste valideras för minst en post.\n" +#~ "Vänligen begär en validering." diff --git a/base_tier_validation/i18n/zh_CN.po b/base_tier_validation/i18n/zh_CN.po index f3857ea..6b044e4 100644 --- a/base_tier_validation/i18n/zh_CN.po +++ b/base_tier_validation/i18n/zh_CN.po @@ -524,11 +524,10 @@ msgstr "" #: code:addons/base_tier_validation/models/tier_validation.py:0 #, python-format msgid "" -"This action needs to be validated for at least one record. \n" +"This action needs to be validated for at least one record. Reviews pending:\n" +" - %s \n" "Please request a validation." msgstr "" -"此操作需要至少对一条记录进行审批。\n" -"请发起审批申请。" #. module: base_tier_validation #: model:ir.actions.act_window,name:base_tier_validation.tier_definition_action @@ -663,6 +662,13 @@ msgstr "审批" msgid "e.g. Tier Validation for..." msgstr "例如:审批层级用于..." +#~ msgid "" +#~ "This action needs to be validated for at least one record. \n" +#~ "Please request a validation." +#~ msgstr "" +#~ "此操作需要至少对一条记录进行审批。\n" +#~ "请发起审批申请。" + #~ msgid "Any user in a specific group." #~ msgstr "指定权限组" diff --git a/base_tier_validation/models/tier_validation.py b/base_tier_validation/models/tier_validation.py index 9ab39c7..1b5d677 100644 --- a/base_tier_validation/models/tier_validation.py +++ b/base_tier_validation/models/tier_validation.py @@ -105,18 +105,24 @@ class TierValidation(models.AbstractModel): assert operator in ("=", "!="), "Invalid domain operator" assert value in (True, False), "Invalid domain value" pos = self.search([(self._state_field, "in", self._state_from)]).filtered( - lambda r: r.review_ids and r.validated == value + lambda r: r.validated ) - return [("id", "in", pos.ids)] + if value: + return [("id", "in", pos.ids)] + else: + return [("id", "not in", pos.ids)] @api.model def _search_rejected(self, operator, value): assert operator in ("=", "!="), "Invalid domain operator" assert value in (True, False), "Invalid domain value" pos = self.search([(self._state_field, "in", self._state_from)]).filtered( - lambda r: r.review_ids and r.rejected == value + lambda r: r.rejected ) - return [("id", "in", pos.ids)] + if value: + return [("id", "in", pos.ids)] + else: + return [("id", "not in", pos.ids)] @api.model def _search_reviewer_ids(self, operator, value): @@ -210,11 +216,16 @@ class TierValidation(models.AbstractModel): reviews = rec.request_validation() rec._validate_tier(reviews) if not self._calc_reviews_validated(reviews): + pending_reviews = reviews.filtered( + lambda r: r.status == "pending" + ).mapped("name") raise ValidationError( _( "This action needs to be validated for at least " - "one record. \nPlease request a validation." + "one record. Reviews pending:\n - %s " + "\nPlease request a validation." ) + % "\n - ".join(pending_reviews) ) if rec.review_ids and not rec.validated: raise ValidationError( @@ -229,7 +240,7 @@ class TierValidation(models.AbstractModel): and not rec._check_allow_write_under_validation(vals) ): raise ValidationError(_("The operation is under validation.")) - if vals.get(self._state_field) in self._state_from: + if vals.get(self._state_field) in (self._state_from + [self._cancel_state]): self.mapped("review_ids").unlink() return super(TierValidation, self).write(vals) diff --git a/mass_editing/__manifest__.py b/mass_editing/__manifest__.py index b676145..588110a 100644 --- a/mass_editing/__manifest__.py +++ b/mass_editing/__manifest__.py @@ -2,7 +2,7 @@ # License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). { "name": "Mass Editing", - "version": "2.0.1.0.1", + "version": "2.0.1.1.0", "author": "Serpent Consulting Services Pvt. Ltd., " "Tecnativa, " "GRAP, " diff --git a/mass_editing/demo/mass_editing.xml b/mass_editing/demo/mass_editing.xml index 3304121..ef463b7 100644 --- a/mass_editing/demo/mass_editing.xml +++ b/mass_editing/demo/mass_editing.xml @@ -54,6 +54,17 @@ License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html). image + + + mass_edit + Mass Edit + + + + + + + mass_edit @@ -67,6 +78,8 @@ License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html). - + diff --git a/mass_editing/i18n/am.po b/mass_editing/i18n/am.po index 5ba8a07..0aa3ec3 100644 --- a/mass_editing/i18n/am.po +++ b/mass_editing/i18n/am.po @@ -19,7 +19,7 @@ msgstr "" "Plural-Forms: nplurals=2; plural=(n > 1);\n" #. module: mass_editing -#: model_terms:ir.ui.view,arch_db:mass_editing.view_mass_editing_form +#: model_terms:ir.ui.view,arch_db:mass_editing.view_server_action_form msgid "" "WARNING: Take into account that adding a field with a domain, and not " "including the fields of such domain in this operation definition, will lead " @@ -27,8 +27,9 @@ msgid "" msgstr "" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__action_name -msgid "Action Name" +#: model:ir.model.fields,field_description:mass_editing.field_ir_actions_server__state +#: model:ir.model.fields,field_description:mass_editing.field_ir_cron__state +msgid "Action To Do" msgstr "" #. module: mass_editing @@ -40,14 +41,13 @@ msgstr "" #. module: mass_editing #: model:ir.model.fields,help:mass_editing.field_mass_editing_line__widget_option msgid "" -"Add widget text that will be used to display the field in the wizard. " -"Example :\n" -"'many2many_tags', 'selection'" +"Add widget text that will be used to display the field in the wizard.\n" +"Example: 'many2many_tags', 'selection', 'image'" msgstr "" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__groups_id -msgid "Allowed Groups" +#: model_terms:ir.ui.view,arch_db:mass_editing.view_mass_editing_wizard_form +msgid "Apply" msgstr "" #. module: mass_editing @@ -61,85 +61,93 @@ msgid "Apply domain" msgstr "" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__apply_domain_in_lines +#: model:ir.model.fields,field_description:mass_editing.field_ir_actions_server__mass_edit_apply_domain_in_lines +#: model:ir.model.fields,field_description:mass_editing.field_ir_cron__mass_edit_apply_domain_in_lines msgid "Apply domain in lines" msgstr "" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__create_uid +#: model_terms:ir.ui.view,arch_db:mass_editing.view_mass_editing_wizard_form +msgid "Cancel" +msgstr "" + +#. module: mass_editing #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line__create_uid #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_wizard__create_uid msgid "Created by" msgstr "Creado por" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__create_date #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line__create_date #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_wizard__create_date msgid "Created on" msgstr "Creado en" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__display_name +#: model:ir.model.fields,field_description:mass_editing.field_ir_actions_server__display_name #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line__display_name #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_wizard__display_name msgid "Display Name" msgstr "" -#. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__domain -msgid "Domain" -msgstr "" - #. module: mass_editing #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line__field_id msgid "Field" msgstr "" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__id +#: model_terms:ir.ui.view,arch_db:mass_editing.view_server_action_form +msgid "Fields" +msgstr "" + +#. module: mass_editing +#: model:ir.model.fields,field_description:mass_editing.field_ir_actions_server__id #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line__id #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_wizard__id msgid "ID" msgstr "ID" #. module: mass_editing -#: model:ir.model.fields,help:mass_editing.field_mass_editing__message +#: model:ir.model.fields,help:mass_editing.field_ir_actions_server__mass_edit_message +#: model:ir.model.fields,help:mass_editing.field_ir_cron__mass_edit_message msgid "If set, this message will be displayed in the wizard." msgstr "" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing____last_update +#: model:ir.model.fields,field_description:mass_editing.field_ir_actions_server____last_update #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line____last_update #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_wizard____last_update msgid "Last Modified on" msgstr "" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__write_uid #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line__write_uid #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_wizard__write_uid msgid "Last Updated by" msgstr "Última actualización por" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__write_date #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line__write_date #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_wizard__write_date msgid "Last Updated on" msgstr "Última actualización en" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__line_ids -msgid "Line" +#: model:ir.actions.server,name:mass_editing.mass_editing_partner +#: model:ir.actions.server,name:mass_editing.mass_editing_partner_title +#: model:ir.actions.server,name:mass_editing.mass_editing_user +msgid "Mass Edit" msgstr "" #. module: mass_editing -#: model:ir.actions.act_window,name:mass_editing.action_mass_editing -#: model:ir.model,name:mass_editing.model_mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line__mass_editing_id -#: model:ir.ui.menu,name:mass_editing.menu_mass_editing -msgid "Mass Editing" +#: model:ir.model.fields,field_description:mass_editing.field_ir_actions_server__mass_edit_line_ids +#: model:ir.model.fields,field_description:mass_editing.field_ir_cron__mass_edit_line_ids +msgid "Mass Edit Line" +msgstr "" + +#. module: mass_editing +#: model:ir.model.fields.selection,name:mass_editing.selection__ir_actions_server__state__mass_edit +msgid "Mass Edit Records" msgstr "" #. module: mass_editing @@ -148,20 +156,33 @@ msgid "Mass Editing Line" msgstr "" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__message +#: code:addons/mass_editing/models/mass_editing_line.py:0 +#, python-format +msgid "Mass edit fields should belong to the server action model." +msgstr "" + +#. module: mass_editing +#: model:ir.model.fields,field_description:mass_editing.field_ir_actions_server__mass_edit_message +#: model:ir.model.fields,field_description:mass_editing.field_ir_cron__mass_edit_message #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_wizard__message +#: model_terms:ir.ui.view,arch_db:mass_editing.view_server_action_form msgid "Message" msgstr "" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__model_id #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line__model_id msgid "Model" msgstr "" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__name -msgid "Name" +#: model:ir.model.fields,help:mass_editing.field_mass_editing_line__model_id +msgid "Model on which the server action runs." +msgstr "" + +#. module: mass_editing +#: code:addons/mass_editing/wizard/mass_editing_wizard.py:0 +#, python-format +msgid "None of the %d record(s) you have selected can be processed." msgstr "" #. module: mass_editing @@ -200,6 +221,12 @@ msgstr "" msgid "Sequence" msgstr "" +#. module: mass_editing +#: model:ir.model,name:mass_editing.model_ir_actions_server +#: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line__server_action_id +msgid "Server Action" +msgstr "" + #. module: mass_editing #: code:addons/mass_editing/wizard/mass_editing_wizard.py:0 #, python-format @@ -207,8 +234,24 @@ msgid "Set" msgstr "" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__ref_ir_act_window_id -msgid "Sidebar Action" +#: code:addons/mass_editing/wizard/mass_editing_wizard.py:0 +#, python-format +msgid "The treatment will be processed on the %d selected record(s)." +msgstr "" + +#. module: mass_editing +#: model:ir.model.fields,help:mass_editing.field_ir_actions_server__state +#: model:ir.model.fields,help:mass_editing.field_ir_cron__state +msgid "" +"Type of server action. The following values are available:\n" +"- 'Execute Python Code': a block of python code that will be executed\n" +"- 'Create': create a new record with new values\n" +"- 'Update a Record': update the values of a record\n" +"- 'Execute several actions': define an action that triggers several other " +"server actions\n" +"- 'Send Email': automatically send an email (Discuss)\n" +"- 'Add Followers': add followers to a record (Discuss)\n" +"- 'Create Next Activity': create an activity (Discuss)" msgstr "" #. module: mass_editing @@ -220,3 +263,11 @@ msgstr "" #: model:ir.model,name:mass_editing.model_mass_editing_wizard msgid "Wizard for mass edition" msgstr "" + +#. module: mass_editing +#: code:addons/mass_editing/wizard/mass_editing_wizard.py:0 +#, python-format +msgid "" +"You have selected %d record(s) that can not be processed.\n" +"Only %d record(s) will be processed." +msgstr "" diff --git a/mass_editing/i18n/ar.po b/mass_editing/i18n/ar.po index 070d1f7..7757efe 100644 --- a/mass_editing/i18n/ar.po +++ b/mass_editing/i18n/ar.po @@ -20,7 +20,7 @@ msgstr "" "&& n%100<=10 ? 3 : n%100>=11 && n%100<=99 ? 4 : 5;\n" #. module: mass_editing -#: model_terms:ir.ui.view,arch_db:mass_editing.view_mass_editing_form +#: model_terms:ir.ui.view,arch_db:mass_editing.view_server_action_form msgid "" "WARNING: Take into account that adding a field with a domain, and not " "including the fields of such domain in this operation definition, will lead " @@ -28,8 +28,9 @@ msgid "" msgstr "" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__action_name -msgid "Action Name" +#: model:ir.model.fields,field_description:mass_editing.field_ir_actions_server__state +#: model:ir.model.fields,field_description:mass_editing.field_ir_cron__state +msgid "Action To Do" msgstr "" #. module: mass_editing @@ -41,14 +42,13 @@ msgstr "" #. module: mass_editing #: model:ir.model.fields,help:mass_editing.field_mass_editing_line__widget_option msgid "" -"Add widget text that will be used to display the field in the wizard. " -"Example :\n" -"'many2many_tags', 'selection'" +"Add widget text that will be used to display the field in the wizard.\n" +"Example: 'many2many_tags', 'selection', 'image'" msgstr "" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__groups_id -msgid "Allowed Groups" +#: model_terms:ir.ui.view,arch_db:mass_editing.view_mass_editing_wizard_form +msgid "Apply" msgstr "" #. module: mass_editing @@ -62,85 +62,93 @@ msgid "Apply domain" msgstr "" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__apply_domain_in_lines +#: model:ir.model.fields,field_description:mass_editing.field_ir_actions_server__mass_edit_apply_domain_in_lines +#: model:ir.model.fields,field_description:mass_editing.field_ir_cron__mass_edit_apply_domain_in_lines msgid "Apply domain in lines" msgstr "" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__create_uid +#: model_terms:ir.ui.view,arch_db:mass_editing.view_mass_editing_wizard_form +msgid "Cancel" +msgstr "" + +#. module: mass_editing #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line__create_uid #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_wizard__create_uid msgid "Created by" msgstr "أنشئ بواسطة" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__create_date #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line__create_date #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_wizard__create_date msgid "Created on" msgstr "أنشئ في" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__display_name +#: model:ir.model.fields,field_description:mass_editing.field_ir_actions_server__display_name #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line__display_name #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_wizard__display_name msgid "Display Name" msgstr "اسم العرض" -#. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__domain -msgid "Domain" -msgstr "" - #. module: mass_editing #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line__field_id msgid "Field" msgstr "" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__id +#: model_terms:ir.ui.view,arch_db:mass_editing.view_server_action_form +msgid "Fields" +msgstr "" + +#. module: mass_editing +#: model:ir.model.fields,field_description:mass_editing.field_ir_actions_server__id #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line__id #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_wizard__id msgid "ID" msgstr "المعرف" #. module: mass_editing -#: model:ir.model.fields,help:mass_editing.field_mass_editing__message +#: model:ir.model.fields,help:mass_editing.field_ir_actions_server__mass_edit_message +#: model:ir.model.fields,help:mass_editing.field_ir_cron__mass_edit_message msgid "If set, this message will be displayed in the wizard." msgstr "" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing____last_update +#: model:ir.model.fields,field_description:mass_editing.field_ir_actions_server____last_update #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line____last_update #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_wizard____last_update msgid "Last Modified on" msgstr "آخر تعديل في" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__write_uid #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line__write_uid #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_wizard__write_uid msgid "Last Updated by" msgstr "آخر تحديث بواسطة" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__write_date #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line__write_date #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_wizard__write_date msgid "Last Updated on" msgstr "آخر تحديث في" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__line_ids -msgid "Line" +#: model:ir.actions.server,name:mass_editing.mass_editing_partner +#: model:ir.actions.server,name:mass_editing.mass_editing_partner_title +#: model:ir.actions.server,name:mass_editing.mass_editing_user +msgid "Mass Edit" msgstr "" #. module: mass_editing -#: model:ir.actions.act_window,name:mass_editing.action_mass_editing -#: model:ir.model,name:mass_editing.model_mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line__mass_editing_id -#: model:ir.ui.menu,name:mass_editing.menu_mass_editing -msgid "Mass Editing" +#: model:ir.model.fields,field_description:mass_editing.field_ir_actions_server__mass_edit_line_ids +#: model:ir.model.fields,field_description:mass_editing.field_ir_cron__mass_edit_line_ids +msgid "Mass Edit Line" +msgstr "" + +#. module: mass_editing +#: model:ir.model.fields.selection,name:mass_editing.selection__ir_actions_server__state__mass_edit +msgid "Mass Edit Records" msgstr "" #. module: mass_editing @@ -149,21 +157,34 @@ msgid "Mass Editing Line" msgstr "" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__message +#: code:addons/mass_editing/models/mass_editing_line.py:0 +#, python-format +msgid "Mass edit fields should belong to the server action model." +msgstr "" + +#. module: mass_editing +#: model:ir.model.fields,field_description:mass_editing.field_ir_actions_server__mass_edit_message +#: model:ir.model.fields,field_description:mass_editing.field_ir_cron__mass_edit_message #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_wizard__message +#: model_terms:ir.ui.view,arch_db:mass_editing.view_server_action_form msgid "Message" msgstr "" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__model_id #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line__model_id msgid "Model" msgstr "النموذج" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__name -msgid "Name" -msgstr "الاسم" +#: model:ir.model.fields,help:mass_editing.field_mass_editing_line__model_id +msgid "Model on which the server action runs." +msgstr "" + +#. module: mass_editing +#: code:addons/mass_editing/wizard/mass_editing_wizard.py:0 +#, python-format +msgid "None of the %d record(s) you have selected can be processed." +msgstr "" #. module: mass_editing #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_wizard__operation_description_danger @@ -201,6 +222,12 @@ msgstr "" msgid "Sequence" msgstr "" +#. module: mass_editing +#: model:ir.model,name:mass_editing.model_ir_actions_server +#: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line__server_action_id +msgid "Server Action" +msgstr "" + #. module: mass_editing #: code:addons/mass_editing/wizard/mass_editing_wizard.py:0 #, python-format @@ -208,8 +235,24 @@ msgid "Set" msgstr "" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__ref_ir_act_window_id -msgid "Sidebar Action" +#: code:addons/mass_editing/wizard/mass_editing_wizard.py:0 +#, python-format +msgid "The treatment will be processed on the %d selected record(s)." +msgstr "" + +#. module: mass_editing +#: model:ir.model.fields,help:mass_editing.field_ir_actions_server__state +#: model:ir.model.fields,help:mass_editing.field_ir_cron__state +msgid "" +"Type of server action. The following values are available:\n" +"- 'Execute Python Code': a block of python code that will be executed\n" +"- 'Create': create a new record with new values\n" +"- 'Update a Record': update the values of a record\n" +"- 'Execute several actions': define an action that triggers several other " +"server actions\n" +"- 'Send Email': automatically send an email (Discuss)\n" +"- 'Add Followers': add followers to a record (Discuss)\n" +"- 'Create Next Activity': create an activity (Discuss)" msgstr "" #. module: mass_editing @@ -221,3 +264,14 @@ msgstr "" #: model:ir.model,name:mass_editing.model_mass_editing_wizard msgid "Wizard for mass edition" msgstr "" + +#. module: mass_editing +#: code:addons/mass_editing/wizard/mass_editing_wizard.py:0 +#, python-format +msgid "" +"You have selected %d record(s) that can not be processed.\n" +"Only %d record(s) will be processed." +msgstr "" + +#~ msgid "Name" +#~ msgstr "الاسم" diff --git a/mass_editing/i18n/bg.po b/mass_editing/i18n/bg.po index 04bdf31..ee06de8 100644 --- a/mass_editing/i18n/bg.po +++ b/mass_editing/i18n/bg.po @@ -19,7 +19,7 @@ msgstr "" "Plural-Forms: nplurals=2; plural=(n != 1);\n" #. module: mass_editing -#: model_terms:ir.ui.view,arch_db:mass_editing.view_mass_editing_form +#: model_terms:ir.ui.view,arch_db:mass_editing.view_server_action_form msgid "" "WARNING: Take into account that adding a field with a domain, and not " "including the fields of such domain in this operation definition, will lead " @@ -27,8 +27,9 @@ msgid "" msgstr "" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__action_name -msgid "Action Name" +#: model:ir.model.fields,field_description:mass_editing.field_ir_actions_server__state +#: model:ir.model.fields,field_description:mass_editing.field_ir_cron__state +msgid "Action To Do" msgstr "" #. module: mass_editing @@ -40,14 +41,13 @@ msgstr "" #. module: mass_editing #: model:ir.model.fields,help:mass_editing.field_mass_editing_line__widget_option msgid "" -"Add widget text that will be used to display the field in the wizard. " -"Example :\n" -"'many2many_tags', 'selection'" +"Add widget text that will be used to display the field in the wizard.\n" +"Example: 'many2many_tags', 'selection', 'image'" msgstr "" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__groups_id -msgid "Allowed Groups" +#: model_terms:ir.ui.view,arch_db:mass_editing.view_mass_editing_wizard_form +msgid "Apply" msgstr "" #. module: mass_editing @@ -61,85 +61,93 @@ msgid "Apply domain" msgstr "" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__apply_domain_in_lines +#: model:ir.model.fields,field_description:mass_editing.field_ir_actions_server__mass_edit_apply_domain_in_lines +#: model:ir.model.fields,field_description:mass_editing.field_ir_cron__mass_edit_apply_domain_in_lines msgid "Apply domain in lines" msgstr "" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__create_uid +#: model_terms:ir.ui.view,arch_db:mass_editing.view_mass_editing_wizard_form +msgid "Cancel" +msgstr "" + +#. module: mass_editing #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line__create_uid #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_wizard__create_uid msgid "Created by" msgstr "Създадено от" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__create_date #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line__create_date #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_wizard__create_date msgid "Created on" msgstr "Създадено на" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__display_name +#: model:ir.model.fields,field_description:mass_editing.field_ir_actions_server__display_name #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line__display_name #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_wizard__display_name msgid "Display Name" msgstr "Име за показване" -#. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__domain -msgid "Domain" -msgstr "" - #. module: mass_editing #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line__field_id msgid "Field" msgstr "" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__id +#: model_terms:ir.ui.view,arch_db:mass_editing.view_server_action_form +msgid "Fields" +msgstr "" + +#. module: mass_editing +#: model:ir.model.fields,field_description:mass_editing.field_ir_actions_server__id #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line__id #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_wizard__id msgid "ID" msgstr "ID" #. module: mass_editing -#: model:ir.model.fields,help:mass_editing.field_mass_editing__message +#: model:ir.model.fields,help:mass_editing.field_ir_actions_server__mass_edit_message +#: model:ir.model.fields,help:mass_editing.field_ir_cron__mass_edit_message msgid "If set, this message will be displayed in the wizard." msgstr "" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing____last_update +#: model:ir.model.fields,field_description:mass_editing.field_ir_actions_server____last_update #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line____last_update #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_wizard____last_update msgid "Last Modified on" msgstr "Последно обновено на" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__write_uid #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line__write_uid #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_wizard__write_uid msgid "Last Updated by" msgstr "Последно обновено от" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__write_date #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line__write_date #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_wizard__write_date msgid "Last Updated on" msgstr "Последно обновено на" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__line_ids -msgid "Line" +#: model:ir.actions.server,name:mass_editing.mass_editing_partner +#: model:ir.actions.server,name:mass_editing.mass_editing_partner_title +#: model:ir.actions.server,name:mass_editing.mass_editing_user +msgid "Mass Edit" msgstr "" #. module: mass_editing -#: model:ir.actions.act_window,name:mass_editing.action_mass_editing -#: model:ir.model,name:mass_editing.model_mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line__mass_editing_id -#: model:ir.ui.menu,name:mass_editing.menu_mass_editing -msgid "Mass Editing" +#: model:ir.model.fields,field_description:mass_editing.field_ir_actions_server__mass_edit_line_ids +#: model:ir.model.fields,field_description:mass_editing.field_ir_cron__mass_edit_line_ids +msgid "Mass Edit Line" +msgstr "" + +#. module: mass_editing +#: model:ir.model.fields.selection,name:mass_editing.selection__ir_actions_server__state__mass_edit +msgid "Mass Edit Records" msgstr "" #. module: mass_editing @@ -148,21 +156,34 @@ msgid "Mass Editing Line" msgstr "" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__message +#: code:addons/mass_editing/models/mass_editing_line.py:0 +#, python-format +msgid "Mass edit fields should belong to the server action model." +msgstr "" + +#. module: mass_editing +#: model:ir.model.fields,field_description:mass_editing.field_ir_actions_server__mass_edit_message +#: model:ir.model.fields,field_description:mass_editing.field_ir_cron__mass_edit_message #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_wizard__message +#: model_terms:ir.ui.view,arch_db:mass_editing.view_server_action_form msgid "Message" msgstr "" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__model_id #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line__model_id msgid "Model" msgstr "" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__name -msgid "Name" -msgstr "Име" +#: model:ir.model.fields,help:mass_editing.field_mass_editing_line__model_id +msgid "Model on which the server action runs." +msgstr "" + +#. module: mass_editing +#: code:addons/mass_editing/wizard/mass_editing_wizard.py:0 +#, python-format +msgid "None of the %d record(s) you have selected can be processed." +msgstr "" #. module: mass_editing #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_wizard__operation_description_danger @@ -200,6 +221,12 @@ msgstr "" msgid "Sequence" msgstr "" +#. module: mass_editing +#: model:ir.model,name:mass_editing.model_ir_actions_server +#: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line__server_action_id +msgid "Server Action" +msgstr "" + #. module: mass_editing #: code:addons/mass_editing/wizard/mass_editing_wizard.py:0 #, python-format @@ -207,8 +234,24 @@ msgid "Set" msgstr "" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__ref_ir_act_window_id -msgid "Sidebar Action" +#: code:addons/mass_editing/wizard/mass_editing_wizard.py:0 +#, python-format +msgid "The treatment will be processed on the %d selected record(s)." +msgstr "" + +#. module: mass_editing +#: model:ir.model.fields,help:mass_editing.field_ir_actions_server__state +#: model:ir.model.fields,help:mass_editing.field_ir_cron__state +msgid "" +"Type of server action. The following values are available:\n" +"- 'Execute Python Code': a block of python code that will be executed\n" +"- 'Create': create a new record with new values\n" +"- 'Update a Record': update the values of a record\n" +"- 'Execute several actions': define an action that triggers several other " +"server actions\n" +"- 'Send Email': automatically send an email (Discuss)\n" +"- 'Add Followers': add followers to a record (Discuss)\n" +"- 'Create Next Activity': create an activity (Discuss)" msgstr "" #. module: mass_editing @@ -220,3 +263,14 @@ msgstr "" #: model:ir.model,name:mass_editing.model_mass_editing_wizard msgid "Wizard for mass edition" msgstr "" + +#. module: mass_editing +#: code:addons/mass_editing/wizard/mass_editing_wizard.py:0 +#, python-format +msgid "" +"You have selected %d record(s) that can not be processed.\n" +"Only %d record(s) will be processed." +msgstr "" + +#~ msgid "Name" +#~ msgstr "Име" diff --git a/mass_editing/i18n/bs.po b/mass_editing/i18n/bs.po index 00e0223..1a64e1e 100644 --- a/mass_editing/i18n/bs.po +++ b/mass_editing/i18n/bs.po @@ -20,7 +20,7 @@ msgstr "" "%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n" #. module: mass_editing -#: model_terms:ir.ui.view,arch_db:mass_editing.view_mass_editing_form +#: model_terms:ir.ui.view,arch_db:mass_editing.view_server_action_form msgid "" "WARNING: Take into account that adding a field with a domain, and not " "including the fields of such domain in this operation definition, will lead " @@ -28,8 +28,9 @@ msgid "" msgstr "" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__action_name -msgid "Action Name" +#: model:ir.model.fields,field_description:mass_editing.field_ir_actions_server__state +#: model:ir.model.fields,field_description:mass_editing.field_ir_cron__state +msgid "Action To Do" msgstr "" #. module: mass_editing @@ -41,14 +42,13 @@ msgstr "" #. module: mass_editing #: model:ir.model.fields,help:mass_editing.field_mass_editing_line__widget_option msgid "" -"Add widget text that will be used to display the field in the wizard. " -"Example :\n" -"'many2many_tags', 'selection'" +"Add widget text that will be used to display the field in the wizard.\n" +"Example: 'many2many_tags', 'selection', 'image'" msgstr "" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__groups_id -msgid "Allowed Groups" +#: model_terms:ir.ui.view,arch_db:mass_editing.view_mass_editing_wizard_form +msgid "Apply" msgstr "" #. module: mass_editing @@ -62,85 +62,93 @@ msgid "Apply domain" msgstr "" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__apply_domain_in_lines +#: model:ir.model.fields,field_description:mass_editing.field_ir_actions_server__mass_edit_apply_domain_in_lines +#: model:ir.model.fields,field_description:mass_editing.field_ir_cron__mass_edit_apply_domain_in_lines msgid "Apply domain in lines" msgstr "" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__create_uid +#: model_terms:ir.ui.view,arch_db:mass_editing.view_mass_editing_wizard_form +msgid "Cancel" +msgstr "" + +#. module: mass_editing #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line__create_uid #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_wizard__create_uid msgid "Created by" msgstr "Kreirao" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__create_date #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line__create_date #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_wizard__create_date msgid "Created on" msgstr "Kreirano" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__display_name +#: model:ir.model.fields,field_description:mass_editing.field_ir_actions_server__display_name #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line__display_name #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_wizard__display_name msgid "Display Name" msgstr "Prikaži naziv" -#. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__domain -msgid "Domain" -msgstr "" - #. module: mass_editing #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line__field_id msgid "Field" msgstr "" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__id +#: model_terms:ir.ui.view,arch_db:mass_editing.view_server_action_form +msgid "Fields" +msgstr "" + +#. module: mass_editing +#: model:ir.model.fields,field_description:mass_editing.field_ir_actions_server__id #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line__id #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_wizard__id msgid "ID" msgstr "ID" #. module: mass_editing -#: model:ir.model.fields,help:mass_editing.field_mass_editing__message +#: model:ir.model.fields,help:mass_editing.field_ir_actions_server__mass_edit_message +#: model:ir.model.fields,help:mass_editing.field_ir_cron__mass_edit_message msgid "If set, this message will be displayed in the wizard." msgstr "" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing____last_update +#: model:ir.model.fields,field_description:mass_editing.field_ir_actions_server____last_update #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line____last_update #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_wizard____last_update msgid "Last Modified on" msgstr "Zadnje mijenjano" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__write_uid #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line__write_uid #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_wizard__write_uid msgid "Last Updated by" msgstr "Zadnji ažurirao" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__write_date #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line__write_date #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_wizard__write_date msgid "Last Updated on" msgstr "Zadnje ažurirano" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__line_ids -msgid "Line" +#: model:ir.actions.server,name:mass_editing.mass_editing_partner +#: model:ir.actions.server,name:mass_editing.mass_editing_partner_title +#: model:ir.actions.server,name:mass_editing.mass_editing_user +msgid "Mass Edit" msgstr "" #. module: mass_editing -#: model:ir.actions.act_window,name:mass_editing.action_mass_editing -#: model:ir.model,name:mass_editing.model_mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line__mass_editing_id -#: model:ir.ui.menu,name:mass_editing.menu_mass_editing -msgid "Mass Editing" +#: model:ir.model.fields,field_description:mass_editing.field_ir_actions_server__mass_edit_line_ids +#: model:ir.model.fields,field_description:mass_editing.field_ir_cron__mass_edit_line_ids +msgid "Mass Edit Line" +msgstr "" + +#. module: mass_editing +#: model:ir.model.fields.selection,name:mass_editing.selection__ir_actions_server__state__mass_edit +msgid "Mass Edit Records" msgstr "" #. module: mass_editing @@ -149,21 +157,34 @@ msgid "Mass Editing Line" msgstr "" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__message +#: code:addons/mass_editing/models/mass_editing_line.py:0 +#, python-format +msgid "Mass edit fields should belong to the server action model." +msgstr "" + +#. module: mass_editing +#: model:ir.model.fields,field_description:mass_editing.field_ir_actions_server__mass_edit_message +#: model:ir.model.fields,field_description:mass_editing.field_ir_cron__mass_edit_message #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_wizard__message +#: model_terms:ir.ui.view,arch_db:mass_editing.view_server_action_form msgid "Message" msgstr "" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__model_id #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line__model_id msgid "Model" msgstr "" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__name -msgid "Name" -msgstr "Naziv" +#: model:ir.model.fields,help:mass_editing.field_mass_editing_line__model_id +msgid "Model on which the server action runs." +msgstr "" + +#. module: mass_editing +#: code:addons/mass_editing/wizard/mass_editing_wizard.py:0 +#, python-format +msgid "None of the %d record(s) you have selected can be processed." +msgstr "" #. module: mass_editing #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_wizard__operation_description_danger @@ -201,6 +222,12 @@ msgstr "" msgid "Sequence" msgstr "" +#. module: mass_editing +#: model:ir.model,name:mass_editing.model_ir_actions_server +#: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line__server_action_id +msgid "Server Action" +msgstr "" + #. module: mass_editing #: code:addons/mass_editing/wizard/mass_editing_wizard.py:0 #, python-format @@ -208,8 +235,24 @@ msgid "Set" msgstr "" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__ref_ir_act_window_id -msgid "Sidebar Action" +#: code:addons/mass_editing/wizard/mass_editing_wizard.py:0 +#, python-format +msgid "The treatment will be processed on the %d selected record(s)." +msgstr "" + +#. module: mass_editing +#: model:ir.model.fields,help:mass_editing.field_ir_actions_server__state +#: model:ir.model.fields,help:mass_editing.field_ir_cron__state +msgid "" +"Type of server action. The following values are available:\n" +"- 'Execute Python Code': a block of python code that will be executed\n" +"- 'Create': create a new record with new values\n" +"- 'Update a Record': update the values of a record\n" +"- 'Execute several actions': define an action that triggers several other " +"server actions\n" +"- 'Send Email': automatically send an email (Discuss)\n" +"- 'Add Followers': add followers to a record (Discuss)\n" +"- 'Create Next Activity': create an activity (Discuss)" msgstr "" #. module: mass_editing @@ -221,3 +264,14 @@ msgstr "" #: model:ir.model,name:mass_editing.model_mass_editing_wizard msgid "Wizard for mass edition" msgstr "" + +#. module: mass_editing +#: code:addons/mass_editing/wizard/mass_editing_wizard.py:0 +#, python-format +msgid "" +"You have selected %d record(s) that can not be processed.\n" +"Only %d record(s) will be processed." +msgstr "" + +#~ msgid "Name" +#~ msgstr "Naziv" diff --git a/mass_editing/i18n/ca.po b/mass_editing/i18n/ca.po index 4851802..121bfb8 100644 --- a/mass_editing/i18n/ca.po +++ b/mass_editing/i18n/ca.po @@ -19,7 +19,7 @@ msgstr "" "Plural-Forms: nplurals=2; plural=(n != 1);\n" #. module: mass_editing -#: model_terms:ir.ui.view,arch_db:mass_editing.view_mass_editing_form +#: model_terms:ir.ui.view,arch_db:mass_editing.view_server_action_form msgid "" "WARNING: Take into account that adding a field with a domain, and not " "including the fields of such domain in this operation definition, will lead " @@ -27,8 +27,9 @@ msgid "" msgstr "" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__action_name -msgid "Action Name" +#: model:ir.model.fields,field_description:mass_editing.field_ir_actions_server__state +#: model:ir.model.fields,field_description:mass_editing.field_ir_cron__state +msgid "Action To Do" msgstr "" #. module: mass_editing @@ -40,14 +41,13 @@ msgstr "" #. module: mass_editing #: model:ir.model.fields,help:mass_editing.field_mass_editing_line__widget_option msgid "" -"Add widget text that will be used to display the field in the wizard. " -"Example :\n" -"'many2many_tags', 'selection'" +"Add widget text that will be used to display the field in the wizard.\n" +"Example: 'many2many_tags', 'selection', 'image'" msgstr "" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__groups_id -msgid "Allowed Groups" +#: model_terms:ir.ui.view,arch_db:mass_editing.view_mass_editing_wizard_form +msgid "Apply" msgstr "" #. module: mass_editing @@ -61,85 +61,93 @@ msgid "Apply domain" msgstr "" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__apply_domain_in_lines +#: model:ir.model.fields,field_description:mass_editing.field_ir_actions_server__mass_edit_apply_domain_in_lines +#: model:ir.model.fields,field_description:mass_editing.field_ir_cron__mass_edit_apply_domain_in_lines msgid "Apply domain in lines" msgstr "" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__create_uid +#: model_terms:ir.ui.view,arch_db:mass_editing.view_mass_editing_wizard_form +msgid "Cancel" +msgstr "" + +#. module: mass_editing #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line__create_uid #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_wizard__create_uid msgid "Created by" msgstr "Creat per" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__create_date #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line__create_date #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_wizard__create_date msgid "Created on" msgstr "Creat el" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__display_name +#: model:ir.model.fields,field_description:mass_editing.field_ir_actions_server__display_name #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line__display_name #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_wizard__display_name msgid "Display Name" msgstr "Veure el nom" -#. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__domain -msgid "Domain" -msgstr "" - #. module: mass_editing #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line__field_id msgid "Field" msgstr "" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__id +#: model_terms:ir.ui.view,arch_db:mass_editing.view_server_action_form +msgid "Fields" +msgstr "" + +#. module: mass_editing +#: model:ir.model.fields,field_description:mass_editing.field_ir_actions_server__id #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line__id #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_wizard__id msgid "ID" msgstr "ID" #. module: mass_editing -#: model:ir.model.fields,help:mass_editing.field_mass_editing__message +#: model:ir.model.fields,help:mass_editing.field_ir_actions_server__mass_edit_message +#: model:ir.model.fields,help:mass_editing.field_ir_cron__mass_edit_message msgid "If set, this message will be displayed in the wizard." msgstr "" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing____last_update +#: model:ir.model.fields,field_description:mass_editing.field_ir_actions_server____last_update #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line____last_update #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_wizard____last_update msgid "Last Modified on" msgstr "Darrera modificació el" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__write_uid #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line__write_uid #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_wizard__write_uid msgid "Last Updated by" msgstr "Darrera Actualització per" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__write_date #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line__write_date #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_wizard__write_date msgid "Last Updated on" msgstr "Darrera Actualització el" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__line_ids -msgid "Line" +#: model:ir.actions.server,name:mass_editing.mass_editing_partner +#: model:ir.actions.server,name:mass_editing.mass_editing_partner_title +#: model:ir.actions.server,name:mass_editing.mass_editing_user +msgid "Mass Edit" msgstr "" #. module: mass_editing -#: model:ir.actions.act_window,name:mass_editing.action_mass_editing -#: model:ir.model,name:mass_editing.model_mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line__mass_editing_id -#: model:ir.ui.menu,name:mass_editing.menu_mass_editing -msgid "Mass Editing" +#: model:ir.model.fields,field_description:mass_editing.field_ir_actions_server__mass_edit_line_ids +#: model:ir.model.fields,field_description:mass_editing.field_ir_cron__mass_edit_line_ids +msgid "Mass Edit Line" +msgstr "" + +#. module: mass_editing +#: model:ir.model.fields.selection,name:mass_editing.selection__ir_actions_server__state__mass_edit +msgid "Mass Edit Records" msgstr "" #. module: mass_editing @@ -148,21 +156,34 @@ msgid "Mass Editing Line" msgstr "" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__message +#: code:addons/mass_editing/models/mass_editing_line.py:0 +#, python-format +msgid "Mass edit fields should belong to the server action model." +msgstr "" + +#. module: mass_editing +#: model:ir.model.fields,field_description:mass_editing.field_ir_actions_server__mass_edit_message +#: model:ir.model.fields,field_description:mass_editing.field_ir_cron__mass_edit_message #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_wizard__message +#: model_terms:ir.ui.view,arch_db:mass_editing.view_server_action_form msgid "Message" msgstr "" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__model_id #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line__model_id msgid "Model" msgstr "Model" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__name -msgid "Name" -msgstr "Nom" +#: model:ir.model.fields,help:mass_editing.field_mass_editing_line__model_id +msgid "Model on which the server action runs." +msgstr "" + +#. module: mass_editing +#: code:addons/mass_editing/wizard/mass_editing_wizard.py:0 +#, python-format +msgid "None of the %d record(s) you have selected can be processed." +msgstr "" #. module: mass_editing #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_wizard__operation_description_danger @@ -200,6 +221,12 @@ msgstr "" msgid "Sequence" msgstr "" +#. module: mass_editing +#: model:ir.model,name:mass_editing.model_ir_actions_server +#: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line__server_action_id +msgid "Server Action" +msgstr "" + #. module: mass_editing #: code:addons/mass_editing/wizard/mass_editing_wizard.py:0 #, python-format @@ -207,8 +234,24 @@ msgid "Set" msgstr "" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__ref_ir_act_window_id -msgid "Sidebar Action" +#: code:addons/mass_editing/wizard/mass_editing_wizard.py:0 +#, python-format +msgid "The treatment will be processed on the %d selected record(s)." +msgstr "" + +#. module: mass_editing +#: model:ir.model.fields,help:mass_editing.field_ir_actions_server__state +#: model:ir.model.fields,help:mass_editing.field_ir_cron__state +msgid "" +"Type of server action. The following values are available:\n" +"- 'Execute Python Code': a block of python code that will be executed\n" +"- 'Create': create a new record with new values\n" +"- 'Update a Record': update the values of a record\n" +"- 'Execute several actions': define an action that triggers several other " +"server actions\n" +"- 'Send Email': automatically send an email (Discuss)\n" +"- 'Add Followers': add followers to a record (Discuss)\n" +"- 'Create Next Activity': create an activity (Discuss)" msgstr "" #. module: mass_editing @@ -220,3 +263,14 @@ msgstr "" #: model:ir.model,name:mass_editing.model_mass_editing_wizard msgid "Wizard for mass edition" msgstr "" + +#. module: mass_editing +#: code:addons/mass_editing/wizard/mass_editing_wizard.py:0 +#, python-format +msgid "" +"You have selected %d record(s) that can not be processed.\n" +"Only %d record(s) will be processed." +msgstr "" + +#~ msgid "Name" +#~ msgstr "Nom" diff --git a/mass_editing/i18n/cs.po b/mass_editing/i18n/cs.po index 78503c1..586c3f2 100644 --- a/mass_editing/i18n/cs.po +++ b/mass_editing/i18n/cs.po @@ -19,7 +19,7 @@ msgstr "" "Plural-Forms: nplurals=3; plural=(n==1) ? 0 : (n>=2 && n<=4) ? 1 : 2;\n" #. module: mass_editing -#: model_terms:ir.ui.view,arch_db:mass_editing.view_mass_editing_form +#: model_terms:ir.ui.view,arch_db:mass_editing.view_server_action_form msgid "" "WARNING: Take into account that adding a field with a domain, and not " "including the fields of such domain in this operation definition, will lead " @@ -27,8 +27,9 @@ msgid "" msgstr "" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__action_name -msgid "Action Name" +#: model:ir.model.fields,field_description:mass_editing.field_ir_actions_server__state +#: model:ir.model.fields,field_description:mass_editing.field_ir_cron__state +msgid "Action To Do" msgstr "" #. module: mass_editing @@ -40,14 +41,13 @@ msgstr "" #. module: mass_editing #: model:ir.model.fields,help:mass_editing.field_mass_editing_line__widget_option msgid "" -"Add widget text that will be used to display the field in the wizard. " -"Example :\n" -"'many2many_tags', 'selection'" +"Add widget text that will be used to display the field in the wizard.\n" +"Example: 'many2many_tags', 'selection', 'image'" msgstr "" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__groups_id -msgid "Allowed Groups" +#: model_terms:ir.ui.view,arch_db:mass_editing.view_mass_editing_wizard_form +msgid "Apply" msgstr "" #. module: mass_editing @@ -61,85 +61,93 @@ msgid "Apply domain" msgstr "" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__apply_domain_in_lines +#: model:ir.model.fields,field_description:mass_editing.field_ir_actions_server__mass_edit_apply_domain_in_lines +#: model:ir.model.fields,field_description:mass_editing.field_ir_cron__mass_edit_apply_domain_in_lines msgid "Apply domain in lines" msgstr "" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__create_uid +#: model_terms:ir.ui.view,arch_db:mass_editing.view_mass_editing_wizard_form +msgid "Cancel" +msgstr "" + +#. module: mass_editing #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line__create_uid #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_wizard__create_uid msgid "Created by" msgstr "Vytvořil(a)" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__create_date #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line__create_date #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_wizard__create_date msgid "Created on" msgstr "Vytvořeno" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__display_name +#: model:ir.model.fields,field_description:mass_editing.field_ir_actions_server__display_name #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line__display_name #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_wizard__display_name msgid "Display Name" msgstr "Zobrazovaný název" -#. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__domain -msgid "Domain" -msgstr "" - #. module: mass_editing #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line__field_id msgid "Field" msgstr "" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__id +#: model_terms:ir.ui.view,arch_db:mass_editing.view_server_action_form +msgid "Fields" +msgstr "" + +#. module: mass_editing +#: model:ir.model.fields,field_description:mass_editing.field_ir_actions_server__id #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line__id #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_wizard__id msgid "ID" msgstr "ID" #. module: mass_editing -#: model:ir.model.fields,help:mass_editing.field_mass_editing__message +#: model:ir.model.fields,help:mass_editing.field_ir_actions_server__mass_edit_message +#: model:ir.model.fields,help:mass_editing.field_ir_cron__mass_edit_message msgid "If set, this message will be displayed in the wizard." msgstr "" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing____last_update +#: model:ir.model.fields,field_description:mass_editing.field_ir_actions_server____last_update #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line____last_update #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_wizard____last_update msgid "Last Modified on" msgstr "Naposled upraveno" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__write_uid #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line__write_uid #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_wizard__write_uid msgid "Last Updated by" msgstr "Naposled upraveno" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__write_date #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line__write_date #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_wizard__write_date msgid "Last Updated on" msgstr "Naposled upraveno" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__line_ids -msgid "Line" +#: model:ir.actions.server,name:mass_editing.mass_editing_partner +#: model:ir.actions.server,name:mass_editing.mass_editing_partner_title +#: model:ir.actions.server,name:mass_editing.mass_editing_user +msgid "Mass Edit" msgstr "" #. module: mass_editing -#: model:ir.actions.act_window,name:mass_editing.action_mass_editing -#: model:ir.model,name:mass_editing.model_mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line__mass_editing_id -#: model:ir.ui.menu,name:mass_editing.menu_mass_editing -msgid "Mass Editing" +#: model:ir.model.fields,field_description:mass_editing.field_ir_actions_server__mass_edit_line_ids +#: model:ir.model.fields,field_description:mass_editing.field_ir_cron__mass_edit_line_ids +msgid "Mass Edit Line" +msgstr "" + +#. module: mass_editing +#: model:ir.model.fields.selection,name:mass_editing.selection__ir_actions_server__state__mass_edit +msgid "Mass Edit Records" msgstr "" #. module: mass_editing @@ -148,21 +156,34 @@ msgid "Mass Editing Line" msgstr "" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__message +#: code:addons/mass_editing/models/mass_editing_line.py:0 +#, python-format +msgid "Mass edit fields should belong to the server action model." +msgstr "" + +#. module: mass_editing +#: model:ir.model.fields,field_description:mass_editing.field_ir_actions_server__mass_edit_message +#: model:ir.model.fields,field_description:mass_editing.field_ir_cron__mass_edit_message #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_wizard__message +#: model_terms:ir.ui.view,arch_db:mass_editing.view_server_action_form msgid "Message" msgstr "" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__model_id #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line__model_id msgid "Model" msgstr "" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__name -msgid "Name" -msgstr "Název" +#: model:ir.model.fields,help:mass_editing.field_mass_editing_line__model_id +msgid "Model on which the server action runs." +msgstr "" + +#. module: mass_editing +#: code:addons/mass_editing/wizard/mass_editing_wizard.py:0 +#, python-format +msgid "None of the %d record(s) you have selected can be processed." +msgstr "" #. module: mass_editing #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_wizard__operation_description_danger @@ -200,6 +221,12 @@ msgstr "" msgid "Sequence" msgstr "" +#. module: mass_editing +#: model:ir.model,name:mass_editing.model_ir_actions_server +#: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line__server_action_id +msgid "Server Action" +msgstr "" + #. module: mass_editing #: code:addons/mass_editing/wizard/mass_editing_wizard.py:0 #, python-format @@ -207,8 +234,24 @@ msgid "Set" msgstr "" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__ref_ir_act_window_id -msgid "Sidebar Action" +#: code:addons/mass_editing/wizard/mass_editing_wizard.py:0 +#, python-format +msgid "The treatment will be processed on the %d selected record(s)." +msgstr "" + +#. module: mass_editing +#: model:ir.model.fields,help:mass_editing.field_ir_actions_server__state +#: model:ir.model.fields,help:mass_editing.field_ir_cron__state +msgid "" +"Type of server action. The following values are available:\n" +"- 'Execute Python Code': a block of python code that will be executed\n" +"- 'Create': create a new record with new values\n" +"- 'Update a Record': update the values of a record\n" +"- 'Execute several actions': define an action that triggers several other " +"server actions\n" +"- 'Send Email': automatically send an email (Discuss)\n" +"- 'Add Followers': add followers to a record (Discuss)\n" +"- 'Create Next Activity': create an activity (Discuss)" msgstr "" #. module: mass_editing @@ -220,3 +263,14 @@ msgstr "" #: model:ir.model,name:mass_editing.model_mass_editing_wizard msgid "Wizard for mass edition" msgstr "" + +#. module: mass_editing +#: code:addons/mass_editing/wizard/mass_editing_wizard.py:0 +#, python-format +msgid "" +"You have selected %d record(s) that can not be processed.\n" +"Only %d record(s) will be processed." +msgstr "" + +#~ msgid "Name" +#~ msgstr "Název" diff --git a/mass_editing/i18n/da.po b/mass_editing/i18n/da.po index 433705d..927c8b2 100644 --- a/mass_editing/i18n/da.po +++ b/mass_editing/i18n/da.po @@ -19,7 +19,7 @@ msgstr "" "Plural-Forms: nplurals=2; plural=(n != 1);\n" #. module: mass_editing -#: model_terms:ir.ui.view,arch_db:mass_editing.view_mass_editing_form +#: model_terms:ir.ui.view,arch_db:mass_editing.view_server_action_form msgid "" "WARNING: Take into account that adding a field with a domain, and not " "including the fields of such domain in this operation definition, will lead " @@ -27,8 +27,9 @@ msgid "" msgstr "" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__action_name -msgid "Action Name" +#: model:ir.model.fields,field_description:mass_editing.field_ir_actions_server__state +#: model:ir.model.fields,field_description:mass_editing.field_ir_cron__state +msgid "Action To Do" msgstr "" #. module: mass_editing @@ -40,14 +41,13 @@ msgstr "" #. module: mass_editing #: model:ir.model.fields,help:mass_editing.field_mass_editing_line__widget_option msgid "" -"Add widget text that will be used to display the field in the wizard. " -"Example :\n" -"'many2many_tags', 'selection'" +"Add widget text that will be used to display the field in the wizard.\n" +"Example: 'many2many_tags', 'selection', 'image'" msgstr "" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__groups_id -msgid "Allowed Groups" +#: model_terms:ir.ui.view,arch_db:mass_editing.view_mass_editing_wizard_form +msgid "Apply" msgstr "" #. module: mass_editing @@ -61,85 +61,93 @@ msgid "Apply domain" msgstr "" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__apply_domain_in_lines +#: model:ir.model.fields,field_description:mass_editing.field_ir_actions_server__mass_edit_apply_domain_in_lines +#: model:ir.model.fields,field_description:mass_editing.field_ir_cron__mass_edit_apply_domain_in_lines msgid "Apply domain in lines" msgstr "" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__create_uid +#: model_terms:ir.ui.view,arch_db:mass_editing.view_mass_editing_wizard_form +msgid "Cancel" +msgstr "" + +#. module: mass_editing #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line__create_uid #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_wizard__create_uid msgid "Created by" msgstr "Oprettet af" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__create_date #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line__create_date #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_wizard__create_date msgid "Created on" msgstr "Oprettet den" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__display_name +#: model:ir.model.fields,field_description:mass_editing.field_ir_actions_server__display_name #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line__display_name #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_wizard__display_name msgid "Display Name" msgstr "Vist navn" -#. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__domain -msgid "Domain" -msgstr "" - #. module: mass_editing #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line__field_id msgid "Field" msgstr "" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__id +#: model_terms:ir.ui.view,arch_db:mass_editing.view_server_action_form +msgid "Fields" +msgstr "" + +#. module: mass_editing +#: model:ir.model.fields,field_description:mass_editing.field_ir_actions_server__id #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line__id #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_wizard__id msgid "ID" msgstr "Id" #. module: mass_editing -#: model:ir.model.fields,help:mass_editing.field_mass_editing__message +#: model:ir.model.fields,help:mass_editing.field_ir_actions_server__mass_edit_message +#: model:ir.model.fields,help:mass_editing.field_ir_cron__mass_edit_message msgid "If set, this message will be displayed in the wizard." msgstr "" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing____last_update +#: model:ir.model.fields,field_description:mass_editing.field_ir_actions_server____last_update #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line____last_update #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_wizard____last_update msgid "Last Modified on" msgstr "Sidst ændret den" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__write_uid #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line__write_uid #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_wizard__write_uid msgid "Last Updated by" msgstr "Sidst opdateret af" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__write_date #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line__write_date #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_wizard__write_date msgid "Last Updated on" msgstr "Sidst opdateret den" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__line_ids -msgid "Line" +#: model:ir.actions.server,name:mass_editing.mass_editing_partner +#: model:ir.actions.server,name:mass_editing.mass_editing_partner_title +#: model:ir.actions.server,name:mass_editing.mass_editing_user +msgid "Mass Edit" msgstr "" #. module: mass_editing -#: model:ir.actions.act_window,name:mass_editing.action_mass_editing -#: model:ir.model,name:mass_editing.model_mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line__mass_editing_id -#: model:ir.ui.menu,name:mass_editing.menu_mass_editing -msgid "Mass Editing" +#: model:ir.model.fields,field_description:mass_editing.field_ir_actions_server__mass_edit_line_ids +#: model:ir.model.fields,field_description:mass_editing.field_ir_cron__mass_edit_line_ids +msgid "Mass Edit Line" +msgstr "" + +#. module: mass_editing +#: model:ir.model.fields.selection,name:mass_editing.selection__ir_actions_server__state__mass_edit +msgid "Mass Edit Records" msgstr "" #. module: mass_editing @@ -148,21 +156,34 @@ msgid "Mass Editing Line" msgstr "" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__message +#: code:addons/mass_editing/models/mass_editing_line.py:0 +#, python-format +msgid "Mass edit fields should belong to the server action model." +msgstr "" + +#. module: mass_editing +#: model:ir.model.fields,field_description:mass_editing.field_ir_actions_server__mass_edit_message +#: model:ir.model.fields,field_description:mass_editing.field_ir_cron__mass_edit_message #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_wizard__message +#: model_terms:ir.ui.view,arch_db:mass_editing.view_server_action_form msgid "Message" msgstr "" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__model_id #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line__model_id msgid "Model" msgstr "" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__name -msgid "Name" -msgstr "Navn" +#: model:ir.model.fields,help:mass_editing.field_mass_editing_line__model_id +msgid "Model on which the server action runs." +msgstr "" + +#. module: mass_editing +#: code:addons/mass_editing/wizard/mass_editing_wizard.py:0 +#, python-format +msgid "None of the %d record(s) you have selected can be processed." +msgstr "" #. module: mass_editing #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_wizard__operation_description_danger @@ -200,6 +221,12 @@ msgstr "" msgid "Sequence" msgstr "" +#. module: mass_editing +#: model:ir.model,name:mass_editing.model_ir_actions_server +#: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line__server_action_id +msgid "Server Action" +msgstr "" + #. module: mass_editing #: code:addons/mass_editing/wizard/mass_editing_wizard.py:0 #, python-format @@ -207,8 +234,24 @@ msgid "Set" msgstr "" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__ref_ir_act_window_id -msgid "Sidebar Action" +#: code:addons/mass_editing/wizard/mass_editing_wizard.py:0 +#, python-format +msgid "The treatment will be processed on the %d selected record(s)." +msgstr "" + +#. module: mass_editing +#: model:ir.model.fields,help:mass_editing.field_ir_actions_server__state +#: model:ir.model.fields,help:mass_editing.field_ir_cron__state +msgid "" +"Type of server action. The following values are available:\n" +"- 'Execute Python Code': a block of python code that will be executed\n" +"- 'Create': create a new record with new values\n" +"- 'Update a Record': update the values of a record\n" +"- 'Execute several actions': define an action that triggers several other " +"server actions\n" +"- 'Send Email': automatically send an email (Discuss)\n" +"- 'Add Followers': add followers to a record (Discuss)\n" +"- 'Create Next Activity': create an activity (Discuss)" msgstr "" #. module: mass_editing @@ -221,5 +264,16 @@ msgstr "" msgid "Wizard for mass edition" msgstr "" +#. module: mass_editing +#: code:addons/mass_editing/wizard/mass_editing_wizard.py:0 +#, python-format +msgid "" +"You have selected %d record(s) that can not be processed.\n" +"Only %d record(s) will be processed." +msgstr "" + +#~ msgid "Name" +#~ msgstr "Navn" + #~ msgid "%s (copy)" #~ msgstr "%s (kopi)" diff --git a/mass_editing/i18n/de.po b/mass_editing/i18n/de.po index fc6c8f9..db75143 100644 --- a/mass_editing/i18n/de.po +++ b/mass_editing/i18n/de.po @@ -19,7 +19,7 @@ msgstr "" "Plural-Forms: nplurals=2; plural=(n != 1);\n" #. module: mass_editing -#: model_terms:ir.ui.view,arch_db:mass_editing.view_mass_editing_form +#: model_terms:ir.ui.view,arch_db:mass_editing.view_server_action_form msgid "" "WARNING: Take into account that adding a field with a domain, and not " "including the fields of such domain in this operation definition, will lead " @@ -27,8 +27,9 @@ msgid "" msgstr "" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__action_name -msgid "Action Name" +#: model:ir.model.fields,field_description:mass_editing.field_ir_actions_server__state +#: model:ir.model.fields,field_description:mass_editing.field_ir_cron__state +msgid "Action To Do" msgstr "" #. module: mass_editing @@ -40,14 +41,13 @@ msgstr "" #. module: mass_editing #: model:ir.model.fields,help:mass_editing.field_mass_editing_line__widget_option msgid "" -"Add widget text that will be used to display the field in the wizard. " -"Example :\n" -"'many2many_tags', 'selection'" +"Add widget text that will be used to display the field in the wizard.\n" +"Example: 'many2many_tags', 'selection', 'image'" msgstr "" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__groups_id -msgid "Allowed Groups" +#: model_terms:ir.ui.view,arch_db:mass_editing.view_mass_editing_wizard_form +msgid "Apply" msgstr "" #. module: mass_editing @@ -61,36 +61,35 @@ msgid "Apply domain" msgstr "" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__apply_domain_in_lines +#: model:ir.model.fields,field_description:mass_editing.field_ir_actions_server__mass_edit_apply_domain_in_lines +#: model:ir.model.fields,field_description:mass_editing.field_ir_cron__mass_edit_apply_domain_in_lines msgid "Apply domain in lines" msgstr "" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__create_uid +#: model_terms:ir.ui.view,arch_db:mass_editing.view_mass_editing_wizard_form +msgid "Cancel" +msgstr "" + +#. module: mass_editing #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line__create_uid #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_wizard__create_uid msgid "Created by" msgstr "Erstellt von" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__create_date #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line__create_date #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_wizard__create_date msgid "Created on" msgstr "Erstellt am:" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__display_name +#: model:ir.model.fields,field_description:mass_editing.field_ir_actions_server__display_name #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line__display_name #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_wizard__display_name msgid "Display Name" msgstr "Anzeigename" -#. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__domain -msgid "Domain" -msgstr "" - #. module: mass_editing #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line__field_id #, fuzzy @@ -98,50 +97,59 @@ msgid "Field" msgstr "Felder" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__id +#: model_terms:ir.ui.view,arch_db:mass_editing.view_server_action_form +msgid "Fields" +msgstr "" + +#. module: mass_editing +#: model:ir.model.fields,field_description:mass_editing.field_ir_actions_server__id #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line__id #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_wizard__id msgid "ID" msgstr "ID" #. module: mass_editing -#: model:ir.model.fields,help:mass_editing.field_mass_editing__message +#: model:ir.model.fields,help:mass_editing.field_ir_actions_server__mass_edit_message +#: model:ir.model.fields,help:mass_editing.field_ir_cron__mass_edit_message msgid "If set, this message will be displayed in the wizard." msgstr "" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing____last_update +#: model:ir.model.fields,field_description:mass_editing.field_ir_actions_server____last_update #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line____last_update #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_wizard____last_update msgid "Last Modified on" msgstr "Zuletzt geändert am" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__write_uid #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line__write_uid #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_wizard__write_uid msgid "Last Updated by" msgstr "Zuletzt aktualisiert von" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__write_date #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line__write_date #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_wizard__write_date msgid "Last Updated on" msgstr "Zuletzt aktualisiert am" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__line_ids -msgid "Line" +#: model:ir.actions.server,name:mass_editing.mass_editing_partner +#: model:ir.actions.server,name:mass_editing.mass_editing_partner_title +#: model:ir.actions.server,name:mass_editing.mass_editing_user +msgid "Mass Edit" msgstr "" #. module: mass_editing -#: model:ir.actions.act_window,name:mass_editing.action_mass_editing -#: model:ir.model,name:mass_editing.model_mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line__mass_editing_id -#: model:ir.ui.menu,name:mass_editing.menu_mass_editing -msgid "Mass Editing" -msgstr "Massenverarbeitung" +#: model:ir.model.fields,field_description:mass_editing.field_ir_actions_server__mass_edit_line_ids +#: model:ir.model.fields,field_description:mass_editing.field_ir_cron__mass_edit_line_ids +msgid "Mass Edit Line" +msgstr "" + +#. module: mass_editing +#: model:ir.model.fields.selection,name:mass_editing.selection__ir_actions_server__state__mass_edit +msgid "Mass Edit Records" +msgstr "" #. module: mass_editing #: model:ir.model,name:mass_editing.model_mass_editing_line @@ -150,21 +158,34 @@ msgid "Mass Editing Line" msgstr "Massenverarbeitung" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__message +#: code:addons/mass_editing/models/mass_editing_line.py:0 +#, python-format +msgid "Mass edit fields should belong to the server action model." +msgstr "" + +#. module: mass_editing +#: model:ir.model.fields,field_description:mass_editing.field_ir_actions_server__mass_edit_message +#: model:ir.model.fields,field_description:mass_editing.field_ir_cron__mass_edit_message #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_wizard__message +#: model_terms:ir.ui.view,arch_db:mass_editing.view_server_action_form msgid "Message" msgstr "" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__model_id #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line__model_id msgid "Model" msgstr "Modell" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__name -msgid "Name" -msgstr "Name" +#: model:ir.model.fields,help:mass_editing.field_mass_editing_line__model_id +msgid "Model on which the server action runs." +msgstr "" + +#. module: mass_editing +#: code:addons/mass_editing/wizard/mass_editing_wizard.py:0 +#, python-format +msgid "None of the %d record(s) you have selected can be processed." +msgstr "" #. module: mass_editing #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_wizard__operation_description_danger @@ -202,6 +223,12 @@ msgstr "" msgid "Sequence" msgstr "" +#. module: mass_editing +#: model:ir.model,name:mass_editing.model_ir_actions_server +#: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line__server_action_id +msgid "Server Action" +msgstr "" + #. module: mass_editing #: code:addons/mass_editing/wizard/mass_editing_wizard.py:0 #, python-format @@ -209,10 +236,25 @@ msgid "Set" msgstr "" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__ref_ir_act_window_id -#, fuzzy -msgid "Sidebar Action" -msgstr "Seitenleisten-Schaltfläche hinzufügen" +#: code:addons/mass_editing/wizard/mass_editing_wizard.py:0 +#, python-format +msgid "The treatment will be processed on the %d selected record(s)." +msgstr "" + +#. module: mass_editing +#: model:ir.model.fields,help:mass_editing.field_ir_actions_server__state +#: model:ir.model.fields,help:mass_editing.field_ir_cron__state +msgid "" +"Type of server action. The following values are available:\n" +"- 'Execute Python Code': a block of python code that will be executed\n" +"- 'Create': create a new record with new values\n" +"- 'Update a Record': update the values of a record\n" +"- 'Execute several actions': define an action that triggers several other " +"server actions\n" +"- 'Send Email': automatically send an email (Discuss)\n" +"- 'Add Followers': add followers to a record (Discuss)\n" +"- 'Create Next Activity': create an activity (Discuss)" +msgstr "" #. module: mass_editing #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line__widget_option @@ -224,6 +266,24 @@ msgstr "" msgid "Wizard for mass edition" msgstr "" +#. module: mass_editing +#: code:addons/mass_editing/wizard/mass_editing_wizard.py:0 +#, python-format +msgid "" +"You have selected %d record(s) that can not be processed.\n" +"Only %d record(s) will be processed." +msgstr "" + +#~ msgid "Mass Editing" +#~ msgstr "Massenverarbeitung" + +#~ msgid "Name" +#~ msgstr "Name" + +#, fuzzy +#~ msgid "Sidebar Action" +#~ msgstr "Seitenleisten-Schaltfläche hinzufügen" + #~ msgid "%s (copy)" #~ msgstr "%s (Kopie)" diff --git a/mass_editing/i18n/el_GR.po b/mass_editing/i18n/el_GR.po index 8150d4d..7dc18c2 100644 --- a/mass_editing/i18n/el_GR.po +++ b/mass_editing/i18n/el_GR.po @@ -21,7 +21,7 @@ msgstr "" "Plural-Forms: nplurals=2; plural=(n != 1);\n" #. module: mass_editing -#: model_terms:ir.ui.view,arch_db:mass_editing.view_mass_editing_form +#: model_terms:ir.ui.view,arch_db:mass_editing.view_server_action_form msgid "" "WARNING: Take into account that adding a field with a domain, and not " "including the fields of such domain in this operation definition, will lead " @@ -29,8 +29,9 @@ msgid "" msgstr "" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__action_name -msgid "Action Name" +#: model:ir.model.fields,field_description:mass_editing.field_ir_actions_server__state +#: model:ir.model.fields,field_description:mass_editing.field_ir_cron__state +msgid "Action To Do" msgstr "" #. module: mass_editing @@ -42,14 +43,13 @@ msgstr "" #. module: mass_editing #: model:ir.model.fields,help:mass_editing.field_mass_editing_line__widget_option msgid "" -"Add widget text that will be used to display the field in the wizard. " -"Example :\n" -"'many2many_tags', 'selection'" +"Add widget text that will be used to display the field in the wizard.\n" +"Example: 'many2many_tags', 'selection', 'image'" msgstr "" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__groups_id -msgid "Allowed Groups" +#: model_terms:ir.ui.view,arch_db:mass_editing.view_mass_editing_wizard_form +msgid "Apply" msgstr "" #. module: mass_editing @@ -63,85 +63,93 @@ msgid "Apply domain" msgstr "" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__apply_domain_in_lines +#: model:ir.model.fields,field_description:mass_editing.field_ir_actions_server__mass_edit_apply_domain_in_lines +#: model:ir.model.fields,field_description:mass_editing.field_ir_cron__mass_edit_apply_domain_in_lines msgid "Apply domain in lines" msgstr "" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__create_uid +#: model_terms:ir.ui.view,arch_db:mass_editing.view_mass_editing_wizard_form +msgid "Cancel" +msgstr "" + +#. module: mass_editing #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line__create_uid #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_wizard__create_uid msgid "Created by" msgstr "Δημιουργήθηκε από " #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__create_date #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line__create_date #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_wizard__create_date msgid "Created on" msgstr "Δημιουργήθηκε στις" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__display_name +#: model:ir.model.fields,field_description:mass_editing.field_ir_actions_server__display_name #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line__display_name #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_wizard__display_name msgid "Display Name" msgstr "" -#. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__domain -msgid "Domain" -msgstr "" - #. module: mass_editing #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line__field_id msgid "Field" msgstr "" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__id +#: model_terms:ir.ui.view,arch_db:mass_editing.view_server_action_form +msgid "Fields" +msgstr "" + +#. module: mass_editing +#: model:ir.model.fields,field_description:mass_editing.field_ir_actions_server__id #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line__id #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_wizard__id msgid "ID" msgstr "Κωδικός" #. module: mass_editing -#: model:ir.model.fields,help:mass_editing.field_mass_editing__message +#: model:ir.model.fields,help:mass_editing.field_ir_actions_server__mass_edit_message +#: model:ir.model.fields,help:mass_editing.field_ir_cron__mass_edit_message msgid "If set, this message will be displayed in the wizard." msgstr "" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing____last_update +#: model:ir.model.fields,field_description:mass_editing.field_ir_actions_server____last_update #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line____last_update #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_wizard____last_update msgid "Last Modified on" msgstr "" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__write_uid #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line__write_uid #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_wizard__write_uid msgid "Last Updated by" msgstr "Τελευταία ενημέρωση από" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__write_date #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line__write_date #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_wizard__write_date msgid "Last Updated on" msgstr "Τελευταία ενημέρωση στις" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__line_ids -msgid "Line" +#: model:ir.actions.server,name:mass_editing.mass_editing_partner +#: model:ir.actions.server,name:mass_editing.mass_editing_partner_title +#: model:ir.actions.server,name:mass_editing.mass_editing_user +msgid "Mass Edit" msgstr "" #. module: mass_editing -#: model:ir.actions.act_window,name:mass_editing.action_mass_editing -#: model:ir.model,name:mass_editing.model_mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line__mass_editing_id -#: model:ir.ui.menu,name:mass_editing.menu_mass_editing -msgid "Mass Editing" +#: model:ir.model.fields,field_description:mass_editing.field_ir_actions_server__mass_edit_line_ids +#: model:ir.model.fields,field_description:mass_editing.field_ir_cron__mass_edit_line_ids +msgid "Mass Edit Line" +msgstr "" + +#. module: mass_editing +#: model:ir.model.fields.selection,name:mass_editing.selection__ir_actions_server__state__mass_edit +msgid "Mass Edit Records" msgstr "" #. module: mass_editing @@ -150,21 +158,34 @@ msgid "Mass Editing Line" msgstr "" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__message +#: code:addons/mass_editing/models/mass_editing_line.py:0 +#, python-format +msgid "Mass edit fields should belong to the server action model." +msgstr "" + +#. module: mass_editing +#: model:ir.model.fields,field_description:mass_editing.field_ir_actions_server__mass_edit_message +#: model:ir.model.fields,field_description:mass_editing.field_ir_cron__mass_edit_message #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_wizard__message +#: model_terms:ir.ui.view,arch_db:mass_editing.view_server_action_form msgid "Message" msgstr "" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__model_id #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line__model_id msgid "Model" msgstr "" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__name -msgid "Name" -msgstr "Ονομασία" +#: model:ir.model.fields,help:mass_editing.field_mass_editing_line__model_id +msgid "Model on which the server action runs." +msgstr "" + +#. module: mass_editing +#: code:addons/mass_editing/wizard/mass_editing_wizard.py:0 +#, python-format +msgid "None of the %d record(s) you have selected can be processed." +msgstr "" #. module: mass_editing #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_wizard__operation_description_danger @@ -202,6 +223,12 @@ msgstr "" msgid "Sequence" msgstr "" +#. module: mass_editing +#: model:ir.model,name:mass_editing.model_ir_actions_server +#: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line__server_action_id +msgid "Server Action" +msgstr "" + #. module: mass_editing #: code:addons/mass_editing/wizard/mass_editing_wizard.py:0 #, python-format @@ -209,8 +236,24 @@ msgid "Set" msgstr "" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__ref_ir_act_window_id -msgid "Sidebar Action" +#: code:addons/mass_editing/wizard/mass_editing_wizard.py:0 +#, python-format +msgid "The treatment will be processed on the %d selected record(s)." +msgstr "" + +#. module: mass_editing +#: model:ir.model.fields,help:mass_editing.field_ir_actions_server__state +#: model:ir.model.fields,help:mass_editing.field_ir_cron__state +msgid "" +"Type of server action. The following values are available:\n" +"- 'Execute Python Code': a block of python code that will be executed\n" +"- 'Create': create a new record with new values\n" +"- 'Update a Record': update the values of a record\n" +"- 'Execute several actions': define an action that triggers several other " +"server actions\n" +"- 'Send Email': automatically send an email (Discuss)\n" +"- 'Add Followers': add followers to a record (Discuss)\n" +"- 'Create Next Activity': create an activity (Discuss)" msgstr "" #. module: mass_editing @@ -222,3 +265,14 @@ msgstr "" #: model:ir.model,name:mass_editing.model_mass_editing_wizard msgid "Wizard for mass edition" msgstr "" + +#. module: mass_editing +#: code:addons/mass_editing/wizard/mass_editing_wizard.py:0 +#, python-format +msgid "" +"You have selected %d record(s) that can not be processed.\n" +"Only %d record(s) will be processed." +msgstr "" + +#~ msgid "Name" +#~ msgstr "Ονομασία" diff --git a/mass_editing/i18n/en_GB.po b/mass_editing/i18n/en_GB.po index a61fb55..029c0c2 100644 --- a/mass_editing/i18n/en_GB.po +++ b/mass_editing/i18n/en_GB.po @@ -20,7 +20,7 @@ msgstr "" "Plural-Forms: nplurals=2; plural=(n != 1);\n" #. module: mass_editing -#: model_terms:ir.ui.view,arch_db:mass_editing.view_mass_editing_form +#: model_terms:ir.ui.view,arch_db:mass_editing.view_server_action_form msgid "" "WARNING: Take into account that adding a field with a domain, and not " "including the fields of such domain in this operation definition, will lead " @@ -28,8 +28,9 @@ msgid "" msgstr "" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__action_name -msgid "Action Name" +#: model:ir.model.fields,field_description:mass_editing.field_ir_actions_server__state +#: model:ir.model.fields,field_description:mass_editing.field_ir_cron__state +msgid "Action To Do" msgstr "" #. module: mass_editing @@ -41,14 +42,13 @@ msgstr "" #. module: mass_editing #: model:ir.model.fields,help:mass_editing.field_mass_editing_line__widget_option msgid "" -"Add widget text that will be used to display the field in the wizard. " -"Example :\n" -"'many2many_tags', 'selection'" +"Add widget text that will be used to display the field in the wizard.\n" +"Example: 'many2many_tags', 'selection', 'image'" msgstr "" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__groups_id -msgid "Allowed Groups" +#: model_terms:ir.ui.view,arch_db:mass_editing.view_mass_editing_wizard_form +msgid "Apply" msgstr "" #. module: mass_editing @@ -62,85 +62,93 @@ msgid "Apply domain" msgstr "" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__apply_domain_in_lines +#: model:ir.model.fields,field_description:mass_editing.field_ir_actions_server__mass_edit_apply_domain_in_lines +#: model:ir.model.fields,field_description:mass_editing.field_ir_cron__mass_edit_apply_domain_in_lines msgid "Apply domain in lines" msgstr "" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__create_uid +#: model_terms:ir.ui.view,arch_db:mass_editing.view_mass_editing_wizard_form +msgid "Cancel" +msgstr "" + +#. module: mass_editing #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line__create_uid #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_wizard__create_uid msgid "Created by" msgstr "Created by" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__create_date #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line__create_date #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_wizard__create_date msgid "Created on" msgstr "Created on" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__display_name +#: model:ir.model.fields,field_description:mass_editing.field_ir_actions_server__display_name #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line__display_name #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_wizard__display_name msgid "Display Name" msgstr "Display Name" -#. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__domain -msgid "Domain" -msgstr "" - #. module: mass_editing #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line__field_id msgid "Field" msgstr "" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__id +#: model_terms:ir.ui.view,arch_db:mass_editing.view_server_action_form +msgid "Fields" +msgstr "" + +#. module: mass_editing +#: model:ir.model.fields,field_description:mass_editing.field_ir_actions_server__id #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line__id #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_wizard__id msgid "ID" msgstr "ID" #. module: mass_editing -#: model:ir.model.fields,help:mass_editing.field_mass_editing__message +#: model:ir.model.fields,help:mass_editing.field_ir_actions_server__mass_edit_message +#: model:ir.model.fields,help:mass_editing.field_ir_cron__mass_edit_message msgid "If set, this message will be displayed in the wizard." msgstr "" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing____last_update +#: model:ir.model.fields,field_description:mass_editing.field_ir_actions_server____last_update #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line____last_update #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_wizard____last_update msgid "Last Modified on" msgstr "Last Modified on" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__write_uid #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line__write_uid #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_wizard__write_uid msgid "Last Updated by" msgstr "Last Updated by" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__write_date #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line__write_date #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_wizard__write_date msgid "Last Updated on" msgstr "Last Updated on" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__line_ids -msgid "Line" +#: model:ir.actions.server,name:mass_editing.mass_editing_partner +#: model:ir.actions.server,name:mass_editing.mass_editing_partner_title +#: model:ir.actions.server,name:mass_editing.mass_editing_user +msgid "Mass Edit" msgstr "" #. module: mass_editing -#: model:ir.actions.act_window,name:mass_editing.action_mass_editing -#: model:ir.model,name:mass_editing.model_mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line__mass_editing_id -#: model:ir.ui.menu,name:mass_editing.menu_mass_editing -msgid "Mass Editing" +#: model:ir.model.fields,field_description:mass_editing.field_ir_actions_server__mass_edit_line_ids +#: model:ir.model.fields,field_description:mass_editing.field_ir_cron__mass_edit_line_ids +msgid "Mass Edit Line" +msgstr "" + +#. module: mass_editing +#: model:ir.model.fields.selection,name:mass_editing.selection__ir_actions_server__state__mass_edit +msgid "Mass Edit Records" msgstr "" #. module: mass_editing @@ -149,21 +157,34 @@ msgid "Mass Editing Line" msgstr "" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__message +#: code:addons/mass_editing/models/mass_editing_line.py:0 +#, python-format +msgid "Mass edit fields should belong to the server action model." +msgstr "" + +#. module: mass_editing +#: model:ir.model.fields,field_description:mass_editing.field_ir_actions_server__mass_edit_message +#: model:ir.model.fields,field_description:mass_editing.field_ir_cron__mass_edit_message #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_wizard__message +#: model_terms:ir.ui.view,arch_db:mass_editing.view_server_action_form msgid "Message" msgstr "" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__model_id #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line__model_id msgid "Model" msgstr "" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__name -msgid "Name" -msgstr "Name" +#: model:ir.model.fields,help:mass_editing.field_mass_editing_line__model_id +msgid "Model on which the server action runs." +msgstr "" + +#. module: mass_editing +#: code:addons/mass_editing/wizard/mass_editing_wizard.py:0 +#, python-format +msgid "None of the %d record(s) you have selected can be processed." +msgstr "" #. module: mass_editing #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_wizard__operation_description_danger @@ -201,6 +222,12 @@ msgstr "" msgid "Sequence" msgstr "" +#. module: mass_editing +#: model:ir.model,name:mass_editing.model_ir_actions_server +#: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line__server_action_id +msgid "Server Action" +msgstr "" + #. module: mass_editing #: code:addons/mass_editing/wizard/mass_editing_wizard.py:0 #, python-format @@ -208,8 +235,24 @@ msgid "Set" msgstr "" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__ref_ir_act_window_id -msgid "Sidebar Action" +#: code:addons/mass_editing/wizard/mass_editing_wizard.py:0 +#, python-format +msgid "The treatment will be processed on the %d selected record(s)." +msgstr "" + +#. module: mass_editing +#: model:ir.model.fields,help:mass_editing.field_ir_actions_server__state +#: model:ir.model.fields,help:mass_editing.field_ir_cron__state +msgid "" +"Type of server action. The following values are available:\n" +"- 'Execute Python Code': a block of python code that will be executed\n" +"- 'Create': create a new record with new values\n" +"- 'Update a Record': update the values of a record\n" +"- 'Execute several actions': define an action that triggers several other " +"server actions\n" +"- 'Send Email': automatically send an email (Discuss)\n" +"- 'Add Followers': add followers to a record (Discuss)\n" +"- 'Create Next Activity': create an activity (Discuss)" msgstr "" #. module: mass_editing @@ -221,3 +264,14 @@ msgstr "" #: model:ir.model,name:mass_editing.model_mass_editing_wizard msgid "Wizard for mass edition" msgstr "" + +#. module: mass_editing +#: code:addons/mass_editing/wizard/mass_editing_wizard.py:0 +#, python-format +msgid "" +"You have selected %d record(s) that can not be processed.\n" +"Only %d record(s) will be processed." +msgstr "" + +#~ msgid "Name" +#~ msgstr "Name" diff --git a/mass_editing/i18n/es.po b/mass_editing/i18n/es.po index 305d6d7..b4f2fd1 100644 --- a/mass_editing/i18n/es.po +++ b/mass_editing/i18n/es.po @@ -20,7 +20,7 @@ msgstr "" "X-Generator: Weblate 4.3.2\n" #. module: mass_editing -#: model_terms:ir.ui.view,arch_db:mass_editing.view_mass_editing_form +#: model_terms:ir.ui.view,arch_db:mass_editing.view_server_action_form msgid "" "WARNING: Take into account that adding a field with a domain, and not " "including the fields of such domain in this operation definition, will lead " @@ -31,9 +31,10 @@ msgstr "" "causará un error al intentar llevarla a cabo. Compruebe que los incluye." #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__action_name -msgid "Action Name" -msgstr "Nombre Acción" +#: model:ir.model.fields,field_description:mass_editing.field_ir_actions_server__state +#: model:ir.model.fields,field_description:mass_editing.field_ir_cron__state +msgid "Action To Do" +msgstr "" #. module: mass_editing #: code:addons/mass_editing/wizard/mass_editing_wizard.py:0 @@ -44,18 +45,14 @@ msgstr "Añadir" #. module: mass_editing #: model:ir.model.fields,help:mass_editing.field_mass_editing_line__widget_option msgid "" -"Add widget text that will be used to display the field in the wizard. " -"Example :\n" -"'many2many_tags', 'selection'" +"Add widget text that will be used to display the field in the wizard.\n" +"Example: 'many2many_tags', 'selection', 'image'" msgstr "" -"Añada el texto del widget que se usará para mostrar el campo en el wizard. " -"Ejemplo:\n" -"'many2many_tags', 'selection'" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__groups_id -msgid "Allowed Groups" -msgstr "Grupos permitidos" +#: model_terms:ir.ui.view,arch_db:mass_editing.view_mass_editing_wizard_form +msgid "Apply" +msgstr "" #. module: mass_editing #: model:ir.model.fields,help:mass_editing.field_mass_editing_line__apply_domain @@ -68,86 +65,94 @@ msgid "Apply domain" msgstr "Aplicar dominio" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__apply_domain_in_lines +#: model:ir.model.fields,field_description:mass_editing.field_ir_actions_server__mass_edit_apply_domain_in_lines +#: model:ir.model.fields,field_description:mass_editing.field_ir_cron__mass_edit_apply_domain_in_lines msgid "Apply domain in lines" msgstr "Aplicar dominio en líneas" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__create_uid +#: model_terms:ir.ui.view,arch_db:mass_editing.view_mass_editing_wizard_form +msgid "Cancel" +msgstr "" + +#. module: mass_editing #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line__create_uid #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_wizard__create_uid msgid "Created by" msgstr "Creado por" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__create_date #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line__create_date #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_wizard__create_date msgid "Created on" msgstr "Creado en" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__display_name +#: model:ir.model.fields,field_description:mass_editing.field_ir_actions_server__display_name #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line__display_name #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_wizard__display_name msgid "Display Name" msgstr "Nombre mostrado" -#. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__domain -msgid "Domain" -msgstr "Dominio" - #. module: mass_editing #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line__field_id msgid "Field" msgstr "Campo" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__id +#: model_terms:ir.ui.view,arch_db:mass_editing.view_server_action_form +msgid "Fields" +msgstr "" + +#. module: mass_editing +#: model:ir.model.fields,field_description:mass_editing.field_ir_actions_server__id #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line__id #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_wizard__id msgid "ID" msgstr "ID" #. module: mass_editing -#: model:ir.model.fields,help:mass_editing.field_mass_editing__message +#: model:ir.model.fields,help:mass_editing.field_ir_actions_server__mass_edit_message +#: model:ir.model.fields,help:mass_editing.field_ir_cron__mass_edit_message msgid "If set, this message will be displayed in the wizard." msgstr "Si está establecido, este mensaje se mostrará en el wizard." #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing____last_update +#: model:ir.model.fields,field_description:mass_editing.field_ir_actions_server____last_update #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line____last_update #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_wizard____last_update msgid "Last Modified on" msgstr "Última modificación en" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__write_uid #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line__write_uid #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_wizard__write_uid msgid "Last Updated by" msgstr "Última actualización de" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__write_date #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line__write_date #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_wizard__write_date msgid "Last Updated on" msgstr "Última actualización en" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__line_ids -msgid "Line" -msgstr "Línea" +#: model:ir.actions.server,name:mass_editing.mass_editing_partner +#: model:ir.actions.server,name:mass_editing.mass_editing_partner_title +#: model:ir.actions.server,name:mass_editing.mass_editing_user +msgid "Mass Edit" +msgstr "" #. module: mass_editing -#: model:ir.actions.act_window,name:mass_editing.action_mass_editing -#: model:ir.model,name:mass_editing.model_mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line__mass_editing_id -#: model:ir.ui.menu,name:mass_editing.menu_mass_editing -msgid "Mass Editing" -msgstr "Edición masiva" +#: model:ir.model.fields,field_description:mass_editing.field_ir_actions_server__mass_edit_line_ids +#: model:ir.model.fields,field_description:mass_editing.field_ir_cron__mass_edit_line_ids +msgid "Mass Edit Line" +msgstr "" + +#. module: mass_editing +#: model:ir.model.fields.selection,name:mass_editing.selection__ir_actions_server__state__mass_edit +msgid "Mass Edit Records" +msgstr "" #. module: mass_editing #: model:ir.model,name:mass_editing.model_mass_editing_line @@ -155,21 +160,34 @@ msgid "Mass Editing Line" msgstr "Línea de edición masiva" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__message +#: code:addons/mass_editing/models/mass_editing_line.py:0 +#, python-format +msgid "Mass edit fields should belong to the server action model." +msgstr "" + +#. module: mass_editing +#: model:ir.model.fields,field_description:mass_editing.field_ir_actions_server__mass_edit_message +#: model:ir.model.fields,field_description:mass_editing.field_ir_cron__mass_edit_message #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_wizard__message +#: model_terms:ir.ui.view,arch_db:mass_editing.view_server_action_form msgid "Message" msgstr "Mensaje" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__model_id #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line__model_id msgid "Model" msgstr "Modelo" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__name -msgid "Name" -msgstr "Nombre" +#: model:ir.model.fields,help:mass_editing.field_mass_editing_line__model_id +msgid "Model on which the server action runs." +msgstr "" + +#. module: mass_editing +#: code:addons/mass_editing/wizard/mass_editing_wizard.py:0 +#, python-format +msgid "None of the %d record(s) you have selected can be processed." +msgstr "" #. module: mass_editing #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_wizard__operation_description_danger @@ -208,6 +226,12 @@ msgstr "Cantidad de artículos seleccionados" msgid "Sequence" msgstr "Secuencia" +#. module: mass_editing +#: model:ir.model,name:mass_editing.model_ir_actions_server +#: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line__server_action_id +msgid "Server Action" +msgstr "" + #. module: mass_editing #: code:addons/mass_editing/wizard/mass_editing_wizard.py:0 #, python-format @@ -215,9 +239,25 @@ msgid "Set" msgstr "Establecer" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__ref_ir_act_window_id -msgid "Sidebar Action" -msgstr "Acción barra lateral" +#: code:addons/mass_editing/wizard/mass_editing_wizard.py:0 +#, python-format +msgid "The treatment will be processed on the %d selected record(s)." +msgstr "" + +#. module: mass_editing +#: model:ir.model.fields,help:mass_editing.field_ir_actions_server__state +#: model:ir.model.fields,help:mass_editing.field_ir_cron__state +msgid "" +"Type of server action. The following values are available:\n" +"- 'Execute Python Code': a block of python code that will be executed\n" +"- 'Create': create a new record with new values\n" +"- 'Update a Record': update the values of a record\n" +"- 'Execute several actions': define an action that triggers several other " +"server actions\n" +"- 'Send Email': automatically send an email (Discuss)\n" +"- 'Add Followers': add followers to a record (Discuss)\n" +"- 'Create Next Activity': create an activity (Discuss)" +msgstr "" #. module: mass_editing #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line__widget_option @@ -229,6 +269,44 @@ msgstr "Opción de widget" msgid "Wizard for mass edition" msgstr "Wizard para edición masiva" +#. module: mass_editing +#: code:addons/mass_editing/wizard/mass_editing_wizard.py:0 +#, python-format +msgid "" +"You have selected %d record(s) that can not be processed.\n" +"Only %d record(s) will be processed." +msgstr "" + +#~ msgid "Action Name" +#~ msgstr "Nombre Acción" + +#~ msgid "" +#~ "Add widget text that will be used to display the field in the wizard. " +#~ "Example :\n" +#~ "'many2many_tags', 'selection'" +#~ msgstr "" +#~ "Añada el texto del widget que se usará para mostrar el campo en el " +#~ "wizard. Ejemplo:\n" +#~ "'many2many_tags', 'selection'" + +#~ msgid "Allowed Groups" +#~ msgstr "Grupos permitidos" + +#~ msgid "Domain" +#~ msgstr "Dominio" + +#~ msgid "Line" +#~ msgstr "Línea" + +#~ msgid "Mass Editing" +#~ msgstr "Edición masiva" + +#~ msgid "Name" +#~ msgstr "Nombre" + +#~ msgid "Sidebar Action" +#~ msgstr "Acción barra lateral" + #~ msgid "%s (copy)" #~ msgstr "%s (copia)" diff --git a/mass_editing/i18n/es_AR.po b/mass_editing/i18n/es_AR.po index 4bd6aca..ff46ffe 100644 --- a/mass_editing/i18n/es_AR.po +++ b/mass_editing/i18n/es_AR.po @@ -20,7 +20,7 @@ msgstr "" "Plural-Forms: nplurals=2; plural=(n != 1);\n" #. module: mass_editing -#: model_terms:ir.ui.view,arch_db:mass_editing.view_mass_editing_form +#: model_terms:ir.ui.view,arch_db:mass_editing.view_server_action_form msgid "" "WARNING: Take into account that adding a field with a domain, and not " "including the fields of such domain in this operation definition, will lead " @@ -28,8 +28,9 @@ msgid "" msgstr "" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__action_name -msgid "Action Name" +#: model:ir.model.fields,field_description:mass_editing.field_ir_actions_server__state +#: model:ir.model.fields,field_description:mass_editing.field_ir_cron__state +msgid "Action To Do" msgstr "" #. module: mass_editing @@ -41,14 +42,13 @@ msgstr "" #. module: mass_editing #: model:ir.model.fields,help:mass_editing.field_mass_editing_line__widget_option msgid "" -"Add widget text that will be used to display the field in the wizard. " -"Example :\n" -"'many2many_tags', 'selection'" +"Add widget text that will be used to display the field in the wizard.\n" +"Example: 'many2many_tags', 'selection', 'image'" msgstr "" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__groups_id -msgid "Allowed Groups" +#: model_terms:ir.ui.view,arch_db:mass_editing.view_mass_editing_wizard_form +msgid "Apply" msgstr "" #. module: mass_editing @@ -62,85 +62,93 @@ msgid "Apply domain" msgstr "" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__apply_domain_in_lines +#: model:ir.model.fields,field_description:mass_editing.field_ir_actions_server__mass_edit_apply_domain_in_lines +#: model:ir.model.fields,field_description:mass_editing.field_ir_cron__mass_edit_apply_domain_in_lines msgid "Apply domain in lines" msgstr "" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__create_uid +#: model_terms:ir.ui.view,arch_db:mass_editing.view_mass_editing_wizard_form +msgid "Cancel" +msgstr "" + +#. module: mass_editing #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line__create_uid #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_wizard__create_uid msgid "Created by" msgstr "Creado por" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__create_date #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line__create_date #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_wizard__create_date msgid "Created on" msgstr "Creado en" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__display_name +#: model:ir.model.fields,field_description:mass_editing.field_ir_actions_server__display_name #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line__display_name #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_wizard__display_name msgid "Display Name" msgstr "Mostrar Nombre" -#. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__domain -msgid "Domain" -msgstr "" - #. module: mass_editing #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line__field_id msgid "Field" msgstr "" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__id +#: model_terms:ir.ui.view,arch_db:mass_editing.view_server_action_form +msgid "Fields" +msgstr "" + +#. module: mass_editing +#: model:ir.model.fields,field_description:mass_editing.field_ir_actions_server__id #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line__id #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_wizard__id msgid "ID" msgstr "ID" #. module: mass_editing -#: model:ir.model.fields,help:mass_editing.field_mass_editing__message +#: model:ir.model.fields,help:mass_editing.field_ir_actions_server__mass_edit_message +#: model:ir.model.fields,help:mass_editing.field_ir_cron__mass_edit_message msgid "If set, this message will be displayed in the wizard." msgstr "" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing____last_update +#: model:ir.model.fields,field_description:mass_editing.field_ir_actions_server____last_update #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line____last_update #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_wizard____last_update msgid "Last Modified on" msgstr "Última modificación en" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__write_uid #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line__write_uid #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_wizard__write_uid msgid "Last Updated by" msgstr "Última actualización realizada por" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__write_date #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line__write_date #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_wizard__write_date msgid "Last Updated on" msgstr "Última actualización el" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__line_ids -msgid "Line" +#: model:ir.actions.server,name:mass_editing.mass_editing_partner +#: model:ir.actions.server,name:mass_editing.mass_editing_partner_title +#: model:ir.actions.server,name:mass_editing.mass_editing_user +msgid "Mass Edit" msgstr "" #. module: mass_editing -#: model:ir.actions.act_window,name:mass_editing.action_mass_editing -#: model:ir.model,name:mass_editing.model_mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line__mass_editing_id -#: model:ir.ui.menu,name:mass_editing.menu_mass_editing -msgid "Mass Editing" +#: model:ir.model.fields,field_description:mass_editing.field_ir_actions_server__mass_edit_line_ids +#: model:ir.model.fields,field_description:mass_editing.field_ir_cron__mass_edit_line_ids +msgid "Mass Edit Line" +msgstr "" + +#. module: mass_editing +#: model:ir.model.fields.selection,name:mass_editing.selection__ir_actions_server__state__mass_edit +msgid "Mass Edit Records" msgstr "" #. module: mass_editing @@ -149,21 +157,34 @@ msgid "Mass Editing Line" msgstr "" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__message +#: code:addons/mass_editing/models/mass_editing_line.py:0 +#, python-format +msgid "Mass edit fields should belong to the server action model." +msgstr "" + +#. module: mass_editing +#: model:ir.model.fields,field_description:mass_editing.field_ir_actions_server__mass_edit_message +#: model:ir.model.fields,field_description:mass_editing.field_ir_cron__mass_edit_message #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_wizard__message +#: model_terms:ir.ui.view,arch_db:mass_editing.view_server_action_form msgid "Message" msgstr "" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__model_id #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line__model_id msgid "Model" msgstr "" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__name -msgid "Name" -msgstr "Nombre" +#: model:ir.model.fields,help:mass_editing.field_mass_editing_line__model_id +msgid "Model on which the server action runs." +msgstr "" + +#. module: mass_editing +#: code:addons/mass_editing/wizard/mass_editing_wizard.py:0 +#, python-format +msgid "None of the %d record(s) you have selected can be processed." +msgstr "" #. module: mass_editing #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_wizard__operation_description_danger @@ -201,6 +222,12 @@ msgstr "" msgid "Sequence" msgstr "" +#. module: mass_editing +#: model:ir.model,name:mass_editing.model_ir_actions_server +#: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line__server_action_id +msgid "Server Action" +msgstr "" + #. module: mass_editing #: code:addons/mass_editing/wizard/mass_editing_wizard.py:0 #, python-format @@ -208,8 +235,24 @@ msgid "Set" msgstr "" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__ref_ir_act_window_id -msgid "Sidebar Action" +#: code:addons/mass_editing/wizard/mass_editing_wizard.py:0 +#, python-format +msgid "The treatment will be processed on the %d selected record(s)." +msgstr "" + +#. module: mass_editing +#: model:ir.model.fields,help:mass_editing.field_ir_actions_server__state +#: model:ir.model.fields,help:mass_editing.field_ir_cron__state +msgid "" +"Type of server action. The following values are available:\n" +"- 'Execute Python Code': a block of python code that will be executed\n" +"- 'Create': create a new record with new values\n" +"- 'Update a Record': update the values of a record\n" +"- 'Execute several actions': define an action that triggers several other " +"server actions\n" +"- 'Send Email': automatically send an email (Discuss)\n" +"- 'Add Followers': add followers to a record (Discuss)\n" +"- 'Create Next Activity': create an activity (Discuss)" msgstr "" #. module: mass_editing @@ -221,3 +264,14 @@ msgstr "" #: model:ir.model,name:mass_editing.model_mass_editing_wizard msgid "Wizard for mass edition" msgstr "" + +#. module: mass_editing +#: code:addons/mass_editing/wizard/mass_editing_wizard.py:0 +#, python-format +msgid "" +"You have selected %d record(s) that can not be processed.\n" +"Only %d record(s) will be processed." +msgstr "" + +#~ msgid "Name" +#~ msgstr "Nombre" diff --git a/mass_editing/i18n/es_CL.po b/mass_editing/i18n/es_CL.po index 5a73960..c9a342a 100644 --- a/mass_editing/i18n/es_CL.po +++ b/mass_editing/i18n/es_CL.po @@ -20,7 +20,7 @@ msgstr "" "Plural-Forms: nplurals=2; plural=(n != 1);\n" #. module: mass_editing -#: model_terms:ir.ui.view,arch_db:mass_editing.view_mass_editing_form +#: model_terms:ir.ui.view,arch_db:mass_editing.view_server_action_form msgid "" "WARNING: Take into account that adding a field with a domain, and not " "including the fields of such domain in this operation definition, will lead " @@ -28,8 +28,9 @@ msgid "" msgstr "" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__action_name -msgid "Action Name" +#: model:ir.model.fields,field_description:mass_editing.field_ir_actions_server__state +#: model:ir.model.fields,field_description:mass_editing.field_ir_cron__state +msgid "Action To Do" msgstr "" #. module: mass_editing @@ -41,14 +42,13 @@ msgstr "" #. module: mass_editing #: model:ir.model.fields,help:mass_editing.field_mass_editing_line__widget_option msgid "" -"Add widget text that will be used to display the field in the wizard. " -"Example :\n" -"'many2many_tags', 'selection'" +"Add widget text that will be used to display the field in the wizard.\n" +"Example: 'many2many_tags', 'selection', 'image'" msgstr "" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__groups_id -msgid "Allowed Groups" +#: model_terms:ir.ui.view,arch_db:mass_editing.view_mass_editing_wizard_form +msgid "Apply" msgstr "" #. module: mass_editing @@ -62,85 +62,93 @@ msgid "Apply domain" msgstr "" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__apply_domain_in_lines +#: model:ir.model.fields,field_description:mass_editing.field_ir_actions_server__mass_edit_apply_domain_in_lines +#: model:ir.model.fields,field_description:mass_editing.field_ir_cron__mass_edit_apply_domain_in_lines msgid "Apply domain in lines" msgstr "" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__create_uid +#: model_terms:ir.ui.view,arch_db:mass_editing.view_mass_editing_wizard_form +msgid "Cancel" +msgstr "" + +#. module: mass_editing #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line__create_uid #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_wizard__create_uid msgid "Created by" msgstr "Creado por" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__create_date #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line__create_date #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_wizard__create_date msgid "Created on" msgstr "Creado en" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__display_name +#: model:ir.model.fields,field_description:mass_editing.field_ir_actions_server__display_name #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line__display_name #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_wizard__display_name msgid "Display Name" msgstr "Nombre mostrado" -#. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__domain -msgid "Domain" -msgstr "" - #. module: mass_editing #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line__field_id msgid "Field" msgstr "" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__id +#: model_terms:ir.ui.view,arch_db:mass_editing.view_server_action_form +msgid "Fields" +msgstr "" + +#. module: mass_editing +#: model:ir.model.fields,field_description:mass_editing.field_ir_actions_server__id #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line__id #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_wizard__id msgid "ID" msgstr "ID (identificación)" #. module: mass_editing -#: model:ir.model.fields,help:mass_editing.field_mass_editing__message +#: model:ir.model.fields,help:mass_editing.field_ir_actions_server__mass_edit_message +#: model:ir.model.fields,help:mass_editing.field_ir_cron__mass_edit_message msgid "If set, this message will be displayed in the wizard." msgstr "" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing____last_update +#: model:ir.model.fields,field_description:mass_editing.field_ir_actions_server____last_update #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line____last_update #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_wizard____last_update msgid "Last Modified on" msgstr "Última modificación en" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__write_uid #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line__write_uid #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_wizard__write_uid msgid "Last Updated by" msgstr "Última actualización de" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__write_date #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line__write_date #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_wizard__write_date msgid "Last Updated on" msgstr "Última actualización en" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__line_ids -msgid "Line" +#: model:ir.actions.server,name:mass_editing.mass_editing_partner +#: model:ir.actions.server,name:mass_editing.mass_editing_partner_title +#: model:ir.actions.server,name:mass_editing.mass_editing_user +msgid "Mass Edit" msgstr "" #. module: mass_editing -#: model:ir.actions.act_window,name:mass_editing.action_mass_editing -#: model:ir.model,name:mass_editing.model_mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line__mass_editing_id -#: model:ir.ui.menu,name:mass_editing.menu_mass_editing -msgid "Mass Editing" +#: model:ir.model.fields,field_description:mass_editing.field_ir_actions_server__mass_edit_line_ids +#: model:ir.model.fields,field_description:mass_editing.field_ir_cron__mass_edit_line_ids +msgid "Mass Edit Line" +msgstr "" + +#. module: mass_editing +#: model:ir.model.fields.selection,name:mass_editing.selection__ir_actions_server__state__mass_edit +msgid "Mass Edit Records" msgstr "" #. module: mass_editing @@ -149,21 +157,34 @@ msgid "Mass Editing Line" msgstr "" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__message +#: code:addons/mass_editing/models/mass_editing_line.py:0 +#, python-format +msgid "Mass edit fields should belong to the server action model." +msgstr "" + +#. module: mass_editing +#: model:ir.model.fields,field_description:mass_editing.field_ir_actions_server__mass_edit_message +#: model:ir.model.fields,field_description:mass_editing.field_ir_cron__mass_edit_message #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_wizard__message +#: model_terms:ir.ui.view,arch_db:mass_editing.view_server_action_form msgid "Message" msgstr "" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__model_id #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line__model_id msgid "Model" msgstr "" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__name -msgid "Name" -msgstr "Nombre" +#: model:ir.model.fields,help:mass_editing.field_mass_editing_line__model_id +msgid "Model on which the server action runs." +msgstr "" + +#. module: mass_editing +#: code:addons/mass_editing/wizard/mass_editing_wizard.py:0 +#, python-format +msgid "None of the %d record(s) you have selected can be processed." +msgstr "" #. module: mass_editing #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_wizard__operation_description_danger @@ -201,6 +222,12 @@ msgstr "" msgid "Sequence" msgstr "" +#. module: mass_editing +#: model:ir.model,name:mass_editing.model_ir_actions_server +#: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line__server_action_id +msgid "Server Action" +msgstr "" + #. module: mass_editing #: code:addons/mass_editing/wizard/mass_editing_wizard.py:0 #, python-format @@ -208,8 +235,24 @@ msgid "Set" msgstr "" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__ref_ir_act_window_id -msgid "Sidebar Action" +#: code:addons/mass_editing/wizard/mass_editing_wizard.py:0 +#, python-format +msgid "The treatment will be processed on the %d selected record(s)." +msgstr "" + +#. module: mass_editing +#: model:ir.model.fields,help:mass_editing.field_ir_actions_server__state +#: model:ir.model.fields,help:mass_editing.field_ir_cron__state +msgid "" +"Type of server action. The following values are available:\n" +"- 'Execute Python Code': a block of python code that will be executed\n" +"- 'Create': create a new record with new values\n" +"- 'Update a Record': update the values of a record\n" +"- 'Execute several actions': define an action that triggers several other " +"server actions\n" +"- 'Send Email': automatically send an email (Discuss)\n" +"- 'Add Followers': add followers to a record (Discuss)\n" +"- 'Create Next Activity': create an activity (Discuss)" msgstr "" #. module: mass_editing @@ -221,3 +264,14 @@ msgstr "" #: model:ir.model,name:mass_editing.model_mass_editing_wizard msgid "Wizard for mass edition" msgstr "" + +#. module: mass_editing +#: code:addons/mass_editing/wizard/mass_editing_wizard.py:0 +#, python-format +msgid "" +"You have selected %d record(s) that can not be processed.\n" +"Only %d record(s) will be processed." +msgstr "" + +#~ msgid "Name" +#~ msgstr "Nombre" diff --git a/mass_editing/i18n/es_CO.po b/mass_editing/i18n/es_CO.po index 73abce8..7242fa7 100644 --- a/mass_editing/i18n/es_CO.po +++ b/mass_editing/i18n/es_CO.po @@ -20,7 +20,7 @@ msgstr "" "Plural-Forms: nplurals=2; plural=(n != 1);\n" #. module: mass_editing -#: model_terms:ir.ui.view,arch_db:mass_editing.view_mass_editing_form +#: model_terms:ir.ui.view,arch_db:mass_editing.view_server_action_form msgid "" "WARNING: Take into account that adding a field with a domain, and not " "including the fields of such domain in this operation definition, will lead " @@ -28,8 +28,9 @@ msgid "" msgstr "" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__action_name -msgid "Action Name" +#: model:ir.model.fields,field_description:mass_editing.field_ir_actions_server__state +#: model:ir.model.fields,field_description:mass_editing.field_ir_cron__state +msgid "Action To Do" msgstr "" #. module: mass_editing @@ -41,14 +42,13 @@ msgstr "" #. module: mass_editing #: model:ir.model.fields,help:mass_editing.field_mass_editing_line__widget_option msgid "" -"Add widget text that will be used to display the field in the wizard. " -"Example :\n" -"'many2many_tags', 'selection'" +"Add widget text that will be used to display the field in the wizard.\n" +"Example: 'many2many_tags', 'selection', 'image'" msgstr "" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__groups_id -msgid "Allowed Groups" +#: model_terms:ir.ui.view,arch_db:mass_editing.view_mass_editing_wizard_form +msgid "Apply" msgstr "" #. module: mass_editing @@ -62,85 +62,93 @@ msgid "Apply domain" msgstr "" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__apply_domain_in_lines +#: model:ir.model.fields,field_description:mass_editing.field_ir_actions_server__mass_edit_apply_domain_in_lines +#: model:ir.model.fields,field_description:mass_editing.field_ir_cron__mass_edit_apply_domain_in_lines msgid "Apply domain in lines" msgstr "" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__create_uid +#: model_terms:ir.ui.view,arch_db:mass_editing.view_mass_editing_wizard_form +msgid "Cancel" +msgstr "" + +#. module: mass_editing #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line__create_uid #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_wizard__create_uid msgid "Created by" msgstr "Creado por" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__create_date #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line__create_date #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_wizard__create_date msgid "Created on" msgstr "Creado" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__display_name +#: model:ir.model.fields,field_description:mass_editing.field_ir_actions_server__display_name #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line__display_name #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_wizard__display_name msgid "Display Name" msgstr "Nombre Público" -#. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__domain -msgid "Domain" -msgstr "" - #. module: mass_editing #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line__field_id msgid "Field" msgstr "" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__id +#: model_terms:ir.ui.view,arch_db:mass_editing.view_server_action_form +msgid "Fields" +msgstr "" + +#. module: mass_editing +#: model:ir.model.fields,field_description:mass_editing.field_ir_actions_server__id #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line__id #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_wizard__id msgid "ID" msgstr "ID" #. module: mass_editing -#: model:ir.model.fields,help:mass_editing.field_mass_editing__message +#: model:ir.model.fields,help:mass_editing.field_ir_actions_server__mass_edit_message +#: model:ir.model.fields,help:mass_editing.field_ir_cron__mass_edit_message msgid "If set, this message will be displayed in the wizard." msgstr "" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing____last_update +#: model:ir.model.fields,field_description:mass_editing.field_ir_actions_server____last_update #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line____last_update #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_wizard____last_update msgid "Last Modified on" msgstr "Última Modificación el" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__write_uid #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line__write_uid #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_wizard__write_uid msgid "Last Updated by" msgstr "Actualizado por" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__write_date #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line__write_date #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_wizard__write_date msgid "Last Updated on" msgstr "Actualizado" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__line_ids -msgid "Line" +#: model:ir.actions.server,name:mass_editing.mass_editing_partner +#: model:ir.actions.server,name:mass_editing.mass_editing_partner_title +#: model:ir.actions.server,name:mass_editing.mass_editing_user +msgid "Mass Edit" msgstr "" #. module: mass_editing -#: model:ir.actions.act_window,name:mass_editing.action_mass_editing -#: model:ir.model,name:mass_editing.model_mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line__mass_editing_id -#: model:ir.ui.menu,name:mass_editing.menu_mass_editing -msgid "Mass Editing" +#: model:ir.model.fields,field_description:mass_editing.field_ir_actions_server__mass_edit_line_ids +#: model:ir.model.fields,field_description:mass_editing.field_ir_cron__mass_edit_line_ids +msgid "Mass Edit Line" +msgstr "" + +#. module: mass_editing +#: model:ir.model.fields.selection,name:mass_editing.selection__ir_actions_server__state__mass_edit +msgid "Mass Edit Records" msgstr "" #. module: mass_editing @@ -149,21 +157,34 @@ msgid "Mass Editing Line" msgstr "" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__message +#: code:addons/mass_editing/models/mass_editing_line.py:0 +#, python-format +msgid "Mass edit fields should belong to the server action model." +msgstr "" + +#. module: mass_editing +#: model:ir.model.fields,field_description:mass_editing.field_ir_actions_server__mass_edit_message +#: model:ir.model.fields,field_description:mass_editing.field_ir_cron__mass_edit_message #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_wizard__message +#: model_terms:ir.ui.view,arch_db:mass_editing.view_server_action_form msgid "Message" msgstr "" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__model_id #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line__model_id msgid "Model" msgstr "" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__name -msgid "Name" -msgstr "Nombre" +#: model:ir.model.fields,help:mass_editing.field_mass_editing_line__model_id +msgid "Model on which the server action runs." +msgstr "" + +#. module: mass_editing +#: code:addons/mass_editing/wizard/mass_editing_wizard.py:0 +#, python-format +msgid "None of the %d record(s) you have selected can be processed." +msgstr "" #. module: mass_editing #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_wizard__operation_description_danger @@ -201,6 +222,12 @@ msgstr "" msgid "Sequence" msgstr "" +#. module: mass_editing +#: model:ir.model,name:mass_editing.model_ir_actions_server +#: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line__server_action_id +msgid "Server Action" +msgstr "" + #. module: mass_editing #: code:addons/mass_editing/wizard/mass_editing_wizard.py:0 #, python-format @@ -208,8 +235,24 @@ msgid "Set" msgstr "" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__ref_ir_act_window_id -msgid "Sidebar Action" +#: code:addons/mass_editing/wizard/mass_editing_wizard.py:0 +#, python-format +msgid "The treatment will be processed on the %d selected record(s)." +msgstr "" + +#. module: mass_editing +#: model:ir.model.fields,help:mass_editing.field_ir_actions_server__state +#: model:ir.model.fields,help:mass_editing.field_ir_cron__state +msgid "" +"Type of server action. The following values are available:\n" +"- 'Execute Python Code': a block of python code that will be executed\n" +"- 'Create': create a new record with new values\n" +"- 'Update a Record': update the values of a record\n" +"- 'Execute several actions': define an action that triggers several other " +"server actions\n" +"- 'Send Email': automatically send an email (Discuss)\n" +"- 'Add Followers': add followers to a record (Discuss)\n" +"- 'Create Next Activity': create an activity (Discuss)" msgstr "" #. module: mass_editing @@ -221,3 +264,14 @@ msgstr "" #: model:ir.model,name:mass_editing.model_mass_editing_wizard msgid "Wizard for mass edition" msgstr "" + +#. module: mass_editing +#: code:addons/mass_editing/wizard/mass_editing_wizard.py:0 +#, python-format +msgid "" +"You have selected %d record(s) that can not be processed.\n" +"Only %d record(s) will be processed." +msgstr "" + +#~ msgid "Name" +#~ msgstr "Nombre" diff --git a/mass_editing/i18n/es_CR.po b/mass_editing/i18n/es_CR.po index 168a923..d05cf9c 100644 --- a/mass_editing/i18n/es_CR.po +++ b/mass_editing/i18n/es_CR.po @@ -20,7 +20,7 @@ msgstr "" "Plural-Forms: nplurals=2; plural=(n != 1);\n" #. module: mass_editing -#: model_terms:ir.ui.view,arch_db:mass_editing.view_mass_editing_form +#: model_terms:ir.ui.view,arch_db:mass_editing.view_server_action_form msgid "" "WARNING: Take into account that adding a field with a domain, and not " "including the fields of such domain in this operation definition, will lead " @@ -28,8 +28,9 @@ msgid "" msgstr "" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__action_name -msgid "Action Name" +#: model:ir.model.fields,field_description:mass_editing.field_ir_actions_server__state +#: model:ir.model.fields,field_description:mass_editing.field_ir_cron__state +msgid "Action To Do" msgstr "" #. module: mass_editing @@ -41,14 +42,13 @@ msgstr "" #. module: mass_editing #: model:ir.model.fields,help:mass_editing.field_mass_editing_line__widget_option msgid "" -"Add widget text that will be used to display the field in the wizard. " -"Example :\n" -"'many2many_tags', 'selection'" +"Add widget text that will be used to display the field in the wizard.\n" +"Example: 'many2many_tags', 'selection', 'image'" msgstr "" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__groups_id -msgid "Allowed Groups" +#: model_terms:ir.ui.view,arch_db:mass_editing.view_mass_editing_wizard_form +msgid "Apply" msgstr "" #. module: mass_editing @@ -62,85 +62,93 @@ msgid "Apply domain" msgstr "" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__apply_domain_in_lines +#: model:ir.model.fields,field_description:mass_editing.field_ir_actions_server__mass_edit_apply_domain_in_lines +#: model:ir.model.fields,field_description:mass_editing.field_ir_cron__mass_edit_apply_domain_in_lines msgid "Apply domain in lines" msgstr "" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__create_uid +#: model_terms:ir.ui.view,arch_db:mass_editing.view_mass_editing_wizard_form +msgid "Cancel" +msgstr "" + +#. module: mass_editing #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line__create_uid #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_wizard__create_uid msgid "Created by" msgstr "Creado por" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__create_date #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line__create_date #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_wizard__create_date msgid "Created on" msgstr "Creado en" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__display_name +#: model:ir.model.fields,field_description:mass_editing.field_ir_actions_server__display_name #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line__display_name #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_wizard__display_name msgid "Display Name" msgstr "" -#. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__domain -msgid "Domain" -msgstr "" - #. module: mass_editing #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line__field_id msgid "Field" msgstr "" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__id +#: model_terms:ir.ui.view,arch_db:mass_editing.view_server_action_form +msgid "Fields" +msgstr "" + +#. module: mass_editing +#: model:ir.model.fields,field_description:mass_editing.field_ir_actions_server__id #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line__id #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_wizard__id msgid "ID" msgstr "ID" #. module: mass_editing -#: model:ir.model.fields,help:mass_editing.field_mass_editing__message +#: model:ir.model.fields,help:mass_editing.field_ir_actions_server__mass_edit_message +#: model:ir.model.fields,help:mass_editing.field_ir_cron__mass_edit_message msgid "If set, this message will be displayed in the wizard." msgstr "" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing____last_update +#: model:ir.model.fields,field_description:mass_editing.field_ir_actions_server____last_update #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line____last_update #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_wizard____last_update msgid "Last Modified on" msgstr "" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__write_uid #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line__write_uid #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_wizard__write_uid msgid "Last Updated by" msgstr "Ultima actualización por" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__write_date #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line__write_date #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_wizard__write_date msgid "Last Updated on" msgstr "Ultima actualización en" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__line_ids -msgid "Line" +#: model:ir.actions.server,name:mass_editing.mass_editing_partner +#: model:ir.actions.server,name:mass_editing.mass_editing_partner_title +#: model:ir.actions.server,name:mass_editing.mass_editing_user +msgid "Mass Edit" msgstr "" #. module: mass_editing -#: model:ir.actions.act_window,name:mass_editing.action_mass_editing -#: model:ir.model,name:mass_editing.model_mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line__mass_editing_id -#: model:ir.ui.menu,name:mass_editing.menu_mass_editing -msgid "Mass Editing" +#: model:ir.model.fields,field_description:mass_editing.field_ir_actions_server__mass_edit_line_ids +#: model:ir.model.fields,field_description:mass_editing.field_ir_cron__mass_edit_line_ids +msgid "Mass Edit Line" +msgstr "" + +#. module: mass_editing +#: model:ir.model.fields.selection,name:mass_editing.selection__ir_actions_server__state__mass_edit +msgid "Mass Edit Records" msgstr "" #. module: mass_editing @@ -149,21 +157,34 @@ msgid "Mass Editing Line" msgstr "" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__message +#: code:addons/mass_editing/models/mass_editing_line.py:0 +#, python-format +msgid "Mass edit fields should belong to the server action model." +msgstr "" + +#. module: mass_editing +#: model:ir.model.fields,field_description:mass_editing.field_ir_actions_server__mass_edit_message +#: model:ir.model.fields,field_description:mass_editing.field_ir_cron__mass_edit_message #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_wizard__message +#: model_terms:ir.ui.view,arch_db:mass_editing.view_server_action_form msgid "Message" msgstr "" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__model_id #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line__model_id msgid "Model" msgstr "" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__name -msgid "Name" -msgstr "Nombre" +#: model:ir.model.fields,help:mass_editing.field_mass_editing_line__model_id +msgid "Model on which the server action runs." +msgstr "" + +#. module: mass_editing +#: code:addons/mass_editing/wizard/mass_editing_wizard.py:0 +#, python-format +msgid "None of the %d record(s) you have selected can be processed." +msgstr "" #. module: mass_editing #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_wizard__operation_description_danger @@ -201,6 +222,12 @@ msgstr "" msgid "Sequence" msgstr "" +#. module: mass_editing +#: model:ir.model,name:mass_editing.model_ir_actions_server +#: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line__server_action_id +msgid "Server Action" +msgstr "" + #. module: mass_editing #: code:addons/mass_editing/wizard/mass_editing_wizard.py:0 #, python-format @@ -208,8 +235,24 @@ msgid "Set" msgstr "" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__ref_ir_act_window_id -msgid "Sidebar Action" +#: code:addons/mass_editing/wizard/mass_editing_wizard.py:0 +#, python-format +msgid "The treatment will be processed on the %d selected record(s)." +msgstr "" + +#. module: mass_editing +#: model:ir.model.fields,help:mass_editing.field_ir_actions_server__state +#: model:ir.model.fields,help:mass_editing.field_ir_cron__state +msgid "" +"Type of server action. The following values are available:\n" +"- 'Execute Python Code': a block of python code that will be executed\n" +"- 'Create': create a new record with new values\n" +"- 'Update a Record': update the values of a record\n" +"- 'Execute several actions': define an action that triggers several other " +"server actions\n" +"- 'Send Email': automatically send an email (Discuss)\n" +"- 'Add Followers': add followers to a record (Discuss)\n" +"- 'Create Next Activity': create an activity (Discuss)" msgstr "" #. module: mass_editing @@ -221,3 +264,14 @@ msgstr "" #: model:ir.model,name:mass_editing.model_mass_editing_wizard msgid "Wizard for mass edition" msgstr "" + +#. module: mass_editing +#: code:addons/mass_editing/wizard/mass_editing_wizard.py:0 +#, python-format +msgid "" +"You have selected %d record(s) that can not be processed.\n" +"Only %d record(s) will be processed." +msgstr "" + +#~ msgid "Name" +#~ msgstr "Nombre" diff --git a/mass_editing/i18n/es_DO.po b/mass_editing/i18n/es_DO.po index 2d3b0f2..fd1cb1b 100644 --- a/mass_editing/i18n/es_DO.po +++ b/mass_editing/i18n/es_DO.po @@ -20,7 +20,7 @@ msgstr "" "Plural-Forms: nplurals=2; plural=(n != 1);\n" #. module: mass_editing -#: model_terms:ir.ui.view,arch_db:mass_editing.view_mass_editing_form +#: model_terms:ir.ui.view,arch_db:mass_editing.view_server_action_form msgid "" "WARNING: Take into account that adding a field with a domain, and not " "including the fields of such domain in this operation definition, will lead " @@ -28,8 +28,9 @@ msgid "" msgstr "" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__action_name -msgid "Action Name" +#: model:ir.model.fields,field_description:mass_editing.field_ir_actions_server__state +#: model:ir.model.fields,field_description:mass_editing.field_ir_cron__state +msgid "Action To Do" msgstr "" #. module: mass_editing @@ -41,14 +42,13 @@ msgstr "" #. module: mass_editing #: model:ir.model.fields,help:mass_editing.field_mass_editing_line__widget_option msgid "" -"Add widget text that will be used to display the field in the wizard. " -"Example :\n" -"'many2many_tags', 'selection'" +"Add widget text that will be used to display the field in the wizard.\n" +"Example: 'many2many_tags', 'selection', 'image'" msgstr "" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__groups_id -msgid "Allowed Groups" +#: model_terms:ir.ui.view,arch_db:mass_editing.view_mass_editing_wizard_form +msgid "Apply" msgstr "" #. module: mass_editing @@ -62,85 +62,93 @@ msgid "Apply domain" msgstr "" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__apply_domain_in_lines +#: model:ir.model.fields,field_description:mass_editing.field_ir_actions_server__mass_edit_apply_domain_in_lines +#: model:ir.model.fields,field_description:mass_editing.field_ir_cron__mass_edit_apply_domain_in_lines msgid "Apply domain in lines" msgstr "" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__create_uid +#: model_terms:ir.ui.view,arch_db:mass_editing.view_mass_editing_wizard_form +msgid "Cancel" +msgstr "" + +#. module: mass_editing #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line__create_uid #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_wizard__create_uid msgid "Created by" msgstr "Creado por" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__create_date #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line__create_date #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_wizard__create_date msgid "Created on" msgstr "Creado en" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__display_name +#: model:ir.model.fields,field_description:mass_editing.field_ir_actions_server__display_name #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line__display_name #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_wizard__display_name msgid "Display Name" msgstr "Nombre mostrado" -#. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__domain -msgid "Domain" -msgstr "" - #. module: mass_editing #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line__field_id msgid "Field" msgstr "" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__id +#: model_terms:ir.ui.view,arch_db:mass_editing.view_server_action_form +msgid "Fields" +msgstr "" + +#. module: mass_editing +#: model:ir.model.fields,field_description:mass_editing.field_ir_actions_server__id #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line__id #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_wizard__id msgid "ID" msgstr "ID (identificación)" #. module: mass_editing -#: model:ir.model.fields,help:mass_editing.field_mass_editing__message +#: model:ir.model.fields,help:mass_editing.field_ir_actions_server__mass_edit_message +#: model:ir.model.fields,help:mass_editing.field_ir_cron__mass_edit_message msgid "If set, this message will be displayed in the wizard." msgstr "" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing____last_update +#: model:ir.model.fields,field_description:mass_editing.field_ir_actions_server____last_update #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line____last_update #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_wizard____last_update msgid "Last Modified on" msgstr "Última modificación en" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__write_uid #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line__write_uid #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_wizard__write_uid msgid "Last Updated by" msgstr "Última actualización de" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__write_date #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line__write_date #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_wizard__write_date msgid "Last Updated on" msgstr "Última actualización en" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__line_ids -msgid "Line" +#: model:ir.actions.server,name:mass_editing.mass_editing_partner +#: model:ir.actions.server,name:mass_editing.mass_editing_partner_title +#: model:ir.actions.server,name:mass_editing.mass_editing_user +msgid "Mass Edit" msgstr "" #. module: mass_editing -#: model:ir.actions.act_window,name:mass_editing.action_mass_editing -#: model:ir.model,name:mass_editing.model_mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line__mass_editing_id -#: model:ir.ui.menu,name:mass_editing.menu_mass_editing -msgid "Mass Editing" +#: model:ir.model.fields,field_description:mass_editing.field_ir_actions_server__mass_edit_line_ids +#: model:ir.model.fields,field_description:mass_editing.field_ir_cron__mass_edit_line_ids +msgid "Mass Edit Line" +msgstr "" + +#. module: mass_editing +#: model:ir.model.fields.selection,name:mass_editing.selection__ir_actions_server__state__mass_edit +msgid "Mass Edit Records" msgstr "" #. module: mass_editing @@ -149,21 +157,34 @@ msgid "Mass Editing Line" msgstr "" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__message +#: code:addons/mass_editing/models/mass_editing_line.py:0 +#, python-format +msgid "Mass edit fields should belong to the server action model." +msgstr "" + +#. module: mass_editing +#: model:ir.model.fields,field_description:mass_editing.field_ir_actions_server__mass_edit_message +#: model:ir.model.fields,field_description:mass_editing.field_ir_cron__mass_edit_message #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_wizard__message +#: model_terms:ir.ui.view,arch_db:mass_editing.view_server_action_form msgid "Message" msgstr "" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__model_id #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line__model_id msgid "Model" msgstr "" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__name -msgid "Name" -msgstr "Nombre" +#: model:ir.model.fields,help:mass_editing.field_mass_editing_line__model_id +msgid "Model on which the server action runs." +msgstr "" + +#. module: mass_editing +#: code:addons/mass_editing/wizard/mass_editing_wizard.py:0 +#, python-format +msgid "None of the %d record(s) you have selected can be processed." +msgstr "" #. module: mass_editing #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_wizard__operation_description_danger @@ -201,6 +222,12 @@ msgstr "" msgid "Sequence" msgstr "" +#. module: mass_editing +#: model:ir.model,name:mass_editing.model_ir_actions_server +#: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line__server_action_id +msgid "Server Action" +msgstr "" + #. module: mass_editing #: code:addons/mass_editing/wizard/mass_editing_wizard.py:0 #, python-format @@ -208,8 +235,24 @@ msgid "Set" msgstr "" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__ref_ir_act_window_id -msgid "Sidebar Action" +#: code:addons/mass_editing/wizard/mass_editing_wizard.py:0 +#, python-format +msgid "The treatment will be processed on the %d selected record(s)." +msgstr "" + +#. module: mass_editing +#: model:ir.model.fields,help:mass_editing.field_ir_actions_server__state +#: model:ir.model.fields,help:mass_editing.field_ir_cron__state +msgid "" +"Type of server action. The following values are available:\n" +"- 'Execute Python Code': a block of python code that will be executed\n" +"- 'Create': create a new record with new values\n" +"- 'Update a Record': update the values of a record\n" +"- 'Execute several actions': define an action that triggers several other " +"server actions\n" +"- 'Send Email': automatically send an email (Discuss)\n" +"- 'Add Followers': add followers to a record (Discuss)\n" +"- 'Create Next Activity': create an activity (Discuss)" msgstr "" #. module: mass_editing @@ -221,3 +264,14 @@ msgstr "" #: model:ir.model,name:mass_editing.model_mass_editing_wizard msgid "Wizard for mass edition" msgstr "" + +#. module: mass_editing +#: code:addons/mass_editing/wizard/mass_editing_wizard.py:0 +#, python-format +msgid "" +"You have selected %d record(s) that can not be processed.\n" +"Only %d record(s) will be processed." +msgstr "" + +#~ msgid "Name" +#~ msgstr "Nombre" diff --git a/mass_editing/i18n/es_EC.po b/mass_editing/i18n/es_EC.po index a237807..d738654 100644 --- a/mass_editing/i18n/es_EC.po +++ b/mass_editing/i18n/es_EC.po @@ -20,7 +20,7 @@ msgstr "" "Plural-Forms: nplurals=2; plural=(n != 1);\n" #. module: mass_editing -#: model_terms:ir.ui.view,arch_db:mass_editing.view_mass_editing_form +#: model_terms:ir.ui.view,arch_db:mass_editing.view_server_action_form msgid "" "WARNING: Take into account that adding a field with a domain, and not " "including the fields of such domain in this operation definition, will lead " @@ -28,8 +28,9 @@ msgid "" msgstr "" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__action_name -msgid "Action Name" +#: model:ir.model.fields,field_description:mass_editing.field_ir_actions_server__state +#: model:ir.model.fields,field_description:mass_editing.field_ir_cron__state +msgid "Action To Do" msgstr "" #. module: mass_editing @@ -41,14 +42,13 @@ msgstr "" #. module: mass_editing #: model:ir.model.fields,help:mass_editing.field_mass_editing_line__widget_option msgid "" -"Add widget text that will be used to display the field in the wizard. " -"Example :\n" -"'many2many_tags', 'selection'" +"Add widget text that will be used to display the field in the wizard.\n" +"Example: 'many2many_tags', 'selection', 'image'" msgstr "" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__groups_id -msgid "Allowed Groups" +#: model_terms:ir.ui.view,arch_db:mass_editing.view_mass_editing_wizard_form +msgid "Apply" msgstr "" #. module: mass_editing @@ -62,85 +62,93 @@ msgid "Apply domain" msgstr "" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__apply_domain_in_lines +#: model:ir.model.fields,field_description:mass_editing.field_ir_actions_server__mass_edit_apply_domain_in_lines +#: model:ir.model.fields,field_description:mass_editing.field_ir_cron__mass_edit_apply_domain_in_lines msgid "Apply domain in lines" msgstr "" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__create_uid +#: model_terms:ir.ui.view,arch_db:mass_editing.view_mass_editing_wizard_form +msgid "Cancel" +msgstr "" + +#. module: mass_editing #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line__create_uid #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_wizard__create_uid msgid "Created by" msgstr "Creado por" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__create_date #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line__create_date #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_wizard__create_date msgid "Created on" msgstr "Creado en" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__display_name +#: model:ir.model.fields,field_description:mass_editing.field_ir_actions_server__display_name #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line__display_name #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_wizard__display_name msgid "Display Name" msgstr "Nombre mostrado" -#. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__domain -msgid "Domain" -msgstr "" - #. module: mass_editing #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line__field_id msgid "Field" msgstr "" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__id +#: model_terms:ir.ui.view,arch_db:mass_editing.view_server_action_form +msgid "Fields" +msgstr "" + +#. module: mass_editing +#: model:ir.model.fields,field_description:mass_editing.field_ir_actions_server__id #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line__id #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_wizard__id msgid "ID" msgstr "ID" #. module: mass_editing -#: model:ir.model.fields,help:mass_editing.field_mass_editing__message +#: model:ir.model.fields,help:mass_editing.field_ir_actions_server__mass_edit_message +#: model:ir.model.fields,help:mass_editing.field_ir_cron__mass_edit_message msgid "If set, this message will be displayed in the wizard." msgstr "" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing____last_update +#: model:ir.model.fields,field_description:mass_editing.field_ir_actions_server____last_update #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line____last_update #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_wizard____last_update msgid "Last Modified on" msgstr "Última modificación en" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__write_uid #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line__write_uid #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_wizard__write_uid msgid "Last Updated by" msgstr "Última actualización de" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__write_date #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line__write_date #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_wizard__write_date msgid "Last Updated on" msgstr "Última actualización en" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__line_ids -msgid "Line" +#: model:ir.actions.server,name:mass_editing.mass_editing_partner +#: model:ir.actions.server,name:mass_editing.mass_editing_partner_title +#: model:ir.actions.server,name:mass_editing.mass_editing_user +msgid "Mass Edit" msgstr "" #. module: mass_editing -#: model:ir.actions.act_window,name:mass_editing.action_mass_editing -#: model:ir.model,name:mass_editing.model_mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line__mass_editing_id -#: model:ir.ui.menu,name:mass_editing.menu_mass_editing -msgid "Mass Editing" +#: model:ir.model.fields,field_description:mass_editing.field_ir_actions_server__mass_edit_line_ids +#: model:ir.model.fields,field_description:mass_editing.field_ir_cron__mass_edit_line_ids +msgid "Mass Edit Line" +msgstr "" + +#. module: mass_editing +#: model:ir.model.fields.selection,name:mass_editing.selection__ir_actions_server__state__mass_edit +msgid "Mass Edit Records" msgstr "" #. module: mass_editing @@ -149,21 +157,34 @@ msgid "Mass Editing Line" msgstr "" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__message +#: code:addons/mass_editing/models/mass_editing_line.py:0 +#, python-format +msgid "Mass edit fields should belong to the server action model." +msgstr "" + +#. module: mass_editing +#: model:ir.model.fields,field_description:mass_editing.field_ir_actions_server__mass_edit_message +#: model:ir.model.fields,field_description:mass_editing.field_ir_cron__mass_edit_message #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_wizard__message +#: model_terms:ir.ui.view,arch_db:mass_editing.view_server_action_form msgid "Message" msgstr "" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__model_id #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line__model_id msgid "Model" msgstr "" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__name -msgid "Name" -msgstr "Nombre" +#: model:ir.model.fields,help:mass_editing.field_mass_editing_line__model_id +msgid "Model on which the server action runs." +msgstr "" + +#. module: mass_editing +#: code:addons/mass_editing/wizard/mass_editing_wizard.py:0 +#, python-format +msgid "None of the %d record(s) you have selected can be processed." +msgstr "" #. module: mass_editing #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_wizard__operation_description_danger @@ -201,6 +222,12 @@ msgstr "" msgid "Sequence" msgstr "" +#. module: mass_editing +#: model:ir.model,name:mass_editing.model_ir_actions_server +#: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line__server_action_id +msgid "Server Action" +msgstr "" + #. module: mass_editing #: code:addons/mass_editing/wizard/mass_editing_wizard.py:0 #, python-format @@ -208,8 +235,24 @@ msgid "Set" msgstr "" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__ref_ir_act_window_id -msgid "Sidebar Action" +#: code:addons/mass_editing/wizard/mass_editing_wizard.py:0 +#, python-format +msgid "The treatment will be processed on the %d selected record(s)." +msgstr "" + +#. module: mass_editing +#: model:ir.model.fields,help:mass_editing.field_ir_actions_server__state +#: model:ir.model.fields,help:mass_editing.field_ir_cron__state +msgid "" +"Type of server action. The following values are available:\n" +"- 'Execute Python Code': a block of python code that will be executed\n" +"- 'Create': create a new record with new values\n" +"- 'Update a Record': update the values of a record\n" +"- 'Execute several actions': define an action that triggers several other " +"server actions\n" +"- 'Send Email': automatically send an email (Discuss)\n" +"- 'Add Followers': add followers to a record (Discuss)\n" +"- 'Create Next Activity': create an activity (Discuss)" msgstr "" #. module: mass_editing @@ -221,3 +264,14 @@ msgstr "" #: model:ir.model,name:mass_editing.model_mass_editing_wizard msgid "Wizard for mass edition" msgstr "" + +#. module: mass_editing +#: code:addons/mass_editing/wizard/mass_editing_wizard.py:0 +#, python-format +msgid "" +"You have selected %d record(s) that can not be processed.\n" +"Only %d record(s) will be processed." +msgstr "" + +#~ msgid "Name" +#~ msgstr "Nombre" diff --git a/mass_editing/i18n/es_ES.po b/mass_editing/i18n/es_ES.po index 7c084e2..17abed8 100644 --- a/mass_editing/i18n/es_ES.po +++ b/mass_editing/i18n/es_ES.po @@ -20,7 +20,7 @@ msgstr "" "Plural-Forms: nplurals=2; plural=(n != 1);\n" #. module: mass_editing -#: model_terms:ir.ui.view,arch_db:mass_editing.view_mass_editing_form +#: model_terms:ir.ui.view,arch_db:mass_editing.view_server_action_form msgid "" "WARNING: Take into account that adding a field with a domain, and not " "including the fields of such domain in this operation definition, will lead " @@ -28,8 +28,9 @@ msgid "" msgstr "" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__action_name -msgid "Action Name" +#: model:ir.model.fields,field_description:mass_editing.field_ir_actions_server__state +#: model:ir.model.fields,field_description:mass_editing.field_ir_cron__state +msgid "Action To Do" msgstr "" #. module: mass_editing @@ -41,14 +42,13 @@ msgstr "" #. module: mass_editing #: model:ir.model.fields,help:mass_editing.field_mass_editing_line__widget_option msgid "" -"Add widget text that will be used to display the field in the wizard. " -"Example :\n" -"'many2many_tags', 'selection'" +"Add widget text that will be used to display the field in the wizard.\n" +"Example: 'many2many_tags', 'selection', 'image'" msgstr "" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__groups_id -msgid "Allowed Groups" +#: model_terms:ir.ui.view,arch_db:mass_editing.view_mass_editing_wizard_form +msgid "Apply" msgstr "" #. module: mass_editing @@ -62,85 +62,93 @@ msgid "Apply domain" msgstr "" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__apply_domain_in_lines +#: model:ir.model.fields,field_description:mass_editing.field_ir_actions_server__mass_edit_apply_domain_in_lines +#: model:ir.model.fields,field_description:mass_editing.field_ir_cron__mass_edit_apply_domain_in_lines msgid "Apply domain in lines" msgstr "" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__create_uid +#: model_terms:ir.ui.view,arch_db:mass_editing.view_mass_editing_wizard_form +msgid "Cancel" +msgstr "" + +#. module: mass_editing #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line__create_uid #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_wizard__create_uid msgid "Created by" msgstr "Creado por" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__create_date #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line__create_date #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_wizard__create_date msgid "Created on" msgstr "Creado en" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__display_name +#: model:ir.model.fields,field_description:mass_editing.field_ir_actions_server__display_name #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line__display_name #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_wizard__display_name msgid "Display Name" msgstr "Nombre para mostrar" -#. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__domain -msgid "Domain" -msgstr "" - #. module: mass_editing #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line__field_id msgid "Field" msgstr "" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__id +#: model_terms:ir.ui.view,arch_db:mass_editing.view_server_action_form +msgid "Fields" +msgstr "" + +#. module: mass_editing +#: model:ir.model.fields,field_description:mass_editing.field_ir_actions_server__id #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line__id #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_wizard__id msgid "ID" msgstr "ID" #. module: mass_editing -#: model:ir.model.fields,help:mass_editing.field_mass_editing__message +#: model:ir.model.fields,help:mass_editing.field_ir_actions_server__mass_edit_message +#: model:ir.model.fields,help:mass_editing.field_ir_cron__mass_edit_message msgid "If set, this message will be displayed in the wizard." msgstr "" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing____last_update +#: model:ir.model.fields,field_description:mass_editing.field_ir_actions_server____last_update #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line____last_update #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_wizard____last_update msgid "Last Modified on" msgstr "Última modificación en" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__write_uid #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line__write_uid #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_wizard__write_uid msgid "Last Updated by" msgstr "Última actualización por" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__write_date #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line__write_date #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_wizard__write_date msgid "Last Updated on" msgstr "Última actualización en" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__line_ids -msgid "Line" +#: model:ir.actions.server,name:mass_editing.mass_editing_partner +#: model:ir.actions.server,name:mass_editing.mass_editing_partner_title +#: model:ir.actions.server,name:mass_editing.mass_editing_user +msgid "Mass Edit" msgstr "" #. module: mass_editing -#: model:ir.actions.act_window,name:mass_editing.action_mass_editing -#: model:ir.model,name:mass_editing.model_mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line__mass_editing_id -#: model:ir.ui.menu,name:mass_editing.menu_mass_editing -msgid "Mass Editing" +#: model:ir.model.fields,field_description:mass_editing.field_ir_actions_server__mass_edit_line_ids +#: model:ir.model.fields,field_description:mass_editing.field_ir_cron__mass_edit_line_ids +msgid "Mass Edit Line" +msgstr "" + +#. module: mass_editing +#: model:ir.model.fields.selection,name:mass_editing.selection__ir_actions_server__state__mass_edit +msgid "Mass Edit Records" msgstr "" #. module: mass_editing @@ -149,20 +157,33 @@ msgid "Mass Editing Line" msgstr "" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__message +#: code:addons/mass_editing/models/mass_editing_line.py:0 +#, python-format +msgid "Mass edit fields should belong to the server action model." +msgstr "" + +#. module: mass_editing +#: model:ir.model.fields,field_description:mass_editing.field_ir_actions_server__mass_edit_message +#: model:ir.model.fields,field_description:mass_editing.field_ir_cron__mass_edit_message #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_wizard__message +#: model_terms:ir.ui.view,arch_db:mass_editing.view_server_action_form msgid "Message" msgstr "" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__model_id #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line__model_id msgid "Model" msgstr "" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__name -msgid "Name" +#: model:ir.model.fields,help:mass_editing.field_mass_editing_line__model_id +msgid "Model on which the server action runs." +msgstr "" + +#. module: mass_editing +#: code:addons/mass_editing/wizard/mass_editing_wizard.py:0 +#, python-format +msgid "None of the %d record(s) you have selected can be processed." msgstr "" #. module: mass_editing @@ -201,6 +222,12 @@ msgstr "" msgid "Sequence" msgstr "" +#. module: mass_editing +#: model:ir.model,name:mass_editing.model_ir_actions_server +#: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line__server_action_id +msgid "Server Action" +msgstr "" + #. module: mass_editing #: code:addons/mass_editing/wizard/mass_editing_wizard.py:0 #, python-format @@ -208,8 +235,24 @@ msgid "Set" msgstr "" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__ref_ir_act_window_id -msgid "Sidebar Action" +#: code:addons/mass_editing/wizard/mass_editing_wizard.py:0 +#, python-format +msgid "The treatment will be processed on the %d selected record(s)." +msgstr "" + +#. module: mass_editing +#: model:ir.model.fields,help:mass_editing.field_ir_actions_server__state +#: model:ir.model.fields,help:mass_editing.field_ir_cron__state +msgid "" +"Type of server action. The following values are available:\n" +"- 'Execute Python Code': a block of python code that will be executed\n" +"- 'Create': create a new record with new values\n" +"- 'Update a Record': update the values of a record\n" +"- 'Execute several actions': define an action that triggers several other " +"server actions\n" +"- 'Send Email': automatically send an email (Discuss)\n" +"- 'Add Followers': add followers to a record (Discuss)\n" +"- 'Create Next Activity': create an activity (Discuss)" msgstr "" #. module: mass_editing @@ -221,3 +264,11 @@ msgstr "" #: model:ir.model,name:mass_editing.model_mass_editing_wizard msgid "Wizard for mass edition" msgstr "" + +#. module: mass_editing +#: code:addons/mass_editing/wizard/mass_editing_wizard.py:0 +#, python-format +msgid "" +"You have selected %d record(s) that can not be processed.\n" +"Only %d record(s) will be processed." +msgstr "" diff --git a/mass_editing/i18n/es_MX.po b/mass_editing/i18n/es_MX.po index 889d1a0..80510a1 100644 --- a/mass_editing/i18n/es_MX.po +++ b/mass_editing/i18n/es_MX.po @@ -20,7 +20,7 @@ msgstr "" "Plural-Forms: nplurals=2; plural=(n != 1);\n" #. module: mass_editing -#: model_terms:ir.ui.view,arch_db:mass_editing.view_mass_editing_form +#: model_terms:ir.ui.view,arch_db:mass_editing.view_server_action_form msgid "" "WARNING: Take into account that adding a field with a domain, and not " "including the fields of such domain in this operation definition, will lead " @@ -28,8 +28,9 @@ msgid "" msgstr "" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__action_name -msgid "Action Name" +#: model:ir.model.fields,field_description:mass_editing.field_ir_actions_server__state +#: model:ir.model.fields,field_description:mass_editing.field_ir_cron__state +msgid "Action To Do" msgstr "" #. module: mass_editing @@ -41,14 +42,13 @@ msgstr "" #. module: mass_editing #: model:ir.model.fields,help:mass_editing.field_mass_editing_line__widget_option msgid "" -"Add widget text that will be used to display the field in the wizard. " -"Example :\n" -"'many2many_tags', 'selection'" +"Add widget text that will be used to display the field in the wizard.\n" +"Example: 'many2many_tags', 'selection', 'image'" msgstr "" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__groups_id -msgid "Allowed Groups" +#: model_terms:ir.ui.view,arch_db:mass_editing.view_mass_editing_wizard_form +msgid "Apply" msgstr "" #. module: mass_editing @@ -62,85 +62,93 @@ msgid "Apply domain" msgstr "" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__apply_domain_in_lines +#: model:ir.model.fields,field_description:mass_editing.field_ir_actions_server__mass_edit_apply_domain_in_lines +#: model:ir.model.fields,field_description:mass_editing.field_ir_cron__mass_edit_apply_domain_in_lines msgid "Apply domain in lines" msgstr "" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__create_uid +#: model_terms:ir.ui.view,arch_db:mass_editing.view_mass_editing_wizard_form +msgid "Cancel" +msgstr "" + +#. module: mass_editing #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line__create_uid #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_wizard__create_uid msgid "Created by" msgstr "Creado por" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__create_date #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line__create_date #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_wizard__create_date msgid "Created on" msgstr "Creado en" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__display_name +#: model:ir.model.fields,field_description:mass_editing.field_ir_actions_server__display_name #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line__display_name #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_wizard__display_name msgid "Display Name" msgstr "Nombre desplegado" -#. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__domain -msgid "Domain" -msgstr "" - #. module: mass_editing #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line__field_id msgid "Field" msgstr "" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__id +#: model_terms:ir.ui.view,arch_db:mass_editing.view_server_action_form +msgid "Fields" +msgstr "" + +#. module: mass_editing +#: model:ir.model.fields,field_description:mass_editing.field_ir_actions_server__id #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line__id #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_wizard__id msgid "ID" msgstr "ID" #. module: mass_editing -#: model:ir.model.fields,help:mass_editing.field_mass_editing__message +#: model:ir.model.fields,help:mass_editing.field_ir_actions_server__mass_edit_message +#: model:ir.model.fields,help:mass_editing.field_ir_cron__mass_edit_message msgid "If set, this message will be displayed in the wizard." msgstr "" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing____last_update +#: model:ir.model.fields,field_description:mass_editing.field_ir_actions_server____last_update #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line____last_update #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_wizard____last_update msgid "Last Modified on" msgstr "Ultima modificacion realizada" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__write_uid #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line__write_uid #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_wizard__write_uid msgid "Last Updated by" msgstr "Ultima actualización por" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__write_date #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line__write_date #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_wizard__write_date msgid "Last Updated on" msgstr "Ultima actualización en" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__line_ids -msgid "Line" +#: model:ir.actions.server,name:mass_editing.mass_editing_partner +#: model:ir.actions.server,name:mass_editing.mass_editing_partner_title +#: model:ir.actions.server,name:mass_editing.mass_editing_user +msgid "Mass Edit" msgstr "" #. module: mass_editing -#: model:ir.actions.act_window,name:mass_editing.action_mass_editing -#: model:ir.model,name:mass_editing.model_mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line__mass_editing_id -#: model:ir.ui.menu,name:mass_editing.menu_mass_editing -msgid "Mass Editing" +#: model:ir.model.fields,field_description:mass_editing.field_ir_actions_server__mass_edit_line_ids +#: model:ir.model.fields,field_description:mass_editing.field_ir_cron__mass_edit_line_ids +msgid "Mass Edit Line" +msgstr "" + +#. module: mass_editing +#: model:ir.model.fields.selection,name:mass_editing.selection__ir_actions_server__state__mass_edit +msgid "Mass Edit Records" msgstr "" #. module: mass_editing @@ -149,21 +157,34 @@ msgid "Mass Editing Line" msgstr "" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__message +#: code:addons/mass_editing/models/mass_editing_line.py:0 +#, python-format +msgid "Mass edit fields should belong to the server action model." +msgstr "" + +#. module: mass_editing +#: model:ir.model.fields,field_description:mass_editing.field_ir_actions_server__mass_edit_message +#: model:ir.model.fields,field_description:mass_editing.field_ir_cron__mass_edit_message #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_wizard__message +#: model_terms:ir.ui.view,arch_db:mass_editing.view_server_action_form msgid "Message" msgstr "" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__model_id #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line__model_id msgid "Model" msgstr "Modelo" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__name -msgid "Name" -msgstr "Nombre" +#: model:ir.model.fields,help:mass_editing.field_mass_editing_line__model_id +msgid "Model on which the server action runs." +msgstr "" + +#. module: mass_editing +#: code:addons/mass_editing/wizard/mass_editing_wizard.py:0 +#, python-format +msgid "None of the %d record(s) you have selected can be processed." +msgstr "" #. module: mass_editing #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_wizard__operation_description_danger @@ -201,6 +222,12 @@ msgstr "" msgid "Sequence" msgstr "" +#. module: mass_editing +#: model:ir.model,name:mass_editing.model_ir_actions_server +#: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line__server_action_id +msgid "Server Action" +msgstr "" + #. module: mass_editing #: code:addons/mass_editing/wizard/mass_editing_wizard.py:0 #, python-format @@ -208,8 +235,24 @@ msgid "Set" msgstr "" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__ref_ir_act_window_id -msgid "Sidebar Action" +#: code:addons/mass_editing/wizard/mass_editing_wizard.py:0 +#, python-format +msgid "The treatment will be processed on the %d selected record(s)." +msgstr "" + +#. module: mass_editing +#: model:ir.model.fields,help:mass_editing.field_ir_actions_server__state +#: model:ir.model.fields,help:mass_editing.field_ir_cron__state +msgid "" +"Type of server action. The following values are available:\n" +"- 'Execute Python Code': a block of python code that will be executed\n" +"- 'Create': create a new record with new values\n" +"- 'Update a Record': update the values of a record\n" +"- 'Execute several actions': define an action that triggers several other " +"server actions\n" +"- 'Send Email': automatically send an email (Discuss)\n" +"- 'Add Followers': add followers to a record (Discuss)\n" +"- 'Create Next Activity': create an activity (Discuss)" msgstr "" #. module: mass_editing @@ -221,3 +264,14 @@ msgstr "" #: model:ir.model,name:mass_editing.model_mass_editing_wizard msgid "Wizard for mass edition" msgstr "" + +#. module: mass_editing +#: code:addons/mass_editing/wizard/mass_editing_wizard.py:0 +#, python-format +msgid "" +"You have selected %d record(s) that can not be processed.\n" +"Only %d record(s) will be processed." +msgstr "" + +#~ msgid "Name" +#~ msgstr "Nombre" diff --git a/mass_editing/i18n/es_PE.po b/mass_editing/i18n/es_PE.po index d761847..e259347 100644 --- a/mass_editing/i18n/es_PE.po +++ b/mass_editing/i18n/es_PE.po @@ -20,7 +20,7 @@ msgstr "" "Plural-Forms: nplurals=2; plural=(n != 1);\n" #. module: mass_editing -#: model_terms:ir.ui.view,arch_db:mass_editing.view_mass_editing_form +#: model_terms:ir.ui.view,arch_db:mass_editing.view_server_action_form msgid "" "WARNING: Take into account that adding a field with a domain, and not " "including the fields of such domain in this operation definition, will lead " @@ -28,8 +28,9 @@ msgid "" msgstr "" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__action_name -msgid "Action Name" +#: model:ir.model.fields,field_description:mass_editing.field_ir_actions_server__state +#: model:ir.model.fields,field_description:mass_editing.field_ir_cron__state +msgid "Action To Do" msgstr "" #. module: mass_editing @@ -41,14 +42,13 @@ msgstr "" #. module: mass_editing #: model:ir.model.fields,help:mass_editing.field_mass_editing_line__widget_option msgid "" -"Add widget text that will be used to display the field in the wizard. " -"Example :\n" -"'many2many_tags', 'selection'" +"Add widget text that will be used to display the field in the wizard.\n" +"Example: 'many2many_tags', 'selection', 'image'" msgstr "" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__groups_id -msgid "Allowed Groups" +#: model_terms:ir.ui.view,arch_db:mass_editing.view_mass_editing_wizard_form +msgid "Apply" msgstr "" #. module: mass_editing @@ -62,85 +62,93 @@ msgid "Apply domain" msgstr "" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__apply_domain_in_lines +#: model:ir.model.fields,field_description:mass_editing.field_ir_actions_server__mass_edit_apply_domain_in_lines +#: model:ir.model.fields,field_description:mass_editing.field_ir_cron__mass_edit_apply_domain_in_lines msgid "Apply domain in lines" msgstr "" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__create_uid +#: model_terms:ir.ui.view,arch_db:mass_editing.view_mass_editing_wizard_form +msgid "Cancel" +msgstr "" + +#. module: mass_editing #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line__create_uid #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_wizard__create_uid msgid "Created by" msgstr "Creado por" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__create_date #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line__create_date #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_wizard__create_date msgid "Created on" msgstr "Creado en" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__display_name +#: model:ir.model.fields,field_description:mass_editing.field_ir_actions_server__display_name #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line__display_name #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_wizard__display_name msgid "Display Name" msgstr "Nombre a Mostrar" -#. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__domain -msgid "Domain" -msgstr "" - #. module: mass_editing #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line__field_id msgid "Field" msgstr "" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__id +#: model_terms:ir.ui.view,arch_db:mass_editing.view_server_action_form +msgid "Fields" +msgstr "" + +#. module: mass_editing +#: model:ir.model.fields,field_description:mass_editing.field_ir_actions_server__id #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line__id #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_wizard__id msgid "ID" msgstr "ID" #. module: mass_editing -#: model:ir.model.fields,help:mass_editing.field_mass_editing__message +#: model:ir.model.fields,help:mass_editing.field_ir_actions_server__mass_edit_message +#: model:ir.model.fields,help:mass_editing.field_ir_cron__mass_edit_message msgid "If set, this message will be displayed in the wizard." msgstr "" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing____last_update +#: model:ir.model.fields,field_description:mass_editing.field_ir_actions_server____last_update #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line____last_update #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_wizard____last_update msgid "Last Modified on" msgstr "Ultima Modificación en" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__write_uid #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line__write_uid #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_wizard__write_uid msgid "Last Updated by" msgstr "Actualizado última vez por" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__write_date #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line__write_date #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_wizard__write_date msgid "Last Updated on" msgstr "Ultima Actualización" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__line_ids -msgid "Line" +#: model:ir.actions.server,name:mass_editing.mass_editing_partner +#: model:ir.actions.server,name:mass_editing.mass_editing_partner_title +#: model:ir.actions.server,name:mass_editing.mass_editing_user +msgid "Mass Edit" msgstr "" #. module: mass_editing -#: model:ir.actions.act_window,name:mass_editing.action_mass_editing -#: model:ir.model,name:mass_editing.model_mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line__mass_editing_id -#: model:ir.ui.menu,name:mass_editing.menu_mass_editing -msgid "Mass Editing" +#: model:ir.model.fields,field_description:mass_editing.field_ir_actions_server__mass_edit_line_ids +#: model:ir.model.fields,field_description:mass_editing.field_ir_cron__mass_edit_line_ids +msgid "Mass Edit Line" +msgstr "" + +#. module: mass_editing +#: model:ir.model.fields.selection,name:mass_editing.selection__ir_actions_server__state__mass_edit +msgid "Mass Edit Records" msgstr "" #. module: mass_editing @@ -149,21 +157,34 @@ msgid "Mass Editing Line" msgstr "" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__message +#: code:addons/mass_editing/models/mass_editing_line.py:0 +#, python-format +msgid "Mass edit fields should belong to the server action model." +msgstr "" + +#. module: mass_editing +#: model:ir.model.fields,field_description:mass_editing.field_ir_actions_server__mass_edit_message +#: model:ir.model.fields,field_description:mass_editing.field_ir_cron__mass_edit_message #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_wizard__message +#: model_terms:ir.ui.view,arch_db:mass_editing.view_server_action_form msgid "Message" msgstr "" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__model_id #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line__model_id msgid "Model" msgstr "" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__name -msgid "Name" -msgstr "Nombre" +#: model:ir.model.fields,help:mass_editing.field_mass_editing_line__model_id +msgid "Model on which the server action runs." +msgstr "" + +#. module: mass_editing +#: code:addons/mass_editing/wizard/mass_editing_wizard.py:0 +#, python-format +msgid "None of the %d record(s) you have selected can be processed." +msgstr "" #. module: mass_editing #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_wizard__operation_description_danger @@ -201,6 +222,12 @@ msgstr "" msgid "Sequence" msgstr "" +#. module: mass_editing +#: model:ir.model,name:mass_editing.model_ir_actions_server +#: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line__server_action_id +msgid "Server Action" +msgstr "" + #. module: mass_editing #: code:addons/mass_editing/wizard/mass_editing_wizard.py:0 #, python-format @@ -208,8 +235,24 @@ msgid "Set" msgstr "" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__ref_ir_act_window_id -msgid "Sidebar Action" +#: code:addons/mass_editing/wizard/mass_editing_wizard.py:0 +#, python-format +msgid "The treatment will be processed on the %d selected record(s)." +msgstr "" + +#. module: mass_editing +#: model:ir.model.fields,help:mass_editing.field_ir_actions_server__state +#: model:ir.model.fields,help:mass_editing.field_ir_cron__state +msgid "" +"Type of server action. The following values are available:\n" +"- 'Execute Python Code': a block of python code that will be executed\n" +"- 'Create': create a new record with new values\n" +"- 'Update a Record': update the values of a record\n" +"- 'Execute several actions': define an action that triggers several other " +"server actions\n" +"- 'Send Email': automatically send an email (Discuss)\n" +"- 'Add Followers': add followers to a record (Discuss)\n" +"- 'Create Next Activity': create an activity (Discuss)" msgstr "" #. module: mass_editing @@ -221,3 +264,14 @@ msgstr "" #: model:ir.model,name:mass_editing.model_mass_editing_wizard msgid "Wizard for mass edition" msgstr "" + +#. module: mass_editing +#: code:addons/mass_editing/wizard/mass_editing_wizard.py:0 +#, python-format +msgid "" +"You have selected %d record(s) that can not be processed.\n" +"Only %d record(s) will be processed." +msgstr "" + +#~ msgid "Name" +#~ msgstr "Nombre" diff --git a/mass_editing/i18n/es_PY.po b/mass_editing/i18n/es_PY.po index e05691d..fa9a90f 100644 --- a/mass_editing/i18n/es_PY.po +++ b/mass_editing/i18n/es_PY.po @@ -20,7 +20,7 @@ msgstr "" "Plural-Forms: nplurals=2; plural=(n != 1);\n" #. module: mass_editing -#: model_terms:ir.ui.view,arch_db:mass_editing.view_mass_editing_form +#: model_terms:ir.ui.view,arch_db:mass_editing.view_server_action_form msgid "" "WARNING: Take into account that adding a field with a domain, and not " "including the fields of such domain in this operation definition, will lead " @@ -28,8 +28,9 @@ msgid "" msgstr "" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__action_name -msgid "Action Name" +#: model:ir.model.fields,field_description:mass_editing.field_ir_actions_server__state +#: model:ir.model.fields,field_description:mass_editing.field_ir_cron__state +msgid "Action To Do" msgstr "" #. module: mass_editing @@ -41,14 +42,13 @@ msgstr "" #. module: mass_editing #: model:ir.model.fields,help:mass_editing.field_mass_editing_line__widget_option msgid "" -"Add widget text that will be used to display the field in the wizard. " -"Example :\n" -"'many2many_tags', 'selection'" +"Add widget text that will be used to display the field in the wizard.\n" +"Example: 'many2many_tags', 'selection', 'image'" msgstr "" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__groups_id -msgid "Allowed Groups" +#: model_terms:ir.ui.view,arch_db:mass_editing.view_mass_editing_wizard_form +msgid "Apply" msgstr "" #. module: mass_editing @@ -62,85 +62,93 @@ msgid "Apply domain" msgstr "" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__apply_domain_in_lines +#: model:ir.model.fields,field_description:mass_editing.field_ir_actions_server__mass_edit_apply_domain_in_lines +#: model:ir.model.fields,field_description:mass_editing.field_ir_cron__mass_edit_apply_domain_in_lines msgid "Apply domain in lines" msgstr "" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__create_uid +#: model_terms:ir.ui.view,arch_db:mass_editing.view_mass_editing_wizard_form +msgid "Cancel" +msgstr "" + +#. module: mass_editing #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line__create_uid #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_wizard__create_uid msgid "Created by" msgstr "Creado por" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__create_date #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line__create_date #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_wizard__create_date msgid "Created on" msgstr "Creado en" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__display_name +#: model:ir.model.fields,field_description:mass_editing.field_ir_actions_server__display_name #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line__display_name #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_wizard__display_name msgid "Display Name" msgstr "" -#. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__domain -msgid "Domain" -msgstr "" - #. module: mass_editing #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line__field_id msgid "Field" msgstr "" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__id +#: model_terms:ir.ui.view,arch_db:mass_editing.view_server_action_form +msgid "Fields" +msgstr "" + +#. module: mass_editing +#: model:ir.model.fields,field_description:mass_editing.field_ir_actions_server__id #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line__id #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_wizard__id msgid "ID" msgstr "ID" #. module: mass_editing -#: model:ir.model.fields,help:mass_editing.field_mass_editing__message +#: model:ir.model.fields,help:mass_editing.field_ir_actions_server__mass_edit_message +#: model:ir.model.fields,help:mass_editing.field_ir_cron__mass_edit_message msgid "If set, this message will be displayed in the wizard." msgstr "" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing____last_update +#: model:ir.model.fields,field_description:mass_editing.field_ir_actions_server____last_update #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line____last_update #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_wizard____last_update msgid "Last Modified on" msgstr "" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__write_uid #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line__write_uid #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_wizard__write_uid msgid "Last Updated by" msgstr "Ultima actualización por" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__write_date #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line__write_date #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_wizard__write_date msgid "Last Updated on" msgstr "Ultima actualización en" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__line_ids -msgid "Line" +#: model:ir.actions.server,name:mass_editing.mass_editing_partner +#: model:ir.actions.server,name:mass_editing.mass_editing_partner_title +#: model:ir.actions.server,name:mass_editing.mass_editing_user +msgid "Mass Edit" msgstr "" #. module: mass_editing -#: model:ir.actions.act_window,name:mass_editing.action_mass_editing -#: model:ir.model,name:mass_editing.model_mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line__mass_editing_id -#: model:ir.ui.menu,name:mass_editing.menu_mass_editing -msgid "Mass Editing" +#: model:ir.model.fields,field_description:mass_editing.field_ir_actions_server__mass_edit_line_ids +#: model:ir.model.fields,field_description:mass_editing.field_ir_cron__mass_edit_line_ids +msgid "Mass Edit Line" +msgstr "" + +#. module: mass_editing +#: model:ir.model.fields.selection,name:mass_editing.selection__ir_actions_server__state__mass_edit +msgid "Mass Edit Records" msgstr "" #. module: mass_editing @@ -149,21 +157,34 @@ msgid "Mass Editing Line" msgstr "" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__message +#: code:addons/mass_editing/models/mass_editing_line.py:0 +#, python-format +msgid "Mass edit fields should belong to the server action model." +msgstr "" + +#. module: mass_editing +#: model:ir.model.fields,field_description:mass_editing.field_ir_actions_server__mass_edit_message +#: model:ir.model.fields,field_description:mass_editing.field_ir_cron__mass_edit_message #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_wizard__message +#: model_terms:ir.ui.view,arch_db:mass_editing.view_server_action_form msgid "Message" msgstr "" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__model_id #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line__model_id msgid "Model" msgstr "" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__name -msgid "Name" -msgstr "Nombre" +#: model:ir.model.fields,help:mass_editing.field_mass_editing_line__model_id +msgid "Model on which the server action runs." +msgstr "" + +#. module: mass_editing +#: code:addons/mass_editing/wizard/mass_editing_wizard.py:0 +#, python-format +msgid "None of the %d record(s) you have selected can be processed." +msgstr "" #. module: mass_editing #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_wizard__operation_description_danger @@ -201,6 +222,12 @@ msgstr "" msgid "Sequence" msgstr "" +#. module: mass_editing +#: model:ir.model,name:mass_editing.model_ir_actions_server +#: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line__server_action_id +msgid "Server Action" +msgstr "" + #. module: mass_editing #: code:addons/mass_editing/wizard/mass_editing_wizard.py:0 #, python-format @@ -208,8 +235,24 @@ msgid "Set" msgstr "" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__ref_ir_act_window_id -msgid "Sidebar Action" +#: code:addons/mass_editing/wizard/mass_editing_wizard.py:0 +#, python-format +msgid "The treatment will be processed on the %d selected record(s)." +msgstr "" + +#. module: mass_editing +#: model:ir.model.fields,help:mass_editing.field_ir_actions_server__state +#: model:ir.model.fields,help:mass_editing.field_ir_cron__state +msgid "" +"Type of server action. The following values are available:\n" +"- 'Execute Python Code': a block of python code that will be executed\n" +"- 'Create': create a new record with new values\n" +"- 'Update a Record': update the values of a record\n" +"- 'Execute several actions': define an action that triggers several other " +"server actions\n" +"- 'Send Email': automatically send an email (Discuss)\n" +"- 'Add Followers': add followers to a record (Discuss)\n" +"- 'Create Next Activity': create an activity (Discuss)" msgstr "" #. module: mass_editing @@ -221,3 +264,14 @@ msgstr "" #: model:ir.model,name:mass_editing.model_mass_editing_wizard msgid "Wizard for mass edition" msgstr "" + +#. module: mass_editing +#: code:addons/mass_editing/wizard/mass_editing_wizard.py:0 +#, python-format +msgid "" +"You have selected %d record(s) that can not be processed.\n" +"Only %d record(s) will be processed." +msgstr "" + +#~ msgid "Name" +#~ msgstr "Nombre" diff --git a/mass_editing/i18n/es_VE.po b/mass_editing/i18n/es_VE.po index a82058c..e58b582 100644 --- a/mass_editing/i18n/es_VE.po +++ b/mass_editing/i18n/es_VE.po @@ -20,7 +20,7 @@ msgstr "" "Plural-Forms: nplurals=2; plural=(n != 1);\n" #. module: mass_editing -#: model_terms:ir.ui.view,arch_db:mass_editing.view_mass_editing_form +#: model_terms:ir.ui.view,arch_db:mass_editing.view_server_action_form msgid "" "WARNING: Take into account that adding a field with a domain, and not " "including the fields of such domain in this operation definition, will lead " @@ -28,8 +28,9 @@ msgid "" msgstr "" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__action_name -msgid "Action Name" +#: model:ir.model.fields,field_description:mass_editing.field_ir_actions_server__state +#: model:ir.model.fields,field_description:mass_editing.field_ir_cron__state +msgid "Action To Do" msgstr "" #. module: mass_editing @@ -41,14 +42,13 @@ msgstr "" #. module: mass_editing #: model:ir.model.fields,help:mass_editing.field_mass_editing_line__widget_option msgid "" -"Add widget text that will be used to display the field in the wizard. " -"Example :\n" -"'many2many_tags', 'selection'" +"Add widget text that will be used to display the field in the wizard.\n" +"Example: 'many2many_tags', 'selection', 'image'" msgstr "" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__groups_id -msgid "Allowed Groups" +#: model_terms:ir.ui.view,arch_db:mass_editing.view_mass_editing_wizard_form +msgid "Apply" msgstr "" #. module: mass_editing @@ -62,85 +62,93 @@ msgid "Apply domain" msgstr "" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__apply_domain_in_lines +#: model:ir.model.fields,field_description:mass_editing.field_ir_actions_server__mass_edit_apply_domain_in_lines +#: model:ir.model.fields,field_description:mass_editing.field_ir_cron__mass_edit_apply_domain_in_lines msgid "Apply domain in lines" msgstr "" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__create_uid +#: model_terms:ir.ui.view,arch_db:mass_editing.view_mass_editing_wizard_form +msgid "Cancel" +msgstr "" + +#. module: mass_editing #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line__create_uid #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_wizard__create_uid msgid "Created by" msgstr "Creado por" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__create_date #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line__create_date #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_wizard__create_date msgid "Created on" msgstr "Creado en" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__display_name +#: model:ir.model.fields,field_description:mass_editing.field_ir_actions_server__display_name #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line__display_name #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_wizard__display_name msgid "Display Name" msgstr "Mostrar nombre" -#. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__domain -msgid "Domain" -msgstr "" - #. module: mass_editing #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line__field_id msgid "Field" msgstr "" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__id +#: model_terms:ir.ui.view,arch_db:mass_editing.view_server_action_form +msgid "Fields" +msgstr "" + +#. module: mass_editing +#: model:ir.model.fields,field_description:mass_editing.field_ir_actions_server__id #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line__id #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_wizard__id msgid "ID" msgstr "ID" #. module: mass_editing -#: model:ir.model.fields,help:mass_editing.field_mass_editing__message +#: model:ir.model.fields,help:mass_editing.field_ir_actions_server__mass_edit_message +#: model:ir.model.fields,help:mass_editing.field_ir_cron__mass_edit_message msgid "If set, this message will be displayed in the wizard." msgstr "" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing____last_update +#: model:ir.model.fields,field_description:mass_editing.field_ir_actions_server____last_update #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line____last_update #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_wizard____last_update msgid "Last Modified on" msgstr "Modificada por última vez" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__write_uid #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line__write_uid #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_wizard__write_uid msgid "Last Updated by" msgstr "Ultima actualización por" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__write_date #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line__write_date #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_wizard__write_date msgid "Last Updated on" msgstr "Ultima actualización en" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__line_ids -msgid "Line" +#: model:ir.actions.server,name:mass_editing.mass_editing_partner +#: model:ir.actions.server,name:mass_editing.mass_editing_partner_title +#: model:ir.actions.server,name:mass_editing.mass_editing_user +msgid "Mass Edit" msgstr "" #. module: mass_editing -#: model:ir.actions.act_window,name:mass_editing.action_mass_editing -#: model:ir.model,name:mass_editing.model_mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line__mass_editing_id -#: model:ir.ui.menu,name:mass_editing.menu_mass_editing -msgid "Mass Editing" +#: model:ir.model.fields,field_description:mass_editing.field_ir_actions_server__mass_edit_line_ids +#: model:ir.model.fields,field_description:mass_editing.field_ir_cron__mass_edit_line_ids +msgid "Mass Edit Line" +msgstr "" + +#. module: mass_editing +#: model:ir.model.fields.selection,name:mass_editing.selection__ir_actions_server__state__mass_edit +msgid "Mass Edit Records" msgstr "" #. module: mass_editing @@ -149,21 +157,34 @@ msgid "Mass Editing Line" msgstr "" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__message +#: code:addons/mass_editing/models/mass_editing_line.py:0 +#, python-format +msgid "Mass edit fields should belong to the server action model." +msgstr "" + +#. module: mass_editing +#: model:ir.model.fields,field_description:mass_editing.field_ir_actions_server__mass_edit_message +#: model:ir.model.fields,field_description:mass_editing.field_ir_cron__mass_edit_message #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_wizard__message +#: model_terms:ir.ui.view,arch_db:mass_editing.view_server_action_form msgid "Message" msgstr "" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__model_id #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line__model_id msgid "Model" msgstr "" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__name -msgid "Name" -msgstr "Nombre" +#: model:ir.model.fields,help:mass_editing.field_mass_editing_line__model_id +msgid "Model on which the server action runs." +msgstr "" + +#. module: mass_editing +#: code:addons/mass_editing/wizard/mass_editing_wizard.py:0 +#, python-format +msgid "None of the %d record(s) you have selected can be processed." +msgstr "" #. module: mass_editing #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_wizard__operation_description_danger @@ -201,6 +222,12 @@ msgstr "" msgid "Sequence" msgstr "" +#. module: mass_editing +#: model:ir.model,name:mass_editing.model_ir_actions_server +#: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line__server_action_id +msgid "Server Action" +msgstr "" + #. module: mass_editing #: code:addons/mass_editing/wizard/mass_editing_wizard.py:0 #, python-format @@ -208,8 +235,24 @@ msgid "Set" msgstr "" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__ref_ir_act_window_id -msgid "Sidebar Action" +#: code:addons/mass_editing/wizard/mass_editing_wizard.py:0 +#, python-format +msgid "The treatment will be processed on the %d selected record(s)." +msgstr "" + +#. module: mass_editing +#: model:ir.model.fields,help:mass_editing.field_ir_actions_server__state +#: model:ir.model.fields,help:mass_editing.field_ir_cron__state +msgid "" +"Type of server action. The following values are available:\n" +"- 'Execute Python Code': a block of python code that will be executed\n" +"- 'Create': create a new record with new values\n" +"- 'Update a Record': update the values of a record\n" +"- 'Execute several actions': define an action that triggers several other " +"server actions\n" +"- 'Send Email': automatically send an email (Discuss)\n" +"- 'Add Followers': add followers to a record (Discuss)\n" +"- 'Create Next Activity': create an activity (Discuss)" msgstr "" #. module: mass_editing @@ -221,3 +264,14 @@ msgstr "" #: model:ir.model,name:mass_editing.model_mass_editing_wizard msgid "Wizard for mass edition" msgstr "" + +#. module: mass_editing +#: code:addons/mass_editing/wizard/mass_editing_wizard.py:0 +#, python-format +msgid "" +"You have selected %d record(s) that can not be processed.\n" +"Only %d record(s) will be processed." +msgstr "" + +#~ msgid "Name" +#~ msgstr "Nombre" diff --git a/mass_editing/i18n/et.po b/mass_editing/i18n/et.po index 2ab6511..a98078c 100644 --- a/mass_editing/i18n/et.po +++ b/mass_editing/i18n/et.po @@ -19,7 +19,7 @@ msgstr "" "Plural-Forms: nplurals=2; plural=(n != 1);\n" #. module: mass_editing -#: model_terms:ir.ui.view,arch_db:mass_editing.view_mass_editing_form +#: model_terms:ir.ui.view,arch_db:mass_editing.view_server_action_form msgid "" "WARNING: Take into account that adding a field with a domain, and not " "including the fields of such domain in this operation definition, will lead " @@ -27,8 +27,9 @@ msgid "" msgstr "" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__action_name -msgid "Action Name" +#: model:ir.model.fields,field_description:mass_editing.field_ir_actions_server__state +#: model:ir.model.fields,field_description:mass_editing.field_ir_cron__state +msgid "Action To Do" msgstr "" #. module: mass_editing @@ -40,14 +41,13 @@ msgstr "" #. module: mass_editing #: model:ir.model.fields,help:mass_editing.field_mass_editing_line__widget_option msgid "" -"Add widget text that will be used to display the field in the wizard. " -"Example :\n" -"'many2many_tags', 'selection'" +"Add widget text that will be used to display the field in the wizard.\n" +"Example: 'many2many_tags', 'selection', 'image'" msgstr "" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__groups_id -msgid "Allowed Groups" +#: model_terms:ir.ui.view,arch_db:mass_editing.view_mass_editing_wizard_form +msgid "Apply" msgstr "" #. module: mass_editing @@ -61,85 +61,93 @@ msgid "Apply domain" msgstr "" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__apply_domain_in_lines +#: model:ir.model.fields,field_description:mass_editing.field_ir_actions_server__mass_edit_apply_domain_in_lines +#: model:ir.model.fields,field_description:mass_editing.field_ir_cron__mass_edit_apply_domain_in_lines msgid "Apply domain in lines" msgstr "" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__create_uid +#: model_terms:ir.ui.view,arch_db:mass_editing.view_mass_editing_wizard_form +msgid "Cancel" +msgstr "" + +#. module: mass_editing #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line__create_uid #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_wizard__create_uid msgid "Created by" msgstr "Loonud" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__create_date #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line__create_date #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_wizard__create_date msgid "Created on" msgstr "Loodud" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__display_name +#: model:ir.model.fields,field_description:mass_editing.field_ir_actions_server__display_name #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line__display_name #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_wizard__display_name msgid "Display Name" msgstr "Näidatav nimi" -#. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__domain -msgid "Domain" -msgstr "" - #. module: mass_editing #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line__field_id msgid "Field" msgstr "" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__id +#: model_terms:ir.ui.view,arch_db:mass_editing.view_server_action_form +msgid "Fields" +msgstr "" + +#. module: mass_editing +#: model:ir.model.fields,field_description:mass_editing.field_ir_actions_server__id #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line__id #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_wizard__id msgid "ID" msgstr "ID" #. module: mass_editing -#: model:ir.model.fields,help:mass_editing.field_mass_editing__message +#: model:ir.model.fields,help:mass_editing.field_ir_actions_server__mass_edit_message +#: model:ir.model.fields,help:mass_editing.field_ir_cron__mass_edit_message msgid "If set, this message will be displayed in the wizard." msgstr "" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing____last_update +#: model:ir.model.fields,field_description:mass_editing.field_ir_actions_server____last_update #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line____last_update #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_wizard____last_update msgid "Last Modified on" msgstr "Viimati muudetud" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__write_uid #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line__write_uid #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_wizard__write_uid msgid "Last Updated by" msgstr "Viimati uuendatud" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__write_date #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line__write_date #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_wizard__write_date msgid "Last Updated on" msgstr "Viimati uuendatud" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__line_ids -msgid "Line" +#: model:ir.actions.server,name:mass_editing.mass_editing_partner +#: model:ir.actions.server,name:mass_editing.mass_editing_partner_title +#: model:ir.actions.server,name:mass_editing.mass_editing_user +msgid "Mass Edit" msgstr "" #. module: mass_editing -#: model:ir.actions.act_window,name:mass_editing.action_mass_editing -#: model:ir.model,name:mass_editing.model_mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line__mass_editing_id -#: model:ir.ui.menu,name:mass_editing.menu_mass_editing -msgid "Mass Editing" +#: model:ir.model.fields,field_description:mass_editing.field_ir_actions_server__mass_edit_line_ids +#: model:ir.model.fields,field_description:mass_editing.field_ir_cron__mass_edit_line_ids +msgid "Mass Edit Line" +msgstr "" + +#. module: mass_editing +#: model:ir.model.fields.selection,name:mass_editing.selection__ir_actions_server__state__mass_edit +msgid "Mass Edit Records" msgstr "" #. module: mass_editing @@ -148,21 +156,34 @@ msgid "Mass Editing Line" msgstr "" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__message +#: code:addons/mass_editing/models/mass_editing_line.py:0 +#, python-format +msgid "Mass edit fields should belong to the server action model." +msgstr "" + +#. module: mass_editing +#: model:ir.model.fields,field_description:mass_editing.field_ir_actions_server__mass_edit_message +#: model:ir.model.fields,field_description:mass_editing.field_ir_cron__mass_edit_message #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_wizard__message +#: model_terms:ir.ui.view,arch_db:mass_editing.view_server_action_form msgid "Message" msgstr "" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__model_id #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line__model_id msgid "Model" msgstr "" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__name -msgid "Name" -msgstr "Nimi" +#: model:ir.model.fields,help:mass_editing.field_mass_editing_line__model_id +msgid "Model on which the server action runs." +msgstr "" + +#. module: mass_editing +#: code:addons/mass_editing/wizard/mass_editing_wizard.py:0 +#, python-format +msgid "None of the %d record(s) you have selected can be processed." +msgstr "" #. module: mass_editing #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_wizard__operation_description_danger @@ -200,6 +221,12 @@ msgstr "" msgid "Sequence" msgstr "" +#. module: mass_editing +#: model:ir.model,name:mass_editing.model_ir_actions_server +#: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line__server_action_id +msgid "Server Action" +msgstr "" + #. module: mass_editing #: code:addons/mass_editing/wizard/mass_editing_wizard.py:0 #, python-format @@ -207,8 +234,24 @@ msgid "Set" msgstr "" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__ref_ir_act_window_id -msgid "Sidebar Action" +#: code:addons/mass_editing/wizard/mass_editing_wizard.py:0 +#, python-format +msgid "The treatment will be processed on the %d selected record(s)." +msgstr "" + +#. module: mass_editing +#: model:ir.model.fields,help:mass_editing.field_ir_actions_server__state +#: model:ir.model.fields,help:mass_editing.field_ir_cron__state +msgid "" +"Type of server action. The following values are available:\n" +"- 'Execute Python Code': a block of python code that will be executed\n" +"- 'Create': create a new record with new values\n" +"- 'Update a Record': update the values of a record\n" +"- 'Execute several actions': define an action that triggers several other " +"server actions\n" +"- 'Send Email': automatically send an email (Discuss)\n" +"- 'Add Followers': add followers to a record (Discuss)\n" +"- 'Create Next Activity': create an activity (Discuss)" msgstr "" #. module: mass_editing @@ -220,3 +263,14 @@ msgstr "" #: model:ir.model,name:mass_editing.model_mass_editing_wizard msgid "Wizard for mass edition" msgstr "" + +#. module: mass_editing +#: code:addons/mass_editing/wizard/mass_editing_wizard.py:0 +#, python-format +msgid "" +"You have selected %d record(s) that can not be processed.\n" +"Only %d record(s) will be processed." +msgstr "" + +#~ msgid "Name" +#~ msgstr "Nimi" diff --git a/mass_editing/i18n/eu.po b/mass_editing/i18n/eu.po index a764cb5..8e01ff0 100644 --- a/mass_editing/i18n/eu.po +++ b/mass_editing/i18n/eu.po @@ -19,7 +19,7 @@ msgstr "" "Plural-Forms: nplurals=2; plural=(n != 1);\n" #. module: mass_editing -#: model_terms:ir.ui.view,arch_db:mass_editing.view_mass_editing_form +#: model_terms:ir.ui.view,arch_db:mass_editing.view_server_action_form msgid "" "WARNING: Take into account that adding a field with a domain, and not " "including the fields of such domain in this operation definition, will lead " @@ -27,8 +27,9 @@ msgid "" msgstr "" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__action_name -msgid "Action Name" +#: model:ir.model.fields,field_description:mass_editing.field_ir_actions_server__state +#: model:ir.model.fields,field_description:mass_editing.field_ir_cron__state +msgid "Action To Do" msgstr "" #. module: mass_editing @@ -40,14 +41,13 @@ msgstr "" #. module: mass_editing #: model:ir.model.fields,help:mass_editing.field_mass_editing_line__widget_option msgid "" -"Add widget text that will be used to display the field in the wizard. " -"Example :\n" -"'many2many_tags', 'selection'" +"Add widget text that will be used to display the field in the wizard.\n" +"Example: 'many2many_tags', 'selection', 'image'" msgstr "" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__groups_id -msgid "Allowed Groups" +#: model_terms:ir.ui.view,arch_db:mass_editing.view_mass_editing_wizard_form +msgid "Apply" msgstr "" #. module: mass_editing @@ -61,85 +61,93 @@ msgid "Apply domain" msgstr "" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__apply_domain_in_lines +#: model:ir.model.fields,field_description:mass_editing.field_ir_actions_server__mass_edit_apply_domain_in_lines +#: model:ir.model.fields,field_description:mass_editing.field_ir_cron__mass_edit_apply_domain_in_lines msgid "Apply domain in lines" msgstr "" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__create_uid +#: model_terms:ir.ui.view,arch_db:mass_editing.view_mass_editing_wizard_form +msgid "Cancel" +msgstr "" + +#. module: mass_editing #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line__create_uid #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_wizard__create_uid msgid "Created by" msgstr "Nork sortua" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__create_date #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line__create_date #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_wizard__create_date msgid "Created on" msgstr "Created on" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__display_name +#: model:ir.model.fields,field_description:mass_editing.field_ir_actions_server__display_name #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line__display_name #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_wizard__display_name msgid "Display Name" msgstr "Izena erakutsi" -#. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__domain -msgid "Domain" -msgstr "" - #. module: mass_editing #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line__field_id msgid "Field" msgstr "" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__id +#: model_terms:ir.ui.view,arch_db:mass_editing.view_server_action_form +msgid "Fields" +msgstr "" + +#. module: mass_editing +#: model:ir.model.fields,field_description:mass_editing.field_ir_actions_server__id #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line__id #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_wizard__id msgid "ID" msgstr "ID" #. module: mass_editing -#: model:ir.model.fields,help:mass_editing.field_mass_editing__message +#: model:ir.model.fields,help:mass_editing.field_ir_actions_server__mass_edit_message +#: model:ir.model.fields,help:mass_editing.field_ir_cron__mass_edit_message msgid "If set, this message will be displayed in the wizard." msgstr "" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing____last_update +#: model:ir.model.fields,field_description:mass_editing.field_ir_actions_server____last_update #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line____last_update #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_wizard____last_update msgid "Last Modified on" msgstr "" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__write_uid #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line__write_uid #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_wizard__write_uid msgid "Last Updated by" msgstr "Last Updated by" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__write_date #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line__write_date #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_wizard__write_date msgid "Last Updated on" msgstr "Last Updated on" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__line_ids -msgid "Line" +#: model:ir.actions.server,name:mass_editing.mass_editing_partner +#: model:ir.actions.server,name:mass_editing.mass_editing_partner_title +#: model:ir.actions.server,name:mass_editing.mass_editing_user +msgid "Mass Edit" msgstr "" #. module: mass_editing -#: model:ir.actions.act_window,name:mass_editing.action_mass_editing -#: model:ir.model,name:mass_editing.model_mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line__mass_editing_id -#: model:ir.ui.menu,name:mass_editing.menu_mass_editing -msgid "Mass Editing" +#: model:ir.model.fields,field_description:mass_editing.field_ir_actions_server__mass_edit_line_ids +#: model:ir.model.fields,field_description:mass_editing.field_ir_cron__mass_edit_line_ids +msgid "Mass Edit Line" +msgstr "" + +#. module: mass_editing +#: model:ir.model.fields.selection,name:mass_editing.selection__ir_actions_server__state__mass_edit +msgid "Mass Edit Records" msgstr "" #. module: mass_editing @@ -148,21 +156,34 @@ msgid "Mass Editing Line" msgstr "" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__message +#: code:addons/mass_editing/models/mass_editing_line.py:0 +#, python-format +msgid "Mass edit fields should belong to the server action model." +msgstr "" + +#. module: mass_editing +#: model:ir.model.fields,field_description:mass_editing.field_ir_actions_server__mass_edit_message +#: model:ir.model.fields,field_description:mass_editing.field_ir_cron__mass_edit_message #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_wizard__message +#: model_terms:ir.ui.view,arch_db:mass_editing.view_server_action_form msgid "Message" msgstr "" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__model_id #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line__model_id msgid "Model" msgstr "" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__name -msgid "Name" -msgstr "Izena" +#: model:ir.model.fields,help:mass_editing.field_mass_editing_line__model_id +msgid "Model on which the server action runs." +msgstr "" + +#. module: mass_editing +#: code:addons/mass_editing/wizard/mass_editing_wizard.py:0 +#, python-format +msgid "None of the %d record(s) you have selected can be processed." +msgstr "" #. module: mass_editing #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_wizard__operation_description_danger @@ -200,6 +221,12 @@ msgstr "" msgid "Sequence" msgstr "" +#. module: mass_editing +#: model:ir.model,name:mass_editing.model_ir_actions_server +#: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line__server_action_id +msgid "Server Action" +msgstr "" + #. module: mass_editing #: code:addons/mass_editing/wizard/mass_editing_wizard.py:0 #, python-format @@ -207,8 +234,24 @@ msgid "Set" msgstr "" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__ref_ir_act_window_id -msgid "Sidebar Action" +#: code:addons/mass_editing/wizard/mass_editing_wizard.py:0 +#, python-format +msgid "The treatment will be processed on the %d selected record(s)." +msgstr "" + +#. module: mass_editing +#: model:ir.model.fields,help:mass_editing.field_ir_actions_server__state +#: model:ir.model.fields,help:mass_editing.field_ir_cron__state +msgid "" +"Type of server action. The following values are available:\n" +"- 'Execute Python Code': a block of python code that will be executed\n" +"- 'Create': create a new record with new values\n" +"- 'Update a Record': update the values of a record\n" +"- 'Execute several actions': define an action that triggers several other " +"server actions\n" +"- 'Send Email': automatically send an email (Discuss)\n" +"- 'Add Followers': add followers to a record (Discuss)\n" +"- 'Create Next Activity': create an activity (Discuss)" msgstr "" #. module: mass_editing @@ -220,3 +263,14 @@ msgstr "" #: model:ir.model,name:mass_editing.model_mass_editing_wizard msgid "Wizard for mass edition" msgstr "" + +#. module: mass_editing +#: code:addons/mass_editing/wizard/mass_editing_wizard.py:0 +#, python-format +msgid "" +"You have selected %d record(s) that can not be processed.\n" +"Only %d record(s) will be processed." +msgstr "" + +#~ msgid "Name" +#~ msgstr "Izena" diff --git a/mass_editing/i18n/fa.po b/mass_editing/i18n/fa.po index 58a4210..b0077bb 100644 --- a/mass_editing/i18n/fa.po +++ b/mass_editing/i18n/fa.po @@ -19,7 +19,7 @@ msgstr "" "Plural-Forms: nplurals=1; plural=0;\n" #. module: mass_editing -#: model_terms:ir.ui.view,arch_db:mass_editing.view_mass_editing_form +#: model_terms:ir.ui.view,arch_db:mass_editing.view_server_action_form msgid "" "WARNING: Take into account that adding a field with a domain, and not " "including the fields of such domain in this operation definition, will lead " @@ -27,8 +27,9 @@ msgid "" msgstr "" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__action_name -msgid "Action Name" +#: model:ir.model.fields,field_description:mass_editing.field_ir_actions_server__state +#: model:ir.model.fields,field_description:mass_editing.field_ir_cron__state +msgid "Action To Do" msgstr "" #. module: mass_editing @@ -40,14 +41,13 @@ msgstr "" #. module: mass_editing #: model:ir.model.fields,help:mass_editing.field_mass_editing_line__widget_option msgid "" -"Add widget text that will be used to display the field in the wizard. " -"Example :\n" -"'many2many_tags', 'selection'" +"Add widget text that will be used to display the field in the wizard.\n" +"Example: 'many2many_tags', 'selection', 'image'" msgstr "" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__groups_id -msgid "Allowed Groups" +#: model_terms:ir.ui.view,arch_db:mass_editing.view_mass_editing_wizard_form +msgid "Apply" msgstr "" #. module: mass_editing @@ -61,85 +61,93 @@ msgid "Apply domain" msgstr "" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__apply_domain_in_lines +#: model:ir.model.fields,field_description:mass_editing.field_ir_actions_server__mass_edit_apply_domain_in_lines +#: model:ir.model.fields,field_description:mass_editing.field_ir_cron__mass_edit_apply_domain_in_lines msgid "Apply domain in lines" msgstr "" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__create_uid +#: model_terms:ir.ui.view,arch_db:mass_editing.view_mass_editing_wizard_form +msgid "Cancel" +msgstr "" + +#. module: mass_editing #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line__create_uid #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_wizard__create_uid msgid "Created by" msgstr "ایجاد شده توسط" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__create_date #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line__create_date #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_wizard__create_date msgid "Created on" msgstr "ایجاد شده در" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__display_name +#: model:ir.model.fields,field_description:mass_editing.field_ir_actions_server__display_name #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line__display_name #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_wizard__display_name msgid "Display Name" msgstr "نام نمایشی" -#. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__domain -msgid "Domain" -msgstr "" - #. module: mass_editing #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line__field_id msgid "Field" msgstr "" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__id +#: model_terms:ir.ui.view,arch_db:mass_editing.view_server_action_form +msgid "Fields" +msgstr "" + +#. module: mass_editing +#: model:ir.model.fields,field_description:mass_editing.field_ir_actions_server__id #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line__id #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_wizard__id msgid "ID" msgstr "شناسه" #. module: mass_editing -#: model:ir.model.fields,help:mass_editing.field_mass_editing__message +#: model:ir.model.fields,help:mass_editing.field_ir_actions_server__mass_edit_message +#: model:ir.model.fields,help:mass_editing.field_ir_cron__mass_edit_message msgid "If set, this message will be displayed in the wizard." msgstr "" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing____last_update +#: model:ir.model.fields,field_description:mass_editing.field_ir_actions_server____last_update #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line____last_update #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_wizard____last_update msgid "Last Modified on" msgstr "تاریخ آخرین به‌روزرسانی" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__write_uid #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line__write_uid #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_wizard__write_uid msgid "Last Updated by" msgstr "آخرین به روز رسانی توسط" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__write_date #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line__write_date #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_wizard__write_date msgid "Last Updated on" msgstr "آخرین به روز رسانی در" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__line_ids -msgid "Line" +#: model:ir.actions.server,name:mass_editing.mass_editing_partner +#: model:ir.actions.server,name:mass_editing.mass_editing_partner_title +#: model:ir.actions.server,name:mass_editing.mass_editing_user +msgid "Mass Edit" msgstr "" #. module: mass_editing -#: model:ir.actions.act_window,name:mass_editing.action_mass_editing -#: model:ir.model,name:mass_editing.model_mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line__mass_editing_id -#: model:ir.ui.menu,name:mass_editing.menu_mass_editing -msgid "Mass Editing" +#: model:ir.model.fields,field_description:mass_editing.field_ir_actions_server__mass_edit_line_ids +#: model:ir.model.fields,field_description:mass_editing.field_ir_cron__mass_edit_line_ids +msgid "Mass Edit Line" +msgstr "" + +#. module: mass_editing +#: model:ir.model.fields.selection,name:mass_editing.selection__ir_actions_server__state__mass_edit +msgid "Mass Edit Records" msgstr "" #. module: mass_editing @@ -148,21 +156,34 @@ msgid "Mass Editing Line" msgstr "" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__message +#: code:addons/mass_editing/models/mass_editing_line.py:0 +#, python-format +msgid "Mass edit fields should belong to the server action model." +msgstr "" + +#. module: mass_editing +#: model:ir.model.fields,field_description:mass_editing.field_ir_actions_server__mass_edit_message +#: model:ir.model.fields,field_description:mass_editing.field_ir_cron__mass_edit_message #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_wizard__message +#: model_terms:ir.ui.view,arch_db:mass_editing.view_server_action_form msgid "Message" msgstr "" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__model_id #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line__model_id msgid "Model" msgstr "" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__name -msgid "Name" -msgstr "نام" +#: model:ir.model.fields,help:mass_editing.field_mass_editing_line__model_id +msgid "Model on which the server action runs." +msgstr "" + +#. module: mass_editing +#: code:addons/mass_editing/wizard/mass_editing_wizard.py:0 +#, python-format +msgid "None of the %d record(s) you have selected can be processed." +msgstr "" #. module: mass_editing #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_wizard__operation_description_danger @@ -200,6 +221,12 @@ msgstr "" msgid "Sequence" msgstr "" +#. module: mass_editing +#: model:ir.model,name:mass_editing.model_ir_actions_server +#: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line__server_action_id +msgid "Server Action" +msgstr "" + #. module: mass_editing #: code:addons/mass_editing/wizard/mass_editing_wizard.py:0 #, python-format @@ -207,8 +234,24 @@ msgid "Set" msgstr "" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__ref_ir_act_window_id -msgid "Sidebar Action" +#: code:addons/mass_editing/wizard/mass_editing_wizard.py:0 +#, python-format +msgid "The treatment will be processed on the %d selected record(s)." +msgstr "" + +#. module: mass_editing +#: model:ir.model.fields,help:mass_editing.field_ir_actions_server__state +#: model:ir.model.fields,help:mass_editing.field_ir_cron__state +msgid "" +"Type of server action. The following values are available:\n" +"- 'Execute Python Code': a block of python code that will be executed\n" +"- 'Create': create a new record with new values\n" +"- 'Update a Record': update the values of a record\n" +"- 'Execute several actions': define an action that triggers several other " +"server actions\n" +"- 'Send Email': automatically send an email (Discuss)\n" +"- 'Add Followers': add followers to a record (Discuss)\n" +"- 'Create Next Activity': create an activity (Discuss)" msgstr "" #. module: mass_editing @@ -220,3 +263,14 @@ msgstr "" #: model:ir.model,name:mass_editing.model_mass_editing_wizard msgid "Wizard for mass edition" msgstr "" + +#. module: mass_editing +#: code:addons/mass_editing/wizard/mass_editing_wizard.py:0 +#, python-format +msgid "" +"You have selected %d record(s) that can not be processed.\n" +"Only %d record(s) will be processed." +msgstr "" + +#~ msgid "Name" +#~ msgstr "نام" diff --git a/mass_editing/i18n/fi.po b/mass_editing/i18n/fi.po index d92fbe6..a09fe0c 100644 --- a/mass_editing/i18n/fi.po +++ b/mass_editing/i18n/fi.po @@ -20,7 +20,7 @@ msgstr "" "X-Generator: Weblate 4.3.2\n" #. module: mass_editing -#: model_terms:ir.ui.view,arch_db:mass_editing.view_mass_editing_form +#: model_terms:ir.ui.view,arch_db:mass_editing.view_server_action_form msgid "" "WARNING: Take into account that adding a field with a domain, and not " "including the fields of such domain in this operation definition, will lead " @@ -28,9 +28,10 @@ msgid "" msgstr "" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__action_name -msgid "Action Name" -msgstr "Toiminnon nimi" +#: model:ir.model.fields,field_description:mass_editing.field_ir_actions_server__state +#: model:ir.model.fields,field_description:mass_editing.field_ir_cron__state +msgid "Action To Do" +msgstr "" #. module: mass_editing #: code:addons/mass_editing/wizard/mass_editing_wizard.py:0 @@ -41,15 +42,14 @@ msgstr "Lisää" #. module: mass_editing #: model:ir.model.fields,help:mass_editing.field_mass_editing_line__widget_option msgid "" -"Add widget text that will be used to display the field in the wizard. " -"Example :\n" -"'many2many_tags', 'selection'" +"Add widget text that will be used to display the field in the wizard.\n" +"Example: 'many2many_tags', 'selection', 'image'" msgstr "" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__groups_id -msgid "Allowed Groups" -msgstr "Sallitut ryhmät" +#: model_terms:ir.ui.view,arch_db:mass_editing.view_mass_editing_wizard_form +msgid "Apply" +msgstr "" #. module: mass_editing #: model:ir.model.fields,help:mass_editing.field_mass_editing_line__apply_domain @@ -62,36 +62,35 @@ msgid "Apply domain" msgstr "" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__apply_domain_in_lines +#: model:ir.model.fields,field_description:mass_editing.field_ir_actions_server__mass_edit_apply_domain_in_lines +#: model:ir.model.fields,field_description:mass_editing.field_ir_cron__mass_edit_apply_domain_in_lines msgid "Apply domain in lines" msgstr "" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__create_uid +#: model_terms:ir.ui.view,arch_db:mass_editing.view_mass_editing_wizard_form +msgid "Cancel" +msgstr "" + +#. module: mass_editing #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line__create_uid #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_wizard__create_uid msgid "Created by" msgstr "Luonut" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__create_date #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line__create_date #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_wizard__create_date msgid "Created on" msgstr "Luotu" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__display_name +#: model:ir.model.fields,field_description:mass_editing.field_ir_actions_server__display_name #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line__display_name #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_wizard__display_name msgid "Display Name" msgstr "Nimi" -#. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__domain -msgid "Domain" -msgstr "Toimialue" - #. module: mass_editing #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line__field_id #, fuzzy @@ -99,50 +98,59 @@ msgid "Field" msgstr "Kentät" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__id +#: model_terms:ir.ui.view,arch_db:mass_editing.view_server_action_form +msgid "Fields" +msgstr "" + +#. module: mass_editing +#: model:ir.model.fields,field_description:mass_editing.field_ir_actions_server__id #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line__id #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_wizard__id msgid "ID" msgstr "ID" #. module: mass_editing -#: model:ir.model.fields,help:mass_editing.field_mass_editing__message +#: model:ir.model.fields,help:mass_editing.field_ir_actions_server__mass_edit_message +#: model:ir.model.fields,help:mass_editing.field_ir_cron__mass_edit_message msgid "If set, this message will be displayed in the wizard." msgstr "" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing____last_update +#: model:ir.model.fields,field_description:mass_editing.field_ir_actions_server____last_update #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line____last_update #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_wizard____last_update msgid "Last Modified on" msgstr "Viimeksi muokattu" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__write_uid #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line__write_uid #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_wizard__write_uid msgid "Last Updated by" msgstr "Viimeksi päivittänyt" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__write_date #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line__write_date #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_wizard__write_date msgid "Last Updated on" msgstr "Viimeksi päivitetty" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__line_ids -msgid "Line" -msgstr "Rivi" +#: model:ir.actions.server,name:mass_editing.mass_editing_partner +#: model:ir.actions.server,name:mass_editing.mass_editing_partner_title +#: model:ir.actions.server,name:mass_editing.mass_editing_user +msgid "Mass Edit" +msgstr "" #. module: mass_editing -#: model:ir.actions.act_window,name:mass_editing.action_mass_editing -#: model:ir.model,name:mass_editing.model_mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line__mass_editing_id -#: model:ir.ui.menu,name:mass_editing.menu_mass_editing -msgid "Mass Editing" -msgstr "Massaeditointi" +#: model:ir.model.fields,field_description:mass_editing.field_ir_actions_server__mass_edit_line_ids +#: model:ir.model.fields,field_description:mass_editing.field_ir_cron__mass_edit_line_ids +msgid "Mass Edit Line" +msgstr "" + +#. module: mass_editing +#: model:ir.model.fields.selection,name:mass_editing.selection__ir_actions_server__state__mass_edit +msgid "Mass Edit Records" +msgstr "" #. module: mass_editing #: model:ir.model,name:mass_editing.model_mass_editing_line @@ -151,21 +159,34 @@ msgid "Mass Editing Line" msgstr "Massaeditointi" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__message +#: code:addons/mass_editing/models/mass_editing_line.py:0 +#, python-format +msgid "Mass edit fields should belong to the server action model." +msgstr "" + +#. module: mass_editing +#: model:ir.model.fields,field_description:mass_editing.field_ir_actions_server__mass_edit_message +#: model:ir.model.fields,field_description:mass_editing.field_ir_cron__mass_edit_message #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_wizard__message +#: model_terms:ir.ui.view,arch_db:mass_editing.view_server_action_form msgid "Message" msgstr "Viesti" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__model_id #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line__model_id msgid "Model" msgstr "Mall" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__name -msgid "Name" -msgstr "Nimi" +#: model:ir.model.fields,help:mass_editing.field_mass_editing_line__model_id +msgid "Model on which the server action runs." +msgstr "" + +#. module: mass_editing +#: code:addons/mass_editing/wizard/mass_editing_wizard.py:0 +#, python-format +msgid "None of the %d record(s) you have selected can be processed." +msgstr "" #. module: mass_editing #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_wizard__operation_description_danger @@ -203,6 +224,12 @@ msgstr "" msgid "Sequence" msgstr "Järjestys" +#. module: mass_editing +#: model:ir.model,name:mass_editing.model_ir_actions_server +#: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line__server_action_id +msgid "Server Action" +msgstr "" + #. module: mass_editing #: code:addons/mass_editing/wizard/mass_editing_wizard.py:0 #, python-format @@ -210,9 +237,25 @@ msgid "Set" msgstr "Aseta" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__ref_ir_act_window_id -msgid "Sidebar Action" -msgstr "Sivupalkin toiminto" +#: code:addons/mass_editing/wizard/mass_editing_wizard.py:0 +#, python-format +msgid "The treatment will be processed on the %d selected record(s)." +msgstr "" + +#. module: mass_editing +#: model:ir.model.fields,help:mass_editing.field_ir_actions_server__state +#: model:ir.model.fields,help:mass_editing.field_ir_cron__state +msgid "" +"Type of server action. The following values are available:\n" +"- 'Execute Python Code': a block of python code that will be executed\n" +"- 'Create': create a new record with new values\n" +"- 'Update a Record': update the values of a record\n" +"- 'Execute several actions': define an action that triggers several other " +"server actions\n" +"- 'Send Email': automatically send an email (Discuss)\n" +"- 'Add Followers': add followers to a record (Discuss)\n" +"- 'Create Next Activity': create an activity (Discuss)" +msgstr "" #. module: mass_editing #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line__widget_option @@ -224,6 +267,35 @@ msgstr "" msgid "Wizard for mass edition" msgstr "Ohjattu massamuokkaus" +#. module: mass_editing +#: code:addons/mass_editing/wizard/mass_editing_wizard.py:0 +#, python-format +msgid "" +"You have selected %d record(s) that can not be processed.\n" +"Only %d record(s) will be processed." +msgstr "" + +#~ msgid "Action Name" +#~ msgstr "Toiminnon nimi" + +#~ msgid "Allowed Groups" +#~ msgstr "Sallitut ryhmät" + +#~ msgid "Domain" +#~ msgstr "Toimialue" + +#~ msgid "Line" +#~ msgstr "Rivi" + +#~ msgid "Mass Editing" +#~ msgstr "Massaeditointi" + +#~ msgid "Name" +#~ msgstr "Nimi" + +#~ msgid "Sidebar Action" +#~ msgstr "Sivupalkin toiminto" + #~ msgid "Advanced" #~ msgstr "Edistynyt" diff --git a/mass_editing/i18n/fr.po b/mass_editing/i18n/fr.po index 4b6e469..611a91b 100644 --- a/mass_editing/i18n/fr.po +++ b/mass_editing/i18n/fr.po @@ -18,7 +18,7 @@ msgstr "" "X-Generator: Weblate 4.3.2\n" #. module: mass_editing -#: model_terms:ir.ui.view,arch_db:mass_editing.view_mass_editing_form +#: model_terms:ir.ui.view,arch_db:mass_editing.view_server_action_form msgid "" "WARNING: Take into account that adding a field with a domain, and not " "including the fields of such domain in this operation definition, will lead " @@ -30,9 +30,10 @@ msgstr "" "Assurez-vous de les inclure." #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__action_name -msgid "Action Name" -msgstr "Nom de l'action" +#: model:ir.model.fields,field_description:mass_editing.field_ir_actions_server__state +#: model:ir.model.fields,field_description:mass_editing.field_ir_cron__state +msgid "Action To Do" +msgstr "" #. module: mass_editing #: code:addons/mass_editing/wizard/mass_editing_wizard.py:0 @@ -43,18 +44,14 @@ msgstr "Ajouter" #. module: mass_editing #: model:ir.model.fields,help:mass_editing.field_mass_editing_line__widget_option msgid "" -"Add widget text that will be used to display the field in the wizard. " -"Example :\n" -"'many2many_tags', 'selection'" +"Add widget text that will be used to display the field in the wizard.\n" +"Example: 'many2many_tags', 'selection', 'image'" msgstr "" -"Ajouter un texte pour le widget qui sera utilisé pour afficher le champ. " -"Exemple: \n" -"'many2many_tags', 'selection'" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__groups_id -msgid "Allowed Groups" -msgstr "Groupes Autorisés" +#: model_terms:ir.ui.view,arch_db:mass_editing.view_mass_editing_wizard_form +msgid "Apply" +msgstr "" #. module: mass_editing #: model:ir.model.fields,help:mass_editing.field_mass_editing_line__apply_domain @@ -67,86 +64,94 @@ msgid "Apply domain" msgstr "Appliquer le domaine" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__apply_domain_in_lines +#: model:ir.model.fields,field_description:mass_editing.field_ir_actions_server__mass_edit_apply_domain_in_lines +#: model:ir.model.fields,field_description:mass_editing.field_ir_cron__mass_edit_apply_domain_in_lines msgid "Apply domain in lines" msgstr "Appliquer le domaine dans les lignes" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__create_uid +#: model_terms:ir.ui.view,arch_db:mass_editing.view_mass_editing_wizard_form +msgid "Cancel" +msgstr "" + +#. module: mass_editing #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line__create_uid #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_wizard__create_uid msgid "Created by" msgstr "Créé par" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__create_date #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line__create_date #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_wizard__create_date msgid "Created on" msgstr "Créé le" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__display_name +#: model:ir.model.fields,field_description:mass_editing.field_ir_actions_server__display_name #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line__display_name #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_wizard__display_name msgid "Display Name" msgstr "Afficher Nom" -#. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__domain -msgid "Domain" -msgstr "Domaine" - #. module: mass_editing #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line__field_id msgid "Field" msgstr "Champ" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__id +#: model_terms:ir.ui.view,arch_db:mass_editing.view_server_action_form +msgid "Fields" +msgstr "" + +#. module: mass_editing +#: model:ir.model.fields,field_description:mass_editing.field_ir_actions_server__id #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line__id #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_wizard__id msgid "ID" msgstr "ID" #. module: mass_editing -#: model:ir.model.fields,help:mass_editing.field_mass_editing__message +#: model:ir.model.fields,help:mass_editing.field_ir_actions_server__mass_edit_message +#: model:ir.model.fields,help:mass_editing.field_ir_cron__mass_edit_message msgid "If set, this message will be displayed in the wizard." msgstr "Si ce champ est défini, le message sera affiché dans l'assistant." #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing____last_update +#: model:ir.model.fields,field_description:mass_editing.field_ir_actions_server____last_update #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line____last_update #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_wizard____last_update msgid "Last Modified on" msgstr "Dernière modification le" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__write_uid #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line__write_uid #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_wizard__write_uid msgid "Last Updated by" msgstr "Dernière mise à jour par" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__write_date #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line__write_date #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_wizard__write_date msgid "Last Updated on" msgstr "Dernière mise à jour le" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__line_ids -msgid "Line" -msgstr "Ligne" +#: model:ir.actions.server,name:mass_editing.mass_editing_partner +#: model:ir.actions.server,name:mass_editing.mass_editing_partner_title +#: model:ir.actions.server,name:mass_editing.mass_editing_user +msgid "Mass Edit" +msgstr "" #. module: mass_editing -#: model:ir.actions.act_window,name:mass_editing.action_mass_editing -#: model:ir.model,name:mass_editing.model_mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line__mass_editing_id -#: model:ir.ui.menu,name:mass_editing.menu_mass_editing -msgid "Mass Editing" -msgstr "Édition en lot" +#: model:ir.model.fields,field_description:mass_editing.field_ir_actions_server__mass_edit_line_ids +#: model:ir.model.fields,field_description:mass_editing.field_ir_cron__mass_edit_line_ids +msgid "Mass Edit Line" +msgstr "" + +#. module: mass_editing +#: model:ir.model.fields.selection,name:mass_editing.selection__ir_actions_server__state__mass_edit +msgid "Mass Edit Records" +msgstr "" #. module: mass_editing #: model:ir.model,name:mass_editing.model_mass_editing_line @@ -154,21 +159,34 @@ msgid "Mass Editing Line" msgstr "Ligne d'édition en lot" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__message +#: code:addons/mass_editing/models/mass_editing_line.py:0 +#, python-format +msgid "Mass edit fields should belong to the server action model." +msgstr "" + +#. module: mass_editing +#: model:ir.model.fields,field_description:mass_editing.field_ir_actions_server__mass_edit_message +#: model:ir.model.fields,field_description:mass_editing.field_ir_cron__mass_edit_message #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_wizard__message +#: model_terms:ir.ui.view,arch_db:mass_editing.view_server_action_form msgid "Message" msgstr "Message" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__model_id #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line__model_id msgid "Model" msgstr "Modèle" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__name -msgid "Name" -msgstr "Nom" +#: model:ir.model.fields,help:mass_editing.field_mass_editing_line__model_id +msgid "Model on which the server action runs." +msgstr "" + +#. module: mass_editing +#: code:addons/mass_editing/wizard/mass_editing_wizard.py:0 +#, python-format +msgid "None of the %d record(s) you have selected can be processed." +msgstr "" #. module: mass_editing #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_wizard__operation_description_danger @@ -206,6 +224,12 @@ msgstr "Eléments sélectionnés" msgid "Sequence" msgstr "Séquence" +#. module: mass_editing +#: model:ir.model,name:mass_editing.model_ir_actions_server +#: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line__server_action_id +msgid "Server Action" +msgstr "" + #. module: mass_editing #: code:addons/mass_editing/wizard/mass_editing_wizard.py:0 #, python-format @@ -213,9 +237,25 @@ msgid "Set" msgstr "Definir" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__ref_ir_act_window_id -msgid "Sidebar Action" -msgstr "Action de la barre latérale" +#: code:addons/mass_editing/wizard/mass_editing_wizard.py:0 +#, python-format +msgid "The treatment will be processed on the %d selected record(s)." +msgstr "" + +#. module: mass_editing +#: model:ir.model.fields,help:mass_editing.field_ir_actions_server__state +#: model:ir.model.fields,help:mass_editing.field_ir_cron__state +msgid "" +"Type of server action. The following values are available:\n" +"- 'Execute Python Code': a block of python code that will be executed\n" +"- 'Create': create a new record with new values\n" +"- 'Update a Record': update the values of a record\n" +"- 'Execute several actions': define an action that triggers several other " +"server actions\n" +"- 'Send Email': automatically send an email (Discuss)\n" +"- 'Add Followers': add followers to a record (Discuss)\n" +"- 'Create Next Activity': create an activity (Discuss)" +msgstr "" #. module: mass_editing #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line__widget_option @@ -226,3 +266,41 @@ msgstr "Option du widget" #: model:ir.model,name:mass_editing.model_mass_editing_wizard msgid "Wizard for mass edition" msgstr "Assistant pour l'édition en lot" + +#. module: mass_editing +#: code:addons/mass_editing/wizard/mass_editing_wizard.py:0 +#, python-format +msgid "" +"You have selected %d record(s) that can not be processed.\n" +"Only %d record(s) will be processed." +msgstr "" + +#~ msgid "Action Name" +#~ msgstr "Nom de l'action" + +#~ msgid "" +#~ "Add widget text that will be used to display the field in the wizard. " +#~ "Example :\n" +#~ "'many2many_tags', 'selection'" +#~ msgstr "" +#~ "Ajouter un texte pour le widget qui sera utilisé pour afficher le champ. " +#~ "Exemple: \n" +#~ "'many2many_tags', 'selection'" + +#~ msgid "Allowed Groups" +#~ msgstr "Groupes Autorisés" + +#~ msgid "Domain" +#~ msgstr "Domaine" + +#~ msgid "Line" +#~ msgstr "Ligne" + +#~ msgid "Mass Editing" +#~ msgstr "Édition en lot" + +#~ msgid "Name" +#~ msgstr "Nom" + +#~ msgid "Sidebar Action" +#~ msgstr "Action de la barre latérale" diff --git a/mass_editing/i18n/fr_CA.po b/mass_editing/i18n/fr_CA.po index 3e2ebef..6e2b160 100644 --- a/mass_editing/i18n/fr_CA.po +++ b/mass_editing/i18n/fr_CA.po @@ -20,7 +20,7 @@ msgstr "" "Plural-Forms: nplurals=2; plural=(n > 1);\n" #. module: mass_editing -#: model_terms:ir.ui.view,arch_db:mass_editing.view_mass_editing_form +#: model_terms:ir.ui.view,arch_db:mass_editing.view_server_action_form msgid "" "WARNING: Take into account that adding a field with a domain, and not " "including the fields of such domain in this operation definition, will lead " @@ -28,8 +28,9 @@ msgid "" msgstr "" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__action_name -msgid "Action Name" +#: model:ir.model.fields,field_description:mass_editing.field_ir_actions_server__state +#: model:ir.model.fields,field_description:mass_editing.field_ir_cron__state +msgid "Action To Do" msgstr "" #. module: mass_editing @@ -41,14 +42,13 @@ msgstr "" #. module: mass_editing #: model:ir.model.fields,help:mass_editing.field_mass_editing_line__widget_option msgid "" -"Add widget text that will be used to display the field in the wizard. " -"Example :\n" -"'many2many_tags', 'selection'" +"Add widget text that will be used to display the field in the wizard.\n" +"Example: 'many2many_tags', 'selection', 'image'" msgstr "" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__groups_id -msgid "Allowed Groups" +#: model_terms:ir.ui.view,arch_db:mass_editing.view_mass_editing_wizard_form +msgid "Apply" msgstr "" #. module: mass_editing @@ -62,36 +62,35 @@ msgid "Apply domain" msgstr "" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__apply_domain_in_lines +#: model:ir.model.fields,field_description:mass_editing.field_ir_actions_server__mass_edit_apply_domain_in_lines +#: model:ir.model.fields,field_description:mass_editing.field_ir_cron__mass_edit_apply_domain_in_lines msgid "Apply domain in lines" msgstr "" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__create_uid +#: model_terms:ir.ui.view,arch_db:mass_editing.view_mass_editing_wizard_form +msgid "Cancel" +msgstr "" + +#. module: mass_editing #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line__create_uid #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_wizard__create_uid msgid "Created by" msgstr "Créé par" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__create_date #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line__create_date #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_wizard__create_date msgid "Created on" msgstr "Créé le" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__display_name +#: model:ir.model.fields,field_description:mass_editing.field_ir_actions_server__display_name #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line__display_name #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_wizard__display_name msgid "Display Name" msgstr "Afficher le nom" -#. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__domain -msgid "Domain" -msgstr "" - #. module: mass_editing #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line__field_id #, fuzzy @@ -99,50 +98,59 @@ msgid "Field" msgstr "Champs" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__id +#: model_terms:ir.ui.view,arch_db:mass_editing.view_server_action_form +msgid "Fields" +msgstr "" + +#. module: mass_editing +#: model:ir.model.fields,field_description:mass_editing.field_ir_actions_server__id #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line__id #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_wizard__id msgid "ID" msgstr "Identifiant" #. module: mass_editing -#: model:ir.model.fields,help:mass_editing.field_mass_editing__message +#: model:ir.model.fields,help:mass_editing.field_ir_actions_server__mass_edit_message +#: model:ir.model.fields,help:mass_editing.field_ir_cron__mass_edit_message msgid "If set, this message will be displayed in the wizard." msgstr "" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing____last_update +#: model:ir.model.fields,field_description:mass_editing.field_ir_actions_server____last_update #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line____last_update #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_wizard____last_update msgid "Last Modified on" msgstr "" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__write_uid #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line__write_uid #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_wizard__write_uid msgid "Last Updated by" msgstr "Dernière mise à jour par" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__write_date #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line__write_date #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_wizard__write_date msgid "Last Updated on" msgstr "Dernière mise à jour le" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__line_ids -msgid "Line" +#: model:ir.actions.server,name:mass_editing.mass_editing_partner +#: model:ir.actions.server,name:mass_editing.mass_editing_partner_title +#: model:ir.actions.server,name:mass_editing.mass_editing_user +msgid "Mass Edit" msgstr "" #. module: mass_editing -#: model:ir.actions.act_window,name:mass_editing.action_mass_editing -#: model:ir.model,name:mass_editing.model_mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line__mass_editing_id -#: model:ir.ui.menu,name:mass_editing.menu_mass_editing -msgid "Mass Editing" -msgstr "Édition en lot" +#: model:ir.model.fields,field_description:mass_editing.field_ir_actions_server__mass_edit_line_ids +#: model:ir.model.fields,field_description:mass_editing.field_ir_cron__mass_edit_line_ids +msgid "Mass Edit Line" +msgstr "" + +#. module: mass_editing +#: model:ir.model.fields.selection,name:mass_editing.selection__ir_actions_server__state__mass_edit +msgid "Mass Edit Records" +msgstr "" #. module: mass_editing #: model:ir.model,name:mass_editing.model_mass_editing_line @@ -151,21 +159,34 @@ msgid "Mass Editing Line" msgstr "Édition en lot" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__message +#: code:addons/mass_editing/models/mass_editing_line.py:0 +#, python-format +msgid "Mass edit fields should belong to the server action model." +msgstr "" + +#. module: mass_editing +#: model:ir.model.fields,field_description:mass_editing.field_ir_actions_server__mass_edit_message +#: model:ir.model.fields,field_description:mass_editing.field_ir_cron__mass_edit_message #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_wizard__message +#: model_terms:ir.ui.view,arch_db:mass_editing.view_server_action_form msgid "Message" msgstr "" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__model_id #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line__model_id msgid "Model" msgstr "Modèle" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__name -msgid "Name" -msgstr "Nom" +#: model:ir.model.fields,help:mass_editing.field_mass_editing_line__model_id +msgid "Model on which the server action runs." +msgstr "" + +#. module: mass_editing +#: code:addons/mass_editing/wizard/mass_editing_wizard.py:0 +#, python-format +msgid "None of the %d record(s) you have selected can be processed." +msgstr "" #. module: mass_editing #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_wizard__operation_description_danger @@ -203,6 +224,12 @@ msgstr "" msgid "Sequence" msgstr "" +#. module: mass_editing +#: model:ir.model,name:mass_editing.model_ir_actions_server +#: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line__server_action_id +msgid "Server Action" +msgstr "" + #. module: mass_editing #: code:addons/mass_editing/wizard/mass_editing_wizard.py:0 #, python-format @@ -210,10 +237,25 @@ msgid "Set" msgstr "" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__ref_ir_act_window_id -#, fuzzy -msgid "Sidebar Action" -msgstr "Action de menu latéral" +#: code:addons/mass_editing/wizard/mass_editing_wizard.py:0 +#, python-format +msgid "The treatment will be processed on the %d selected record(s)." +msgstr "" + +#. module: mass_editing +#: model:ir.model.fields,help:mass_editing.field_ir_actions_server__state +#: model:ir.model.fields,help:mass_editing.field_ir_cron__state +msgid "" +"Type of server action. The following values are available:\n" +"- 'Execute Python Code': a block of python code that will be executed\n" +"- 'Create': create a new record with new values\n" +"- 'Update a Record': update the values of a record\n" +"- 'Execute several actions': define an action that triggers several other " +"server actions\n" +"- 'Send Email': automatically send an email (Discuss)\n" +"- 'Add Followers': add followers to a record (Discuss)\n" +"- 'Create Next Activity': create an activity (Discuss)" +msgstr "" #. module: mass_editing #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line__widget_option @@ -225,6 +267,24 @@ msgstr "" msgid "Wizard for mass edition" msgstr "" +#. module: mass_editing +#: code:addons/mass_editing/wizard/mass_editing_wizard.py:0 +#, python-format +msgid "" +"You have selected %d record(s) that can not be processed.\n" +"Only %d record(s) will be processed." +msgstr "" + +#~ msgid "Mass Editing" +#~ msgstr "Édition en lot" + +#~ msgid "Name" +#~ msgstr "Nom" + +#, fuzzy +#~ msgid "Sidebar Action" +#~ msgstr "Action de menu latéral" + #~ msgid "Add Sidebar Button" #~ msgstr "Ajouter bouton au menu latéral" diff --git a/mass_editing/i18n/fr_CH.po b/mass_editing/i18n/fr_CH.po index 0010373..fd88ba8 100644 --- a/mass_editing/i18n/fr_CH.po +++ b/mass_editing/i18n/fr_CH.po @@ -20,7 +20,7 @@ msgstr "" "Plural-Forms: nplurals=2; plural=(n > 1);\n" #. module: mass_editing -#: model_terms:ir.ui.view,arch_db:mass_editing.view_mass_editing_form +#: model_terms:ir.ui.view,arch_db:mass_editing.view_server_action_form msgid "" "WARNING: Take into account that adding a field with a domain, and not " "including the fields of such domain in this operation definition, will lead " @@ -28,8 +28,9 @@ msgid "" msgstr "" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__action_name -msgid "Action Name" +#: model:ir.model.fields,field_description:mass_editing.field_ir_actions_server__state +#: model:ir.model.fields,field_description:mass_editing.field_ir_cron__state +msgid "Action To Do" msgstr "" #. module: mass_editing @@ -41,14 +42,13 @@ msgstr "" #. module: mass_editing #: model:ir.model.fields,help:mass_editing.field_mass_editing_line__widget_option msgid "" -"Add widget text that will be used to display the field in the wizard. " -"Example :\n" -"'many2many_tags', 'selection'" +"Add widget text that will be used to display the field in the wizard.\n" +"Example: 'many2many_tags', 'selection', 'image'" msgstr "" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__groups_id -msgid "Allowed Groups" +#: model_terms:ir.ui.view,arch_db:mass_editing.view_mass_editing_wizard_form +msgid "Apply" msgstr "" #. module: mass_editing @@ -62,85 +62,93 @@ msgid "Apply domain" msgstr "" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__apply_domain_in_lines +#: model:ir.model.fields,field_description:mass_editing.field_ir_actions_server__mass_edit_apply_domain_in_lines +#: model:ir.model.fields,field_description:mass_editing.field_ir_cron__mass_edit_apply_domain_in_lines msgid "Apply domain in lines" msgstr "" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__create_uid +#: model_terms:ir.ui.view,arch_db:mass_editing.view_mass_editing_wizard_form +msgid "Cancel" +msgstr "" + +#. module: mass_editing #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line__create_uid #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_wizard__create_uid msgid "Created by" msgstr "Créé par" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__create_date #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line__create_date #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_wizard__create_date msgid "Created on" msgstr "Créé le" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__display_name +#: model:ir.model.fields,field_description:mass_editing.field_ir_actions_server__display_name #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line__display_name #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_wizard__display_name msgid "Display Name" msgstr "Nom affiché" -#. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__domain -msgid "Domain" -msgstr "" - #. module: mass_editing #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line__field_id msgid "Field" msgstr "" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__id +#: model_terms:ir.ui.view,arch_db:mass_editing.view_server_action_form +msgid "Fields" +msgstr "" + +#. module: mass_editing +#: model:ir.model.fields,field_description:mass_editing.field_ir_actions_server__id #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line__id #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_wizard__id msgid "ID" msgstr "ID" #. module: mass_editing -#: model:ir.model.fields,help:mass_editing.field_mass_editing__message +#: model:ir.model.fields,help:mass_editing.field_ir_actions_server__mass_edit_message +#: model:ir.model.fields,help:mass_editing.field_ir_cron__mass_edit_message msgid "If set, this message will be displayed in the wizard." msgstr "" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing____last_update +#: model:ir.model.fields,field_description:mass_editing.field_ir_actions_server____last_update #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line____last_update #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_wizard____last_update msgid "Last Modified on" msgstr "Dernière modification le" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__write_uid #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line__write_uid #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_wizard__write_uid msgid "Last Updated by" msgstr "Modifié par" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__write_date #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line__write_date #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_wizard__write_date msgid "Last Updated on" msgstr "Modifié le" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__line_ids -msgid "Line" +#: model:ir.actions.server,name:mass_editing.mass_editing_partner +#: model:ir.actions.server,name:mass_editing.mass_editing_partner_title +#: model:ir.actions.server,name:mass_editing.mass_editing_user +msgid "Mass Edit" msgstr "" #. module: mass_editing -#: model:ir.actions.act_window,name:mass_editing.action_mass_editing -#: model:ir.model,name:mass_editing.model_mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line__mass_editing_id -#: model:ir.ui.menu,name:mass_editing.menu_mass_editing -msgid "Mass Editing" +#: model:ir.model.fields,field_description:mass_editing.field_ir_actions_server__mass_edit_line_ids +#: model:ir.model.fields,field_description:mass_editing.field_ir_cron__mass_edit_line_ids +msgid "Mass Edit Line" +msgstr "" + +#. module: mass_editing +#: model:ir.model.fields.selection,name:mass_editing.selection__ir_actions_server__state__mass_edit +msgid "Mass Edit Records" msgstr "" #. module: mass_editing @@ -149,20 +157,33 @@ msgid "Mass Editing Line" msgstr "" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__message +#: code:addons/mass_editing/models/mass_editing_line.py:0 +#, python-format +msgid "Mass edit fields should belong to the server action model." +msgstr "" + +#. module: mass_editing +#: model:ir.model.fields,field_description:mass_editing.field_ir_actions_server__mass_edit_message +#: model:ir.model.fields,field_description:mass_editing.field_ir_cron__mass_edit_message #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_wizard__message +#: model_terms:ir.ui.view,arch_db:mass_editing.view_server_action_form msgid "Message" msgstr "" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__model_id #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line__model_id msgid "Model" msgstr "" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__name -msgid "Name" +#: model:ir.model.fields,help:mass_editing.field_mass_editing_line__model_id +msgid "Model on which the server action runs." +msgstr "" + +#. module: mass_editing +#: code:addons/mass_editing/wizard/mass_editing_wizard.py:0 +#, python-format +msgid "None of the %d record(s) you have selected can be processed." msgstr "" #. module: mass_editing @@ -201,6 +222,12 @@ msgstr "" msgid "Sequence" msgstr "" +#. module: mass_editing +#: model:ir.model,name:mass_editing.model_ir_actions_server +#: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line__server_action_id +msgid "Server Action" +msgstr "" + #. module: mass_editing #: code:addons/mass_editing/wizard/mass_editing_wizard.py:0 #, python-format @@ -208,8 +235,24 @@ msgid "Set" msgstr "" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__ref_ir_act_window_id -msgid "Sidebar Action" +#: code:addons/mass_editing/wizard/mass_editing_wizard.py:0 +#, python-format +msgid "The treatment will be processed on the %d selected record(s)." +msgstr "" + +#. module: mass_editing +#: model:ir.model.fields,help:mass_editing.field_ir_actions_server__state +#: model:ir.model.fields,help:mass_editing.field_ir_cron__state +msgid "" +"Type of server action. The following values are available:\n" +"- 'Execute Python Code': a block of python code that will be executed\n" +"- 'Create': create a new record with new values\n" +"- 'Update a Record': update the values of a record\n" +"- 'Execute several actions': define an action that triggers several other " +"server actions\n" +"- 'Send Email': automatically send an email (Discuss)\n" +"- 'Add Followers': add followers to a record (Discuss)\n" +"- 'Create Next Activity': create an activity (Discuss)" msgstr "" #. module: mass_editing @@ -221,3 +264,11 @@ msgstr "" #: model:ir.model,name:mass_editing.model_mass_editing_wizard msgid "Wizard for mass edition" msgstr "" + +#. module: mass_editing +#: code:addons/mass_editing/wizard/mass_editing_wizard.py:0 +#, python-format +msgid "" +"You have selected %d record(s) that can not be processed.\n" +"Only %d record(s) will be processed." +msgstr "" diff --git a/mass_editing/i18n/fr_FR.po b/mass_editing/i18n/fr_FR.po index f4a7b21..9c684c8 100644 --- a/mass_editing/i18n/fr_FR.po +++ b/mass_editing/i18n/fr_FR.po @@ -19,9 +19,9 @@ msgstr "" #. module: mass_editing #: model_terms:ir.ui.view,arch_db:mass_editing.view_server_action_form msgid "" -"WARNING: Take into account that adding a field with a domain, and not" -" including the fields of such domain in this operation definition, will lead" -" to an error when trying to perform it. Make sure you include them." +"WARNING: Take into account that adding a field with a domain, and not " +"including the fields of such domain in this operation definition, will lead " +"to an error when trying to perform it. Make sure you include them." msgstr "" "Attention : Tenez compte du fait que l'ajout d'un champ avec un " "domaine, et le fait de ne pas inclure les champs de ce domaine dans la " @@ -135,6 +135,7 @@ msgid "Last Updated on" msgstr "Dernière mise à jour le" #. module: mass_editing +#: model:ir.actions.server,name:mass_editing.mass_editing_partner #: model:ir.actions.server,name:mass_editing.mass_editing_partner_title #: model:ir.actions.server,name:mass_editing.mass_editing_user msgid "Mass Edit" @@ -208,7 +209,6 @@ msgstr "Eléments restants" #. module: mass_editing #: code:addons/mass_editing/wizard/mass_editing_wizard.py:0 -#: code:addons/mass_editing/wizard/mass_editing_wizard.py:0 #, python-format msgid "Remove" msgstr "Retirer" @@ -231,7 +231,6 @@ msgstr "" #. module: mass_editing #: code:addons/mass_editing/wizard/mass_editing_wizard.py:0 -#: code:addons/mass_editing/wizard/mass_editing_wizard.py:0 #, python-format msgid "Set" msgstr "Definir" @@ -250,7 +249,8 @@ msgid "" "- 'Execute Python Code': a block of python code that will be executed\n" "- 'Create': create a new record with new values\n" "- 'Update a Record': update the values of a record\n" -"- 'Execute several actions': define an action that triggers several other server actions\n" +"- 'Execute several actions': define an action that triggers several other " +"server actions\n" "- 'Send Email': automatically send an email (Discuss)\n" "- 'Add Followers': add followers to a record (Discuss)\n" "- 'Create Next Activity': create an activity (Discuss)" diff --git a/mass_editing/i18n/gl.po b/mass_editing/i18n/gl.po index e6843b3..38f38e2 100644 --- a/mass_editing/i18n/gl.po +++ b/mass_editing/i18n/gl.po @@ -21,7 +21,7 @@ msgstr "" "Plural-Forms: nplurals=2; plural=(n != 1);\n" #. module: mass_editing -#: model_terms:ir.ui.view,arch_db:mass_editing.view_mass_editing_form +#: model_terms:ir.ui.view,arch_db:mass_editing.view_server_action_form msgid "" "WARNING: Take into account that adding a field with a domain, and not " "including the fields of such domain in this operation definition, will lead " @@ -29,8 +29,9 @@ msgid "" msgstr "" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__action_name -msgid "Action Name" +#: model:ir.model.fields,field_description:mass_editing.field_ir_actions_server__state +#: model:ir.model.fields,field_description:mass_editing.field_ir_cron__state +msgid "Action To Do" msgstr "" #. module: mass_editing @@ -42,14 +43,13 @@ msgstr "" #. module: mass_editing #: model:ir.model.fields,help:mass_editing.field_mass_editing_line__widget_option msgid "" -"Add widget text that will be used to display the field in the wizard. " -"Example :\n" -"'many2many_tags', 'selection'" +"Add widget text that will be used to display the field in the wizard.\n" +"Example: 'many2many_tags', 'selection', 'image'" msgstr "" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__groups_id -msgid "Allowed Groups" +#: model_terms:ir.ui.view,arch_db:mass_editing.view_mass_editing_wizard_form +msgid "Apply" msgstr "" #. module: mass_editing @@ -63,85 +63,93 @@ msgid "Apply domain" msgstr "" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__apply_domain_in_lines +#: model:ir.model.fields,field_description:mass_editing.field_ir_actions_server__mass_edit_apply_domain_in_lines +#: model:ir.model.fields,field_description:mass_editing.field_ir_cron__mass_edit_apply_domain_in_lines msgid "Apply domain in lines" msgstr "" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__create_uid +#: model_terms:ir.ui.view,arch_db:mass_editing.view_mass_editing_wizard_form +msgid "Cancel" +msgstr "" + +#. module: mass_editing #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line__create_uid #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_wizard__create_uid msgid "Created by" msgstr "Creado por" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__create_date #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line__create_date #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_wizard__create_date msgid "Created on" msgstr "Creado en" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__display_name +#: model:ir.model.fields,field_description:mass_editing.field_ir_actions_server__display_name #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line__display_name #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_wizard__display_name msgid "Display Name" msgstr "" -#. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__domain -msgid "Domain" -msgstr "" - #. module: mass_editing #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line__field_id msgid "Field" msgstr "" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__id +#: model_terms:ir.ui.view,arch_db:mass_editing.view_server_action_form +msgid "Fields" +msgstr "" + +#. module: mass_editing +#: model:ir.model.fields,field_description:mass_editing.field_ir_actions_server__id #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line__id #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_wizard__id msgid "ID" msgstr "ID" #. module: mass_editing -#: model:ir.model.fields,help:mass_editing.field_mass_editing__message +#: model:ir.model.fields,help:mass_editing.field_ir_actions_server__mass_edit_message +#: model:ir.model.fields,help:mass_editing.field_ir_cron__mass_edit_message msgid "If set, this message will be displayed in the wizard." msgstr "" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing____last_update +#: model:ir.model.fields,field_description:mass_editing.field_ir_actions_server____last_update #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line____last_update #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_wizard____last_update msgid "Last Modified on" msgstr "Modificado por última vez o" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__write_uid #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line__write_uid #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_wizard__write_uid msgid "Last Updated by" msgstr "ültima actualización por" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__write_date #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line__write_date #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_wizard__write_date msgid "Last Updated on" msgstr "Última actualización en" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__line_ids -msgid "Line" +#: model:ir.actions.server,name:mass_editing.mass_editing_partner +#: model:ir.actions.server,name:mass_editing.mass_editing_partner_title +#: model:ir.actions.server,name:mass_editing.mass_editing_user +msgid "Mass Edit" msgstr "" #. module: mass_editing -#: model:ir.actions.act_window,name:mass_editing.action_mass_editing -#: model:ir.model,name:mass_editing.model_mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line__mass_editing_id -#: model:ir.ui.menu,name:mass_editing.menu_mass_editing -msgid "Mass Editing" +#: model:ir.model.fields,field_description:mass_editing.field_ir_actions_server__mass_edit_line_ids +#: model:ir.model.fields,field_description:mass_editing.field_ir_cron__mass_edit_line_ids +msgid "Mass Edit Line" +msgstr "" + +#. module: mass_editing +#: model:ir.model.fields.selection,name:mass_editing.selection__ir_actions_server__state__mass_edit +msgid "Mass Edit Records" msgstr "" #. module: mass_editing @@ -150,21 +158,34 @@ msgid "Mass Editing Line" msgstr "" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__message +#: code:addons/mass_editing/models/mass_editing_line.py:0 +#, python-format +msgid "Mass edit fields should belong to the server action model." +msgstr "" + +#. module: mass_editing +#: model:ir.model.fields,field_description:mass_editing.field_ir_actions_server__mass_edit_message +#: model:ir.model.fields,field_description:mass_editing.field_ir_cron__mass_edit_message #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_wizard__message +#: model_terms:ir.ui.view,arch_db:mass_editing.view_server_action_form msgid "Message" msgstr "" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__model_id #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line__model_id msgid "Model" msgstr "" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__name -msgid "Name" -msgstr "Nome" +#: model:ir.model.fields,help:mass_editing.field_mass_editing_line__model_id +msgid "Model on which the server action runs." +msgstr "" + +#. module: mass_editing +#: code:addons/mass_editing/wizard/mass_editing_wizard.py:0 +#, python-format +msgid "None of the %d record(s) you have selected can be processed." +msgstr "" #. module: mass_editing #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_wizard__operation_description_danger @@ -202,6 +223,12 @@ msgstr "" msgid "Sequence" msgstr "" +#. module: mass_editing +#: model:ir.model,name:mass_editing.model_ir_actions_server +#: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line__server_action_id +msgid "Server Action" +msgstr "" + #. module: mass_editing #: code:addons/mass_editing/wizard/mass_editing_wizard.py:0 #, python-format @@ -209,8 +236,24 @@ msgid "Set" msgstr "" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__ref_ir_act_window_id -msgid "Sidebar Action" +#: code:addons/mass_editing/wizard/mass_editing_wizard.py:0 +#, python-format +msgid "The treatment will be processed on the %d selected record(s)." +msgstr "" + +#. module: mass_editing +#: model:ir.model.fields,help:mass_editing.field_ir_actions_server__state +#: model:ir.model.fields,help:mass_editing.field_ir_cron__state +msgid "" +"Type of server action. The following values are available:\n" +"- 'Execute Python Code': a block of python code that will be executed\n" +"- 'Create': create a new record with new values\n" +"- 'Update a Record': update the values of a record\n" +"- 'Execute several actions': define an action that triggers several other " +"server actions\n" +"- 'Send Email': automatically send an email (Discuss)\n" +"- 'Add Followers': add followers to a record (Discuss)\n" +"- 'Create Next Activity': create an activity (Discuss)" msgstr "" #. module: mass_editing @@ -222,3 +265,14 @@ msgstr "" #: model:ir.model,name:mass_editing.model_mass_editing_wizard msgid "Wizard for mass edition" msgstr "" + +#. module: mass_editing +#: code:addons/mass_editing/wizard/mass_editing_wizard.py:0 +#, python-format +msgid "" +"You have selected %d record(s) that can not be processed.\n" +"Only %d record(s) will be processed." +msgstr "" + +#~ msgid "Name" +#~ msgstr "Nome" diff --git a/mass_editing/i18n/gl_ES.po b/mass_editing/i18n/gl_ES.po index 4286eb5..16e286e 100644 --- a/mass_editing/i18n/gl_ES.po +++ b/mass_editing/i18n/gl_ES.po @@ -20,7 +20,7 @@ msgstr "" "Plural-Forms: nplurals=2; plural=(n != 1);\n" #. module: mass_editing -#: model_terms:ir.ui.view,arch_db:mass_editing.view_mass_editing_form +#: model_terms:ir.ui.view,arch_db:mass_editing.view_server_action_form msgid "" "WARNING: Take into account that adding a field with a domain, and not " "including the fields of such domain in this operation definition, will lead " @@ -28,8 +28,9 @@ msgid "" msgstr "" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__action_name -msgid "Action Name" +#: model:ir.model.fields,field_description:mass_editing.field_ir_actions_server__state +#: model:ir.model.fields,field_description:mass_editing.field_ir_cron__state +msgid "Action To Do" msgstr "" #. module: mass_editing @@ -41,14 +42,13 @@ msgstr "" #. module: mass_editing #: model:ir.model.fields,help:mass_editing.field_mass_editing_line__widget_option msgid "" -"Add widget text that will be used to display the field in the wizard. " -"Example :\n" -"'many2many_tags', 'selection'" +"Add widget text that will be used to display the field in the wizard.\n" +"Example: 'many2many_tags', 'selection', 'image'" msgstr "" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__groups_id -msgid "Allowed Groups" +#: model_terms:ir.ui.view,arch_db:mass_editing.view_mass_editing_wizard_form +msgid "Apply" msgstr "" #. module: mass_editing @@ -62,85 +62,93 @@ msgid "Apply domain" msgstr "" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__apply_domain_in_lines +#: model:ir.model.fields,field_description:mass_editing.field_ir_actions_server__mass_edit_apply_domain_in_lines +#: model:ir.model.fields,field_description:mass_editing.field_ir_cron__mass_edit_apply_domain_in_lines msgid "Apply domain in lines" msgstr "" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__create_uid +#: model_terms:ir.ui.view,arch_db:mass_editing.view_mass_editing_wizard_form +msgid "Cancel" +msgstr "" + +#. module: mass_editing #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line__create_uid #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_wizard__create_uid msgid "Created by" msgstr "" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__create_date #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line__create_date #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_wizard__create_date msgid "Created on" msgstr "" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__display_name +#: model:ir.model.fields,field_description:mass_editing.field_ir_actions_server__display_name #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line__display_name #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_wizard__display_name msgid "Display Name" msgstr "" -#. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__domain -msgid "Domain" -msgstr "" - #. module: mass_editing #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line__field_id msgid "Field" msgstr "" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__id +#: model_terms:ir.ui.view,arch_db:mass_editing.view_server_action_form +msgid "Fields" +msgstr "" + +#. module: mass_editing +#: model:ir.model.fields,field_description:mass_editing.field_ir_actions_server__id #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line__id #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_wizard__id msgid "ID" msgstr "ID" #. module: mass_editing -#: model:ir.model.fields,help:mass_editing.field_mass_editing__message +#: model:ir.model.fields,help:mass_editing.field_ir_actions_server__mass_edit_message +#: model:ir.model.fields,help:mass_editing.field_ir_cron__mass_edit_message msgid "If set, this message will be displayed in the wizard." msgstr "" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing____last_update +#: model:ir.model.fields,field_description:mass_editing.field_ir_actions_server____last_update #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line____last_update #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_wizard____last_update msgid "Last Modified on" msgstr "" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__write_uid #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line__write_uid #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_wizard__write_uid msgid "Last Updated by" msgstr "" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__write_date #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line__write_date #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_wizard__write_date msgid "Last Updated on" msgstr "" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__line_ids -msgid "Line" +#: model:ir.actions.server,name:mass_editing.mass_editing_partner +#: model:ir.actions.server,name:mass_editing.mass_editing_partner_title +#: model:ir.actions.server,name:mass_editing.mass_editing_user +msgid "Mass Edit" msgstr "" #. module: mass_editing -#: model:ir.actions.act_window,name:mass_editing.action_mass_editing -#: model:ir.model,name:mass_editing.model_mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line__mass_editing_id -#: model:ir.ui.menu,name:mass_editing.menu_mass_editing -msgid "Mass Editing" +#: model:ir.model.fields,field_description:mass_editing.field_ir_actions_server__mass_edit_line_ids +#: model:ir.model.fields,field_description:mass_editing.field_ir_cron__mass_edit_line_ids +msgid "Mass Edit Line" +msgstr "" + +#. module: mass_editing +#: model:ir.model.fields.selection,name:mass_editing.selection__ir_actions_server__state__mass_edit +msgid "Mass Edit Records" msgstr "" #. module: mass_editing @@ -149,20 +157,33 @@ msgid "Mass Editing Line" msgstr "" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__message +#: code:addons/mass_editing/models/mass_editing_line.py:0 +#, python-format +msgid "Mass edit fields should belong to the server action model." +msgstr "" + +#. module: mass_editing +#: model:ir.model.fields,field_description:mass_editing.field_ir_actions_server__mass_edit_message +#: model:ir.model.fields,field_description:mass_editing.field_ir_cron__mass_edit_message #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_wizard__message +#: model_terms:ir.ui.view,arch_db:mass_editing.view_server_action_form msgid "Message" msgstr "" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__model_id #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line__model_id msgid "Model" msgstr "" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__name -msgid "Name" +#: model:ir.model.fields,help:mass_editing.field_mass_editing_line__model_id +msgid "Model on which the server action runs." +msgstr "" + +#. module: mass_editing +#: code:addons/mass_editing/wizard/mass_editing_wizard.py:0 +#, python-format +msgid "None of the %d record(s) you have selected can be processed." msgstr "" #. module: mass_editing @@ -201,6 +222,12 @@ msgstr "" msgid "Sequence" msgstr "" +#. module: mass_editing +#: model:ir.model,name:mass_editing.model_ir_actions_server +#: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line__server_action_id +msgid "Server Action" +msgstr "" + #. module: mass_editing #: code:addons/mass_editing/wizard/mass_editing_wizard.py:0 #, python-format @@ -208,8 +235,24 @@ msgid "Set" msgstr "" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__ref_ir_act_window_id -msgid "Sidebar Action" +#: code:addons/mass_editing/wizard/mass_editing_wizard.py:0 +#, python-format +msgid "The treatment will be processed on the %d selected record(s)." +msgstr "" + +#. module: mass_editing +#: model:ir.model.fields,help:mass_editing.field_ir_actions_server__state +#: model:ir.model.fields,help:mass_editing.field_ir_cron__state +msgid "" +"Type of server action. The following values are available:\n" +"- 'Execute Python Code': a block of python code that will be executed\n" +"- 'Create': create a new record with new values\n" +"- 'Update a Record': update the values of a record\n" +"- 'Execute several actions': define an action that triggers several other " +"server actions\n" +"- 'Send Email': automatically send an email (Discuss)\n" +"- 'Add Followers': add followers to a record (Discuss)\n" +"- 'Create Next Activity': create an activity (Discuss)" msgstr "" #. module: mass_editing @@ -221,3 +264,11 @@ msgstr "" #: model:ir.model,name:mass_editing.model_mass_editing_wizard msgid "Wizard for mass edition" msgstr "" + +#. module: mass_editing +#: code:addons/mass_editing/wizard/mass_editing_wizard.py:0 +#, python-format +msgid "" +"You have selected %d record(s) that can not be processed.\n" +"Only %d record(s) will be processed." +msgstr "" diff --git a/mass_editing/i18n/he.po b/mass_editing/i18n/he.po index e1d25fa..30584e7 100644 --- a/mass_editing/i18n/he.po +++ b/mass_editing/i18n/he.po @@ -19,7 +19,7 @@ msgstr "" "Plural-Forms: nplurals=2; plural=(n != 1);\n" #. module: mass_editing -#: model_terms:ir.ui.view,arch_db:mass_editing.view_mass_editing_form +#: model_terms:ir.ui.view,arch_db:mass_editing.view_server_action_form msgid "" "WARNING: Take into account that adding a field with a domain, and not " "including the fields of such domain in this operation definition, will lead " @@ -27,8 +27,9 @@ msgid "" msgstr "" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__action_name -msgid "Action Name" +#: model:ir.model.fields,field_description:mass_editing.field_ir_actions_server__state +#: model:ir.model.fields,field_description:mass_editing.field_ir_cron__state +msgid "Action To Do" msgstr "" #. module: mass_editing @@ -40,14 +41,13 @@ msgstr "" #. module: mass_editing #: model:ir.model.fields,help:mass_editing.field_mass_editing_line__widget_option msgid "" -"Add widget text that will be used to display the field in the wizard. " -"Example :\n" -"'many2many_tags', 'selection'" +"Add widget text that will be used to display the field in the wizard.\n" +"Example: 'many2many_tags', 'selection', 'image'" msgstr "" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__groups_id -msgid "Allowed Groups" +#: model_terms:ir.ui.view,arch_db:mass_editing.view_mass_editing_wizard_form +msgid "Apply" msgstr "" #. module: mass_editing @@ -61,85 +61,93 @@ msgid "Apply domain" msgstr "" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__apply_domain_in_lines +#: model:ir.model.fields,field_description:mass_editing.field_ir_actions_server__mass_edit_apply_domain_in_lines +#: model:ir.model.fields,field_description:mass_editing.field_ir_cron__mass_edit_apply_domain_in_lines msgid "Apply domain in lines" msgstr "" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__create_uid +#: model_terms:ir.ui.view,arch_db:mass_editing.view_mass_editing_wizard_form +msgid "Cancel" +msgstr "" + +#. module: mass_editing #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line__create_uid #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_wizard__create_uid msgid "Created by" msgstr "נוצר על ידי" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__create_date #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line__create_date #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_wizard__create_date msgid "Created on" msgstr "נוצר ב-" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__display_name +#: model:ir.model.fields,field_description:mass_editing.field_ir_actions_server__display_name #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line__display_name #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_wizard__display_name msgid "Display Name" msgstr "השם המוצג" -#. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__domain -msgid "Domain" -msgstr "" - #. module: mass_editing #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line__field_id msgid "Field" msgstr "" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__id +#: model_terms:ir.ui.view,arch_db:mass_editing.view_server_action_form +msgid "Fields" +msgstr "" + +#. module: mass_editing +#: model:ir.model.fields,field_description:mass_editing.field_ir_actions_server__id #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line__id #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_wizard__id msgid "ID" msgstr "מזהה" #. module: mass_editing -#: model:ir.model.fields,help:mass_editing.field_mass_editing__message +#: model:ir.model.fields,help:mass_editing.field_ir_actions_server__mass_edit_message +#: model:ir.model.fields,help:mass_editing.field_ir_cron__mass_edit_message msgid "If set, this message will be displayed in the wizard." msgstr "" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing____last_update +#: model:ir.model.fields,field_description:mass_editing.field_ir_actions_server____last_update #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line____last_update #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_wizard____last_update msgid "Last Modified on" msgstr "תאריך שינוי אחרון" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__write_uid #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line__write_uid #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_wizard__write_uid msgid "Last Updated by" msgstr "עודכן לאחרונה על ידי" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__write_date #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line__write_date #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_wizard__write_date msgid "Last Updated on" msgstr "עודכן לאחרונה על" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__line_ids -msgid "Line" +#: model:ir.actions.server,name:mass_editing.mass_editing_partner +#: model:ir.actions.server,name:mass_editing.mass_editing_partner_title +#: model:ir.actions.server,name:mass_editing.mass_editing_user +msgid "Mass Edit" msgstr "" #. module: mass_editing -#: model:ir.actions.act_window,name:mass_editing.action_mass_editing -#: model:ir.model,name:mass_editing.model_mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line__mass_editing_id -#: model:ir.ui.menu,name:mass_editing.menu_mass_editing -msgid "Mass Editing" +#: model:ir.model.fields,field_description:mass_editing.field_ir_actions_server__mass_edit_line_ids +#: model:ir.model.fields,field_description:mass_editing.field_ir_cron__mass_edit_line_ids +msgid "Mass Edit Line" +msgstr "" + +#. module: mass_editing +#: model:ir.model.fields.selection,name:mass_editing.selection__ir_actions_server__state__mass_edit +msgid "Mass Edit Records" msgstr "" #. module: mass_editing @@ -148,21 +156,34 @@ msgid "Mass Editing Line" msgstr "" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__message +#: code:addons/mass_editing/models/mass_editing_line.py:0 +#, python-format +msgid "Mass edit fields should belong to the server action model." +msgstr "" + +#. module: mass_editing +#: model:ir.model.fields,field_description:mass_editing.field_ir_actions_server__mass_edit_message +#: model:ir.model.fields,field_description:mass_editing.field_ir_cron__mass_edit_message #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_wizard__message +#: model_terms:ir.ui.view,arch_db:mass_editing.view_server_action_form msgid "Message" msgstr "" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__model_id #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line__model_id msgid "Model" msgstr "" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__name -msgid "Name" -msgstr "שם" +#: model:ir.model.fields,help:mass_editing.field_mass_editing_line__model_id +msgid "Model on which the server action runs." +msgstr "" + +#. module: mass_editing +#: code:addons/mass_editing/wizard/mass_editing_wizard.py:0 +#, python-format +msgid "None of the %d record(s) you have selected can be processed." +msgstr "" #. module: mass_editing #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_wizard__operation_description_danger @@ -200,6 +221,12 @@ msgstr "" msgid "Sequence" msgstr "" +#. module: mass_editing +#: model:ir.model,name:mass_editing.model_ir_actions_server +#: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line__server_action_id +msgid "Server Action" +msgstr "" + #. module: mass_editing #: code:addons/mass_editing/wizard/mass_editing_wizard.py:0 #, python-format @@ -207,8 +234,24 @@ msgid "Set" msgstr "" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__ref_ir_act_window_id -msgid "Sidebar Action" +#: code:addons/mass_editing/wizard/mass_editing_wizard.py:0 +#, python-format +msgid "The treatment will be processed on the %d selected record(s)." +msgstr "" + +#. module: mass_editing +#: model:ir.model.fields,help:mass_editing.field_ir_actions_server__state +#: model:ir.model.fields,help:mass_editing.field_ir_cron__state +msgid "" +"Type of server action. The following values are available:\n" +"- 'Execute Python Code': a block of python code that will be executed\n" +"- 'Create': create a new record with new values\n" +"- 'Update a Record': update the values of a record\n" +"- 'Execute several actions': define an action that triggers several other " +"server actions\n" +"- 'Send Email': automatically send an email (Discuss)\n" +"- 'Add Followers': add followers to a record (Discuss)\n" +"- 'Create Next Activity': create an activity (Discuss)" msgstr "" #. module: mass_editing @@ -220,3 +263,14 @@ msgstr "" #: model:ir.model,name:mass_editing.model_mass_editing_wizard msgid "Wizard for mass edition" msgstr "" + +#. module: mass_editing +#: code:addons/mass_editing/wizard/mass_editing_wizard.py:0 +#, python-format +msgid "" +"You have selected %d record(s) that can not be processed.\n" +"Only %d record(s) will be processed." +msgstr "" + +#~ msgid "Name" +#~ msgstr "שם" diff --git a/mass_editing/i18n/hr.po b/mass_editing/i18n/hr.po index 3af435d..ea31ee5 100644 --- a/mass_editing/i18n/hr.po +++ b/mass_editing/i18n/hr.po @@ -21,7 +21,7 @@ msgstr "" "%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2;\n" #. module: mass_editing -#: model_terms:ir.ui.view,arch_db:mass_editing.view_mass_editing_form +#: model_terms:ir.ui.view,arch_db:mass_editing.view_server_action_form msgid "" "WARNING: Take into account that adding a field with a domain, and not " "including the fields of such domain in this operation definition, will lead " @@ -29,8 +29,9 @@ msgid "" msgstr "" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__action_name -msgid "Action Name" +#: model:ir.model.fields,field_description:mass_editing.field_ir_actions_server__state +#: model:ir.model.fields,field_description:mass_editing.field_ir_cron__state +msgid "Action To Do" msgstr "" #. module: mass_editing @@ -42,14 +43,13 @@ msgstr "" #. module: mass_editing #: model:ir.model.fields,help:mass_editing.field_mass_editing_line__widget_option msgid "" -"Add widget text that will be used to display the field in the wizard. " -"Example :\n" -"'many2many_tags', 'selection'" +"Add widget text that will be used to display the field in the wizard.\n" +"Example: 'many2many_tags', 'selection', 'image'" msgstr "" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__groups_id -msgid "Allowed Groups" +#: model_terms:ir.ui.view,arch_db:mass_editing.view_mass_editing_wizard_form +msgid "Apply" msgstr "" #. module: mass_editing @@ -63,36 +63,35 @@ msgid "Apply domain" msgstr "" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__apply_domain_in_lines +#: model:ir.model.fields,field_description:mass_editing.field_ir_actions_server__mass_edit_apply_domain_in_lines +#: model:ir.model.fields,field_description:mass_editing.field_ir_cron__mass_edit_apply_domain_in_lines msgid "Apply domain in lines" msgstr "" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__create_uid +#: model_terms:ir.ui.view,arch_db:mass_editing.view_mass_editing_wizard_form +msgid "Cancel" +msgstr "" + +#. module: mass_editing #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line__create_uid #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_wizard__create_uid msgid "Created by" msgstr "Kreirao" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__create_date #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line__create_date #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_wizard__create_date msgid "Created on" msgstr "Kreirano " #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__display_name +#: model:ir.model.fields,field_description:mass_editing.field_ir_actions_server__display_name #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line__display_name #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_wizard__display_name msgid "Display Name" msgstr "Prikaži naziv" -#. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__domain -msgid "Domain" -msgstr "" - #. module: mass_editing #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line__field_id #, fuzzy @@ -100,50 +99,59 @@ msgid "Field" msgstr "Polja" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__id +#: model_terms:ir.ui.view,arch_db:mass_editing.view_server_action_form +msgid "Fields" +msgstr "" + +#. module: mass_editing +#: model:ir.model.fields,field_description:mass_editing.field_ir_actions_server__id #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line__id #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_wizard__id msgid "ID" msgstr "ID" #. module: mass_editing -#: model:ir.model.fields,help:mass_editing.field_mass_editing__message +#: model:ir.model.fields,help:mass_editing.field_ir_actions_server__mass_edit_message +#: model:ir.model.fields,help:mass_editing.field_ir_cron__mass_edit_message msgid "If set, this message will be displayed in the wizard." msgstr "" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing____last_update +#: model:ir.model.fields,field_description:mass_editing.field_ir_actions_server____last_update #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line____last_update #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_wizard____last_update msgid "Last Modified on" msgstr "Zadnja izmjena na" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__write_uid #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line__write_uid #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_wizard__write_uid msgid "Last Updated by" msgstr "Zadnje ažuriranje izvršio" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__write_date #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line__write_date #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_wizard__write_date msgid "Last Updated on" msgstr "Zadnje ažuriranje na" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__line_ids -msgid "Line" +#: model:ir.actions.server,name:mass_editing.mass_editing_partner +#: model:ir.actions.server,name:mass_editing.mass_editing_partner_title +#: model:ir.actions.server,name:mass_editing.mass_editing_user +msgid "Mass Edit" msgstr "" #. module: mass_editing -#: model:ir.actions.act_window,name:mass_editing.action_mass_editing -#: model:ir.model,name:mass_editing.model_mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line__mass_editing_id -#: model:ir.ui.menu,name:mass_editing.menu_mass_editing -msgid "Mass Editing" -msgstr "Grupno uređivanje" +#: model:ir.model.fields,field_description:mass_editing.field_ir_actions_server__mass_edit_line_ids +#: model:ir.model.fields,field_description:mass_editing.field_ir_cron__mass_edit_line_ids +msgid "Mass Edit Line" +msgstr "" + +#. module: mass_editing +#: model:ir.model.fields.selection,name:mass_editing.selection__ir_actions_server__state__mass_edit +msgid "Mass Edit Records" +msgstr "" #. module: mass_editing #: model:ir.model,name:mass_editing.model_mass_editing_line @@ -152,21 +160,34 @@ msgid "Mass Editing Line" msgstr "Grupno uređivanje" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__message +#: code:addons/mass_editing/models/mass_editing_line.py:0 +#, python-format +msgid "Mass edit fields should belong to the server action model." +msgstr "" + +#. module: mass_editing +#: model:ir.model.fields,field_description:mass_editing.field_ir_actions_server__mass_edit_message +#: model:ir.model.fields,field_description:mass_editing.field_ir_cron__mass_edit_message #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_wizard__message +#: model_terms:ir.ui.view,arch_db:mass_editing.view_server_action_form msgid "Message" msgstr "" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__model_id #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line__model_id msgid "Model" msgstr "Model" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__name -msgid "Name" -msgstr "Naziv" +#: model:ir.model.fields,help:mass_editing.field_mass_editing_line__model_id +msgid "Model on which the server action runs." +msgstr "" + +#. module: mass_editing +#: code:addons/mass_editing/wizard/mass_editing_wizard.py:0 +#, python-format +msgid "None of the %d record(s) you have selected can be processed." +msgstr "" #. module: mass_editing #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_wizard__operation_description_danger @@ -204,6 +225,12 @@ msgstr "" msgid "Sequence" msgstr "" +#. module: mass_editing +#: model:ir.model,name:mass_editing.model_ir_actions_server +#: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line__server_action_id +msgid "Server Action" +msgstr "" + #. module: mass_editing #: code:addons/mass_editing/wizard/mass_editing_wizard.py:0 #, python-format @@ -211,10 +238,25 @@ msgid "Set" msgstr "" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__ref_ir_act_window_id -#, fuzzy -msgid "Sidebar Action" -msgstr "Akcija bočnog izbornika" +#: code:addons/mass_editing/wizard/mass_editing_wizard.py:0 +#, python-format +msgid "The treatment will be processed on the %d selected record(s)." +msgstr "" + +#. module: mass_editing +#: model:ir.model.fields,help:mass_editing.field_ir_actions_server__state +#: model:ir.model.fields,help:mass_editing.field_ir_cron__state +msgid "" +"Type of server action. The following values are available:\n" +"- 'Execute Python Code': a block of python code that will be executed\n" +"- 'Create': create a new record with new values\n" +"- 'Update a Record': update the values of a record\n" +"- 'Execute several actions': define an action that triggers several other " +"server actions\n" +"- 'Send Email': automatically send an email (Discuss)\n" +"- 'Add Followers': add followers to a record (Discuss)\n" +"- 'Create Next Activity': create an activity (Discuss)" +msgstr "" #. module: mass_editing #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line__widget_option @@ -226,6 +268,24 @@ msgstr "" msgid "Wizard for mass edition" msgstr "" +#. module: mass_editing +#: code:addons/mass_editing/wizard/mass_editing_wizard.py:0 +#, python-format +msgid "" +"You have selected %d record(s) that can not be processed.\n" +"Only %d record(s) will be processed." +msgstr "" + +#~ msgid "Mass Editing" +#~ msgstr "Grupno uređivanje" + +#~ msgid "Name" +#~ msgstr "Naziv" + +#, fuzzy +#~ msgid "Sidebar Action" +#~ msgstr "Akcija bočnog izbornika" + #~ msgid "%s (copy)" #~ msgstr "%s (kopija)" diff --git a/mass_editing/i18n/hr_HR.po b/mass_editing/i18n/hr_HR.po index 051af1f..6835586 100644 --- a/mass_editing/i18n/hr_HR.po +++ b/mass_editing/i18n/hr_HR.po @@ -21,7 +21,7 @@ msgstr "" "%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2;\n" #. module: mass_editing -#: model_terms:ir.ui.view,arch_db:mass_editing.view_mass_editing_form +#: model_terms:ir.ui.view,arch_db:mass_editing.view_server_action_form msgid "" "WARNING: Take into account that adding a field with a domain, and not " "including the fields of such domain in this operation definition, will lead " @@ -29,8 +29,9 @@ msgid "" msgstr "" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__action_name -msgid "Action Name" +#: model:ir.model.fields,field_description:mass_editing.field_ir_actions_server__state +#: model:ir.model.fields,field_description:mass_editing.field_ir_cron__state +msgid "Action To Do" msgstr "" #. module: mass_editing @@ -42,14 +43,13 @@ msgstr "" #. module: mass_editing #: model:ir.model.fields,help:mass_editing.field_mass_editing_line__widget_option msgid "" -"Add widget text that will be used to display the field in the wizard. " -"Example :\n" -"'many2many_tags', 'selection'" +"Add widget text that will be used to display the field in the wizard.\n" +"Example: 'many2many_tags', 'selection', 'image'" msgstr "" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__groups_id -msgid "Allowed Groups" +#: model_terms:ir.ui.view,arch_db:mass_editing.view_mass_editing_wizard_form +msgid "Apply" msgstr "" #. module: mass_editing @@ -63,85 +63,93 @@ msgid "Apply domain" msgstr "" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__apply_domain_in_lines +#: model:ir.model.fields,field_description:mass_editing.field_ir_actions_server__mass_edit_apply_domain_in_lines +#: model:ir.model.fields,field_description:mass_editing.field_ir_cron__mass_edit_apply_domain_in_lines msgid "Apply domain in lines" msgstr "" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__create_uid +#: model_terms:ir.ui.view,arch_db:mass_editing.view_mass_editing_wizard_form +msgid "Cancel" +msgstr "" + +#. module: mass_editing #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line__create_uid #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_wizard__create_uid msgid "Created by" msgstr "Kreirao" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__create_date #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line__create_date #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_wizard__create_date msgid "Created on" msgstr "Kreirano" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__display_name +#: model:ir.model.fields,field_description:mass_editing.field_ir_actions_server__display_name #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line__display_name #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_wizard__display_name msgid "Display Name" msgstr "Naziv" -#. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__domain -msgid "Domain" -msgstr "" - #. module: mass_editing #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line__field_id msgid "Field" msgstr "" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__id +#: model_terms:ir.ui.view,arch_db:mass_editing.view_server_action_form +msgid "Fields" +msgstr "" + +#. module: mass_editing +#: model:ir.model.fields,field_description:mass_editing.field_ir_actions_server__id #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line__id #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_wizard__id msgid "ID" msgstr "ID" #. module: mass_editing -#: model:ir.model.fields,help:mass_editing.field_mass_editing__message +#: model:ir.model.fields,help:mass_editing.field_ir_actions_server__mass_edit_message +#: model:ir.model.fields,help:mass_editing.field_ir_cron__mass_edit_message msgid "If set, this message will be displayed in the wizard." msgstr "" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing____last_update +#: model:ir.model.fields,field_description:mass_editing.field_ir_actions_server____last_update #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line____last_update #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_wizard____last_update msgid "Last Modified on" msgstr "Zadnje modificirano" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__write_uid #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line__write_uid #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_wizard__write_uid msgid "Last Updated by" msgstr "Zadnje ažurirao" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__write_date #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line__write_date #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_wizard__write_date msgid "Last Updated on" msgstr "Zadnje ažurirano" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__line_ids -msgid "Line" +#: model:ir.actions.server,name:mass_editing.mass_editing_partner +#: model:ir.actions.server,name:mass_editing.mass_editing_partner_title +#: model:ir.actions.server,name:mass_editing.mass_editing_user +msgid "Mass Edit" msgstr "" #. module: mass_editing -#: model:ir.actions.act_window,name:mass_editing.action_mass_editing -#: model:ir.model,name:mass_editing.model_mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line__mass_editing_id -#: model:ir.ui.menu,name:mass_editing.menu_mass_editing -msgid "Mass Editing" +#: model:ir.model.fields,field_description:mass_editing.field_ir_actions_server__mass_edit_line_ids +#: model:ir.model.fields,field_description:mass_editing.field_ir_cron__mass_edit_line_ids +msgid "Mass Edit Line" +msgstr "" + +#. module: mass_editing +#: model:ir.model.fields.selection,name:mass_editing.selection__ir_actions_server__state__mass_edit +msgid "Mass Edit Records" msgstr "" #. module: mass_editing @@ -150,21 +158,34 @@ msgid "Mass Editing Line" msgstr "" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__message +#: code:addons/mass_editing/models/mass_editing_line.py:0 +#, python-format +msgid "Mass edit fields should belong to the server action model." +msgstr "" + +#. module: mass_editing +#: model:ir.model.fields,field_description:mass_editing.field_ir_actions_server__mass_edit_message +#: model:ir.model.fields,field_description:mass_editing.field_ir_cron__mass_edit_message #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_wizard__message +#: model_terms:ir.ui.view,arch_db:mass_editing.view_server_action_form msgid "Message" msgstr "" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__model_id #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line__model_id msgid "Model" msgstr "" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__name -msgid "Name" -msgstr "Naziv" +#: model:ir.model.fields,help:mass_editing.field_mass_editing_line__model_id +msgid "Model on which the server action runs." +msgstr "" + +#. module: mass_editing +#: code:addons/mass_editing/wizard/mass_editing_wizard.py:0 +#, python-format +msgid "None of the %d record(s) you have selected can be processed." +msgstr "" #. module: mass_editing #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_wizard__operation_description_danger @@ -202,6 +223,12 @@ msgstr "" msgid "Sequence" msgstr "" +#. module: mass_editing +#: model:ir.model,name:mass_editing.model_ir_actions_server +#: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line__server_action_id +msgid "Server Action" +msgstr "" + #. module: mass_editing #: code:addons/mass_editing/wizard/mass_editing_wizard.py:0 #, python-format @@ -209,8 +236,24 @@ msgid "Set" msgstr "" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__ref_ir_act_window_id -msgid "Sidebar Action" +#: code:addons/mass_editing/wizard/mass_editing_wizard.py:0 +#, python-format +msgid "The treatment will be processed on the %d selected record(s)." +msgstr "" + +#. module: mass_editing +#: model:ir.model.fields,help:mass_editing.field_ir_actions_server__state +#: model:ir.model.fields,help:mass_editing.field_ir_cron__state +msgid "" +"Type of server action. The following values are available:\n" +"- 'Execute Python Code': a block of python code that will be executed\n" +"- 'Create': create a new record with new values\n" +"- 'Update a Record': update the values of a record\n" +"- 'Execute several actions': define an action that triggers several other " +"server actions\n" +"- 'Send Email': automatically send an email (Discuss)\n" +"- 'Add Followers': add followers to a record (Discuss)\n" +"- 'Create Next Activity': create an activity (Discuss)" msgstr "" #. module: mass_editing @@ -222,3 +265,14 @@ msgstr "" #: model:ir.model,name:mass_editing.model_mass_editing_wizard msgid "Wizard for mass edition" msgstr "" + +#. module: mass_editing +#: code:addons/mass_editing/wizard/mass_editing_wizard.py:0 +#, python-format +msgid "" +"You have selected %d record(s) that can not be processed.\n" +"Only %d record(s) will be processed." +msgstr "" + +#~ msgid "Name" +#~ msgstr "Naziv" diff --git a/mass_editing/i18n/hu.po b/mass_editing/i18n/hu.po index 076e9a0..f1e5693 100644 --- a/mass_editing/i18n/hu.po +++ b/mass_editing/i18n/hu.po @@ -19,7 +19,7 @@ msgstr "" "Plural-Forms: nplurals=2; plural=(n != 1);\n" #. module: mass_editing -#: model_terms:ir.ui.view,arch_db:mass_editing.view_mass_editing_form +#: model_terms:ir.ui.view,arch_db:mass_editing.view_server_action_form msgid "" "WARNING: Take into account that adding a field with a domain, and not " "including the fields of such domain in this operation definition, will lead " @@ -27,8 +27,9 @@ msgid "" msgstr "" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__action_name -msgid "Action Name" +#: model:ir.model.fields,field_description:mass_editing.field_ir_actions_server__state +#: model:ir.model.fields,field_description:mass_editing.field_ir_cron__state +msgid "Action To Do" msgstr "" #. module: mass_editing @@ -40,14 +41,13 @@ msgstr "" #. module: mass_editing #: model:ir.model.fields,help:mass_editing.field_mass_editing_line__widget_option msgid "" -"Add widget text that will be used to display the field in the wizard. " -"Example :\n" -"'many2many_tags', 'selection'" +"Add widget text that will be used to display the field in the wizard.\n" +"Example: 'many2many_tags', 'selection', 'image'" msgstr "" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__groups_id -msgid "Allowed Groups" +#: model_terms:ir.ui.view,arch_db:mass_editing.view_mass_editing_wizard_form +msgid "Apply" msgstr "" #. module: mass_editing @@ -61,85 +61,93 @@ msgid "Apply domain" msgstr "" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__apply_domain_in_lines +#: model:ir.model.fields,field_description:mass_editing.field_ir_actions_server__mass_edit_apply_domain_in_lines +#: model:ir.model.fields,field_description:mass_editing.field_ir_cron__mass_edit_apply_domain_in_lines msgid "Apply domain in lines" msgstr "" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__create_uid +#: model_terms:ir.ui.view,arch_db:mass_editing.view_mass_editing_wizard_form +msgid "Cancel" +msgstr "" + +#. module: mass_editing #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line__create_uid #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_wizard__create_uid msgid "Created by" msgstr "Készítette" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__create_date #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line__create_date #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_wizard__create_date msgid "Created on" msgstr "Létrehozás dátuma" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__display_name +#: model:ir.model.fields,field_description:mass_editing.field_ir_actions_server__display_name #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line__display_name #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_wizard__display_name msgid "Display Name" msgstr "Név megjelenítése" -#. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__domain -msgid "Domain" -msgstr "" - #. module: mass_editing #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line__field_id msgid "Field" msgstr "" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__id +#: model_terms:ir.ui.view,arch_db:mass_editing.view_server_action_form +msgid "Fields" +msgstr "" + +#. module: mass_editing +#: model:ir.model.fields,field_description:mass_editing.field_ir_actions_server__id #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line__id #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_wizard__id msgid "ID" msgstr "Azonosító ID" #. module: mass_editing -#: model:ir.model.fields,help:mass_editing.field_mass_editing__message +#: model:ir.model.fields,help:mass_editing.field_ir_actions_server__mass_edit_message +#: model:ir.model.fields,help:mass_editing.field_ir_cron__mass_edit_message msgid "If set, this message will be displayed in the wizard." msgstr "" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing____last_update +#: model:ir.model.fields,field_description:mass_editing.field_ir_actions_server____last_update #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line____last_update #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_wizard____last_update msgid "Last Modified on" msgstr "Utolsó frissítés dátuma" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__write_uid #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line__write_uid #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_wizard__write_uid msgid "Last Updated by" msgstr "Utoljára frissítve, által" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__write_date #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line__write_date #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_wizard__write_date msgid "Last Updated on" msgstr "Utoljára frissítve ekkor" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__line_ids -msgid "Line" +#: model:ir.actions.server,name:mass_editing.mass_editing_partner +#: model:ir.actions.server,name:mass_editing.mass_editing_partner_title +#: model:ir.actions.server,name:mass_editing.mass_editing_user +msgid "Mass Edit" msgstr "" #. module: mass_editing -#: model:ir.actions.act_window,name:mass_editing.action_mass_editing -#: model:ir.model,name:mass_editing.model_mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line__mass_editing_id -#: model:ir.ui.menu,name:mass_editing.menu_mass_editing -msgid "Mass Editing" +#: model:ir.model.fields,field_description:mass_editing.field_ir_actions_server__mass_edit_line_ids +#: model:ir.model.fields,field_description:mass_editing.field_ir_cron__mass_edit_line_ids +msgid "Mass Edit Line" +msgstr "" + +#. module: mass_editing +#: model:ir.model.fields.selection,name:mass_editing.selection__ir_actions_server__state__mass_edit +msgid "Mass Edit Records" msgstr "" #. module: mass_editing @@ -148,21 +156,34 @@ msgid "Mass Editing Line" msgstr "" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__message +#: code:addons/mass_editing/models/mass_editing_line.py:0 +#, python-format +msgid "Mass edit fields should belong to the server action model." +msgstr "" + +#. module: mass_editing +#: model:ir.model.fields,field_description:mass_editing.field_ir_actions_server__mass_edit_message +#: model:ir.model.fields,field_description:mass_editing.field_ir_cron__mass_edit_message #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_wizard__message +#: model_terms:ir.ui.view,arch_db:mass_editing.view_server_action_form msgid "Message" msgstr "" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__model_id #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line__model_id msgid "Model" msgstr "Modell, minta" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__name -msgid "Name" -msgstr "Név" +#: model:ir.model.fields,help:mass_editing.field_mass_editing_line__model_id +msgid "Model on which the server action runs." +msgstr "" + +#. module: mass_editing +#: code:addons/mass_editing/wizard/mass_editing_wizard.py:0 +#, python-format +msgid "None of the %d record(s) you have selected can be processed." +msgstr "" #. module: mass_editing #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_wizard__operation_description_danger @@ -200,6 +221,12 @@ msgstr "" msgid "Sequence" msgstr "" +#. module: mass_editing +#: model:ir.model,name:mass_editing.model_ir_actions_server +#: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line__server_action_id +msgid "Server Action" +msgstr "" + #. module: mass_editing #: code:addons/mass_editing/wizard/mass_editing_wizard.py:0 #, python-format @@ -207,8 +234,24 @@ msgid "Set" msgstr "" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__ref_ir_act_window_id -msgid "Sidebar Action" +#: code:addons/mass_editing/wizard/mass_editing_wizard.py:0 +#, python-format +msgid "The treatment will be processed on the %d selected record(s)." +msgstr "" + +#. module: mass_editing +#: model:ir.model.fields,help:mass_editing.field_ir_actions_server__state +#: model:ir.model.fields,help:mass_editing.field_ir_cron__state +msgid "" +"Type of server action. The following values are available:\n" +"- 'Execute Python Code': a block of python code that will be executed\n" +"- 'Create': create a new record with new values\n" +"- 'Update a Record': update the values of a record\n" +"- 'Execute several actions': define an action that triggers several other " +"server actions\n" +"- 'Send Email': automatically send an email (Discuss)\n" +"- 'Add Followers': add followers to a record (Discuss)\n" +"- 'Create Next Activity': create an activity (Discuss)" msgstr "" #. module: mass_editing @@ -220,3 +263,14 @@ msgstr "" #: model:ir.model,name:mass_editing.model_mass_editing_wizard msgid "Wizard for mass edition" msgstr "" + +#. module: mass_editing +#: code:addons/mass_editing/wizard/mass_editing_wizard.py:0 +#, python-format +msgid "" +"You have selected %d record(s) that can not be processed.\n" +"Only %d record(s) will be processed." +msgstr "" + +#~ msgid "Name" +#~ msgstr "Név" diff --git a/mass_editing/i18n/id.po b/mass_editing/i18n/id.po index 7d63ee3..c8be685 100644 --- a/mass_editing/i18n/id.po +++ b/mass_editing/i18n/id.po @@ -19,7 +19,7 @@ msgstr "" "Plural-Forms: nplurals=1; plural=0;\n" #. module: mass_editing -#: model_terms:ir.ui.view,arch_db:mass_editing.view_mass_editing_form +#: model_terms:ir.ui.view,arch_db:mass_editing.view_server_action_form msgid "" "WARNING: Take into account that adding a field with a domain, and not " "including the fields of such domain in this operation definition, will lead " @@ -27,8 +27,9 @@ msgid "" msgstr "" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__action_name -msgid "Action Name" +#: model:ir.model.fields,field_description:mass_editing.field_ir_actions_server__state +#: model:ir.model.fields,field_description:mass_editing.field_ir_cron__state +msgid "Action To Do" msgstr "" #. module: mass_editing @@ -40,14 +41,13 @@ msgstr "" #. module: mass_editing #: model:ir.model.fields,help:mass_editing.field_mass_editing_line__widget_option msgid "" -"Add widget text that will be used to display the field in the wizard. " -"Example :\n" -"'many2many_tags', 'selection'" +"Add widget text that will be used to display the field in the wizard.\n" +"Example: 'many2many_tags', 'selection', 'image'" msgstr "" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__groups_id -msgid "Allowed Groups" +#: model_terms:ir.ui.view,arch_db:mass_editing.view_mass_editing_wizard_form +msgid "Apply" msgstr "" #. module: mass_editing @@ -61,85 +61,93 @@ msgid "Apply domain" msgstr "" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__apply_domain_in_lines +#: model:ir.model.fields,field_description:mass_editing.field_ir_actions_server__mass_edit_apply_domain_in_lines +#: model:ir.model.fields,field_description:mass_editing.field_ir_cron__mass_edit_apply_domain_in_lines msgid "Apply domain in lines" msgstr "" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__create_uid +#: model_terms:ir.ui.view,arch_db:mass_editing.view_mass_editing_wizard_form +msgid "Cancel" +msgstr "" + +#. module: mass_editing #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line__create_uid #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_wizard__create_uid msgid "Created by" msgstr "Dibuat oleh" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__create_date #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line__create_date #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_wizard__create_date msgid "Created on" msgstr "Dibuat pada" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__display_name +#: model:ir.model.fields,field_description:mass_editing.field_ir_actions_server__display_name #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line__display_name #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_wizard__display_name msgid "Display Name" msgstr "Nama Tampilan" -#. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__domain -msgid "Domain" -msgstr "" - #. module: mass_editing #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line__field_id msgid "Field" msgstr "" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__id +#: model_terms:ir.ui.view,arch_db:mass_editing.view_server_action_form +msgid "Fields" +msgstr "" + +#. module: mass_editing +#: model:ir.model.fields,field_description:mass_editing.field_ir_actions_server__id #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line__id #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_wizard__id msgid "ID" msgstr "ID" #. module: mass_editing -#: model:ir.model.fields,help:mass_editing.field_mass_editing__message +#: model:ir.model.fields,help:mass_editing.field_ir_actions_server__mass_edit_message +#: model:ir.model.fields,help:mass_editing.field_ir_cron__mass_edit_message msgid "If set, this message will be displayed in the wizard." msgstr "" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing____last_update +#: model:ir.model.fields,field_description:mass_editing.field_ir_actions_server____last_update #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line____last_update #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_wizard____last_update msgid "Last Modified on" msgstr "Terakhir Dimodifikasi pada" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__write_uid #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line__write_uid #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_wizard__write_uid msgid "Last Updated by" msgstr "Diperbaharui oleh" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__write_date #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line__write_date #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_wizard__write_date msgid "Last Updated on" msgstr "Diperbaharui pada" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__line_ids -msgid "Line" +#: model:ir.actions.server,name:mass_editing.mass_editing_partner +#: model:ir.actions.server,name:mass_editing.mass_editing_partner_title +#: model:ir.actions.server,name:mass_editing.mass_editing_user +msgid "Mass Edit" msgstr "" #. module: mass_editing -#: model:ir.actions.act_window,name:mass_editing.action_mass_editing -#: model:ir.model,name:mass_editing.model_mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line__mass_editing_id -#: model:ir.ui.menu,name:mass_editing.menu_mass_editing -msgid "Mass Editing" +#: model:ir.model.fields,field_description:mass_editing.field_ir_actions_server__mass_edit_line_ids +#: model:ir.model.fields,field_description:mass_editing.field_ir_cron__mass_edit_line_ids +msgid "Mass Edit Line" +msgstr "" + +#. module: mass_editing +#: model:ir.model.fields.selection,name:mass_editing.selection__ir_actions_server__state__mass_edit +msgid "Mass Edit Records" msgstr "" #. module: mass_editing @@ -148,21 +156,34 @@ msgid "Mass Editing Line" msgstr "" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__message +#: code:addons/mass_editing/models/mass_editing_line.py:0 +#, python-format +msgid "Mass edit fields should belong to the server action model." +msgstr "" + +#. module: mass_editing +#: model:ir.model.fields,field_description:mass_editing.field_ir_actions_server__mass_edit_message +#: model:ir.model.fields,field_description:mass_editing.field_ir_cron__mass_edit_message #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_wizard__message +#: model_terms:ir.ui.view,arch_db:mass_editing.view_server_action_form msgid "Message" msgstr "" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__model_id #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line__model_id msgid "Model" msgstr "" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__name -msgid "Name" -msgstr "Nama" +#: model:ir.model.fields,help:mass_editing.field_mass_editing_line__model_id +msgid "Model on which the server action runs." +msgstr "" + +#. module: mass_editing +#: code:addons/mass_editing/wizard/mass_editing_wizard.py:0 +#, python-format +msgid "None of the %d record(s) you have selected can be processed." +msgstr "" #. module: mass_editing #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_wizard__operation_description_danger @@ -200,6 +221,12 @@ msgstr "" msgid "Sequence" msgstr "" +#. module: mass_editing +#: model:ir.model,name:mass_editing.model_ir_actions_server +#: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line__server_action_id +msgid "Server Action" +msgstr "" + #. module: mass_editing #: code:addons/mass_editing/wizard/mass_editing_wizard.py:0 #, python-format @@ -207,8 +234,24 @@ msgid "Set" msgstr "" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__ref_ir_act_window_id -msgid "Sidebar Action" +#: code:addons/mass_editing/wizard/mass_editing_wizard.py:0 +#, python-format +msgid "The treatment will be processed on the %d selected record(s)." +msgstr "" + +#. module: mass_editing +#: model:ir.model.fields,help:mass_editing.field_ir_actions_server__state +#: model:ir.model.fields,help:mass_editing.field_ir_cron__state +msgid "" +"Type of server action. The following values are available:\n" +"- 'Execute Python Code': a block of python code that will be executed\n" +"- 'Create': create a new record with new values\n" +"- 'Update a Record': update the values of a record\n" +"- 'Execute several actions': define an action that triggers several other " +"server actions\n" +"- 'Send Email': automatically send an email (Discuss)\n" +"- 'Add Followers': add followers to a record (Discuss)\n" +"- 'Create Next Activity': create an activity (Discuss)" msgstr "" #. module: mass_editing @@ -220,3 +263,14 @@ msgstr "" #: model:ir.model,name:mass_editing.model_mass_editing_wizard msgid "Wizard for mass edition" msgstr "" + +#. module: mass_editing +#: code:addons/mass_editing/wizard/mass_editing_wizard.py:0 +#, python-format +msgid "" +"You have selected %d record(s) that can not be processed.\n" +"Only %d record(s) will be processed." +msgstr "" + +#~ msgid "Name" +#~ msgstr "Nama" diff --git a/mass_editing/i18n/it.po b/mass_editing/i18n/it.po index f4b3cad..ea0285f 100644 --- a/mass_editing/i18n/it.po +++ b/mass_editing/i18n/it.po @@ -20,7 +20,7 @@ msgstr "" "X-Generator: Weblate 4.3.2\n" #. module: mass_editing -#: model_terms:ir.ui.view,arch_db:mass_editing.view_mass_editing_form +#: model_terms:ir.ui.view,arch_db:mass_editing.view_server_action_form msgid "" "WARNING: Take into account that adding a field with a domain, and not " "including the fields of such domain in this operation definition, will lead " @@ -31,9 +31,10 @@ msgstr "" "errore quando si cercherà di eseguirlo. Accertati di includerli." #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__action_name -msgid "Action Name" -msgstr "Nome Azione" +#: model:ir.model.fields,field_description:mass_editing.field_ir_actions_server__state +#: model:ir.model.fields,field_description:mass_editing.field_ir_cron__state +msgid "Action To Do" +msgstr "" #. module: mass_editing #: code:addons/mass_editing/wizard/mass_editing_wizard.py:0 @@ -44,18 +45,14 @@ msgstr "Aggiungi" #. module: mass_editing #: model:ir.model.fields,help:mass_editing.field_mass_editing_line__widget_option msgid "" -"Add widget text that will be used to display the field in the wizard. " -"Example :\n" -"'many2many_tags', 'selection'" +"Add widget text that will be used to display the field in the wizard.\n" +"Example: 'many2many_tags', 'selection', 'image'" msgstr "" -"Aggiungi il tipo di widget che sarà usato per mostrare il campo nel wizard. " -"Esempio:\n" -"'many2many_tags', 'selection'" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__groups_id -msgid "Allowed Groups" -msgstr "Gruppi Consentiti" +#: model_terms:ir.ui.view,arch_db:mass_editing.view_mass_editing_wizard_form +msgid "Apply" +msgstr "" #. module: mass_editing #: model:ir.model.fields,help:mass_editing.field_mass_editing_line__apply_domain @@ -68,86 +65,94 @@ msgid "Apply domain" msgstr "Applica dominio" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__apply_domain_in_lines +#: model:ir.model.fields,field_description:mass_editing.field_ir_actions_server__mass_edit_apply_domain_in_lines +#: model:ir.model.fields,field_description:mass_editing.field_ir_cron__mass_edit_apply_domain_in_lines msgid "Apply domain in lines" msgstr "Applica dominio alle righe" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__create_uid +#: model_terms:ir.ui.view,arch_db:mass_editing.view_mass_editing_wizard_form +msgid "Cancel" +msgstr "" + +#. module: mass_editing #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line__create_uid #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_wizard__create_uid msgid "Created by" msgstr "Creato da" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__create_date #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line__create_date #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_wizard__create_date msgid "Created on" msgstr "Creato il" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__display_name +#: model:ir.model.fields,field_description:mass_editing.field_ir_actions_server__display_name #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line__display_name #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_wizard__display_name msgid "Display Name" msgstr "Nome visualizzato" -#. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__domain -msgid "Domain" -msgstr "Dominio" - #. module: mass_editing #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line__field_id msgid "Field" msgstr "Campo" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__id +#: model_terms:ir.ui.view,arch_db:mass_editing.view_server_action_form +msgid "Fields" +msgstr "" + +#. module: mass_editing +#: model:ir.model.fields,field_description:mass_editing.field_ir_actions_server__id #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line__id #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_wizard__id msgid "ID" msgstr "ID" #. module: mass_editing -#: model:ir.model.fields,help:mass_editing.field_mass_editing__message +#: model:ir.model.fields,help:mass_editing.field_ir_actions_server__mass_edit_message +#: model:ir.model.fields,help:mass_editing.field_ir_cron__mass_edit_message msgid "If set, this message will be displayed in the wizard." msgstr "Se impostato, questo messaggio sarà mostrato nel wizard." #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing____last_update +#: model:ir.model.fields,field_description:mass_editing.field_ir_actions_server____last_update #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line____last_update #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_wizard____last_update msgid "Last Modified on" msgstr "Ultima modifica il" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__write_uid #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line__write_uid #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_wizard__write_uid msgid "Last Updated by" msgstr "Ultimo aggiornamento di" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__write_date #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line__write_date #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_wizard__write_date msgid "Last Updated on" msgstr "Ultimo aggiornamento il" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__line_ids -msgid "Line" -msgstr "Linea" +#: model:ir.actions.server,name:mass_editing.mass_editing_partner +#: model:ir.actions.server,name:mass_editing.mass_editing_partner_title +#: model:ir.actions.server,name:mass_editing.mass_editing_user +msgid "Mass Edit" +msgstr "" #. module: mass_editing -#: model:ir.actions.act_window,name:mass_editing.action_mass_editing -#: model:ir.model,name:mass_editing.model_mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line__mass_editing_id -#: model:ir.ui.menu,name:mass_editing.menu_mass_editing -msgid "Mass Editing" -msgstr "Modifiche massive" +#: model:ir.model.fields,field_description:mass_editing.field_ir_actions_server__mass_edit_line_ids +#: model:ir.model.fields,field_description:mass_editing.field_ir_cron__mass_edit_line_ids +msgid "Mass Edit Line" +msgstr "" + +#. module: mass_editing +#: model:ir.model.fields.selection,name:mass_editing.selection__ir_actions_server__state__mass_edit +msgid "Mass Edit Records" +msgstr "" #. module: mass_editing #: model:ir.model,name:mass_editing.model_mass_editing_line @@ -155,21 +160,34 @@ msgid "Mass Editing Line" msgstr "Riga Modifiche massive" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__message +#: code:addons/mass_editing/models/mass_editing_line.py:0 +#, python-format +msgid "Mass edit fields should belong to the server action model." +msgstr "" + +#. module: mass_editing +#: model:ir.model.fields,field_description:mass_editing.field_ir_actions_server__mass_edit_message +#: model:ir.model.fields,field_description:mass_editing.field_ir_cron__mass_edit_message #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_wizard__message +#: model_terms:ir.ui.view,arch_db:mass_editing.view_server_action_form msgid "Message" msgstr "Messaggio" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__model_id #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line__model_id msgid "Model" msgstr "Modello" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__name -msgid "Name" -msgstr "Nome" +#: model:ir.model.fields,help:mass_editing.field_mass_editing_line__model_id +msgid "Model on which the server action runs." +msgstr "" + +#. module: mass_editing +#: code:addons/mass_editing/wizard/mass_editing_wizard.py:0 +#, python-format +msgid "None of the %d record(s) you have selected can be processed." +msgstr "" #. module: mass_editing #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_wizard__operation_description_danger @@ -207,6 +225,12 @@ msgstr "Qta Elementi Selezionati" msgid "Sequence" msgstr "Sequenza" +#. module: mass_editing +#: model:ir.model,name:mass_editing.model_ir_actions_server +#: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line__server_action_id +msgid "Server Action" +msgstr "" + #. module: mass_editing #: code:addons/mass_editing/wizard/mass_editing_wizard.py:0 #, python-format @@ -214,9 +238,25 @@ msgid "Set" msgstr "Imposta" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__ref_ir_act_window_id -msgid "Sidebar Action" -msgstr "Azione Pulsante Menù" +#: code:addons/mass_editing/wizard/mass_editing_wizard.py:0 +#, python-format +msgid "The treatment will be processed on the %d selected record(s)." +msgstr "" + +#. module: mass_editing +#: model:ir.model.fields,help:mass_editing.field_ir_actions_server__state +#: model:ir.model.fields,help:mass_editing.field_ir_cron__state +msgid "" +"Type of server action. The following values are available:\n" +"- 'Execute Python Code': a block of python code that will be executed\n" +"- 'Create': create a new record with new values\n" +"- 'Update a Record': update the values of a record\n" +"- 'Execute several actions': define an action that triggers several other " +"server actions\n" +"- 'Send Email': automatically send an email (Discuss)\n" +"- 'Add Followers': add followers to a record (Discuss)\n" +"- 'Create Next Activity': create an activity (Discuss)" +msgstr "" #. module: mass_editing #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line__widget_option @@ -228,6 +268,44 @@ msgstr "Opzione Widget" msgid "Wizard for mass edition" msgstr "Procedura guidata per le modifiche massive" +#. module: mass_editing +#: code:addons/mass_editing/wizard/mass_editing_wizard.py:0 +#, python-format +msgid "" +"You have selected %d record(s) that can not be processed.\n" +"Only %d record(s) will be processed." +msgstr "" + +#~ msgid "Action Name" +#~ msgstr "Nome Azione" + +#~ msgid "" +#~ "Add widget text that will be used to display the field in the wizard. " +#~ "Example :\n" +#~ "'many2many_tags', 'selection'" +#~ msgstr "" +#~ "Aggiungi il tipo di widget che sarà usato per mostrare il campo nel " +#~ "wizard. Esempio:\n" +#~ "'many2many_tags', 'selection'" + +#~ msgid "Allowed Groups" +#~ msgstr "Gruppi Consentiti" + +#~ msgid "Domain" +#~ msgstr "Dominio" + +#~ msgid "Line" +#~ msgstr "Linea" + +#~ msgid "Mass Editing" +#~ msgstr "Modifiche massive" + +#~ msgid "Name" +#~ msgstr "Nome" + +#~ msgid "Sidebar Action" +#~ msgstr "Azione Pulsante Menù" + #~ msgid "%s (copy)" #~ msgstr "%s (copia)" diff --git a/mass_editing/i18n/ja.po b/mass_editing/i18n/ja.po index c0730cc..bfcee47 100644 --- a/mass_editing/i18n/ja.po +++ b/mass_editing/i18n/ja.po @@ -19,7 +19,7 @@ msgstr "" "Plural-Forms: nplurals=1; plural=0;\n" #. module: mass_editing -#: model_terms:ir.ui.view,arch_db:mass_editing.view_mass_editing_form +#: model_terms:ir.ui.view,arch_db:mass_editing.view_server_action_form msgid "" "WARNING: Take into account that adding a field with a domain, and not " "including the fields of such domain in this operation definition, will lead " @@ -27,8 +27,9 @@ msgid "" msgstr "" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__action_name -msgid "Action Name" +#: model:ir.model.fields,field_description:mass_editing.field_ir_actions_server__state +#: model:ir.model.fields,field_description:mass_editing.field_ir_cron__state +msgid "Action To Do" msgstr "" #. module: mass_editing @@ -40,14 +41,13 @@ msgstr "" #. module: mass_editing #: model:ir.model.fields,help:mass_editing.field_mass_editing_line__widget_option msgid "" -"Add widget text that will be used to display the field in the wizard. " -"Example :\n" -"'many2many_tags', 'selection'" +"Add widget text that will be used to display the field in the wizard.\n" +"Example: 'many2many_tags', 'selection', 'image'" msgstr "" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__groups_id -msgid "Allowed Groups" +#: model_terms:ir.ui.view,arch_db:mass_editing.view_mass_editing_wizard_form +msgid "Apply" msgstr "" #. module: mass_editing @@ -61,85 +61,93 @@ msgid "Apply domain" msgstr "" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__apply_domain_in_lines +#: model:ir.model.fields,field_description:mass_editing.field_ir_actions_server__mass_edit_apply_domain_in_lines +#: model:ir.model.fields,field_description:mass_editing.field_ir_cron__mass_edit_apply_domain_in_lines msgid "Apply domain in lines" msgstr "" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__create_uid +#: model_terms:ir.ui.view,arch_db:mass_editing.view_mass_editing_wizard_form +msgid "Cancel" +msgstr "" + +#. module: mass_editing #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line__create_uid #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_wizard__create_uid msgid "Created by" msgstr "作成者" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__create_date #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line__create_date #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_wizard__create_date msgid "Created on" msgstr "作成日" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__display_name +#: model:ir.model.fields,field_description:mass_editing.field_ir_actions_server__display_name #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line__display_name #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_wizard__display_name msgid "Display Name" msgstr "表示名" -#. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__domain -msgid "Domain" -msgstr "" - #. module: mass_editing #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line__field_id msgid "Field" msgstr "" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__id +#: model_terms:ir.ui.view,arch_db:mass_editing.view_server_action_form +msgid "Fields" +msgstr "" + +#. module: mass_editing +#: model:ir.model.fields,field_description:mass_editing.field_ir_actions_server__id #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line__id #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_wizard__id msgid "ID" msgstr "ID" #. module: mass_editing -#: model:ir.model.fields,help:mass_editing.field_mass_editing__message +#: model:ir.model.fields,help:mass_editing.field_ir_actions_server__mass_edit_message +#: model:ir.model.fields,help:mass_editing.field_ir_cron__mass_edit_message msgid "If set, this message will be displayed in the wizard." msgstr "" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing____last_update +#: model:ir.model.fields,field_description:mass_editing.field_ir_actions_server____last_update #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line____last_update #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_wizard____last_update msgid "Last Modified on" msgstr "最終更新日" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__write_uid #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line__write_uid #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_wizard__write_uid msgid "Last Updated by" msgstr "最終更新者" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__write_date #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line__write_date #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_wizard__write_date msgid "Last Updated on" msgstr "最終更新日" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__line_ids -msgid "Line" +#: model:ir.actions.server,name:mass_editing.mass_editing_partner +#: model:ir.actions.server,name:mass_editing.mass_editing_partner_title +#: model:ir.actions.server,name:mass_editing.mass_editing_user +msgid "Mass Edit" msgstr "" #. module: mass_editing -#: model:ir.actions.act_window,name:mass_editing.action_mass_editing -#: model:ir.model,name:mass_editing.model_mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line__mass_editing_id -#: model:ir.ui.menu,name:mass_editing.menu_mass_editing -msgid "Mass Editing" +#: model:ir.model.fields,field_description:mass_editing.field_ir_actions_server__mass_edit_line_ids +#: model:ir.model.fields,field_description:mass_editing.field_ir_cron__mass_edit_line_ids +msgid "Mass Edit Line" +msgstr "" + +#. module: mass_editing +#: model:ir.model.fields.selection,name:mass_editing.selection__ir_actions_server__state__mass_edit +msgid "Mass Edit Records" msgstr "" #. module: mass_editing @@ -148,21 +156,34 @@ msgid "Mass Editing Line" msgstr "" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__message +#: code:addons/mass_editing/models/mass_editing_line.py:0 +#, python-format +msgid "Mass edit fields should belong to the server action model." +msgstr "" + +#. module: mass_editing +#: model:ir.model.fields,field_description:mass_editing.field_ir_actions_server__mass_edit_message +#: model:ir.model.fields,field_description:mass_editing.field_ir_cron__mass_edit_message #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_wizard__message +#: model_terms:ir.ui.view,arch_db:mass_editing.view_server_action_form msgid "Message" msgstr "" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__model_id #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line__model_id msgid "Model" msgstr "" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__name -msgid "Name" -msgstr "名前" +#: model:ir.model.fields,help:mass_editing.field_mass_editing_line__model_id +msgid "Model on which the server action runs." +msgstr "" + +#. module: mass_editing +#: code:addons/mass_editing/wizard/mass_editing_wizard.py:0 +#, python-format +msgid "None of the %d record(s) you have selected can be processed." +msgstr "" #. module: mass_editing #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_wizard__operation_description_danger @@ -200,6 +221,12 @@ msgstr "" msgid "Sequence" msgstr "" +#. module: mass_editing +#: model:ir.model,name:mass_editing.model_ir_actions_server +#: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line__server_action_id +msgid "Server Action" +msgstr "" + #. module: mass_editing #: code:addons/mass_editing/wizard/mass_editing_wizard.py:0 #, python-format @@ -207,8 +234,24 @@ msgid "Set" msgstr "" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__ref_ir_act_window_id -msgid "Sidebar Action" +#: code:addons/mass_editing/wizard/mass_editing_wizard.py:0 +#, python-format +msgid "The treatment will be processed on the %d selected record(s)." +msgstr "" + +#. module: mass_editing +#: model:ir.model.fields,help:mass_editing.field_ir_actions_server__state +#: model:ir.model.fields,help:mass_editing.field_ir_cron__state +msgid "" +"Type of server action. The following values are available:\n" +"- 'Execute Python Code': a block of python code that will be executed\n" +"- 'Create': create a new record with new values\n" +"- 'Update a Record': update the values of a record\n" +"- 'Execute several actions': define an action that triggers several other " +"server actions\n" +"- 'Send Email': automatically send an email (Discuss)\n" +"- 'Add Followers': add followers to a record (Discuss)\n" +"- 'Create Next Activity': create an activity (Discuss)" msgstr "" #. module: mass_editing @@ -220,3 +263,14 @@ msgstr "" #: model:ir.model,name:mass_editing.model_mass_editing_wizard msgid "Wizard for mass edition" msgstr "" + +#. module: mass_editing +#: code:addons/mass_editing/wizard/mass_editing_wizard.py:0 +#, python-format +msgid "" +"You have selected %d record(s) that can not be processed.\n" +"Only %d record(s) will be processed." +msgstr "" + +#~ msgid "Name" +#~ msgstr "名前" diff --git a/mass_editing/i18n/ko.po b/mass_editing/i18n/ko.po index f26237b..f7c4001 100644 --- a/mass_editing/i18n/ko.po +++ b/mass_editing/i18n/ko.po @@ -19,7 +19,7 @@ msgstr "" "Plural-Forms: nplurals=1; plural=0;\n" #. module: mass_editing -#: model_terms:ir.ui.view,arch_db:mass_editing.view_mass_editing_form +#: model_terms:ir.ui.view,arch_db:mass_editing.view_server_action_form msgid "" "WARNING: Take into account that adding a field with a domain, and not " "including the fields of such domain in this operation definition, will lead " @@ -27,8 +27,9 @@ msgid "" msgstr "" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__action_name -msgid "Action Name" +#: model:ir.model.fields,field_description:mass_editing.field_ir_actions_server__state +#: model:ir.model.fields,field_description:mass_editing.field_ir_cron__state +msgid "Action To Do" msgstr "" #. module: mass_editing @@ -40,14 +41,13 @@ msgstr "" #. module: mass_editing #: model:ir.model.fields,help:mass_editing.field_mass_editing_line__widget_option msgid "" -"Add widget text that will be used to display the field in the wizard. " -"Example :\n" -"'many2many_tags', 'selection'" +"Add widget text that will be used to display the field in the wizard.\n" +"Example: 'many2many_tags', 'selection', 'image'" msgstr "" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__groups_id -msgid "Allowed Groups" +#: model_terms:ir.ui.view,arch_db:mass_editing.view_mass_editing_wizard_form +msgid "Apply" msgstr "" #. module: mass_editing @@ -61,85 +61,93 @@ msgid "Apply domain" msgstr "" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__apply_domain_in_lines +#: model:ir.model.fields,field_description:mass_editing.field_ir_actions_server__mass_edit_apply_domain_in_lines +#: model:ir.model.fields,field_description:mass_editing.field_ir_cron__mass_edit_apply_domain_in_lines msgid "Apply domain in lines" msgstr "" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__create_uid +#: model_terms:ir.ui.view,arch_db:mass_editing.view_mass_editing_wizard_form +msgid "Cancel" +msgstr "" + +#. module: mass_editing #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line__create_uid #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_wizard__create_uid msgid "Created by" msgstr "작성자" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__create_date #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line__create_date #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_wizard__create_date msgid "Created on" msgstr "작성일" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__display_name +#: model:ir.model.fields,field_description:mass_editing.field_ir_actions_server__display_name #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line__display_name #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_wizard__display_name msgid "Display Name" msgstr "표시 이름" -#. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__domain -msgid "Domain" -msgstr "" - #. module: mass_editing #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line__field_id msgid "Field" msgstr "" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__id +#: model_terms:ir.ui.view,arch_db:mass_editing.view_server_action_form +msgid "Fields" +msgstr "" + +#. module: mass_editing +#: model:ir.model.fields,field_description:mass_editing.field_ir_actions_server__id #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line__id #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_wizard__id msgid "ID" msgstr "ID" #. module: mass_editing -#: model:ir.model.fields,help:mass_editing.field_mass_editing__message +#: model:ir.model.fields,help:mass_editing.field_ir_actions_server__mass_edit_message +#: model:ir.model.fields,help:mass_editing.field_ir_cron__mass_edit_message msgid "If set, this message will be displayed in the wizard." msgstr "" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing____last_update +#: model:ir.model.fields,field_description:mass_editing.field_ir_actions_server____last_update #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line____last_update #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_wizard____last_update msgid "Last Modified on" msgstr "최근 수정" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__write_uid #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line__write_uid #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_wizard__write_uid msgid "Last Updated by" msgstr "최근 갱신한 사람" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__write_date #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line__write_date #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_wizard__write_date msgid "Last Updated on" msgstr "최근 갱신 날짜" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__line_ids -msgid "Line" +#: model:ir.actions.server,name:mass_editing.mass_editing_partner +#: model:ir.actions.server,name:mass_editing.mass_editing_partner_title +#: model:ir.actions.server,name:mass_editing.mass_editing_user +msgid "Mass Edit" msgstr "" #. module: mass_editing -#: model:ir.actions.act_window,name:mass_editing.action_mass_editing -#: model:ir.model,name:mass_editing.model_mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line__mass_editing_id -#: model:ir.ui.menu,name:mass_editing.menu_mass_editing -msgid "Mass Editing" +#: model:ir.model.fields,field_description:mass_editing.field_ir_actions_server__mass_edit_line_ids +#: model:ir.model.fields,field_description:mass_editing.field_ir_cron__mass_edit_line_ids +msgid "Mass Edit Line" +msgstr "" + +#. module: mass_editing +#: model:ir.model.fields.selection,name:mass_editing.selection__ir_actions_server__state__mass_edit +msgid "Mass Edit Records" msgstr "" #. module: mass_editing @@ -148,21 +156,34 @@ msgid "Mass Editing Line" msgstr "" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__message +#: code:addons/mass_editing/models/mass_editing_line.py:0 +#, python-format +msgid "Mass edit fields should belong to the server action model." +msgstr "" + +#. module: mass_editing +#: model:ir.model.fields,field_description:mass_editing.field_ir_actions_server__mass_edit_message +#: model:ir.model.fields,field_description:mass_editing.field_ir_cron__mass_edit_message #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_wizard__message +#: model_terms:ir.ui.view,arch_db:mass_editing.view_server_action_form msgid "Message" msgstr "" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__model_id #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line__model_id msgid "Model" msgstr "" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__name -msgid "Name" -msgstr "이름" +#: model:ir.model.fields,help:mass_editing.field_mass_editing_line__model_id +msgid "Model on which the server action runs." +msgstr "" + +#. module: mass_editing +#: code:addons/mass_editing/wizard/mass_editing_wizard.py:0 +#, python-format +msgid "None of the %d record(s) you have selected can be processed." +msgstr "" #. module: mass_editing #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_wizard__operation_description_danger @@ -200,6 +221,12 @@ msgstr "" msgid "Sequence" msgstr "" +#. module: mass_editing +#: model:ir.model,name:mass_editing.model_ir_actions_server +#: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line__server_action_id +msgid "Server Action" +msgstr "" + #. module: mass_editing #: code:addons/mass_editing/wizard/mass_editing_wizard.py:0 #, python-format @@ -207,8 +234,24 @@ msgid "Set" msgstr "" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__ref_ir_act_window_id -msgid "Sidebar Action" +#: code:addons/mass_editing/wizard/mass_editing_wizard.py:0 +#, python-format +msgid "The treatment will be processed on the %d selected record(s)." +msgstr "" + +#. module: mass_editing +#: model:ir.model.fields,help:mass_editing.field_ir_actions_server__state +#: model:ir.model.fields,help:mass_editing.field_ir_cron__state +msgid "" +"Type of server action. The following values are available:\n" +"- 'Execute Python Code': a block of python code that will be executed\n" +"- 'Create': create a new record with new values\n" +"- 'Update a Record': update the values of a record\n" +"- 'Execute several actions': define an action that triggers several other " +"server actions\n" +"- 'Send Email': automatically send an email (Discuss)\n" +"- 'Add Followers': add followers to a record (Discuss)\n" +"- 'Create Next Activity': create an activity (Discuss)" msgstr "" #. module: mass_editing @@ -220,3 +263,14 @@ msgstr "" #: model:ir.model,name:mass_editing.model_mass_editing_wizard msgid "Wizard for mass edition" msgstr "" + +#. module: mass_editing +#: code:addons/mass_editing/wizard/mass_editing_wizard.py:0 +#, python-format +msgid "" +"You have selected %d record(s) that can not be processed.\n" +"Only %d record(s) will be processed." +msgstr "" + +#~ msgid "Name" +#~ msgstr "이름" diff --git a/mass_editing/i18n/lt.po b/mass_editing/i18n/lt.po index bd85a92..c8f25b7 100644 --- a/mass_editing/i18n/lt.po +++ b/mass_editing/i18n/lt.po @@ -20,7 +20,7 @@ msgstr "" "%100<10 || n%100>=20) ? 1 : 2);\n" #. module: mass_editing -#: model_terms:ir.ui.view,arch_db:mass_editing.view_mass_editing_form +#: model_terms:ir.ui.view,arch_db:mass_editing.view_server_action_form msgid "" "WARNING: Take into account that adding a field with a domain, and not " "including the fields of such domain in this operation definition, will lead " @@ -28,8 +28,9 @@ msgid "" msgstr "" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__action_name -msgid "Action Name" +#: model:ir.model.fields,field_description:mass_editing.field_ir_actions_server__state +#: model:ir.model.fields,field_description:mass_editing.field_ir_cron__state +msgid "Action To Do" msgstr "" #. module: mass_editing @@ -41,14 +42,13 @@ msgstr "" #. module: mass_editing #: model:ir.model.fields,help:mass_editing.field_mass_editing_line__widget_option msgid "" -"Add widget text that will be used to display the field in the wizard. " -"Example :\n" -"'many2many_tags', 'selection'" +"Add widget text that will be used to display the field in the wizard.\n" +"Example: 'many2many_tags', 'selection', 'image'" msgstr "" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__groups_id -msgid "Allowed Groups" +#: model_terms:ir.ui.view,arch_db:mass_editing.view_mass_editing_wizard_form +msgid "Apply" msgstr "" #. module: mass_editing @@ -62,85 +62,93 @@ msgid "Apply domain" msgstr "" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__apply_domain_in_lines +#: model:ir.model.fields,field_description:mass_editing.field_ir_actions_server__mass_edit_apply_domain_in_lines +#: model:ir.model.fields,field_description:mass_editing.field_ir_cron__mass_edit_apply_domain_in_lines msgid "Apply domain in lines" msgstr "" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__create_uid +#: model_terms:ir.ui.view,arch_db:mass_editing.view_mass_editing_wizard_form +msgid "Cancel" +msgstr "" + +#. module: mass_editing #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line__create_uid #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_wizard__create_uid msgid "Created by" msgstr "Sukūrė" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__create_date #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line__create_date #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_wizard__create_date msgid "Created on" msgstr "Sukurta" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__display_name +#: model:ir.model.fields,field_description:mass_editing.field_ir_actions_server__display_name #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line__display_name #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_wizard__display_name msgid "Display Name" msgstr "Vaizduojamas pavadinimas" -#. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__domain -msgid "Domain" -msgstr "" - #. module: mass_editing #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line__field_id msgid "Field" msgstr "" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__id +#: model_terms:ir.ui.view,arch_db:mass_editing.view_server_action_form +msgid "Fields" +msgstr "" + +#. module: mass_editing +#: model:ir.model.fields,field_description:mass_editing.field_ir_actions_server__id #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line__id #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_wizard__id msgid "ID" msgstr "ID" #. module: mass_editing -#: model:ir.model.fields,help:mass_editing.field_mass_editing__message +#: model:ir.model.fields,help:mass_editing.field_ir_actions_server__mass_edit_message +#: model:ir.model.fields,help:mass_editing.field_ir_cron__mass_edit_message msgid "If set, this message will be displayed in the wizard." msgstr "" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing____last_update +#: model:ir.model.fields,field_description:mass_editing.field_ir_actions_server____last_update #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line____last_update #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_wizard____last_update msgid "Last Modified on" msgstr "Paskutinį kartą keista" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__write_uid #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line__write_uid #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_wizard__write_uid msgid "Last Updated by" msgstr "Paskutini kartą atnaujino" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__write_date #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line__write_date #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_wizard__write_date msgid "Last Updated on" msgstr "Paskutinį kartą atnaujinta" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__line_ids -msgid "Line" +#: model:ir.actions.server,name:mass_editing.mass_editing_partner +#: model:ir.actions.server,name:mass_editing.mass_editing_partner_title +#: model:ir.actions.server,name:mass_editing.mass_editing_user +msgid "Mass Edit" msgstr "" #. module: mass_editing -#: model:ir.actions.act_window,name:mass_editing.action_mass_editing -#: model:ir.model,name:mass_editing.model_mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line__mass_editing_id -#: model:ir.ui.menu,name:mass_editing.menu_mass_editing -msgid "Mass Editing" +#: model:ir.model.fields,field_description:mass_editing.field_ir_actions_server__mass_edit_line_ids +#: model:ir.model.fields,field_description:mass_editing.field_ir_cron__mass_edit_line_ids +msgid "Mass Edit Line" +msgstr "" + +#. module: mass_editing +#: model:ir.model.fields.selection,name:mass_editing.selection__ir_actions_server__state__mass_edit +msgid "Mass Edit Records" msgstr "" #. module: mass_editing @@ -149,21 +157,34 @@ msgid "Mass Editing Line" msgstr "" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__message +#: code:addons/mass_editing/models/mass_editing_line.py:0 +#, python-format +msgid "Mass edit fields should belong to the server action model." +msgstr "" + +#. module: mass_editing +#: model:ir.model.fields,field_description:mass_editing.field_ir_actions_server__mass_edit_message +#: model:ir.model.fields,field_description:mass_editing.field_ir_cron__mass_edit_message #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_wizard__message +#: model_terms:ir.ui.view,arch_db:mass_editing.view_server_action_form msgid "Message" msgstr "" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__model_id #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line__model_id msgid "Model" msgstr "" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__name -msgid "Name" -msgstr "Pavadinimas" +#: model:ir.model.fields,help:mass_editing.field_mass_editing_line__model_id +msgid "Model on which the server action runs." +msgstr "" + +#. module: mass_editing +#: code:addons/mass_editing/wizard/mass_editing_wizard.py:0 +#, python-format +msgid "None of the %d record(s) you have selected can be processed." +msgstr "" #. module: mass_editing #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_wizard__operation_description_danger @@ -201,6 +222,12 @@ msgstr "" msgid "Sequence" msgstr "" +#. module: mass_editing +#: model:ir.model,name:mass_editing.model_ir_actions_server +#: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line__server_action_id +msgid "Server Action" +msgstr "" + #. module: mass_editing #: code:addons/mass_editing/wizard/mass_editing_wizard.py:0 #, python-format @@ -208,8 +235,24 @@ msgid "Set" msgstr "" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__ref_ir_act_window_id -msgid "Sidebar Action" +#: code:addons/mass_editing/wizard/mass_editing_wizard.py:0 +#, python-format +msgid "The treatment will be processed on the %d selected record(s)." +msgstr "" + +#. module: mass_editing +#: model:ir.model.fields,help:mass_editing.field_ir_actions_server__state +#: model:ir.model.fields,help:mass_editing.field_ir_cron__state +msgid "" +"Type of server action. The following values are available:\n" +"- 'Execute Python Code': a block of python code that will be executed\n" +"- 'Create': create a new record with new values\n" +"- 'Update a Record': update the values of a record\n" +"- 'Execute several actions': define an action that triggers several other " +"server actions\n" +"- 'Send Email': automatically send an email (Discuss)\n" +"- 'Add Followers': add followers to a record (Discuss)\n" +"- 'Create Next Activity': create an activity (Discuss)" msgstr "" #. module: mass_editing @@ -221,3 +264,14 @@ msgstr "" #: model:ir.model,name:mass_editing.model_mass_editing_wizard msgid "Wizard for mass edition" msgstr "" + +#. module: mass_editing +#: code:addons/mass_editing/wizard/mass_editing_wizard.py:0 +#, python-format +msgid "" +"You have selected %d record(s) that can not be processed.\n" +"Only %d record(s) will be processed." +msgstr "" + +#~ msgid "Name" +#~ msgstr "Pavadinimas" diff --git a/mass_editing/i18n/lt_LT.po b/mass_editing/i18n/lt_LT.po index ab8e0ca..679a454 100644 --- a/mass_editing/i18n/lt_LT.po +++ b/mass_editing/i18n/lt_LT.po @@ -21,7 +21,7 @@ msgstr "" "%100<10 || n%100>=20) ? 1 : 2);\n" #. module: mass_editing -#: model_terms:ir.ui.view,arch_db:mass_editing.view_mass_editing_form +#: model_terms:ir.ui.view,arch_db:mass_editing.view_server_action_form msgid "" "WARNING: Take into account that adding a field with a domain, and not " "including the fields of such domain in this operation definition, will lead " @@ -29,8 +29,9 @@ msgid "" msgstr "" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__action_name -msgid "Action Name" +#: model:ir.model.fields,field_description:mass_editing.field_ir_actions_server__state +#: model:ir.model.fields,field_description:mass_editing.field_ir_cron__state +msgid "Action To Do" msgstr "" #. module: mass_editing @@ -42,14 +43,13 @@ msgstr "" #. module: mass_editing #: model:ir.model.fields,help:mass_editing.field_mass_editing_line__widget_option msgid "" -"Add widget text that will be used to display the field in the wizard. " -"Example :\n" -"'many2many_tags', 'selection'" +"Add widget text that will be used to display the field in the wizard.\n" +"Example: 'many2many_tags', 'selection', 'image'" msgstr "" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__groups_id -msgid "Allowed Groups" +#: model_terms:ir.ui.view,arch_db:mass_editing.view_mass_editing_wizard_form +msgid "Apply" msgstr "" #. module: mass_editing @@ -63,85 +63,93 @@ msgid "Apply domain" msgstr "" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__apply_domain_in_lines +#: model:ir.model.fields,field_description:mass_editing.field_ir_actions_server__mass_edit_apply_domain_in_lines +#: model:ir.model.fields,field_description:mass_editing.field_ir_cron__mass_edit_apply_domain_in_lines msgid "Apply domain in lines" msgstr "" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__create_uid +#: model_terms:ir.ui.view,arch_db:mass_editing.view_mass_editing_wizard_form +msgid "Cancel" +msgstr "" + +#. module: mass_editing #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line__create_uid #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_wizard__create_uid msgid "Created by" msgstr "Sukūrė" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__create_date #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line__create_date #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_wizard__create_date msgid "Created on" msgstr "Sukurta" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__display_name +#: model:ir.model.fields,field_description:mass_editing.field_ir_actions_server__display_name #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line__display_name #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_wizard__display_name msgid "Display Name" msgstr "" -#. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__domain -msgid "Domain" -msgstr "" - #. module: mass_editing #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line__field_id msgid "Field" msgstr "" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__id +#: model_terms:ir.ui.view,arch_db:mass_editing.view_server_action_form +msgid "Fields" +msgstr "" + +#. module: mass_editing +#: model:ir.model.fields,field_description:mass_editing.field_ir_actions_server__id #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line__id #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_wizard__id msgid "ID" msgstr "ID" #. module: mass_editing -#: model:ir.model.fields,help:mass_editing.field_mass_editing__message +#: model:ir.model.fields,help:mass_editing.field_ir_actions_server__mass_edit_message +#: model:ir.model.fields,help:mass_editing.field_ir_cron__mass_edit_message msgid "If set, this message will be displayed in the wizard." msgstr "" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing____last_update +#: model:ir.model.fields,field_description:mass_editing.field_ir_actions_server____last_update #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line____last_update #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_wizard____last_update msgid "Last Modified on" msgstr "" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__write_uid #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line__write_uid #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_wizard__write_uid msgid "Last Updated by" msgstr "Paskutinį kartą atnaujino" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__write_date #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line__write_date #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_wizard__write_date msgid "Last Updated on" msgstr "Paskutinį kartą atnaujinta" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__line_ids -msgid "Line" +#: model:ir.actions.server,name:mass_editing.mass_editing_partner +#: model:ir.actions.server,name:mass_editing.mass_editing_partner_title +#: model:ir.actions.server,name:mass_editing.mass_editing_user +msgid "Mass Edit" msgstr "" #. module: mass_editing -#: model:ir.actions.act_window,name:mass_editing.action_mass_editing -#: model:ir.model,name:mass_editing.model_mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line__mass_editing_id -#: model:ir.ui.menu,name:mass_editing.menu_mass_editing -msgid "Mass Editing" +#: model:ir.model.fields,field_description:mass_editing.field_ir_actions_server__mass_edit_line_ids +#: model:ir.model.fields,field_description:mass_editing.field_ir_cron__mass_edit_line_ids +msgid "Mass Edit Line" +msgstr "" + +#. module: mass_editing +#: model:ir.model.fields.selection,name:mass_editing.selection__ir_actions_server__state__mass_edit +msgid "Mass Edit Records" msgstr "" #. module: mass_editing @@ -150,20 +158,33 @@ msgid "Mass Editing Line" msgstr "" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__message +#: code:addons/mass_editing/models/mass_editing_line.py:0 +#, python-format +msgid "Mass edit fields should belong to the server action model." +msgstr "" + +#. module: mass_editing +#: model:ir.model.fields,field_description:mass_editing.field_ir_actions_server__mass_edit_message +#: model:ir.model.fields,field_description:mass_editing.field_ir_cron__mass_edit_message #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_wizard__message +#: model_terms:ir.ui.view,arch_db:mass_editing.view_server_action_form msgid "Message" msgstr "" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__model_id #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line__model_id msgid "Model" msgstr "" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__name -msgid "Name" +#: model:ir.model.fields,help:mass_editing.field_mass_editing_line__model_id +msgid "Model on which the server action runs." +msgstr "" + +#. module: mass_editing +#: code:addons/mass_editing/wizard/mass_editing_wizard.py:0 +#, python-format +msgid "None of the %d record(s) you have selected can be processed." msgstr "" #. module: mass_editing @@ -202,6 +223,12 @@ msgstr "" msgid "Sequence" msgstr "" +#. module: mass_editing +#: model:ir.model,name:mass_editing.model_ir_actions_server +#: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line__server_action_id +msgid "Server Action" +msgstr "" + #. module: mass_editing #: code:addons/mass_editing/wizard/mass_editing_wizard.py:0 #, python-format @@ -209,8 +236,24 @@ msgid "Set" msgstr "" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__ref_ir_act_window_id -msgid "Sidebar Action" +#: code:addons/mass_editing/wizard/mass_editing_wizard.py:0 +#, python-format +msgid "The treatment will be processed on the %d selected record(s)." +msgstr "" + +#. module: mass_editing +#: model:ir.model.fields,help:mass_editing.field_ir_actions_server__state +#: model:ir.model.fields,help:mass_editing.field_ir_cron__state +msgid "" +"Type of server action. The following values are available:\n" +"- 'Execute Python Code': a block of python code that will be executed\n" +"- 'Create': create a new record with new values\n" +"- 'Update a Record': update the values of a record\n" +"- 'Execute several actions': define an action that triggers several other " +"server actions\n" +"- 'Send Email': automatically send an email (Discuss)\n" +"- 'Add Followers': add followers to a record (Discuss)\n" +"- 'Create Next Activity': create an activity (Discuss)" msgstr "" #. module: mass_editing @@ -222,3 +265,11 @@ msgstr "" #: model:ir.model,name:mass_editing.model_mass_editing_wizard msgid "Wizard for mass edition" msgstr "" + +#. module: mass_editing +#: code:addons/mass_editing/wizard/mass_editing_wizard.py:0 +#, python-format +msgid "" +"You have selected %d record(s) that can not be processed.\n" +"Only %d record(s) will be processed." +msgstr "" diff --git a/mass_editing/i18n/lv.po b/mass_editing/i18n/lv.po index 56eb65a..5b9fca5 100644 --- a/mass_editing/i18n/lv.po +++ b/mass_editing/i18n/lv.po @@ -20,7 +20,7 @@ msgstr "" "2);\n" #. module: mass_editing -#: model_terms:ir.ui.view,arch_db:mass_editing.view_mass_editing_form +#: model_terms:ir.ui.view,arch_db:mass_editing.view_server_action_form msgid "" "WARNING: Take into account that adding a field with a domain, and not " "including the fields of such domain in this operation definition, will lead " @@ -28,8 +28,9 @@ msgid "" msgstr "" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__action_name -msgid "Action Name" +#: model:ir.model.fields,field_description:mass_editing.field_ir_actions_server__state +#: model:ir.model.fields,field_description:mass_editing.field_ir_cron__state +msgid "Action To Do" msgstr "" #. module: mass_editing @@ -41,14 +42,13 @@ msgstr "" #. module: mass_editing #: model:ir.model.fields,help:mass_editing.field_mass_editing_line__widget_option msgid "" -"Add widget text that will be used to display the field in the wizard. " -"Example :\n" -"'many2many_tags', 'selection'" +"Add widget text that will be used to display the field in the wizard.\n" +"Example: 'many2many_tags', 'selection', 'image'" msgstr "" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__groups_id -msgid "Allowed Groups" +#: model_terms:ir.ui.view,arch_db:mass_editing.view_mass_editing_wizard_form +msgid "Apply" msgstr "" #. module: mass_editing @@ -62,85 +62,93 @@ msgid "Apply domain" msgstr "" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__apply_domain_in_lines +#: model:ir.model.fields,field_description:mass_editing.field_ir_actions_server__mass_edit_apply_domain_in_lines +#: model:ir.model.fields,field_description:mass_editing.field_ir_cron__mass_edit_apply_domain_in_lines msgid "Apply domain in lines" msgstr "" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__create_uid +#: model_terms:ir.ui.view,arch_db:mass_editing.view_mass_editing_wizard_form +msgid "Cancel" +msgstr "" + +#. module: mass_editing #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line__create_uid #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_wizard__create_uid msgid "Created by" msgstr "Izveidoja" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__create_date #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line__create_date #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_wizard__create_date msgid "Created on" msgstr "Izveidots" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__display_name +#: model:ir.model.fields,field_description:mass_editing.field_ir_actions_server__display_name #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line__display_name #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_wizard__display_name msgid "Display Name" msgstr "" -#. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__domain -msgid "Domain" -msgstr "" - #. module: mass_editing #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line__field_id msgid "Field" msgstr "" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__id +#: model_terms:ir.ui.view,arch_db:mass_editing.view_server_action_form +msgid "Fields" +msgstr "" + +#. module: mass_editing +#: model:ir.model.fields,field_description:mass_editing.field_ir_actions_server__id #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line__id #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_wizard__id msgid "ID" msgstr "ID" #. module: mass_editing -#: model:ir.model.fields,help:mass_editing.field_mass_editing__message +#: model:ir.model.fields,help:mass_editing.field_ir_actions_server__mass_edit_message +#: model:ir.model.fields,help:mass_editing.field_ir_cron__mass_edit_message msgid "If set, this message will be displayed in the wizard." msgstr "" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing____last_update +#: model:ir.model.fields,field_description:mass_editing.field_ir_actions_server____last_update #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line____last_update #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_wizard____last_update msgid "Last Modified on" msgstr "" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__write_uid #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line__write_uid #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_wizard__write_uid msgid "Last Updated by" msgstr "Pēdējo reizi atjaunoja" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__write_date #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line__write_date #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_wizard__write_date msgid "Last Updated on" msgstr "Pēdējās izmaiņas" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__line_ids -msgid "Line" +#: model:ir.actions.server,name:mass_editing.mass_editing_partner +#: model:ir.actions.server,name:mass_editing.mass_editing_partner_title +#: model:ir.actions.server,name:mass_editing.mass_editing_user +msgid "Mass Edit" msgstr "" #. module: mass_editing -#: model:ir.actions.act_window,name:mass_editing.action_mass_editing -#: model:ir.model,name:mass_editing.model_mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line__mass_editing_id -#: model:ir.ui.menu,name:mass_editing.menu_mass_editing -msgid "Mass Editing" +#: model:ir.model.fields,field_description:mass_editing.field_ir_actions_server__mass_edit_line_ids +#: model:ir.model.fields,field_description:mass_editing.field_ir_cron__mass_edit_line_ids +msgid "Mass Edit Line" +msgstr "" + +#. module: mass_editing +#: model:ir.model.fields.selection,name:mass_editing.selection__ir_actions_server__state__mass_edit +msgid "Mass Edit Records" msgstr "" #. module: mass_editing @@ -149,21 +157,34 @@ msgid "Mass Editing Line" msgstr "" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__message +#: code:addons/mass_editing/models/mass_editing_line.py:0 +#, python-format +msgid "Mass edit fields should belong to the server action model." +msgstr "" + +#. module: mass_editing +#: model:ir.model.fields,field_description:mass_editing.field_ir_actions_server__mass_edit_message +#: model:ir.model.fields,field_description:mass_editing.field_ir_cron__mass_edit_message #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_wizard__message +#: model_terms:ir.ui.view,arch_db:mass_editing.view_server_action_form msgid "Message" msgstr "" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__model_id #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line__model_id msgid "Model" msgstr "" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__name -msgid "Name" -msgstr "Nosaukums" +#: model:ir.model.fields,help:mass_editing.field_mass_editing_line__model_id +msgid "Model on which the server action runs." +msgstr "" + +#. module: mass_editing +#: code:addons/mass_editing/wizard/mass_editing_wizard.py:0 +#, python-format +msgid "None of the %d record(s) you have selected can be processed." +msgstr "" #. module: mass_editing #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_wizard__operation_description_danger @@ -201,6 +222,12 @@ msgstr "" msgid "Sequence" msgstr "" +#. module: mass_editing +#: model:ir.model,name:mass_editing.model_ir_actions_server +#: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line__server_action_id +msgid "Server Action" +msgstr "" + #. module: mass_editing #: code:addons/mass_editing/wizard/mass_editing_wizard.py:0 #, python-format @@ -208,8 +235,24 @@ msgid "Set" msgstr "" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__ref_ir_act_window_id -msgid "Sidebar Action" +#: code:addons/mass_editing/wizard/mass_editing_wizard.py:0 +#, python-format +msgid "The treatment will be processed on the %d selected record(s)." +msgstr "" + +#. module: mass_editing +#: model:ir.model.fields,help:mass_editing.field_ir_actions_server__state +#: model:ir.model.fields,help:mass_editing.field_ir_cron__state +msgid "" +"Type of server action. The following values are available:\n" +"- 'Execute Python Code': a block of python code that will be executed\n" +"- 'Create': create a new record with new values\n" +"- 'Update a Record': update the values of a record\n" +"- 'Execute several actions': define an action that triggers several other " +"server actions\n" +"- 'Send Email': automatically send an email (Discuss)\n" +"- 'Add Followers': add followers to a record (Discuss)\n" +"- 'Create Next Activity': create an activity (Discuss)" msgstr "" #. module: mass_editing @@ -221,3 +264,14 @@ msgstr "" #: model:ir.model,name:mass_editing.model_mass_editing_wizard msgid "Wizard for mass edition" msgstr "" + +#. module: mass_editing +#: code:addons/mass_editing/wizard/mass_editing_wizard.py:0 +#, python-format +msgid "" +"You have selected %d record(s) that can not be processed.\n" +"Only %d record(s) will be processed." +msgstr "" + +#~ msgid "Name" +#~ msgstr "Nosaukums" diff --git a/mass_editing/i18n/mass_editing.pot b/mass_editing/i18n/mass_editing.pot index 970eaed..932c40c 100644 --- a/mass_editing/i18n/mass_editing.pot +++ b/mass_editing/i18n/mass_editing.pot @@ -128,6 +128,7 @@ msgid "Last Updated on" msgstr "" #. module: mass_editing +#: model:ir.actions.server,name:mass_editing.mass_editing_partner #: model:ir.actions.server,name:mass_editing.mass_editing_partner_title #: model:ir.actions.server,name:mass_editing.mass_editing_user msgid "Mass Edit" @@ -202,6 +203,7 @@ msgstr "" #. module: mass_editing #: code:addons/mass_editing/wizard/mass_editing_wizard.py:0 #: code:addons/mass_editing/wizard/mass_editing_wizard.py:0 +#: code:addons/mass_editing/wizard/mass_editing_wizard.py:0 #, python-format msgid "Remove" msgstr "" @@ -225,6 +227,7 @@ msgstr "" #. module: mass_editing #: code:addons/mass_editing/wizard/mass_editing_wizard.py:0 #: code:addons/mass_editing/wizard/mass_editing_wizard.py:0 +#: code:addons/mass_editing/wizard/mass_editing_wizard.py:0 #, python-format msgid "Set" msgstr "" diff --git a/mass_editing/i18n/mk.po b/mass_editing/i18n/mk.po index 68c636d..0c06833 100644 --- a/mass_editing/i18n/mk.po +++ b/mass_editing/i18n/mk.po @@ -19,7 +19,7 @@ msgstr "" "Plural-Forms: nplurals=2; plural=(n % 10 == 1 && n % 100 != 11) ? 0 : 1;\n" #. module: mass_editing -#: model_terms:ir.ui.view,arch_db:mass_editing.view_mass_editing_form +#: model_terms:ir.ui.view,arch_db:mass_editing.view_server_action_form msgid "" "WARNING: Take into account that adding a field with a domain, and not " "including the fields of such domain in this operation definition, will lead " @@ -27,8 +27,9 @@ msgid "" msgstr "" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__action_name -msgid "Action Name" +#: model:ir.model.fields,field_description:mass_editing.field_ir_actions_server__state +#: model:ir.model.fields,field_description:mass_editing.field_ir_cron__state +msgid "Action To Do" msgstr "" #. module: mass_editing @@ -40,14 +41,13 @@ msgstr "" #. module: mass_editing #: model:ir.model.fields,help:mass_editing.field_mass_editing_line__widget_option msgid "" -"Add widget text that will be used to display the field in the wizard. " -"Example :\n" -"'many2many_tags', 'selection'" +"Add widget text that will be used to display the field in the wizard.\n" +"Example: 'many2many_tags', 'selection', 'image'" msgstr "" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__groups_id -msgid "Allowed Groups" +#: model_terms:ir.ui.view,arch_db:mass_editing.view_mass_editing_wizard_form +msgid "Apply" msgstr "" #. module: mass_editing @@ -61,85 +61,93 @@ msgid "Apply domain" msgstr "" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__apply_domain_in_lines +#: model:ir.model.fields,field_description:mass_editing.field_ir_actions_server__mass_edit_apply_domain_in_lines +#: model:ir.model.fields,field_description:mass_editing.field_ir_cron__mass_edit_apply_domain_in_lines msgid "Apply domain in lines" msgstr "" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__create_uid +#: model_terms:ir.ui.view,arch_db:mass_editing.view_mass_editing_wizard_form +msgid "Cancel" +msgstr "" + +#. module: mass_editing #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line__create_uid #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_wizard__create_uid msgid "Created by" msgstr "Креирано од" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__create_date #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line__create_date #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_wizard__create_date msgid "Created on" msgstr "Креирано на" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__display_name +#: model:ir.model.fields,field_description:mass_editing.field_ir_actions_server__display_name #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line__display_name #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_wizard__display_name msgid "Display Name" msgstr "Прикажи име" -#. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__domain -msgid "Domain" -msgstr "" - #. module: mass_editing #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line__field_id msgid "Field" msgstr "" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__id +#: model_terms:ir.ui.view,arch_db:mass_editing.view_server_action_form +msgid "Fields" +msgstr "" + +#. module: mass_editing +#: model:ir.model.fields,field_description:mass_editing.field_ir_actions_server__id #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line__id #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_wizard__id msgid "ID" msgstr "ID" #. module: mass_editing -#: model:ir.model.fields,help:mass_editing.field_mass_editing__message +#: model:ir.model.fields,help:mass_editing.field_ir_actions_server__mass_edit_message +#: model:ir.model.fields,help:mass_editing.field_ir_cron__mass_edit_message msgid "If set, this message will be displayed in the wizard." msgstr "" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing____last_update +#: model:ir.model.fields,field_description:mass_editing.field_ir_actions_server____last_update #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line____last_update #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_wizard____last_update msgid "Last Modified on" msgstr "Последна промена на" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__write_uid #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line__write_uid #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_wizard__write_uid msgid "Last Updated by" msgstr "Последно ажурирање од" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__write_date #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line__write_date #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_wizard__write_date msgid "Last Updated on" msgstr "Последно ажурирање на" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__line_ids -msgid "Line" +#: model:ir.actions.server,name:mass_editing.mass_editing_partner +#: model:ir.actions.server,name:mass_editing.mass_editing_partner_title +#: model:ir.actions.server,name:mass_editing.mass_editing_user +msgid "Mass Edit" msgstr "" #. module: mass_editing -#: model:ir.actions.act_window,name:mass_editing.action_mass_editing -#: model:ir.model,name:mass_editing.model_mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line__mass_editing_id -#: model:ir.ui.menu,name:mass_editing.menu_mass_editing -msgid "Mass Editing" +#: model:ir.model.fields,field_description:mass_editing.field_ir_actions_server__mass_edit_line_ids +#: model:ir.model.fields,field_description:mass_editing.field_ir_cron__mass_edit_line_ids +msgid "Mass Edit Line" +msgstr "" + +#. module: mass_editing +#: model:ir.model.fields.selection,name:mass_editing.selection__ir_actions_server__state__mass_edit +msgid "Mass Edit Records" msgstr "" #. module: mass_editing @@ -148,21 +156,34 @@ msgid "Mass Editing Line" msgstr "" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__message +#: code:addons/mass_editing/models/mass_editing_line.py:0 +#, python-format +msgid "Mass edit fields should belong to the server action model." +msgstr "" + +#. module: mass_editing +#: model:ir.model.fields,field_description:mass_editing.field_ir_actions_server__mass_edit_message +#: model:ir.model.fields,field_description:mass_editing.field_ir_cron__mass_edit_message #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_wizard__message +#: model_terms:ir.ui.view,arch_db:mass_editing.view_server_action_form msgid "Message" msgstr "" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__model_id #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line__model_id msgid "Model" msgstr "" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__name -msgid "Name" -msgstr "Име" +#: model:ir.model.fields,help:mass_editing.field_mass_editing_line__model_id +msgid "Model on which the server action runs." +msgstr "" + +#. module: mass_editing +#: code:addons/mass_editing/wizard/mass_editing_wizard.py:0 +#, python-format +msgid "None of the %d record(s) you have selected can be processed." +msgstr "" #. module: mass_editing #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_wizard__operation_description_danger @@ -200,6 +221,12 @@ msgstr "" msgid "Sequence" msgstr "" +#. module: mass_editing +#: model:ir.model,name:mass_editing.model_ir_actions_server +#: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line__server_action_id +msgid "Server Action" +msgstr "" + #. module: mass_editing #: code:addons/mass_editing/wizard/mass_editing_wizard.py:0 #, python-format @@ -207,8 +234,24 @@ msgid "Set" msgstr "" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__ref_ir_act_window_id -msgid "Sidebar Action" +#: code:addons/mass_editing/wizard/mass_editing_wizard.py:0 +#, python-format +msgid "The treatment will be processed on the %d selected record(s)." +msgstr "" + +#. module: mass_editing +#: model:ir.model.fields,help:mass_editing.field_ir_actions_server__state +#: model:ir.model.fields,help:mass_editing.field_ir_cron__state +msgid "" +"Type of server action. The following values are available:\n" +"- 'Execute Python Code': a block of python code that will be executed\n" +"- 'Create': create a new record with new values\n" +"- 'Update a Record': update the values of a record\n" +"- 'Execute several actions': define an action that triggers several other " +"server actions\n" +"- 'Send Email': automatically send an email (Discuss)\n" +"- 'Add Followers': add followers to a record (Discuss)\n" +"- 'Create Next Activity': create an activity (Discuss)" msgstr "" #. module: mass_editing @@ -220,3 +263,14 @@ msgstr "" #: model:ir.model,name:mass_editing.model_mass_editing_wizard msgid "Wizard for mass edition" msgstr "" + +#. module: mass_editing +#: code:addons/mass_editing/wizard/mass_editing_wizard.py:0 +#, python-format +msgid "" +"You have selected %d record(s) that can not be processed.\n" +"Only %d record(s) will be processed." +msgstr "" + +#~ msgid "Name" +#~ msgstr "Име" diff --git a/mass_editing/i18n/mn.po b/mass_editing/i18n/mn.po index 61d8524..97214d9 100644 --- a/mass_editing/i18n/mn.po +++ b/mass_editing/i18n/mn.po @@ -19,7 +19,7 @@ msgstr "" "Plural-Forms: nplurals=2; plural=(n != 1);\n" #. module: mass_editing -#: model_terms:ir.ui.view,arch_db:mass_editing.view_mass_editing_form +#: model_terms:ir.ui.view,arch_db:mass_editing.view_server_action_form msgid "" "WARNING: Take into account that adding a field with a domain, and not " "including the fields of such domain in this operation definition, will lead " @@ -27,8 +27,9 @@ msgid "" msgstr "" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__action_name -msgid "Action Name" +#: model:ir.model.fields,field_description:mass_editing.field_ir_actions_server__state +#: model:ir.model.fields,field_description:mass_editing.field_ir_cron__state +msgid "Action To Do" msgstr "" #. module: mass_editing @@ -40,14 +41,13 @@ msgstr "" #. module: mass_editing #: model:ir.model.fields,help:mass_editing.field_mass_editing_line__widget_option msgid "" -"Add widget text that will be used to display the field in the wizard. " -"Example :\n" -"'many2many_tags', 'selection'" +"Add widget text that will be used to display the field in the wizard.\n" +"Example: 'many2many_tags', 'selection', 'image'" msgstr "" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__groups_id -msgid "Allowed Groups" +#: model_terms:ir.ui.view,arch_db:mass_editing.view_mass_editing_wizard_form +msgid "Apply" msgstr "" #. module: mass_editing @@ -61,85 +61,93 @@ msgid "Apply domain" msgstr "" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__apply_domain_in_lines +#: model:ir.model.fields,field_description:mass_editing.field_ir_actions_server__mass_edit_apply_domain_in_lines +#: model:ir.model.fields,field_description:mass_editing.field_ir_cron__mass_edit_apply_domain_in_lines msgid "Apply domain in lines" msgstr "" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__create_uid +#: model_terms:ir.ui.view,arch_db:mass_editing.view_mass_editing_wizard_form +msgid "Cancel" +msgstr "" + +#. module: mass_editing #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line__create_uid #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_wizard__create_uid msgid "Created by" msgstr "Үүсгэгч" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__create_date #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line__create_date #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_wizard__create_date msgid "Created on" msgstr "Үүсгэсэн огноо" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__display_name +#: model:ir.model.fields,field_description:mass_editing.field_ir_actions_server__display_name #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line__display_name #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_wizard__display_name msgid "Display Name" msgstr "Дэлгэцийн Нэр" -#. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__domain -msgid "Domain" -msgstr "" - #. module: mass_editing #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line__field_id msgid "Field" msgstr "" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__id +#: model_terms:ir.ui.view,arch_db:mass_editing.view_server_action_form +msgid "Fields" +msgstr "" + +#. module: mass_editing +#: model:ir.model.fields,field_description:mass_editing.field_ir_actions_server__id #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line__id #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_wizard__id msgid "ID" msgstr "ID" #. module: mass_editing -#: model:ir.model.fields,help:mass_editing.field_mass_editing__message +#: model:ir.model.fields,help:mass_editing.field_ir_actions_server__mass_edit_message +#: model:ir.model.fields,help:mass_editing.field_ir_cron__mass_edit_message msgid "If set, this message will be displayed in the wizard." msgstr "" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing____last_update +#: model:ir.model.fields,field_description:mass_editing.field_ir_actions_server____last_update #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line____last_update #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_wizard____last_update msgid "Last Modified on" msgstr "Сүүлийн засвар хийсэн огноо" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__write_uid #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line__write_uid #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_wizard__write_uid msgid "Last Updated by" msgstr "Сүүлийн засвар хийсэн" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__write_date #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line__write_date #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_wizard__write_date msgid "Last Updated on" msgstr "Сүүлийн засвар хийсэн огноо" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__line_ids -msgid "Line" +#: model:ir.actions.server,name:mass_editing.mass_editing_partner +#: model:ir.actions.server,name:mass_editing.mass_editing_partner_title +#: model:ir.actions.server,name:mass_editing.mass_editing_user +msgid "Mass Edit" msgstr "" #. module: mass_editing -#: model:ir.actions.act_window,name:mass_editing.action_mass_editing -#: model:ir.model,name:mass_editing.model_mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line__mass_editing_id -#: model:ir.ui.menu,name:mass_editing.menu_mass_editing -msgid "Mass Editing" +#: model:ir.model.fields,field_description:mass_editing.field_ir_actions_server__mass_edit_line_ids +#: model:ir.model.fields,field_description:mass_editing.field_ir_cron__mass_edit_line_ids +msgid "Mass Edit Line" +msgstr "" + +#. module: mass_editing +#: model:ir.model.fields.selection,name:mass_editing.selection__ir_actions_server__state__mass_edit +msgid "Mass Edit Records" msgstr "" #. module: mass_editing @@ -148,21 +156,34 @@ msgid "Mass Editing Line" msgstr "" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__message +#: code:addons/mass_editing/models/mass_editing_line.py:0 +#, python-format +msgid "Mass edit fields should belong to the server action model." +msgstr "" + +#. module: mass_editing +#: model:ir.model.fields,field_description:mass_editing.field_ir_actions_server__mass_edit_message +#: model:ir.model.fields,field_description:mass_editing.field_ir_cron__mass_edit_message #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_wizard__message +#: model_terms:ir.ui.view,arch_db:mass_editing.view_server_action_form msgid "Message" msgstr "" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__model_id #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line__model_id msgid "Model" msgstr "" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__name -msgid "Name" -msgstr "Нэр" +#: model:ir.model.fields,help:mass_editing.field_mass_editing_line__model_id +msgid "Model on which the server action runs." +msgstr "" + +#. module: mass_editing +#: code:addons/mass_editing/wizard/mass_editing_wizard.py:0 +#, python-format +msgid "None of the %d record(s) you have selected can be processed." +msgstr "" #. module: mass_editing #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_wizard__operation_description_danger @@ -200,6 +221,12 @@ msgstr "" msgid "Sequence" msgstr "" +#. module: mass_editing +#: model:ir.model,name:mass_editing.model_ir_actions_server +#: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line__server_action_id +msgid "Server Action" +msgstr "" + #. module: mass_editing #: code:addons/mass_editing/wizard/mass_editing_wizard.py:0 #, python-format @@ -207,8 +234,24 @@ msgid "Set" msgstr "" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__ref_ir_act_window_id -msgid "Sidebar Action" +#: code:addons/mass_editing/wizard/mass_editing_wizard.py:0 +#, python-format +msgid "The treatment will be processed on the %d selected record(s)." +msgstr "" + +#. module: mass_editing +#: model:ir.model.fields,help:mass_editing.field_ir_actions_server__state +#: model:ir.model.fields,help:mass_editing.field_ir_cron__state +msgid "" +"Type of server action. The following values are available:\n" +"- 'Execute Python Code': a block of python code that will be executed\n" +"- 'Create': create a new record with new values\n" +"- 'Update a Record': update the values of a record\n" +"- 'Execute several actions': define an action that triggers several other " +"server actions\n" +"- 'Send Email': automatically send an email (Discuss)\n" +"- 'Add Followers': add followers to a record (Discuss)\n" +"- 'Create Next Activity': create an activity (Discuss)" msgstr "" #. module: mass_editing @@ -220,3 +263,14 @@ msgstr "" #: model:ir.model,name:mass_editing.model_mass_editing_wizard msgid "Wizard for mass edition" msgstr "" + +#. module: mass_editing +#: code:addons/mass_editing/wizard/mass_editing_wizard.py:0 +#, python-format +msgid "" +"You have selected %d record(s) that can not be processed.\n" +"Only %d record(s) will be processed." +msgstr "" + +#~ msgid "Name" +#~ msgstr "Нэр" diff --git a/mass_editing/i18n/nb.po b/mass_editing/i18n/nb.po index f83dde7..64837bc 100644 --- a/mass_editing/i18n/nb.po +++ b/mass_editing/i18n/nb.po @@ -20,7 +20,7 @@ msgstr "" "Plural-Forms: nplurals=2; plural=(n != 1);\n" #. module: mass_editing -#: model_terms:ir.ui.view,arch_db:mass_editing.view_mass_editing_form +#: model_terms:ir.ui.view,arch_db:mass_editing.view_server_action_form msgid "" "WARNING: Take into account that adding a field with a domain, and not " "including the fields of such domain in this operation definition, will lead " @@ -28,8 +28,9 @@ msgid "" msgstr "" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__action_name -msgid "Action Name" +#: model:ir.model.fields,field_description:mass_editing.field_ir_actions_server__state +#: model:ir.model.fields,field_description:mass_editing.field_ir_cron__state +msgid "Action To Do" msgstr "" #. module: mass_editing @@ -41,14 +42,13 @@ msgstr "" #. module: mass_editing #: model:ir.model.fields,help:mass_editing.field_mass_editing_line__widget_option msgid "" -"Add widget text that will be used to display the field in the wizard. " -"Example :\n" -"'many2many_tags', 'selection'" +"Add widget text that will be used to display the field in the wizard.\n" +"Example: 'many2many_tags', 'selection', 'image'" msgstr "" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__groups_id -msgid "Allowed Groups" +#: model_terms:ir.ui.view,arch_db:mass_editing.view_mass_editing_wizard_form +msgid "Apply" msgstr "" #. module: mass_editing @@ -62,85 +62,93 @@ msgid "Apply domain" msgstr "" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__apply_domain_in_lines +#: model:ir.model.fields,field_description:mass_editing.field_ir_actions_server__mass_edit_apply_domain_in_lines +#: model:ir.model.fields,field_description:mass_editing.field_ir_cron__mass_edit_apply_domain_in_lines msgid "Apply domain in lines" msgstr "" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__create_uid +#: model_terms:ir.ui.view,arch_db:mass_editing.view_mass_editing_wizard_form +msgid "Cancel" +msgstr "" + +#. module: mass_editing #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line__create_uid #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_wizard__create_uid msgid "Created by" msgstr "Opprettet av" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__create_date #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line__create_date #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_wizard__create_date msgid "Created on" msgstr "Opprettet" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__display_name +#: model:ir.model.fields,field_description:mass_editing.field_ir_actions_server__display_name #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line__display_name #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_wizard__display_name msgid "Display Name" msgstr "Visnings navn" -#. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__domain -msgid "Domain" -msgstr "" - #. module: mass_editing #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line__field_id msgid "Field" msgstr "" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__id +#: model_terms:ir.ui.view,arch_db:mass_editing.view_server_action_form +msgid "Fields" +msgstr "" + +#. module: mass_editing +#: model:ir.model.fields,field_description:mass_editing.field_ir_actions_server__id #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line__id #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_wizard__id msgid "ID" msgstr "ID" #. module: mass_editing -#: model:ir.model.fields,help:mass_editing.field_mass_editing__message +#: model:ir.model.fields,help:mass_editing.field_ir_actions_server__mass_edit_message +#: model:ir.model.fields,help:mass_editing.field_ir_cron__mass_edit_message msgid "If set, this message will be displayed in the wizard." msgstr "" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing____last_update +#: model:ir.model.fields,field_description:mass_editing.field_ir_actions_server____last_update #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line____last_update #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_wizard____last_update msgid "Last Modified on" msgstr "Sist oppdatert " #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__write_uid #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line__write_uid #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_wizard__write_uid msgid "Last Updated by" msgstr "Sist oppdatert av" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__write_date #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line__write_date #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_wizard__write_date msgid "Last Updated on" msgstr "Sist oppdatert" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__line_ids -msgid "Line" +#: model:ir.actions.server,name:mass_editing.mass_editing_partner +#: model:ir.actions.server,name:mass_editing.mass_editing_partner_title +#: model:ir.actions.server,name:mass_editing.mass_editing_user +msgid "Mass Edit" msgstr "" #. module: mass_editing -#: model:ir.actions.act_window,name:mass_editing.action_mass_editing -#: model:ir.model,name:mass_editing.model_mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line__mass_editing_id -#: model:ir.ui.menu,name:mass_editing.menu_mass_editing -msgid "Mass Editing" +#: model:ir.model.fields,field_description:mass_editing.field_ir_actions_server__mass_edit_line_ids +#: model:ir.model.fields,field_description:mass_editing.field_ir_cron__mass_edit_line_ids +msgid "Mass Edit Line" +msgstr "" + +#. module: mass_editing +#: model:ir.model.fields.selection,name:mass_editing.selection__ir_actions_server__state__mass_edit +msgid "Mass Edit Records" msgstr "" #. module: mass_editing @@ -149,21 +157,34 @@ msgid "Mass Editing Line" msgstr "" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__message +#: code:addons/mass_editing/models/mass_editing_line.py:0 +#, python-format +msgid "Mass edit fields should belong to the server action model." +msgstr "" + +#. module: mass_editing +#: model:ir.model.fields,field_description:mass_editing.field_ir_actions_server__mass_edit_message +#: model:ir.model.fields,field_description:mass_editing.field_ir_cron__mass_edit_message #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_wizard__message +#: model_terms:ir.ui.view,arch_db:mass_editing.view_server_action_form msgid "Message" msgstr "" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__model_id #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line__model_id msgid "Model" msgstr "" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__name -msgid "Name" -msgstr "Navn" +#: model:ir.model.fields,help:mass_editing.field_mass_editing_line__model_id +msgid "Model on which the server action runs." +msgstr "" + +#. module: mass_editing +#: code:addons/mass_editing/wizard/mass_editing_wizard.py:0 +#, python-format +msgid "None of the %d record(s) you have selected can be processed." +msgstr "" #. module: mass_editing #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_wizard__operation_description_danger @@ -201,6 +222,12 @@ msgstr "" msgid "Sequence" msgstr "" +#. module: mass_editing +#: model:ir.model,name:mass_editing.model_ir_actions_server +#: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line__server_action_id +msgid "Server Action" +msgstr "" + #. module: mass_editing #: code:addons/mass_editing/wizard/mass_editing_wizard.py:0 #, python-format @@ -208,8 +235,24 @@ msgid "Set" msgstr "" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__ref_ir_act_window_id -msgid "Sidebar Action" +#: code:addons/mass_editing/wizard/mass_editing_wizard.py:0 +#, python-format +msgid "The treatment will be processed on the %d selected record(s)." +msgstr "" + +#. module: mass_editing +#: model:ir.model.fields,help:mass_editing.field_ir_actions_server__state +#: model:ir.model.fields,help:mass_editing.field_ir_cron__state +msgid "" +"Type of server action. The following values are available:\n" +"- 'Execute Python Code': a block of python code that will be executed\n" +"- 'Create': create a new record with new values\n" +"- 'Update a Record': update the values of a record\n" +"- 'Execute several actions': define an action that triggers several other " +"server actions\n" +"- 'Send Email': automatically send an email (Discuss)\n" +"- 'Add Followers': add followers to a record (Discuss)\n" +"- 'Create Next Activity': create an activity (Discuss)" msgstr "" #. module: mass_editing @@ -221,3 +264,14 @@ msgstr "" #: model:ir.model,name:mass_editing.model_mass_editing_wizard msgid "Wizard for mass edition" msgstr "" + +#. module: mass_editing +#: code:addons/mass_editing/wizard/mass_editing_wizard.py:0 +#, python-format +msgid "" +"You have selected %d record(s) that can not be processed.\n" +"Only %d record(s) will be processed." +msgstr "" + +#~ msgid "Name" +#~ msgstr "Navn" diff --git a/mass_editing/i18n/nb_NO.po b/mass_editing/i18n/nb_NO.po index 46a308c..70fc0b3 100644 --- a/mass_editing/i18n/nb_NO.po +++ b/mass_editing/i18n/nb_NO.po @@ -20,7 +20,7 @@ msgstr "" "Plural-Forms: nplurals=2; plural=(n != 1);\n" #. module: mass_editing -#: model_terms:ir.ui.view,arch_db:mass_editing.view_mass_editing_form +#: model_terms:ir.ui.view,arch_db:mass_editing.view_server_action_form msgid "" "WARNING: Take into account that adding a field with a domain, and not " "including the fields of such domain in this operation definition, will lead " @@ -28,8 +28,9 @@ msgid "" msgstr "" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__action_name -msgid "Action Name" +#: model:ir.model.fields,field_description:mass_editing.field_ir_actions_server__state +#: model:ir.model.fields,field_description:mass_editing.field_ir_cron__state +msgid "Action To Do" msgstr "" #. module: mass_editing @@ -41,14 +42,13 @@ msgstr "" #. module: mass_editing #: model:ir.model.fields,help:mass_editing.field_mass_editing_line__widget_option msgid "" -"Add widget text that will be used to display the field in the wizard. " -"Example :\n" -"'many2many_tags', 'selection'" +"Add widget text that will be used to display the field in the wizard.\n" +"Example: 'many2many_tags', 'selection', 'image'" msgstr "" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__groups_id -msgid "Allowed Groups" +#: model_terms:ir.ui.view,arch_db:mass_editing.view_mass_editing_wizard_form +msgid "Apply" msgstr "" #. module: mass_editing @@ -62,85 +62,93 @@ msgid "Apply domain" msgstr "" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__apply_domain_in_lines +#: model:ir.model.fields,field_description:mass_editing.field_ir_actions_server__mass_edit_apply_domain_in_lines +#: model:ir.model.fields,field_description:mass_editing.field_ir_cron__mass_edit_apply_domain_in_lines msgid "Apply domain in lines" msgstr "" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__create_uid +#: model_terms:ir.ui.view,arch_db:mass_editing.view_mass_editing_wizard_form +msgid "Cancel" +msgstr "" + +#. module: mass_editing #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line__create_uid #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_wizard__create_uid msgid "Created by" msgstr "Laget av" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__create_date #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line__create_date #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_wizard__create_date msgid "Created on" msgstr "Laget den" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__display_name +#: model:ir.model.fields,field_description:mass_editing.field_ir_actions_server__display_name #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line__display_name #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_wizard__display_name msgid "Display Name" msgstr "Vis navn" -#. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__domain -msgid "Domain" -msgstr "" - #. module: mass_editing #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line__field_id msgid "Field" msgstr "" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__id +#: model_terms:ir.ui.view,arch_db:mass_editing.view_server_action_form +msgid "Fields" +msgstr "" + +#. module: mass_editing +#: model:ir.model.fields,field_description:mass_editing.field_ir_actions_server__id #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line__id #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_wizard__id msgid "ID" msgstr "ID" #. module: mass_editing -#: model:ir.model.fields,help:mass_editing.field_mass_editing__message +#: model:ir.model.fields,help:mass_editing.field_ir_actions_server__mass_edit_message +#: model:ir.model.fields,help:mass_editing.field_ir_cron__mass_edit_message msgid "If set, this message will be displayed in the wizard." msgstr "" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing____last_update +#: model:ir.model.fields,field_description:mass_editing.field_ir_actions_server____last_update #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line____last_update #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_wizard____last_update msgid "Last Modified on" msgstr "Sist endret den" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__write_uid #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line__write_uid #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_wizard__write_uid msgid "Last Updated by" msgstr "Sist oppdatert av" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__write_date #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line__write_date #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_wizard__write_date msgid "Last Updated on" msgstr "Sist oppdatert den" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__line_ids -msgid "Line" +#: model:ir.actions.server,name:mass_editing.mass_editing_partner +#: model:ir.actions.server,name:mass_editing.mass_editing_partner_title +#: model:ir.actions.server,name:mass_editing.mass_editing_user +msgid "Mass Edit" msgstr "" #. module: mass_editing -#: model:ir.actions.act_window,name:mass_editing.action_mass_editing -#: model:ir.model,name:mass_editing.model_mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line__mass_editing_id -#: model:ir.ui.menu,name:mass_editing.menu_mass_editing -msgid "Mass Editing" +#: model:ir.model.fields,field_description:mass_editing.field_ir_actions_server__mass_edit_line_ids +#: model:ir.model.fields,field_description:mass_editing.field_ir_cron__mass_edit_line_ids +msgid "Mass Edit Line" +msgstr "" + +#. module: mass_editing +#: model:ir.model.fields.selection,name:mass_editing.selection__ir_actions_server__state__mass_edit +msgid "Mass Edit Records" msgstr "" #. module: mass_editing @@ -149,20 +157,33 @@ msgid "Mass Editing Line" msgstr "" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__message +#: code:addons/mass_editing/models/mass_editing_line.py:0 +#, python-format +msgid "Mass edit fields should belong to the server action model." +msgstr "" + +#. module: mass_editing +#: model:ir.model.fields,field_description:mass_editing.field_ir_actions_server__mass_edit_message +#: model:ir.model.fields,field_description:mass_editing.field_ir_cron__mass_edit_message #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_wizard__message +#: model_terms:ir.ui.view,arch_db:mass_editing.view_server_action_form msgid "Message" msgstr "" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__model_id #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line__model_id msgid "Model" msgstr "" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__name -msgid "Name" +#: model:ir.model.fields,help:mass_editing.field_mass_editing_line__model_id +msgid "Model on which the server action runs." +msgstr "" + +#. module: mass_editing +#: code:addons/mass_editing/wizard/mass_editing_wizard.py:0 +#, python-format +msgid "None of the %d record(s) you have selected can be processed." msgstr "" #. module: mass_editing @@ -201,6 +222,12 @@ msgstr "" msgid "Sequence" msgstr "" +#. module: mass_editing +#: model:ir.model,name:mass_editing.model_ir_actions_server +#: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line__server_action_id +msgid "Server Action" +msgstr "" + #. module: mass_editing #: code:addons/mass_editing/wizard/mass_editing_wizard.py:0 #, python-format @@ -208,8 +235,24 @@ msgid "Set" msgstr "" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__ref_ir_act_window_id -msgid "Sidebar Action" +#: code:addons/mass_editing/wizard/mass_editing_wizard.py:0 +#, python-format +msgid "The treatment will be processed on the %d selected record(s)." +msgstr "" + +#. module: mass_editing +#: model:ir.model.fields,help:mass_editing.field_ir_actions_server__state +#: model:ir.model.fields,help:mass_editing.field_ir_cron__state +msgid "" +"Type of server action. The following values are available:\n" +"- 'Execute Python Code': a block of python code that will be executed\n" +"- 'Create': create a new record with new values\n" +"- 'Update a Record': update the values of a record\n" +"- 'Execute several actions': define an action that triggers several other " +"server actions\n" +"- 'Send Email': automatically send an email (Discuss)\n" +"- 'Add Followers': add followers to a record (Discuss)\n" +"- 'Create Next Activity': create an activity (Discuss)" msgstr "" #. module: mass_editing @@ -221,3 +264,11 @@ msgstr "" #: model:ir.model,name:mass_editing.model_mass_editing_wizard msgid "Wizard for mass edition" msgstr "" + +#. module: mass_editing +#: code:addons/mass_editing/wizard/mass_editing_wizard.py:0 +#, python-format +msgid "" +"You have selected %d record(s) that can not be processed.\n" +"Only %d record(s) will be processed." +msgstr "" diff --git a/mass_editing/i18n/nl.po b/mass_editing/i18n/nl.po index fb8f20c..a5abcf6 100644 --- a/mass_editing/i18n/nl.po +++ b/mass_editing/i18n/nl.po @@ -20,7 +20,7 @@ msgstr "" "X-Generator: Weblate 4.3.2\n" #. module: mass_editing -#: model_terms:ir.ui.view,arch_db:mass_editing.view_mass_editing_form +#: model_terms:ir.ui.view,arch_db:mass_editing.view_server_action_form msgid "" "WARNING: Take into account that adding a field with a domain, and not " "including the fields of such domain in this operation definition, will lead " @@ -28,9 +28,10 @@ msgid "" msgstr "" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__action_name -msgid "Action Name" -msgstr "Actie naam" +#: model:ir.model.fields,field_description:mass_editing.field_ir_actions_server__state +#: model:ir.model.fields,field_description:mass_editing.field_ir_cron__state +msgid "Action To Do" +msgstr "" #. module: mass_editing #: code:addons/mass_editing/wizard/mass_editing_wizard.py:0 @@ -41,15 +42,14 @@ msgstr "Toevoegen" #. module: mass_editing #: model:ir.model.fields,help:mass_editing.field_mass_editing_line__widget_option msgid "" -"Add widget text that will be used to display the field in the wizard. " -"Example :\n" -"'many2many_tags', 'selection'" +"Add widget text that will be used to display the field in the wizard.\n" +"Example: 'many2many_tags', 'selection', 'image'" msgstr "" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__groups_id -msgid "Allowed Groups" -msgstr "Toegestane groepen" +#: model_terms:ir.ui.view,arch_db:mass_editing.view_mass_editing_wizard_form +msgid "Apply" +msgstr "" #. module: mass_editing #: model:ir.model.fields,help:mass_editing.field_mass_editing_line__apply_domain @@ -62,87 +62,94 @@ msgid "Apply domain" msgstr "" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__apply_domain_in_lines +#: model:ir.model.fields,field_description:mass_editing.field_ir_actions_server__mass_edit_apply_domain_in_lines +#: model:ir.model.fields,field_description:mass_editing.field_ir_cron__mass_edit_apply_domain_in_lines msgid "Apply domain in lines" msgstr "" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__create_uid +#: model_terms:ir.ui.view,arch_db:mass_editing.view_mass_editing_wizard_form +msgid "Cancel" +msgstr "" + +#. module: mass_editing #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line__create_uid #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_wizard__create_uid msgid "Created by" msgstr "Aangemaakt door" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__create_date #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line__create_date #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_wizard__create_date msgid "Created on" msgstr "Aangemaakt op" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__display_name +#: model:ir.model.fields,field_description:mass_editing.field_ir_actions_server__display_name #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line__display_name #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_wizard__display_name msgid "Display Name" msgstr "Weergave naam" -#. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__domain -msgid "Domain" -msgstr "Domein" - #. module: mass_editing #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line__field_id msgid "Field" msgstr "Veld" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__id +#: model_terms:ir.ui.view,arch_db:mass_editing.view_server_action_form +msgid "Fields" +msgstr "" + +#. module: mass_editing +#: model:ir.model.fields,field_description:mass_editing.field_ir_actions_server__id #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line__id #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_wizard__id msgid "ID" msgstr "ID" #. module: mass_editing -#: model:ir.model.fields,help:mass_editing.field_mass_editing__message +#: model:ir.model.fields,help:mass_editing.field_ir_actions_server__mass_edit_message +#: model:ir.model.fields,help:mass_editing.field_ir_cron__mass_edit_message msgid "If set, this message will be displayed in the wizard." msgstr "" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing____last_update +#: model:ir.model.fields,field_description:mass_editing.field_ir_actions_server____last_update #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line____last_update #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_wizard____last_update msgid "Last Modified on" msgstr "Laatst bijgewerkt op" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__write_uid #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line__write_uid #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_wizard__write_uid msgid "Last Updated by" msgstr "Laatste bijgewerkt door" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__write_date #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line__write_date #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_wizard__write_date msgid "Last Updated on" msgstr "Laatst bijgewerkt op" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__line_ids -msgid "Line" -msgstr "Regel" +#: model:ir.actions.server,name:mass_editing.mass_editing_partner +#: model:ir.actions.server,name:mass_editing.mass_editing_partner_title +#: model:ir.actions.server,name:mass_editing.mass_editing_user +msgid "Mass Edit" +msgstr "" #. module: mass_editing -#: model:ir.actions.act_window,name:mass_editing.action_mass_editing -#: model:ir.model,name:mass_editing.model_mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line__mass_editing_id -#: model:ir.ui.menu,name:mass_editing.menu_mass_editing -#, fuzzy -msgid "Mass Editing" -msgstr "Mass Editing" +#: model:ir.model.fields,field_description:mass_editing.field_ir_actions_server__mass_edit_line_ids +#: model:ir.model.fields,field_description:mass_editing.field_ir_cron__mass_edit_line_ids +msgid "Mass Edit Line" +msgstr "" + +#. module: mass_editing +#: model:ir.model.fields.selection,name:mass_editing.selection__ir_actions_server__state__mass_edit +msgid "Mass Edit Records" +msgstr "" #. module: mass_editing #: model:ir.model,name:mass_editing.model_mass_editing_line @@ -151,21 +158,34 @@ msgid "Mass Editing Line" msgstr "Mass Editing Line" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__message +#: code:addons/mass_editing/models/mass_editing_line.py:0 +#, python-format +msgid "Mass edit fields should belong to the server action model." +msgstr "" + +#. module: mass_editing +#: model:ir.model.fields,field_description:mass_editing.field_ir_actions_server__mass_edit_message +#: model:ir.model.fields,field_description:mass_editing.field_ir_cron__mass_edit_message #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_wizard__message +#: model_terms:ir.ui.view,arch_db:mass_editing.view_server_action_form msgid "Message" msgstr "Bericht" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__model_id #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line__model_id msgid "Model" msgstr "Model" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__name -msgid "Name" -msgstr "Naam" +#: model:ir.model.fields,help:mass_editing.field_mass_editing_line__model_id +msgid "Model on which the server action runs." +msgstr "" + +#. module: mass_editing +#: code:addons/mass_editing/wizard/mass_editing_wizard.py:0 +#, python-format +msgid "None of the %d record(s) you have selected can be processed." +msgstr "" #. module: mass_editing #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_wizard__operation_description_danger @@ -203,6 +223,12 @@ msgstr "Geselecteerde items" msgid "Sequence" msgstr "Volgorde" +#. module: mass_editing +#: model:ir.model,name:mass_editing.model_ir_actions_server +#: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line__server_action_id +msgid "Server Action" +msgstr "" + #. module: mass_editing #: code:addons/mass_editing/wizard/mass_editing_wizard.py:0 #, python-format @@ -210,8 +236,24 @@ msgid "Set" msgstr "" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__ref_ir_act_window_id -msgid "Sidebar Action" +#: code:addons/mass_editing/wizard/mass_editing_wizard.py:0 +#, python-format +msgid "The treatment will be processed on the %d selected record(s)." +msgstr "" + +#. module: mass_editing +#: model:ir.model.fields,help:mass_editing.field_ir_actions_server__state +#: model:ir.model.fields,help:mass_editing.field_ir_cron__state +msgid "" +"Type of server action. The following values are available:\n" +"- 'Execute Python Code': a block of python code that will be executed\n" +"- 'Create': create a new record with new values\n" +"- 'Update a Record': update the values of a record\n" +"- 'Execute several actions': define an action that triggers several other " +"server actions\n" +"- 'Send Email': automatically send an email (Discuss)\n" +"- 'Add Followers': add followers to a record (Discuss)\n" +"- 'Create Next Activity': create an activity (Discuss)" msgstr "" #. module: mass_editing @@ -225,5 +267,32 @@ msgstr "" msgid "Wizard for mass edition" msgstr "Wizard for mass edition" +#. module: mass_editing +#: code:addons/mass_editing/wizard/mass_editing_wizard.py:0 +#, python-format +msgid "" +"You have selected %d record(s) that can not be processed.\n" +"Only %d record(s) will be processed." +msgstr "" + +#~ msgid "Action Name" +#~ msgstr "Actie naam" + +#~ msgid "Allowed Groups" +#~ msgstr "Toegestane groepen" + +#~ msgid "Domain" +#~ msgstr "Domein" + +#~ msgid "Line" +#~ msgstr "Regel" + +#, fuzzy +#~ msgid "Mass Editing" +#~ msgstr "Mass Editing" + +#~ msgid "Name" +#~ msgstr "Naam" + #~ msgid "%s (copy)" #~ msgstr "%s (kopie)" diff --git a/mass_editing/i18n/nl_BE.po b/mass_editing/i18n/nl_BE.po index 37393eb..f5dd90f 100644 --- a/mass_editing/i18n/nl_BE.po +++ b/mass_editing/i18n/nl_BE.po @@ -20,7 +20,7 @@ msgstr "" "Plural-Forms: nplurals=2; plural=(n != 1);\n" #. module: mass_editing -#: model_terms:ir.ui.view,arch_db:mass_editing.view_mass_editing_form +#: model_terms:ir.ui.view,arch_db:mass_editing.view_server_action_form msgid "" "WARNING: Take into account that adding a field with a domain, and not " "including the fields of such domain in this operation definition, will lead " @@ -28,8 +28,9 @@ msgid "" msgstr "" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__action_name -msgid "Action Name" +#: model:ir.model.fields,field_description:mass_editing.field_ir_actions_server__state +#: model:ir.model.fields,field_description:mass_editing.field_ir_cron__state +msgid "Action To Do" msgstr "" #. module: mass_editing @@ -41,14 +42,13 @@ msgstr "" #. module: mass_editing #: model:ir.model.fields,help:mass_editing.field_mass_editing_line__widget_option msgid "" -"Add widget text that will be used to display the field in the wizard. " -"Example :\n" -"'many2many_tags', 'selection'" +"Add widget text that will be used to display the field in the wizard.\n" +"Example: 'many2many_tags', 'selection', 'image'" msgstr "" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__groups_id -msgid "Allowed Groups" +#: model_terms:ir.ui.view,arch_db:mass_editing.view_mass_editing_wizard_form +msgid "Apply" msgstr "" #. module: mass_editing @@ -62,85 +62,93 @@ msgid "Apply domain" msgstr "" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__apply_domain_in_lines +#: model:ir.model.fields,field_description:mass_editing.field_ir_actions_server__mass_edit_apply_domain_in_lines +#: model:ir.model.fields,field_description:mass_editing.field_ir_cron__mass_edit_apply_domain_in_lines msgid "Apply domain in lines" msgstr "" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__create_uid +#: model_terms:ir.ui.view,arch_db:mass_editing.view_mass_editing_wizard_form +msgid "Cancel" +msgstr "" + +#. module: mass_editing #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line__create_uid #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_wizard__create_uid msgid "Created by" msgstr "Gemaakt door" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__create_date #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line__create_date #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_wizard__create_date msgid "Created on" msgstr "Gemaakt op" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__display_name +#: model:ir.model.fields,field_description:mass_editing.field_ir_actions_server__display_name #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line__display_name #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_wizard__display_name msgid "Display Name" msgstr "Schermnaam" -#. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__domain -msgid "Domain" -msgstr "" - #. module: mass_editing #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line__field_id msgid "Field" msgstr "" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__id +#: model_terms:ir.ui.view,arch_db:mass_editing.view_server_action_form +msgid "Fields" +msgstr "" + +#. module: mass_editing +#: model:ir.model.fields,field_description:mass_editing.field_ir_actions_server__id #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line__id #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_wizard__id msgid "ID" msgstr "ID" #. module: mass_editing -#: model:ir.model.fields,help:mass_editing.field_mass_editing__message +#: model:ir.model.fields,help:mass_editing.field_ir_actions_server__mass_edit_message +#: model:ir.model.fields,help:mass_editing.field_ir_cron__mass_edit_message msgid "If set, this message will be displayed in the wizard." msgstr "" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing____last_update +#: model:ir.model.fields,field_description:mass_editing.field_ir_actions_server____last_update #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line____last_update #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_wizard____last_update msgid "Last Modified on" msgstr "Laatst Aangepast op" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__write_uid #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line__write_uid #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_wizard__write_uid msgid "Last Updated by" msgstr "Laatst bijgewerkt door" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__write_date #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line__write_date #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_wizard__write_date msgid "Last Updated on" msgstr "Laatst bijgewerkt op" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__line_ids -msgid "Line" +#: model:ir.actions.server,name:mass_editing.mass_editing_partner +#: model:ir.actions.server,name:mass_editing.mass_editing_partner_title +#: model:ir.actions.server,name:mass_editing.mass_editing_user +msgid "Mass Edit" msgstr "" #. module: mass_editing -#: model:ir.actions.act_window,name:mass_editing.action_mass_editing -#: model:ir.model,name:mass_editing.model_mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line__mass_editing_id -#: model:ir.ui.menu,name:mass_editing.menu_mass_editing -msgid "Mass Editing" +#: model:ir.model.fields,field_description:mass_editing.field_ir_actions_server__mass_edit_line_ids +#: model:ir.model.fields,field_description:mass_editing.field_ir_cron__mass_edit_line_ids +msgid "Mass Edit Line" +msgstr "" + +#. module: mass_editing +#: model:ir.model.fields.selection,name:mass_editing.selection__ir_actions_server__state__mass_edit +msgid "Mass Edit Records" msgstr "" #. module: mass_editing @@ -149,21 +157,34 @@ msgid "Mass Editing Line" msgstr "" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__message +#: code:addons/mass_editing/models/mass_editing_line.py:0 +#, python-format +msgid "Mass edit fields should belong to the server action model." +msgstr "" + +#. module: mass_editing +#: model:ir.model.fields,field_description:mass_editing.field_ir_actions_server__mass_edit_message +#: model:ir.model.fields,field_description:mass_editing.field_ir_cron__mass_edit_message #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_wizard__message +#: model_terms:ir.ui.view,arch_db:mass_editing.view_server_action_form msgid "Message" msgstr "" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__model_id #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line__model_id msgid "Model" msgstr "" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__name -msgid "Name" -msgstr "Naam" +#: model:ir.model.fields,help:mass_editing.field_mass_editing_line__model_id +msgid "Model on which the server action runs." +msgstr "" + +#. module: mass_editing +#: code:addons/mass_editing/wizard/mass_editing_wizard.py:0 +#, python-format +msgid "None of the %d record(s) you have selected can be processed." +msgstr "" #. module: mass_editing #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_wizard__operation_description_danger @@ -201,6 +222,12 @@ msgstr "" msgid "Sequence" msgstr "" +#. module: mass_editing +#: model:ir.model,name:mass_editing.model_ir_actions_server +#: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line__server_action_id +msgid "Server Action" +msgstr "" + #. module: mass_editing #: code:addons/mass_editing/wizard/mass_editing_wizard.py:0 #, python-format @@ -208,8 +235,24 @@ msgid "Set" msgstr "" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__ref_ir_act_window_id -msgid "Sidebar Action" +#: code:addons/mass_editing/wizard/mass_editing_wizard.py:0 +#, python-format +msgid "The treatment will be processed on the %d selected record(s)." +msgstr "" + +#. module: mass_editing +#: model:ir.model.fields,help:mass_editing.field_ir_actions_server__state +#: model:ir.model.fields,help:mass_editing.field_ir_cron__state +msgid "" +"Type of server action. The following values are available:\n" +"- 'Execute Python Code': a block of python code that will be executed\n" +"- 'Create': create a new record with new values\n" +"- 'Update a Record': update the values of a record\n" +"- 'Execute several actions': define an action that triggers several other " +"server actions\n" +"- 'Send Email': automatically send an email (Discuss)\n" +"- 'Add Followers': add followers to a record (Discuss)\n" +"- 'Create Next Activity': create an activity (Discuss)" msgstr "" #. module: mass_editing @@ -221,3 +264,14 @@ msgstr "" #: model:ir.model,name:mass_editing.model_mass_editing_wizard msgid "Wizard for mass edition" msgstr "" + +#. module: mass_editing +#: code:addons/mass_editing/wizard/mass_editing_wizard.py:0 +#, python-format +msgid "" +"You have selected %d record(s) that can not be processed.\n" +"Only %d record(s) will be processed." +msgstr "" + +#~ msgid "Name" +#~ msgstr "Naam" diff --git a/mass_editing/i18n/nl_NL.po b/mass_editing/i18n/nl_NL.po index 45e345f..ea6599d 100644 --- a/mass_editing/i18n/nl_NL.po +++ b/mass_editing/i18n/nl_NL.po @@ -20,7 +20,7 @@ msgstr "" "Plural-Forms: nplurals=2; plural=(n != 1);\n" #. module: mass_editing -#: model_terms:ir.ui.view,arch_db:mass_editing.view_mass_editing_form +#: model_terms:ir.ui.view,arch_db:mass_editing.view_server_action_form msgid "" "WARNING: Take into account that adding a field with a domain, and not " "including the fields of such domain in this operation definition, will lead " @@ -28,8 +28,9 @@ msgid "" msgstr "" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__action_name -msgid "Action Name" +#: model:ir.model.fields,field_description:mass_editing.field_ir_actions_server__state +#: model:ir.model.fields,field_description:mass_editing.field_ir_cron__state +msgid "Action To Do" msgstr "" #. module: mass_editing @@ -41,14 +42,13 @@ msgstr "" #. module: mass_editing #: model:ir.model.fields,help:mass_editing.field_mass_editing_line__widget_option msgid "" -"Add widget text that will be used to display the field in the wizard. " -"Example :\n" -"'many2many_tags', 'selection'" +"Add widget text that will be used to display the field in the wizard.\n" +"Example: 'many2many_tags', 'selection', 'image'" msgstr "" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__groups_id -msgid "Allowed Groups" +#: model_terms:ir.ui.view,arch_db:mass_editing.view_mass_editing_wizard_form +msgid "Apply" msgstr "" #. module: mass_editing @@ -62,36 +62,35 @@ msgid "Apply domain" msgstr "" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__apply_domain_in_lines +#: model:ir.model.fields,field_description:mass_editing.field_ir_actions_server__mass_edit_apply_domain_in_lines +#: model:ir.model.fields,field_description:mass_editing.field_ir_cron__mass_edit_apply_domain_in_lines msgid "Apply domain in lines" msgstr "" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__create_uid +#: model_terms:ir.ui.view,arch_db:mass_editing.view_mass_editing_wizard_form +msgid "Cancel" +msgstr "" + +#. module: mass_editing #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line__create_uid #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_wizard__create_uid msgid "Created by" msgstr "Aangemaakt door" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__create_date #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line__create_date #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_wizard__create_date msgid "Created on" msgstr "Aangemaakt op" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__display_name +#: model:ir.model.fields,field_description:mass_editing.field_ir_actions_server__display_name #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line__display_name #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_wizard__display_name msgid "Display Name" msgstr "weergavenaam" -#. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__domain -msgid "Domain" -msgstr "" - #. module: mass_editing #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line__field_id #, fuzzy @@ -99,49 +98,58 @@ msgid "Field" msgstr "Velden" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__id +#: model_terms:ir.ui.view,arch_db:mass_editing.view_server_action_form +msgid "Fields" +msgstr "" + +#. module: mass_editing +#: model:ir.model.fields,field_description:mass_editing.field_ir_actions_server__id #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line__id #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_wizard__id msgid "ID" msgstr "ID" #. module: mass_editing -#: model:ir.model.fields,help:mass_editing.field_mass_editing__message +#: model:ir.model.fields,help:mass_editing.field_ir_actions_server__mass_edit_message +#: model:ir.model.fields,help:mass_editing.field_ir_cron__mass_edit_message msgid "If set, this message will be displayed in the wizard." msgstr "" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing____last_update +#: model:ir.model.fields,field_description:mass_editing.field_ir_actions_server____last_update #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line____last_update #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_wizard____last_update msgid "Last Modified on" msgstr "Laatst gewijzigd op" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__write_uid #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line__write_uid #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_wizard__write_uid msgid "Last Updated by" msgstr "Laatst bijgewerkt door" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__write_date #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line__write_date #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_wizard__write_date msgid "Last Updated on" msgstr "Laatst bijgewerkt op" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__line_ids -msgid "Line" +#: model:ir.actions.server,name:mass_editing.mass_editing_partner +#: model:ir.actions.server,name:mass_editing.mass_editing_partner_title +#: model:ir.actions.server,name:mass_editing.mass_editing_user +msgid "Mass Edit" msgstr "" #. module: mass_editing -#: model:ir.actions.act_window,name:mass_editing.action_mass_editing -#: model:ir.model,name:mass_editing.model_mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line__mass_editing_id -#: model:ir.ui.menu,name:mass_editing.menu_mass_editing -msgid "Mass Editing" +#: model:ir.model.fields,field_description:mass_editing.field_ir_actions_server__mass_edit_line_ids +#: model:ir.model.fields,field_description:mass_editing.field_ir_cron__mass_edit_line_ids +msgid "Mass Edit Line" +msgstr "" + +#. module: mass_editing +#: model:ir.model.fields.selection,name:mass_editing.selection__ir_actions_server__state__mass_edit +msgid "Mass Edit Records" msgstr "" #. module: mass_editing @@ -150,21 +158,34 @@ msgid "Mass Editing Line" msgstr "" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__message +#: code:addons/mass_editing/models/mass_editing_line.py:0 +#, python-format +msgid "Mass edit fields should belong to the server action model." +msgstr "" + +#. module: mass_editing +#: model:ir.model.fields,field_description:mass_editing.field_ir_actions_server__mass_edit_message +#: model:ir.model.fields,field_description:mass_editing.field_ir_cron__mass_edit_message #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_wizard__message +#: model_terms:ir.ui.view,arch_db:mass_editing.view_server_action_form msgid "Message" msgstr "" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__model_id #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line__model_id msgid "Model" msgstr "Model" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__name -msgid "Name" -msgstr "Naam" +#: model:ir.model.fields,help:mass_editing.field_mass_editing_line__model_id +msgid "Model on which the server action runs." +msgstr "" + +#. module: mass_editing +#: code:addons/mass_editing/wizard/mass_editing_wizard.py:0 +#, python-format +msgid "None of the %d record(s) you have selected can be processed." +msgstr "" #. module: mass_editing #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_wizard__operation_description_danger @@ -202,6 +223,12 @@ msgstr "" msgid "Sequence" msgstr "" +#. module: mass_editing +#: model:ir.model,name:mass_editing.model_ir_actions_server +#: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line__server_action_id +msgid "Server Action" +msgstr "" + #. module: mass_editing #: code:addons/mass_editing/wizard/mass_editing_wizard.py:0 #, python-format @@ -209,8 +236,24 @@ msgid "Set" msgstr "" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__ref_ir_act_window_id -msgid "Sidebar Action" +#: code:addons/mass_editing/wizard/mass_editing_wizard.py:0 +#, python-format +msgid "The treatment will be processed on the %d selected record(s)." +msgstr "" + +#. module: mass_editing +#: model:ir.model.fields,help:mass_editing.field_ir_actions_server__state +#: model:ir.model.fields,help:mass_editing.field_ir_cron__state +msgid "" +"Type of server action. The following values are available:\n" +"- 'Execute Python Code': a block of python code that will be executed\n" +"- 'Create': create a new record with new values\n" +"- 'Update a Record': update the values of a record\n" +"- 'Execute several actions': define an action that triggers several other " +"server actions\n" +"- 'Send Email': automatically send an email (Discuss)\n" +"- 'Add Followers': add followers to a record (Discuss)\n" +"- 'Create Next Activity': create an activity (Discuss)" msgstr "" #. module: mass_editing @@ -223,6 +266,17 @@ msgstr "" msgid "Wizard for mass edition" msgstr "" +#. module: mass_editing +#: code:addons/mass_editing/wizard/mass_editing_wizard.py:0 +#, python-format +msgid "" +"You have selected %d record(s) that can not be processed.\n" +"Only %d record(s) will be processed." +msgstr "" + +#~ msgid "Name" +#~ msgstr "Naam" + #~ msgid "%s (copy)" #~ msgstr "%s(kopie)" diff --git a/mass_editing/i18n/pl.po b/mass_editing/i18n/pl.po index 8ad9faa..d805a8b 100644 --- a/mass_editing/i18n/pl.po +++ b/mass_editing/i18n/pl.po @@ -20,7 +20,7 @@ msgstr "" "|| n%100>=20) ? 1 : 2);\n" #. module: mass_editing -#: model_terms:ir.ui.view,arch_db:mass_editing.view_mass_editing_form +#: model_terms:ir.ui.view,arch_db:mass_editing.view_server_action_form msgid "" "WARNING: Take into account that adding a field with a domain, and not " "including the fields of such domain in this operation definition, will lead " @@ -28,8 +28,9 @@ msgid "" msgstr "" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__action_name -msgid "Action Name" +#: model:ir.model.fields,field_description:mass_editing.field_ir_actions_server__state +#: model:ir.model.fields,field_description:mass_editing.field_ir_cron__state +msgid "Action To Do" msgstr "" #. module: mass_editing @@ -41,14 +42,13 @@ msgstr "" #. module: mass_editing #: model:ir.model.fields,help:mass_editing.field_mass_editing_line__widget_option msgid "" -"Add widget text that will be used to display the field in the wizard. " -"Example :\n" -"'many2many_tags', 'selection'" +"Add widget text that will be used to display the field in the wizard.\n" +"Example: 'many2many_tags', 'selection', 'image'" msgstr "" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__groups_id -msgid "Allowed Groups" +#: model_terms:ir.ui.view,arch_db:mass_editing.view_mass_editing_wizard_form +msgid "Apply" msgstr "" #. module: mass_editing @@ -62,85 +62,93 @@ msgid "Apply domain" msgstr "" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__apply_domain_in_lines +#: model:ir.model.fields,field_description:mass_editing.field_ir_actions_server__mass_edit_apply_domain_in_lines +#: model:ir.model.fields,field_description:mass_editing.field_ir_cron__mass_edit_apply_domain_in_lines msgid "Apply domain in lines" msgstr "" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__create_uid +#: model_terms:ir.ui.view,arch_db:mass_editing.view_mass_editing_wizard_form +msgid "Cancel" +msgstr "" + +#. module: mass_editing #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line__create_uid #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_wizard__create_uid msgid "Created by" msgstr "Utworzone przez" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__create_date #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line__create_date #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_wizard__create_date msgid "Created on" msgstr "Data utworzenia" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__display_name +#: model:ir.model.fields,field_description:mass_editing.field_ir_actions_server__display_name #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line__display_name #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_wizard__display_name msgid "Display Name" msgstr "Wyświetlana nazwa " -#. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__domain -msgid "Domain" -msgstr "" - #. module: mass_editing #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line__field_id msgid "Field" msgstr "" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__id +#: model_terms:ir.ui.view,arch_db:mass_editing.view_server_action_form +msgid "Fields" +msgstr "" + +#. module: mass_editing +#: model:ir.model.fields,field_description:mass_editing.field_ir_actions_server__id #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line__id #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_wizard__id msgid "ID" msgstr "ID" #. module: mass_editing -#: model:ir.model.fields,help:mass_editing.field_mass_editing__message +#: model:ir.model.fields,help:mass_editing.field_ir_actions_server__mass_edit_message +#: model:ir.model.fields,help:mass_editing.field_ir_cron__mass_edit_message msgid "If set, this message will be displayed in the wizard." msgstr "" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing____last_update +#: model:ir.model.fields,field_description:mass_editing.field_ir_actions_server____last_update #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line____last_update #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_wizard____last_update msgid "Last Modified on" msgstr "Ostatnio modyfikowano" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__write_uid #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line__write_uid #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_wizard__write_uid msgid "Last Updated by" msgstr "Ostatnio modyfikowane przez" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__write_date #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line__write_date #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_wizard__write_date msgid "Last Updated on" msgstr "Data ostatniej modyfikacji" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__line_ids -msgid "Line" +#: model:ir.actions.server,name:mass_editing.mass_editing_partner +#: model:ir.actions.server,name:mass_editing.mass_editing_partner_title +#: model:ir.actions.server,name:mass_editing.mass_editing_user +msgid "Mass Edit" msgstr "" #. module: mass_editing -#: model:ir.actions.act_window,name:mass_editing.action_mass_editing -#: model:ir.model,name:mass_editing.model_mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line__mass_editing_id -#: model:ir.ui.menu,name:mass_editing.menu_mass_editing -msgid "Mass Editing" +#: model:ir.model.fields,field_description:mass_editing.field_ir_actions_server__mass_edit_line_ids +#: model:ir.model.fields,field_description:mass_editing.field_ir_cron__mass_edit_line_ids +msgid "Mass Edit Line" +msgstr "" + +#. module: mass_editing +#: model:ir.model.fields.selection,name:mass_editing.selection__ir_actions_server__state__mass_edit +msgid "Mass Edit Records" msgstr "" #. module: mass_editing @@ -149,21 +157,34 @@ msgid "Mass Editing Line" msgstr "" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__message +#: code:addons/mass_editing/models/mass_editing_line.py:0 +#, python-format +msgid "Mass edit fields should belong to the server action model." +msgstr "" + +#. module: mass_editing +#: model:ir.model.fields,field_description:mass_editing.field_ir_actions_server__mass_edit_message +#: model:ir.model.fields,field_description:mass_editing.field_ir_cron__mass_edit_message #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_wizard__message +#: model_terms:ir.ui.view,arch_db:mass_editing.view_server_action_form msgid "Message" msgstr "" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__model_id #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line__model_id msgid "Model" msgstr "" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__name -msgid "Name" -msgstr "Nazwa" +#: model:ir.model.fields,help:mass_editing.field_mass_editing_line__model_id +msgid "Model on which the server action runs." +msgstr "" + +#. module: mass_editing +#: code:addons/mass_editing/wizard/mass_editing_wizard.py:0 +#, python-format +msgid "None of the %d record(s) you have selected can be processed." +msgstr "" #. module: mass_editing #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_wizard__operation_description_danger @@ -201,6 +222,12 @@ msgstr "" msgid "Sequence" msgstr "" +#. module: mass_editing +#: model:ir.model,name:mass_editing.model_ir_actions_server +#: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line__server_action_id +msgid "Server Action" +msgstr "" + #. module: mass_editing #: code:addons/mass_editing/wizard/mass_editing_wizard.py:0 #, python-format @@ -208,8 +235,24 @@ msgid "Set" msgstr "" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__ref_ir_act_window_id -msgid "Sidebar Action" +#: code:addons/mass_editing/wizard/mass_editing_wizard.py:0 +#, python-format +msgid "The treatment will be processed on the %d selected record(s)." +msgstr "" + +#. module: mass_editing +#: model:ir.model.fields,help:mass_editing.field_ir_actions_server__state +#: model:ir.model.fields,help:mass_editing.field_ir_cron__state +msgid "" +"Type of server action. The following values are available:\n" +"- 'Execute Python Code': a block of python code that will be executed\n" +"- 'Create': create a new record with new values\n" +"- 'Update a Record': update the values of a record\n" +"- 'Execute several actions': define an action that triggers several other " +"server actions\n" +"- 'Send Email': automatically send an email (Discuss)\n" +"- 'Add Followers': add followers to a record (Discuss)\n" +"- 'Create Next Activity': create an activity (Discuss)" msgstr "" #. module: mass_editing @@ -221,3 +264,14 @@ msgstr "" #: model:ir.model,name:mass_editing.model_mass_editing_wizard msgid "Wizard for mass edition" msgstr "" + +#. module: mass_editing +#: code:addons/mass_editing/wizard/mass_editing_wizard.py:0 +#, python-format +msgid "" +"You have selected %d record(s) that can not be processed.\n" +"Only %d record(s) will be processed." +msgstr "" + +#~ msgid "Name" +#~ msgstr "Nazwa" diff --git a/mass_editing/i18n/pt.po b/mass_editing/i18n/pt.po index b8ba6e9..7349ed8 100644 --- a/mass_editing/i18n/pt.po +++ b/mass_editing/i18n/pt.po @@ -21,7 +21,7 @@ msgstr "" "X-Generator: Weblate 4.3.2\n" #. module: mass_editing -#: model_terms:ir.ui.view,arch_db:mass_editing.view_mass_editing_form +#: model_terms:ir.ui.view,arch_db:mass_editing.view_server_action_form msgid "" "WARNING: Take into account that adding a field with a domain, and not " "including the fields of such domain in this operation definition, will lead " @@ -32,9 +32,10 @@ msgstr "" "obterá um erro na tentativa de execução. Certifique-se de que os inclui." #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__action_name -msgid "Action Name" -msgstr "Nome da Ação" +#: model:ir.model.fields,field_description:mass_editing.field_ir_actions_server__state +#: model:ir.model.fields,field_description:mass_editing.field_ir_cron__state +msgid "Action To Do" +msgstr "" #. module: mass_editing #: code:addons/mass_editing/wizard/mass_editing_wizard.py:0 @@ -45,18 +46,14 @@ msgstr "Adicionar" #. module: mass_editing #: model:ir.model.fields,help:mass_editing.field_mass_editing_line__widget_option msgid "" -"Add widget text that will be used to display the field in the wizard. " -"Example :\n" -"'many2many_tags', 'selection'" +"Add widget text that will be used to display the field in the wizard.\n" +"Example: 'many2many_tags', 'selection', 'image'" msgstr "" -"Adicionar texto do widget que será usado para exibir o campo do assistente. " -"Exemplo:\n" -"'many2many_tags', 'selection'" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__groups_id -msgid "Allowed Groups" -msgstr "Grupos Permitidos" +#: model_terms:ir.ui.view,arch_db:mass_editing.view_mass_editing_wizard_form +msgid "Apply" +msgstr "" #. module: mass_editing #: model:ir.model.fields,help:mass_editing.field_mass_editing_line__apply_domain @@ -69,86 +66,94 @@ msgid "Apply domain" msgstr "Aplicar domínio" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__apply_domain_in_lines +#: model:ir.model.fields,field_description:mass_editing.field_ir_actions_server__mass_edit_apply_domain_in_lines +#: model:ir.model.fields,field_description:mass_editing.field_ir_cron__mass_edit_apply_domain_in_lines msgid "Apply domain in lines" msgstr "Aplicar domínio nas linhas" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__create_uid +#: model_terms:ir.ui.view,arch_db:mass_editing.view_mass_editing_wizard_form +msgid "Cancel" +msgstr "" + +#. module: mass_editing #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line__create_uid #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_wizard__create_uid msgid "Created by" msgstr "Criado por" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__create_date #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line__create_date #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_wizard__create_date msgid "Created on" msgstr "Criado em" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__display_name +#: model:ir.model.fields,field_description:mass_editing.field_ir_actions_server__display_name #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line__display_name #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_wizard__display_name msgid "Display Name" msgstr "Nome a Exibir" -#. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__domain -msgid "Domain" -msgstr "Domínio" - #. module: mass_editing #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line__field_id msgid "Field" msgstr "Campo" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__id +#: model_terms:ir.ui.view,arch_db:mass_editing.view_server_action_form +msgid "Fields" +msgstr "" + +#. module: mass_editing +#: model:ir.model.fields,field_description:mass_editing.field_ir_actions_server__id #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line__id #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_wizard__id msgid "ID" msgstr "Id" #. module: mass_editing -#: model:ir.model.fields,help:mass_editing.field_mass_editing__message +#: model:ir.model.fields,help:mass_editing.field_ir_actions_server__mass_edit_message +#: model:ir.model.fields,help:mass_editing.field_ir_cron__mass_edit_message msgid "If set, this message will be displayed in the wizard." msgstr "Se atribuído, esta mensagem será exibida no assistente." #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing____last_update +#: model:ir.model.fields,field_description:mass_editing.field_ir_actions_server____last_update #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line____last_update #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_wizard____last_update msgid "Last Modified on" msgstr "Última Modificação em" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__write_uid #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line__write_uid #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_wizard__write_uid msgid "Last Updated by" msgstr "Última Atualização por" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__write_date #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line__write_date #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_wizard__write_date msgid "Last Updated on" msgstr "Última Atualização em" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__line_ids -msgid "Line" -msgstr "Linha" +#: model:ir.actions.server,name:mass_editing.mass_editing_partner +#: model:ir.actions.server,name:mass_editing.mass_editing_partner_title +#: model:ir.actions.server,name:mass_editing.mass_editing_user +msgid "Mass Edit" +msgstr "" #. module: mass_editing -#: model:ir.actions.act_window,name:mass_editing.action_mass_editing -#: model:ir.model,name:mass_editing.model_mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line__mass_editing_id -#: model:ir.ui.menu,name:mass_editing.menu_mass_editing -msgid "Mass Editing" -msgstr "Edição em Massa" +#: model:ir.model.fields,field_description:mass_editing.field_ir_actions_server__mass_edit_line_ids +#: model:ir.model.fields,field_description:mass_editing.field_ir_cron__mass_edit_line_ids +msgid "Mass Edit Line" +msgstr "" + +#. module: mass_editing +#: model:ir.model.fields.selection,name:mass_editing.selection__ir_actions_server__state__mass_edit +msgid "Mass Edit Records" +msgstr "" #. module: mass_editing #: model:ir.model,name:mass_editing.model_mass_editing_line @@ -156,21 +161,34 @@ msgid "Mass Editing Line" msgstr "Linha de Edição em Massa" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__message +#: code:addons/mass_editing/models/mass_editing_line.py:0 +#, python-format +msgid "Mass edit fields should belong to the server action model." +msgstr "" + +#. module: mass_editing +#: model:ir.model.fields,field_description:mass_editing.field_ir_actions_server__mass_edit_message +#: model:ir.model.fields,field_description:mass_editing.field_ir_cron__mass_edit_message #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_wizard__message +#: model_terms:ir.ui.view,arch_db:mass_editing.view_server_action_form msgid "Message" msgstr "Mensagem" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__model_id #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line__model_id msgid "Model" msgstr "Modelo" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__name -msgid "Name" -msgstr "Nome" +#: model:ir.model.fields,help:mass_editing.field_mass_editing_line__model_id +msgid "Model on which the server action runs." +msgstr "" + +#. module: mass_editing +#: code:addons/mass_editing/wizard/mass_editing_wizard.py:0 +#, python-format +msgid "None of the %d record(s) you have selected can be processed." +msgstr "" #. module: mass_editing #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_wizard__operation_description_danger @@ -208,6 +226,12 @@ msgstr "Qtd de Itens Selecionados" msgid "Sequence" msgstr "Sequência" +#. module: mass_editing +#: model:ir.model,name:mass_editing.model_ir_actions_server +#: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line__server_action_id +msgid "Server Action" +msgstr "" + #. module: mass_editing #: code:addons/mass_editing/wizard/mass_editing_wizard.py:0 #, python-format @@ -215,9 +239,25 @@ msgid "Set" msgstr "Atribuir" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__ref_ir_act_window_id -msgid "Sidebar Action" -msgstr "Ação da Barra Lateral" +#: code:addons/mass_editing/wizard/mass_editing_wizard.py:0 +#, python-format +msgid "The treatment will be processed on the %d selected record(s)." +msgstr "" + +#. module: mass_editing +#: model:ir.model.fields,help:mass_editing.field_ir_actions_server__state +#: model:ir.model.fields,help:mass_editing.field_ir_cron__state +msgid "" +"Type of server action. The following values are available:\n" +"- 'Execute Python Code': a block of python code that will be executed\n" +"- 'Create': create a new record with new values\n" +"- 'Update a Record': update the values of a record\n" +"- 'Execute several actions': define an action that triggers several other " +"server actions\n" +"- 'Send Email': automatically send an email (Discuss)\n" +"- 'Add Followers': add followers to a record (Discuss)\n" +"- 'Create Next Activity': create an activity (Discuss)" +msgstr "" #. module: mass_editing #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line__widget_option @@ -229,6 +269,44 @@ msgstr "Opção do Widget" msgid "Wizard for mass edition" msgstr "Assistente de edição em massa" +#. module: mass_editing +#: code:addons/mass_editing/wizard/mass_editing_wizard.py:0 +#, python-format +msgid "" +"You have selected %d record(s) that can not be processed.\n" +"Only %d record(s) will be processed." +msgstr "" + +#~ msgid "Action Name" +#~ msgstr "Nome da Ação" + +#~ msgid "" +#~ "Add widget text that will be used to display the field in the wizard. " +#~ "Example :\n" +#~ "'many2many_tags', 'selection'" +#~ msgstr "" +#~ "Adicionar texto do widget que será usado para exibir o campo do " +#~ "assistente. Exemplo:\n" +#~ "'many2many_tags', 'selection'" + +#~ msgid "Allowed Groups" +#~ msgstr "Grupos Permitidos" + +#~ msgid "Domain" +#~ msgstr "Domínio" + +#~ msgid "Line" +#~ msgstr "Linha" + +#~ msgid "Mass Editing" +#~ msgstr "Edição em Massa" + +#~ msgid "Name" +#~ msgstr "Nome" + +#~ msgid "Sidebar Action" +#~ msgstr "Ação da Barra Lateral" + #~ msgid "%s (copy)" #~ msgstr "%s (cópia)" diff --git a/mass_editing/i18n/pt_BR.po b/mass_editing/i18n/pt_BR.po index 4afd212..cab59e9 100644 --- a/mass_editing/i18n/pt_BR.po +++ b/mass_editing/i18n/pt_BR.po @@ -21,7 +21,7 @@ msgstr "" "X-Generator: Weblate 3.8\n" #. module: mass_editing -#: model_terms:ir.ui.view,arch_db:mass_editing.view_mass_editing_form +#: model_terms:ir.ui.view,arch_db:mass_editing.view_server_action_form msgid "" "WARNING: Take into account that adding a field with a domain, and not " "including the fields of such domain in this operation definition, will lead " @@ -29,8 +29,9 @@ msgid "" msgstr "" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__action_name -msgid "Action Name" +#: model:ir.model.fields,field_description:mass_editing.field_ir_actions_server__state +#: model:ir.model.fields,field_description:mass_editing.field_ir_cron__state +msgid "Action To Do" msgstr "" #. module: mass_editing @@ -42,14 +43,13 @@ msgstr "" #. module: mass_editing #: model:ir.model.fields,help:mass_editing.field_mass_editing_line__widget_option msgid "" -"Add widget text that will be used to display the field in the wizard. " -"Example :\n" -"'many2many_tags', 'selection'" +"Add widget text that will be used to display the field in the wizard.\n" +"Example: 'many2many_tags', 'selection', 'image'" msgstr "" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__groups_id -msgid "Allowed Groups" +#: model_terms:ir.ui.view,arch_db:mass_editing.view_mass_editing_wizard_form +msgid "Apply" msgstr "" #. module: mass_editing @@ -63,36 +63,35 @@ msgid "Apply domain" msgstr "" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__apply_domain_in_lines +#: model:ir.model.fields,field_description:mass_editing.field_ir_actions_server__mass_edit_apply_domain_in_lines +#: model:ir.model.fields,field_description:mass_editing.field_ir_cron__mass_edit_apply_domain_in_lines msgid "Apply domain in lines" msgstr "" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__create_uid +#: model_terms:ir.ui.view,arch_db:mass_editing.view_mass_editing_wizard_form +msgid "Cancel" +msgstr "" + +#. module: mass_editing #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line__create_uid #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_wizard__create_uid msgid "Created by" msgstr "Criado por" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__create_date #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line__create_date #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_wizard__create_date msgid "Created on" msgstr "Criado em" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__display_name +#: model:ir.model.fields,field_description:mass_editing.field_ir_actions_server__display_name #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line__display_name #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_wizard__display_name msgid "Display Name" msgstr "Nome para Mostrar" -#. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__domain -msgid "Domain" -msgstr "" - #. module: mass_editing #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line__field_id #, fuzzy @@ -100,50 +99,59 @@ msgid "Field" msgstr "Campos" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__id +#: model_terms:ir.ui.view,arch_db:mass_editing.view_server_action_form +msgid "Fields" +msgstr "" + +#. module: mass_editing +#: model:ir.model.fields,field_description:mass_editing.field_ir_actions_server__id #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line__id #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_wizard__id msgid "ID" msgstr "Identificação" #. module: mass_editing -#: model:ir.model.fields,help:mass_editing.field_mass_editing__message +#: model:ir.model.fields,help:mass_editing.field_ir_actions_server__mass_edit_message +#: model:ir.model.fields,help:mass_editing.field_ir_cron__mass_edit_message msgid "If set, this message will be displayed in the wizard." msgstr "" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing____last_update +#: model:ir.model.fields,field_description:mass_editing.field_ir_actions_server____last_update #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line____last_update #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_wizard____last_update msgid "Last Modified on" msgstr "Última atualização em" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__write_uid #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line__write_uid #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_wizard__write_uid msgid "Last Updated by" msgstr "Última atualização por" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__write_date #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line__write_date #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_wizard__write_date msgid "Last Updated on" msgstr "Última atualização em" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__line_ids -msgid "Line" +#: model:ir.actions.server,name:mass_editing.mass_editing_partner +#: model:ir.actions.server,name:mass_editing.mass_editing_partner_title +#: model:ir.actions.server,name:mass_editing.mass_editing_user +msgid "Mass Edit" msgstr "" #. module: mass_editing -#: model:ir.actions.act_window,name:mass_editing.action_mass_editing -#: model:ir.model,name:mass_editing.model_mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line__mass_editing_id -#: model:ir.ui.menu,name:mass_editing.menu_mass_editing -msgid "Mass Editing" -msgstr "Edição em massa" +#: model:ir.model.fields,field_description:mass_editing.field_ir_actions_server__mass_edit_line_ids +#: model:ir.model.fields,field_description:mass_editing.field_ir_cron__mass_edit_line_ids +msgid "Mass Edit Line" +msgstr "" + +#. module: mass_editing +#: model:ir.model.fields.selection,name:mass_editing.selection__ir_actions_server__state__mass_edit +msgid "Mass Edit Records" +msgstr "" #. module: mass_editing #: model:ir.model,name:mass_editing.model_mass_editing_line @@ -152,21 +160,34 @@ msgid "Mass Editing Line" msgstr "Edição em massa" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__message +#: code:addons/mass_editing/models/mass_editing_line.py:0 +#, python-format +msgid "Mass edit fields should belong to the server action model." +msgstr "" + +#. module: mass_editing +#: model:ir.model.fields,field_description:mass_editing.field_ir_actions_server__mass_edit_message +#: model:ir.model.fields,field_description:mass_editing.field_ir_cron__mass_edit_message #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_wizard__message +#: model_terms:ir.ui.view,arch_db:mass_editing.view_server_action_form msgid "Message" msgstr "" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__model_id #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line__model_id msgid "Model" msgstr "Modelo" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__name -msgid "Name" -msgstr "Nome" +#: model:ir.model.fields,help:mass_editing.field_mass_editing_line__model_id +msgid "Model on which the server action runs." +msgstr "" + +#. module: mass_editing +#: code:addons/mass_editing/wizard/mass_editing_wizard.py:0 +#, python-format +msgid "None of the %d record(s) you have selected can be processed." +msgstr "" #. module: mass_editing #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_wizard__operation_description_danger @@ -204,6 +225,12 @@ msgstr "" msgid "Sequence" msgstr "" +#. module: mass_editing +#: model:ir.model,name:mass_editing.model_ir_actions_server +#: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line__server_action_id +msgid "Server Action" +msgstr "" + #. module: mass_editing #: code:addons/mass_editing/wizard/mass_editing_wizard.py:0 #, python-format @@ -211,10 +238,25 @@ msgid "Set" msgstr "" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__ref_ir_act_window_id -#, fuzzy -msgid "Sidebar Action" -msgstr "Ação da Barra Lateral" +#: code:addons/mass_editing/wizard/mass_editing_wizard.py:0 +#, python-format +msgid "The treatment will be processed on the %d selected record(s)." +msgstr "" + +#. module: mass_editing +#: model:ir.model.fields,help:mass_editing.field_ir_actions_server__state +#: model:ir.model.fields,help:mass_editing.field_ir_cron__state +msgid "" +"Type of server action. The following values are available:\n" +"- 'Execute Python Code': a block of python code that will be executed\n" +"- 'Create': create a new record with new values\n" +"- 'Update a Record': update the values of a record\n" +"- 'Execute several actions': define an action that triggers several other " +"server actions\n" +"- 'Send Email': automatically send an email (Discuss)\n" +"- 'Add Followers': add followers to a record (Discuss)\n" +"- 'Create Next Activity': create an activity (Discuss)" +msgstr "" #. module: mass_editing #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line__widget_option @@ -226,6 +268,24 @@ msgstr "" msgid "Wizard for mass edition" msgstr "Assistente para edição em massa" +#. module: mass_editing +#: code:addons/mass_editing/wizard/mass_editing_wizard.py:0 +#, python-format +msgid "" +"You have selected %d record(s) that can not be processed.\n" +"Only %d record(s) will be processed." +msgstr "" + +#~ msgid "Mass Editing" +#~ msgstr "Edição em massa" + +#~ msgid "Name" +#~ msgstr "Nome" + +#, fuzzy +#~ msgid "Sidebar Action" +#~ msgstr "Ação da Barra Lateral" + #~ msgid "%s (copy)" #~ msgstr "%s (cópia)" diff --git a/mass_editing/i18n/pt_PT.po b/mass_editing/i18n/pt_PT.po index 8175962..f8d99a7 100644 --- a/mass_editing/i18n/pt_PT.po +++ b/mass_editing/i18n/pt_PT.po @@ -20,7 +20,7 @@ msgstr "" "Plural-Forms: nplurals=2; plural=(n != 1);\n" #. module: mass_editing -#: model_terms:ir.ui.view,arch_db:mass_editing.view_mass_editing_form +#: model_terms:ir.ui.view,arch_db:mass_editing.view_server_action_form msgid "" "WARNING: Take into account that adding a field with a domain, and not " "including the fields of such domain in this operation definition, will lead " @@ -28,8 +28,9 @@ msgid "" msgstr "" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__action_name -msgid "Action Name" +#: model:ir.model.fields,field_description:mass_editing.field_ir_actions_server__state +#: model:ir.model.fields,field_description:mass_editing.field_ir_cron__state +msgid "Action To Do" msgstr "" #. module: mass_editing @@ -41,14 +42,13 @@ msgstr "" #. module: mass_editing #: model:ir.model.fields,help:mass_editing.field_mass_editing_line__widget_option msgid "" -"Add widget text that will be used to display the field in the wizard. " -"Example :\n" -"'many2many_tags', 'selection'" +"Add widget text that will be used to display the field in the wizard.\n" +"Example: 'many2many_tags', 'selection', 'image'" msgstr "" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__groups_id -msgid "Allowed Groups" +#: model_terms:ir.ui.view,arch_db:mass_editing.view_mass_editing_wizard_form +msgid "Apply" msgstr "" #. module: mass_editing @@ -62,36 +62,35 @@ msgid "Apply domain" msgstr "" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__apply_domain_in_lines +#: model:ir.model.fields,field_description:mass_editing.field_ir_actions_server__mass_edit_apply_domain_in_lines +#: model:ir.model.fields,field_description:mass_editing.field_ir_cron__mass_edit_apply_domain_in_lines msgid "Apply domain in lines" msgstr "" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__create_uid +#: model_terms:ir.ui.view,arch_db:mass_editing.view_mass_editing_wizard_form +msgid "Cancel" +msgstr "" + +#. module: mass_editing #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line__create_uid #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_wizard__create_uid msgid "Created by" msgstr "Criado por" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__create_date #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line__create_date #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_wizard__create_date msgid "Created on" msgstr "Criado em" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__display_name +#: model:ir.model.fields,field_description:mass_editing.field_ir_actions_server__display_name #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line__display_name #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_wizard__display_name msgid "Display Name" msgstr "Nome a Apresentar" -#. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__domain -msgid "Domain" -msgstr "" - #. module: mass_editing #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line__field_id #, fuzzy @@ -99,50 +98,59 @@ msgid "Field" msgstr "Campos" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__id +#: model_terms:ir.ui.view,arch_db:mass_editing.view_server_action_form +msgid "Fields" +msgstr "" + +#. module: mass_editing +#: model:ir.model.fields,field_description:mass_editing.field_ir_actions_server__id #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line__id #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_wizard__id msgid "ID" msgstr "ID" #. module: mass_editing -#: model:ir.model.fields,help:mass_editing.field_mass_editing__message +#: model:ir.model.fields,help:mass_editing.field_ir_actions_server__mass_edit_message +#: model:ir.model.fields,help:mass_editing.field_ir_cron__mass_edit_message msgid "If set, this message will be displayed in the wizard." msgstr "" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing____last_update +#: model:ir.model.fields,field_description:mass_editing.field_ir_actions_server____last_update #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line____last_update #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_wizard____last_update msgid "Last Modified on" msgstr "Última Modificação em" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__write_uid #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line__write_uid #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_wizard__write_uid msgid "Last Updated by" msgstr "Atualizado pela última vez por" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__write_date #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line__write_date #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_wizard__write_date msgid "Last Updated on" msgstr "Atualizado pela última vez em" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__line_ids -msgid "Line" +#: model:ir.actions.server,name:mass_editing.mass_editing_partner +#: model:ir.actions.server,name:mass_editing.mass_editing_partner_title +#: model:ir.actions.server,name:mass_editing.mass_editing_user +msgid "Mass Edit" msgstr "" #. module: mass_editing -#: model:ir.actions.act_window,name:mass_editing.action_mass_editing -#: model:ir.model,name:mass_editing.model_mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line__mass_editing_id -#: model:ir.ui.menu,name:mass_editing.menu_mass_editing -msgid "Mass Editing" -msgstr "Edição Múltipla" +#: model:ir.model.fields,field_description:mass_editing.field_ir_actions_server__mass_edit_line_ids +#: model:ir.model.fields,field_description:mass_editing.field_ir_cron__mass_edit_line_ids +msgid "Mass Edit Line" +msgstr "" + +#. module: mass_editing +#: model:ir.model.fields.selection,name:mass_editing.selection__ir_actions_server__state__mass_edit +msgid "Mass Edit Records" +msgstr "" #. module: mass_editing #: model:ir.model,name:mass_editing.model_mass_editing_line @@ -151,21 +159,34 @@ msgid "Mass Editing Line" msgstr "Edição Múltipla" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__message +#: code:addons/mass_editing/models/mass_editing_line.py:0 +#, python-format +msgid "Mass edit fields should belong to the server action model." +msgstr "" + +#. module: mass_editing +#: model:ir.model.fields,field_description:mass_editing.field_ir_actions_server__mass_edit_message +#: model:ir.model.fields,field_description:mass_editing.field_ir_cron__mass_edit_message #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_wizard__message +#: model_terms:ir.ui.view,arch_db:mass_editing.view_server_action_form msgid "Message" msgstr "" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__model_id #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line__model_id msgid "Model" msgstr "Modelo" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__name -msgid "Name" -msgstr "Nome" +#: model:ir.model.fields,help:mass_editing.field_mass_editing_line__model_id +msgid "Model on which the server action runs." +msgstr "" + +#. module: mass_editing +#: code:addons/mass_editing/wizard/mass_editing_wizard.py:0 +#, python-format +msgid "None of the %d record(s) you have selected can be processed." +msgstr "" #. module: mass_editing #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_wizard__operation_description_danger @@ -203,6 +224,12 @@ msgstr "" msgid "Sequence" msgstr "" +#. module: mass_editing +#: model:ir.model,name:mass_editing.model_ir_actions_server +#: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line__server_action_id +msgid "Server Action" +msgstr "" + #. module: mass_editing #: code:addons/mass_editing/wizard/mass_editing_wizard.py:0 #, python-format @@ -210,8 +237,24 @@ msgid "Set" msgstr "" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__ref_ir_act_window_id -msgid "Sidebar Action" +#: code:addons/mass_editing/wizard/mass_editing_wizard.py:0 +#, python-format +msgid "The treatment will be processed on the %d selected record(s)." +msgstr "" + +#. module: mass_editing +#: model:ir.model.fields,help:mass_editing.field_ir_actions_server__state +#: model:ir.model.fields,help:mass_editing.field_ir_cron__state +msgid "" +"Type of server action. The following values are available:\n" +"- 'Execute Python Code': a block of python code that will be executed\n" +"- 'Create': create a new record with new values\n" +"- 'Update a Record': update the values of a record\n" +"- 'Execute several actions': define an action that triggers several other " +"server actions\n" +"- 'Send Email': automatically send an email (Discuss)\n" +"- 'Add Followers': add followers to a record (Discuss)\n" +"- 'Create Next Activity': create an activity (Discuss)" msgstr "" #. module: mass_editing @@ -224,6 +267,20 @@ msgstr "" msgid "Wizard for mass edition" msgstr "" +#. module: mass_editing +#: code:addons/mass_editing/wizard/mass_editing_wizard.py:0 +#, python-format +msgid "" +"You have selected %d record(s) that can not be processed.\n" +"Only %d record(s) will be processed." +msgstr "" + +#~ msgid "Mass Editing" +#~ msgstr "Edição Múltipla" + +#~ msgid "Name" +#~ msgstr "Nome" + #~ msgid "Advanced" #~ msgstr "Avançado" diff --git a/mass_editing/i18n/ro.po b/mass_editing/i18n/ro.po index d2bef35..95d6475 100644 --- a/mass_editing/i18n/ro.po +++ b/mass_editing/i18n/ro.po @@ -21,7 +21,7 @@ msgstr "" "2:1));\n" #. module: mass_editing -#: model_terms:ir.ui.view,arch_db:mass_editing.view_mass_editing_form +#: model_terms:ir.ui.view,arch_db:mass_editing.view_server_action_form msgid "" "WARNING: Take into account that adding a field with a domain, and not " "including the fields of such domain in this operation definition, will lead " @@ -29,8 +29,9 @@ msgid "" msgstr "" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__action_name -msgid "Action Name" +#: model:ir.model.fields,field_description:mass_editing.field_ir_actions_server__state +#: model:ir.model.fields,field_description:mass_editing.field_ir_cron__state +msgid "Action To Do" msgstr "" #. module: mass_editing @@ -42,14 +43,13 @@ msgstr "" #. module: mass_editing #: model:ir.model.fields,help:mass_editing.field_mass_editing_line__widget_option msgid "" -"Add widget text that will be used to display the field in the wizard. " -"Example :\n" -"'many2many_tags', 'selection'" +"Add widget text that will be used to display the field in the wizard.\n" +"Example: 'many2many_tags', 'selection', 'image'" msgstr "" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__groups_id -msgid "Allowed Groups" +#: model_terms:ir.ui.view,arch_db:mass_editing.view_mass_editing_wizard_form +msgid "Apply" msgstr "" #. module: mass_editing @@ -63,85 +63,93 @@ msgid "Apply domain" msgstr "" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__apply_domain_in_lines +#: model:ir.model.fields,field_description:mass_editing.field_ir_actions_server__mass_edit_apply_domain_in_lines +#: model:ir.model.fields,field_description:mass_editing.field_ir_cron__mass_edit_apply_domain_in_lines msgid "Apply domain in lines" msgstr "" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__create_uid +#: model_terms:ir.ui.view,arch_db:mass_editing.view_mass_editing_wizard_form +msgid "Cancel" +msgstr "" + +#. module: mass_editing #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line__create_uid #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_wizard__create_uid msgid "Created by" msgstr "Creat de" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__create_date #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line__create_date #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_wizard__create_date msgid "Created on" msgstr "Creat la" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__display_name +#: model:ir.model.fields,field_description:mass_editing.field_ir_actions_server__display_name #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line__display_name #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_wizard__display_name msgid "Display Name" msgstr "Nume Afişat" -#. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__domain -msgid "Domain" -msgstr "" - #. module: mass_editing #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line__field_id msgid "Field" msgstr "" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__id +#: model_terms:ir.ui.view,arch_db:mass_editing.view_server_action_form +msgid "Fields" +msgstr "" + +#. module: mass_editing +#: model:ir.model.fields,field_description:mass_editing.field_ir_actions_server__id #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line__id #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_wizard__id msgid "ID" msgstr "ID" #. module: mass_editing -#: model:ir.model.fields,help:mass_editing.field_mass_editing__message +#: model:ir.model.fields,help:mass_editing.field_ir_actions_server__mass_edit_message +#: model:ir.model.fields,help:mass_editing.field_ir_cron__mass_edit_message msgid "If set, this message will be displayed in the wizard." msgstr "" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing____last_update +#: model:ir.model.fields,field_description:mass_editing.field_ir_actions_server____last_update #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line____last_update #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_wizard____last_update msgid "Last Modified on" msgstr "Ultima actualizare în" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__write_uid #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line__write_uid #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_wizard__write_uid msgid "Last Updated by" msgstr "Ultima actualizare făcută de" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__write_date #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line__write_date #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_wizard__write_date msgid "Last Updated on" msgstr "Ultima actualizare la" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__line_ids -msgid "Line" +#: model:ir.actions.server,name:mass_editing.mass_editing_partner +#: model:ir.actions.server,name:mass_editing.mass_editing_partner_title +#: model:ir.actions.server,name:mass_editing.mass_editing_user +msgid "Mass Edit" msgstr "" #. module: mass_editing -#: model:ir.actions.act_window,name:mass_editing.action_mass_editing -#: model:ir.model,name:mass_editing.model_mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line__mass_editing_id -#: model:ir.ui.menu,name:mass_editing.menu_mass_editing -msgid "Mass Editing" +#: model:ir.model.fields,field_description:mass_editing.field_ir_actions_server__mass_edit_line_ids +#: model:ir.model.fields,field_description:mass_editing.field_ir_cron__mass_edit_line_ids +msgid "Mass Edit Line" +msgstr "" + +#. module: mass_editing +#: model:ir.model.fields.selection,name:mass_editing.selection__ir_actions_server__state__mass_edit +msgid "Mass Edit Records" msgstr "" #. module: mass_editing @@ -150,21 +158,34 @@ msgid "Mass Editing Line" msgstr "" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__message +#: code:addons/mass_editing/models/mass_editing_line.py:0 +#, python-format +msgid "Mass edit fields should belong to the server action model." +msgstr "" + +#. module: mass_editing +#: model:ir.model.fields,field_description:mass_editing.field_ir_actions_server__mass_edit_message +#: model:ir.model.fields,field_description:mass_editing.field_ir_cron__mass_edit_message #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_wizard__message +#: model_terms:ir.ui.view,arch_db:mass_editing.view_server_action_form msgid "Message" msgstr "" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__model_id #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line__model_id msgid "Model" msgstr "Model" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__name -msgid "Name" -msgstr "Nume" +#: model:ir.model.fields,help:mass_editing.field_mass_editing_line__model_id +msgid "Model on which the server action runs." +msgstr "" + +#. module: mass_editing +#: code:addons/mass_editing/wizard/mass_editing_wizard.py:0 +#, python-format +msgid "None of the %d record(s) you have selected can be processed." +msgstr "" #. module: mass_editing #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_wizard__operation_description_danger @@ -202,6 +223,12 @@ msgstr "" msgid "Sequence" msgstr "" +#. module: mass_editing +#: model:ir.model,name:mass_editing.model_ir_actions_server +#: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line__server_action_id +msgid "Server Action" +msgstr "" + #. module: mass_editing #: code:addons/mass_editing/wizard/mass_editing_wizard.py:0 #, python-format @@ -209,8 +236,24 @@ msgid "Set" msgstr "" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__ref_ir_act_window_id -msgid "Sidebar Action" +#: code:addons/mass_editing/wizard/mass_editing_wizard.py:0 +#, python-format +msgid "The treatment will be processed on the %d selected record(s)." +msgstr "" + +#. module: mass_editing +#: model:ir.model.fields,help:mass_editing.field_ir_actions_server__state +#: model:ir.model.fields,help:mass_editing.field_ir_cron__state +msgid "" +"Type of server action. The following values are available:\n" +"- 'Execute Python Code': a block of python code that will be executed\n" +"- 'Create': create a new record with new values\n" +"- 'Update a Record': update the values of a record\n" +"- 'Execute several actions': define an action that triggers several other " +"server actions\n" +"- 'Send Email': automatically send an email (Discuss)\n" +"- 'Add Followers': add followers to a record (Discuss)\n" +"- 'Create Next Activity': create an activity (Discuss)" msgstr "" #. module: mass_editing @@ -222,3 +265,14 @@ msgstr "" #: model:ir.model,name:mass_editing.model_mass_editing_wizard msgid "Wizard for mass edition" msgstr "" + +#. module: mass_editing +#: code:addons/mass_editing/wizard/mass_editing_wizard.py:0 +#, python-format +msgid "" +"You have selected %d record(s) that can not be processed.\n" +"Only %d record(s) will be processed." +msgstr "" + +#~ msgid "Name" +#~ msgstr "Nume" diff --git a/mass_editing/i18n/ru.po b/mass_editing/i18n/ru.po index fcfc3bd..1556936 100644 --- a/mass_editing/i18n/ru.po +++ b/mass_editing/i18n/ru.po @@ -21,7 +21,7 @@ msgstr "" "%100>=11 && n%100<=14)? 2 : 3);\n" #. module: mass_editing -#: model_terms:ir.ui.view,arch_db:mass_editing.view_mass_editing_form +#: model_terms:ir.ui.view,arch_db:mass_editing.view_server_action_form msgid "" "WARNING: Take into account that adding a field with a domain, and not " "including the fields of such domain in this operation definition, will lead " @@ -29,8 +29,9 @@ msgid "" msgstr "" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__action_name -msgid "Action Name" +#: model:ir.model.fields,field_description:mass_editing.field_ir_actions_server__state +#: model:ir.model.fields,field_description:mass_editing.field_ir_cron__state +msgid "Action To Do" msgstr "" #. module: mass_editing @@ -42,14 +43,13 @@ msgstr "" #. module: mass_editing #: model:ir.model.fields,help:mass_editing.field_mass_editing_line__widget_option msgid "" -"Add widget text that will be used to display the field in the wizard. " -"Example :\n" -"'many2many_tags', 'selection'" +"Add widget text that will be used to display the field in the wizard.\n" +"Example: 'many2many_tags', 'selection', 'image'" msgstr "" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__groups_id -msgid "Allowed Groups" +#: model_terms:ir.ui.view,arch_db:mass_editing.view_mass_editing_wizard_form +msgid "Apply" msgstr "" #. module: mass_editing @@ -63,85 +63,93 @@ msgid "Apply domain" msgstr "" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__apply_domain_in_lines +#: model:ir.model.fields,field_description:mass_editing.field_ir_actions_server__mass_edit_apply_domain_in_lines +#: model:ir.model.fields,field_description:mass_editing.field_ir_cron__mass_edit_apply_domain_in_lines msgid "Apply domain in lines" msgstr "" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__create_uid +#: model_terms:ir.ui.view,arch_db:mass_editing.view_mass_editing_wizard_form +msgid "Cancel" +msgstr "" + +#. module: mass_editing #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line__create_uid #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_wizard__create_uid msgid "Created by" msgstr "Создано" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__create_date #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line__create_date #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_wizard__create_date msgid "Created on" msgstr "Создан" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__display_name +#: model:ir.model.fields,field_description:mass_editing.field_ir_actions_server__display_name #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line__display_name #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_wizard__display_name msgid "Display Name" msgstr "" -#. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__domain -msgid "Domain" -msgstr "" - #. module: mass_editing #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line__field_id msgid "Field" msgstr "" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__id +#: model_terms:ir.ui.view,arch_db:mass_editing.view_server_action_form +msgid "Fields" +msgstr "" + +#. module: mass_editing +#: model:ir.model.fields,field_description:mass_editing.field_ir_actions_server__id #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line__id #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_wizard__id msgid "ID" msgstr "ID" #. module: mass_editing -#: model:ir.model.fields,help:mass_editing.field_mass_editing__message +#: model:ir.model.fields,help:mass_editing.field_ir_actions_server__mass_edit_message +#: model:ir.model.fields,help:mass_editing.field_ir_cron__mass_edit_message msgid "If set, this message will be displayed in the wizard." msgstr "" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing____last_update +#: model:ir.model.fields,field_description:mass_editing.field_ir_actions_server____last_update #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line____last_update #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_wizard____last_update msgid "Last Modified on" msgstr "" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__write_uid #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line__write_uid #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_wizard__write_uid msgid "Last Updated by" msgstr "Последний раз обновлено" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__write_date #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line__write_date #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_wizard__write_date msgid "Last Updated on" msgstr "Последний раз обновлено" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__line_ids -msgid "Line" +#: model:ir.actions.server,name:mass_editing.mass_editing_partner +#: model:ir.actions.server,name:mass_editing.mass_editing_partner_title +#: model:ir.actions.server,name:mass_editing.mass_editing_user +msgid "Mass Edit" msgstr "" #. module: mass_editing -#: model:ir.actions.act_window,name:mass_editing.action_mass_editing -#: model:ir.model,name:mass_editing.model_mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line__mass_editing_id -#: model:ir.ui.menu,name:mass_editing.menu_mass_editing -msgid "Mass Editing" +#: model:ir.model.fields,field_description:mass_editing.field_ir_actions_server__mass_edit_line_ids +#: model:ir.model.fields,field_description:mass_editing.field_ir_cron__mass_edit_line_ids +msgid "Mass Edit Line" +msgstr "" + +#. module: mass_editing +#: model:ir.model.fields.selection,name:mass_editing.selection__ir_actions_server__state__mass_edit +msgid "Mass Edit Records" msgstr "" #. module: mass_editing @@ -150,21 +158,34 @@ msgid "Mass Editing Line" msgstr "" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__message +#: code:addons/mass_editing/models/mass_editing_line.py:0 +#, python-format +msgid "Mass edit fields should belong to the server action model." +msgstr "" + +#. module: mass_editing +#: model:ir.model.fields,field_description:mass_editing.field_ir_actions_server__mass_edit_message +#: model:ir.model.fields,field_description:mass_editing.field_ir_cron__mass_edit_message #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_wizard__message +#: model_terms:ir.ui.view,arch_db:mass_editing.view_server_action_form msgid "Message" msgstr "" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__model_id #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line__model_id msgid "Model" msgstr "Модель" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__name -msgid "Name" -msgstr "Название" +#: model:ir.model.fields,help:mass_editing.field_mass_editing_line__model_id +msgid "Model on which the server action runs." +msgstr "" + +#. module: mass_editing +#: code:addons/mass_editing/wizard/mass_editing_wizard.py:0 +#, python-format +msgid "None of the %d record(s) you have selected can be processed." +msgstr "" #. module: mass_editing #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_wizard__operation_description_danger @@ -202,6 +223,12 @@ msgstr "" msgid "Sequence" msgstr "" +#. module: mass_editing +#: model:ir.model,name:mass_editing.model_ir_actions_server +#: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line__server_action_id +msgid "Server Action" +msgstr "" + #. module: mass_editing #: code:addons/mass_editing/wizard/mass_editing_wizard.py:0 #, python-format @@ -209,8 +236,24 @@ msgid "Set" msgstr "" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__ref_ir_act_window_id -msgid "Sidebar Action" +#: code:addons/mass_editing/wizard/mass_editing_wizard.py:0 +#, python-format +msgid "The treatment will be processed on the %d selected record(s)." +msgstr "" + +#. module: mass_editing +#: model:ir.model.fields,help:mass_editing.field_ir_actions_server__state +#: model:ir.model.fields,help:mass_editing.field_ir_cron__state +msgid "" +"Type of server action. The following values are available:\n" +"- 'Execute Python Code': a block of python code that will be executed\n" +"- 'Create': create a new record with new values\n" +"- 'Update a Record': update the values of a record\n" +"- 'Execute several actions': define an action that triggers several other " +"server actions\n" +"- 'Send Email': automatically send an email (Discuss)\n" +"- 'Add Followers': add followers to a record (Discuss)\n" +"- 'Create Next Activity': create an activity (Discuss)" msgstr "" #. module: mass_editing @@ -222,3 +265,14 @@ msgstr "" #: model:ir.model,name:mass_editing.model_mass_editing_wizard msgid "Wizard for mass edition" msgstr "" + +#. module: mass_editing +#: code:addons/mass_editing/wizard/mass_editing_wizard.py:0 +#, python-format +msgid "" +"You have selected %d record(s) that can not be processed.\n" +"Only %d record(s) will be processed." +msgstr "" + +#~ msgid "Name" +#~ msgstr "Название" diff --git a/mass_editing/i18n/sk.po b/mass_editing/i18n/sk.po index fc03037..44646aa 100644 --- a/mass_editing/i18n/sk.po +++ b/mass_editing/i18n/sk.po @@ -19,7 +19,7 @@ msgstr "" "Plural-Forms: nplurals=3; plural=(n==1) ? 0 : (n>=2 && n<=4) ? 1 : 2;\n" #. module: mass_editing -#: model_terms:ir.ui.view,arch_db:mass_editing.view_mass_editing_form +#: model_terms:ir.ui.view,arch_db:mass_editing.view_server_action_form msgid "" "WARNING: Take into account that adding a field with a domain, and not " "including the fields of such domain in this operation definition, will lead " @@ -27,8 +27,9 @@ msgid "" msgstr "" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__action_name -msgid "Action Name" +#: model:ir.model.fields,field_description:mass_editing.field_ir_actions_server__state +#: model:ir.model.fields,field_description:mass_editing.field_ir_cron__state +msgid "Action To Do" msgstr "" #. module: mass_editing @@ -40,14 +41,13 @@ msgstr "" #. module: mass_editing #: model:ir.model.fields,help:mass_editing.field_mass_editing_line__widget_option msgid "" -"Add widget text that will be used to display the field in the wizard. " -"Example :\n" -"'many2many_tags', 'selection'" +"Add widget text that will be used to display the field in the wizard.\n" +"Example: 'many2many_tags', 'selection', 'image'" msgstr "" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__groups_id -msgid "Allowed Groups" +#: model_terms:ir.ui.view,arch_db:mass_editing.view_mass_editing_wizard_form +msgid "Apply" msgstr "" #. module: mass_editing @@ -61,85 +61,93 @@ msgid "Apply domain" msgstr "" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__apply_domain_in_lines +#: model:ir.model.fields,field_description:mass_editing.field_ir_actions_server__mass_edit_apply_domain_in_lines +#: model:ir.model.fields,field_description:mass_editing.field_ir_cron__mass_edit_apply_domain_in_lines msgid "Apply domain in lines" msgstr "" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__create_uid +#: model_terms:ir.ui.view,arch_db:mass_editing.view_mass_editing_wizard_form +msgid "Cancel" +msgstr "" + +#. module: mass_editing #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line__create_uid #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_wizard__create_uid msgid "Created by" msgstr "Vytvoril" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__create_date #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line__create_date #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_wizard__create_date msgid "Created on" msgstr "Vytvorené" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__display_name +#: model:ir.model.fields,field_description:mass_editing.field_ir_actions_server__display_name #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line__display_name #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_wizard__display_name msgid "Display Name" msgstr "Zobraziť meno" -#. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__domain -msgid "Domain" -msgstr "" - #. module: mass_editing #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line__field_id msgid "Field" msgstr "" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__id +#: model_terms:ir.ui.view,arch_db:mass_editing.view_server_action_form +msgid "Fields" +msgstr "" + +#. module: mass_editing +#: model:ir.model.fields,field_description:mass_editing.field_ir_actions_server__id #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line__id #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_wizard__id msgid "ID" msgstr "ID" #. module: mass_editing -#: model:ir.model.fields,help:mass_editing.field_mass_editing__message +#: model:ir.model.fields,help:mass_editing.field_ir_actions_server__mass_edit_message +#: model:ir.model.fields,help:mass_editing.field_ir_cron__mass_edit_message msgid "If set, this message will be displayed in the wizard." msgstr "" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing____last_update +#: model:ir.model.fields,field_description:mass_editing.field_ir_actions_server____last_update #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line____last_update #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_wizard____last_update msgid "Last Modified on" msgstr "Posledná modifikácia" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__write_uid #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line__write_uid #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_wizard__write_uid msgid "Last Updated by" msgstr "Naposledy upravil" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__write_date #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line__write_date #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_wizard__write_date msgid "Last Updated on" msgstr "Naposledy upravené" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__line_ids -msgid "Line" +#: model:ir.actions.server,name:mass_editing.mass_editing_partner +#: model:ir.actions.server,name:mass_editing.mass_editing_partner_title +#: model:ir.actions.server,name:mass_editing.mass_editing_user +msgid "Mass Edit" msgstr "" #. module: mass_editing -#: model:ir.actions.act_window,name:mass_editing.action_mass_editing -#: model:ir.model,name:mass_editing.model_mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line__mass_editing_id -#: model:ir.ui.menu,name:mass_editing.menu_mass_editing -msgid "Mass Editing" +#: model:ir.model.fields,field_description:mass_editing.field_ir_actions_server__mass_edit_line_ids +#: model:ir.model.fields,field_description:mass_editing.field_ir_cron__mass_edit_line_ids +msgid "Mass Edit Line" +msgstr "" + +#. module: mass_editing +#: model:ir.model.fields.selection,name:mass_editing.selection__ir_actions_server__state__mass_edit +msgid "Mass Edit Records" msgstr "" #. module: mass_editing @@ -148,21 +156,34 @@ msgid "Mass Editing Line" msgstr "" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__message +#: code:addons/mass_editing/models/mass_editing_line.py:0 +#, python-format +msgid "Mass edit fields should belong to the server action model." +msgstr "" + +#. module: mass_editing +#: model:ir.model.fields,field_description:mass_editing.field_ir_actions_server__mass_edit_message +#: model:ir.model.fields,field_description:mass_editing.field_ir_cron__mass_edit_message #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_wizard__message +#: model_terms:ir.ui.view,arch_db:mass_editing.view_server_action_form msgid "Message" msgstr "" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__model_id #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line__model_id msgid "Model" msgstr "" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__name -msgid "Name" -msgstr "Meno" +#: model:ir.model.fields,help:mass_editing.field_mass_editing_line__model_id +msgid "Model on which the server action runs." +msgstr "" + +#. module: mass_editing +#: code:addons/mass_editing/wizard/mass_editing_wizard.py:0 +#, python-format +msgid "None of the %d record(s) you have selected can be processed." +msgstr "" #. module: mass_editing #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_wizard__operation_description_danger @@ -200,6 +221,12 @@ msgstr "" msgid "Sequence" msgstr "" +#. module: mass_editing +#: model:ir.model,name:mass_editing.model_ir_actions_server +#: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line__server_action_id +msgid "Server Action" +msgstr "" + #. module: mass_editing #: code:addons/mass_editing/wizard/mass_editing_wizard.py:0 #, python-format @@ -207,8 +234,24 @@ msgid "Set" msgstr "" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__ref_ir_act_window_id -msgid "Sidebar Action" +#: code:addons/mass_editing/wizard/mass_editing_wizard.py:0 +#, python-format +msgid "The treatment will be processed on the %d selected record(s)." +msgstr "" + +#. module: mass_editing +#: model:ir.model.fields,help:mass_editing.field_ir_actions_server__state +#: model:ir.model.fields,help:mass_editing.field_ir_cron__state +msgid "" +"Type of server action. The following values are available:\n" +"- 'Execute Python Code': a block of python code that will be executed\n" +"- 'Create': create a new record with new values\n" +"- 'Update a Record': update the values of a record\n" +"- 'Execute several actions': define an action that triggers several other " +"server actions\n" +"- 'Send Email': automatically send an email (Discuss)\n" +"- 'Add Followers': add followers to a record (Discuss)\n" +"- 'Create Next Activity': create an activity (Discuss)" msgstr "" #. module: mass_editing @@ -220,3 +263,14 @@ msgstr "" #: model:ir.model,name:mass_editing.model_mass_editing_wizard msgid "Wizard for mass edition" msgstr "" + +#. module: mass_editing +#: code:addons/mass_editing/wizard/mass_editing_wizard.py:0 +#, python-format +msgid "" +"You have selected %d record(s) that can not be processed.\n" +"Only %d record(s) will be processed." +msgstr "" + +#~ msgid "Name" +#~ msgstr "Meno" diff --git a/mass_editing/i18n/sl.po b/mass_editing/i18n/sl.po index 066dda6..dc542f3 100644 --- a/mass_editing/i18n/sl.po +++ b/mass_editing/i18n/sl.po @@ -20,7 +20,7 @@ msgstr "" "%100==4 ? 2 : 3);\n" #. module: mass_editing -#: model_terms:ir.ui.view,arch_db:mass_editing.view_mass_editing_form +#: model_terms:ir.ui.view,arch_db:mass_editing.view_server_action_form msgid "" "WARNING: Take into account that adding a field with a domain, and not " "including the fields of such domain in this operation definition, will lead " @@ -28,8 +28,9 @@ msgid "" msgstr "" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__action_name -msgid "Action Name" +#: model:ir.model.fields,field_description:mass_editing.field_ir_actions_server__state +#: model:ir.model.fields,field_description:mass_editing.field_ir_cron__state +msgid "Action To Do" msgstr "" #. module: mass_editing @@ -41,14 +42,13 @@ msgstr "" #. module: mass_editing #: model:ir.model.fields,help:mass_editing.field_mass_editing_line__widget_option msgid "" -"Add widget text that will be used to display the field in the wizard. " -"Example :\n" -"'many2many_tags', 'selection'" +"Add widget text that will be used to display the field in the wizard.\n" +"Example: 'many2many_tags', 'selection', 'image'" msgstr "" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__groups_id -msgid "Allowed Groups" +#: model_terms:ir.ui.view,arch_db:mass_editing.view_mass_editing_wizard_form +msgid "Apply" msgstr "" #. module: mass_editing @@ -62,36 +62,35 @@ msgid "Apply domain" msgstr "" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__apply_domain_in_lines +#: model:ir.model.fields,field_description:mass_editing.field_ir_actions_server__mass_edit_apply_domain_in_lines +#: model:ir.model.fields,field_description:mass_editing.field_ir_cron__mass_edit_apply_domain_in_lines msgid "Apply domain in lines" msgstr "" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__create_uid +#: model_terms:ir.ui.view,arch_db:mass_editing.view_mass_editing_wizard_form +msgid "Cancel" +msgstr "" + +#. module: mass_editing #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line__create_uid #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_wizard__create_uid msgid "Created by" msgstr "Ustvaril" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__create_date #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line__create_date #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_wizard__create_date msgid "Created on" msgstr "Ustvarjeno" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__display_name +#: model:ir.model.fields,field_description:mass_editing.field_ir_actions_server__display_name #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line__display_name #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_wizard__display_name msgid "Display Name" msgstr "Prikazni naziv" -#. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__domain -msgid "Domain" -msgstr "" - #. module: mass_editing #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line__field_id #, fuzzy @@ -99,50 +98,59 @@ msgid "Field" msgstr "Polja" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__id +#: model_terms:ir.ui.view,arch_db:mass_editing.view_server_action_form +msgid "Fields" +msgstr "" + +#. module: mass_editing +#: model:ir.model.fields,field_description:mass_editing.field_ir_actions_server__id #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line__id #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_wizard__id msgid "ID" msgstr "ID" #. module: mass_editing -#: model:ir.model.fields,help:mass_editing.field_mass_editing__message +#: model:ir.model.fields,help:mass_editing.field_ir_actions_server__mass_edit_message +#: model:ir.model.fields,help:mass_editing.field_ir_cron__mass_edit_message msgid "If set, this message will be displayed in the wizard." msgstr "" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing____last_update +#: model:ir.model.fields,field_description:mass_editing.field_ir_actions_server____last_update #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line____last_update #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_wizard____last_update msgid "Last Modified on" msgstr "Zadnjič spremenjeno" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__write_uid #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line__write_uid #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_wizard__write_uid msgid "Last Updated by" msgstr "Zadnjič posodobil" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__write_date #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line__write_date #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_wizard__write_date msgid "Last Updated on" msgstr "Zadnjič posodobljeno" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__line_ids -msgid "Line" +#: model:ir.actions.server,name:mass_editing.mass_editing_partner +#: model:ir.actions.server,name:mass_editing.mass_editing_partner_title +#: model:ir.actions.server,name:mass_editing.mass_editing_user +msgid "Mass Edit" msgstr "" #. module: mass_editing -#: model:ir.actions.act_window,name:mass_editing.action_mass_editing -#: model:ir.model,name:mass_editing.model_mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line__mass_editing_id -#: model:ir.ui.menu,name:mass_editing.menu_mass_editing -msgid "Mass Editing" -msgstr "Masovno urejanje" +#: model:ir.model.fields,field_description:mass_editing.field_ir_actions_server__mass_edit_line_ids +#: model:ir.model.fields,field_description:mass_editing.field_ir_cron__mass_edit_line_ids +msgid "Mass Edit Line" +msgstr "" + +#. module: mass_editing +#: model:ir.model.fields.selection,name:mass_editing.selection__ir_actions_server__state__mass_edit +msgid "Mass Edit Records" +msgstr "" #. module: mass_editing #: model:ir.model,name:mass_editing.model_mass_editing_line @@ -151,21 +159,34 @@ msgid "Mass Editing Line" msgstr "Masovno urejanje" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__message +#: code:addons/mass_editing/models/mass_editing_line.py:0 +#, python-format +msgid "Mass edit fields should belong to the server action model." +msgstr "" + +#. module: mass_editing +#: model:ir.model.fields,field_description:mass_editing.field_ir_actions_server__mass_edit_message +#: model:ir.model.fields,field_description:mass_editing.field_ir_cron__mass_edit_message #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_wizard__message +#: model_terms:ir.ui.view,arch_db:mass_editing.view_server_action_form msgid "Message" msgstr "" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__model_id #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line__model_id msgid "Model" msgstr "Model" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__name -msgid "Name" -msgstr "Naziv" +#: model:ir.model.fields,help:mass_editing.field_mass_editing_line__model_id +msgid "Model on which the server action runs." +msgstr "" + +#. module: mass_editing +#: code:addons/mass_editing/wizard/mass_editing_wizard.py:0 +#, python-format +msgid "None of the %d record(s) you have selected can be processed." +msgstr "" #. module: mass_editing #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_wizard__operation_description_danger @@ -203,6 +224,12 @@ msgstr "" msgid "Sequence" msgstr "" +#. module: mass_editing +#: model:ir.model,name:mass_editing.model_ir_actions_server +#: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line__server_action_id +msgid "Server Action" +msgstr "" + #. module: mass_editing #: code:addons/mass_editing/wizard/mass_editing_wizard.py:0 #, python-format @@ -210,8 +237,24 @@ msgid "Set" msgstr "" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__ref_ir_act_window_id -msgid "Sidebar Action" +#: code:addons/mass_editing/wizard/mass_editing_wizard.py:0 +#, python-format +msgid "The treatment will be processed on the %d selected record(s)." +msgstr "" + +#. module: mass_editing +#: model:ir.model.fields,help:mass_editing.field_ir_actions_server__state +#: model:ir.model.fields,help:mass_editing.field_ir_cron__state +msgid "" +"Type of server action. The following values are available:\n" +"- 'Execute Python Code': a block of python code that will be executed\n" +"- 'Create': create a new record with new values\n" +"- 'Update a Record': update the values of a record\n" +"- 'Execute several actions': define an action that triggers several other " +"server actions\n" +"- 'Send Email': automatically send an email (Discuss)\n" +"- 'Add Followers': add followers to a record (Discuss)\n" +"- 'Create Next Activity': create an activity (Discuss)" msgstr "" #. module: mass_editing @@ -224,6 +267,20 @@ msgstr "" msgid "Wizard for mass edition" msgstr "" +#. module: mass_editing +#: code:addons/mass_editing/wizard/mass_editing_wizard.py:0 +#, python-format +msgid "" +"You have selected %d record(s) that can not be processed.\n" +"Only %d record(s) will be processed." +msgstr "" + +#~ msgid "Mass Editing" +#~ msgstr "Masovno urejanje" + +#~ msgid "Name" +#~ msgstr "Naziv" + #~ msgid "Advanced" #~ msgstr "Napredno" diff --git a/mass_editing/i18n/sr.po b/mass_editing/i18n/sr.po index 3a3daa0..1106359 100644 --- a/mass_editing/i18n/sr.po +++ b/mass_editing/i18n/sr.po @@ -20,7 +20,7 @@ msgstr "" "%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n" #. module: mass_editing -#: model_terms:ir.ui.view,arch_db:mass_editing.view_mass_editing_form +#: model_terms:ir.ui.view,arch_db:mass_editing.view_server_action_form msgid "" "WARNING: Take into account that adding a field with a domain, and not " "including the fields of such domain in this operation definition, will lead " @@ -28,8 +28,9 @@ msgid "" msgstr "" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__action_name -msgid "Action Name" +#: model:ir.model.fields,field_description:mass_editing.field_ir_actions_server__state +#: model:ir.model.fields,field_description:mass_editing.field_ir_cron__state +msgid "Action To Do" msgstr "" #. module: mass_editing @@ -41,14 +42,13 @@ msgstr "" #. module: mass_editing #: model:ir.model.fields,help:mass_editing.field_mass_editing_line__widget_option msgid "" -"Add widget text that will be used to display the field in the wizard. " -"Example :\n" -"'many2many_tags', 'selection'" +"Add widget text that will be used to display the field in the wizard.\n" +"Example: 'many2many_tags', 'selection', 'image'" msgstr "" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__groups_id -msgid "Allowed Groups" +#: model_terms:ir.ui.view,arch_db:mass_editing.view_mass_editing_wizard_form +msgid "Apply" msgstr "" #. module: mass_editing @@ -62,85 +62,93 @@ msgid "Apply domain" msgstr "" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__apply_domain_in_lines +#: model:ir.model.fields,field_description:mass_editing.field_ir_actions_server__mass_edit_apply_domain_in_lines +#: model:ir.model.fields,field_description:mass_editing.field_ir_cron__mass_edit_apply_domain_in_lines msgid "Apply domain in lines" msgstr "" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__create_uid +#: model_terms:ir.ui.view,arch_db:mass_editing.view_mass_editing_wizard_form +msgid "Cancel" +msgstr "" + +#. module: mass_editing #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line__create_uid #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_wizard__create_uid msgid "Created by" msgstr "" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__create_date #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line__create_date #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_wizard__create_date msgid "Created on" msgstr "Kreiran" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__display_name +#: model:ir.model.fields,field_description:mass_editing.field_ir_actions_server__display_name #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line__display_name #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_wizard__display_name msgid "Display Name" msgstr "" -#. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__domain -msgid "Domain" -msgstr "" - #. module: mass_editing #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line__field_id msgid "Field" msgstr "" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__id +#: model_terms:ir.ui.view,arch_db:mass_editing.view_server_action_form +msgid "Fields" +msgstr "" + +#. module: mass_editing +#: model:ir.model.fields,field_description:mass_editing.field_ir_actions_server__id #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line__id #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_wizard__id msgid "ID" msgstr "ID" #. module: mass_editing -#: model:ir.model.fields,help:mass_editing.field_mass_editing__message +#: model:ir.model.fields,help:mass_editing.field_ir_actions_server__mass_edit_message +#: model:ir.model.fields,help:mass_editing.field_ir_cron__mass_edit_message msgid "If set, this message will be displayed in the wizard." msgstr "" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing____last_update +#: model:ir.model.fields,field_description:mass_editing.field_ir_actions_server____last_update #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line____last_update #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_wizard____last_update msgid "Last Modified on" msgstr "" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__write_uid #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line__write_uid #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_wizard__write_uid msgid "Last Updated by" msgstr "" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__write_date #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line__write_date #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_wizard__write_date msgid "Last Updated on" msgstr "" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__line_ids -msgid "Line" +#: model:ir.actions.server,name:mass_editing.mass_editing_partner +#: model:ir.actions.server,name:mass_editing.mass_editing_partner_title +#: model:ir.actions.server,name:mass_editing.mass_editing_user +msgid "Mass Edit" msgstr "" #. module: mass_editing -#: model:ir.actions.act_window,name:mass_editing.action_mass_editing -#: model:ir.model,name:mass_editing.model_mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line__mass_editing_id -#: model:ir.ui.menu,name:mass_editing.menu_mass_editing -msgid "Mass Editing" +#: model:ir.model.fields,field_description:mass_editing.field_ir_actions_server__mass_edit_line_ids +#: model:ir.model.fields,field_description:mass_editing.field_ir_cron__mass_edit_line_ids +msgid "Mass Edit Line" +msgstr "" + +#. module: mass_editing +#: model:ir.model.fields.selection,name:mass_editing.selection__ir_actions_server__state__mass_edit +msgid "Mass Edit Records" msgstr "" #. module: mass_editing @@ -149,21 +157,34 @@ msgid "Mass Editing Line" msgstr "" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__message +#: code:addons/mass_editing/models/mass_editing_line.py:0 +#, python-format +msgid "Mass edit fields should belong to the server action model." +msgstr "" + +#. module: mass_editing +#: model:ir.model.fields,field_description:mass_editing.field_ir_actions_server__mass_edit_message +#: model:ir.model.fields,field_description:mass_editing.field_ir_cron__mass_edit_message #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_wizard__message +#: model_terms:ir.ui.view,arch_db:mass_editing.view_server_action_form msgid "Message" msgstr "" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__model_id #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line__model_id msgid "Model" msgstr "" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__name -msgid "Name" -msgstr "Ime" +#: model:ir.model.fields,help:mass_editing.field_mass_editing_line__model_id +msgid "Model on which the server action runs." +msgstr "" + +#. module: mass_editing +#: code:addons/mass_editing/wizard/mass_editing_wizard.py:0 +#, python-format +msgid "None of the %d record(s) you have selected can be processed." +msgstr "" #. module: mass_editing #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_wizard__operation_description_danger @@ -201,6 +222,12 @@ msgstr "" msgid "Sequence" msgstr "" +#. module: mass_editing +#: model:ir.model,name:mass_editing.model_ir_actions_server +#: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line__server_action_id +msgid "Server Action" +msgstr "" + #. module: mass_editing #: code:addons/mass_editing/wizard/mass_editing_wizard.py:0 #, python-format @@ -208,8 +235,24 @@ msgid "Set" msgstr "" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__ref_ir_act_window_id -msgid "Sidebar Action" +#: code:addons/mass_editing/wizard/mass_editing_wizard.py:0 +#, python-format +msgid "The treatment will be processed on the %d selected record(s)." +msgstr "" + +#. module: mass_editing +#: model:ir.model.fields,help:mass_editing.field_ir_actions_server__state +#: model:ir.model.fields,help:mass_editing.field_ir_cron__state +msgid "" +"Type of server action. The following values are available:\n" +"- 'Execute Python Code': a block of python code that will be executed\n" +"- 'Create': create a new record with new values\n" +"- 'Update a Record': update the values of a record\n" +"- 'Execute several actions': define an action that triggers several other " +"server actions\n" +"- 'Send Email': automatically send an email (Discuss)\n" +"- 'Add Followers': add followers to a record (Discuss)\n" +"- 'Create Next Activity': create an activity (Discuss)" msgstr "" #. module: mass_editing @@ -221,3 +264,14 @@ msgstr "" #: model:ir.model,name:mass_editing.model_mass_editing_wizard msgid "Wizard for mass edition" msgstr "" + +#. module: mass_editing +#: code:addons/mass_editing/wizard/mass_editing_wizard.py:0 +#, python-format +msgid "" +"You have selected %d record(s) that can not be processed.\n" +"Only %d record(s) will be processed." +msgstr "" + +#~ msgid "Name" +#~ msgstr "Ime" diff --git a/mass_editing/i18n/sr@latin.po b/mass_editing/i18n/sr@latin.po index 8be5c33..7d38784 100644 --- a/mass_editing/i18n/sr@latin.po +++ b/mass_editing/i18n/sr@latin.po @@ -21,7 +21,7 @@ msgstr "" "%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n" #. module: mass_editing -#: model_terms:ir.ui.view,arch_db:mass_editing.view_mass_editing_form +#: model_terms:ir.ui.view,arch_db:mass_editing.view_server_action_form msgid "" "WARNING: Take into account that adding a field with a domain, and not " "including the fields of such domain in this operation definition, will lead " @@ -29,8 +29,9 @@ msgid "" msgstr "" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__action_name -msgid "Action Name" +#: model:ir.model.fields,field_description:mass_editing.field_ir_actions_server__state +#: model:ir.model.fields,field_description:mass_editing.field_ir_cron__state +msgid "Action To Do" msgstr "" #. module: mass_editing @@ -42,14 +43,13 @@ msgstr "" #. module: mass_editing #: model:ir.model.fields,help:mass_editing.field_mass_editing_line__widget_option msgid "" -"Add widget text that will be used to display the field in the wizard. " -"Example :\n" -"'many2many_tags', 'selection'" +"Add widget text that will be used to display the field in the wizard.\n" +"Example: 'many2many_tags', 'selection', 'image'" msgstr "" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__groups_id -msgid "Allowed Groups" +#: model_terms:ir.ui.view,arch_db:mass_editing.view_mass_editing_wizard_form +msgid "Apply" msgstr "" #. module: mass_editing @@ -63,85 +63,93 @@ msgid "Apply domain" msgstr "" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__apply_domain_in_lines +#: model:ir.model.fields,field_description:mass_editing.field_ir_actions_server__mass_edit_apply_domain_in_lines +#: model:ir.model.fields,field_description:mass_editing.field_ir_cron__mass_edit_apply_domain_in_lines msgid "Apply domain in lines" msgstr "" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__create_uid +#: model_terms:ir.ui.view,arch_db:mass_editing.view_mass_editing_wizard_form +msgid "Cancel" +msgstr "" + +#. module: mass_editing #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line__create_uid #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_wizard__create_uid msgid "Created by" msgstr "Kreirao" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__create_date #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line__create_date #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_wizard__create_date msgid "Created on" msgstr "Kreiran" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__display_name +#: model:ir.model.fields,field_description:mass_editing.field_ir_actions_server__display_name #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line__display_name #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_wizard__display_name msgid "Display Name" msgstr "Ime za prikaz" -#. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__domain -msgid "Domain" -msgstr "" - #. module: mass_editing #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line__field_id msgid "Field" msgstr "" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__id +#: model_terms:ir.ui.view,arch_db:mass_editing.view_server_action_form +msgid "Fields" +msgstr "" + +#. module: mass_editing +#: model:ir.model.fields,field_description:mass_editing.field_ir_actions_server__id #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line__id #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_wizard__id msgid "ID" msgstr "ID" #. module: mass_editing -#: model:ir.model.fields,help:mass_editing.field_mass_editing__message +#: model:ir.model.fields,help:mass_editing.field_ir_actions_server__mass_edit_message +#: model:ir.model.fields,help:mass_editing.field_ir_cron__mass_edit_message msgid "If set, this message will be displayed in the wizard." msgstr "" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing____last_update +#: model:ir.model.fields,field_description:mass_editing.field_ir_actions_server____last_update #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line____last_update #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_wizard____last_update msgid "Last Modified on" msgstr "Zadnja izmjena" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__write_uid #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line__write_uid #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_wizard__write_uid msgid "Last Updated by" msgstr "Zadnja izmjena" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__write_date #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line__write_date #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_wizard__write_date msgid "Last Updated on" msgstr "Zadnja izmjena" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__line_ids -msgid "Line" +#: model:ir.actions.server,name:mass_editing.mass_editing_partner +#: model:ir.actions.server,name:mass_editing.mass_editing_partner_title +#: model:ir.actions.server,name:mass_editing.mass_editing_user +msgid "Mass Edit" msgstr "" #. module: mass_editing -#: model:ir.actions.act_window,name:mass_editing.action_mass_editing -#: model:ir.model,name:mass_editing.model_mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line__mass_editing_id -#: model:ir.ui.menu,name:mass_editing.menu_mass_editing -msgid "Mass Editing" +#: model:ir.model.fields,field_description:mass_editing.field_ir_actions_server__mass_edit_line_ids +#: model:ir.model.fields,field_description:mass_editing.field_ir_cron__mass_edit_line_ids +msgid "Mass Edit Line" +msgstr "" + +#. module: mass_editing +#: model:ir.model.fields.selection,name:mass_editing.selection__ir_actions_server__state__mass_edit +msgid "Mass Edit Records" msgstr "" #. module: mass_editing @@ -150,21 +158,34 @@ msgid "Mass Editing Line" msgstr "" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__message +#: code:addons/mass_editing/models/mass_editing_line.py:0 +#, python-format +msgid "Mass edit fields should belong to the server action model." +msgstr "" + +#. module: mass_editing +#: model:ir.model.fields,field_description:mass_editing.field_ir_actions_server__mass_edit_message +#: model:ir.model.fields,field_description:mass_editing.field_ir_cron__mass_edit_message #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_wizard__message +#: model_terms:ir.ui.view,arch_db:mass_editing.view_server_action_form msgid "Message" msgstr "" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__model_id #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line__model_id msgid "Model" msgstr "" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__name -msgid "Name" -msgstr "Ime:" +#: model:ir.model.fields,help:mass_editing.field_mass_editing_line__model_id +msgid "Model on which the server action runs." +msgstr "" + +#. module: mass_editing +#: code:addons/mass_editing/wizard/mass_editing_wizard.py:0 +#, python-format +msgid "None of the %d record(s) you have selected can be processed." +msgstr "" #. module: mass_editing #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_wizard__operation_description_danger @@ -202,6 +223,12 @@ msgstr "" msgid "Sequence" msgstr "" +#. module: mass_editing +#: model:ir.model,name:mass_editing.model_ir_actions_server +#: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line__server_action_id +msgid "Server Action" +msgstr "" + #. module: mass_editing #: code:addons/mass_editing/wizard/mass_editing_wizard.py:0 #, python-format @@ -209,8 +236,24 @@ msgid "Set" msgstr "" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__ref_ir_act_window_id -msgid "Sidebar Action" +#: code:addons/mass_editing/wizard/mass_editing_wizard.py:0 +#, python-format +msgid "The treatment will be processed on the %d selected record(s)." +msgstr "" + +#. module: mass_editing +#: model:ir.model.fields,help:mass_editing.field_ir_actions_server__state +#: model:ir.model.fields,help:mass_editing.field_ir_cron__state +msgid "" +"Type of server action. The following values are available:\n" +"- 'Execute Python Code': a block of python code that will be executed\n" +"- 'Create': create a new record with new values\n" +"- 'Update a Record': update the values of a record\n" +"- 'Execute several actions': define an action that triggers several other " +"server actions\n" +"- 'Send Email': automatically send an email (Discuss)\n" +"- 'Add Followers': add followers to a record (Discuss)\n" +"- 'Create Next Activity': create an activity (Discuss)" msgstr "" #. module: mass_editing @@ -222,3 +265,14 @@ msgstr "" #: model:ir.model,name:mass_editing.model_mass_editing_wizard msgid "Wizard for mass edition" msgstr "" + +#. module: mass_editing +#: code:addons/mass_editing/wizard/mass_editing_wizard.py:0 +#, python-format +msgid "" +"You have selected %d record(s) that can not be processed.\n" +"Only %d record(s) will be processed." +msgstr "" + +#~ msgid "Name" +#~ msgstr "Ime:" diff --git a/mass_editing/i18n/sv.po b/mass_editing/i18n/sv.po index 0f2f4fb..da1ec4b 100644 --- a/mass_editing/i18n/sv.po +++ b/mass_editing/i18n/sv.po @@ -19,7 +19,7 @@ msgstr "" "Plural-Forms: nplurals=2; plural=(n != 1);\n" #. module: mass_editing -#: model_terms:ir.ui.view,arch_db:mass_editing.view_mass_editing_form +#: model_terms:ir.ui.view,arch_db:mass_editing.view_server_action_form msgid "" "WARNING: Take into account that adding a field with a domain, and not " "including the fields of such domain in this operation definition, will lead " @@ -27,8 +27,9 @@ msgid "" msgstr "" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__action_name -msgid "Action Name" +#: model:ir.model.fields,field_description:mass_editing.field_ir_actions_server__state +#: model:ir.model.fields,field_description:mass_editing.field_ir_cron__state +msgid "Action To Do" msgstr "" #. module: mass_editing @@ -40,14 +41,13 @@ msgstr "" #. module: mass_editing #: model:ir.model.fields,help:mass_editing.field_mass_editing_line__widget_option msgid "" -"Add widget text that will be used to display the field in the wizard. " -"Example :\n" -"'many2many_tags', 'selection'" +"Add widget text that will be used to display the field in the wizard.\n" +"Example: 'many2many_tags', 'selection', 'image'" msgstr "" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__groups_id -msgid "Allowed Groups" +#: model_terms:ir.ui.view,arch_db:mass_editing.view_mass_editing_wizard_form +msgid "Apply" msgstr "" #. module: mass_editing @@ -61,85 +61,93 @@ msgid "Apply domain" msgstr "" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__apply_domain_in_lines +#: model:ir.model.fields,field_description:mass_editing.field_ir_actions_server__mass_edit_apply_domain_in_lines +#: model:ir.model.fields,field_description:mass_editing.field_ir_cron__mass_edit_apply_domain_in_lines msgid "Apply domain in lines" msgstr "" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__create_uid +#: model_terms:ir.ui.view,arch_db:mass_editing.view_mass_editing_wizard_form +msgid "Cancel" +msgstr "" + +#. module: mass_editing #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line__create_uid #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_wizard__create_uid msgid "Created by" msgstr "Skapad av" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__create_date #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line__create_date #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_wizard__create_date msgid "Created on" msgstr "Skapad den" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__display_name +#: model:ir.model.fields,field_description:mass_editing.field_ir_actions_server__display_name #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line__display_name #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_wizard__display_name msgid "Display Name" msgstr "Visa namn" -#. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__domain -msgid "Domain" -msgstr "" - #. module: mass_editing #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line__field_id msgid "Field" msgstr "" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__id +#: model_terms:ir.ui.view,arch_db:mass_editing.view_server_action_form +msgid "Fields" +msgstr "" + +#. module: mass_editing +#: model:ir.model.fields,field_description:mass_editing.field_ir_actions_server__id #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line__id #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_wizard__id msgid "ID" msgstr "ID" #. module: mass_editing -#: model:ir.model.fields,help:mass_editing.field_mass_editing__message +#: model:ir.model.fields,help:mass_editing.field_ir_actions_server__mass_edit_message +#: model:ir.model.fields,help:mass_editing.field_ir_cron__mass_edit_message msgid "If set, this message will be displayed in the wizard." msgstr "" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing____last_update +#: model:ir.model.fields,field_description:mass_editing.field_ir_actions_server____last_update #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line____last_update #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_wizard____last_update msgid "Last Modified on" msgstr "Senast redigerad" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__write_uid #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line__write_uid #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_wizard__write_uid msgid "Last Updated by" msgstr "Senast uppdaterad av" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__write_date #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line__write_date #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_wizard__write_date msgid "Last Updated on" msgstr "Senast uppdaterad" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__line_ids -msgid "Line" +#: model:ir.actions.server,name:mass_editing.mass_editing_partner +#: model:ir.actions.server,name:mass_editing.mass_editing_partner_title +#: model:ir.actions.server,name:mass_editing.mass_editing_user +msgid "Mass Edit" msgstr "" #. module: mass_editing -#: model:ir.actions.act_window,name:mass_editing.action_mass_editing -#: model:ir.model,name:mass_editing.model_mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line__mass_editing_id -#: model:ir.ui.menu,name:mass_editing.menu_mass_editing -msgid "Mass Editing" +#: model:ir.model.fields,field_description:mass_editing.field_ir_actions_server__mass_edit_line_ids +#: model:ir.model.fields,field_description:mass_editing.field_ir_cron__mass_edit_line_ids +msgid "Mass Edit Line" +msgstr "" + +#. module: mass_editing +#: model:ir.model.fields.selection,name:mass_editing.selection__ir_actions_server__state__mass_edit +msgid "Mass Edit Records" msgstr "" #. module: mass_editing @@ -148,21 +156,34 @@ msgid "Mass Editing Line" msgstr "" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__message +#: code:addons/mass_editing/models/mass_editing_line.py:0 +#, python-format +msgid "Mass edit fields should belong to the server action model." +msgstr "" + +#. module: mass_editing +#: model:ir.model.fields,field_description:mass_editing.field_ir_actions_server__mass_edit_message +#: model:ir.model.fields,field_description:mass_editing.field_ir_cron__mass_edit_message #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_wizard__message +#: model_terms:ir.ui.view,arch_db:mass_editing.view_server_action_form msgid "Message" msgstr "" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__model_id #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line__model_id msgid "Model" msgstr "" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__name -msgid "Name" -msgstr "Namn" +#: model:ir.model.fields,help:mass_editing.field_mass_editing_line__model_id +msgid "Model on which the server action runs." +msgstr "" + +#. module: mass_editing +#: code:addons/mass_editing/wizard/mass_editing_wizard.py:0 +#, python-format +msgid "None of the %d record(s) you have selected can be processed." +msgstr "" #. module: mass_editing #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_wizard__operation_description_danger @@ -200,6 +221,12 @@ msgstr "" msgid "Sequence" msgstr "" +#. module: mass_editing +#: model:ir.model,name:mass_editing.model_ir_actions_server +#: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line__server_action_id +msgid "Server Action" +msgstr "" + #. module: mass_editing #: code:addons/mass_editing/wizard/mass_editing_wizard.py:0 #, python-format @@ -207,8 +234,24 @@ msgid "Set" msgstr "" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__ref_ir_act_window_id -msgid "Sidebar Action" +#: code:addons/mass_editing/wizard/mass_editing_wizard.py:0 +#, python-format +msgid "The treatment will be processed on the %d selected record(s)." +msgstr "" + +#. module: mass_editing +#: model:ir.model.fields,help:mass_editing.field_ir_actions_server__state +#: model:ir.model.fields,help:mass_editing.field_ir_cron__state +msgid "" +"Type of server action. The following values are available:\n" +"- 'Execute Python Code': a block of python code that will be executed\n" +"- 'Create': create a new record with new values\n" +"- 'Update a Record': update the values of a record\n" +"- 'Execute several actions': define an action that triggers several other " +"server actions\n" +"- 'Send Email': automatically send an email (Discuss)\n" +"- 'Add Followers': add followers to a record (Discuss)\n" +"- 'Create Next Activity': create an activity (Discuss)" msgstr "" #. module: mass_editing @@ -220,3 +263,14 @@ msgstr "" #: model:ir.model,name:mass_editing.model_mass_editing_wizard msgid "Wizard for mass edition" msgstr "" + +#. module: mass_editing +#: code:addons/mass_editing/wizard/mass_editing_wizard.py:0 +#, python-format +msgid "" +"You have selected %d record(s) that can not be processed.\n" +"Only %d record(s) will be processed." +msgstr "" + +#~ msgid "Name" +#~ msgstr "Namn" diff --git a/mass_editing/i18n/th.po b/mass_editing/i18n/th.po index dd16f22..60db7e6 100644 --- a/mass_editing/i18n/th.po +++ b/mass_editing/i18n/th.po @@ -19,7 +19,7 @@ msgstr "" "Plural-Forms: nplurals=1; plural=0;\n" #. module: mass_editing -#: model_terms:ir.ui.view,arch_db:mass_editing.view_mass_editing_form +#: model_terms:ir.ui.view,arch_db:mass_editing.view_server_action_form msgid "" "WARNING: Take into account that adding a field with a domain, and not " "including the fields of such domain in this operation definition, will lead " @@ -27,8 +27,9 @@ msgid "" msgstr "" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__action_name -msgid "Action Name" +#: model:ir.model.fields,field_description:mass_editing.field_ir_actions_server__state +#: model:ir.model.fields,field_description:mass_editing.field_ir_cron__state +msgid "Action To Do" msgstr "" #. module: mass_editing @@ -40,14 +41,13 @@ msgstr "" #. module: mass_editing #: model:ir.model.fields,help:mass_editing.field_mass_editing_line__widget_option msgid "" -"Add widget text that will be used to display the field in the wizard. " -"Example :\n" -"'many2many_tags', 'selection'" +"Add widget text that will be used to display the field in the wizard.\n" +"Example: 'many2many_tags', 'selection', 'image'" msgstr "" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__groups_id -msgid "Allowed Groups" +#: model_terms:ir.ui.view,arch_db:mass_editing.view_mass_editing_wizard_form +msgid "Apply" msgstr "" #. module: mass_editing @@ -61,85 +61,93 @@ msgid "Apply domain" msgstr "" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__apply_domain_in_lines +#: model:ir.model.fields,field_description:mass_editing.field_ir_actions_server__mass_edit_apply_domain_in_lines +#: model:ir.model.fields,field_description:mass_editing.field_ir_cron__mass_edit_apply_domain_in_lines msgid "Apply domain in lines" msgstr "" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__create_uid +#: model_terms:ir.ui.view,arch_db:mass_editing.view_mass_editing_wizard_form +msgid "Cancel" +msgstr "" + +#. module: mass_editing #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line__create_uid #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_wizard__create_uid msgid "Created by" msgstr "สร้างโดย" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__create_date #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line__create_date #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_wizard__create_date msgid "Created on" msgstr "สร้างเมื่อ" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__display_name +#: model:ir.model.fields,field_description:mass_editing.field_ir_actions_server__display_name #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line__display_name #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_wizard__display_name msgid "Display Name" msgstr "ชื่อที่ใช้แสดง" -#. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__domain -msgid "Domain" -msgstr "" - #. module: mass_editing #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line__field_id msgid "Field" msgstr "" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__id +#: model_terms:ir.ui.view,arch_db:mass_editing.view_server_action_form +msgid "Fields" +msgstr "" + +#. module: mass_editing +#: model:ir.model.fields,field_description:mass_editing.field_ir_actions_server__id #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line__id #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_wizard__id msgid "ID" msgstr "รหัส" #. module: mass_editing -#: model:ir.model.fields,help:mass_editing.field_mass_editing__message +#: model:ir.model.fields,help:mass_editing.field_ir_actions_server__mass_edit_message +#: model:ir.model.fields,help:mass_editing.field_ir_cron__mass_edit_message msgid "If set, this message will be displayed in the wizard." msgstr "" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing____last_update +#: model:ir.model.fields,field_description:mass_editing.field_ir_actions_server____last_update #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line____last_update #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_wizard____last_update msgid "Last Modified on" msgstr "แก้ไขครั้งสุดท้ายเมื่อ" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__write_uid #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line__write_uid #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_wizard__write_uid msgid "Last Updated by" msgstr "อัพเดทครั้งสุดท้ายโดย" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__write_date #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line__write_date #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_wizard__write_date msgid "Last Updated on" msgstr "อัพเดทครั้งสุดท้ายเมื่อ" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__line_ids -msgid "Line" +#: model:ir.actions.server,name:mass_editing.mass_editing_partner +#: model:ir.actions.server,name:mass_editing.mass_editing_partner_title +#: model:ir.actions.server,name:mass_editing.mass_editing_user +msgid "Mass Edit" msgstr "" #. module: mass_editing -#: model:ir.actions.act_window,name:mass_editing.action_mass_editing -#: model:ir.model,name:mass_editing.model_mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line__mass_editing_id -#: model:ir.ui.menu,name:mass_editing.menu_mass_editing -msgid "Mass Editing" +#: model:ir.model.fields,field_description:mass_editing.field_ir_actions_server__mass_edit_line_ids +#: model:ir.model.fields,field_description:mass_editing.field_ir_cron__mass_edit_line_ids +msgid "Mass Edit Line" +msgstr "" + +#. module: mass_editing +#: model:ir.model.fields.selection,name:mass_editing.selection__ir_actions_server__state__mass_edit +msgid "Mass Edit Records" msgstr "" #. module: mass_editing @@ -148,21 +156,34 @@ msgid "Mass Editing Line" msgstr "" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__message +#: code:addons/mass_editing/models/mass_editing_line.py:0 +#, python-format +msgid "Mass edit fields should belong to the server action model." +msgstr "" + +#. module: mass_editing +#: model:ir.model.fields,field_description:mass_editing.field_ir_actions_server__mass_edit_message +#: model:ir.model.fields,field_description:mass_editing.field_ir_cron__mass_edit_message #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_wizard__message +#: model_terms:ir.ui.view,arch_db:mass_editing.view_server_action_form msgid "Message" msgstr "" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__model_id #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line__model_id msgid "Model" msgstr "" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__name -msgid "Name" -msgstr "ชื่อ" +#: model:ir.model.fields,help:mass_editing.field_mass_editing_line__model_id +msgid "Model on which the server action runs." +msgstr "" + +#. module: mass_editing +#: code:addons/mass_editing/wizard/mass_editing_wizard.py:0 +#, python-format +msgid "None of the %d record(s) you have selected can be processed." +msgstr "" #. module: mass_editing #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_wizard__operation_description_danger @@ -200,6 +221,12 @@ msgstr "" msgid "Sequence" msgstr "" +#. module: mass_editing +#: model:ir.model,name:mass_editing.model_ir_actions_server +#: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line__server_action_id +msgid "Server Action" +msgstr "" + #. module: mass_editing #: code:addons/mass_editing/wizard/mass_editing_wizard.py:0 #, python-format @@ -207,8 +234,24 @@ msgid "Set" msgstr "" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__ref_ir_act_window_id -msgid "Sidebar Action" +#: code:addons/mass_editing/wizard/mass_editing_wizard.py:0 +#, python-format +msgid "The treatment will be processed on the %d selected record(s)." +msgstr "" + +#. module: mass_editing +#: model:ir.model.fields,help:mass_editing.field_ir_actions_server__state +#: model:ir.model.fields,help:mass_editing.field_ir_cron__state +msgid "" +"Type of server action. The following values are available:\n" +"- 'Execute Python Code': a block of python code that will be executed\n" +"- 'Create': create a new record with new values\n" +"- 'Update a Record': update the values of a record\n" +"- 'Execute several actions': define an action that triggers several other " +"server actions\n" +"- 'Send Email': automatically send an email (Discuss)\n" +"- 'Add Followers': add followers to a record (Discuss)\n" +"- 'Create Next Activity': create an activity (Discuss)" msgstr "" #. module: mass_editing @@ -220,3 +263,14 @@ msgstr "" #: model:ir.model,name:mass_editing.model_mass_editing_wizard msgid "Wizard for mass edition" msgstr "" + +#. module: mass_editing +#: code:addons/mass_editing/wizard/mass_editing_wizard.py:0 +#, python-format +msgid "" +"You have selected %d record(s) that can not be processed.\n" +"Only %d record(s) will be processed." +msgstr "" + +#~ msgid "Name" +#~ msgstr "ชื่อ" diff --git a/mass_editing/i18n/tr.po b/mass_editing/i18n/tr.po index de7bc6c..c981cf2 100644 --- a/mass_editing/i18n/tr.po +++ b/mass_editing/i18n/tr.po @@ -19,7 +19,7 @@ msgstr "" "Plural-Forms: nplurals=2; plural=(n > 1);\n" #. module: mass_editing -#: model_terms:ir.ui.view,arch_db:mass_editing.view_mass_editing_form +#: model_terms:ir.ui.view,arch_db:mass_editing.view_server_action_form msgid "" "WARNING: Take into account that adding a field with a domain, and not " "including the fields of such domain in this operation definition, will lead " @@ -27,8 +27,9 @@ msgid "" msgstr "" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__action_name -msgid "Action Name" +#: model:ir.model.fields,field_description:mass_editing.field_ir_actions_server__state +#: model:ir.model.fields,field_description:mass_editing.field_ir_cron__state +msgid "Action To Do" msgstr "" #. module: mass_editing @@ -40,14 +41,13 @@ msgstr "" #. module: mass_editing #: model:ir.model.fields,help:mass_editing.field_mass_editing_line__widget_option msgid "" -"Add widget text that will be used to display the field in the wizard. " -"Example :\n" -"'many2many_tags', 'selection'" +"Add widget text that will be used to display the field in the wizard.\n" +"Example: 'many2many_tags', 'selection', 'image'" msgstr "" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__groups_id -msgid "Allowed Groups" +#: model_terms:ir.ui.view,arch_db:mass_editing.view_mass_editing_wizard_form +msgid "Apply" msgstr "" #. module: mass_editing @@ -61,36 +61,35 @@ msgid "Apply domain" msgstr "" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__apply_domain_in_lines +#: model:ir.model.fields,field_description:mass_editing.field_ir_actions_server__mass_edit_apply_domain_in_lines +#: model:ir.model.fields,field_description:mass_editing.field_ir_cron__mass_edit_apply_domain_in_lines msgid "Apply domain in lines" msgstr "" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__create_uid +#: model_terms:ir.ui.view,arch_db:mass_editing.view_mass_editing_wizard_form +msgid "Cancel" +msgstr "" + +#. module: mass_editing #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line__create_uid #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_wizard__create_uid msgid "Created by" msgstr "Oluşturan" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__create_date #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line__create_date #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_wizard__create_date msgid "Created on" msgstr "Oluşturuldu" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__display_name +#: model:ir.model.fields,field_description:mass_editing.field_ir_actions_server__display_name #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line__display_name #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_wizard__display_name msgid "Display Name" msgstr "Görünen İsim" -#. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__domain -msgid "Domain" -msgstr "" - #. module: mass_editing #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line__field_id #, fuzzy @@ -98,50 +97,59 @@ msgid "Field" msgstr "Alanlar" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__id +#: model_terms:ir.ui.view,arch_db:mass_editing.view_server_action_form +msgid "Fields" +msgstr "" + +#. module: mass_editing +#: model:ir.model.fields,field_description:mass_editing.field_ir_actions_server__id #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line__id #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_wizard__id msgid "ID" msgstr "ID" #. module: mass_editing -#: model:ir.model.fields,help:mass_editing.field_mass_editing__message +#: model:ir.model.fields,help:mass_editing.field_ir_actions_server__mass_edit_message +#: model:ir.model.fields,help:mass_editing.field_ir_cron__mass_edit_message msgid "If set, this message will be displayed in the wizard." msgstr "" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing____last_update +#: model:ir.model.fields,field_description:mass_editing.field_ir_actions_server____last_update #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line____last_update #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_wizard____last_update msgid "Last Modified on" msgstr "Son değişiklik" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__write_uid #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line__write_uid #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_wizard__write_uid msgid "Last Updated by" msgstr "Son güncelleyen" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__write_date #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line__write_date #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_wizard__write_date msgid "Last Updated on" msgstr "Son güncelleme" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__line_ids -msgid "Line" +#: model:ir.actions.server,name:mass_editing.mass_editing_partner +#: model:ir.actions.server,name:mass_editing.mass_editing_partner_title +#: model:ir.actions.server,name:mass_editing.mass_editing_user +msgid "Mass Edit" msgstr "" #. module: mass_editing -#: model:ir.actions.act_window,name:mass_editing.action_mass_editing -#: model:ir.model,name:mass_editing.model_mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line__mass_editing_id -#: model:ir.ui.menu,name:mass_editing.menu_mass_editing -msgid "Mass Editing" -msgstr "Toplu düzenleme" +#: model:ir.model.fields,field_description:mass_editing.field_ir_actions_server__mass_edit_line_ids +#: model:ir.model.fields,field_description:mass_editing.field_ir_cron__mass_edit_line_ids +msgid "Mass Edit Line" +msgstr "" + +#. module: mass_editing +#: model:ir.model.fields.selection,name:mass_editing.selection__ir_actions_server__state__mass_edit +msgid "Mass Edit Records" +msgstr "" #. module: mass_editing #: model:ir.model,name:mass_editing.model_mass_editing_line @@ -150,21 +158,34 @@ msgid "Mass Editing Line" msgstr "Toplu düzenleme" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__message +#: code:addons/mass_editing/models/mass_editing_line.py:0 +#, python-format +msgid "Mass edit fields should belong to the server action model." +msgstr "" + +#. module: mass_editing +#: model:ir.model.fields,field_description:mass_editing.field_ir_actions_server__mass_edit_message +#: model:ir.model.fields,field_description:mass_editing.field_ir_cron__mass_edit_message #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_wizard__message +#: model_terms:ir.ui.view,arch_db:mass_editing.view_server_action_form msgid "Message" msgstr "" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__model_id #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line__model_id msgid "Model" msgstr "Model" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__name -msgid "Name" -msgstr "Adı" +#: model:ir.model.fields,help:mass_editing.field_mass_editing_line__model_id +msgid "Model on which the server action runs." +msgstr "" + +#. module: mass_editing +#: code:addons/mass_editing/wizard/mass_editing_wizard.py:0 +#, python-format +msgid "None of the %d record(s) you have selected can be processed." +msgstr "" #. module: mass_editing #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_wizard__operation_description_danger @@ -202,6 +223,12 @@ msgstr "" msgid "Sequence" msgstr "" +#. module: mass_editing +#: model:ir.model,name:mass_editing.model_ir_actions_server +#: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line__server_action_id +msgid "Server Action" +msgstr "" + #. module: mass_editing #: code:addons/mass_editing/wizard/mass_editing_wizard.py:0 #, python-format @@ -209,8 +236,24 @@ msgid "Set" msgstr "" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__ref_ir_act_window_id -msgid "Sidebar Action" +#: code:addons/mass_editing/wizard/mass_editing_wizard.py:0 +#, python-format +msgid "The treatment will be processed on the %d selected record(s)." +msgstr "" + +#. module: mass_editing +#: model:ir.model.fields,help:mass_editing.field_ir_actions_server__state +#: model:ir.model.fields,help:mass_editing.field_ir_cron__state +msgid "" +"Type of server action. The following values are available:\n" +"- 'Execute Python Code': a block of python code that will be executed\n" +"- 'Create': create a new record with new values\n" +"- 'Update a Record': update the values of a record\n" +"- 'Execute several actions': define an action that triggers several other " +"server actions\n" +"- 'Send Email': automatically send an email (Discuss)\n" +"- 'Add Followers': add followers to a record (Discuss)\n" +"- 'Create Next Activity': create an activity (Discuss)" msgstr "" #. module: mass_editing @@ -223,6 +266,20 @@ msgstr "" msgid "Wizard for mass edition" msgstr "" +#. module: mass_editing +#: code:addons/mass_editing/wizard/mass_editing_wizard.py:0 +#, python-format +msgid "" +"You have selected %d record(s) that can not be processed.\n" +"Only %d record(s) will be processed." +msgstr "" + +#~ msgid "Mass Editing" +#~ msgstr "Toplu düzenleme" + +#~ msgid "Name" +#~ msgstr "Adı" + #~ msgid "Advanced" #~ msgstr "Gelişmiş" diff --git a/mass_editing/i18n/tr_TR.po b/mass_editing/i18n/tr_TR.po index 7fe492e..08d4e80 100644 --- a/mass_editing/i18n/tr_TR.po +++ b/mass_editing/i18n/tr_TR.po @@ -20,7 +20,7 @@ msgstr "" "Plural-Forms: nplurals=1; plural=0;\n" #. module: mass_editing -#: model_terms:ir.ui.view,arch_db:mass_editing.view_mass_editing_form +#: model_terms:ir.ui.view,arch_db:mass_editing.view_server_action_form msgid "" "WARNING: Take into account that adding a field with a domain, and not " "including the fields of such domain in this operation definition, will lead " @@ -28,8 +28,9 @@ msgid "" msgstr "" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__action_name -msgid "Action Name" +#: model:ir.model.fields,field_description:mass_editing.field_ir_actions_server__state +#: model:ir.model.fields,field_description:mass_editing.field_ir_cron__state +msgid "Action To Do" msgstr "" #. module: mass_editing @@ -41,14 +42,13 @@ msgstr "" #. module: mass_editing #: model:ir.model.fields,help:mass_editing.field_mass_editing_line__widget_option msgid "" -"Add widget text that will be used to display the field in the wizard. " -"Example :\n" -"'many2many_tags', 'selection'" +"Add widget text that will be used to display the field in the wizard.\n" +"Example: 'many2many_tags', 'selection', 'image'" msgstr "" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__groups_id -msgid "Allowed Groups" +#: model_terms:ir.ui.view,arch_db:mass_editing.view_mass_editing_wizard_form +msgid "Apply" msgstr "" #. module: mass_editing @@ -62,85 +62,93 @@ msgid "Apply domain" msgstr "" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__apply_domain_in_lines +#: model:ir.model.fields,field_description:mass_editing.field_ir_actions_server__mass_edit_apply_domain_in_lines +#: model:ir.model.fields,field_description:mass_editing.field_ir_cron__mass_edit_apply_domain_in_lines msgid "Apply domain in lines" msgstr "" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__create_uid +#: model_terms:ir.ui.view,arch_db:mass_editing.view_mass_editing_wizard_form +msgid "Cancel" +msgstr "" + +#. module: mass_editing #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line__create_uid #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_wizard__create_uid msgid "Created by" msgstr "Oluşturan" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__create_date #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line__create_date #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_wizard__create_date msgid "Created on" msgstr "Oluşturulma tarihi" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__display_name +#: model:ir.model.fields,field_description:mass_editing.field_ir_actions_server__display_name #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line__display_name #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_wizard__display_name msgid "Display Name" msgstr "Görünen ad" -#. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__domain -msgid "Domain" -msgstr "" - #. module: mass_editing #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line__field_id msgid "Field" msgstr "" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__id +#: model_terms:ir.ui.view,arch_db:mass_editing.view_server_action_form +msgid "Fields" +msgstr "" + +#. module: mass_editing +#: model:ir.model.fields,field_description:mass_editing.field_ir_actions_server__id #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line__id #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_wizard__id msgid "ID" msgstr "Kimlik" #. module: mass_editing -#: model:ir.model.fields,help:mass_editing.field_mass_editing__message +#: model:ir.model.fields,help:mass_editing.field_ir_actions_server__mass_edit_message +#: model:ir.model.fields,help:mass_editing.field_ir_cron__mass_edit_message msgid "If set, this message will be displayed in the wizard." msgstr "" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing____last_update +#: model:ir.model.fields,field_description:mass_editing.field_ir_actions_server____last_update #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line____last_update #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_wizard____last_update msgid "Last Modified on" msgstr "En son güncelleme tarihi" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__write_uid #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line__write_uid #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_wizard__write_uid msgid "Last Updated by" msgstr "En son güncelleyen " #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__write_date #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line__write_date #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_wizard__write_date msgid "Last Updated on" msgstr "En son güncelleme tarihi" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__line_ids -msgid "Line" +#: model:ir.actions.server,name:mass_editing.mass_editing_partner +#: model:ir.actions.server,name:mass_editing.mass_editing_partner_title +#: model:ir.actions.server,name:mass_editing.mass_editing_user +msgid "Mass Edit" msgstr "" #. module: mass_editing -#: model:ir.actions.act_window,name:mass_editing.action_mass_editing -#: model:ir.model,name:mass_editing.model_mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line__mass_editing_id -#: model:ir.ui.menu,name:mass_editing.menu_mass_editing -msgid "Mass Editing" +#: model:ir.model.fields,field_description:mass_editing.field_ir_actions_server__mass_edit_line_ids +#: model:ir.model.fields,field_description:mass_editing.field_ir_cron__mass_edit_line_ids +msgid "Mass Edit Line" +msgstr "" + +#. module: mass_editing +#: model:ir.model.fields.selection,name:mass_editing.selection__ir_actions_server__state__mass_edit +msgid "Mass Edit Records" msgstr "" #. module: mass_editing @@ -149,21 +157,34 @@ msgid "Mass Editing Line" msgstr "" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__message +#: code:addons/mass_editing/models/mass_editing_line.py:0 +#, python-format +msgid "Mass edit fields should belong to the server action model." +msgstr "" + +#. module: mass_editing +#: model:ir.model.fields,field_description:mass_editing.field_ir_actions_server__mass_edit_message +#: model:ir.model.fields,field_description:mass_editing.field_ir_cron__mass_edit_message #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_wizard__message +#: model_terms:ir.ui.view,arch_db:mass_editing.view_server_action_form msgid "Message" msgstr "" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__model_id #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line__model_id msgid "Model" msgstr "Tip" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__name -msgid "Name" -msgstr "Ad" +#: model:ir.model.fields,help:mass_editing.field_mass_editing_line__model_id +msgid "Model on which the server action runs." +msgstr "" + +#. module: mass_editing +#: code:addons/mass_editing/wizard/mass_editing_wizard.py:0 +#, python-format +msgid "None of the %d record(s) you have selected can be processed." +msgstr "" #. module: mass_editing #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_wizard__operation_description_danger @@ -201,6 +222,12 @@ msgstr "" msgid "Sequence" msgstr "" +#. module: mass_editing +#: model:ir.model,name:mass_editing.model_ir_actions_server +#: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line__server_action_id +msgid "Server Action" +msgstr "" + #. module: mass_editing #: code:addons/mass_editing/wizard/mass_editing_wizard.py:0 #, python-format @@ -208,8 +235,24 @@ msgid "Set" msgstr "" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__ref_ir_act_window_id -msgid "Sidebar Action" +#: code:addons/mass_editing/wizard/mass_editing_wizard.py:0 +#, python-format +msgid "The treatment will be processed on the %d selected record(s)." +msgstr "" + +#. module: mass_editing +#: model:ir.model.fields,help:mass_editing.field_ir_actions_server__state +#: model:ir.model.fields,help:mass_editing.field_ir_cron__state +msgid "" +"Type of server action. The following values are available:\n" +"- 'Execute Python Code': a block of python code that will be executed\n" +"- 'Create': create a new record with new values\n" +"- 'Update a Record': update the values of a record\n" +"- 'Execute several actions': define an action that triggers several other " +"server actions\n" +"- 'Send Email': automatically send an email (Discuss)\n" +"- 'Add Followers': add followers to a record (Discuss)\n" +"- 'Create Next Activity': create an activity (Discuss)" msgstr "" #. module: mass_editing @@ -221,3 +264,14 @@ msgstr "" #: model:ir.model,name:mass_editing.model_mass_editing_wizard msgid "Wizard for mass edition" msgstr "" + +#. module: mass_editing +#: code:addons/mass_editing/wizard/mass_editing_wizard.py:0 +#, python-format +msgid "" +"You have selected %d record(s) that can not be processed.\n" +"Only %d record(s) will be processed." +msgstr "" + +#~ msgid "Name" +#~ msgstr "Ad" diff --git a/mass_editing/i18n/uk.po b/mass_editing/i18n/uk.po index 79c24a3..9b411eb 100644 --- a/mass_editing/i18n/uk.po +++ b/mass_editing/i18n/uk.po @@ -20,7 +20,7 @@ msgstr "" "%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n" #. module: mass_editing -#: model_terms:ir.ui.view,arch_db:mass_editing.view_mass_editing_form +#: model_terms:ir.ui.view,arch_db:mass_editing.view_server_action_form msgid "" "WARNING: Take into account that adding a field with a domain, and not " "including the fields of such domain in this operation definition, will lead " @@ -28,8 +28,9 @@ msgid "" msgstr "" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__action_name -msgid "Action Name" +#: model:ir.model.fields,field_description:mass_editing.field_ir_actions_server__state +#: model:ir.model.fields,field_description:mass_editing.field_ir_cron__state +msgid "Action To Do" msgstr "" #. module: mass_editing @@ -41,14 +42,13 @@ msgstr "" #. module: mass_editing #: model:ir.model.fields,help:mass_editing.field_mass_editing_line__widget_option msgid "" -"Add widget text that will be used to display the field in the wizard. " -"Example :\n" -"'many2many_tags', 'selection'" +"Add widget text that will be used to display the field in the wizard.\n" +"Example: 'many2many_tags', 'selection', 'image'" msgstr "" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__groups_id -msgid "Allowed Groups" +#: model_terms:ir.ui.view,arch_db:mass_editing.view_mass_editing_wizard_form +msgid "Apply" msgstr "" #. module: mass_editing @@ -62,85 +62,93 @@ msgid "Apply domain" msgstr "" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__apply_domain_in_lines +#: model:ir.model.fields,field_description:mass_editing.field_ir_actions_server__mass_edit_apply_domain_in_lines +#: model:ir.model.fields,field_description:mass_editing.field_ir_cron__mass_edit_apply_domain_in_lines msgid "Apply domain in lines" msgstr "" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__create_uid +#: model_terms:ir.ui.view,arch_db:mass_editing.view_mass_editing_wizard_form +msgid "Cancel" +msgstr "" + +#. module: mass_editing #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line__create_uid #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_wizard__create_uid msgid "Created by" msgstr "Створив" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__create_date #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line__create_date #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_wizard__create_date msgid "Created on" msgstr "Створено" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__display_name +#: model:ir.model.fields,field_description:mass_editing.field_ir_actions_server__display_name #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line__display_name #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_wizard__display_name msgid "Display Name" msgstr "Назва для відображення" -#. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__domain -msgid "Domain" -msgstr "" - #. module: mass_editing #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line__field_id msgid "Field" msgstr "" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__id +#: model_terms:ir.ui.view,arch_db:mass_editing.view_server_action_form +msgid "Fields" +msgstr "" + +#. module: mass_editing +#: model:ir.model.fields,field_description:mass_editing.field_ir_actions_server__id #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line__id #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_wizard__id msgid "ID" msgstr "ID" #. module: mass_editing -#: model:ir.model.fields,help:mass_editing.field_mass_editing__message +#: model:ir.model.fields,help:mass_editing.field_ir_actions_server__mass_edit_message +#: model:ir.model.fields,help:mass_editing.field_ir_cron__mass_edit_message msgid "If set, this message will be displayed in the wizard." msgstr "" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing____last_update +#: model:ir.model.fields,field_description:mass_editing.field_ir_actions_server____last_update #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line____last_update #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_wizard____last_update msgid "Last Modified on" msgstr "Остання модифікація" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__write_uid #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line__write_uid #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_wizard__write_uid msgid "Last Updated by" msgstr "Востаннє відредаговано" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__write_date #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line__write_date #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_wizard__write_date msgid "Last Updated on" msgstr "Дата останньої зміни" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__line_ids -msgid "Line" +#: model:ir.actions.server,name:mass_editing.mass_editing_partner +#: model:ir.actions.server,name:mass_editing.mass_editing_partner_title +#: model:ir.actions.server,name:mass_editing.mass_editing_user +msgid "Mass Edit" msgstr "" #. module: mass_editing -#: model:ir.actions.act_window,name:mass_editing.action_mass_editing -#: model:ir.model,name:mass_editing.model_mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line__mass_editing_id -#: model:ir.ui.menu,name:mass_editing.menu_mass_editing -msgid "Mass Editing" +#: model:ir.model.fields,field_description:mass_editing.field_ir_actions_server__mass_edit_line_ids +#: model:ir.model.fields,field_description:mass_editing.field_ir_cron__mass_edit_line_ids +msgid "Mass Edit Line" +msgstr "" + +#. module: mass_editing +#: model:ir.model.fields.selection,name:mass_editing.selection__ir_actions_server__state__mass_edit +msgid "Mass Edit Records" msgstr "" #. module: mass_editing @@ -149,21 +157,34 @@ msgid "Mass Editing Line" msgstr "" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__message +#: code:addons/mass_editing/models/mass_editing_line.py:0 +#, python-format +msgid "Mass edit fields should belong to the server action model." +msgstr "" + +#. module: mass_editing +#: model:ir.model.fields,field_description:mass_editing.field_ir_actions_server__mass_edit_message +#: model:ir.model.fields,field_description:mass_editing.field_ir_cron__mass_edit_message #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_wizard__message +#: model_terms:ir.ui.view,arch_db:mass_editing.view_server_action_form msgid "Message" msgstr "" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__model_id #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line__model_id msgid "Model" msgstr "" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__name -msgid "Name" -msgstr "Name" +#: model:ir.model.fields,help:mass_editing.field_mass_editing_line__model_id +msgid "Model on which the server action runs." +msgstr "" + +#. module: mass_editing +#: code:addons/mass_editing/wizard/mass_editing_wizard.py:0 +#, python-format +msgid "None of the %d record(s) you have selected can be processed." +msgstr "" #. module: mass_editing #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_wizard__operation_description_danger @@ -201,6 +222,12 @@ msgstr "" msgid "Sequence" msgstr "" +#. module: mass_editing +#: model:ir.model,name:mass_editing.model_ir_actions_server +#: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line__server_action_id +msgid "Server Action" +msgstr "" + #. module: mass_editing #: code:addons/mass_editing/wizard/mass_editing_wizard.py:0 #, python-format @@ -208,8 +235,24 @@ msgid "Set" msgstr "" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__ref_ir_act_window_id -msgid "Sidebar Action" +#: code:addons/mass_editing/wizard/mass_editing_wizard.py:0 +#, python-format +msgid "The treatment will be processed on the %d selected record(s)." +msgstr "" + +#. module: mass_editing +#: model:ir.model.fields,help:mass_editing.field_ir_actions_server__state +#: model:ir.model.fields,help:mass_editing.field_ir_cron__state +msgid "" +"Type of server action. The following values are available:\n" +"- 'Execute Python Code': a block of python code that will be executed\n" +"- 'Create': create a new record with new values\n" +"- 'Update a Record': update the values of a record\n" +"- 'Execute several actions': define an action that triggers several other " +"server actions\n" +"- 'Send Email': automatically send an email (Discuss)\n" +"- 'Add Followers': add followers to a record (Discuss)\n" +"- 'Create Next Activity': create an activity (Discuss)" msgstr "" #. module: mass_editing @@ -222,5 +265,16 @@ msgstr "" msgid "Wizard for mass edition" msgstr "" +#. module: mass_editing +#: code:addons/mass_editing/wizard/mass_editing_wizard.py:0 +#, python-format +msgid "" +"You have selected %d record(s) that can not be processed.\n" +"Only %d record(s) will be processed." +msgstr "" + +#~ msgid "Name" +#~ msgstr "Name" + #~ msgid "%s (copy)" #~ msgstr "%s (copy)" diff --git a/mass_editing/i18n/vi.po b/mass_editing/i18n/vi.po index 6f4c284..cdb5a0a 100644 --- a/mass_editing/i18n/vi.po +++ b/mass_editing/i18n/vi.po @@ -19,7 +19,7 @@ msgstr "" "Plural-Forms: nplurals=1; plural=0;\n" #. module: mass_editing -#: model_terms:ir.ui.view,arch_db:mass_editing.view_mass_editing_form +#: model_terms:ir.ui.view,arch_db:mass_editing.view_server_action_form msgid "" "WARNING: Take into account that adding a field with a domain, and not " "including the fields of such domain in this operation definition, will lead " @@ -27,8 +27,9 @@ msgid "" msgstr "" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__action_name -msgid "Action Name" +#: model:ir.model.fields,field_description:mass_editing.field_ir_actions_server__state +#: model:ir.model.fields,field_description:mass_editing.field_ir_cron__state +msgid "Action To Do" msgstr "" #. module: mass_editing @@ -40,14 +41,13 @@ msgstr "" #. module: mass_editing #: model:ir.model.fields,help:mass_editing.field_mass_editing_line__widget_option msgid "" -"Add widget text that will be used to display the field in the wizard. " -"Example :\n" -"'many2many_tags', 'selection'" +"Add widget text that will be used to display the field in the wizard.\n" +"Example: 'many2many_tags', 'selection', 'image'" msgstr "" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__groups_id -msgid "Allowed Groups" +#: model_terms:ir.ui.view,arch_db:mass_editing.view_mass_editing_wizard_form +msgid "Apply" msgstr "" #. module: mass_editing @@ -61,85 +61,93 @@ msgid "Apply domain" msgstr "" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__apply_domain_in_lines +#: model:ir.model.fields,field_description:mass_editing.field_ir_actions_server__mass_edit_apply_domain_in_lines +#: model:ir.model.fields,field_description:mass_editing.field_ir_cron__mass_edit_apply_domain_in_lines msgid "Apply domain in lines" msgstr "" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__create_uid +#: model_terms:ir.ui.view,arch_db:mass_editing.view_mass_editing_wizard_form +msgid "Cancel" +msgstr "" + +#. module: mass_editing #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line__create_uid #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_wizard__create_uid msgid "Created by" msgstr "Được tạo bởi" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__create_date #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line__create_date #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_wizard__create_date msgid "Created on" msgstr "Tạo trên" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__display_name +#: model:ir.model.fields,field_description:mass_editing.field_ir_actions_server__display_name #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line__display_name #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_wizard__display_name msgid "Display Name" msgstr "Tên hiển thị" -#. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__domain -msgid "Domain" -msgstr "" - #. module: mass_editing #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line__field_id msgid "Field" msgstr "" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__id +#: model_terms:ir.ui.view,arch_db:mass_editing.view_server_action_form +msgid "Fields" +msgstr "" + +#. module: mass_editing +#: model:ir.model.fields,field_description:mass_editing.field_ir_actions_server__id #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line__id #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_wizard__id msgid "ID" msgstr "ID" #. module: mass_editing -#: model:ir.model.fields,help:mass_editing.field_mass_editing__message +#: model:ir.model.fields,help:mass_editing.field_ir_actions_server__mass_edit_message +#: model:ir.model.fields,help:mass_editing.field_ir_cron__mass_edit_message msgid "If set, this message will be displayed in the wizard." msgstr "" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing____last_update +#: model:ir.model.fields,field_description:mass_editing.field_ir_actions_server____last_update #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line____last_update #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_wizard____last_update msgid "Last Modified on" msgstr "Sửa lần cuối vào" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__write_uid #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line__write_uid #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_wizard__write_uid msgid "Last Updated by" msgstr "Last Updated by" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__write_date #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line__write_date #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_wizard__write_date msgid "Last Updated on" msgstr "Cập nhật lần cuối vào" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__line_ids -msgid "Line" +#: model:ir.actions.server,name:mass_editing.mass_editing_partner +#: model:ir.actions.server,name:mass_editing.mass_editing_partner_title +#: model:ir.actions.server,name:mass_editing.mass_editing_user +msgid "Mass Edit" msgstr "" #. module: mass_editing -#: model:ir.actions.act_window,name:mass_editing.action_mass_editing -#: model:ir.model,name:mass_editing.model_mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line__mass_editing_id -#: model:ir.ui.menu,name:mass_editing.menu_mass_editing -msgid "Mass Editing" +#: model:ir.model.fields,field_description:mass_editing.field_ir_actions_server__mass_edit_line_ids +#: model:ir.model.fields,field_description:mass_editing.field_ir_cron__mass_edit_line_ids +msgid "Mass Edit Line" +msgstr "" + +#. module: mass_editing +#: model:ir.model.fields.selection,name:mass_editing.selection__ir_actions_server__state__mass_edit +msgid "Mass Edit Records" msgstr "" #. module: mass_editing @@ -148,21 +156,34 @@ msgid "Mass Editing Line" msgstr "" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__message +#: code:addons/mass_editing/models/mass_editing_line.py:0 +#, python-format +msgid "Mass edit fields should belong to the server action model." +msgstr "" + +#. module: mass_editing +#: model:ir.model.fields,field_description:mass_editing.field_ir_actions_server__mass_edit_message +#: model:ir.model.fields,field_description:mass_editing.field_ir_cron__mass_edit_message #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_wizard__message +#: model_terms:ir.ui.view,arch_db:mass_editing.view_server_action_form msgid "Message" msgstr "" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__model_id #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line__model_id msgid "Model" msgstr "" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__name -msgid "Name" -msgstr "Tên" +#: model:ir.model.fields,help:mass_editing.field_mass_editing_line__model_id +msgid "Model on which the server action runs." +msgstr "" + +#. module: mass_editing +#: code:addons/mass_editing/wizard/mass_editing_wizard.py:0 +#, python-format +msgid "None of the %d record(s) you have selected can be processed." +msgstr "" #. module: mass_editing #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_wizard__operation_description_danger @@ -200,6 +221,12 @@ msgstr "" msgid "Sequence" msgstr "" +#. module: mass_editing +#: model:ir.model,name:mass_editing.model_ir_actions_server +#: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line__server_action_id +msgid "Server Action" +msgstr "" + #. module: mass_editing #: code:addons/mass_editing/wizard/mass_editing_wizard.py:0 #, python-format @@ -207,8 +234,24 @@ msgid "Set" msgstr "" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__ref_ir_act_window_id -msgid "Sidebar Action" +#: code:addons/mass_editing/wizard/mass_editing_wizard.py:0 +#, python-format +msgid "The treatment will be processed on the %d selected record(s)." +msgstr "" + +#. module: mass_editing +#: model:ir.model.fields,help:mass_editing.field_ir_actions_server__state +#: model:ir.model.fields,help:mass_editing.field_ir_cron__state +msgid "" +"Type of server action. The following values are available:\n" +"- 'Execute Python Code': a block of python code that will be executed\n" +"- 'Create': create a new record with new values\n" +"- 'Update a Record': update the values of a record\n" +"- 'Execute several actions': define an action that triggers several other " +"server actions\n" +"- 'Send Email': automatically send an email (Discuss)\n" +"- 'Add Followers': add followers to a record (Discuss)\n" +"- 'Create Next Activity': create an activity (Discuss)" msgstr "" #. module: mass_editing @@ -220,3 +263,14 @@ msgstr "" #: model:ir.model,name:mass_editing.model_mass_editing_wizard msgid "Wizard for mass edition" msgstr "" + +#. module: mass_editing +#: code:addons/mass_editing/wizard/mass_editing_wizard.py:0 +#, python-format +msgid "" +"You have selected %d record(s) that can not be processed.\n" +"Only %d record(s) will be processed." +msgstr "" + +#~ msgid "Name" +#~ msgstr "Tên" diff --git a/mass_editing/i18n/vi_VN.po b/mass_editing/i18n/vi_VN.po index 0a19188..550f76a 100644 --- a/mass_editing/i18n/vi_VN.po +++ b/mass_editing/i18n/vi_VN.po @@ -20,7 +20,7 @@ msgstr "" "Plural-Forms: nplurals=1; plural=0;\n" #. module: mass_editing -#: model_terms:ir.ui.view,arch_db:mass_editing.view_mass_editing_form +#: model_terms:ir.ui.view,arch_db:mass_editing.view_server_action_form msgid "" "WARNING: Take into account that adding a field with a domain, and not " "including the fields of such domain in this operation definition, will lead " @@ -28,8 +28,9 @@ msgid "" msgstr "" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__action_name -msgid "Action Name" +#: model:ir.model.fields,field_description:mass_editing.field_ir_actions_server__state +#: model:ir.model.fields,field_description:mass_editing.field_ir_cron__state +msgid "Action To Do" msgstr "" #. module: mass_editing @@ -41,14 +42,13 @@ msgstr "" #. module: mass_editing #: model:ir.model.fields,help:mass_editing.field_mass_editing_line__widget_option msgid "" -"Add widget text that will be used to display the field in the wizard. " -"Example :\n" -"'many2many_tags', 'selection'" +"Add widget text that will be used to display the field in the wizard.\n" +"Example: 'many2many_tags', 'selection', 'image'" msgstr "" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__groups_id -msgid "Allowed Groups" +#: model_terms:ir.ui.view,arch_db:mass_editing.view_mass_editing_wizard_form +msgid "Apply" msgstr "" #. module: mass_editing @@ -62,85 +62,93 @@ msgid "Apply domain" msgstr "" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__apply_domain_in_lines +#: model:ir.model.fields,field_description:mass_editing.field_ir_actions_server__mass_edit_apply_domain_in_lines +#: model:ir.model.fields,field_description:mass_editing.field_ir_cron__mass_edit_apply_domain_in_lines msgid "Apply domain in lines" msgstr "" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__create_uid +#: model_terms:ir.ui.view,arch_db:mass_editing.view_mass_editing_wizard_form +msgid "Cancel" +msgstr "" + +#. module: mass_editing #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line__create_uid #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_wizard__create_uid msgid "Created by" msgstr "Tạo bởi" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__create_date #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line__create_date #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_wizard__create_date msgid "Created on" msgstr "Tạo vào" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__display_name +#: model:ir.model.fields,field_description:mass_editing.field_ir_actions_server__display_name #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line__display_name #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_wizard__display_name msgid "Display Name" msgstr "" -#. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__domain -msgid "Domain" -msgstr "" - #. module: mass_editing #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line__field_id msgid "Field" msgstr "" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__id +#: model_terms:ir.ui.view,arch_db:mass_editing.view_server_action_form +msgid "Fields" +msgstr "" + +#. module: mass_editing +#: model:ir.model.fields,field_description:mass_editing.field_ir_actions_server__id #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line__id #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_wizard__id msgid "ID" msgstr "ID" #. module: mass_editing -#: model:ir.model.fields,help:mass_editing.field_mass_editing__message +#: model:ir.model.fields,help:mass_editing.field_ir_actions_server__mass_edit_message +#: model:ir.model.fields,help:mass_editing.field_ir_cron__mass_edit_message msgid "If set, this message will be displayed in the wizard." msgstr "" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing____last_update +#: model:ir.model.fields,field_description:mass_editing.field_ir_actions_server____last_update #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line____last_update #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_wizard____last_update msgid "Last Modified on" msgstr "" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__write_uid #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line__write_uid #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_wizard__write_uid msgid "Last Updated by" msgstr "Cập nhật lần cuối bởi" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__write_date #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line__write_date #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_wizard__write_date msgid "Last Updated on" msgstr "Cập nhật lần cuối vào" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__line_ids -msgid "Line" +#: model:ir.actions.server,name:mass_editing.mass_editing_partner +#: model:ir.actions.server,name:mass_editing.mass_editing_partner_title +#: model:ir.actions.server,name:mass_editing.mass_editing_user +msgid "Mass Edit" msgstr "" #. module: mass_editing -#: model:ir.actions.act_window,name:mass_editing.action_mass_editing -#: model:ir.model,name:mass_editing.model_mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line__mass_editing_id -#: model:ir.ui.menu,name:mass_editing.menu_mass_editing -msgid "Mass Editing" +#: model:ir.model.fields,field_description:mass_editing.field_ir_actions_server__mass_edit_line_ids +#: model:ir.model.fields,field_description:mass_editing.field_ir_cron__mass_edit_line_ids +msgid "Mass Edit Line" +msgstr "" + +#. module: mass_editing +#: model:ir.model.fields.selection,name:mass_editing.selection__ir_actions_server__state__mass_edit +msgid "Mass Edit Records" msgstr "" #. module: mass_editing @@ -149,21 +157,34 @@ msgid "Mass Editing Line" msgstr "" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__message +#: code:addons/mass_editing/models/mass_editing_line.py:0 +#, python-format +msgid "Mass edit fields should belong to the server action model." +msgstr "" + +#. module: mass_editing +#: model:ir.model.fields,field_description:mass_editing.field_ir_actions_server__mass_edit_message +#: model:ir.model.fields,field_description:mass_editing.field_ir_cron__mass_edit_message #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_wizard__message +#: model_terms:ir.ui.view,arch_db:mass_editing.view_server_action_form msgid "Message" msgstr "" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__model_id #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line__model_id msgid "Model" msgstr "" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__name -msgid "Name" -msgstr "Tên" +#: model:ir.model.fields,help:mass_editing.field_mass_editing_line__model_id +msgid "Model on which the server action runs." +msgstr "" + +#. module: mass_editing +#: code:addons/mass_editing/wizard/mass_editing_wizard.py:0 +#, python-format +msgid "None of the %d record(s) you have selected can be processed." +msgstr "" #. module: mass_editing #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_wizard__operation_description_danger @@ -201,6 +222,12 @@ msgstr "" msgid "Sequence" msgstr "" +#. module: mass_editing +#: model:ir.model,name:mass_editing.model_ir_actions_server +#: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line__server_action_id +msgid "Server Action" +msgstr "" + #. module: mass_editing #: code:addons/mass_editing/wizard/mass_editing_wizard.py:0 #, python-format @@ -208,8 +235,24 @@ msgid "Set" msgstr "" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__ref_ir_act_window_id -msgid "Sidebar Action" +#: code:addons/mass_editing/wizard/mass_editing_wizard.py:0 +#, python-format +msgid "The treatment will be processed on the %d selected record(s)." +msgstr "" + +#. module: mass_editing +#: model:ir.model.fields,help:mass_editing.field_ir_actions_server__state +#: model:ir.model.fields,help:mass_editing.field_ir_cron__state +msgid "" +"Type of server action. The following values are available:\n" +"- 'Execute Python Code': a block of python code that will be executed\n" +"- 'Create': create a new record with new values\n" +"- 'Update a Record': update the values of a record\n" +"- 'Execute several actions': define an action that triggers several other " +"server actions\n" +"- 'Send Email': automatically send an email (Discuss)\n" +"- 'Add Followers': add followers to a record (Discuss)\n" +"- 'Create Next Activity': create an activity (Discuss)" msgstr "" #. module: mass_editing @@ -221,3 +264,14 @@ msgstr "" #: model:ir.model,name:mass_editing.model_mass_editing_wizard msgid "Wizard for mass edition" msgstr "" + +#. module: mass_editing +#: code:addons/mass_editing/wizard/mass_editing_wizard.py:0 +#, python-format +msgid "" +"You have selected %d record(s) that can not be processed.\n" +"Only %d record(s) will be processed." +msgstr "" + +#~ msgid "Name" +#~ msgstr "Tên" diff --git a/mass_editing/i18n/zh_CN.po b/mass_editing/i18n/zh_CN.po index 91a7018..d47a215 100644 --- a/mass_editing/i18n/zh_CN.po +++ b/mass_editing/i18n/zh_CN.po @@ -22,7 +22,7 @@ msgstr "" "X-Generator: Weblate 3.8\n" #. module: mass_editing -#: model_terms:ir.ui.view,arch_db:mass_editing.view_mass_editing_form +#: model_terms:ir.ui.view,arch_db:mass_editing.view_server_action_form msgid "" "WARNING: Take into account that adding a field with a domain, and not " "including the fields of such domain in this operation definition, will lead " @@ -30,8 +30,9 @@ msgid "" msgstr "" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__action_name -msgid "Action Name" +#: model:ir.model.fields,field_description:mass_editing.field_ir_actions_server__state +#: model:ir.model.fields,field_description:mass_editing.field_ir_cron__state +msgid "Action To Do" msgstr "" #. module: mass_editing @@ -43,14 +44,13 @@ msgstr "" #. module: mass_editing #: model:ir.model.fields,help:mass_editing.field_mass_editing_line__widget_option msgid "" -"Add widget text that will be used to display the field in the wizard. " -"Example :\n" -"'many2many_tags', 'selection'" +"Add widget text that will be used to display the field in the wizard.\n" +"Example: 'many2many_tags', 'selection', 'image'" msgstr "" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__groups_id -msgid "Allowed Groups" +#: model_terms:ir.ui.view,arch_db:mass_editing.view_mass_editing_wizard_form +msgid "Apply" msgstr "" #. module: mass_editing @@ -64,36 +64,35 @@ msgid "Apply domain" msgstr "" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__apply_domain_in_lines +#: model:ir.model.fields,field_description:mass_editing.field_ir_actions_server__mass_edit_apply_domain_in_lines +#: model:ir.model.fields,field_description:mass_editing.field_ir_cron__mass_edit_apply_domain_in_lines msgid "Apply domain in lines" msgstr "" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__create_uid +#: model_terms:ir.ui.view,arch_db:mass_editing.view_mass_editing_wizard_form +msgid "Cancel" +msgstr "" + +#. module: mass_editing #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line__create_uid #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_wizard__create_uid msgid "Created by" msgstr "创建者" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__create_date #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line__create_date #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_wizard__create_date msgid "Created on" msgstr "创建时间" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__display_name +#: model:ir.model.fields,field_description:mass_editing.field_ir_actions_server__display_name #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line__display_name #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_wizard__display_name msgid "Display Name" msgstr "显示名称" -#. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__domain -msgid "Domain" -msgstr "" - #. module: mass_editing #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line__field_id #, fuzzy @@ -101,50 +100,59 @@ msgid "Field" msgstr "字段" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__id +#: model_terms:ir.ui.view,arch_db:mass_editing.view_server_action_form +msgid "Fields" +msgstr "" + +#. module: mass_editing +#: model:ir.model.fields,field_description:mass_editing.field_ir_actions_server__id #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line__id #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_wizard__id msgid "ID" msgstr "ID" #. module: mass_editing -#: model:ir.model.fields,help:mass_editing.field_mass_editing__message +#: model:ir.model.fields,help:mass_editing.field_ir_actions_server__mass_edit_message +#: model:ir.model.fields,help:mass_editing.field_ir_cron__mass_edit_message msgid "If set, this message will be displayed in the wizard." msgstr "" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing____last_update +#: model:ir.model.fields,field_description:mass_editing.field_ir_actions_server____last_update #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line____last_update #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_wizard____last_update msgid "Last Modified on" msgstr "最后修改时间" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__write_uid #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line__write_uid #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_wizard__write_uid msgid "Last Updated by" msgstr "最后更新者" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__write_date #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line__write_date #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_wizard__write_date msgid "Last Updated on" msgstr "最后更新时间" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__line_ids -msgid "Line" +#: model:ir.actions.server,name:mass_editing.mass_editing_partner +#: model:ir.actions.server,name:mass_editing.mass_editing_partner_title +#: model:ir.actions.server,name:mass_editing.mass_editing_user +msgid "Mass Edit" msgstr "" #. module: mass_editing -#: model:ir.actions.act_window,name:mass_editing.action_mass_editing -#: model:ir.model,name:mass_editing.model_mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line__mass_editing_id -#: model:ir.ui.menu,name:mass_editing.menu_mass_editing -msgid "Mass Editing" -msgstr "批量编辑" +#: model:ir.model.fields,field_description:mass_editing.field_ir_actions_server__mass_edit_line_ids +#: model:ir.model.fields,field_description:mass_editing.field_ir_cron__mass_edit_line_ids +msgid "Mass Edit Line" +msgstr "" + +#. module: mass_editing +#: model:ir.model.fields.selection,name:mass_editing.selection__ir_actions_server__state__mass_edit +msgid "Mass Edit Records" +msgstr "" #. module: mass_editing #: model:ir.model,name:mass_editing.model_mass_editing_line @@ -153,21 +161,34 @@ msgid "Mass Editing Line" msgstr "批量编辑" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__message +#: code:addons/mass_editing/models/mass_editing_line.py:0 +#, python-format +msgid "Mass edit fields should belong to the server action model." +msgstr "" + +#. module: mass_editing +#: model:ir.model.fields,field_description:mass_editing.field_ir_actions_server__mass_edit_message +#: model:ir.model.fields,field_description:mass_editing.field_ir_cron__mass_edit_message #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_wizard__message +#: model_terms:ir.ui.view,arch_db:mass_editing.view_server_action_form msgid "Message" msgstr "" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__model_id #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line__model_id msgid "Model" msgstr "模型" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__name -msgid "Name" -msgstr "名称" +#: model:ir.model.fields,help:mass_editing.field_mass_editing_line__model_id +msgid "Model on which the server action runs." +msgstr "" + +#. module: mass_editing +#: code:addons/mass_editing/wizard/mass_editing_wizard.py:0 +#, python-format +msgid "None of the %d record(s) you have selected can be processed." +msgstr "" #. module: mass_editing #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_wizard__operation_description_danger @@ -205,6 +226,12 @@ msgstr "" msgid "Sequence" msgstr "" +#. module: mass_editing +#: model:ir.model,name:mass_editing.model_ir_actions_server +#: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line__server_action_id +msgid "Server Action" +msgstr "" + #. module: mass_editing #: code:addons/mass_editing/wizard/mass_editing_wizard.py:0 #, python-format @@ -212,10 +239,25 @@ msgid "Set" msgstr "" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__ref_ir_act_window_id -#, fuzzy -msgid "Sidebar Action" -msgstr "边栏动作" +#: code:addons/mass_editing/wizard/mass_editing_wizard.py:0 +#, python-format +msgid "The treatment will be processed on the %d selected record(s)." +msgstr "" + +#. module: mass_editing +#: model:ir.model.fields,help:mass_editing.field_ir_actions_server__state +#: model:ir.model.fields,help:mass_editing.field_ir_cron__state +msgid "" +"Type of server action. The following values are available:\n" +"- 'Execute Python Code': a block of python code that will be executed\n" +"- 'Create': create a new record with new values\n" +"- 'Update a Record': update the values of a record\n" +"- 'Execute several actions': define an action that triggers several other " +"server actions\n" +"- 'Send Email': automatically send an email (Discuss)\n" +"- 'Add Followers': add followers to a record (Discuss)\n" +"- 'Create Next Activity': create an activity (Discuss)" +msgstr "" #. module: mass_editing #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line__widget_option @@ -227,6 +269,24 @@ msgstr "" msgid "Wizard for mass edition" msgstr "批量编辑的向导" +#. module: mass_editing +#: code:addons/mass_editing/wizard/mass_editing_wizard.py:0 +#, python-format +msgid "" +"You have selected %d record(s) that can not be processed.\n" +"Only %d record(s) will be processed." +msgstr "" + +#~ msgid "Mass Editing" +#~ msgstr "批量编辑" + +#~ msgid "Name" +#~ msgstr "名称" + +#, fuzzy +#~ msgid "Sidebar Action" +#~ msgstr "边栏动作" + #~ msgid "%s (copy)" #~ msgstr "%s (复制)" diff --git a/mass_editing/i18n/zh_TW.po b/mass_editing/i18n/zh_TW.po index 095a669..08d3317 100644 --- a/mass_editing/i18n/zh_TW.po +++ b/mass_editing/i18n/zh_TW.po @@ -20,7 +20,7 @@ msgstr "" "Plural-Forms: nplurals=1; plural=0;\n" #. module: mass_editing -#: model_terms:ir.ui.view,arch_db:mass_editing.view_mass_editing_form +#: model_terms:ir.ui.view,arch_db:mass_editing.view_server_action_form msgid "" "WARNING: Take into account that adding a field with a domain, and not " "including the fields of such domain in this operation definition, will lead " @@ -28,8 +28,9 @@ msgid "" msgstr "" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__action_name -msgid "Action Name" +#: model:ir.model.fields,field_description:mass_editing.field_ir_actions_server__state +#: model:ir.model.fields,field_description:mass_editing.field_ir_cron__state +msgid "Action To Do" msgstr "" #. module: mass_editing @@ -41,14 +42,13 @@ msgstr "" #. module: mass_editing #: model:ir.model.fields,help:mass_editing.field_mass_editing_line__widget_option msgid "" -"Add widget text that will be used to display the field in the wizard. " -"Example :\n" -"'many2many_tags', 'selection'" +"Add widget text that will be used to display the field in the wizard.\n" +"Example: 'many2many_tags', 'selection', 'image'" msgstr "" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__groups_id -msgid "Allowed Groups" +#: model_terms:ir.ui.view,arch_db:mass_editing.view_mass_editing_wizard_form +msgid "Apply" msgstr "" #. module: mass_editing @@ -62,85 +62,93 @@ msgid "Apply domain" msgstr "" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__apply_domain_in_lines +#: model:ir.model.fields,field_description:mass_editing.field_ir_actions_server__mass_edit_apply_domain_in_lines +#: model:ir.model.fields,field_description:mass_editing.field_ir_cron__mass_edit_apply_domain_in_lines msgid "Apply domain in lines" msgstr "" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__create_uid +#: model_terms:ir.ui.view,arch_db:mass_editing.view_mass_editing_wizard_form +msgid "Cancel" +msgstr "" + +#. module: mass_editing #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line__create_uid #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_wizard__create_uid msgid "Created by" msgstr "建立者" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__create_date #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line__create_date #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_wizard__create_date msgid "Created on" msgstr "建立於" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__display_name +#: model:ir.model.fields,field_description:mass_editing.field_ir_actions_server__display_name #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line__display_name #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_wizard__display_name msgid "Display Name" msgstr "顯示名稱" -#. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__domain -msgid "Domain" -msgstr "" - #. module: mass_editing #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line__field_id msgid "Field" msgstr "" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__id +#: model_terms:ir.ui.view,arch_db:mass_editing.view_server_action_form +msgid "Fields" +msgstr "" + +#. module: mass_editing +#: model:ir.model.fields,field_description:mass_editing.field_ir_actions_server__id #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line__id #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_wizard__id msgid "ID" msgstr "ID" #. module: mass_editing -#: model:ir.model.fields,help:mass_editing.field_mass_editing__message +#: model:ir.model.fields,help:mass_editing.field_ir_actions_server__mass_edit_message +#: model:ir.model.fields,help:mass_editing.field_ir_cron__mass_edit_message msgid "If set, this message will be displayed in the wizard." msgstr "" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing____last_update +#: model:ir.model.fields,field_description:mass_editing.field_ir_actions_server____last_update #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line____last_update #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_wizard____last_update msgid "Last Modified on" msgstr "最後修改:" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__write_uid #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line__write_uid #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_wizard__write_uid msgid "Last Updated by" msgstr "最後更新:" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__write_date #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line__write_date #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_wizard__write_date msgid "Last Updated on" msgstr "最後更新於" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__line_ids -msgid "Line" +#: model:ir.actions.server,name:mass_editing.mass_editing_partner +#: model:ir.actions.server,name:mass_editing.mass_editing_partner_title +#: model:ir.actions.server,name:mass_editing.mass_editing_user +msgid "Mass Edit" msgstr "" #. module: mass_editing -#: model:ir.actions.act_window,name:mass_editing.action_mass_editing -#: model:ir.model,name:mass_editing.model_mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line__mass_editing_id -#: model:ir.ui.menu,name:mass_editing.menu_mass_editing -msgid "Mass Editing" +#: model:ir.model.fields,field_description:mass_editing.field_ir_actions_server__mass_edit_line_ids +#: model:ir.model.fields,field_description:mass_editing.field_ir_cron__mass_edit_line_ids +msgid "Mass Edit Line" +msgstr "" + +#. module: mass_editing +#: model:ir.model.fields.selection,name:mass_editing.selection__ir_actions_server__state__mass_edit +msgid "Mass Edit Records" msgstr "" #. module: mass_editing @@ -149,21 +157,34 @@ msgid "Mass Editing Line" msgstr "" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__message +#: code:addons/mass_editing/models/mass_editing_line.py:0 +#, python-format +msgid "Mass edit fields should belong to the server action model." +msgstr "" + +#. module: mass_editing +#: model:ir.model.fields,field_description:mass_editing.field_ir_actions_server__mass_edit_message +#: model:ir.model.fields,field_description:mass_editing.field_ir_cron__mass_edit_message #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_wizard__message +#: model_terms:ir.ui.view,arch_db:mass_editing.view_server_action_form msgid "Message" msgstr "" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__model_id #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line__model_id msgid "Model" msgstr "" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__name -msgid "Name" -msgstr "名稱" +#: model:ir.model.fields,help:mass_editing.field_mass_editing_line__model_id +msgid "Model on which the server action runs." +msgstr "" + +#. module: mass_editing +#: code:addons/mass_editing/wizard/mass_editing_wizard.py:0 +#, python-format +msgid "None of the %d record(s) you have selected can be processed." +msgstr "" #. module: mass_editing #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_wizard__operation_description_danger @@ -201,6 +222,12 @@ msgstr "" msgid "Sequence" msgstr "" +#. module: mass_editing +#: model:ir.model,name:mass_editing.model_ir_actions_server +#: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line__server_action_id +msgid "Server Action" +msgstr "" + #. module: mass_editing #: code:addons/mass_editing/wizard/mass_editing_wizard.py:0 #, python-format @@ -208,8 +235,24 @@ msgid "Set" msgstr "" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__ref_ir_act_window_id -msgid "Sidebar Action" +#: code:addons/mass_editing/wizard/mass_editing_wizard.py:0 +#, python-format +msgid "The treatment will be processed on the %d selected record(s)." +msgstr "" + +#. module: mass_editing +#: model:ir.model.fields,help:mass_editing.field_ir_actions_server__state +#: model:ir.model.fields,help:mass_editing.field_ir_cron__state +msgid "" +"Type of server action. The following values are available:\n" +"- 'Execute Python Code': a block of python code that will be executed\n" +"- 'Create': create a new record with new values\n" +"- 'Update a Record': update the values of a record\n" +"- 'Execute several actions': define an action that triggers several other " +"server actions\n" +"- 'Send Email': automatically send an email (Discuss)\n" +"- 'Add Followers': add followers to a record (Discuss)\n" +"- 'Create Next Activity': create an activity (Discuss)" msgstr "" #. module: mass_editing @@ -221,3 +264,14 @@ msgstr "" #: model:ir.model,name:mass_editing.model_mass_editing_wizard msgid "Wizard for mass edition" msgstr "" + +#. module: mass_editing +#: code:addons/mass_editing/wizard/mass_editing_wizard.py:0 +#, python-format +msgid "" +"You have selected %d record(s) that can not be processed.\n" +"Only %d record(s) will be processed." +msgstr "" + +#~ msgid "Name" +#~ msgstr "名稱" diff --git a/mass_editing/static/description/icon.png b/mass_editing/static/description/icon.png index 3a0328b516c4980e8e44cdb63fd945757ddd132d..769eda69f8803bc054940038e1fb6d30fcd24fd6 100644 GIT binary patch literal 6696 zcmV+@8rS8CP)Py3;z>k7RCt{2oojFu*O`Xj?z!|_q>)CN5t6V+0qj~JaoGlv-AVyjn-H8hI2O+C zX8mK6HH0nyvLRmEr0lJ&)aIsmaSDiCxi}-l*Uy|j-KU#@M9)9}{9lz({u>6& zrvQ9J_&dWe;Ca5X1P=xbWMTmDilvSiRDEQAGus>1XCy^DQXf)%=Is@J3?uW=U2mm6 zNxP7IG}~2es2dNVzW)R8zbx2S8HRaz{rdGesTKC@+2fn$r+)w*52)&LFnLHm^_o1i zNl_2UV_>MCJks_T>XYjd&+rd)ukYR`*x~u-pMRVO|IMkw6voHLarNp|6bc0ti$zRN zPm|59Bmw2YwadqBGTD+WHu_X|*JLtjCxPmCDt&xDAN)Q)e10DSfdHb>C}NEN{s#;7W@J9+H#aU*$DJ{C!2DJcvHVwaCJ2?PEB z=FgvxcszcpIo7<4Etkt{-uvx)V)F1j4*=p)ko4~iB;_zuj+c~UD9cHg;MIRO=_53b zEdH6sp(>|{M^>*S9%B4jOAQ~*_?7K1E(qlqo%nU)(Q0SicAfcmp;*9~;WIdW`t;40 zGnZGe!z06Y6C)-^U1d;eCkEht)CVZrMapme2 zjE#={9sB2VfBp+Vk#Qc0JQ7jFb?)4`B`m`*H$ftgM3QpwNJR3H;nn%NaT@-HXeX54kXAUkw+r&IO&i`brmMaBaufUns_wFfdqLZ@<=2eCjyE5Bw|Pp zw$^&RztgN&`Y&9#5Rpg(ogJNE7zXip94##^vYnXUIUnJ07@mN)-hK?F}Gx7>pJzi_`t6N{21(JYb3uSX1$tdeNKf(6+4j~lJGo+kjaPa>*& zVN%hQ*Sb0@7K>Q7c3n*kv;_3td zAdyJa)G(gtv~a;fw8UFn9Vaq1D?_>zq*qQL4^YWy@8`>TEnTt{fO{j>HOmm3FOv@bxpG}q)S06@=Q#CpZOo){d~El_KtP{lH=hpi7d^^AgNR;VPaxJ z_4jx@ZlW1H)v9nPj4&5=?cSNCSsBtL0FgZ4A!e?yESJl6w2vnWb#!*9kCQ_rvSn5V zFw^JBWU7gy$Z${YN=Xo>NMy^b46(y3?G`BrR4f#&w~8k!EnKir`*_(*BFnQfN~Mx` zwMEoSa0?bLFwq2_tjNvhi7d^^5Xi&xyyn%Jkg?H7)LN@}G9|;~X%mUW=Ya&#lBiTF zA)CpHhDKLsw0)tiU)ieIOmW6&8QI+D(yUKfkCplqKH{0Kv!CDT`3{wJsaR4G#ugG0 zMxy=7gH9rjl04F%Em9^ElSu(4Exq&3JDTf^eom_eL3MCxlT)+YEGCnlT3T9UBgUlX zfW-A6uNUGm@-aOtgOofp+fA3JVMX>`n0*5}D&Re{ucMk_OyFPm%u4c`sj8_<1kx8dgB`qsB_{KRot+}-zf zdAoesSEe+{KF*(f?XM00R=45hX#ajuZI>@`yiMir`6S zHt`;p0@unj%Ct0m={M(9KWk={N~KJ1Q>%moB9TaX9H=GjJ27&C5J#dVOEV+ZtX}d+ zWtBuV%Ss=BrcYF-vb!(oRG)~=W-GTR%=9s&OHl@W7g`zl<|p%XK9ableZ09Mt9?mj z-^r;yk@_vI2AOZyRgRX7e9bSvztV$7BTE55v>e;X?+Os z*3=hsNr_f+0+}91Q*P%liCCk)i`yi!tItA=*GgZ^X;F+5nX}U$PqK?dDgrr1B1#$h z()wt`TemW3uUh&*dgDoUk*L}Sa+*XYWtBuVU%kwd7B60Gsqd&1)x&SFPNM2V^%~*1P7;yUtG<=tSf7YehQ3OqnT%K5%~*&SL@WIj90Z;osft~21R}8(`o(6wc@pzMACAavod67fSr9J0~z_YCR$A$Y-zkr zu_nY~F{DgdYB`8B@oK3n)n(3K zp~a~E1)?W^e-f|tzh+3Hq4W?w{_&3+`jyLNeZtsCBERYJoEk|)EuE_B<}7q+%-5rxL9RI>OjMBEJ?f>?V<^#+3LgeN8`-A@L)< z{Iec3Jv}WSkI^7QAP~UdJA>p)eWvpB?_+(2K6aAG@AlP>p$vR$76bh8^dD>A-Yw~n zC=d*wP$;O9Cm0N(sksS}a0Edv2#({-5yk?E)C6*nL{u{HrIqH0a-B*%XgVZnY-|L} zvhXoJ1cCwh1Ah2@el#^V!RPbIla7LDc96(#M2vbP5%uPTc*o9<)n?{`XvT?rJ|CK5 zP2ze643>U)DXv_(f_y$tZfA!{eiUP)`s6b+V%?SM!o~+Ss-_%uc6Q>6|L{e;`R1E= z@!*T<$p;RR$WPOEv5Q1BQk7HqzVy;dIB@WQqHWai3Lo;7#>=uSMn^|6Iywpf=p`NCZiBrSRCJk0BC?XvVZ+#R_zGcH-IZKP&%PbBIK&9x?1D5si$_ zXe;q@97pYI7^lnk&Qe_|JpSn8y2&G`v$GQq{?mg9g+qo!vq~aAbco>uiHs!HujecA zHxq9l5J0RcCjPB3RUkI59m&M9ECPW5l|RREy8F?U>Y`2_L7knQcyRNBj+4l5$C*uT zRkE*<#Naf16Ul_7cpDoVO~q@b9h@LhGLgjNkC{szL7knQ_|g}@glE71tYajqzgZa? z{+hl{#an}~6HhjVBjK7K&I5o&3m0MC+I7{qsyn8RU%G$1q#UDNuKG;0(_2~oGs94}latU+(#J#q;N;1Z$mMbvIXgn-cXs3~ zzV>fl!xLY9g8nsu3a$O*TDUe5F%*ggy!FOg*t&Hqwr}5VDT#jZ!Y@>P85xOc z=o6{t#ydtLO4;daX(ZesO-@eYhd=tEZt`qh6bKBajp6~SF@ZrO_bm>y{ zk2CF@>XIjqpiP@L;huZ$K|`bgJb3iK){m#2daAYnc=_?MgG8#gv`Q-@EuAKjp)X~p z>iF^Fs(5EpJv}|>>+1uH?3C_QB8@xtC0G~;z! zJv}|>?dt{4^Jr~th2LMf@a1`)I(Y=uN}_}ReGtb_92e^qmo|{dy;&JHjjQBxIrR4S z;;y^yB5s#Xr?GF}K13U$s(5RDxk8Ql>3{rG{D59-Yb(Oxu-G15U0tShuk__Y92k}nC(kL% z`~80T!6EhGXvnFt-l!eK_GTF*S`!FzLD44~iQ1Apg6{wO`!PH+j5pqR1I1!dOrmAW zmSM;Dc7Oqc#>Pg(<8i~0=2}VQ+N=zgQ4e~P6pgC;E>d3~>qBdz6}e0flljT&8}Jz* z5{{s$xk)qL#>Pf8#u^oWw&`A3Z$d{$2Ri0=Ala5g zXJ;px4SKKKAYjvN3m3t)nCg!#~Jon@0 zD$|`=pM0f-@tw+_=}6?-w=!~h$_JqoXNHk)y^*M^s|%aIyqRuaE$GP6BiONH2fzc# zWU_koNg|AcBy#Or8E4L%p=%k*AQg?TQ}Nc~8;L~lc^VoU(A?ZC)^F-wmdSfwS|ir3&B|bXEKZ#|Wq3cV zt*s4hZEd<`R;*Z|yB+}U!+nNj^mO9H2>?Jgm&Ne#Fy4OqZE=*34 zNQVv`!mjV_0#HdFag-S*31cIPd`myP^j}qxI+08~(A3m~+i$yFzm@7l$z&4AWMzbV z>5`>bbLSdFqfrdLJ4kGYhaY-aq=6F>l85JcG{zc{NF+2*S|^i9R*r#tvoaW#!N9-( zxpn4gUhU{lSG^=p<5@I0&0_QB z&A8*vJJ8e9Q+dp`1|2$d2s?M}tRzokHF>n!S=Kj|_R*>bvRclDt20+;Wds5N?EcAa za(#0^(kn?}|39(%6G$eKsdN4zzTa5#)mD1<~Jfp8>@l`B{3 z`e(CQJo?z9c;(esD&%Qslzp8DAh+vmlE}4L8G>&t7Q@Ah7f~*kvFC+7IM#m*t5&YU z?YG~K_V#w%bkj}b`e#w;bQ-&VvKysh3I2dzYzNX~8bd=v2uH#QaUt<<$z&2+9^OKv zl^`K`&i?7FxJ^StgCS{Vn?$b7$`D5`{eHBzwu(vg{`>D^&kK97=Y>5o--d<;+qPY2{n>7!RRKipnBaM!YV)Xq{@uX>QZc*66n?;KjVa=UuFgZDi z4|RPAt5&Ttyu?qZ(|GjpM^P+P?x-i*lH!QH)^Q<`M=zN)%L(mSG0!a$ z6^lh&zI?g*{R*c>!Zl>%tBl9*_sd@o%mCZ}eLLp0S$k!0Utb@7@S`7~SSW&JSNtv3?Q+P5<1x^J;qG<-Z|aBvVq zLqixC9Khf^gP6!nfI)?5!C(;0@n&(-9}OwA{yv)|a`jso*OKq_^fY$v+KEr!^=SZ= zk>*S$gQ1}zjE;?B=+qD~NdtiZLZJ|nZApZ~VZ(UqokYxr&u`#`ovVj4d#?Bv3I*~< zc6EF?jzepr6-`Y|vUdd0#9OZ(Mt93LzW`6W3oWBy#Ut8P}O_C=@~{9MW7*I@68H z$-=e4m$aVbFC%%iVE{;eQC z_3kSq&ukFGDPI#LnqnD-$=B?KFC@Bn;o?blx-|X!d_G?{XLh~&lE|Z6 zUJoR?aNzFWv{ zit!8Mn3}50l<~2?&kYR?jrak82I6#^nthErqz3y*bJDow%P`C(@OYrNx3^!YLe$EYEB~@wF8?hL{xbj;ldDw( y;Uy1sJaagC-eSPK2H+^iaW5S>a6o)#^Zx_+Cv+0t0yXOZ0000a*Zag|=W(Jy&L=Ct>-D+}2E!HrkJGSV zFo@#fVhDl&j^jYfLz1L+B&EULNy+R4;k+S0UtiztNLG9u01!f8v)N#^S|N%e2q6$f z5hEibh{xjq07;S{NzzM%ko!Fz&)}qGzJNIA3E=bj)^i;9IDqvu%xpHp;c$Qu0znWM z0SpEM03Z^HAQTEg6h%sc!BG;tG&yfkIGnQt@Or&2lgacO0JqaHlgR|T-43JiTiuuE zc}4(vxG0JU27`#jV)AZbZ#*8qW6qp8?GyDLg~mBafd2meCji_>2yp=b$8oUPY_M1? z008+r3xWVa5Yh-h5s$|)GBN_5=UJF2irZ$)nDInGUt)rAP7z>WU|_u@NiT97S4ZE= zYPG^@wSo|$dJoU@i~uH+iG|C{MUo`eEy%*!1wpuD)~s233-dM;gL8ra0|Ntfgpd~r zA?xY;m`o06fp95kM`zAP5*489^eEVAn)Zd}(B4+0$bkMs2=4AYJPgM)+X0sIEQg*41$GQnc8r1bNdDozfb=aEPx7y&ZH zRZENKc?5$&h@!~CL{Z!p4u_we4&B1EA;7@EK%LQOd>k^f&S*5kY&J9d9mp)Y)sRRe zGD-k7s7Z-PB!WmJlHy5}Bx%YkiPM4rLqkJPNRq_NIzk967E4M$ueZf3!<7Wc2Bmc% zhad^7to^&5@I)fPx&WpA zpmk5C|B@sj9*?UkiL+T|6DkniZfcxv}>fY46aRM;u1PBI$>j@z#W}VS!gwbdmlUbK3TrDgf zkE==mW&B);p%zCJMTEm)@H{Uk!kYl@pR56s-(P)$nHv7<3Urwh%&?SqCIry}X|X z3fJo8h{a-z0Lm^vZ$Gc~yllV2;c$v4QIe#?f*{;6fByUlQxYeX0HIKbnRQgb<2X*Y z-#*hdy)Im3oOnErSS$vk(Wpxa%(e2f-J3`x5RFD52!cG`v$0rg+e9dd6EZ0@5{X+&uj7bQ?Fp59h3iXu}!!dw5e1U~(P(sw(P%s^uY7~Skfz-$q19Tn!j*Ay!FZHCnjiTm+kJ^d z0^x8Np->3%cwAS02_ZL`Os3{jr%r9r_g1+f?-C#!4zK4p?nSx#mg6{Z9GBI7OQE+_ zkGJ(pl9W*i)Jjt;jv5K*a5HrTX~os!V-N)4Fd-zbN@89K5Q#+I;5d%;TWaEdEUkDf z=9b>Ldb@yZ>BuXK&NGzT`&w~xA%G-Fu-R+~g+k8?g0Kw$#;Yjil>o6=j3vf#T$))2 z=-19O#m`j{%#CR_qY`<7#@ z`aveh)6_#EEsdR4GOciVdh}aw{&RuNW`oP+VsjOHdwbE<)s-e?#)G`C4vt2nICbh2 zs;a6`QBk2>Z^z^tR%$T%(mv6*TIMq2DrBt!^lZK>z1L5JCvb%gbT6 z+W{oq)vc|q7#bSNIjwBSD*@!0^7(uS1Ok{jb0&(4iqhiHm&nu|Xqk&@*VXz{we;nc zN(W~`p%9yBqI{1+KuHRDg%%eVqokyS&3owX?#7ujXH@Ua2l6ff5{Lq$ae zs;a8eOhFn~S>Q@?WKx#&YR_8Fq2KhQtdK&8b~TtxCb(QKW{CuYL3DO@A`}Ycz0&0< zC;=$^em|22#l^*G6`!q;Gqsp}`tU5Mn7L;QP-f|*b^&S_7#P6N&=6{BYS`e+c=I#S3LwXEC@Lyq4lq#^;q`hE z2m~_r?OJ)x)IE$BlimfWf#-R2b#=k%bi(a+=dHh^c~UFzvE)@PEvwbalsq75+EFD> zts>=6c70ly))F9>f*u|o#>mJBs;jG0+{yVwJ|qC`LYz(~TVR?Kuc7JZC)lw%hF}Dk@4b?fia!N~_mv!l{Y) zY1;+l6QNKDkw^q(Wo0NSDal*9x zft;nmSWQ7XYDeefQFpe|lb1=vXNs4}+$+Qw0L8TG0_30t5s$~w-Q5kR(+QW$r73%Vm4bI)$*hz+STH#-8Utz04;Hr4?<+~ngxSFrXVt*KA#Waa5!ULwDO**V&&JhbOGhHd|=v006i^@=Xvz?^`WS! z2ridPS1Zw~e4EY2hHHUjccZ4{X%TZQqj_qIq5N7Qx`MnDAfMtX+jA(C1u8cgm5V); zp!d>mqtOV5!@=Gm8jYf_uTNFUQ$9OaPhKXCKO2#ztQ9a($fjXalhI zq7)@B5C~vsXh`#UYR^@MWx6+;r67NoOy0urU`mb!WJ0DFS8FM;SPXrAeJCz2P7&#H zSgls($pexbH}v=SXRM%H`g5)PDbv#u^I9ax2MVGDX3AhLnb$Jea*ZoV5{8F|5sgMs zTwI*8DKypafus&GFff2L^UYMIrq-N`nfu#2?8jZr~bV3wG^z`(wgQ9YgFv@&nQ`oc|LD@8ZwfOl$ zURMVC!87y?_P^YXwNa48H@&|ry0Ax*@JD{wt*0WYp=Z)3l}cT z+oSZ@+twB3t<8R1@r`pLkaZl?*J_} zNs_kgT3j{%c$!Ns#<;&S}xISAr^~aXlN)Wjb919ag9bJJ6VLrv)k>g<%^<-Xf(?9G{~l< zt7+wWEfwYefq? zlfejsGxa16&kq*DKHG^Czu%9}|M?}>{D(CF#y?F;c@0QCH&AW(mj0(>0CdkFK@bp$ zL|`_XS!HM`ka`s}HD^#D5Wv1qKZVI;!iwd~;dZ-0NYa0DsJS^g+h|~b4Rz;xG%&9c zK<@D293~W-?Fc6#Nc2Zi7|(GW${IZ=UQmHEhguOkJ)Bb)phr9#jYgD|l(1=Ai9`Z| zAh4xbTIo@@Fx}ZC7K+xs_ZS`?#;2cs29wEzYc_0Pdnf=vO-&6W9;YE$ zreqfYe4Dw_t7e0Mz~6L6B@!_E`U?O6y$9RVT9?x9%~qgta@lM)IGs)y31OQguuJ|8`a7ysdvL-FvI(|R(6kfRP=qgcQ1~gIFT|Mm#y&WQY<)*N12{ikg}lxJMVp%I_N-9Aw@}we<6a zf=mjf8MMzU#msdJ(fQFyv_5wL^X|DQHL@t7WL^dOzwx4PcMI&7R->t@iJ4}@!^3E8 zZADpG8CI=a$tqT@;N>1jx-%zj@oKFc&}ZM%so&9P6tP&0oeXBNSTxTVlBfCg@#E<1 z=)iC=2mq+BugBsGF2L~5dZ`UQ9!TH$9C+ZyNUBWkN*CCeE!83ssl9^iv=YmC2WrYdPo!9p)^z1 zkxlQAO9Q*zo+1sR(P-L)P-Vp&ICv08j~-=}PrH{$G>Wrl&$1mtDCDibqoad`t647j z!h}o+ssD$y2>sLhICG#Cp+FGjOR7<`p&q@jpFnsZ2#{nU4i66l01O<5b(dWRm&=7< zFo;vFt>|cP$AN|Z`X;Dirnzv)BQt`msy$v#dZfRQu6I$DTzbLKF!$LVxp|CZT2yU3w`( zp%7|oYg4+1DLobdXty+CAXvKPa&)|T6z#jeMvRYxkYvMfFQ`G)hItriZv&8&07_-2 zp}ro2fdIO_UK~Gu9F2{Qtkug$AGKP&meQv8J(Pqvc<>-rtXRRU3@Qzp4jn=$9LB7f zGjYjiqBrI971Qit(C@(K(q){V5K2VT7f-)6s-OWo; zck@#8zI_VuXdGs%1;z8rz?lq~H*X%k{OT)oojHT0OP79|$g(%O_aW9($+;+j@^=zN5gf;1`}XaaF=GZKNy4H>5*@>nbe04Zzo_I~sc+g&Rb zi{VfpfJ284;fnR^QCC-|nZHc`weaGLFXGKN-^7dm@(0Wk-G~pw(Y5C!W?j_)2@CLbB2xD84Lz^JRS@V4k8!~;={drF?a4< zT)u8y);wj(t0;=tw{IU#oH&8b&Q5Gy@-qy+atebuHF`7P|F9j)|LHomvu8<32}(*z z5Dte^bc4fReu-Y64;5~A$}{9!>vu)-&Iy$g#-#)apwPE3c1@L%0Y0ps>wifp7+lL!( zyb-Ve@in-c2uwBti2#r!NC1cg__})0_g))L`A11HnlHJf(B9F3GiT1gYPDifLqkS| zE?eI8=3Or)TnUte#-qoz&=$_~Jl3sShdm#BfYYZ>qqDOU%a$#Jf#bjn0+uy4f{a=U z7KL^yz*aPKw?)f3^AZ` z$qdZ@!7>o11>V1Wjn4hwK#-CBM6h7N z0!Wg?&gGFm%WO8|+6^1<=fC^~O@|KQnhhJ$@*^jKT0W!EC|X)t@Yz#;#o1T@v)44B z@gFW_*IoBq0{@8~44)l>+`ZZD_2U1%@dm6m8zQ6U1eds6xMa;5rU=qWCv=!v%__-M z(YYwE*-)?vA=xr$Hk;YXTS7?6Dc*GJR;$&D4Od@{Yc_018OCiH-Cfk-aIkTE`Lh9_ zva%AZSFc7_R~K4aTT@!Q+HYmvZ8jUu>^hFX@gCHDZvmFwt2mlPlwhxPK!OAlXTtL3 z%h{zwB7xxWFnFGa$K$~duD_lg`ywB&pd*ag%2MlpJ}}{H1C2&w%88*o&$H9Jwe0%Z z+FJbG=FI?rQ!Oo+Kk6E7sISKtO-*QOYQnlvg->2U%NiTe+}w=AhYu&+v5K^n@#TmI zBKY$Ed6zHhuR7z~)XX%UDa*_N7{n*jh-m6d2{Xh3CUCA*Jq zG7*o**^HxDES4e-a*+c0z{Gh1NBe8}sT_2;R=HVorpj43T9JehG&VNkbbC8mT3d0! z1sA|Qs$t6u(CKu-@At#!^P#G$D($-3GbBmEq31pX04(|8>a>ah0RQJ*5JVBRE9ZhU zCW%|Wa3Sg!E=)1!~=dF?4ZM_JkP5R+$eu5(^Dge z+wI2MwQCWN$MMcP@1Uorhh2|EA~@aA0ZEdO81*G&>i6lVbN6vbk_4;K3W!o#yyk!2 zgW=u)=5K6-bAI|R=XwbYeA_r^mnaAVDKzFl*K<{9xloyuEuj5{U#(pFXXbuDsyY$pwG_f+(W(#U@l;F&BMbbfEWG7y6EM z!!@S@7ysw$({u^F?pv*Xoz6v!L?Z0?SvsYyP`j?=od9xkjVgIsQ?t~Ni5S`Luc@iQ z?YG^A=H_M`J$4Kd0D)Y})^e#dNF)+$b`v#^EvU!LjDX$VweytjH??3#aDo|MTX}!_i~MG)1T?;Ved6 z{NzRqG@ZfVnE@C$1LoecENyZIy+0TCZ7%&cAxUQ#&+|+g$d97W2lBcNLGw;oInXRn_kVnr{VJJTH#u0X$=We%Rqi^u_%fk z6GFtrix;PQsd7ZVR|d5M$qf5^K6H0?XPn!vX4YjhZ`7`5GVSDH%HNstp%!<%`O{;{ zDW5~vBJiWSj3i0$`~81==%I)1d;k6SuO;KO1@kHa2qD}%@4U0!>2y9w!;D5FDk>`2 zB+qOby+*oY3e$=smjG&~m1(tb`mOd`{(me|K>44J6$mmjHX4og?cKZgg$Eye@Ff84 z0EE$d#$1W{CIA6Yv1QAa>o;!P_?W}tm^&H{yWNhes;ZQY8?&`0c|5h>xrE98Qvv`; zBY;}PDX-;H(OThJ1fU06(-}|{ZEbD4wr$(?TvJoiX8^(&9fBNBTDM?d;+ z0FDAkAWyAcj)D+?C7!GWD}V)0J@wQN*R5OkfZ1$jr$3dKm$NC-D)*}X){2uYt{g){ zL#zU{2#~48D#ORq4TM4=ghHW|xPd_6$c`O5o_+oG*LMLpivmYDIN*H9J{Taj#aIy27;LSFXJH!3Q7w`J6d(Zlu@EW;1GPYBD;IBq_JO{nXM>N&vaXPA>tJ;d%%V9bFYH zKTa+ZiS+H#G6I0h<$}lK zN!c}H4A0Q~PYD1d^^ihK08tb%G&Gdf>W?2k{_6Ja+y7T{bMr^YqiL55CWQb%iZmz% zu=M4ZU%sopzJ4>kZZsO<@pw>LTB@4_dUXaR0o0(?y49{_>g&VdaN7Aofk5EMYp=cb z$5GR+3xGI!?}S&zq!EB+;9F_1;I6ywy5g2wZuxtc%f(iPQr#fa$sf5Yi*i4J8UgZQ z1tb!Qw5{iPo(~;4a^%%J?zrO>0AB!zVG>%s9FtA}fRO+IoB&q-?svc2ykyCe%_ftn z2uRK_s;Q|-(b)Amk<`NFIzU-jSz0`;%2o?gBf!wm5YC=Go6_q0`}_Al_uO-T*tv7( zUjg_q$rVpAB?v$vGZ`1&c;k&1-F^4n|0tIR4u=D^wY91{eCI+4c^5#pXrT|9P5J-; z1Yk)-K~xGRg<9py|Epb(#bWUJd?^E9JkN*r?Afzp>(;G10ep!9IdsN~DMbJvMH&^o&D@_2Y zU4Yurvr2KV43qy3hr{UW>q}|%p-`ypt+(F#$d=WjZxEX^qwhI;8T_WK$r2_mb8v9*$c`O5cI@1_b3cGnNVfVZUHQN?Apnp<0t~fjw(3?6c^9BY0C|~&LLvBkzLc^0Xf)clYuBzF+qZB38-T+ALYPLaUXE!=016oq zW&l|F{PWM>ym;~A&2-Lz!C*j5O%2<2jbeCsm{qcxhmo3gwAIU=hqku1T~9y#^sCLy z&7T73L2`!9v}*NoOltxFDI_ofShH!^ zCJk0ETefV*6Hh#Gr`&;Lu~<-CT+GG*=(6lUAb|e<{xs9>x#ynSv2*9n&yj5PBF>@8 z2hK49P{_s>YAsh~~`vpM=eel5tJ05xD zk&kc=wt6|vNdf?AeuImaEn8OozylB5D4%nn<|y)dy?eH8+xCa%=H^2HPGeNb1J1q5 z2hL#v04XHk0Mr0z{MpZbw&2!VZ@pLUKmwAc-CJ+HwPXAC?VkZS2q1!UxZ)|!X#!9v z{06H5xL$eXmA{)eZ{7_?qp|4Z$&;`C^rt_470G_S1Lt60uZ8o106>~Fr~+`|rcIk_ z0N~Gm{_{6TI&>l!t^9Mn;wdJ4pTNlitx!UUh@=C@PYAKcVlfWMY1ksp0lPj|oHr6c z4uv!TlH&fn5cx`+mjs}Y4=$Z=6;E+q6W}`l{~v!4wxje|1Azbl002ovPDHLkV1ipa B#b5vc diff --git a/mass_editing/static/description/icon.svg b/mass_editing/static/description/icon.svg new file mode 100644 index 0000000..67e1f00 --- /dev/null +++ b/mass_editing/static/description/icon.svg @@ -0,0 +1,29 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/mass_editing/tests/test_mass_editing.py b/mass_editing/tests/test_mass_editing.py index c65492c..f545eef 100644 --- a/mass_editing/tests/test_mass_editing.py +++ b/mass_editing/tests/test_mass_editing.py @@ -21,12 +21,14 @@ class TestMassEditing(common.SavepointCase): self.IrActionsActWindow = self.env["ir.actions.act_window"] self.mass_editing_user = self.env.ref("mass_editing.mass_editing_user") + self.mass_editing_partner = self.env.ref("mass_editing.mass_editing_partner") self.mass_editing_partner_title = self.env.ref( "mass_editing.mass_editing_partner_title" ) self.users = self.env["res.users"].search([]) self.user = self.env.ref("base.user_demo") + self.partner = self.user.partner_id self.partner_title = self._create_partner_title() def _create_partner_title(self): @@ -179,6 +181,32 @@ class TestMassEditing(common.SavepointCase): {"model_id": self.env.ref("base.model_res_country").id} ) + def test_mass_edit_o2m_child_ids(self): + """Test Case for MASS EDITING which will remove and after add + Partner's child_ids and will assert the same.""" + # Add one child_ids + self.env["res.partner"].with_user(self.user).create( + {"name": "test", "parent_id": self.partner.id} + ) + self.assertTrue(self.partner.child_ids) + # Remove one child_ids + vals = {"selection__child_ids": "remove_o2m"} + self._create_wizard_and_apply_values( + self.mass_editing_partner, self.partner, vals + ) + self.assertFalse( + self.partner.child_ids.exists(), "Partner's child_ids should be removed." + ) + # Set one child_ids + vals = { + "selection__child_ids": "set_o2m", + "child_ids": [(0, 0, {"name": "test", "parent_id": self.partner.id})], + } + self._create_wizard_and_apply_values( + self.mass_editing_partner, self.partner, vals + ) + self.assertTrue(self.partner.child_ids, "Partner's log_ids should be set.") + def test_onchanges(self): """Test that form onchanges do what they're supposed to""" # Test change on server_action.model_id : clear mass_edit_line_ids diff --git a/mass_editing/wizard/mass_editing_wizard.py b/mass_editing/wizard/mass_editing_wizard.py index 8c793d0..6dde869 100644 --- a/mass_editing/wizard/mass_editing_wizard.py +++ b/mass_editing/wizard/mass_editing_wizard.py @@ -70,6 +70,11 @@ class MassEditingWizard(models.TransientModel): ("remove_m2m", _("Remove")), ("add", _("Add")), ] + elif field.ttype == "one2many": + selection = [ + ("set_o2m", _("Set")), + ("remove_o2m", _("Remove")), + ] else: selection = [("set", _("Set")), ("remove", _("Remove"))] result["selection__" + field.name] = { @@ -166,9 +171,11 @@ class MassEditingWizard(models.TransientModel): if val == "set": values.update({split_key: vals.get(split_key, False)}) + elif val == "set_o2m": + values.update({split_key: vals.get(split_key, [(6, 0, [])])}) + elif val == "remove": values.update({split_key: False}) - # If field to remove is translatable, # its translations have to be removed model_field = IrModelFields.search( @@ -203,6 +210,9 @@ class MassEditingWizard(models.TransientModel): else: values.update({split_key: [(5, 0, [])]}) + elif val == "remove_o2m": + values.update({split_key: [(6, 0, [])]}) + elif val == "add": m2m_list = [] for m2m_id in vals.get(split_key, False)[0][2]: diff --git a/mass_operation_abstract/README.rst b/mass_operation_abstract/README.rst index bc24764..76f7b57 100644 --- a/mass_operation_abstract/README.rst +++ b/mass_operation_abstract/README.rst @@ -36,8 +36,6 @@ operations on any models. Known issues / Roadmap ====================== -* Propose this module in the OCA. (server-tools repository) - * refactor ``mass_editing`` and ``mass_sorting`` OCA modules to depend on this module. diff --git a/mass_operation_abstract/__manifest__.py b/mass_operation_abstract/__manifest__.py index a3d2a51..7a0760f 100644 --- a/mass_operation_abstract/__manifest__.py +++ b/mass_operation_abstract/__manifest__.py @@ -5,7 +5,7 @@ { "name": "Mass Operation Abstract", - "version": "2.0.1.0.0", + "version": "2.0.1.0.1", "author": "GRAP, " "Odoo Community Association (OCA)", "summary": "Abstract Tools used for modules that realize operation on many items", "category": "Tools", diff --git a/mass_operation_abstract/i18n/es.po b/mass_operation_abstract/i18n/es.po index 0442a4f..47a6a80 100644 --- a/mass_operation_abstract/i18n/es.po +++ b/mass_operation_abstract/i18n/es.po @@ -43,7 +43,7 @@ msgid "Add sidebar button" msgstr "" #. module: mass_operation_abstract -#: model:ir.model.fields,field_description:mass_operation_abstract.field_mass_operation_mixin__groups_id +#: model:ir.model.fields,field_description:mass_operation_abstract.field_mass_operation_mixin__group_ids msgid "Allowed Groups" msgstr "" @@ -148,6 +148,11 @@ msgstr "" msgid "Remove sidebar button" msgstr "" +#. module: mass_operation_abstract +#: model_terms:ir.ui.view,arch_db:mass_operation_abstract.view_mass_operation_mixin_form +msgid "Security" +msgstr "" + #. module: mass_operation_abstract #: model:ir.model.fields,field_description:mass_operation_abstract.field_mass_operation_wizard_mixin__selected_item_qty msgid "Selected Item Qty" @@ -178,14 +183,14 @@ msgstr "El tratamiento se procesará sobre los %d elementos seleccionados." #: code:addons/mass_operation_abstract/wizard/mass_operation_wizard_mixin.py:0 #, python-format msgid "" -"You have selected %d items that can not be processed. Only %d items will be " -"processed." +"There is no more element that corresponds to the rules of the domain.\n" +" Please refresh your list and try to select again the items." msgstr "" #. module: mass_operation_abstract #: code:addons/mass_operation_abstract/wizard/mass_operation_wizard_mixin.py:0 #, python-format msgid "" -"there is no more element that corresponds to the rules of the domain.\n" -" Please refresh your list and try to select again the items." +"You have selected %d items that can not be processed. Only %d items will be " +"processed." msgstr "" diff --git a/mass_operation_abstract/i18n/fr.po b/mass_operation_abstract/i18n/fr.po index 8b0b414..9b864cc 100644 --- a/mass_operation_abstract/i18n/fr.po +++ b/mass_operation_abstract/i18n/fr.po @@ -43,7 +43,7 @@ msgid "Add sidebar button" msgstr "Ajouter le boutton à la barre latérale" #. module: mass_operation_abstract -#: model:ir.model.fields,field_description:mass_operation_abstract.field_mass_operation_mixin__groups_id +#: model:ir.model.fields,field_description:mass_operation_abstract.field_mass_operation_mixin__group_ids msgid "Allowed Groups" msgstr "Groupes autorisés" @@ -150,6 +150,11 @@ msgstr "Nombre d'éléments restants" msgid "Remove sidebar button" msgstr "Retirer le boutton de la barre latérale" +#. module: mass_operation_abstract +#: model_terms:ir.ui.view,arch_db:mass_operation_abstract.view_mass_operation_mixin_form +msgid "Security" +msgstr "" + #. module: mass_operation_abstract #: model:ir.model.fields,field_description:mass_operation_abstract.field_mass_operation_wizard_mixin__selected_item_qty msgid "Selected Item Qty" @@ -176,6 +181,14 @@ msgstr "Informations techniques" msgid "The treatment will be processed on the %d selected elements." msgstr "Le traitement sera réalisé sur les %d éléments sélectionnés." +#. module: mass_operation_abstract +#: code:addons/mass_operation_abstract/wizard/mass_operation_wizard_mixin.py:0 +#, python-format +msgid "" +"There is no more element that corresponds to the rules of the domain.\n" +" Please refresh your list and try to select again the items." +msgstr "" + #. module: mass_operation_abstract #: code:addons/mass_operation_abstract/wizard/mass_operation_wizard_mixin.py:0 #, python-format @@ -186,14 +199,11 @@ msgstr "" "Vous avez sélectionné %d éléments qui ne peuvent pas être traités. Seulement " "%d éléments vont être traités." -#. module: mass_operation_abstract -#: code:addons/mass_operation_abstract/wizard/mass_operation_wizard_mixin.py:0 -#, python-format -msgid "" -"there is no more element that corresponds to the rules of the domain.\n" -" Please refresh your list and try to select again the items." -msgstr "" -"Il n'y a pas d'élément qui correspond aux règles d'accès définis par le " -"domaine.\n" -"Veuillez rafraichir la liste des éléments, et sélectionner des éléments de " -"nouveau" +#~ msgid "" +#~ "there is no more element that corresponds to the rules of the domain.\n" +#~ " Please refresh your list and try to select again the items." +#~ msgstr "" +#~ "Il n'y a pas d'élément qui correspond aux règles d'accès définis par le " +#~ "domaine.\n" +#~ "Veuillez rafraichir la liste des éléments, et sélectionner des éléments " +#~ "de nouveau" diff --git a/mass_operation_abstract/i18n/it.po b/mass_operation_abstract/i18n/it.po index 8480d1a..203a198 100644 --- a/mass_operation_abstract/i18n/it.po +++ b/mass_operation_abstract/i18n/it.po @@ -43,7 +43,7 @@ msgid "Add sidebar button" msgstr "Aggiungi pulsante laterale" #. module: mass_operation_abstract -#: model:ir.model.fields,field_description:mass_operation_abstract.field_mass_operation_mixin__groups_id +#: model:ir.model.fields,field_description:mass_operation_abstract.field_mass_operation_mixin__group_ids msgid "Allowed Groups" msgstr "Gruppi Consentiti" @@ -150,6 +150,11 @@ msgstr "Qta Elementi Rimanenti" msgid "Remove sidebar button" msgstr "Rimuovi pulsante laterale" +#. module: mass_operation_abstract +#: model_terms:ir.ui.view,arch_db:mass_operation_abstract.view_mass_operation_mixin_form +msgid "Security" +msgstr "" + #. module: mass_operation_abstract #: model:ir.model.fields,field_description:mass_operation_abstract.field_mass_operation_wizard_mixin__selected_item_qty msgid "Selected Item Qty" @@ -176,6 +181,14 @@ msgstr "Informazioni Tecniche" msgid "The treatment will be processed on the %d selected elements." msgstr "L'operazione sarà eseguita sugli %d elementi selezionati." +#. module: mass_operation_abstract +#: code:addons/mass_operation_abstract/wizard/mass_operation_wizard_mixin.py:0 +#, python-format +msgid "" +"There is no more element that corresponds to the rules of the domain.\n" +" Please refresh your list and try to select again the items." +msgstr "" + #. module: mass_operation_abstract #: code:addons/mass_operation_abstract/wizard/mass_operation_wizard_mixin.py:0 #, python-format @@ -186,12 +199,10 @@ msgstr "" "Hai selezionato %d elementi che non possono essere elaborati. Solo %d " "elementi saranno elaborati." -#. module: mass_operation_abstract -#: code:addons/mass_operation_abstract/wizard/mass_operation_wizard_mixin.py:0 -#, python-format -msgid "" -"there is no more element that corresponds to the rules of the domain.\n" -" Please refresh your list and try to select again the items." -msgstr "" -"non ci sono ulteriori elementi che corrispondono alle regole del dominio.\n" -" Prego aggiornare la lista e provare a selezionare di nuovo gli elementi." +#~ msgid "" +#~ "there is no more element that corresponds to the rules of the domain.\n" +#~ " Please refresh your list and try to select again the items." +#~ msgstr "" +#~ "non ci sono ulteriori elementi che corrispondono alle regole del " +#~ "dominio.\n" +#~ " Prego aggiornare la lista e provare a selezionare di nuovo gli elementi." diff --git a/mass_operation_abstract/i18n/mass_operation_abstract.pot b/mass_operation_abstract/i18n/mass_operation_abstract.pot index 7568fad..0331790 100644 --- a/mass_operation_abstract/i18n/mass_operation_abstract.pot +++ b/mass_operation_abstract/i18n/mass_operation_abstract.pot @@ -40,7 +40,7 @@ msgid "Add sidebar button" msgstr "" #. module: mass_operation_abstract -#: model:ir.model.fields,field_description:mass_operation_abstract.field_mass_operation_mixin__groups_id +#: model:ir.model.fields,field_description:mass_operation_abstract.field_mass_operation_mixin__group_ids msgid "Allowed Groups" msgstr "" @@ -117,7 +117,7 @@ msgstr "" #. module: mass_operation_abstract #: code:addons/mass_operation_abstract/wizard/mass_operation_wizard_mixin.py:0 #, python-format -msgid "None of the {} items you have selected can be processed." +msgid "None of the %d items you have selected can be processed." msgstr "" #. module: mass_operation_abstract @@ -145,6 +145,11 @@ msgstr "" msgid "Remove sidebar button" msgstr "" +#. module: mass_operation_abstract +#: model_terms:ir.ui.view,arch_db:mass_operation_abstract.view_mass_operation_mixin_form +msgid "Security" +msgstr "" + #. module: mass_operation_abstract #: model:ir.model.fields,field_description:mass_operation_abstract.field_mass_operation_wizard_mixin__selected_item_qty msgid "Selected Item Qty" @@ -168,7 +173,7 @@ msgstr "" #. module: mass_operation_abstract #: code:addons/mass_operation_abstract/wizard/mass_operation_wizard_mixin.py:0 #, python-format -msgid "The treatment will be processed on the {} selected elements." +msgid "The treatment will be processed on the %d selected elements." msgstr "" #. module: mass_operation_abstract @@ -183,6 +188,6 @@ msgstr "" #: code:addons/mass_operation_abstract/wizard/mass_operation_wizard_mixin.py:0 #, python-format msgid "" -"You have selected {} items that can not be processed. Only {} items will be " +"You have selected %d items that can not be processed. Only %d items will be " "processed." msgstr "" diff --git a/mass_operation_abstract/models/mass_operation_mixin.py b/mass_operation_abstract/models/mass_operation_mixin.py index 5349e8b..caf69b5 100644 --- a/mass_operation_abstract/models/mass_operation_mixin.py +++ b/mass_operation_abstract/models/mass_operation_mixin.py @@ -15,7 +15,7 @@ class MassOperationMixin(models.AbstractModel): # To Overwrite Section (Optional) def _prepare_action_name(self): - return _("Mass Operation (%s)" % (self.name)) + return _("Mass Operation (%s)") % self.name def _get_model_domain(self): return [("transient", "=", False)] @@ -45,7 +45,13 @@ class MassOperationMixin(models.AbstractModel): copy=False, ) - groups_id = fields.Many2one(comodel_name="res.groups", string="Allowed Groups") + group_ids = fields.Many2many( + comodel_name="res.groups", + relation="mass_group_rel", + column1="mass_id", + column2="group_id", + string="Allowed Groups", + ) domain = fields.Char(string="Domain", required=True, default="[]") @@ -61,9 +67,11 @@ class MassOperationMixin(models.AbstractModel): for mixin in self: if not mixin.ref_ir_act_window_id: mixin.ref_ir_act_window_id = action_obj.create(mixin._prepare_action()) + return True def disable_mass_operation(self): self.mapped("ref_ir_act_window_id").unlink() + return True # Overload Section def unlink(self): @@ -82,7 +90,7 @@ class MassOperationMixin(models.AbstractModel): "name": self.action_name, "type": "ir.actions.act_window", "res_model": self._wizard_model_name, - "groups_id": [(6, 0, self.groups_id.ids)], + "groups_id": [(6, 0, self.group_ids.ids)], "context": """{ 'mass_operation_mixin_id' : %d, 'mass_operation_mixin_name' : '%s', diff --git a/mass_operation_abstract/static/description/index.html b/mass_operation_abstract/static/description/index.html index f97ef44..0bf6210 100644 --- a/mass_operation_abstract/static/description/index.html +++ b/mass_operation_abstract/static/description/index.html @@ -387,7 +387,6 @@ operations on any models.

Known issues / Roadmap

    -
  • Propose this module in the OCA. (server-tools repository)
  • refactor mass_editing and mass_sorting OCA modules to depend on this module.
  • Develop new modules like:
  • diff --git a/mass_operation_abstract/views/view_mass_operation_mixin.xml b/mass_operation_abstract/views/view_mass_operation_mixin.xml index dc8cd80..50602a4 100644 --- a/mass_operation_abstract/views/view_mass_operation_mixin.xml +++ b/mass_operation_abstract/views/view_mass_operation_mixin.xml @@ -11,7 +11,7 @@ License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html). - + @@ -21,7 +21,7 @@ License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html). - + @@ -77,10 +77,6 @@ License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html). name="domain" attrs="{'readonly': [('ref_ir_act_window_id', '!=', False)]}" /> - @@ -97,6 +93,13 @@ License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html). /> + + + diff --git a/mass_operation_abstract/wizard/mass_operation_wizard_mixin.py b/mass_operation_abstract/wizard/mass_operation_wizard_mixin.py index c86d8be..13a5813 100644 --- a/mass_operation_abstract/wizard/mass_operation_wizard_mixin.py +++ b/mass_operation_abstract/wizard/mass_operation_wizard_mixin.py @@ -49,22 +49,17 @@ class MassOperationWizardMixin(models.AbstractModel): if len(active_ids) == len(remaining_items): operation_description_info = _( - "The treatment will be processed on the {} selected" - " elements.".format(len(active_ids)) - ) + "The treatment will be processed on the %d selected elements." + ) % len(active_ids) elif len(remaining_items): operation_description_warning = _( - "You have selected {} items that can not be processed." - " Only {} items will be processed.".format( - len(active_ids) - len(remaining_items), len(remaining_items) - ) - ) + "You have selected %d items that can not be processed." + " Only %d items will be processed." + ) % (len(active_ids) - len(remaining_items), len(remaining_items)) else: operation_description_danger = _( - "None of the {} items you have selected can be processed.".format( - len(active_ids) - ) - ) + "None of the %d items you have selected can be processed." + ) % len(active_ids) res.update( { From 77c852ffea30985e845f824bb9e0f22cd8fce46b Mon Sep 17 00:00:00 2001 From: Flectra Community Bot Date: Sun, 30 Jan 2022 03:14:25 +0000 Subject: [PATCH 19/21] Automatic Update form OCA2FC Migrator --- .gitlab-ci.yml | 270 +++++++++++++++++++++++++++++++---- multi_step_wizard/i18n/ca.po | 62 ++++++++ 2 files changed, 305 insertions(+), 27 deletions(-) create mode 100644 multi_step_wizard/i18n/ca.po diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 08e05fb..13d8369 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -35,19 +35,27 @@ test_all_modules: - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/brand.git ~/others/brand" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/community-data-files.git ~/others/community-data-files" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/connector.git ~/others/connector" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/connector-telephony.git ~/others/connector-telephony" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/delivery-carrier.git ~/others/delivery-carrier" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/edi.git ~/others/edi" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/intrastat-extrastat.git ~/others/intrastat-extrastat" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/partner-contact.git ~/others/partner-contact" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/product-attribute.git ~/others/product-attribute" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/queue.git ~/others/queue" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/report-print-send.git ~/others/report-print-send" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/reporting-engine.git ~/others/reporting-engine" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/rest-framework.git ~/others/rest-framework" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/sale-workflow.git ~/others/sale-workflow" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/server-auth.git ~/others/server-auth" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/server-env.git ~/others/server-env" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/server-tools.git ~/others/server-tools" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/social.git ~/others/social" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/stock-logistics-transport.git ~/others/stock-logistics-transport" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/stock-logistics-warehouse.git ~/others/stock-logistics-warehouse" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/stock-logistics-workflow.git ~/others/stock-logistics-workflow" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/storage.git ~/others/storage" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/web.git ~/others/web" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/wms.git ~/others/wms" - 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 @@ -59,7 +67,7 @@ test_all_modules: - mv ${CI_PROJECT_DIR}/ci_data/filestore /opt/flectra/.local/share/filestore/test_all - chown -R flectra.flectra /opt/flectra/.local/share/filestore/test_all - su - flectra -c "/opt/flectra/flectra-bin - --addons-path ${CI_PROJECT_DIR},~/others/account-analytic,~/others/account-closing,~/others/account-financial-tools,~/others/account-invoicing,~/others/account-payment,~/others/bank-payment,~/others/brand,~/others/community-data-files,~/others/connector,~/others/edi,~/others/partner-contact,~/others/product-attribute,~/others/queue,~/others/reporting-engine,~/others/sale-workflow,~/others/server-auth,~/others/server-env,~/others/server-tools,~/others/social,~/others/stock-logistics-warehouse,~/others/stock-logistics-workflow,~/others/storage + --addons-path ${CI_PROJECT_DIR},~/others/account-analytic,~/others/account-closing,~/others/account-financial-tools,~/others/account-invoicing,~/others/account-payment,~/others/bank-payment,~/others/brand,~/others/community-data-files,~/others/connector,~/others/connector-telephony,~/others/delivery-carrier,~/others/edi,~/others/intrastat-extrastat,~/others/partner-contact,~/others/product-attribute,~/others/queue,~/others/report-print-send,~/others/reporting-engine,~/others/rest-framework,~/others/sale-workflow,~/others/server-auth,~/others/server-env,~/others/server-tools,~/others/social,~/others/stock-logistics-transport,~/others/stock-logistics-warehouse,~/others/stock-logistics-workflow,~/others/storage,~/others/web,~/others/wms --db_host psql --db_port 5432 --db_user flectra @@ -118,19 +126,27 @@ test_module_base_cancel_confirm: - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/brand.git ~/others/brand" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/community-data-files.git ~/others/community-data-files" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/connector.git ~/others/connector" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/connector-telephony.git ~/others/connector-telephony" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/delivery-carrier.git ~/others/delivery-carrier" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/edi.git ~/others/edi" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/intrastat-extrastat.git ~/others/intrastat-extrastat" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/partner-contact.git ~/others/partner-contact" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/product-attribute.git ~/others/product-attribute" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/queue.git ~/others/queue" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/report-print-send.git ~/others/report-print-send" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/reporting-engine.git ~/others/reporting-engine" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/rest-framework.git ~/others/rest-framework" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/sale-workflow.git ~/others/sale-workflow" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/server-auth.git ~/others/server-auth" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/server-env.git ~/others/server-env" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/server-tools.git ~/others/server-tools" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/social.git ~/others/social" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/stock-logistics-transport.git ~/others/stock-logistics-transport" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/stock-logistics-warehouse.git ~/others/stock-logistics-warehouse" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/stock-logistics-workflow.git ~/others/stock-logistics-workflow" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/storage.git ~/others/storage" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/web.git ~/others/web" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/wms.git ~/others/wms" - 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 @@ -142,7 +158,7 @@ test_module_base_cancel_confirm: - mv ${CI_PROJECT_DIR}/ci_data/filestore /opt/flectra/.local/share/filestore/test_base_cancel_confirm - chown -R flectra.flectra /opt/flectra/.local/share/filestore/test_base_cancel_confirm - su - flectra -c "/opt/flectra/flectra-bin - --addons-path ${CI_PROJECT_DIR},~/others/account-analytic,~/others/account-closing,~/others/account-financial-tools,~/others/account-invoicing,~/others/account-payment,~/others/bank-payment,~/others/brand,~/others/community-data-files,~/others/connector,~/others/edi,~/others/partner-contact,~/others/product-attribute,~/others/queue,~/others/reporting-engine,~/others/sale-workflow,~/others/server-auth,~/others/server-env,~/others/server-tools,~/others/social,~/others/stock-logistics-warehouse,~/others/stock-logistics-workflow,~/others/storage + --addons-path ${CI_PROJECT_DIR},~/others/account-analytic,~/others/account-closing,~/others/account-financial-tools,~/others/account-invoicing,~/others/account-payment,~/others/bank-payment,~/others/brand,~/others/community-data-files,~/others/connector,~/others/connector-telephony,~/others/delivery-carrier,~/others/edi,~/others/intrastat-extrastat,~/others/partner-contact,~/others/product-attribute,~/others/queue,~/others/report-print-send,~/others/reporting-engine,~/others/rest-framework,~/others/sale-workflow,~/others/server-auth,~/others/server-env,~/others/server-tools,~/others/social,~/others/stock-logistics-transport,~/others/stock-logistics-warehouse,~/others/stock-logistics-workflow,~/others/storage,~/others/web,~/others/wms --db_host psql --db_port 5432 --db_user flectra @@ -173,19 +189,27 @@ test_module_base_substate: - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/brand.git ~/others/brand" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/community-data-files.git ~/others/community-data-files" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/connector.git ~/others/connector" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/connector-telephony.git ~/others/connector-telephony" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/delivery-carrier.git ~/others/delivery-carrier" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/edi.git ~/others/edi" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/intrastat-extrastat.git ~/others/intrastat-extrastat" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/partner-contact.git ~/others/partner-contact" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/product-attribute.git ~/others/product-attribute" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/queue.git ~/others/queue" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/report-print-send.git ~/others/report-print-send" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/reporting-engine.git ~/others/reporting-engine" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/rest-framework.git ~/others/rest-framework" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/sale-workflow.git ~/others/sale-workflow" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/server-auth.git ~/others/server-auth" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/server-env.git ~/others/server-env" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/server-tools.git ~/others/server-tools" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/social.git ~/others/social" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/stock-logistics-transport.git ~/others/stock-logistics-transport" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/stock-logistics-warehouse.git ~/others/stock-logistics-warehouse" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/stock-logistics-workflow.git ~/others/stock-logistics-workflow" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/storage.git ~/others/storage" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/web.git ~/others/web" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/wms.git ~/others/wms" - 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 @@ -197,7 +221,7 @@ test_module_base_substate: - mv ${CI_PROJECT_DIR}/ci_data/filestore /opt/flectra/.local/share/filestore/test_base_substate - chown -R flectra.flectra /opt/flectra/.local/share/filestore/test_base_substate - su - flectra -c "/opt/flectra/flectra-bin - --addons-path ${CI_PROJECT_DIR},~/others/account-analytic,~/others/account-closing,~/others/account-financial-tools,~/others/account-invoicing,~/others/account-payment,~/others/bank-payment,~/others/brand,~/others/community-data-files,~/others/connector,~/others/edi,~/others/partner-contact,~/others/product-attribute,~/others/queue,~/others/reporting-engine,~/others/sale-workflow,~/others/server-auth,~/others/server-env,~/others/server-tools,~/others/social,~/others/stock-logistics-warehouse,~/others/stock-logistics-workflow,~/others/storage + --addons-path ${CI_PROJECT_DIR},~/others/account-analytic,~/others/account-closing,~/others/account-financial-tools,~/others/account-invoicing,~/others/account-payment,~/others/bank-payment,~/others/brand,~/others/community-data-files,~/others/connector,~/others/connector-telephony,~/others/delivery-carrier,~/others/edi,~/others/intrastat-extrastat,~/others/partner-contact,~/others/product-attribute,~/others/queue,~/others/report-print-send,~/others/reporting-engine,~/others/rest-framework,~/others/sale-workflow,~/others/server-auth,~/others/server-env,~/others/server-tools,~/others/social,~/others/stock-logistics-transport,~/others/stock-logistics-warehouse,~/others/stock-logistics-workflow,~/others/storage,~/others/web,~/others/wms --db_host psql --db_port 5432 --db_user flectra @@ -228,19 +252,27 @@ test_module_filter_multi_user: - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/brand.git ~/others/brand" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/community-data-files.git ~/others/community-data-files" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/connector.git ~/others/connector" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/connector-telephony.git ~/others/connector-telephony" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/delivery-carrier.git ~/others/delivery-carrier" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/edi.git ~/others/edi" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/intrastat-extrastat.git ~/others/intrastat-extrastat" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/partner-contact.git ~/others/partner-contact" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/product-attribute.git ~/others/product-attribute" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/queue.git ~/others/queue" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/report-print-send.git ~/others/report-print-send" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/reporting-engine.git ~/others/reporting-engine" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/rest-framework.git ~/others/rest-framework" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/sale-workflow.git ~/others/sale-workflow" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/server-auth.git ~/others/server-auth" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/server-env.git ~/others/server-env" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/server-tools.git ~/others/server-tools" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/social.git ~/others/social" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/stock-logistics-transport.git ~/others/stock-logistics-transport" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/stock-logistics-warehouse.git ~/others/stock-logistics-warehouse" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/stock-logistics-workflow.git ~/others/stock-logistics-workflow" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/storage.git ~/others/storage" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/web.git ~/others/web" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/wms.git ~/others/wms" - 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 @@ -252,7 +284,7 @@ test_module_filter_multi_user: - mv ${CI_PROJECT_DIR}/ci_data/filestore /opt/flectra/.local/share/filestore/test_filter_multi_user - chown -R flectra.flectra /opt/flectra/.local/share/filestore/test_filter_multi_user - su - flectra -c "/opt/flectra/flectra-bin - --addons-path ${CI_PROJECT_DIR},~/others/account-analytic,~/others/account-closing,~/others/account-financial-tools,~/others/account-invoicing,~/others/account-payment,~/others/bank-payment,~/others/brand,~/others/community-data-files,~/others/connector,~/others/edi,~/others/partner-contact,~/others/product-attribute,~/others/queue,~/others/reporting-engine,~/others/sale-workflow,~/others/server-auth,~/others/server-env,~/others/server-tools,~/others/social,~/others/stock-logistics-warehouse,~/others/stock-logistics-workflow,~/others/storage + --addons-path ${CI_PROJECT_DIR},~/others/account-analytic,~/others/account-closing,~/others/account-financial-tools,~/others/account-invoicing,~/others/account-payment,~/others/bank-payment,~/others/brand,~/others/community-data-files,~/others/connector,~/others/connector-telephony,~/others/delivery-carrier,~/others/edi,~/others/intrastat-extrastat,~/others/partner-contact,~/others/product-attribute,~/others/queue,~/others/report-print-send,~/others/reporting-engine,~/others/rest-framework,~/others/sale-workflow,~/others/server-auth,~/others/server-env,~/others/server-tools,~/others/social,~/others/stock-logistics-transport,~/others/stock-logistics-warehouse,~/others/stock-logistics-workflow,~/others/storage,~/others/web,~/others/wms --db_host psql --db_port 5432 --db_user flectra @@ -283,19 +315,27 @@ test_module_default_multi_user: - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/brand.git ~/others/brand" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/community-data-files.git ~/others/community-data-files" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/connector.git ~/others/connector" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/connector-telephony.git ~/others/connector-telephony" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/delivery-carrier.git ~/others/delivery-carrier" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/edi.git ~/others/edi" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/intrastat-extrastat.git ~/others/intrastat-extrastat" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/partner-contact.git ~/others/partner-contact" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/product-attribute.git ~/others/product-attribute" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/queue.git ~/others/queue" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/report-print-send.git ~/others/report-print-send" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/reporting-engine.git ~/others/reporting-engine" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/rest-framework.git ~/others/rest-framework" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/sale-workflow.git ~/others/sale-workflow" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/server-auth.git ~/others/server-auth" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/server-env.git ~/others/server-env" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/server-tools.git ~/others/server-tools" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/social.git ~/others/social" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/stock-logistics-transport.git ~/others/stock-logistics-transport" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/stock-logistics-warehouse.git ~/others/stock-logistics-warehouse" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/stock-logistics-workflow.git ~/others/stock-logistics-workflow" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/storage.git ~/others/storage" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/web.git ~/others/web" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/wms.git ~/others/wms" - 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 @@ -307,7 +347,7 @@ test_module_default_multi_user: - mv ${CI_PROJECT_DIR}/ci_data/filestore /opt/flectra/.local/share/filestore/test_default_multi_user - chown -R flectra.flectra /opt/flectra/.local/share/filestore/test_default_multi_user - su - flectra -c "/opt/flectra/flectra-bin - --addons-path ${CI_PROJECT_DIR},~/others/account-analytic,~/others/account-closing,~/others/account-financial-tools,~/others/account-invoicing,~/others/account-payment,~/others/bank-payment,~/others/brand,~/others/community-data-files,~/others/connector,~/others/edi,~/others/partner-contact,~/others/product-attribute,~/others/queue,~/others/reporting-engine,~/others/sale-workflow,~/others/server-auth,~/others/server-env,~/others/server-tools,~/others/social,~/others/stock-logistics-warehouse,~/others/stock-logistics-workflow,~/others/storage + --addons-path ${CI_PROJECT_DIR},~/others/account-analytic,~/others/account-closing,~/others/account-financial-tools,~/others/account-invoicing,~/others/account-payment,~/others/bank-payment,~/others/brand,~/others/community-data-files,~/others/connector,~/others/connector-telephony,~/others/delivery-carrier,~/others/edi,~/others/intrastat-extrastat,~/others/partner-contact,~/others/product-attribute,~/others/queue,~/others/report-print-send,~/others/reporting-engine,~/others/rest-framework,~/others/sale-workflow,~/others/server-auth,~/others/server-env,~/others/server-tools,~/others/social,~/others/stock-logistics-transport,~/others/stock-logistics-warehouse,~/others/stock-logistics-workflow,~/others/storage,~/others/web,~/others/wms --db_host psql --db_port 5432 --db_user flectra @@ -338,19 +378,27 @@ test_module_sequence_range_end: - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/brand.git ~/others/brand" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/community-data-files.git ~/others/community-data-files" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/connector.git ~/others/connector" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/connector-telephony.git ~/others/connector-telephony" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/delivery-carrier.git ~/others/delivery-carrier" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/edi.git ~/others/edi" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/intrastat-extrastat.git ~/others/intrastat-extrastat" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/partner-contact.git ~/others/partner-contact" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/product-attribute.git ~/others/product-attribute" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/queue.git ~/others/queue" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/report-print-send.git ~/others/report-print-send" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/reporting-engine.git ~/others/reporting-engine" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/rest-framework.git ~/others/rest-framework" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/sale-workflow.git ~/others/sale-workflow" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/server-auth.git ~/others/server-auth" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/server-env.git ~/others/server-env" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/server-tools.git ~/others/server-tools" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/social.git ~/others/social" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/stock-logistics-transport.git ~/others/stock-logistics-transport" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/stock-logistics-warehouse.git ~/others/stock-logistics-warehouse" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/stock-logistics-workflow.git ~/others/stock-logistics-workflow" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/storage.git ~/others/storage" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/web.git ~/others/web" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/wms.git ~/others/wms" - 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 @@ -362,7 +410,7 @@ test_module_sequence_range_end: - mv ${CI_PROJECT_DIR}/ci_data/filestore /opt/flectra/.local/share/filestore/test_sequence_range_end - chown -R flectra.flectra /opt/flectra/.local/share/filestore/test_sequence_range_end - su - flectra -c "/opt/flectra/flectra-bin - --addons-path ${CI_PROJECT_DIR},~/others/account-analytic,~/others/account-closing,~/others/account-financial-tools,~/others/account-invoicing,~/others/account-payment,~/others/bank-payment,~/others/brand,~/others/community-data-files,~/others/connector,~/others/edi,~/others/partner-contact,~/others/product-attribute,~/others/queue,~/others/reporting-engine,~/others/sale-workflow,~/others/server-auth,~/others/server-env,~/others/server-tools,~/others/social,~/others/stock-logistics-warehouse,~/others/stock-logistics-workflow,~/others/storage + --addons-path ${CI_PROJECT_DIR},~/others/account-analytic,~/others/account-closing,~/others/account-financial-tools,~/others/account-invoicing,~/others/account-payment,~/others/bank-payment,~/others/brand,~/others/community-data-files,~/others/connector,~/others/connector-telephony,~/others/delivery-carrier,~/others/edi,~/others/intrastat-extrastat,~/others/partner-contact,~/others/product-attribute,~/others/queue,~/others/report-print-send,~/others/reporting-engine,~/others/rest-framework,~/others/sale-workflow,~/others/server-auth,~/others/server-env,~/others/server-tools,~/others/social,~/others/stock-logistics-transport,~/others/stock-logistics-warehouse,~/others/stock-logistics-workflow,~/others/storage,~/others/web,~/others/wms --db_host psql --db_port 5432 --db_user flectra @@ -393,19 +441,27 @@ test_module_sequence_reset_period: - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/brand.git ~/others/brand" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/community-data-files.git ~/others/community-data-files" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/connector.git ~/others/connector" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/connector-telephony.git ~/others/connector-telephony" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/delivery-carrier.git ~/others/delivery-carrier" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/edi.git ~/others/edi" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/intrastat-extrastat.git ~/others/intrastat-extrastat" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/partner-contact.git ~/others/partner-contact" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/product-attribute.git ~/others/product-attribute" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/queue.git ~/others/queue" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/report-print-send.git ~/others/report-print-send" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/reporting-engine.git ~/others/reporting-engine" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/rest-framework.git ~/others/rest-framework" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/sale-workflow.git ~/others/sale-workflow" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/server-auth.git ~/others/server-auth" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/server-env.git ~/others/server-env" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/server-tools.git ~/others/server-tools" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/social.git ~/others/social" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/stock-logistics-transport.git ~/others/stock-logistics-transport" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/stock-logistics-warehouse.git ~/others/stock-logistics-warehouse" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/stock-logistics-workflow.git ~/others/stock-logistics-workflow" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/storage.git ~/others/storage" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/web.git ~/others/web" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/wms.git ~/others/wms" - 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 @@ -417,7 +473,7 @@ test_module_sequence_reset_period: - mv ${CI_PROJECT_DIR}/ci_data/filestore /opt/flectra/.local/share/filestore/test_sequence_reset_period - chown -R flectra.flectra /opt/flectra/.local/share/filestore/test_sequence_reset_period - su - flectra -c "/opt/flectra/flectra-bin - --addons-path ${CI_PROJECT_DIR},~/others/account-analytic,~/others/account-closing,~/others/account-financial-tools,~/others/account-invoicing,~/others/account-payment,~/others/bank-payment,~/others/brand,~/others/community-data-files,~/others/connector,~/others/edi,~/others/partner-contact,~/others/product-attribute,~/others/queue,~/others/reporting-engine,~/others/sale-workflow,~/others/server-auth,~/others/server-env,~/others/server-tools,~/others/social,~/others/stock-logistics-warehouse,~/others/stock-logistics-workflow,~/others/storage + --addons-path ${CI_PROJECT_DIR},~/others/account-analytic,~/others/account-closing,~/others/account-financial-tools,~/others/account-invoicing,~/others/account-payment,~/others/bank-payment,~/others/brand,~/others/community-data-files,~/others/connector,~/others/connector-telephony,~/others/delivery-carrier,~/others/edi,~/others/intrastat-extrastat,~/others/partner-contact,~/others/product-attribute,~/others/queue,~/others/report-print-send,~/others/reporting-engine,~/others/rest-framework,~/others/sale-workflow,~/others/server-auth,~/others/server-env,~/others/server-tools,~/others/social,~/others/stock-logistics-transport,~/others/stock-logistics-warehouse,~/others/stock-logistics-workflow,~/others/storage,~/others/web,~/others/wms --db_host psql --db_port 5432 --db_user flectra @@ -448,19 +504,27 @@ test_module_sequence_check_digit: - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/brand.git ~/others/brand" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/community-data-files.git ~/others/community-data-files" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/connector.git ~/others/connector" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/connector-telephony.git ~/others/connector-telephony" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/delivery-carrier.git ~/others/delivery-carrier" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/edi.git ~/others/edi" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/intrastat-extrastat.git ~/others/intrastat-extrastat" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/partner-contact.git ~/others/partner-contact" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/product-attribute.git ~/others/product-attribute" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/queue.git ~/others/queue" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/report-print-send.git ~/others/report-print-send" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/reporting-engine.git ~/others/reporting-engine" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/rest-framework.git ~/others/rest-framework" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/sale-workflow.git ~/others/sale-workflow" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/server-auth.git ~/others/server-auth" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/server-env.git ~/others/server-env" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/server-tools.git ~/others/server-tools" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/social.git ~/others/social" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/stock-logistics-transport.git ~/others/stock-logistics-transport" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/stock-logistics-warehouse.git ~/others/stock-logistics-warehouse" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/stock-logistics-workflow.git ~/others/stock-logistics-workflow" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/storage.git ~/others/storage" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/web.git ~/others/web" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/wms.git ~/others/wms" - 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 @@ -472,7 +536,7 @@ test_module_sequence_check_digit: - mv ${CI_PROJECT_DIR}/ci_data/filestore /opt/flectra/.local/share/filestore/test_sequence_check_digit - chown -R flectra.flectra /opt/flectra/.local/share/filestore/test_sequence_check_digit - su - flectra -c "/opt/flectra/flectra-bin - --addons-path ${CI_PROJECT_DIR},~/others/account-analytic,~/others/account-closing,~/others/account-financial-tools,~/others/account-invoicing,~/others/account-payment,~/others/bank-payment,~/others/brand,~/others/community-data-files,~/others/connector,~/others/edi,~/others/partner-contact,~/others/product-attribute,~/others/queue,~/others/reporting-engine,~/others/sale-workflow,~/others/server-auth,~/others/server-env,~/others/server-tools,~/others/social,~/others/stock-logistics-warehouse,~/others/stock-logistics-workflow,~/others/storage + --addons-path ${CI_PROJECT_DIR},~/others/account-analytic,~/others/account-closing,~/others/account-financial-tools,~/others/account-invoicing,~/others/account-payment,~/others/bank-payment,~/others/brand,~/others/community-data-files,~/others/connector,~/others/connector-telephony,~/others/delivery-carrier,~/others/edi,~/others/intrastat-extrastat,~/others/partner-contact,~/others/product-attribute,~/others/queue,~/others/report-print-send,~/others/reporting-engine,~/others/rest-framework,~/others/sale-workflow,~/others/server-auth,~/others/server-env,~/others/server-tools,~/others/social,~/others/stock-logistics-transport,~/others/stock-logistics-warehouse,~/others/stock-logistics-workflow,~/others/storage,~/others/web,~/others/wms --db_host psql --db_port 5432 --db_user flectra @@ -503,19 +567,27 @@ test_module_base_import_security_group: - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/brand.git ~/others/brand" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/community-data-files.git ~/others/community-data-files" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/connector.git ~/others/connector" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/connector-telephony.git ~/others/connector-telephony" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/delivery-carrier.git ~/others/delivery-carrier" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/edi.git ~/others/edi" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/intrastat-extrastat.git ~/others/intrastat-extrastat" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/partner-contact.git ~/others/partner-contact" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/product-attribute.git ~/others/product-attribute" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/queue.git ~/others/queue" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/report-print-send.git ~/others/report-print-send" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/reporting-engine.git ~/others/reporting-engine" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/rest-framework.git ~/others/rest-framework" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/sale-workflow.git ~/others/sale-workflow" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/server-auth.git ~/others/server-auth" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/server-env.git ~/others/server-env" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/server-tools.git ~/others/server-tools" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/social.git ~/others/social" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/stock-logistics-transport.git ~/others/stock-logistics-transport" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/stock-logistics-warehouse.git ~/others/stock-logistics-warehouse" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/stock-logistics-workflow.git ~/others/stock-logistics-workflow" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/storage.git ~/others/storage" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/web.git ~/others/web" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/wms.git ~/others/wms" - 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 @@ -527,7 +599,7 @@ test_module_base_import_security_group: - mv ${CI_PROJECT_DIR}/ci_data/filestore /opt/flectra/.local/share/filestore/test_base_import_security_group - chown -R flectra.flectra /opt/flectra/.local/share/filestore/test_base_import_security_group - su - flectra -c "/opt/flectra/flectra-bin - --addons-path ${CI_PROJECT_DIR},~/others/account-analytic,~/others/account-closing,~/others/account-financial-tools,~/others/account-invoicing,~/others/account-payment,~/others/bank-payment,~/others/brand,~/others/community-data-files,~/others/connector,~/others/edi,~/others/partner-contact,~/others/product-attribute,~/others/queue,~/others/reporting-engine,~/others/sale-workflow,~/others/server-auth,~/others/server-env,~/others/server-tools,~/others/social,~/others/stock-logistics-warehouse,~/others/stock-logistics-workflow,~/others/storage + --addons-path ${CI_PROJECT_DIR},~/others/account-analytic,~/others/account-closing,~/others/account-financial-tools,~/others/account-invoicing,~/others/account-payment,~/others/bank-payment,~/others/brand,~/others/community-data-files,~/others/connector,~/others/connector-telephony,~/others/delivery-carrier,~/others/edi,~/others/intrastat-extrastat,~/others/partner-contact,~/others/product-attribute,~/others/queue,~/others/report-print-send,~/others/reporting-engine,~/others/rest-framework,~/others/sale-workflow,~/others/server-auth,~/others/server-env,~/others/server-tools,~/others/social,~/others/stock-logistics-transport,~/others/stock-logistics-warehouse,~/others/stock-logistics-workflow,~/others/storage,~/others/web,~/others/wms --db_host psql --db_port 5432 --db_user flectra @@ -558,19 +630,27 @@ test_module_date_range: - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/brand.git ~/others/brand" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/community-data-files.git ~/others/community-data-files" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/connector.git ~/others/connector" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/connector-telephony.git ~/others/connector-telephony" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/delivery-carrier.git ~/others/delivery-carrier" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/edi.git ~/others/edi" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/intrastat-extrastat.git ~/others/intrastat-extrastat" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/partner-contact.git ~/others/partner-contact" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/product-attribute.git ~/others/product-attribute" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/queue.git ~/others/queue" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/report-print-send.git ~/others/report-print-send" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/reporting-engine.git ~/others/reporting-engine" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/rest-framework.git ~/others/rest-framework" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/sale-workflow.git ~/others/sale-workflow" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/server-auth.git ~/others/server-auth" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/server-env.git ~/others/server-env" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/server-tools.git ~/others/server-tools" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/social.git ~/others/social" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/stock-logistics-transport.git ~/others/stock-logistics-transport" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/stock-logistics-warehouse.git ~/others/stock-logistics-warehouse" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/stock-logistics-workflow.git ~/others/stock-logistics-workflow" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/storage.git ~/others/storage" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/web.git ~/others/web" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/wms.git ~/others/wms" - 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 @@ -582,7 +662,7 @@ test_module_date_range: - mv ${CI_PROJECT_DIR}/ci_data/filestore /opt/flectra/.local/share/filestore/test_date_range - chown -R flectra.flectra /opt/flectra/.local/share/filestore/test_date_range - su - flectra -c "/opt/flectra/flectra-bin - --addons-path ${CI_PROJECT_DIR},~/others/account-analytic,~/others/account-closing,~/others/account-financial-tools,~/others/account-invoicing,~/others/account-payment,~/others/bank-payment,~/others/brand,~/others/community-data-files,~/others/connector,~/others/edi,~/others/partner-contact,~/others/product-attribute,~/others/queue,~/others/reporting-engine,~/others/sale-workflow,~/others/server-auth,~/others/server-env,~/others/server-tools,~/others/social,~/others/stock-logistics-warehouse,~/others/stock-logistics-workflow,~/others/storage + --addons-path ${CI_PROJECT_DIR},~/others/account-analytic,~/others/account-closing,~/others/account-financial-tools,~/others/account-invoicing,~/others/account-payment,~/others/bank-payment,~/others/brand,~/others/community-data-files,~/others/connector,~/others/connector-telephony,~/others/delivery-carrier,~/others/edi,~/others/intrastat-extrastat,~/others/partner-contact,~/others/product-attribute,~/others/queue,~/others/report-print-send,~/others/reporting-engine,~/others/rest-framework,~/others/sale-workflow,~/others/server-auth,~/others/server-env,~/others/server-tools,~/others/social,~/others/stock-logistics-transport,~/others/stock-logistics-warehouse,~/others/stock-logistics-workflow,~/others/storage,~/others/web,~/others/wms --db_host psql --db_port 5432 --db_user flectra @@ -613,19 +693,27 @@ test_module_base_tier_validation_forward: - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/brand.git ~/others/brand" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/community-data-files.git ~/others/community-data-files" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/connector.git ~/others/connector" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/connector-telephony.git ~/others/connector-telephony" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/delivery-carrier.git ~/others/delivery-carrier" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/edi.git ~/others/edi" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/intrastat-extrastat.git ~/others/intrastat-extrastat" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/partner-contact.git ~/others/partner-contact" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/product-attribute.git ~/others/product-attribute" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/queue.git ~/others/queue" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/report-print-send.git ~/others/report-print-send" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/reporting-engine.git ~/others/reporting-engine" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/rest-framework.git ~/others/rest-framework" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/sale-workflow.git ~/others/sale-workflow" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/server-auth.git ~/others/server-auth" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/server-env.git ~/others/server-env" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/server-tools.git ~/others/server-tools" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/social.git ~/others/social" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/stock-logistics-transport.git ~/others/stock-logistics-transport" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/stock-logistics-warehouse.git ~/others/stock-logistics-warehouse" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/stock-logistics-workflow.git ~/others/stock-logistics-workflow" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/storage.git ~/others/storage" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/web.git ~/others/web" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/wms.git ~/others/wms" - 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 @@ -637,7 +725,7 @@ test_module_base_tier_validation_forward: - mv ${CI_PROJECT_DIR}/ci_data/filestore /opt/flectra/.local/share/filestore/test_base_tier_validation_forward - chown -R flectra.flectra /opt/flectra/.local/share/filestore/test_base_tier_validation_forward - su - flectra -c "/opt/flectra/flectra-bin - --addons-path ${CI_PROJECT_DIR},~/others/account-analytic,~/others/account-closing,~/others/account-financial-tools,~/others/account-invoicing,~/others/account-payment,~/others/bank-payment,~/others/brand,~/others/community-data-files,~/others/connector,~/others/edi,~/others/partner-contact,~/others/product-attribute,~/others/queue,~/others/reporting-engine,~/others/sale-workflow,~/others/server-auth,~/others/server-env,~/others/server-tools,~/others/social,~/others/stock-logistics-warehouse,~/others/stock-logistics-workflow,~/others/storage + --addons-path ${CI_PROJECT_DIR},~/others/account-analytic,~/others/account-closing,~/others/account-financial-tools,~/others/account-invoicing,~/others/account-payment,~/others/bank-payment,~/others/brand,~/others/community-data-files,~/others/connector,~/others/connector-telephony,~/others/delivery-carrier,~/others/edi,~/others/intrastat-extrastat,~/others/partner-contact,~/others/product-attribute,~/others/queue,~/others/report-print-send,~/others/reporting-engine,~/others/rest-framework,~/others/sale-workflow,~/others/server-auth,~/others/server-env,~/others/server-tools,~/others/social,~/others/stock-logistics-transport,~/others/stock-logistics-warehouse,~/others/stock-logistics-workflow,~/others/storage,~/others/web,~/others/wms --db_host psql --db_port 5432 --db_user flectra @@ -668,19 +756,27 @@ test_module_base_menu_visibility_restriction: - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/brand.git ~/others/brand" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/community-data-files.git ~/others/community-data-files" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/connector.git ~/others/connector" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/connector-telephony.git ~/others/connector-telephony" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/delivery-carrier.git ~/others/delivery-carrier" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/edi.git ~/others/edi" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/intrastat-extrastat.git ~/others/intrastat-extrastat" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/partner-contact.git ~/others/partner-contact" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/product-attribute.git ~/others/product-attribute" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/queue.git ~/others/queue" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/report-print-send.git ~/others/report-print-send" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/reporting-engine.git ~/others/reporting-engine" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/rest-framework.git ~/others/rest-framework" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/sale-workflow.git ~/others/sale-workflow" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/server-auth.git ~/others/server-auth" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/server-env.git ~/others/server-env" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/server-tools.git ~/others/server-tools" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/social.git ~/others/social" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/stock-logistics-transport.git ~/others/stock-logistics-transport" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/stock-logistics-warehouse.git ~/others/stock-logistics-warehouse" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/stock-logistics-workflow.git ~/others/stock-logistics-workflow" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/storage.git ~/others/storage" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/web.git ~/others/web" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/wms.git ~/others/wms" - 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 @@ -692,7 +788,7 @@ test_module_base_menu_visibility_restriction: - mv ${CI_PROJECT_DIR}/ci_data/filestore /opt/flectra/.local/share/filestore/test_base_menu_visibility_restriction - chown -R flectra.flectra /opt/flectra/.local/share/filestore/test_base_menu_visibility_restriction - su - flectra -c "/opt/flectra/flectra-bin - --addons-path ${CI_PROJECT_DIR},~/others/account-analytic,~/others/account-closing,~/others/account-financial-tools,~/others/account-invoicing,~/others/account-payment,~/others/bank-payment,~/others/brand,~/others/community-data-files,~/others/connector,~/others/edi,~/others/partner-contact,~/others/product-attribute,~/others/queue,~/others/reporting-engine,~/others/sale-workflow,~/others/server-auth,~/others/server-env,~/others/server-tools,~/others/social,~/others/stock-logistics-warehouse,~/others/stock-logistics-workflow,~/others/storage + --addons-path ${CI_PROJECT_DIR},~/others/account-analytic,~/others/account-closing,~/others/account-financial-tools,~/others/account-invoicing,~/others/account-payment,~/others/bank-payment,~/others/brand,~/others/community-data-files,~/others/connector,~/others/connector-telephony,~/others/delivery-carrier,~/others/edi,~/others/intrastat-extrastat,~/others/partner-contact,~/others/product-attribute,~/others/queue,~/others/report-print-send,~/others/reporting-engine,~/others/rest-framework,~/others/sale-workflow,~/others/server-auth,~/others/server-env,~/others/server-tools,~/others/social,~/others/stock-logistics-transport,~/others/stock-logistics-warehouse,~/others/stock-logistics-workflow,~/others/storage,~/others/web,~/others/wms --db_host psql --db_port 5432 --db_user flectra @@ -723,19 +819,27 @@ test_module_barcode_action: - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/brand.git ~/others/brand" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/community-data-files.git ~/others/community-data-files" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/connector.git ~/others/connector" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/connector-telephony.git ~/others/connector-telephony" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/delivery-carrier.git ~/others/delivery-carrier" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/edi.git ~/others/edi" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/intrastat-extrastat.git ~/others/intrastat-extrastat" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/partner-contact.git ~/others/partner-contact" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/product-attribute.git ~/others/product-attribute" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/queue.git ~/others/queue" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/report-print-send.git ~/others/report-print-send" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/reporting-engine.git ~/others/reporting-engine" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/rest-framework.git ~/others/rest-framework" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/sale-workflow.git ~/others/sale-workflow" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/server-auth.git ~/others/server-auth" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/server-env.git ~/others/server-env" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/server-tools.git ~/others/server-tools" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/social.git ~/others/social" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/stock-logistics-transport.git ~/others/stock-logistics-transport" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/stock-logistics-warehouse.git ~/others/stock-logistics-warehouse" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/stock-logistics-workflow.git ~/others/stock-logistics-workflow" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/storage.git ~/others/storage" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/web.git ~/others/web" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/wms.git ~/others/wms" - 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 @@ -747,7 +851,7 @@ test_module_barcode_action: - mv ${CI_PROJECT_DIR}/ci_data/filestore /opt/flectra/.local/share/filestore/test_barcode_action - chown -R flectra.flectra /opt/flectra/.local/share/filestore/test_barcode_action - su - flectra -c "/opt/flectra/flectra-bin - --addons-path ${CI_PROJECT_DIR},~/others/account-analytic,~/others/account-closing,~/others/account-financial-tools,~/others/account-invoicing,~/others/account-payment,~/others/bank-payment,~/others/brand,~/others/community-data-files,~/others/connector,~/others/edi,~/others/partner-contact,~/others/product-attribute,~/others/queue,~/others/reporting-engine,~/others/sale-workflow,~/others/server-auth,~/others/server-env,~/others/server-tools,~/others/social,~/others/stock-logistics-warehouse,~/others/stock-logistics-workflow,~/others/storage + --addons-path ${CI_PROJECT_DIR},~/others/account-analytic,~/others/account-closing,~/others/account-financial-tools,~/others/account-invoicing,~/others/account-payment,~/others/bank-payment,~/others/brand,~/others/community-data-files,~/others/connector,~/others/connector-telephony,~/others/delivery-carrier,~/others/edi,~/others/intrastat-extrastat,~/others/partner-contact,~/others/product-attribute,~/others/queue,~/others/report-print-send,~/others/reporting-engine,~/others/rest-framework,~/others/sale-workflow,~/others/server-auth,~/others/server-env,~/others/server-tools,~/others/social,~/others/stock-logistics-transport,~/others/stock-logistics-warehouse,~/others/stock-logistics-workflow,~/others/storage,~/others/web,~/others/wms --db_host psql --db_port 5432 --db_user flectra @@ -778,19 +882,27 @@ test_module_multi_step_wizard: - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/brand.git ~/others/brand" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/community-data-files.git ~/others/community-data-files" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/connector.git ~/others/connector" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/connector-telephony.git ~/others/connector-telephony" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/delivery-carrier.git ~/others/delivery-carrier" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/edi.git ~/others/edi" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/intrastat-extrastat.git ~/others/intrastat-extrastat" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/partner-contact.git ~/others/partner-contact" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/product-attribute.git ~/others/product-attribute" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/queue.git ~/others/queue" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/report-print-send.git ~/others/report-print-send" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/reporting-engine.git ~/others/reporting-engine" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/rest-framework.git ~/others/rest-framework" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/sale-workflow.git ~/others/sale-workflow" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/server-auth.git ~/others/server-auth" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/server-env.git ~/others/server-env" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/server-tools.git ~/others/server-tools" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/social.git ~/others/social" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/stock-logistics-transport.git ~/others/stock-logistics-transport" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/stock-logistics-warehouse.git ~/others/stock-logistics-warehouse" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/stock-logistics-workflow.git ~/others/stock-logistics-workflow" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/storage.git ~/others/storage" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/web.git ~/others/web" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/wms.git ~/others/wms" - 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 @@ -802,7 +914,7 @@ test_module_multi_step_wizard: - mv ${CI_PROJECT_DIR}/ci_data/filestore /opt/flectra/.local/share/filestore/test_multi_step_wizard - chown -R flectra.flectra /opt/flectra/.local/share/filestore/test_multi_step_wizard - su - flectra -c "/opt/flectra/flectra-bin - --addons-path ${CI_PROJECT_DIR},~/others/account-analytic,~/others/account-closing,~/others/account-financial-tools,~/others/account-invoicing,~/others/account-payment,~/others/bank-payment,~/others/brand,~/others/community-data-files,~/others/connector,~/others/edi,~/others/partner-contact,~/others/product-attribute,~/others/queue,~/others/reporting-engine,~/others/sale-workflow,~/others/server-auth,~/others/server-env,~/others/server-tools,~/others/social,~/others/stock-logistics-warehouse,~/others/stock-logistics-workflow,~/others/storage + --addons-path ${CI_PROJECT_DIR},~/others/account-analytic,~/others/account-closing,~/others/account-financial-tools,~/others/account-invoicing,~/others/account-payment,~/others/bank-payment,~/others/brand,~/others/community-data-files,~/others/connector,~/others/connector-telephony,~/others/delivery-carrier,~/others/edi,~/others/intrastat-extrastat,~/others/partner-contact,~/others/product-attribute,~/others/queue,~/others/report-print-send,~/others/reporting-engine,~/others/rest-framework,~/others/sale-workflow,~/others/server-auth,~/others/server-env,~/others/server-tools,~/others/social,~/others/stock-logistics-transport,~/others/stock-logistics-warehouse,~/others/stock-logistics-workflow,~/others/storage,~/others/web,~/others/wms --db_host psql --db_port 5432 --db_user flectra @@ -833,19 +945,27 @@ test_module_base_technical_features: - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/brand.git ~/others/brand" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/community-data-files.git ~/others/community-data-files" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/connector.git ~/others/connector" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/connector-telephony.git ~/others/connector-telephony" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/delivery-carrier.git ~/others/delivery-carrier" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/edi.git ~/others/edi" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/intrastat-extrastat.git ~/others/intrastat-extrastat" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/partner-contact.git ~/others/partner-contact" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/product-attribute.git ~/others/product-attribute" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/queue.git ~/others/queue" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/report-print-send.git ~/others/report-print-send" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/reporting-engine.git ~/others/reporting-engine" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/rest-framework.git ~/others/rest-framework" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/sale-workflow.git ~/others/sale-workflow" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/server-auth.git ~/others/server-auth" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/server-env.git ~/others/server-env" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/server-tools.git ~/others/server-tools" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/social.git ~/others/social" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/stock-logistics-transport.git ~/others/stock-logistics-transport" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/stock-logistics-warehouse.git ~/others/stock-logistics-warehouse" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/stock-logistics-workflow.git ~/others/stock-logistics-workflow" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/storage.git ~/others/storage" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/web.git ~/others/web" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/wms.git ~/others/wms" - 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 @@ -857,7 +977,7 @@ test_module_base_technical_features: - mv ${CI_PROJECT_DIR}/ci_data/filestore /opt/flectra/.local/share/filestore/test_base_technical_features - chown -R flectra.flectra /opt/flectra/.local/share/filestore/test_base_technical_features - su - flectra -c "/opt/flectra/flectra-bin - --addons-path ${CI_PROJECT_DIR},~/others/account-analytic,~/others/account-closing,~/others/account-financial-tools,~/others/account-invoicing,~/others/account-payment,~/others/bank-payment,~/others/brand,~/others/community-data-files,~/others/connector,~/others/edi,~/others/partner-contact,~/others/product-attribute,~/others/queue,~/others/reporting-engine,~/others/sale-workflow,~/others/server-auth,~/others/server-env,~/others/server-tools,~/others/social,~/others/stock-logistics-warehouse,~/others/stock-logistics-workflow,~/others/storage + --addons-path ${CI_PROJECT_DIR},~/others/account-analytic,~/others/account-closing,~/others/account-financial-tools,~/others/account-invoicing,~/others/account-payment,~/others/bank-payment,~/others/brand,~/others/community-data-files,~/others/connector,~/others/connector-telephony,~/others/delivery-carrier,~/others/edi,~/others/intrastat-extrastat,~/others/partner-contact,~/others/product-attribute,~/others/queue,~/others/report-print-send,~/others/reporting-engine,~/others/rest-framework,~/others/sale-workflow,~/others/server-auth,~/others/server-env,~/others/server-tools,~/others/social,~/others/stock-logistics-transport,~/others/stock-logistics-warehouse,~/others/stock-logistics-workflow,~/others/storage,~/others/web,~/others/wms --db_host psql --db_port 5432 --db_user flectra @@ -888,19 +1008,27 @@ test_module_base_tier_validation_formula: - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/brand.git ~/others/brand" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/community-data-files.git ~/others/community-data-files" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/connector.git ~/others/connector" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/connector-telephony.git ~/others/connector-telephony" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/delivery-carrier.git ~/others/delivery-carrier" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/edi.git ~/others/edi" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/intrastat-extrastat.git ~/others/intrastat-extrastat" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/partner-contact.git ~/others/partner-contact" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/product-attribute.git ~/others/product-attribute" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/queue.git ~/others/queue" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/report-print-send.git ~/others/report-print-send" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/reporting-engine.git ~/others/reporting-engine" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/rest-framework.git ~/others/rest-framework" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/sale-workflow.git ~/others/sale-workflow" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/server-auth.git ~/others/server-auth" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/server-env.git ~/others/server-env" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/server-tools.git ~/others/server-tools" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/social.git ~/others/social" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/stock-logistics-transport.git ~/others/stock-logistics-transport" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/stock-logistics-warehouse.git ~/others/stock-logistics-warehouse" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/stock-logistics-workflow.git ~/others/stock-logistics-workflow" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/storage.git ~/others/storage" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/web.git ~/others/web" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/wms.git ~/others/wms" - 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 @@ -912,7 +1040,7 @@ test_module_base_tier_validation_formula: - mv ${CI_PROJECT_DIR}/ci_data/filestore /opt/flectra/.local/share/filestore/test_base_tier_validation_formula - chown -R flectra.flectra /opt/flectra/.local/share/filestore/test_base_tier_validation_formula - su - flectra -c "/opt/flectra/flectra-bin - --addons-path ${CI_PROJECT_DIR},~/others/account-analytic,~/others/account-closing,~/others/account-financial-tools,~/others/account-invoicing,~/others/account-payment,~/others/bank-payment,~/others/brand,~/others/community-data-files,~/others/connector,~/others/edi,~/others/partner-contact,~/others/product-attribute,~/others/queue,~/others/reporting-engine,~/others/sale-workflow,~/others/server-auth,~/others/server-env,~/others/server-tools,~/others/social,~/others/stock-logistics-warehouse,~/others/stock-logistics-workflow,~/others/storage + --addons-path ${CI_PROJECT_DIR},~/others/account-analytic,~/others/account-closing,~/others/account-financial-tools,~/others/account-invoicing,~/others/account-payment,~/others/bank-payment,~/others/brand,~/others/community-data-files,~/others/connector,~/others/connector-telephony,~/others/delivery-carrier,~/others/edi,~/others/intrastat-extrastat,~/others/partner-contact,~/others/product-attribute,~/others/queue,~/others/report-print-send,~/others/reporting-engine,~/others/rest-framework,~/others/sale-workflow,~/others/server-auth,~/others/server-env,~/others/server-tools,~/others/social,~/others/stock-logistics-transport,~/others/stock-logistics-warehouse,~/others/stock-logistics-workflow,~/others/storage,~/others/web,~/others/wms --db_host psql --db_port 5432 --db_user flectra @@ -943,19 +1071,27 @@ test_module_base_tier_validation: - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/brand.git ~/others/brand" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/community-data-files.git ~/others/community-data-files" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/connector.git ~/others/connector" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/connector-telephony.git ~/others/connector-telephony" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/delivery-carrier.git ~/others/delivery-carrier" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/edi.git ~/others/edi" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/intrastat-extrastat.git ~/others/intrastat-extrastat" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/partner-contact.git ~/others/partner-contact" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/product-attribute.git ~/others/product-attribute" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/queue.git ~/others/queue" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/report-print-send.git ~/others/report-print-send" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/reporting-engine.git ~/others/reporting-engine" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/rest-framework.git ~/others/rest-framework" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/sale-workflow.git ~/others/sale-workflow" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/server-auth.git ~/others/server-auth" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/server-env.git ~/others/server-env" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/server-tools.git ~/others/server-tools" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/social.git ~/others/social" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/stock-logistics-transport.git ~/others/stock-logistics-transport" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/stock-logistics-warehouse.git ~/others/stock-logistics-warehouse" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/stock-logistics-workflow.git ~/others/stock-logistics-workflow" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/storage.git ~/others/storage" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/web.git ~/others/web" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/wms.git ~/others/wms" - 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 @@ -967,7 +1103,7 @@ test_module_base_tier_validation: - mv ${CI_PROJECT_DIR}/ci_data/filestore /opt/flectra/.local/share/filestore/test_base_tier_validation - chown -R flectra.flectra /opt/flectra/.local/share/filestore/test_base_tier_validation - su - flectra -c "/opt/flectra/flectra-bin - --addons-path ${CI_PROJECT_DIR},~/others/account-analytic,~/others/account-closing,~/others/account-financial-tools,~/others/account-invoicing,~/others/account-payment,~/others/bank-payment,~/others/brand,~/others/community-data-files,~/others/connector,~/others/edi,~/others/partner-contact,~/others/product-attribute,~/others/queue,~/others/reporting-engine,~/others/sale-workflow,~/others/server-auth,~/others/server-env,~/others/server-tools,~/others/social,~/others/stock-logistics-warehouse,~/others/stock-logistics-workflow,~/others/storage + --addons-path ${CI_PROJECT_DIR},~/others/account-analytic,~/others/account-closing,~/others/account-financial-tools,~/others/account-invoicing,~/others/account-payment,~/others/bank-payment,~/others/brand,~/others/community-data-files,~/others/connector,~/others/connector-telephony,~/others/delivery-carrier,~/others/edi,~/others/intrastat-extrastat,~/others/partner-contact,~/others/product-attribute,~/others/queue,~/others/report-print-send,~/others/reporting-engine,~/others/rest-framework,~/others/sale-workflow,~/others/server-auth,~/others/server-env,~/others/server-tools,~/others/social,~/others/stock-logistics-transport,~/others/stock-logistics-warehouse,~/others/stock-logistics-workflow,~/others/storage,~/others/web,~/others/wms --db_host psql --db_port 5432 --db_user flectra @@ -998,19 +1134,27 @@ test_module_base_search_custom_field_filter: - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/brand.git ~/others/brand" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/community-data-files.git ~/others/community-data-files" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/connector.git ~/others/connector" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/connector-telephony.git ~/others/connector-telephony" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/delivery-carrier.git ~/others/delivery-carrier" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/edi.git ~/others/edi" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/intrastat-extrastat.git ~/others/intrastat-extrastat" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/partner-contact.git ~/others/partner-contact" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/product-attribute.git ~/others/product-attribute" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/queue.git ~/others/queue" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/report-print-send.git ~/others/report-print-send" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/reporting-engine.git ~/others/reporting-engine" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/rest-framework.git ~/others/rest-framework" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/sale-workflow.git ~/others/sale-workflow" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/server-auth.git ~/others/server-auth" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/server-env.git ~/others/server-env" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/server-tools.git ~/others/server-tools" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/social.git ~/others/social" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/stock-logistics-transport.git ~/others/stock-logistics-transport" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/stock-logistics-warehouse.git ~/others/stock-logistics-warehouse" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/stock-logistics-workflow.git ~/others/stock-logistics-workflow" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/storage.git ~/others/storage" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/web.git ~/others/web" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/wms.git ~/others/wms" - 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 @@ -1022,7 +1166,7 @@ test_module_base_search_custom_field_filter: - mv ${CI_PROJECT_DIR}/ci_data/filestore /opt/flectra/.local/share/filestore/test_base_search_custom_field_filter - chown -R flectra.flectra /opt/flectra/.local/share/filestore/test_base_search_custom_field_filter - su - flectra -c "/opt/flectra/flectra-bin - --addons-path ${CI_PROJECT_DIR},~/others/account-analytic,~/others/account-closing,~/others/account-financial-tools,~/others/account-invoicing,~/others/account-payment,~/others/bank-payment,~/others/brand,~/others/community-data-files,~/others/connector,~/others/edi,~/others/partner-contact,~/others/product-attribute,~/others/queue,~/others/reporting-engine,~/others/sale-workflow,~/others/server-auth,~/others/server-env,~/others/server-tools,~/others/social,~/others/stock-logistics-warehouse,~/others/stock-logistics-workflow,~/others/storage + --addons-path ${CI_PROJECT_DIR},~/others/account-analytic,~/others/account-closing,~/others/account-financial-tools,~/others/account-invoicing,~/others/account-payment,~/others/bank-payment,~/others/brand,~/others/community-data-files,~/others/connector,~/others/connector-telephony,~/others/delivery-carrier,~/others/edi,~/others/intrastat-extrastat,~/others/partner-contact,~/others/product-attribute,~/others/queue,~/others/report-print-send,~/others/reporting-engine,~/others/rest-framework,~/others/sale-workflow,~/others/server-auth,~/others/server-env,~/others/server-tools,~/others/social,~/others/stock-logistics-transport,~/others/stock-logistics-warehouse,~/others/stock-logistics-workflow,~/others/storage,~/others/web,~/others/wms --db_host psql --db_port 5432 --db_user flectra @@ -1053,19 +1197,27 @@ test_module_base_revision: - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/brand.git ~/others/brand" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/community-data-files.git ~/others/community-data-files" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/connector.git ~/others/connector" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/connector-telephony.git ~/others/connector-telephony" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/delivery-carrier.git ~/others/delivery-carrier" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/edi.git ~/others/edi" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/intrastat-extrastat.git ~/others/intrastat-extrastat" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/partner-contact.git ~/others/partner-contact" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/product-attribute.git ~/others/product-attribute" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/queue.git ~/others/queue" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/report-print-send.git ~/others/report-print-send" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/reporting-engine.git ~/others/reporting-engine" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/rest-framework.git ~/others/rest-framework" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/sale-workflow.git ~/others/sale-workflow" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/server-auth.git ~/others/server-auth" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/server-env.git ~/others/server-env" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/server-tools.git ~/others/server-tools" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/social.git ~/others/social" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/stock-logistics-transport.git ~/others/stock-logistics-transport" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/stock-logistics-warehouse.git ~/others/stock-logistics-warehouse" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/stock-logistics-workflow.git ~/others/stock-logistics-workflow" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/storage.git ~/others/storage" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/web.git ~/others/web" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/wms.git ~/others/wms" - 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 @@ -1077,7 +1229,7 @@ test_module_base_revision: - mv ${CI_PROJECT_DIR}/ci_data/filestore /opt/flectra/.local/share/filestore/test_base_revision - chown -R flectra.flectra /opt/flectra/.local/share/filestore/test_base_revision - su - flectra -c "/opt/flectra/flectra-bin - --addons-path ${CI_PROJECT_DIR},~/others/account-analytic,~/others/account-closing,~/others/account-financial-tools,~/others/account-invoicing,~/others/account-payment,~/others/bank-payment,~/others/brand,~/others/community-data-files,~/others/connector,~/others/edi,~/others/partner-contact,~/others/product-attribute,~/others/queue,~/others/reporting-engine,~/others/sale-workflow,~/others/server-auth,~/others/server-env,~/others/server-tools,~/others/social,~/others/stock-logistics-warehouse,~/others/stock-logistics-workflow,~/others/storage + --addons-path ${CI_PROJECT_DIR},~/others/account-analytic,~/others/account-closing,~/others/account-financial-tools,~/others/account-invoicing,~/others/account-payment,~/others/bank-payment,~/others/brand,~/others/community-data-files,~/others/connector,~/others/connector-telephony,~/others/delivery-carrier,~/others/edi,~/others/intrastat-extrastat,~/others/partner-contact,~/others/product-attribute,~/others/queue,~/others/report-print-send,~/others/reporting-engine,~/others/rest-framework,~/others/sale-workflow,~/others/server-auth,~/others/server-env,~/others/server-tools,~/others/social,~/others/stock-logistics-transport,~/others/stock-logistics-warehouse,~/others/stock-logistics-workflow,~/others/storage,~/others/web,~/others/wms --db_host psql --db_port 5432 --db_user flectra @@ -1108,19 +1260,27 @@ test_module_base_export_manager: - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/brand.git ~/others/brand" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/community-data-files.git ~/others/community-data-files" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/connector.git ~/others/connector" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/connector-telephony.git ~/others/connector-telephony" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/delivery-carrier.git ~/others/delivery-carrier" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/edi.git ~/others/edi" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/intrastat-extrastat.git ~/others/intrastat-extrastat" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/partner-contact.git ~/others/partner-contact" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/product-attribute.git ~/others/product-attribute" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/queue.git ~/others/queue" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/report-print-send.git ~/others/report-print-send" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/reporting-engine.git ~/others/reporting-engine" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/rest-framework.git ~/others/rest-framework" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/sale-workflow.git ~/others/sale-workflow" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/server-auth.git ~/others/server-auth" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/server-env.git ~/others/server-env" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/server-tools.git ~/others/server-tools" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/social.git ~/others/social" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/stock-logistics-transport.git ~/others/stock-logistics-transport" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/stock-logistics-warehouse.git ~/others/stock-logistics-warehouse" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/stock-logistics-workflow.git ~/others/stock-logistics-workflow" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/storage.git ~/others/storage" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/web.git ~/others/web" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/wms.git ~/others/wms" - 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 @@ -1132,7 +1292,7 @@ test_module_base_export_manager: - mv ${CI_PROJECT_DIR}/ci_data/filestore /opt/flectra/.local/share/filestore/test_base_export_manager - chown -R flectra.flectra /opt/flectra/.local/share/filestore/test_base_export_manager - su - flectra -c "/opt/flectra/flectra-bin - --addons-path ${CI_PROJECT_DIR},~/others/account-analytic,~/others/account-closing,~/others/account-financial-tools,~/others/account-invoicing,~/others/account-payment,~/others/bank-payment,~/others/brand,~/others/community-data-files,~/others/connector,~/others/edi,~/others/partner-contact,~/others/product-attribute,~/others/queue,~/others/reporting-engine,~/others/sale-workflow,~/others/server-auth,~/others/server-env,~/others/server-tools,~/others/social,~/others/stock-logistics-warehouse,~/others/stock-logistics-workflow,~/others/storage + --addons-path ${CI_PROJECT_DIR},~/others/account-analytic,~/others/account-closing,~/others/account-financial-tools,~/others/account-invoicing,~/others/account-payment,~/others/bank-payment,~/others/brand,~/others/community-data-files,~/others/connector,~/others/connector-telephony,~/others/delivery-carrier,~/others/edi,~/others/intrastat-extrastat,~/others/partner-contact,~/others/product-attribute,~/others/queue,~/others/report-print-send,~/others/reporting-engine,~/others/rest-framework,~/others/sale-workflow,~/others/server-auth,~/others/server-env,~/others/server-tools,~/others/social,~/others/stock-logistics-transport,~/others/stock-logistics-warehouse,~/others/stock-logistics-workflow,~/others/storage,~/others/web,~/others/wms --db_host psql --db_port 5432 --db_user flectra @@ -1163,19 +1323,27 @@ test_module_document_quick_access: - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/brand.git ~/others/brand" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/community-data-files.git ~/others/community-data-files" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/connector.git ~/others/connector" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/connector-telephony.git ~/others/connector-telephony" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/delivery-carrier.git ~/others/delivery-carrier" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/edi.git ~/others/edi" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/intrastat-extrastat.git ~/others/intrastat-extrastat" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/partner-contact.git ~/others/partner-contact" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/product-attribute.git ~/others/product-attribute" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/queue.git ~/others/queue" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/report-print-send.git ~/others/report-print-send" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/reporting-engine.git ~/others/reporting-engine" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/rest-framework.git ~/others/rest-framework" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/sale-workflow.git ~/others/sale-workflow" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/server-auth.git ~/others/server-auth" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/server-env.git ~/others/server-env" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/server-tools.git ~/others/server-tools" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/social.git ~/others/social" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/stock-logistics-transport.git ~/others/stock-logistics-transport" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/stock-logistics-warehouse.git ~/others/stock-logistics-warehouse" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/stock-logistics-workflow.git ~/others/stock-logistics-workflow" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/storage.git ~/others/storage" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/web.git ~/others/web" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/wms.git ~/others/wms" - 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 @@ -1187,7 +1355,7 @@ test_module_document_quick_access: - mv ${CI_PROJECT_DIR}/ci_data/filestore /opt/flectra/.local/share/filestore/test_document_quick_access - chown -R flectra.flectra /opt/flectra/.local/share/filestore/test_document_quick_access - su - flectra -c "/opt/flectra/flectra-bin - --addons-path ${CI_PROJECT_DIR},~/others/account-analytic,~/others/account-closing,~/others/account-financial-tools,~/others/account-invoicing,~/others/account-payment,~/others/bank-payment,~/others/brand,~/others/community-data-files,~/others/connector,~/others/edi,~/others/partner-contact,~/others/product-attribute,~/others/queue,~/others/reporting-engine,~/others/sale-workflow,~/others/server-auth,~/others/server-env,~/others/server-tools,~/others/social,~/others/stock-logistics-warehouse,~/others/stock-logistics-workflow,~/others/storage + --addons-path ${CI_PROJECT_DIR},~/others/account-analytic,~/others/account-closing,~/others/account-financial-tools,~/others/account-invoicing,~/others/account-payment,~/others/bank-payment,~/others/brand,~/others/community-data-files,~/others/connector,~/others/connector-telephony,~/others/delivery-carrier,~/others/edi,~/others/intrastat-extrastat,~/others/partner-contact,~/others/product-attribute,~/others/queue,~/others/report-print-send,~/others/reporting-engine,~/others/rest-framework,~/others/sale-workflow,~/others/server-auth,~/others/server-env,~/others/server-tools,~/others/social,~/others/stock-logistics-transport,~/others/stock-logistics-warehouse,~/others/stock-logistics-workflow,~/others/storage,~/others/web,~/others/wms --db_host psql --db_port 5432 --db_user flectra @@ -1218,19 +1386,27 @@ test_module_mass_editing: - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/brand.git ~/others/brand" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/community-data-files.git ~/others/community-data-files" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/connector.git ~/others/connector" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/connector-telephony.git ~/others/connector-telephony" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/delivery-carrier.git ~/others/delivery-carrier" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/edi.git ~/others/edi" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/intrastat-extrastat.git ~/others/intrastat-extrastat" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/partner-contact.git ~/others/partner-contact" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/product-attribute.git ~/others/product-attribute" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/queue.git ~/others/queue" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/report-print-send.git ~/others/report-print-send" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/reporting-engine.git ~/others/reporting-engine" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/rest-framework.git ~/others/rest-framework" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/sale-workflow.git ~/others/sale-workflow" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/server-auth.git ~/others/server-auth" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/server-env.git ~/others/server-env" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/server-tools.git ~/others/server-tools" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/social.git ~/others/social" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/stock-logistics-transport.git ~/others/stock-logistics-transport" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/stock-logistics-warehouse.git ~/others/stock-logistics-warehouse" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/stock-logistics-workflow.git ~/others/stock-logistics-workflow" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/storage.git ~/others/storage" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/web.git ~/others/web" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/wms.git ~/others/wms" - 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 @@ -1242,7 +1418,7 @@ test_module_mass_editing: - mv ${CI_PROJECT_DIR}/ci_data/filestore /opt/flectra/.local/share/filestore/test_mass_editing - chown -R flectra.flectra /opt/flectra/.local/share/filestore/test_mass_editing - su - flectra -c "/opt/flectra/flectra-bin - --addons-path ${CI_PROJECT_DIR},~/others/account-analytic,~/others/account-closing,~/others/account-financial-tools,~/others/account-invoicing,~/others/account-payment,~/others/bank-payment,~/others/brand,~/others/community-data-files,~/others/connector,~/others/edi,~/others/partner-contact,~/others/product-attribute,~/others/queue,~/others/reporting-engine,~/others/sale-workflow,~/others/server-auth,~/others/server-env,~/others/server-tools,~/others/social,~/others/stock-logistics-warehouse,~/others/stock-logistics-workflow,~/others/storage + --addons-path ${CI_PROJECT_DIR},~/others/account-analytic,~/others/account-closing,~/others/account-financial-tools,~/others/account-invoicing,~/others/account-payment,~/others/bank-payment,~/others/brand,~/others/community-data-files,~/others/connector,~/others/connector-telephony,~/others/delivery-carrier,~/others/edi,~/others/intrastat-extrastat,~/others/partner-contact,~/others/product-attribute,~/others/queue,~/others/report-print-send,~/others/reporting-engine,~/others/rest-framework,~/others/sale-workflow,~/others/server-auth,~/others/server-env,~/others/server-tools,~/others/social,~/others/stock-logistics-transport,~/others/stock-logistics-warehouse,~/others/stock-logistics-workflow,~/others/storage,~/others/web,~/others/wms --db_host psql --db_port 5432 --db_user flectra @@ -1273,19 +1449,27 @@ test_module_base_tier_validation_server_action: - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/brand.git ~/others/brand" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/community-data-files.git ~/others/community-data-files" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/connector.git ~/others/connector" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/connector-telephony.git ~/others/connector-telephony" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/delivery-carrier.git ~/others/delivery-carrier" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/edi.git ~/others/edi" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/intrastat-extrastat.git ~/others/intrastat-extrastat" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/partner-contact.git ~/others/partner-contact" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/product-attribute.git ~/others/product-attribute" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/queue.git ~/others/queue" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/report-print-send.git ~/others/report-print-send" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/reporting-engine.git ~/others/reporting-engine" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/rest-framework.git ~/others/rest-framework" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/sale-workflow.git ~/others/sale-workflow" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/server-auth.git ~/others/server-auth" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/server-env.git ~/others/server-env" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/server-tools.git ~/others/server-tools" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/social.git ~/others/social" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/stock-logistics-transport.git ~/others/stock-logistics-transport" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/stock-logistics-warehouse.git ~/others/stock-logistics-warehouse" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/stock-logistics-workflow.git ~/others/stock-logistics-workflow" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/storage.git ~/others/storage" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/web.git ~/others/web" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/wms.git ~/others/wms" - 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 @@ -1297,7 +1481,7 @@ test_module_base_tier_validation_server_action: - mv ${CI_PROJECT_DIR}/ci_data/filestore /opt/flectra/.local/share/filestore/test_base_tier_validation_server_action - chown -R flectra.flectra /opt/flectra/.local/share/filestore/test_base_tier_validation_server_action - su - flectra -c "/opt/flectra/flectra-bin - --addons-path ${CI_PROJECT_DIR},~/others/account-analytic,~/others/account-closing,~/others/account-financial-tools,~/others/account-invoicing,~/others/account-payment,~/others/bank-payment,~/others/brand,~/others/community-data-files,~/others/connector,~/others/edi,~/others/partner-contact,~/others/product-attribute,~/others/queue,~/others/reporting-engine,~/others/sale-workflow,~/others/server-auth,~/others/server-env,~/others/server-tools,~/others/social,~/others/stock-logistics-warehouse,~/others/stock-logistics-workflow,~/others/storage + --addons-path ${CI_PROJECT_DIR},~/others/account-analytic,~/others/account-closing,~/others/account-financial-tools,~/others/account-invoicing,~/others/account-payment,~/others/bank-payment,~/others/brand,~/others/community-data-files,~/others/connector,~/others/connector-telephony,~/others/delivery-carrier,~/others/edi,~/others/intrastat-extrastat,~/others/partner-contact,~/others/product-attribute,~/others/queue,~/others/report-print-send,~/others/reporting-engine,~/others/rest-framework,~/others/sale-workflow,~/others/server-auth,~/others/server-env,~/others/server-tools,~/others/social,~/others/stock-logistics-transport,~/others/stock-logistics-warehouse,~/others/stock-logistics-workflow,~/others/storage,~/others/web,~/others/wms --db_host psql --db_port 5432 --db_user flectra @@ -1328,19 +1512,27 @@ test_module_mass_operation_abstract: - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/brand.git ~/others/brand" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/community-data-files.git ~/others/community-data-files" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/connector.git ~/others/connector" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/connector-telephony.git ~/others/connector-telephony" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/delivery-carrier.git ~/others/delivery-carrier" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/edi.git ~/others/edi" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/intrastat-extrastat.git ~/others/intrastat-extrastat" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/partner-contact.git ~/others/partner-contact" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/product-attribute.git ~/others/product-attribute" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/queue.git ~/others/queue" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/report-print-send.git ~/others/report-print-send" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/reporting-engine.git ~/others/reporting-engine" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/rest-framework.git ~/others/rest-framework" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/sale-workflow.git ~/others/sale-workflow" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/server-auth.git ~/others/server-auth" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/server-env.git ~/others/server-env" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/server-tools.git ~/others/server-tools" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/social.git ~/others/social" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/stock-logistics-transport.git ~/others/stock-logistics-transport" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/stock-logistics-warehouse.git ~/others/stock-logistics-warehouse" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/stock-logistics-workflow.git ~/others/stock-logistics-workflow" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/storage.git ~/others/storage" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/web.git ~/others/web" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/wms.git ~/others/wms" - 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 @@ -1352,7 +1544,7 @@ test_module_mass_operation_abstract: - mv ${CI_PROJECT_DIR}/ci_data/filestore /opt/flectra/.local/share/filestore/test_mass_operation_abstract - chown -R flectra.flectra /opt/flectra/.local/share/filestore/test_mass_operation_abstract - su - flectra -c "/opt/flectra/flectra-bin - --addons-path ${CI_PROJECT_DIR},~/others/account-analytic,~/others/account-closing,~/others/account-financial-tools,~/others/account-invoicing,~/others/account-payment,~/others/bank-payment,~/others/brand,~/others/community-data-files,~/others/connector,~/others/edi,~/others/partner-contact,~/others/product-attribute,~/others/queue,~/others/reporting-engine,~/others/sale-workflow,~/others/server-auth,~/others/server-env,~/others/server-tools,~/others/social,~/others/stock-logistics-warehouse,~/others/stock-logistics-workflow,~/others/storage + --addons-path ${CI_PROJECT_DIR},~/others/account-analytic,~/others/account-closing,~/others/account-financial-tools,~/others/account-invoicing,~/others/account-payment,~/others/bank-payment,~/others/brand,~/others/community-data-files,~/others/connector,~/others/connector-telephony,~/others/delivery-carrier,~/others/edi,~/others/intrastat-extrastat,~/others/partner-contact,~/others/product-attribute,~/others/queue,~/others/report-print-send,~/others/reporting-engine,~/others/rest-framework,~/others/sale-workflow,~/others/server-auth,~/others/server-env,~/others/server-tools,~/others/social,~/others/stock-logistics-transport,~/others/stock-logistics-warehouse,~/others/stock-logistics-workflow,~/others/storage,~/others/web,~/others/wms --db_host psql --db_port 5432 --db_user flectra @@ -1383,19 +1575,27 @@ test_module_chained_swapper: - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/brand.git ~/others/brand" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/community-data-files.git ~/others/community-data-files" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/connector.git ~/others/connector" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/connector-telephony.git ~/others/connector-telephony" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/delivery-carrier.git ~/others/delivery-carrier" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/edi.git ~/others/edi" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/intrastat-extrastat.git ~/others/intrastat-extrastat" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/partner-contact.git ~/others/partner-contact" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/product-attribute.git ~/others/product-attribute" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/queue.git ~/others/queue" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/report-print-send.git ~/others/report-print-send" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/reporting-engine.git ~/others/reporting-engine" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/rest-framework.git ~/others/rest-framework" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/sale-workflow.git ~/others/sale-workflow" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/server-auth.git ~/others/server-auth" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/server-env.git ~/others/server-env" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/server-tools.git ~/others/server-tools" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/social.git ~/others/social" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/stock-logistics-transport.git ~/others/stock-logistics-transport" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/stock-logistics-warehouse.git ~/others/stock-logistics-warehouse" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/stock-logistics-workflow.git ~/others/stock-logistics-workflow" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/storage.git ~/others/storage" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/web.git ~/others/web" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/wms.git ~/others/wms" - 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 @@ -1407,7 +1607,7 @@ test_module_chained_swapper: - mv ${CI_PROJECT_DIR}/ci_data/filestore /opt/flectra/.local/share/filestore/test_chained_swapper - chown -R flectra.flectra /opt/flectra/.local/share/filestore/test_chained_swapper - su - flectra -c "/opt/flectra/flectra-bin - --addons-path ${CI_PROJECT_DIR},~/others/account-analytic,~/others/account-closing,~/others/account-financial-tools,~/others/account-invoicing,~/others/account-payment,~/others/bank-payment,~/others/brand,~/others/community-data-files,~/others/connector,~/others/edi,~/others/partner-contact,~/others/product-attribute,~/others/queue,~/others/reporting-engine,~/others/sale-workflow,~/others/server-auth,~/others/server-env,~/others/server-tools,~/others/social,~/others/stock-logistics-warehouse,~/others/stock-logistics-workflow,~/others/storage + --addons-path ${CI_PROJECT_DIR},~/others/account-analytic,~/others/account-closing,~/others/account-financial-tools,~/others/account-invoicing,~/others/account-payment,~/others/bank-payment,~/others/brand,~/others/community-data-files,~/others/connector,~/others/connector-telephony,~/others/delivery-carrier,~/others/edi,~/others/intrastat-extrastat,~/others/partner-contact,~/others/product-attribute,~/others/queue,~/others/report-print-send,~/others/reporting-engine,~/others/rest-framework,~/others/sale-workflow,~/others/server-auth,~/others/server-env,~/others/server-tools,~/others/social,~/others/stock-logistics-transport,~/others/stock-logistics-warehouse,~/others/stock-logistics-workflow,~/others/storage,~/others/web,~/others/wms --db_host psql --db_port 5432 --db_user flectra @@ -1438,19 +1638,27 @@ test_module_base_optional_quick_create: - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/brand.git ~/others/brand" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/community-data-files.git ~/others/community-data-files" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/connector.git ~/others/connector" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/connector-telephony.git ~/others/connector-telephony" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/delivery-carrier.git ~/others/delivery-carrier" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/edi.git ~/others/edi" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/intrastat-extrastat.git ~/others/intrastat-extrastat" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/partner-contact.git ~/others/partner-contact" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/product-attribute.git ~/others/product-attribute" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/queue.git ~/others/queue" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/report-print-send.git ~/others/report-print-send" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/reporting-engine.git ~/others/reporting-engine" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/rest-framework.git ~/others/rest-framework" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/sale-workflow.git ~/others/sale-workflow" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/server-auth.git ~/others/server-auth" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/server-env.git ~/others/server-env" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/server-tools.git ~/others/server-tools" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/social.git ~/others/social" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/stock-logistics-transport.git ~/others/stock-logistics-transport" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/stock-logistics-warehouse.git ~/others/stock-logistics-warehouse" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/stock-logistics-workflow.git ~/others/stock-logistics-workflow" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/storage.git ~/others/storage" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/web.git ~/others/web" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/wms.git ~/others/wms" - 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 @@ -1462,7 +1670,7 @@ test_module_base_optional_quick_create: - mv ${CI_PROJECT_DIR}/ci_data/filestore /opt/flectra/.local/share/filestore/test_base_optional_quick_create - chown -R flectra.flectra /opt/flectra/.local/share/filestore/test_base_optional_quick_create - su - flectra -c "/opt/flectra/flectra-bin - --addons-path ${CI_PROJECT_DIR},~/others/account-analytic,~/others/account-closing,~/others/account-financial-tools,~/others/account-invoicing,~/others/account-payment,~/others/bank-payment,~/others/brand,~/others/community-data-files,~/others/connector,~/others/edi,~/others/partner-contact,~/others/product-attribute,~/others/queue,~/others/reporting-engine,~/others/sale-workflow,~/others/server-auth,~/others/server-env,~/others/server-tools,~/others/social,~/others/stock-logistics-warehouse,~/others/stock-logistics-workflow,~/others/storage + --addons-path ${CI_PROJECT_DIR},~/others/account-analytic,~/others/account-closing,~/others/account-financial-tools,~/others/account-invoicing,~/others/account-payment,~/others/bank-payment,~/others/brand,~/others/community-data-files,~/others/connector,~/others/connector-telephony,~/others/delivery-carrier,~/others/edi,~/others/intrastat-extrastat,~/others/partner-contact,~/others/product-attribute,~/others/queue,~/others/report-print-send,~/others/reporting-engine,~/others/rest-framework,~/others/sale-workflow,~/others/server-auth,~/others/server-env,~/others/server-tools,~/others/social,~/others/stock-logistics-transport,~/others/stock-logistics-warehouse,~/others/stock-logistics-workflow,~/others/storage,~/others/web,~/others/wms --db_host psql --db_port 5432 --db_user flectra @@ -1493,19 +1701,27 @@ test_module_document_quick_access_folder_auto_classification: - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/brand.git ~/others/brand" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/community-data-files.git ~/others/community-data-files" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/connector.git ~/others/connector" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/connector-telephony.git ~/others/connector-telephony" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/delivery-carrier.git ~/others/delivery-carrier" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/edi.git ~/others/edi" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/intrastat-extrastat.git ~/others/intrastat-extrastat" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/partner-contact.git ~/others/partner-contact" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/product-attribute.git ~/others/product-attribute" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/queue.git ~/others/queue" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/report-print-send.git ~/others/report-print-send" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/reporting-engine.git ~/others/reporting-engine" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/rest-framework.git ~/others/rest-framework" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/sale-workflow.git ~/others/sale-workflow" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/server-auth.git ~/others/server-auth" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/server-env.git ~/others/server-env" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/server-tools.git ~/others/server-tools" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/social.git ~/others/social" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/stock-logistics-transport.git ~/others/stock-logistics-transport" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/stock-logistics-warehouse.git ~/others/stock-logistics-warehouse" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/stock-logistics-workflow.git ~/others/stock-logistics-workflow" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/storage.git ~/others/storage" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/web.git ~/others/web" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/wms.git ~/others/wms" - 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 @@ -1517,7 +1733,7 @@ test_module_document_quick_access_folder_auto_classification: - mv ${CI_PROJECT_DIR}/ci_data/filestore /opt/flectra/.local/share/filestore/test_document_quick_access_folder_auto_classification - chown -R flectra.flectra /opt/flectra/.local/share/filestore/test_document_quick_access_folder_auto_classification - su - flectra -c "/opt/flectra/flectra-bin - --addons-path ${CI_PROJECT_DIR},~/others/account-analytic,~/others/account-closing,~/others/account-financial-tools,~/others/account-invoicing,~/others/account-payment,~/others/bank-payment,~/others/brand,~/others/community-data-files,~/others/connector,~/others/edi,~/others/partner-contact,~/others/product-attribute,~/others/queue,~/others/reporting-engine,~/others/sale-workflow,~/others/server-auth,~/others/server-env,~/others/server-tools,~/others/social,~/others/stock-logistics-warehouse,~/others/stock-logistics-workflow,~/others/storage + --addons-path ${CI_PROJECT_DIR},~/others/account-analytic,~/others/account-closing,~/others/account-financial-tools,~/others/account-invoicing,~/others/account-payment,~/others/bank-payment,~/others/brand,~/others/community-data-files,~/others/connector,~/others/connector-telephony,~/others/delivery-carrier,~/others/edi,~/others/intrastat-extrastat,~/others/partner-contact,~/others/product-attribute,~/others/queue,~/others/report-print-send,~/others/reporting-engine,~/others/rest-framework,~/others/sale-workflow,~/others/server-auth,~/others/server-env,~/others/server-tools,~/others/social,~/others/stock-logistics-transport,~/others/stock-logistics-warehouse,~/others/stock-logistics-workflow,~/others/storage,~/others/web,~/others/wms --db_host psql --db_port 5432 --db_user flectra diff --git a/multi_step_wizard/i18n/ca.po b/multi_step_wizard/i18n/ca.po new file mode 100644 index 0000000..1f11c5b --- /dev/null +++ b/multi_step_wizard/i18n/ca.po @@ -0,0 +1,62 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * multi_step_wizard +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 14.0\n" +"Report-Msgid-Bugs-To: \n" +"PO-Revision-Date: 2022-01-26 18:52+0000\n" +"Last-Translator: Jaume Planas \n" +"Language-Team: none\n" +"Language: ca\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Plural-Forms: nplurals=2; plural=n != 1;\n" +"X-Generator: Weblate 4.3.2\n" + +#. module: multi_step_wizard +#: model:ir.model.fields,field_description:multi_step_wizard.field_multi_step_wizard_mixin__allow_back +msgid "Allow Back" +msgstr "Permet enrera" + +#. module: multi_step_wizard +#: model_terms:ir.ui.view,arch_db:multi_step_wizard.multi_step_wizard_form +msgid "Cancel" +msgstr "Cancel·la" + +#. module: multi_step_wizard +#: model:ir.model.fields,field_description:multi_step_wizard.field_multi_step_wizard_mixin__display_name +msgid "Display Name" +msgstr "nOM" + +#. module: multi_step_wizard +#: model_terms:ir.ui.view,arch_db:multi_step_wizard.multi_step_wizard_form +msgid "Go Back" +msgstr "Enrera" + +#. module: multi_step_wizard +#: model:ir.model.fields,field_description:multi_step_wizard.field_multi_step_wizard_mixin__id +msgid "ID" +msgstr "ID" + +#. module: multi_step_wizard +#: model:ir.model.fields,field_description:multi_step_wizard.field_multi_step_wizard_mixin____last_update +msgid "Last Modified on" +msgstr "Última modificació el" + +#. module: multi_step_wizard +#: model:ir.model,name:multi_step_wizard.model_multi_step_wizard_mixin +msgid "Multi Steps Wizard Mixin" +msgstr "Mixin Assistent multipas" + +#. module: multi_step_wizard +#: model_terms:ir.ui.view,arch_db:multi_step_wizard.multi_step_wizard_form +msgid "Next" +msgstr "Següent" + +#. module: multi_step_wizard +#: model:ir.model.fields,field_description:multi_step_wizard.field_multi_step_wizard_mixin__state +msgid "State" +msgstr "Estat" From 76daed77a23fc86e9f073007b1e7fe9f4350130c Mon Sep 17 00:00:00 2001 From: Flectra Community Bot Date: Sun, 6 Feb 2022 03:14:41 +0000 Subject: [PATCH 20/21] Automatic Update form OCA2FC Migrator --- .gitlab-ci.yml | 66 +- README.md | 7 +- barcode_action/__manifest__.py | 2 +- barcode_action/models/res_partner.py | 20 +- base_cancel_confirm/__manifest__.py | 2 +- .../model/base_cancel_confirm.py | 7 +- date_range_account/COPYRIGHT | 15 + date_range_account/LICENSE | 663 ++++++++++++++++++ date_range_account/README.rst | 81 +++ date_range_account/__init__.py | 0 date_range_account/__manifest__.py | 21 + .../i18n/date_range_account.pot | 34 + .../security/ir.model.access.csv | 4 + .../static/description/icon.png | Bin 0 -> 9455 bytes .../static/description/index.html | 421 +++++++++++ date_range_account/views/date_range.xml | 31 + mass_operation_abstract/__manifest__.py | 2 +- .../wizard/mass_operation_wizard_mixin.py | 2 +- 18 files changed, 1355 insertions(+), 23 deletions(-) create mode 100644 date_range_account/COPYRIGHT create mode 100644 date_range_account/LICENSE create mode 100644 date_range_account/README.rst create mode 100644 date_range_account/__init__.py create mode 100644 date_range_account/__manifest__.py create mode 100644 date_range_account/i18n/date_range_account.pot create mode 100644 date_range_account/security/ir.model.access.csv create mode 100644 date_range_account/static/description/icon.png create mode 100644 date_range_account/static/description/index.html create mode 100644 date_range_account/views/date_range.xml diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 13d8369..08c3202 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -74,7 +74,7 @@ test_all_modules: --db_password flectra --database test_all --test-enable - --init base_cancel_confirm,base_substate,filter_multi_user,default_multi_user,sequence_range_end,sequence_reset_period,sequence_check_digit,base_import_security_group,date_range,base_tier_validation_forward,base_menu_visibility_restriction,barcode_action,multi_step_wizard,base_technical_features,base_tier_validation_formula,base_tier_validation,base_search_custom_field_filter,base_revision,base_export_manager,document_quick_access,mass_editing,base_tier_validation_server_action,mass_operation_abstract,chained_swapper,base_optional_quick_create,document_quick_access_folder_auto_classification + --init base_cancel_confirm,base_substate,filter_multi_user,default_multi_user,sequence_range_end,sequence_reset_period,sequence_check_digit,base_import_security_group,date_range,date_range_account,base_tier_validation_forward,base_menu_visibility_restriction,barcode_action,multi_step_wizard,base_technical_features,base_tier_validation_formula,base_tier_validation,base_search_custom_field_filter,base_revision,base_export_manager,document_quick_access,mass_editing,base_tier_validation_server_action,mass_operation_abstract,chained_swapper,base_optional_quick_create,document_quick_access_folder_auto_classification --stop-after-init --log-level error --log-handler flectra.addons.base_cancel_confirm:TEST @@ -86,6 +86,7 @@ test_all_modules: --log-handler flectra.addons.sequence_check_digit:TEST --log-handler flectra.addons.base_import_security_group:TEST --log-handler flectra.addons.date_range:TEST + --log-handler flectra.addons.date_range_account:TEST --log-handler flectra.addons.base_tier_validation_forward:TEST --log-handler flectra.addons.base_menu_visibility_restriction:TEST --log-handler flectra.addons.barcode_action:TEST @@ -673,6 +674,69 @@ test_module_date_range: --log-level error --log-handler flectra.addons.date_range:TEST" +test_module_date_range_account: + 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 libzbar0 poppler-utils + - 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/account-analytic.git ~/others/account-analytic" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/account-closing.git ~/others/account-closing" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/account-financial-tools.git ~/others/account-financial-tools" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/account-invoicing.git ~/others/account-invoicing" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/account-payment.git ~/others/account-payment" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/bank-payment.git ~/others/bank-payment" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/brand.git ~/others/brand" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/community-data-files.git ~/others/community-data-files" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/connector.git ~/others/connector" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/connector-telephony.git ~/others/connector-telephony" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/delivery-carrier.git ~/others/delivery-carrier" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/edi.git ~/others/edi" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/intrastat-extrastat.git ~/others/intrastat-extrastat" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/partner-contact.git ~/others/partner-contact" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/product-attribute.git ~/others/product-attribute" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/queue.git ~/others/queue" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/report-print-send.git ~/others/report-print-send" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/reporting-engine.git ~/others/reporting-engine" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/rest-framework.git ~/others/rest-framework" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/sale-workflow.git ~/others/sale-workflow" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/server-auth.git ~/others/server-auth" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/server-env.git ~/others/server-env" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/server-tools.git ~/others/server-tools" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/social.git ~/others/social" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/stock-logistics-transport.git ~/others/stock-logistics-transport" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/stock-logistics-warehouse.git ~/others/stock-logistics-warehouse" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/stock-logistics-workflow.git ~/others/stock-logistics-workflow" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/storage.git ~/others/storage" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/web.git ~/others/web" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/wms.git ~/others/wms" + - 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_date_range_account + - psql -h psql -U flectra -d test_date_range_account -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_date_range_account + - chown -R flectra.flectra /opt/flectra/.local/share/filestore/test_date_range_account + - su - flectra -c "/opt/flectra/flectra-bin + --addons-path ${CI_PROJECT_DIR},~/others/account-analytic,~/others/account-closing,~/others/account-financial-tools,~/others/account-invoicing,~/others/account-payment,~/others/bank-payment,~/others/brand,~/others/community-data-files,~/others/connector,~/others/connector-telephony,~/others/delivery-carrier,~/others/edi,~/others/intrastat-extrastat,~/others/partner-contact,~/others/product-attribute,~/others/queue,~/others/report-print-send,~/others/reporting-engine,~/others/rest-framework,~/others/sale-workflow,~/others/server-auth,~/others/server-env,~/others/server-tools,~/others/social,~/others/stock-logistics-transport,~/others/stock-logistics-warehouse,~/others/stock-logistics-workflow,~/others/storage,~/others/web,~/others/wms + --db_host psql + --db_port 5432 + --db_user flectra + --db_password flectra + --database test_date_range_account + --test-enable -i date_range_account + --stop-after-init + --log-level error + --log-handler flectra.addons.date_range_account:TEST" + test_module_base_tier_validation_forward: stage: testsingle when: on_failure diff --git a/README.md b/README.md index 4071662..1c95b21 100644 --- a/README.md +++ b/README.md @@ -9,7 +9,7 @@ Available addons addon | version | summary --- | --- | --- -[base_cancel_confirm](base_cancel_confirm/) | 2.0.1.0.2| Base Cancel Confirm +[base_cancel_confirm](base_cancel_confirm/) | 2.0.1.0.3| Base Cancel Confirm [base_substate](base_substate/) | 2.0.1.0.0| Base Sub State [filter_multi_user](filter_multi_user/) | 2.0.1.0.0| Allows to share user-defined filters filters among several users. [default_multi_user](default_multi_user/) | 2.0.1.0.0| Allows to share user-defined defaults among several users. @@ -18,9 +18,10 @@ addon | version | summary [sequence_check_digit](sequence_check_digit/) | 2.0.1.0.0| Adds a check digit on sequences [base_import_security_group](base_import_security_group/) | 2.0.1.0.0| Group-based permissions for importing CSV files [date_range](date_range/) | 2.0.2.1.0| Manage all kind of date range +[date_range_account](date_range_account/) | 2.0.1.0.0| Add Date Range menu entry in Invoicing app [base_tier_validation_forward](base_tier_validation_forward/) | 2.0.1.0.2| Forward option for base tiers [base_menu_visibility_restriction](base_menu_visibility_restriction/) | 2.0.1.0.0| Restrict (with groups) menu visibilty -[barcode_action](barcode_action/) | 2.0.1.0.0| Allows to use barcodes as a launcher +[barcode_action](barcode_action/) | 2.0.1.0.1| Allows to use barcodes as a launcher [multi_step_wizard](multi_step_wizard/) | 2.0.1.0.0| Multi-Steps Wizards [base_technical_features](base_technical_features/) | 2.0.1.1.1| Access to technical features without activating debug mode [base_tier_validation_formula](base_tier_validation_formula/) | 2.0.2.0.1| Formulas for Base tier validation @@ -31,7 +32,7 @@ addon | version | summary [document_quick_access](document_quick_access/) | 2.0.1.0.0| Document quick access [mass_editing](mass_editing/) | 2.0.1.1.0| Mass Editing [base_tier_validation_server_action](base_tier_validation_server_action/) | 2.0.1.1.1| Add option to call server action when a tier is validated -[mass_operation_abstract](mass_operation_abstract/) | 2.0.1.0.1| Abstract Tools used for modules that realize operation on many items +[mass_operation_abstract](mass_operation_abstract/) | 2.0.1.0.2| Abstract Tools used for modules that realize operation on many items [chained_swapper](chained_swapper/) | 2.0.1.0.0| Chained Swapper [base_optional_quick_create](base_optional_quick_create/) | 2.0.1.0.0| Avoid "quick create" on m2o fields, on a "by model" basis [document_quick_access_folder_auto_classification](document_quick_access_folder_auto_classification/) | 2.0.1.0.0| Auto classification of Documents after reading a QR diff --git a/barcode_action/__manifest__.py b/barcode_action/__manifest__.py index 3acab78..05a4140 100644 --- a/barcode_action/__manifest__.py +++ b/barcode_action/__manifest__.py @@ -4,7 +4,7 @@ { "name": "Barcode action launcher", - "version": "2.0.1.0.0", + "version": "2.0.1.0.1", "category": "Extra Tools", "website": "https://gitlab.com/flectra-community/server-ux", "author": "Creu Blanca, ForgeFlow, Odoo Community Association (OCA)", diff --git a/barcode_action/models/res_partner.py b/barcode_action/models/res_partner.py index 8e5638c..cb01209 100644 --- a/barcode_action/models/res_partner.py +++ b/barcode_action/models/res_partner.py @@ -13,9 +13,9 @@ class ResPartner(models.Model): def find_res_partner_by_ref_using_barcode(self, barcode): partner = self.search([("ref", "=", barcode)], limit=1) if not partner: - action = self.env.ref("barcode_action.res_partner_find") - result = action.read()[0] - context = safe_eval(result["context"]) + xmlid = "barcode_action.res_partner_find" + action = self.env["ir.actions.act_window"]._for_xml_id(xmlid) + context = safe_eval(action["context"]) context.update( { "default_state": "warning", @@ -25,11 +25,11 @@ class ResPartner(models.Model): % barcode, } ) - result["context"] = json.dumps(context) - return result - action = self.env.ref("base.action_partner_form") - result = action.read()[0] + action["context"] = json.dumps(context) + return action + xmlid = "base.action_partner_form" + action = self.env["ir.actions.act_window"]._for_xml_id(xmlid) res = self.env.ref("base.view_partner_form", False) - result["views"] = [(res and res.id or False, "form")] - result["res_id"] = partner.id - return result + action["views"] = [(res and res.id or False, "form")] + action["res_id"] = partner.id + return action diff --git a/base_cancel_confirm/__manifest__.py b/base_cancel_confirm/__manifest__.py index 044c211..3fbcb40 100644 --- a/base_cancel_confirm/__manifest__.py +++ b/base_cancel_confirm/__manifest__.py @@ -3,7 +3,7 @@ { "name": "Base Cancel Confirm", - "version": "2.0.1.0.2", + "version": "2.0.1.0.3", "author": "Ecosoft,Odoo Community Association (OCA)", "category": "Usability", "license": "AGPL-3", diff --git a/base_cancel_confirm/model/base_cancel_confirm.py b/base_cancel_confirm/model/base_cancel_confirm.py index 5eb826c..f11cec1 100644 --- a/base_cancel_confirm/model/base_cancel_confirm.py +++ b/base_cancel_confirm/model/base_cancel_confirm.py @@ -26,11 +26,8 @@ class BaseCancelConfirm(models.AbstractModel): ) def open_cancel_confirm_wizard(self): - action = ( - self.env.ref("base_cancel_confirm.action_cancel_confirm_wizard") - .sudo() - .read()[0] - ) + xmlid = "base_cancel_confirm.action_cancel_confirm_wizard" + action = self.env["ir.actions.act_window"]._for_xml_id(xmlid) action["context"] = { "cancel_res_model": self._name, "cancel_res_ids": self.ids, diff --git a/date_range_account/COPYRIGHT b/date_range_account/COPYRIGHT new file mode 100644 index 0000000..296046d --- /dev/null +++ b/date_range_account/COPYRIGHT @@ -0,0 +1,15 @@ +Most of the files are + + :Copyright: This stylesheet has been placed in the public domain. + Copyright 2021 Akretion France (http://www.akretion.com/) + Copyright 2018 Flectra Community + +Many files also contain contributions from third +parties. In this case the original copyright of +the contributions can be traced through the +history of the source version control system. + +When that is not the case, the files contain a prominent +notice stating the original copyright and applicable +license, or come with their own dedicated COPYRIGHT +and/or LICENSE file. \ No newline at end of file diff --git a/date_range_account/LICENSE b/date_range_account/LICENSE new file mode 100644 index 0000000..3939cd9 --- /dev/null +++ b/date_range_account/LICENSE @@ -0,0 +1,663 @@ +For copyright information, please see the COPYRIGHT file. + +GNU AFFERO GENERAL PUBLIC LICENSE + Version 3, 19 November 2007 + + Copyright (C) 2007 Free Software Foundation, Inc. + Everyone is permitted to copy and distribute verbatim copies + of this license document, but changing it is not allowed. + + Preamble + + The GNU Affero General Public License is a free, copyleft license for +software and other kinds of works, specifically designed to ensure +cooperation with the community in the case of network server software. + + The licenses for most software and other practical works are designed +to take away your freedom to share and change the works. By contrast, +our General Public Licenses are intended to guarantee your freedom to +share and change all versions of a program--to make sure it remains free +software for all its users. + + When we speak of free software, we are referring to freedom, not +price. Our General Public Licenses are designed to make sure that you +have the freedom to distribute copies of free software (and charge for +them if you wish), that you receive source code or can get it if you +want it, that you can change the software or use pieces of it in new +free programs, and that you know you can do these things. + + Developers that use our General Public Licenses protect your rights +with two steps: (1) assert copyright on the software, and (2) offer +you this License which gives you legal permission to copy, distribute +and/or modify the software. + + A secondary benefit of defending all users' freedom is that +improvements made in alternate versions of the program, if they +receive widespread use, become available for other developers to +incorporate. Many developers of free software are heartened and +encouraged by the resulting cooperation. However, in the case of +software used on network servers, this result may fail to come about. +The GNU General Public License permits making a modified version and +letting the public access it on a server without ever releasing its +source code to the public. + + The GNU Affero General Public License is designed specifically to +ensure that, in such cases, the modified source code becomes available +to the community. It requires the operator of a network server to +provide the source code of the modified version running there to the +users of that server. Therefore, public use of a modified version, on +a publicly accessible server, gives the public access to the source +code of the modified version. + + An older license, called the Affero General Public License and +published by Affero, was designed to accomplish similar goals. This is +a different license, not a version of the Affero GPL, but Affero has +released a new version of the Affero GPL which permits relicensing under +this license. + + The precise terms and conditions for copying, distribution and +modification follow. + + TERMS AND CONDITIONS + + 0. Definitions. + + "This License" refers to version 3 of the GNU Affero General Public License. + + "Copyright" also means copyright-like laws that apply to other kinds of +works, such as semiconductor masks. + + "The Program" refers to any copyrightable work licensed under this +License. Each licensee is addressed as "you". "Licensees" and +"recipients" may be individuals or organizations. + + To "modify" a work means to copy from or adapt all or part of the work +in a fashion requiring copyright permission, other than the making of an +exact copy. The resulting work is called a "modified version" of the +earlier work or a work "based on" the earlier work. + + A "covered work" means either the unmodified Program or a work based +on the Program. + + To "propagate" a work means to do anything with it that, without +permission, would make you directly or secondarily liable for +infringement under applicable copyright law, except executing it on a +computer or modifying a private copy. Propagation includes copying, +distribution (with or without modification), making available to the +public, and in some countries other activities as well. + + To "convey" a work means any kind of propagation that enables other +parties to make or receive copies. Mere interaction with a user through +a computer network, with no transfer of a copy, is not conveying. + + An interactive user interface displays "Appropriate Legal Notices" +to the extent that it includes a convenient and prominently visible +feature that (1) displays an appropriate copyright notice, and (2) +tells the user that there is no warranty for the work (except to the +extent that warranties are provided), that licensees may convey the +work under this License, and how to view a copy of this License. If +the interface presents a list of user commands or options, such as a +menu, a prominent item in the list meets this criterion. + + 1. Source Code. + + The "source code" for a work means the preferred form of the work +for making modifications to it. "Object code" means any non-source +form of a work. + + A "Standard Interface" means an interface that either is an official +standard defined by a recognized standards body, or, in the case of +interfaces specified for a particular programming language, one that +is widely used among developers working in that language. + + The "System Libraries" of an executable work include anything, other +than the work as a whole, that (a) is included in the normal form of +packaging a Major Component, but which is not part of that Major +Component, and (b) serves only to enable use of the work with that +Major Component, or to implement a Standard Interface for which an +implementation is available to the public in source code form. A +"Major Component", in this context, means a major essential component +(kernel, window system, and so on) of the specific operating system +(if any) on which the executable work runs, or a compiler used to +produce the work, or an object code interpreter used to run it. + + The "Corresponding Source" for a work in object code form means all +the source code needed to generate, install, and (for an executable +work) run the object code and to modify the work, including scripts to +control those activities. However, it does not include the work's +System Libraries, or general-purpose tools or generally available free +programs which are used unmodified in performing those activities but +which are not part of the work. For example, Corresponding Source +includes interface definition files associated with source files for +the work, and the source code for shared libraries and dynamically +linked subprograms that the work is specifically designed to require, +such as by intimate data communication or control flow between those +subprograms and other parts of the work. + + The Corresponding Source need not include anything that users +can regenerate automatically from other parts of the Corresponding +Source. + + The Corresponding Source for a work in source code form is that +same work. + + 2. Basic Permissions. + + All rights granted under this License are granted for the term of +copyright on the Program, and are irrevocable provided the stated +conditions are met. This License explicitly affirms your unlimited +permission to run the unmodified Program. The output from running a +covered work is covered by this License only if the output, given its +content, constitutes a covered work. This License acknowledges your +rights of fair use or other equivalent, as provided by copyright law. + + You may make, run and propagate covered works that you do not +convey, without conditions so long as your license otherwise remains +in force. You may convey covered works to others for the sole purpose +of having them make modifications exclusively for you, or provide you +with facilities for running those works, provided that you comply with +the terms of this License in conveying all material for which you do +not control copyright. Those thus making or running the covered works +for you must do so exclusively on your behalf, under your direction +and control, on terms that prohibit them from making any copies of +your copyrighted material outside their relationship with you. + + Conveying under any other circumstances is permitted solely under +the conditions stated below. Sublicensing is not allowed; section 10 +makes it unnecessary. + + 3. Protecting Users' Legal Rights From Anti-Circumvention Law. + + No covered work shall be deemed part of an effective technological +measure under any applicable law fulfilling obligations under article +11 of the WIPO copyright treaty adopted on 20 December 1996, or +similar laws prohibiting or restricting circumvention of such +measures. + + When you convey a covered work, you waive any legal power to forbid +circumvention of technological measures to the extent such circumvention +is effected by exercising rights under this License with respect to +the covered work, and you disclaim any intention to limit operation or +modification of the work as a means of enforcing, against the work's +users, your or third parties' legal rights to forbid circumvention of +technological measures. + + 4. Conveying Verbatim Copies. + + You may convey verbatim copies of the Program's source code as you +receive it, in any medium, provided that you conspicuously and +appropriately publish on each copy an appropriate copyright notice; +keep intact all notices stating that this License and any +non-permissive terms added in accord with section 7 apply to the code; +keep intact all notices of the absence of any warranty; and give all +recipients a copy of this License along with the Program. + + You may charge any price or no price for each copy that you convey, +and you may offer support or warranty protection for a fee. + + 5. Conveying Modified Source Versions. + + You may convey a work based on the Program, or the modifications to +produce it from the Program, in the form of source code under the +terms of section 4, provided that you also meet all of these conditions: + + a) The work must carry prominent notices stating that you modified + it, and giving a relevant date. + + b) The work must carry prominent notices stating that it is + released under this License and any conditions added under section + 7. This requirement modifies the requirement in section 4 to + "keep intact all notices". + + c) You must license the entire work, as a whole, under this + License to anyone who comes into possession of a copy. This + License will therefore apply, along with any applicable section 7 + additional terms, to the whole of the work, and all its parts, + regardless of how they are packaged. This License gives no + permission to license the work in any other way, but it does not + invalidate such permission if you have separately received it. + + d) If the work has interactive user interfaces, each must display + Appropriate Legal Notices; however, if the Program has interactive + interfaces that do not display Appropriate Legal Notices, your + work need not make them do so. + + A compilation of a covered work with other separate and independent +works, which are not by their nature extensions of the covered work, +and which are not combined with it such as to form a larger program, +in or on a volume of a storage or distribution medium, is called an +"aggregate" if the compilation and its resulting copyright are not +used to limit the access or legal rights of the compilation's users +beyond what the individual works permit. Inclusion of a covered work +in an aggregate does not cause this License to apply to the other +parts of the aggregate. + + 6. Conveying Non-Source Forms. + + You may convey a covered work in object code form under the terms +of sections 4 and 5, provided that you also convey the +machine-readable Corresponding Source under the terms of this License, +in one of these ways: + + a) Convey the object code in, or embodied in, a physical product + (including a physical distribution medium), accompanied by the + Corresponding Source fixed on a durable physical medium + customarily used for software interchange. + + b) Convey the object code in, or embodied in, a physical product + (including a physical distribution medium), accompanied by a + written offer, valid for at least three years and valid for as + long as you offer spare parts or customer support for that product + model, to give anyone who possesses the object code either (1) a + copy of the Corresponding Source for all the software in the + product that is covered by this License, on a durable physical + medium customarily used for software interchange, for a price no + more than your reasonable cost of physically performing this + conveying of source, or (2) access to copy the + Corresponding Source from a network server at no charge. + + c) Convey individual copies of the object code with a copy of the + written offer to provide the Corresponding Source. This + alternative is allowed only occasionally and noncommercially, and + only if you received the object code with such an offer, in accord + with subsection 6b. + + d) Convey the object code by offering access from a designated + place (gratis or for a charge), and offer equivalent access to the + Corresponding Source in the same way through the same place at no + further charge. You need not require recipients to copy the + Corresponding Source along with the object code. If the place to + copy the object code is a network server, the Corresponding Source + may be on a different server (operated by you or a third party) + that supports equivalent copying facilities, provided you maintain + clear directions next to the object code saying where to find the + Corresponding Source. Regardless of what server hosts the + Corresponding Source, you remain obligated to ensure that it is + available for as long as needed to satisfy these requirements. + + e) Convey the object code using peer-to-peer transmission, provided + you inform other peers where the object code and Corresponding + Source of the work are being offered to the general public at no + charge under subsection 6d. + + A separable portion of the object code, whose source code is excluded +from the Corresponding Source as a System Library, need not be +included in conveying the object code work. + + A "User Product" is either (1) a "consumer product", which means any +tangible personal property which is normally used for personal, family, +or household purposes, or (2) anything designed or sold for incorporation +into a dwelling. In determining whether a product is a consumer product, +doubtful cases shall be resolved in favor of coverage. For a particular +product received by a particular user, "normally used" refers to a +typical or common use of that class of product, regardless of the status +of the particular user or of the way in which the particular user +actually uses, or expects or is expected to use, the product. A product +is a consumer product regardless of whether the product has substantial +commercial, industrial or non-consumer uses, unless such uses represent +the only significant mode of use of the product. + + "Installation Information" for a User Product means any methods, +procedures, authorization keys, or other information required to install +and execute modified versions of a covered work in that User Product from +a modified version of its Corresponding Source. The information must +suffice to ensure that the continued functioning of the modified object +code is in no case prevented or interfered with solely because +modification has been made. + + If you convey an object code work under this section in, or with, or +specifically for use in, a User Product, and the conveying occurs as +part of a transaction in which the right of possession and use of the +User Product is transferred to the recipient in perpetuity or for a +fixed term (regardless of how the transaction is characterized), the +Corresponding Source conveyed under this section must be accompanied +by the Installation Information. But this requirement does not apply +if neither you nor any third party retains the ability to install +modified object code on the User Product (for example, the work has +been installed in ROM). + + The requirement to provide Installation Information does not include a +requirement to continue to provide support service, warranty, or updates +for a work that has been modified or installed by the recipient, or for +the User Product in which it has been modified or installed. Access to a +network may be denied when the modification itself materially and +adversely affects the operation of the network or violates the rules and +protocols for communication across the network. + + Corresponding Source conveyed, and Installation Information provided, +in accord with this section must be in a format that is publicly +documented (and with an implementation available to the public in +source code form), and must require no special password or key for +unpacking, reading or copying. + + 7. Additional Terms. + + "Additional permissions" are terms that supplement the terms of this +License by making exceptions from one or more of its conditions. +Additional permissions that are applicable to the entire Program shall +be treated as though they were included in this License, to the extent +that they are valid under applicable law. If additional permissions +apply only to part of the Program, that part may be used separately +under those permissions, but the entire Program remains governed by +this License without regard to the additional permissions. + + When you convey a copy of a covered work, you may at your option +remove any additional permissions from that copy, or from any part of +it. (Additional permissions may be written to require their own +removal in certain cases when you modify the work.) You may place +additional permissions on material, added by you to a covered work, +for which you have or can give appropriate copyright permission. + + Notwithstanding any other provision of this License, for material you +add to a covered work, you may (if authorized by the copyright holders of +that material) supplement the terms of this License with terms: + + a) Disclaiming warranty or limiting liability differently from the + terms of sections 15 and 16 of this License; or + + b) Requiring preservation of specified reasonable legal notices or + author attributions in that material or in the Appropriate Legal + Notices displayed by works containing it; or + + c) Prohibiting misrepresentation of the origin of that material, or + requiring that modified versions of such material be marked in + reasonable ways as different from the original version; or + + d) Limiting the use for publicity purposes of names of licensors or + authors of the material; or + + e) Declining to grant rights under trademark law for use of some + trade names, trademarks, or service marks; or + + f) Requiring indemnification of licensors and authors of that + material by anyone who conveys the material (or modified versions of + it) with contractual assumptions of liability to the recipient, for + any liability that these contractual assumptions directly impose on + those licensors and authors. + + All other non-permissive additional terms are considered "further +restrictions" within the meaning of section 10. If the Program as you +received it, or any part of it, contains a notice stating that it is +governed by this License along with a term that is a further +restriction, you may remove that term. If a license document contains +a further restriction but permits relicensing or conveying under this +License, you may add to a covered work material governed by the terms +of that license document, provided that the further restriction does +not survive such relicensing or conveying. + + If you add terms to a covered work in accord with this section, you +must place, in the relevant source files, a statement of the +additional terms that apply to those files, or a notice indicating +where to find the applicable terms. + + Additional terms, permissive or non-permissive, may be stated in the +form of a separately written license, or stated as exceptions; +the above requirements apply either way. + + 8. Termination. + + You may not propagate or modify a covered work except as expressly +provided under this License. Any attempt otherwise to propagate or +modify it is void, and will automatically terminate your rights under +this License (including any patent licenses granted under the third +paragraph of section 11). + + However, if you cease all violation of this License, then your +license from a particular copyright holder is reinstated (a) +provisionally, unless and until the copyright holder explicitly and +finally terminates your license, and (b) permanently, if the copyright +holder fails to notify you of the violation by some reasonable means +prior to 60 days after the cessation. + + Moreover, your license from a particular copyright holder is +reinstated permanently if the copyright holder notifies you of the +violation by some reasonable means, this is the first time you have +received notice of violation of this License (for any work) from that +copyright holder, and you cure the violation prior to 30 days after +your receipt of the notice. + + Termination of your rights under this section does not terminate the +licenses of parties who have received copies or rights from you under +this License. If your rights have been terminated and not permanently +reinstated, you do not qualify to receive new licenses for the same +material under section 10. + + 9. Acceptance Not Required for Having Copies. + + You are not required to accept this License in order to receive or +run a copy of the Program. Ancillary propagation of a covered work +occurring solely as a consequence of using peer-to-peer transmission +to receive a copy likewise does not require acceptance. However, +nothing other than this License grants you permission to propagate or +modify any covered work. These actions infringe copyright if you do +not accept this License. Therefore, by modifying or propagating a +covered work, you indicate your acceptance of this License to do so. + + 10. Automatic Licensing of Downstream Recipients. + + Each time you convey a covered work, the recipient automatically +receives a license from the original licensors, to run, modify and +propagate that work, subject to this License. You are not responsible +for enforcing compliance by third parties with this License. + + An "entity transaction" is a transaction transferring control of an +organization, or substantially all assets of one, or subdividing an +organization, or merging organizations. If propagation of a covered +work results from an entity transaction, each party to that +transaction who receives a copy of the work also receives whatever +licenses to the work the party's predecessor in interest had or could +give under the previous paragraph, plus a right to possession of the +Corresponding Source of the work from the predecessor in interest, if +the predecessor has it or can get it with reasonable efforts. + + You may not impose any further restrictions on the exercise of the +rights granted or affirmed under this License. For example, you may +not impose a license fee, royalty, or other charge for exercise of +rights granted under this License, and you may not initiate litigation +(including a cross-claim or counterclaim in a lawsuit) alleging that +any patent claim is infringed by making, using, selling, offering for +sale, or importing the Program or any portion of it. + + 11. Patents. + + A "contributor" is a copyright holder who authorizes use under this +License of the Program or a work on which the Program is based. The +work thus licensed is called the contributor's "contributor version". + + A contributor's "essential patent claims" are all patent claims +owned or controlled by the contributor, whether already acquired or +hereafter acquired, that would be infringed by some manner, permitted +by this License, of making, using, or selling its contributor version, +but do not include claims that would be infringed only as a +consequence of further modification of the contributor version. For +purposes of this definition, "control" includes the right to grant +patent sublicenses in a manner consistent with the requirements of +this License. + + Each contributor grants you a non-exclusive, worldwide, royalty-free +patent license under the contributor's essential patent claims, to +make, use, sell, offer for sale, import and otherwise run, modify and +propagate the contents of its contributor version. + + In the following three paragraphs, a "patent license" is any express +agreement or commitment, however denominated, not to enforce a patent +(such as an express permission to practice a patent or covenant not to +sue for patent infringement). To "grant" such a patent license to a +party means to make such an agreement or commitment not to enforce a +patent against the party. + + If you convey a covered work, knowingly relying on a patent license, +and the Corresponding Source of the work is not available for anyone +to copy, free of charge and under the terms of this License, through a +publicly available network server or other readily accessible means, +then you must either (1) cause the Corresponding Source to be so +available, or (2) arrange to deprive yourself of the benefit of the +patent license for this particular work, or (3) arrange, in a manner +consistent with the requirements of this License, to extend the patent +license to downstream recipients. "Knowingly relying" means you have +actual knowledge that, but for the patent license, your conveying the +covered work in a country, or your recipient's use of the covered work +in a country, would infringe one or more identifiable patents in that +country that you have reason to believe are valid. + + If, pursuant to or in connection with a single transaction or +arrangement, you convey, or propagate by procuring conveyance of, a +covered work, and grant a patent license to some of the parties +receiving the covered work authorizing them to use, propagate, modify +or convey a specific copy of the covered work, then the patent license +you grant is automatically extended to all recipients of the covered +work and works based on it. + + A patent license is "discriminatory" if it does not include within +the scope of its coverage, prohibits the exercise of, or is +conditioned on the non-exercise of one or more of the rights that are +specifically granted under this License. You may not convey a covered +work if you are a party to an arrangement with a third party that is +in the business of distributing software, under which you make payment +to the third party based on the extent of your activity of conveying +the work, and under which the third party grants, to any of the +parties who would receive the covered work from you, a discriminatory +patent license (a) in connection with copies of the covered work +conveyed by you (or copies made from those copies), or (b) primarily +for and in connection with specific products or compilations that +contain the covered work, unless you entered into that arrangement, +or that patent license was granted, prior to 28 March 2007. + + Nothing in this License shall be construed as excluding or limiting +any implied license or other defenses to infringement that may +otherwise be available to you under applicable patent law. + + 12. No Surrender of Others' Freedom. + + If conditions are imposed on you (whether by court order, agreement or +otherwise) that contradict the conditions of this License, they do not +excuse you from the conditions of this License. If you cannot convey a +covered work so as to satisfy simultaneously your obligations under this +License and any other pertinent obligations, then as a consequence you may +not convey it at all. For example, if you agree to terms that obligate you +to collect a royalty for further conveying from those to whom you convey +the Program, the only way you could satisfy both those terms and this +License would be to refrain entirely from conveying the Program. + + 13. Remote Network Interaction; Use with the GNU General Public License. + + Notwithstanding any other provision of this License, if you modify the +Program, your modified version must prominently offer all users +interacting with it remotely through a computer network (if your version +supports such interaction) an opportunity to receive the Corresponding +Source of your version by providing access to the Corresponding Source +from a network server at no charge, through some standard or customary +means of facilitating copying of software. This Corresponding Source +shall include the Corresponding Source for any work covered by version 3 +of the GNU General Public License that is incorporated pursuant to the +following paragraph. + + Notwithstanding any other provision of this License, you have +permission to link or combine any covered work with a work licensed +under version 3 of the GNU General Public License into a single +combined work, and to convey the resulting work. The terms of this +License will continue to apply to the part which is the covered work, +but the work with which it is combined will remain governed by version +3 of the GNU General Public License. + + 14. Revised Versions of this License. + + The Free Software Foundation may publish revised and/or new versions of +the GNU Affero General Public License from time to time. Such new versions +will be similar in spirit to the present version, but may differ in detail to +address new problems or concerns. + + Each version is given a distinguishing version number. If the +Program specifies that a certain numbered version of the GNU Affero General +Public License "or any later version" applies to it, you have the +option of following the terms and conditions either of that numbered +version or of any later version published by the Free Software +Foundation. If the Program does not specify a version number of the +GNU Affero General Public License, you may choose any version ever published +by the Free Software Foundation. + + If the Program specifies that a proxy can decide which future +versions of the GNU Affero General Public License can be used, that proxy's +public statement of acceptance of a version permanently authorizes you +to choose that version for the Program. + + Later license versions may give you additional or different +permissions. However, no additional obligations are imposed on any +author or copyright holder as a result of your choosing to follow a +later version. + + 15. Disclaimer of Warranty. + + THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY +APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT +HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY +OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, +THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR +PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM +IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF +ALL NECESSARY SERVICING, REPAIR OR CORRECTION. + + 16. Limitation of Liability. + + IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING +WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS +THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY +GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE +USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF +DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD +PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS), +EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF +SUCH DAMAGES. + + 17. Interpretation of Sections 15 and 16. + + If the disclaimer of warranty and limitation of liability provided +above cannot be given local legal effect according to their terms, +reviewing courts shall apply local law that most closely approximates +an absolute waiver of all civil liability in connection with the +Program, unless a warranty or assumption of liability accompanies a +copy of the Program in return for a fee. + + END OF TERMS AND CONDITIONS + + How to Apply These Terms to Your New Programs + + If you develop a new program, and you want it to be of the greatest +possible use to the public, the best way to achieve this is to make it +free software which everyone can redistribute and change under these terms. + + To do so, attach the following notices to the program. It is safest +to attach them to the start of each source file to most effectively +state the exclusion of warranty; and each file should have at least +the "copyright" line and a pointer to where the full notice is found. + + + Copyright (C) + + This program is free software: you can redistribute it and/or modify + it under the terms of the GNU Affero General Public License as published + by the Free Software Foundation, either version 3 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU Affero General Public License for more details. + + You should have received a copy of the GNU Affero General Public License + along with this program. If not, see . + +Also add information on how to contact you by electronic and paper mail. + + If your software can interact with users remotely through a computer +network, you should also make sure that it provides a way for users to +get its source. For example, if your program is a web application, its +interface could display a "Source" link that leads users to an archive +of the code. There are many ways you could offer source, and different +solutions will be better for different programs; see section 13 for the +specific requirements. + + You should also get your employer (if you work as a programmer) or school, +if any, to sign a "copyright disclaimer" for the program, if necessary. +For more information on this, and how to apply and follow the GNU AGPL, see +. \ No newline at end of file diff --git a/date_range_account/README.rst b/date_range_account/README.rst new file mode 100644 index 0000000..92bbb23 --- /dev/null +++ b/date_range_account/README.rst @@ -0,0 +1,81 @@ +================== +Date Range Account +================== + +.. !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! + !! This file is generated by oca-gen-addon-readme !! + !! changes will be overwritten. !! + !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! + +.. |badge1| image:: https://img.shields.io/badge/maturity-Beta-yellow.png + :target: https://odoo-community.org/page/development-status + :alt: Beta +.. |badge2| image:: https://img.shields.io/badge/licence-AGPL--3-blue.png + :target: http://www.gnu.org/licenses/agpl-3.0-standalone.html + :alt: License: AGPL-3 +.. |badge3| image:: https://img.shields.io/badge/github-OCA%2Fserver--ux-lightgray.png?logo=github + :target: https://github.com/OCA/server-ux/tree/14.0/date_range_account + :alt: OCA/server-ux +.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png + :target: https://translation.odoo-community.org/projects/server-ux-14-0/server-ux-14-0-date_range_account + :alt: Translate me on Weblate +.. |badge5| image:: https://img.shields.io/badge/runbot-Try%20me-875A7B.png + :target: https://runbot.odoo-community.org/runbot/250/14.0 + :alt: Try me on Runbot + +|badge1| |badge2| |badge3| |badge4| |badge5| + +This is a small glue module between **date_range** and **account**. It allows the *Accounting Manager* to access the *Date Range* menu entry under *Invoicing > Configuration > Date Range*. + +**Table of contents** + +.. contents:: + :local: + +Bug Tracker +=========== + +Bugs are tracked on `GitHub Issues `_. +In case of trouble, please check there if your issue has already been reported. +If you spotted it first, help us smashing it by providing a detailed and welcomed +`feedback `_. + +Do not contact contributors directly about support or help with technical issues. + +Credits +======= + +Authors +~~~~~~~ + +* Akretion + +Contributors +~~~~~~~~~~~~ + +* Alexis de Lattre + +Maintainers +~~~~~~~~~~~ + +This module is maintained by the OCA. + +.. image:: https://odoo-community.org/logo.png + :alt: Odoo Community Association + :target: https://odoo-community.org + +OCA, or the Odoo Community Association, is a nonprofit organization whose +mission is to support the collaborative development of Odoo features and +promote its widespread use. + +.. |maintainer-alexis-via| image:: https://github.com/alexis-via.png?size=40px + :target: https://github.com/alexis-via + :alt: alexis-via + +Current `maintainer `__: + +|maintainer-alexis-via| + +This module is part of the `OCA/server-ux `_ project on GitHub. + +You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute. \ No newline at end of file diff --git a/date_range_account/__init__.py b/date_range_account/__init__.py new file mode 100644 index 0000000..e69de29 diff --git a/date_range_account/__manifest__.py b/date_range_account/__manifest__.py new file mode 100644 index 0000000..b023cea --- /dev/null +++ b/date_range_account/__manifest__.py @@ -0,0 +1,21 @@ +# Copyright 2021 Akretion France (http://www.akretion.com/) +# @author: Alexis de Lattre +# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). + +{ + "name": "Date Range Account", + "version": "2.0.1.0.0", + "category": "Accounting", + "license": "AGPL-3", + "summary": "Add Date Range menu entry in Invoicing app", + "author": "Akretion,Odoo Community Association (OCA)", + "maintainers": ["alexis-via"], + "website": "https://gitlab.com/flectra-community/server-ux", + "depends": ["account", "date_range"], + "data": [ + "views/date_range.xml", + "security/ir.model.access.csv", + ], + "installable": True, + "auto_install": True, +} diff --git a/date_range_account/i18n/date_range_account.pot b/date_range_account/i18n/date_range_account.pot new file mode 100644 index 0000000..4b361f9 --- /dev/null +++ b/date_range_account/i18n/date_range_account.pot @@ -0,0 +1,34 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * date_range_account +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 14.0\n" +"Report-Msgid-Bugs-To: \n" +"Last-Translator: \n" +"Language-Team: \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Plural-Forms: \n" + +#. module: date_range_account +#: model:ir.ui.menu,name:date_range_account.menu_date_range_type +msgid "Date Range Types" +msgstr "" + +#. module: date_range_account +#: model:ir.ui.menu,name:date_range_account.menu_date_range +msgid "Date Ranges" +msgstr "" + +#. module: date_range_account +#: model:ir.ui.menu,name:date_range_account.menu_date_range_root +msgid "Date ranges" +msgstr "" + +#. module: date_range_account +#: model:ir.ui.menu,name:date_range_account.menu_date_range_generator +msgid "Generate Date Ranges" +msgstr "" diff --git a/date_range_account/security/ir.model.access.csv b/date_range_account/security/ir.model.access.csv new file mode 100644 index 0000000..fa70396 --- /dev/null +++ b/date_range_account/security/ir.model.access.csv @@ -0,0 +1,4 @@ +id,name,model_id:id,group_id:id,perm_read,perm_write,perm_create,perm_unlink +access_date_range_account_manager,Full access on date.range to account manager,date_range.model_date_range,account.group_account_manager,1,1,1,1 +access_date_range_type_account_manager,Full access on date.range.type to account manager,date_range.model_date_range_type,account.group_account_manager,1,1,1,1 +access_date_range_generator_account_manager,Full access on date.range.generator wizard to account manager,date_range.model_date_range_generator,account.group_account_manager,1,1,1,1 diff --git a/date_range_account/static/description/icon.png b/date_range_account/static/description/icon.png new file mode 100644 index 0000000000000000000000000000000000000000..3a0328b516c4980e8e44cdb63fd945757ddd132d GIT binary patch literal 9455 zcmVa*Zag|=W(Jy&L=Ct>-D+}2E!HrkJGSV zFo@#fVhDl&j^jYfLz1L+B&EULNy+R4;k+S0UtiztNLG9u01!f8v)N#^S|N%e2q6$f z5hEibh{xjq07;S{NzzM%ko!Fz&)}qGzJNIA3E=bj)^i;9IDqvu%xpHp;c$Qu0znWM z0SpEM03Z^HAQTEg6h%sc!BG;tG&yfkIGnQt@Or&2lgacO0JqaHlgR|T-43JiTiuuE zc}4(vxG0JU27`#jV)AZbZ#*8qW6qp8?GyDLg~mBafd2meCji_>2yp=b$8oUPY_M1? z008+r3xWVa5Yh-h5s$|)GBN_5=UJF2irZ$)nDInGUt)rAP7z>WU|_u@NiT97S4ZE= zYPG^@wSo|$dJoU@i~uH+iG|C{MUo`eEy%*!1wpuD)~s233-dM;gL8ra0|Ntfgpd~r zA?xY;m`o06fp95kM`zAP5*489^eEVAn)Zd}(B4+0$bkMs2=4AYJPgM)+X0sIEQg*41$GQnc8r1bNdDozfb=aEPx7y&ZH zRZENKc?5$&h@!~CL{Z!p4u_we4&B1EA;7@EK%LQOd>k^f&S*5kY&J9d9mp)Y)sRRe zGD-k7s7Z-PB!WmJlHy5}Bx%YkiPM4rLqkJPNRq_NIzk967E4M$ueZf3!<7Wc2Bmc% zhad^7to^&5@I)fPx&WpA zpmk5C|B@sj9*?UkiL+T|6DkniZfcxv}>fY46aRM;u1PBI$>j@z#W}VS!gwbdmlUbK3TrDgf zkE==mW&B);p%zCJMTEm)@H{Uk!kYl@pR56s-(P)$nHv7<3Urwh%&?SqCIry}X|X z3fJo8h{a-z0Lm^vZ$Gc~yllV2;c$v4QIe#?f*{;6fByUlQxYeX0HIKbnRQgb<2X*Y z-#*hdy)Im3oOnErSS$vk(Wpxa%(e2f-J3`x5RFD52!cG`v$0rg+e9dd6EZ0@5{X+&uj7bQ?Fp59h3iXu}!!dw5e1U~(P(sw(P%s^uY7~Skfz-$q19Tn!j*Ay!FZHCnjiTm+kJ^d z0^x8Np->3%cwAS02_ZL`Os3{jr%r9r_g1+f?-C#!4zK4p?nSx#mg6{Z9GBI7OQE+_ zkGJ(pl9W*i)Jjt;jv5K*a5HrTX~os!V-N)4Fd-zbN@89K5Q#+I;5d%;TWaEdEUkDf z=9b>Ldb@yZ>BuXK&NGzT`&w~xA%G-Fu-R+~g+k8?g0Kw$#;Yjil>o6=j3vf#T$))2 z=-19O#m`j{%#CR_qY`<7#@ z`aveh)6_#EEsdR4GOciVdh}aw{&RuNW`oP+VsjOHdwbE<)s-e?#)G`C4vt2nICbh2 zs;a6`QBk2>Z^z^tR%$T%(mv6*TIMq2DrBt!^lZK>z1L5JCvb%gbT6 z+W{oq)vc|q7#bSNIjwBSD*@!0^7(uS1Ok{jb0&(4iqhiHm&nu|Xqk&@*VXz{we;nc zN(W~`p%9yBqI{1+KuHRDg%%eVqokyS&3owX?#7ujXH@Ua2l6ff5{Lq$ae zs;a8eOhFn~S>Q@?WKx#&YR_8Fq2KhQtdK&8b~TtxCb(QKW{CuYL3DO@A`}Ycz0&0< zC;=$^em|22#l^*G6`!q;Gqsp}`tU5Mn7L;QP-f|*b^&S_7#P6N&=6{BYS`e+c=I#S3LwXEC@Lyq4lq#^;q`hE z2m~_r?OJ)x)IE$BlimfWf#-R2b#=k%bi(a+=dHh^c~UFzvE)@PEvwbalsq75+EFD> zts>=6c70ly))F9>f*u|o#>mJBs;jG0+{yVwJ|qC`LYz(~TVR?Kuc7JZC)lw%hF}Dk@4b?fia!N~_mv!l{Y) zY1;+l6QNKDkw^q(Wo0NSDal*9x zft;nmSWQ7XYDeefQFpe|lb1=vXNs4}+$+Qw0L8TG0_30t5s$~w-Q5kR(+QW$r73%Vm4bI)$*hz+STH#-8Utz04;Hr4?<+~ngxSFrXVt*KA#Waa5!ULwDO**V&&JhbOGhHd|=v006i^@=Xvz?^`WS! z2ridPS1Zw~e4EY2hHHUjccZ4{X%TZQqj_qIq5N7Qx`MnDAfMtX+jA(C1u8cgm5V); zp!d>mqtOV5!@=Gm8jYf_uTNFUQ$9OaPhKXCKO2#ztQ9a($fjXalhI zq7)@B5C~vsXh`#UYR^@MWx6+;r67NoOy0urU`mb!WJ0DFS8FM;SPXrAeJCz2P7&#H zSgls($pexbH}v=SXRM%H`g5)PDbv#u^I9ax2MVGDX3AhLnb$Jea*ZoV5{8F|5sgMs zTwI*8DKypafus&GFff2L^UYMIrq-N`nfu#2?8jZr~bV3wG^z`(wgQ9YgFv@&nQ`oc|LD@8ZwfOl$ zURMVC!87y?_P^YXwNa48H@&|ry0Ax*@JD{wt*0WYp=Z)3l}cT z+oSZ@+twB3t<8R1@r`pLkaZl?*J_} zNs_kgT3j{%c$!Ns#<;&S}xISAr^~aXlN)Wjb919ag9bJJ6VLrv)k>g<%^<-Xf(?9G{~l< zt7+wWEfwYefq? zlfejsGxa16&kq*DKHG^Czu%9}|M?}>{D(CF#y?F;c@0QCH&AW(mj0(>0CdkFK@bp$ zL|`_XS!HM`ka`s}HD^#D5Wv1qKZVI;!iwd~;dZ-0NYa0DsJS^g+h|~b4Rz;xG%&9c zK<@D293~W-?Fc6#Nc2Zi7|(GW${IZ=UQmHEhguOkJ)Bb)phr9#jYgD|l(1=Ai9`Z| zAh4xbTIo@@Fx}ZC7K+xs_ZS`?#;2cs29wEzYc_0Pdnf=vO-&6W9;YE$ zreqfYe4Dw_t7e0Mz~6L6B@!_E`U?O6y$9RVT9?x9%~qgta@lM)IGs)y31OQguuJ|8`a7ysdvL-FvI(|R(6kfRP=qgcQ1~gIFT|Mm#y&WQY<)*N12{ikg}lxJMVp%I_N-9Aw@}we<6a zf=mjf8MMzU#msdJ(fQFyv_5wL^X|DQHL@t7WL^dOzwx4PcMI&7R->t@iJ4}@!^3E8 zZADpG8CI=a$tqT@;N>1jx-%zj@oKFc&}ZM%so&9P6tP&0oeXBNSTxTVlBfCg@#E<1 z=)iC=2mq+BugBsGF2L~5dZ`UQ9!TH$9C+ZyNUBWkN*CCeE!83ssl9^iv=YmC2WrYdPo!9p)^z1 zkxlQAO9Q*zo+1sR(P-L)P-Vp&ICv08j~-=}PrH{$G>Wrl&$1mtDCDibqoad`t647j z!h}o+ssD$y2>sLhICG#Cp+FGjOR7<`p&q@jpFnsZ2#{nU4i66l01O<5b(dWRm&=7< zFo;vFt>|cP$AN|Z`X;Dirnzv)BQt`msy$v#dZfRQu6I$DTzbLKF!$LVxp|CZT2yU3w`( zp%7|oYg4+1DLobdXty+CAXvKPa&)|T6z#jeMvRYxkYvMfFQ`G)hItriZv&8&07_-2 zp}ro2fdIO_UK~Gu9F2{Qtkug$AGKP&meQv8J(Pqvc<>-rtXRRU3@Qzp4jn=$9LB7f zGjYjiqBrI971Qit(C@(K(q){V5K2VT7f-)6s-OWo; zck@#8zI_VuXdGs%1;z8rz?lq~H*X%k{OT)oojHT0OP79|$g(%O_aW9($+;+j@^=zN5gf;1`}XaaF=GZKNy4H>5*@>nbe04Zzo_I~sc+g&Rb zi{VfpfJ284;fnR^QCC-|nZHc`weaGLFXGKN-^7dm@(0Wk-G~pw(Y5C!W?j_)2@CLbB2xD84Lz^JRS@V4k8!~;={drF?a4< zT)u8y);wj(t0;=tw{IU#oH&8b&Q5Gy@-qy+atebuHF`7P|F9j)|LHomvu8<32}(*z z5Dte^bc4fReu-Y64;5~A$}{9!>vu)-&Iy$g#-#)apwPE3c1@L%0Y0ps>wifp7+lL!( zyb-Ve@in-c2uwBti2#r!NC1cg__})0_g))L`A11HnlHJf(B9F3GiT1gYPDifLqkS| zE?eI8=3Or)TnUte#-qoz&=$_~Jl3sShdm#BfYYZ>qqDOU%a$#Jf#bjn0+uy4f{a=U z7KL^yz*aPKw?)f3^AZ` z$qdZ@!7>o11>V1Wjn4hwK#-CBM6h7N z0!Wg?&gGFm%WO8|+6^1<=fC^~O@|KQnhhJ$@*^jKT0W!EC|X)t@Yz#;#o1T@v)44B z@gFW_*IoBq0{@8~44)l>+`ZZD_2U1%@dm6m8zQ6U1eds6xMa;5rU=qWCv=!v%__-M z(YYwE*-)?vA=xr$Hk;YXTS7?6Dc*GJR;$&D4Od@{Yc_018OCiH-Cfk-aIkTE`Lh9_ zva%AZSFc7_R~K4aTT@!Q+HYmvZ8jUu>^hFX@gCHDZvmFwt2mlPlwhxPK!OAlXTtL3 z%h{zwB7xxWFnFGa$K$~duD_lg`ywB&pd*ag%2MlpJ}}{H1C2&w%88*o&$H9Jwe0%Z z+FJbG=FI?rQ!Oo+Kk6E7sISKtO-*QOYQnlvg->2U%NiTe+}w=AhYu&+v5K^n@#TmI zBKY$Ed6zHhuR7z~)XX%UDa*_N7{n*jh-m6d2{Xh3CUCA*Jq zG7*o**^HxDES4e-a*+c0z{Gh1NBe8}sT_2;R=HVorpj43T9JehG&VNkbbC8mT3d0! z1sA|Qs$t6u(CKu-@At#!^P#G$D($-3GbBmEq31pX04(|8>a>ah0RQJ*5JVBRE9ZhU zCW%|Wa3Sg!E=)1!~=dF?4ZM_JkP5R+$eu5(^Dge z+wI2MwQCWN$MMcP@1Uorhh2|EA~@aA0ZEdO81*G&>i6lVbN6vbk_4;K3W!o#yyk!2 zgW=u)=5K6-bAI|R=XwbYeA_r^mnaAVDKzFl*K<{9xloyuEuj5{U#(pFXXbuDsyY$pwG_f+(W(#U@l;F&BMbbfEWG7y6EM z!!@S@7ysw$({u^F?pv*Xoz6v!L?Z0?SvsYyP`j?=od9xkjVgIsQ?t~Ni5S`Luc@iQ z?YG^A=H_M`J$4Kd0D)Y})^e#dNF)+$b`v#^EvU!LjDX$VweytjH??3#aDo|MTX}!_i~MG)1T?;Ved6 z{NzRqG@ZfVnE@C$1LoecENyZIy+0TCZ7%&cAxUQ#&+|+g$d97W2lBcNLGw;oInXRn_kVnr{VJJTH#u0X$=We%Rqi^u_%fk z6GFtrix;PQsd7ZVR|d5M$qf5^K6H0?XPn!vX4YjhZ`7`5GVSDH%HNstp%!<%`O{;{ zDW5~vBJiWSj3i0$`~81==%I)1d;k6SuO;KO1@kHa2qD}%@4U0!>2y9w!;D5FDk>`2 zB+qOby+*oY3e$=smjG&~m1(tb`mOd`{(me|K>44J6$mmjHX4og?cKZgg$Eye@Ff84 z0EE$d#$1W{CIA6Yv1QAa>o;!P_?W}tm^&H{yWNhes;ZQY8?&`0c|5h>xrE98Qvv`; zBY;}PDX-;H(OThJ1fU06(-}|{ZEbD4wr$(?TvJoiX8^(&9fBNBTDM?d;+ z0FDAkAWyAcj)D+?C7!GWD}V)0J@wQN*R5OkfZ1$jr$3dKm$NC-D)*}X){2uYt{g){ zL#zU{2#~48D#ORq4TM4=ghHW|xPd_6$c`O5o_+oG*LMLpivmYDIN*H9J{Taj#aIy27;LSFXJH!3Q7w`J6d(Zlu@EW;1GPYBD;IBq_JO{nXM>N&vaXPA>tJ;d%%V9bFYH zKTa+ZiS+H#G6I0h<$}lK zN!c}H4A0Q~PYD1d^^ihK08tb%G&Gdf>W?2k{_6Ja+y7T{bMr^YqiL55CWQb%iZmz% zu=M4ZU%sopzJ4>kZZsO<@pw>LTB@4_dUXaR0o0(?y49{_>g&VdaN7Aofk5EMYp=cb z$5GR+3xGI!?}S&zq!EB+;9F_1;I6ywy5g2wZuxtc%f(iPQr#fa$sf5Yi*i4J8UgZQ z1tb!Qw5{iPo(~;4a^%%J?zrO>0AB!zVG>%s9FtA}fRO+IoB&q-?svc2ykyCe%_ftn z2uRK_s;Q|-(b)Amk<`NFIzU-jSz0`;%2o?gBf!wm5YC=Go6_q0`}_Al_uO-T*tv7( zUjg_q$rVpAB?v$vGZ`1&c;k&1-F^4n|0tIR4u=D^wY91{eCI+4c^5#pXrT|9P5J-; z1Yk)-K~xGRg<9py|Epb(#bWUJd?^E9JkN*r?Afzp>(;G10ep!9IdsN~DMbJvMH&^o&D@_2Y zU4Yurvr2KV43qy3hr{UW>q}|%p-`ypt+(F#$d=WjZxEX^qwhI;8T_WK$r2_mb8v9*$c`O5cI@1_b3cGnNVfVZUHQN?Apnp<0t~fjw(3?6c^9BY0C|~&LLvBkzLc^0Xf)clYuBzF+qZB38-T+ALYPLaUXE!=016oq zW&l|F{PWM>ym;~A&2-Lz!C*j5O%2<2jbeCsm{qcxhmo3gwAIU=hqku1T~9y#^sCLy z&7T73L2`!9v}*NoOltxFDI_ofShH!^ zCJk0ETefV*6Hh#Gr`&;Lu~<-CT+GG*=(6lUAb|e<{xs9>x#ynSv2*9n&yj5PBF>@8 z2hK49P{_s>YAsh~~`vpM=eel5tJ05xD zk&kc=wt6|vNdf?AeuImaEn8OozylB5D4%nn<|y)dy?eH8+xCa%=H^2HPGeNb1J1q5 z2hL#v04XHk0Mr0z{MpZbw&2!VZ@pLUKmwAc-CJ+HwPXAC?VkZS2q1!UxZ)|!X#!9v z{06H5xL$eXmA{)eZ{7_?qp|4Z$&;`C^rt_470G_S1Lt60uZ8o106>~Fr~+`|rcIk_ z0N~Gm{_{6TI&>l!t^9Mn;wdJ4pTNlitx!UUh@=C@PYAKcVlfWMY1ksp0lPj|oHr6c z4uv!TlH&fn5cx`+mjs}Y4=$Z=6;E+q6W}`l{~v!4wxje|1Azbl002ovPDHLkV1ipa B#b5vc literal 0 KcmV+b0RR6000031 diff --git a/date_range_account/static/description/index.html b/date_range_account/static/description/index.html new file mode 100644 index 0000000..b8a07e0 --- /dev/null +++ b/date_range_account/static/description/index.html @@ -0,0 +1,421 @@ + + + + + + +Date Range Account + + + +
    +

    Date Range Account

    + + +

    Beta License: AGPL-3 OCA/server-ux Translate me on Weblate Try me on Runbot

    +

    This is a small glue module between date_range and account. It allows the Accounting Manager to access the Date Range menu entry under Invoicing > Configuration > Date Range.

    +

    Table of contents

    + +
    +

    Bug Tracker

    +

    Bugs are tracked on GitHub Issues. +In case of trouble, please check there if your issue has already been reported. +If you spotted it first, help us smashing it by providing a detailed and welcomed +feedback.

    +

    Do not contact contributors directly about support or help with technical issues.

    +
    +
    +

    Credits

    +
    +

    Authors

    +
      +
    • Akretion
    • +
    +
    +
    +

    Contributors

    + +
    +
    +

    Maintainers

    +

    This module is maintained by the OCA.

    +Odoo Community Association +

    OCA, or the Odoo Community Association, is a nonprofit organization whose +mission is to support the collaborative development of Odoo features and +promote its widespread use.

    +

    Current maintainer:

    +

    alexis-via

    +

    This module is part of the OCA/server-ux project on GitHub.

    +

    You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.

    +
    +
    +
    + + diff --git a/date_range_account/views/date_range.xml b/date_range_account/views/date_range.xml new file mode 100644 index 0000000..12624fc --- /dev/null +++ b/date_range_account/views/date_range.xml @@ -0,0 +1,31 @@ + + + + + + + + + + + diff --git a/mass_operation_abstract/__manifest__.py b/mass_operation_abstract/__manifest__.py index 7a0760f..243d3d1 100644 --- a/mass_operation_abstract/__manifest__.py +++ b/mass_operation_abstract/__manifest__.py @@ -5,7 +5,7 @@ { "name": "Mass Operation Abstract", - "version": "2.0.1.0.1", + "version": "2.0.1.0.2", "author": "GRAP, " "Odoo Community Association (OCA)", "summary": "Abstract Tools used for modules that realize operation on many items", "category": "Tools", diff --git a/mass_operation_abstract/wizard/mass_operation_wizard_mixin.py b/mass_operation_abstract/wizard/mass_operation_wizard_mixin.py index 13a5813..9ca5474 100644 --- a/mass_operation_abstract/wizard/mass_operation_wizard_mixin.py +++ b/mass_operation_abstract/wizard/mass_operation_wizard_mixin.py @@ -122,4 +122,4 @@ class MassOperationWizardMixin(models.AbstractModel): if mass_operation.domain != "[]": domain = expression.AND([safe_eval(mass_operation.domain), domain]) - return SrcModel.search(domain) + return SrcModel.with_context(active_test=False).search(domain) From 5b490d7c613430a9b59d1d8940f54ba0d11f69ff Mon Sep 17 00:00:00 2001 From: Flectra Community Bot Date: Wed, 29 Jun 2022 20:41:04 +0200 Subject: [PATCH 21/21] Automatic Update form OCA2FC Migrator --- .gitlab-ci.yml | 2102 ++++++++++------- README.md | 36 +- base_custom_filter/COPYRIGHT | 16 + base_custom_filter/LICENSE | 663 ++++++ base_custom_filter/README.rst | 115 + base_custom_filter/__init__.py | 2 + base_custom_filter/__manifest__.py | 19 + .../i18n/base_custom_filter.pot | 129 + base_custom_filter/i18n/fr.po | 130 + base_custom_filter/i18n/it.po | 132 ++ base_custom_filter/models/__init__.py | 4 + base_custom_filter/models/base.py | 114 + base_custom_filter/models/ir_filters.py | 31 + base_custom_filter/models/ir_filters_group.py | 38 + .../security/ir.model.access.csv | 3 + .../static/description/icon.png | Bin 0 -> 9455 bytes .../static/description/index.html | 456 ++++ base_custom_filter/tests/__init__.py | 1 + base_custom_filter/tests/test_filters.py | 53 + .../views/ir_filters_group_views.xml | 114 + base_custom_filter/views/ir_filters_views.xml | 111 + base_export_manager/models/ir_exports.py | 4 +- base_export_manager/tests/test_ir_exports.py | 2 +- .../tests/test_base_import_security_group.py | 4 +- .../models/ir_ui_menu.py | 2 +- base_revision/__manifest__.py | 2 +- base_revision/i18n/base_revision.pot | 5 + base_revision/i18n/es.po | 13 +- base_revision/models/base_revision.py | 23 +- .../__manifest__.py | 3 +- base_search_custom_field_filter/i18n/it.po | 42 +- .../models/base.py | 6 +- .../src/js/search_bar_autocomplete_sources.js | 21 - .../templates/assets.xml | 10 - base_substate/models/base_substate_mixin.py | 2 +- base_technical_features/models/res_users.py | 2 +- base_tier_validation/__manifest__.py | 2 +- .../i18n/base_tier_validation.pot | 33 + base_tier_validation/i18n/es.po | 33 + base_tier_validation/i18n/es_MX.po | 33 + base_tier_validation/i18n/fr.po | 33 + base_tier_validation/i18n/it.po | 85 +- base_tier_validation/i18n/nl_NL.po | 33 + base_tier_validation/i18n/sv.po | 43 +- base_tier_validation/i18n/zh_CN.po | 33 + base_tier_validation/models/res_users.py | 1 + base_tier_validation/models/tier_review.py | 2 +- .../models/tier_validation.py | 54 +- base_tier_validation/static/src/js/systray.js | 2 +- base_tier_validation_forward/hooks.py | 2 +- .../wizard/forward_wizard.py | 2 +- base_tier_validation_report/COPYRIGHT | 15 + base_tier_validation_report/LICENSE | 663 ++++++ base_tier_validation_report/README.rst | 83 + base_tier_validation_report/__init__.py | 3 + base_tier_validation_report/__manifest__.py | 19 + .../i18n/base_tier_validation_report.pot | 88 + .../models/__init__.py | 3 + .../models/tier_review.py | 38 + .../reports/tier_review_report.xml | 129 + .../static/description/icon.png | Bin 0 -> 9455 bytes .../static/description/index.html | 424 ++++ .../__manifest__.py | 2 +- .../models/tier_review.py | 8 +- base_user_locale/COPYRIGHT | 15 + base_user_locale/LICENSE | 663 ++++++ base_user_locale/README.rst | 88 + base_user_locale/__init__.py | 4 + base_user_locale/__manifest__.py | 14 + base_user_locale/controllers/__init__.py | 3 + base_user_locale/controllers/web_client.py | 41 + base_user_locale/i18n/base_user_locale.pot | 181 ++ base_user_locale/models/__init__.py | 6 + base_user_locale/models/calendar_event.py | 19 + base_user_locale/models/res_company.py | 47 + .../models/res_config_settings.py | 14 + base_user_locale/models/res_users.py | 73 + base_user_locale/static/description/icon.png | Bin 0 -> 9455 bytes .../static/description/index.html | 438 ++++ base_user_locale/tests/__init__.py | 3 + .../tests/test_base_user_locale.py | 136 ++ .../views/res_config_settings.xml | 117 + base_user_locale/views/res_users.xml | 36 + chained_swapper/COPYRIGHT | 1 - chained_swapper/i18n/it.po | 296 +++ date_range/__manifest__.py | 2 +- date_range/i18n/fr.po | 124 +- date_range/static/src/js/date_range.js | 8 +- date_range_account/i18n/es.po | 37 + date_range_account/i18n/fr.po | 37 + .../COPYRIGHT | 2 + .../README.rst | 7 +- .../__init__.py | 1 + .../__manifest__.py | 6 +- .../components/__init__.py | 1 + .../document_quick_access_process.py | 87 + .../data/config_parameter.xml | 38 - .../data/edi_data.xml | 23 + ...uick_access_folder_auto_classification.pot | 59 +- .../migrations/14.0.1.0.1/post-migration.py | 74 + .../migrations/14.0.1.0.1/pre-migration.py | 27 + .../models/__init__.py | 2 - .../models/document_quick_access_missing.py | 50 - .../models/document_quick_access_rule.py | 154 +- .../models/ir_attachment.py | 76 - .../security/ir.model.access.csv | 3 +- .../static/description/index.html | 9 +- ...cument_quick_access_auto_classification.py | 185 +- ...ss_missing.xml => edi_exchange_record.xml} | 63 +- .../document_quick_access_missing_assign.py | 10 +- .../document_quick_access_missing_assign.xml | 10 +- mass_editing/COPYRIGHT | 4 +- .../migrations/14.0.1.0.0/post-migrate.py | 2 +- .../migrations/14.0.1.0.0/pre-migrate.py | 4 +- mass_editing/models/ir_actions_server.py | 4 +- mass_editing/models/mass_editing_line.py | 2 +- mass_editing/wizard/mass_editing_wizard.py | 2 +- requirements.txt | 1 - sequence_check_digit/COPYRIGHT | 1 - sequence_check_digit/__manifest__.py | 3 +- sequence_reset_period/COPYRIGHT | 1 - server_action_domain/COPYRIGHT | 15 + server_action_domain/LICENSE | 663 ++++++ server_action_domain/README.rst | 74 + server_action_domain/__init__.py | 1 + server_action_domain/__manifest__.py | 15 + .../i18n/server_action_domain.pot | 48 + server_action_domain/models/__init__.py | 1 + .../models/ir_actions_server.py | 59 + .../static/description/icon.png | Bin 0 -> 9455 bytes .../static/description/index.html | 420 ++++ server_action_domain/tests/__init__.py | 1 + .../tests/test_server_action_domain.py | 74 + .../views/ir_actions_server.xml | 18 + 134 files changed, 9441 insertions(+), 1538 deletions(-) create mode 100644 base_custom_filter/COPYRIGHT create mode 100644 base_custom_filter/LICENSE create mode 100644 base_custom_filter/README.rst create mode 100644 base_custom_filter/__init__.py create mode 100644 base_custom_filter/__manifest__.py create mode 100644 base_custom_filter/i18n/base_custom_filter.pot create mode 100644 base_custom_filter/i18n/fr.po create mode 100644 base_custom_filter/i18n/it.po create mode 100644 base_custom_filter/models/__init__.py create mode 100644 base_custom_filter/models/base.py create mode 100644 base_custom_filter/models/ir_filters.py create mode 100644 base_custom_filter/models/ir_filters_group.py create mode 100644 base_custom_filter/security/ir.model.access.csv create mode 100644 base_custom_filter/static/description/icon.png create mode 100644 base_custom_filter/static/description/index.html create mode 100644 base_custom_filter/tests/__init__.py create mode 100644 base_custom_filter/tests/test_filters.py create mode 100644 base_custom_filter/views/ir_filters_group_views.xml create mode 100644 base_custom_filter/views/ir_filters_views.xml delete mode 100644 base_search_custom_field_filter/static/src/js/search_bar_autocomplete_sources.js delete mode 100644 base_search_custom_field_filter/templates/assets.xml create mode 100644 base_tier_validation_report/COPYRIGHT create mode 100644 base_tier_validation_report/LICENSE create mode 100644 base_tier_validation_report/README.rst create mode 100644 base_tier_validation_report/__init__.py create mode 100644 base_tier_validation_report/__manifest__.py create mode 100644 base_tier_validation_report/i18n/base_tier_validation_report.pot create mode 100644 base_tier_validation_report/models/__init__.py create mode 100644 base_tier_validation_report/models/tier_review.py create mode 100644 base_tier_validation_report/reports/tier_review_report.xml create mode 100644 base_tier_validation_report/static/description/icon.png create mode 100644 base_tier_validation_report/static/description/index.html create mode 100644 base_user_locale/COPYRIGHT create mode 100644 base_user_locale/LICENSE create mode 100644 base_user_locale/README.rst create mode 100644 base_user_locale/__init__.py create mode 100644 base_user_locale/__manifest__.py create mode 100644 base_user_locale/controllers/__init__.py create mode 100644 base_user_locale/controllers/web_client.py create mode 100644 base_user_locale/i18n/base_user_locale.pot create mode 100644 base_user_locale/models/__init__.py create mode 100644 base_user_locale/models/calendar_event.py create mode 100644 base_user_locale/models/res_company.py create mode 100644 base_user_locale/models/res_config_settings.py create mode 100644 base_user_locale/models/res_users.py create mode 100644 base_user_locale/static/description/icon.png create mode 100644 base_user_locale/static/description/index.html create mode 100644 base_user_locale/tests/__init__.py create mode 100644 base_user_locale/tests/test_base_user_locale.py create mode 100644 base_user_locale/views/res_config_settings.xml create mode 100644 base_user_locale/views/res_users.xml create mode 100644 chained_swapper/i18n/it.po create mode 100644 date_range_account/i18n/es.po create mode 100644 date_range_account/i18n/fr.po create mode 100644 document_quick_access_folder_auto_classification/components/__init__.py create mode 100644 document_quick_access_folder_auto_classification/components/document_quick_access_process.py delete mode 100644 document_quick_access_folder_auto_classification/data/config_parameter.xml create mode 100644 document_quick_access_folder_auto_classification/data/edi_data.xml create mode 100644 document_quick_access_folder_auto_classification/migrations/14.0.1.0.1/post-migration.py create mode 100644 document_quick_access_folder_auto_classification/migrations/14.0.1.0.1/pre-migration.py delete mode 100644 document_quick_access_folder_auto_classification/models/document_quick_access_missing.py delete mode 100644 document_quick_access_folder_auto_classification/models/ir_attachment.py rename document_quick_access_folder_auto_classification/views/{document_quick_access_missing.xml => edi_exchange_record.xml} (55%) create mode 100644 server_action_domain/COPYRIGHT create mode 100644 server_action_domain/LICENSE create mode 100644 server_action_domain/README.rst create mode 100644 server_action_domain/__init__.py create mode 100644 server_action_domain/__manifest__.py create mode 100644 server_action_domain/i18n/server_action_domain.pot create mode 100644 server_action_domain/models/__init__.py create mode 100644 server_action_domain/models/ir_actions_server.py create mode 100644 server_action_domain/static/description/icon.png create mode 100644 server_action_domain/static/description/index.html create mode 100644 server_action_domain/tests/__init__.py create mode 100644 server_action_domain/tests/test_server_action_domain.py create mode 100644 server_action_domain/views/ir_actions_server.xml diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 08c3202..0abb641 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -36,17 +36,20 @@ test_all_modules: - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/community-data-files.git ~/others/community-data-files" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/connector.git ~/others/connector" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/connector-telephony.git ~/others/connector-telephony" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/contract.git ~/others/contract" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/delivery-carrier.git ~/others/delivery-carrier" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/edi.git ~/others/edi" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/intrastat-extrastat.git ~/others/intrastat-extrastat" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/partner-contact.git ~/others/partner-contact" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/product-attribute.git ~/others/product-attribute" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/purchase-workflow.git ~/others/purchase-workflow" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/queue.git ~/others/queue" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/report-print-send.git ~/others/report-print-send" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/reporting-engine.git ~/others/reporting-engine" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/rest-framework.git ~/others/rest-framework" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/sale-workflow.git ~/others/sale-workflow" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/server-auth.git ~/others/server-auth" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/server-backend.git ~/others/server-backend" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/server-env.git ~/others/server-env" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/server-tools.git ~/others/server-tools" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/social.git ~/others/social" @@ -67,46 +70,116 @@ test_all_modules: - mv ${CI_PROJECT_DIR}/ci_data/filestore /opt/flectra/.local/share/filestore/test_all - chown -R flectra.flectra /opt/flectra/.local/share/filestore/test_all - su - flectra -c "/opt/flectra/flectra-bin - --addons-path ${CI_PROJECT_DIR},~/others/account-analytic,~/others/account-closing,~/others/account-financial-tools,~/others/account-invoicing,~/others/account-payment,~/others/bank-payment,~/others/brand,~/others/community-data-files,~/others/connector,~/others/connector-telephony,~/others/delivery-carrier,~/others/edi,~/others/intrastat-extrastat,~/others/partner-contact,~/others/product-attribute,~/others/queue,~/others/report-print-send,~/others/reporting-engine,~/others/rest-framework,~/others/sale-workflow,~/others/server-auth,~/others/server-env,~/others/server-tools,~/others/social,~/others/stock-logistics-transport,~/others/stock-logistics-warehouse,~/others/stock-logistics-workflow,~/others/storage,~/others/web,~/others/wms + --addons-path ${CI_PROJECT_DIR},~/others/account-analytic,~/others/account-closing,~/others/account-financial-tools,~/others/account-invoicing,~/others/account-payment,~/others/bank-payment,~/others/brand,~/others/community-data-files,~/others/connector,~/others/connector-telephony,~/others/contract,~/others/delivery-carrier,~/others/edi,~/others/intrastat-extrastat,~/others/partner-contact,~/others/product-attribute,~/others/purchase-workflow,~/others/queue,~/others/report-print-send,~/others/reporting-engine,~/others/rest-framework,~/others/sale-workflow,~/others/server-auth,~/others/server-backend,~/others/server-env,~/others/server-tools,~/others/social,~/others/stock-logistics-transport,~/others/stock-logistics-warehouse,~/others/stock-logistics-workflow,~/others/storage,~/others/web,~/others/wms --db_host psql --db_port 5432 --db_user flectra --db_password flectra --database test_all --test-enable - --init base_cancel_confirm,base_substate,filter_multi_user,default_multi_user,sequence_range_end,sequence_reset_period,sequence_check_digit,base_import_security_group,date_range,date_range_account,base_tier_validation_forward,base_menu_visibility_restriction,barcode_action,multi_step_wizard,base_technical_features,base_tier_validation_formula,base_tier_validation,base_search_custom_field_filter,base_revision,base_export_manager,document_quick_access,mass_editing,base_tier_validation_server_action,mass_operation_abstract,chained_swapper,base_optional_quick_create,document_quick_access_folder_auto_classification + --init base_tier_validation_report,base_cancel_confirm,base_substate,base_search_custom_field_filter,filter_multi_user,base_import_security_group,sequence_reset_period,base_menu_visibility_restriction,multi_step_wizard,mass_operation_abstract,base_revision,document_quick_access,base_tier_validation_forward,base_technical_features,base_tier_validation_formula,mass_editing,date_range,chained_swapper,date_range_account,base_export_manager,sequence_range_end,base_tier_validation_server_action,base_custom_filter,sequence_check_digit,server_action_domain,document_quick_access_folder_auto_classification,base_tier_validation,default_multi_user,base_user_locale,base_optional_quick_create,barcode_action --stop-after-init --log-level error + --log-handler flectra.addons.base_tier_validation_report:TEST --log-handler flectra.addons.base_cancel_confirm:TEST --log-handler flectra.addons.base_substate:TEST + --log-handler flectra.addons.base_search_custom_field_filter:TEST --log-handler flectra.addons.filter_multi_user:TEST - --log-handler flectra.addons.default_multi_user:TEST - --log-handler flectra.addons.sequence_range_end:TEST - --log-handler flectra.addons.sequence_reset_period:TEST - --log-handler flectra.addons.sequence_check_digit:TEST --log-handler flectra.addons.base_import_security_group:TEST - --log-handler flectra.addons.date_range:TEST - --log-handler flectra.addons.date_range_account:TEST - --log-handler flectra.addons.base_tier_validation_forward:TEST + --log-handler flectra.addons.sequence_reset_period:TEST --log-handler flectra.addons.base_menu_visibility_restriction:TEST - --log-handler flectra.addons.barcode_action:TEST --log-handler flectra.addons.multi_step_wizard:TEST + --log-handler flectra.addons.mass_operation_abstract:TEST + --log-handler flectra.addons.base_revision:TEST + --log-handler flectra.addons.document_quick_access:TEST + --log-handler flectra.addons.base_tier_validation_forward:TEST --log-handler flectra.addons.base_technical_features:TEST --log-handler flectra.addons.base_tier_validation_formula:TEST - --log-handler flectra.addons.base_tier_validation:TEST - --log-handler flectra.addons.base_search_custom_field_filter:TEST - --log-handler flectra.addons.base_revision:TEST - --log-handler flectra.addons.base_export_manager:TEST - --log-handler flectra.addons.document_quick_access:TEST --log-handler flectra.addons.mass_editing:TEST - --log-handler flectra.addons.base_tier_validation_server_action:TEST - --log-handler flectra.addons.mass_operation_abstract:TEST + --log-handler flectra.addons.date_range:TEST --log-handler flectra.addons.chained_swapper:TEST - --log-handler flectra.addons.base_optional_quick_create:TEST + --log-handler flectra.addons.date_range_account:TEST + --log-handler flectra.addons.base_export_manager:TEST + --log-handler flectra.addons.sequence_range_end:TEST + --log-handler flectra.addons.base_tier_validation_server_action:TEST + --log-handler flectra.addons.base_custom_filter:TEST + --log-handler flectra.addons.sequence_check_digit:TEST + --log-handler flectra.addons.server_action_domain:TEST --log-handler flectra.addons.document_quick_access_folder_auto_classification:TEST + --log-handler flectra.addons.base_tier_validation:TEST + --log-handler flectra.addons.default_multi_user:TEST + --log-handler flectra.addons.base_user_locale:TEST + --log-handler flectra.addons.base_optional_quick_create:TEST + --log-handler flectra.addons.barcode_action:TEST " +test_module_base_tier_validation_report: + stage: testsingle + when: on_failure + image: + name: registry.gitlab.com/jamotion/flectra/ubuntudev:2-latest + entrypoint: ["/bin/sh", "-c"] + script: + - apt-get install -y p7zip-full + - apt install -y expect-dev libzbar0 poppler-utils + - 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/account-analytic.git ~/others/account-analytic" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/account-closing.git ~/others/account-closing" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/account-financial-tools.git ~/others/account-financial-tools" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/account-invoicing.git ~/others/account-invoicing" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/account-payment.git ~/others/account-payment" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/bank-payment.git ~/others/bank-payment" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/brand.git ~/others/brand" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/community-data-files.git ~/others/community-data-files" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/connector.git ~/others/connector" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/connector-telephony.git ~/others/connector-telephony" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/contract.git ~/others/contract" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/delivery-carrier.git ~/others/delivery-carrier" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/edi.git ~/others/edi" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/intrastat-extrastat.git ~/others/intrastat-extrastat" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/partner-contact.git ~/others/partner-contact" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/product-attribute.git ~/others/product-attribute" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/purchase-workflow.git ~/others/purchase-workflow" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/queue.git ~/others/queue" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/report-print-send.git ~/others/report-print-send" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/reporting-engine.git ~/others/reporting-engine" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/rest-framework.git ~/others/rest-framework" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/sale-workflow.git ~/others/sale-workflow" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/server-auth.git ~/others/server-auth" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/server-backend.git ~/others/server-backend" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/server-env.git ~/others/server-env" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/server-tools.git ~/others/server-tools" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/social.git ~/others/social" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/stock-logistics-transport.git ~/others/stock-logistics-transport" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/stock-logistics-warehouse.git ~/others/stock-logistics-warehouse" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/stock-logistics-workflow.git ~/others/stock-logistics-workflow" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/storage.git ~/others/storage" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/web.git ~/others/web" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/wms.git ~/others/wms" + - 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_tier_validation_report + - psql -h psql -U flectra -d test_base_tier_validation_report -f ${CI_PROJECT_DIR}/ci_data/dump.sql + - su - flectra -c "mkdir -p ~/.local/share/filestore" + - mv ${CI_PROJECT_DIR}/ci_data/filestore /opt/flectra/.local/share/filestore/test_base_tier_validation_report + - chown -R flectra.flectra /opt/flectra/.local/share/filestore/test_base_tier_validation_report + - su - flectra -c "/opt/flectra/flectra-bin + --addons-path ${CI_PROJECT_DIR},~/others/account-analytic,~/others/account-closing,~/others/account-financial-tools,~/others/account-invoicing,~/others/account-payment,~/others/bank-payment,~/others/brand,~/others/community-data-files,~/others/connector,~/others/connector-telephony,~/others/contract,~/others/delivery-carrier,~/others/edi,~/others/intrastat-extrastat,~/others/partner-contact,~/others/product-attribute,~/others/purchase-workflow,~/others/queue,~/others/report-print-send,~/others/reporting-engine,~/others/rest-framework,~/others/sale-workflow,~/others/server-auth,~/others/server-backend,~/others/server-env,~/others/server-tools,~/others/social,~/others/stock-logistics-transport,~/others/stock-logistics-warehouse,~/others/stock-logistics-workflow,~/others/storage,~/others/web,~/others/wms + --db_host psql + --db_port 5432 + --db_user flectra + --db_password flectra + --database test_base_tier_validation_report + --test-enable -i base_tier_validation_report + --stop-after-init + --log-level error + --log-handler flectra.addons.base_tier_validation_report:TEST" + test_module_base_cancel_confirm: stage: testsingle when: on_failure @@ -128,17 +201,20 @@ test_module_base_cancel_confirm: - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/community-data-files.git ~/others/community-data-files" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/connector.git ~/others/connector" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/connector-telephony.git ~/others/connector-telephony" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/contract.git ~/others/contract" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/delivery-carrier.git ~/others/delivery-carrier" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/edi.git ~/others/edi" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/intrastat-extrastat.git ~/others/intrastat-extrastat" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/partner-contact.git ~/others/partner-contact" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/product-attribute.git ~/others/product-attribute" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/purchase-workflow.git ~/others/purchase-workflow" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/queue.git ~/others/queue" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/report-print-send.git ~/others/report-print-send" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/reporting-engine.git ~/others/reporting-engine" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/rest-framework.git ~/others/rest-framework" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/sale-workflow.git ~/others/sale-workflow" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/server-auth.git ~/others/server-auth" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/server-backend.git ~/others/server-backend" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/server-env.git ~/others/server-env" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/server-tools.git ~/others/server-tools" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/social.git ~/others/social" @@ -159,7 +235,7 @@ test_module_base_cancel_confirm: - mv ${CI_PROJECT_DIR}/ci_data/filestore /opt/flectra/.local/share/filestore/test_base_cancel_confirm - chown -R flectra.flectra /opt/flectra/.local/share/filestore/test_base_cancel_confirm - su - flectra -c "/opt/flectra/flectra-bin - --addons-path ${CI_PROJECT_DIR},~/others/account-analytic,~/others/account-closing,~/others/account-financial-tools,~/others/account-invoicing,~/others/account-payment,~/others/bank-payment,~/others/brand,~/others/community-data-files,~/others/connector,~/others/connector-telephony,~/others/delivery-carrier,~/others/edi,~/others/intrastat-extrastat,~/others/partner-contact,~/others/product-attribute,~/others/queue,~/others/report-print-send,~/others/reporting-engine,~/others/rest-framework,~/others/sale-workflow,~/others/server-auth,~/others/server-env,~/others/server-tools,~/others/social,~/others/stock-logistics-transport,~/others/stock-logistics-warehouse,~/others/stock-logistics-workflow,~/others/storage,~/others/web,~/others/wms + --addons-path ${CI_PROJECT_DIR},~/others/account-analytic,~/others/account-closing,~/others/account-financial-tools,~/others/account-invoicing,~/others/account-payment,~/others/bank-payment,~/others/brand,~/others/community-data-files,~/others/connector,~/others/connector-telephony,~/others/contract,~/others/delivery-carrier,~/others/edi,~/others/intrastat-extrastat,~/others/partner-contact,~/others/product-attribute,~/others/purchase-workflow,~/others/queue,~/others/report-print-send,~/others/reporting-engine,~/others/rest-framework,~/others/sale-workflow,~/others/server-auth,~/others/server-backend,~/others/server-env,~/others/server-tools,~/others/social,~/others/stock-logistics-transport,~/others/stock-logistics-warehouse,~/others/stock-logistics-workflow,~/others/storage,~/others/web,~/others/wms --db_host psql --db_port 5432 --db_user flectra @@ -191,17 +267,20 @@ test_module_base_substate: - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/community-data-files.git ~/others/community-data-files" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/connector.git ~/others/connector" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/connector-telephony.git ~/others/connector-telephony" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/contract.git ~/others/contract" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/delivery-carrier.git ~/others/delivery-carrier" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/edi.git ~/others/edi" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/intrastat-extrastat.git ~/others/intrastat-extrastat" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/partner-contact.git ~/others/partner-contact" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/product-attribute.git ~/others/product-attribute" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/purchase-workflow.git ~/others/purchase-workflow" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/queue.git ~/others/queue" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/report-print-send.git ~/others/report-print-send" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/reporting-engine.git ~/others/reporting-engine" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/rest-framework.git ~/others/rest-framework" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/sale-workflow.git ~/others/sale-workflow" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/server-auth.git ~/others/server-auth" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/server-backend.git ~/others/server-backend" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/server-env.git ~/others/server-env" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/server-tools.git ~/others/server-tools" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/social.git ~/others/social" @@ -222,7 +301,7 @@ test_module_base_substate: - mv ${CI_PROJECT_DIR}/ci_data/filestore /opt/flectra/.local/share/filestore/test_base_substate - chown -R flectra.flectra /opt/flectra/.local/share/filestore/test_base_substate - su - flectra -c "/opt/flectra/flectra-bin - --addons-path ${CI_PROJECT_DIR},~/others/account-analytic,~/others/account-closing,~/others/account-financial-tools,~/others/account-invoicing,~/others/account-payment,~/others/bank-payment,~/others/brand,~/others/community-data-files,~/others/connector,~/others/connector-telephony,~/others/delivery-carrier,~/others/edi,~/others/intrastat-extrastat,~/others/partner-contact,~/others/product-attribute,~/others/queue,~/others/report-print-send,~/others/reporting-engine,~/others/rest-framework,~/others/sale-workflow,~/others/server-auth,~/others/server-env,~/others/server-tools,~/others/social,~/others/stock-logistics-transport,~/others/stock-logistics-warehouse,~/others/stock-logistics-workflow,~/others/storage,~/others/web,~/others/wms + --addons-path ${CI_PROJECT_DIR},~/others/account-analytic,~/others/account-closing,~/others/account-financial-tools,~/others/account-invoicing,~/others/account-payment,~/others/bank-payment,~/others/brand,~/others/community-data-files,~/others/connector,~/others/connector-telephony,~/others/contract,~/others/delivery-carrier,~/others/edi,~/others/intrastat-extrastat,~/others/partner-contact,~/others/product-attribute,~/others/purchase-workflow,~/others/queue,~/others/report-print-send,~/others/reporting-engine,~/others/rest-framework,~/others/sale-workflow,~/others/server-auth,~/others/server-backend,~/others/server-env,~/others/server-tools,~/others/social,~/others/stock-logistics-transport,~/others/stock-logistics-warehouse,~/others/stock-logistics-workflow,~/others/storage,~/others/web,~/others/wms --db_host psql --db_port 5432 --db_user flectra @@ -233,6 +312,72 @@ test_module_base_substate: --log-level error --log-handler flectra.addons.base_substate:TEST" +test_module_base_search_custom_field_filter: + 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 libzbar0 poppler-utils + - 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/account-analytic.git ~/others/account-analytic" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/account-closing.git ~/others/account-closing" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/account-financial-tools.git ~/others/account-financial-tools" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/account-invoicing.git ~/others/account-invoicing" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/account-payment.git ~/others/account-payment" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/bank-payment.git ~/others/bank-payment" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/brand.git ~/others/brand" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/community-data-files.git ~/others/community-data-files" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/connector.git ~/others/connector" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/connector-telephony.git ~/others/connector-telephony" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/contract.git ~/others/contract" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/delivery-carrier.git ~/others/delivery-carrier" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/edi.git ~/others/edi" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/intrastat-extrastat.git ~/others/intrastat-extrastat" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/partner-contact.git ~/others/partner-contact" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/product-attribute.git ~/others/product-attribute" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/purchase-workflow.git ~/others/purchase-workflow" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/queue.git ~/others/queue" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/report-print-send.git ~/others/report-print-send" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/reporting-engine.git ~/others/reporting-engine" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/rest-framework.git ~/others/rest-framework" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/sale-workflow.git ~/others/sale-workflow" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/server-auth.git ~/others/server-auth" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/server-backend.git ~/others/server-backend" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/server-env.git ~/others/server-env" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/server-tools.git ~/others/server-tools" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/social.git ~/others/social" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/stock-logistics-transport.git ~/others/stock-logistics-transport" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/stock-logistics-warehouse.git ~/others/stock-logistics-warehouse" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/stock-logistics-workflow.git ~/others/stock-logistics-workflow" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/storage.git ~/others/storage" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/web.git ~/others/web" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/wms.git ~/others/wms" + - 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_search_custom_field_filter + - psql -h psql -U flectra -d test_base_search_custom_field_filter -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_search_custom_field_filter + - chown -R flectra.flectra /opt/flectra/.local/share/filestore/test_base_search_custom_field_filter + - su - flectra -c "/opt/flectra/flectra-bin + --addons-path ${CI_PROJECT_DIR},~/others/account-analytic,~/others/account-closing,~/others/account-financial-tools,~/others/account-invoicing,~/others/account-payment,~/others/bank-payment,~/others/brand,~/others/community-data-files,~/others/connector,~/others/connector-telephony,~/others/contract,~/others/delivery-carrier,~/others/edi,~/others/intrastat-extrastat,~/others/partner-contact,~/others/product-attribute,~/others/purchase-workflow,~/others/queue,~/others/report-print-send,~/others/reporting-engine,~/others/rest-framework,~/others/sale-workflow,~/others/server-auth,~/others/server-backend,~/others/server-env,~/others/server-tools,~/others/social,~/others/stock-logistics-transport,~/others/stock-logistics-warehouse,~/others/stock-logistics-workflow,~/others/storage,~/others/web,~/others/wms + --db_host psql + --db_port 5432 + --db_user flectra + --db_password flectra + --database test_base_search_custom_field_filter + --test-enable -i base_search_custom_field_filter + --stop-after-init + --log-level error + --log-handler flectra.addons.base_search_custom_field_filter:TEST" + test_module_filter_multi_user: stage: testsingle when: on_failure @@ -254,17 +399,20 @@ test_module_filter_multi_user: - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/community-data-files.git ~/others/community-data-files" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/connector.git ~/others/connector" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/connector-telephony.git ~/others/connector-telephony" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/contract.git ~/others/contract" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/delivery-carrier.git ~/others/delivery-carrier" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/edi.git ~/others/edi" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/intrastat-extrastat.git ~/others/intrastat-extrastat" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/partner-contact.git ~/others/partner-contact" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/product-attribute.git ~/others/product-attribute" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/purchase-workflow.git ~/others/purchase-workflow" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/queue.git ~/others/queue" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/report-print-send.git ~/others/report-print-send" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/reporting-engine.git ~/others/reporting-engine" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/rest-framework.git ~/others/rest-framework" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/sale-workflow.git ~/others/sale-workflow" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/server-auth.git ~/others/server-auth" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/server-backend.git ~/others/server-backend" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/server-env.git ~/others/server-env" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/server-tools.git ~/others/server-tools" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/social.git ~/others/social" @@ -285,7 +433,7 @@ test_module_filter_multi_user: - mv ${CI_PROJECT_DIR}/ci_data/filestore /opt/flectra/.local/share/filestore/test_filter_multi_user - chown -R flectra.flectra /opt/flectra/.local/share/filestore/test_filter_multi_user - su - flectra -c "/opt/flectra/flectra-bin - --addons-path ${CI_PROJECT_DIR},~/others/account-analytic,~/others/account-closing,~/others/account-financial-tools,~/others/account-invoicing,~/others/account-payment,~/others/bank-payment,~/others/brand,~/others/community-data-files,~/others/connector,~/others/connector-telephony,~/others/delivery-carrier,~/others/edi,~/others/intrastat-extrastat,~/others/partner-contact,~/others/product-attribute,~/others/queue,~/others/report-print-send,~/others/reporting-engine,~/others/rest-framework,~/others/sale-workflow,~/others/server-auth,~/others/server-env,~/others/server-tools,~/others/social,~/others/stock-logistics-transport,~/others/stock-logistics-warehouse,~/others/stock-logistics-workflow,~/others/storage,~/others/web,~/others/wms + --addons-path ${CI_PROJECT_DIR},~/others/account-analytic,~/others/account-closing,~/others/account-financial-tools,~/others/account-invoicing,~/others/account-payment,~/others/bank-payment,~/others/brand,~/others/community-data-files,~/others/connector,~/others/connector-telephony,~/others/contract,~/others/delivery-carrier,~/others/edi,~/others/intrastat-extrastat,~/others/partner-contact,~/others/product-attribute,~/others/purchase-workflow,~/others/queue,~/others/report-print-send,~/others/reporting-engine,~/others/rest-framework,~/others/sale-workflow,~/others/server-auth,~/others/server-backend,~/others/server-env,~/others/server-tools,~/others/social,~/others/stock-logistics-transport,~/others/stock-logistics-warehouse,~/others/stock-logistics-workflow,~/others/storage,~/others/web,~/others/wms --db_host psql --db_port 5432 --db_user flectra @@ -296,258 +444,6 @@ test_module_filter_multi_user: --log-level error --log-handler flectra.addons.filter_multi_user:TEST" -test_module_default_multi_user: - 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 libzbar0 poppler-utils - - 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/account-analytic.git ~/others/account-analytic" - - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/account-closing.git ~/others/account-closing" - - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/account-financial-tools.git ~/others/account-financial-tools" - - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/account-invoicing.git ~/others/account-invoicing" - - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/account-payment.git ~/others/account-payment" - - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/bank-payment.git ~/others/bank-payment" - - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/brand.git ~/others/brand" - - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/community-data-files.git ~/others/community-data-files" - - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/connector.git ~/others/connector" - - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/connector-telephony.git ~/others/connector-telephony" - - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/delivery-carrier.git ~/others/delivery-carrier" - - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/edi.git ~/others/edi" - - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/intrastat-extrastat.git ~/others/intrastat-extrastat" - - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/partner-contact.git ~/others/partner-contact" - - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/product-attribute.git ~/others/product-attribute" - - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/queue.git ~/others/queue" - - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/report-print-send.git ~/others/report-print-send" - - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/reporting-engine.git ~/others/reporting-engine" - - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/rest-framework.git ~/others/rest-framework" - - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/sale-workflow.git ~/others/sale-workflow" - - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/server-auth.git ~/others/server-auth" - - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/server-env.git ~/others/server-env" - - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/server-tools.git ~/others/server-tools" - - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/social.git ~/others/social" - - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/stock-logistics-transport.git ~/others/stock-logistics-transport" - - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/stock-logistics-warehouse.git ~/others/stock-logistics-warehouse" - - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/stock-logistics-workflow.git ~/others/stock-logistics-workflow" - - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/storage.git ~/others/storage" - - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/web.git ~/others/web" - - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/wms.git ~/others/wms" - - 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_default_multi_user - - psql -h psql -U flectra -d test_default_multi_user -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_default_multi_user - - chown -R flectra.flectra /opt/flectra/.local/share/filestore/test_default_multi_user - - su - flectra -c "/opt/flectra/flectra-bin - --addons-path ${CI_PROJECT_DIR},~/others/account-analytic,~/others/account-closing,~/others/account-financial-tools,~/others/account-invoicing,~/others/account-payment,~/others/bank-payment,~/others/brand,~/others/community-data-files,~/others/connector,~/others/connector-telephony,~/others/delivery-carrier,~/others/edi,~/others/intrastat-extrastat,~/others/partner-contact,~/others/product-attribute,~/others/queue,~/others/report-print-send,~/others/reporting-engine,~/others/rest-framework,~/others/sale-workflow,~/others/server-auth,~/others/server-env,~/others/server-tools,~/others/social,~/others/stock-logistics-transport,~/others/stock-logistics-warehouse,~/others/stock-logistics-workflow,~/others/storage,~/others/web,~/others/wms - --db_host psql - --db_port 5432 - --db_user flectra - --db_password flectra - --database test_default_multi_user - --test-enable -i default_multi_user - --stop-after-init - --log-level error - --log-handler flectra.addons.default_multi_user:TEST" - -test_module_sequence_range_end: - 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 libzbar0 poppler-utils - - 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/account-analytic.git ~/others/account-analytic" - - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/account-closing.git ~/others/account-closing" - - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/account-financial-tools.git ~/others/account-financial-tools" - - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/account-invoicing.git ~/others/account-invoicing" - - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/account-payment.git ~/others/account-payment" - - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/bank-payment.git ~/others/bank-payment" - - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/brand.git ~/others/brand" - - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/community-data-files.git ~/others/community-data-files" - - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/connector.git ~/others/connector" - - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/connector-telephony.git ~/others/connector-telephony" - - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/delivery-carrier.git ~/others/delivery-carrier" - - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/edi.git ~/others/edi" - - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/intrastat-extrastat.git ~/others/intrastat-extrastat" - - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/partner-contact.git ~/others/partner-contact" - - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/product-attribute.git ~/others/product-attribute" - - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/queue.git ~/others/queue" - - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/report-print-send.git ~/others/report-print-send" - - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/reporting-engine.git ~/others/reporting-engine" - - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/rest-framework.git ~/others/rest-framework" - - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/sale-workflow.git ~/others/sale-workflow" - - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/server-auth.git ~/others/server-auth" - - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/server-env.git ~/others/server-env" - - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/server-tools.git ~/others/server-tools" - - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/social.git ~/others/social" - - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/stock-logistics-transport.git ~/others/stock-logistics-transport" - - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/stock-logistics-warehouse.git ~/others/stock-logistics-warehouse" - - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/stock-logistics-workflow.git ~/others/stock-logistics-workflow" - - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/storage.git ~/others/storage" - - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/web.git ~/others/web" - - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/wms.git ~/others/wms" - - 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_sequence_range_end - - psql -h psql -U flectra -d test_sequence_range_end -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_sequence_range_end - - chown -R flectra.flectra /opt/flectra/.local/share/filestore/test_sequence_range_end - - su - flectra -c "/opt/flectra/flectra-bin - --addons-path ${CI_PROJECT_DIR},~/others/account-analytic,~/others/account-closing,~/others/account-financial-tools,~/others/account-invoicing,~/others/account-payment,~/others/bank-payment,~/others/brand,~/others/community-data-files,~/others/connector,~/others/connector-telephony,~/others/delivery-carrier,~/others/edi,~/others/intrastat-extrastat,~/others/partner-contact,~/others/product-attribute,~/others/queue,~/others/report-print-send,~/others/reporting-engine,~/others/rest-framework,~/others/sale-workflow,~/others/server-auth,~/others/server-env,~/others/server-tools,~/others/social,~/others/stock-logistics-transport,~/others/stock-logistics-warehouse,~/others/stock-logistics-workflow,~/others/storage,~/others/web,~/others/wms - --db_host psql - --db_port 5432 - --db_user flectra - --db_password flectra - --database test_sequence_range_end - --test-enable -i sequence_range_end - --stop-after-init - --log-level error - --log-handler flectra.addons.sequence_range_end:TEST" - -test_module_sequence_reset_period: - 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 libzbar0 poppler-utils - - 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/account-analytic.git ~/others/account-analytic" - - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/account-closing.git ~/others/account-closing" - - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/account-financial-tools.git ~/others/account-financial-tools" - - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/account-invoicing.git ~/others/account-invoicing" - - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/account-payment.git ~/others/account-payment" - - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/bank-payment.git ~/others/bank-payment" - - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/brand.git ~/others/brand" - - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/community-data-files.git ~/others/community-data-files" - - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/connector.git ~/others/connector" - - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/connector-telephony.git ~/others/connector-telephony" - - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/delivery-carrier.git ~/others/delivery-carrier" - - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/edi.git ~/others/edi" - - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/intrastat-extrastat.git ~/others/intrastat-extrastat" - - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/partner-contact.git ~/others/partner-contact" - - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/product-attribute.git ~/others/product-attribute" - - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/queue.git ~/others/queue" - - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/report-print-send.git ~/others/report-print-send" - - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/reporting-engine.git ~/others/reporting-engine" - - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/rest-framework.git ~/others/rest-framework" - - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/sale-workflow.git ~/others/sale-workflow" - - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/server-auth.git ~/others/server-auth" - - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/server-env.git ~/others/server-env" - - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/server-tools.git ~/others/server-tools" - - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/social.git ~/others/social" - - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/stock-logistics-transport.git ~/others/stock-logistics-transport" - - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/stock-logistics-warehouse.git ~/others/stock-logistics-warehouse" - - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/stock-logistics-workflow.git ~/others/stock-logistics-workflow" - - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/storage.git ~/others/storage" - - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/web.git ~/others/web" - - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/wms.git ~/others/wms" - - 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_sequence_reset_period - - psql -h psql -U flectra -d test_sequence_reset_period -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_sequence_reset_period - - chown -R flectra.flectra /opt/flectra/.local/share/filestore/test_sequence_reset_period - - su - flectra -c "/opt/flectra/flectra-bin - --addons-path ${CI_PROJECT_DIR},~/others/account-analytic,~/others/account-closing,~/others/account-financial-tools,~/others/account-invoicing,~/others/account-payment,~/others/bank-payment,~/others/brand,~/others/community-data-files,~/others/connector,~/others/connector-telephony,~/others/delivery-carrier,~/others/edi,~/others/intrastat-extrastat,~/others/partner-contact,~/others/product-attribute,~/others/queue,~/others/report-print-send,~/others/reporting-engine,~/others/rest-framework,~/others/sale-workflow,~/others/server-auth,~/others/server-env,~/others/server-tools,~/others/social,~/others/stock-logistics-transport,~/others/stock-logistics-warehouse,~/others/stock-logistics-workflow,~/others/storage,~/others/web,~/others/wms - --db_host psql - --db_port 5432 - --db_user flectra - --db_password flectra - --database test_sequence_reset_period - --test-enable -i sequence_reset_period - --stop-after-init - --log-level error - --log-handler flectra.addons.sequence_reset_period:TEST" - -test_module_sequence_check_digit: - 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 libzbar0 poppler-utils - - 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/account-analytic.git ~/others/account-analytic" - - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/account-closing.git ~/others/account-closing" - - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/account-financial-tools.git ~/others/account-financial-tools" - - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/account-invoicing.git ~/others/account-invoicing" - - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/account-payment.git ~/others/account-payment" - - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/bank-payment.git ~/others/bank-payment" - - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/brand.git ~/others/brand" - - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/community-data-files.git ~/others/community-data-files" - - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/connector.git ~/others/connector" - - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/connector-telephony.git ~/others/connector-telephony" - - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/delivery-carrier.git ~/others/delivery-carrier" - - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/edi.git ~/others/edi" - - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/intrastat-extrastat.git ~/others/intrastat-extrastat" - - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/partner-contact.git ~/others/partner-contact" - - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/product-attribute.git ~/others/product-attribute" - - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/queue.git ~/others/queue" - - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/report-print-send.git ~/others/report-print-send" - - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/reporting-engine.git ~/others/reporting-engine" - - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/rest-framework.git ~/others/rest-framework" - - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/sale-workflow.git ~/others/sale-workflow" - - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/server-auth.git ~/others/server-auth" - - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/server-env.git ~/others/server-env" - - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/server-tools.git ~/others/server-tools" - - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/social.git ~/others/social" - - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/stock-logistics-transport.git ~/others/stock-logistics-transport" - - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/stock-logistics-warehouse.git ~/others/stock-logistics-warehouse" - - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/stock-logistics-workflow.git ~/others/stock-logistics-workflow" - - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/storage.git ~/others/storage" - - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/web.git ~/others/web" - - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/wms.git ~/others/wms" - - 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_sequence_check_digit - - psql -h psql -U flectra -d test_sequence_check_digit -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_sequence_check_digit - - chown -R flectra.flectra /opt/flectra/.local/share/filestore/test_sequence_check_digit - - su - flectra -c "/opt/flectra/flectra-bin - --addons-path ${CI_PROJECT_DIR},~/others/account-analytic,~/others/account-closing,~/others/account-financial-tools,~/others/account-invoicing,~/others/account-payment,~/others/bank-payment,~/others/brand,~/others/community-data-files,~/others/connector,~/others/connector-telephony,~/others/delivery-carrier,~/others/edi,~/others/intrastat-extrastat,~/others/partner-contact,~/others/product-attribute,~/others/queue,~/others/report-print-send,~/others/reporting-engine,~/others/rest-framework,~/others/sale-workflow,~/others/server-auth,~/others/server-env,~/others/server-tools,~/others/social,~/others/stock-logistics-transport,~/others/stock-logistics-warehouse,~/others/stock-logistics-workflow,~/others/storage,~/others/web,~/others/wms - --db_host psql - --db_port 5432 - --db_user flectra - --db_password flectra - --database test_sequence_check_digit - --test-enable -i sequence_check_digit - --stop-after-init - --log-level error - --log-handler flectra.addons.sequence_check_digit:TEST" - test_module_base_import_security_group: stage: testsingle when: on_failure @@ -569,17 +465,20 @@ test_module_base_import_security_group: - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/community-data-files.git ~/others/community-data-files" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/connector.git ~/others/connector" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/connector-telephony.git ~/others/connector-telephony" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/contract.git ~/others/contract" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/delivery-carrier.git ~/others/delivery-carrier" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/edi.git ~/others/edi" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/intrastat-extrastat.git ~/others/intrastat-extrastat" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/partner-contact.git ~/others/partner-contact" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/product-attribute.git ~/others/product-attribute" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/purchase-workflow.git ~/others/purchase-workflow" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/queue.git ~/others/queue" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/report-print-send.git ~/others/report-print-send" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/reporting-engine.git ~/others/reporting-engine" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/rest-framework.git ~/others/rest-framework" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/sale-workflow.git ~/others/sale-workflow" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/server-auth.git ~/others/server-auth" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/server-backend.git ~/others/server-backend" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/server-env.git ~/others/server-env" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/server-tools.git ~/others/server-tools" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/social.git ~/others/social" @@ -600,7 +499,7 @@ test_module_base_import_security_group: - mv ${CI_PROJECT_DIR}/ci_data/filestore /opt/flectra/.local/share/filestore/test_base_import_security_group - chown -R flectra.flectra /opt/flectra/.local/share/filestore/test_base_import_security_group - su - flectra -c "/opt/flectra/flectra-bin - --addons-path ${CI_PROJECT_DIR},~/others/account-analytic,~/others/account-closing,~/others/account-financial-tools,~/others/account-invoicing,~/others/account-payment,~/others/bank-payment,~/others/brand,~/others/community-data-files,~/others/connector,~/others/connector-telephony,~/others/delivery-carrier,~/others/edi,~/others/intrastat-extrastat,~/others/partner-contact,~/others/product-attribute,~/others/queue,~/others/report-print-send,~/others/reporting-engine,~/others/rest-framework,~/others/sale-workflow,~/others/server-auth,~/others/server-env,~/others/server-tools,~/others/social,~/others/stock-logistics-transport,~/others/stock-logistics-warehouse,~/others/stock-logistics-workflow,~/others/storage,~/others/web,~/others/wms + --addons-path ${CI_PROJECT_DIR},~/others/account-analytic,~/others/account-closing,~/others/account-financial-tools,~/others/account-invoicing,~/others/account-payment,~/others/bank-payment,~/others/brand,~/others/community-data-files,~/others/connector,~/others/connector-telephony,~/others/contract,~/others/delivery-carrier,~/others/edi,~/others/intrastat-extrastat,~/others/partner-contact,~/others/product-attribute,~/others/purchase-workflow,~/others/queue,~/others/report-print-send,~/others/reporting-engine,~/others/rest-framework,~/others/sale-workflow,~/others/server-auth,~/others/server-backend,~/others/server-env,~/others/server-tools,~/others/social,~/others/stock-logistics-transport,~/others/stock-logistics-warehouse,~/others/stock-logistics-workflow,~/others/storage,~/others/web,~/others/wms --db_host psql --db_port 5432 --db_user flectra @@ -611,7 +510,7 @@ test_module_base_import_security_group: --log-level error --log-handler flectra.addons.base_import_security_group:TEST" -test_module_date_range: +test_module_sequence_reset_period: stage: testsingle when: on_failure image: @@ -632,17 +531,20 @@ test_module_date_range: - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/community-data-files.git ~/others/community-data-files" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/connector.git ~/others/connector" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/connector-telephony.git ~/others/connector-telephony" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/contract.git ~/others/contract" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/delivery-carrier.git ~/others/delivery-carrier" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/edi.git ~/others/edi" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/intrastat-extrastat.git ~/others/intrastat-extrastat" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/partner-contact.git ~/others/partner-contact" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/product-attribute.git ~/others/product-attribute" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/purchase-workflow.git ~/others/purchase-workflow" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/queue.git ~/others/queue" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/report-print-send.git ~/others/report-print-send" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/reporting-engine.git ~/others/reporting-engine" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/rest-framework.git ~/others/rest-framework" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/sale-workflow.git ~/others/sale-workflow" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/server-auth.git ~/others/server-auth" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/server-backend.git ~/others/server-backend" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/server-env.git ~/others/server-env" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/server-tools.git ~/others/server-tools" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/social.git ~/others/social" @@ -657,148 +559,22 @@ test_module_date_range: - 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_date_range - - psql -h psql -U flectra -d test_date_range -f ${CI_PROJECT_DIR}/ci_data/dump.sql + - createdb -h psql -U flectra -O flectra -T template1 test_sequence_reset_period + - psql -h psql -U flectra -d test_sequence_reset_period -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_date_range - - chown -R flectra.flectra /opt/flectra/.local/share/filestore/test_date_range + - mv ${CI_PROJECT_DIR}/ci_data/filestore /opt/flectra/.local/share/filestore/test_sequence_reset_period + - chown -R flectra.flectra /opt/flectra/.local/share/filestore/test_sequence_reset_period - su - flectra -c "/opt/flectra/flectra-bin - --addons-path ${CI_PROJECT_DIR},~/others/account-analytic,~/others/account-closing,~/others/account-financial-tools,~/others/account-invoicing,~/others/account-payment,~/others/bank-payment,~/others/brand,~/others/community-data-files,~/others/connector,~/others/connector-telephony,~/others/delivery-carrier,~/others/edi,~/others/intrastat-extrastat,~/others/partner-contact,~/others/product-attribute,~/others/queue,~/others/report-print-send,~/others/reporting-engine,~/others/rest-framework,~/others/sale-workflow,~/others/server-auth,~/others/server-env,~/others/server-tools,~/others/social,~/others/stock-logistics-transport,~/others/stock-logistics-warehouse,~/others/stock-logistics-workflow,~/others/storage,~/others/web,~/others/wms + --addons-path ${CI_PROJECT_DIR},~/others/account-analytic,~/others/account-closing,~/others/account-financial-tools,~/others/account-invoicing,~/others/account-payment,~/others/bank-payment,~/others/brand,~/others/community-data-files,~/others/connector,~/others/connector-telephony,~/others/contract,~/others/delivery-carrier,~/others/edi,~/others/intrastat-extrastat,~/others/partner-contact,~/others/product-attribute,~/others/purchase-workflow,~/others/queue,~/others/report-print-send,~/others/reporting-engine,~/others/rest-framework,~/others/sale-workflow,~/others/server-auth,~/others/server-backend,~/others/server-env,~/others/server-tools,~/others/social,~/others/stock-logistics-transport,~/others/stock-logistics-warehouse,~/others/stock-logistics-workflow,~/others/storage,~/others/web,~/others/wms --db_host psql --db_port 5432 --db_user flectra --db_password flectra - --database test_date_range - --test-enable -i date_range + --database test_sequence_reset_period + --test-enable -i sequence_reset_period --stop-after-init --log-level error - --log-handler flectra.addons.date_range:TEST" - -test_module_date_range_account: - 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 libzbar0 poppler-utils - - 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/account-analytic.git ~/others/account-analytic" - - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/account-closing.git ~/others/account-closing" - - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/account-financial-tools.git ~/others/account-financial-tools" - - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/account-invoicing.git ~/others/account-invoicing" - - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/account-payment.git ~/others/account-payment" - - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/bank-payment.git ~/others/bank-payment" - - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/brand.git ~/others/brand" - - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/community-data-files.git ~/others/community-data-files" - - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/connector.git ~/others/connector" - - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/connector-telephony.git ~/others/connector-telephony" - - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/delivery-carrier.git ~/others/delivery-carrier" - - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/edi.git ~/others/edi" - - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/intrastat-extrastat.git ~/others/intrastat-extrastat" - - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/partner-contact.git ~/others/partner-contact" - - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/product-attribute.git ~/others/product-attribute" - - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/queue.git ~/others/queue" - - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/report-print-send.git ~/others/report-print-send" - - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/reporting-engine.git ~/others/reporting-engine" - - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/rest-framework.git ~/others/rest-framework" - - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/sale-workflow.git ~/others/sale-workflow" - - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/server-auth.git ~/others/server-auth" - - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/server-env.git ~/others/server-env" - - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/server-tools.git ~/others/server-tools" - - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/social.git ~/others/social" - - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/stock-logistics-transport.git ~/others/stock-logistics-transport" - - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/stock-logistics-warehouse.git ~/others/stock-logistics-warehouse" - - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/stock-logistics-workflow.git ~/others/stock-logistics-workflow" - - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/storage.git ~/others/storage" - - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/web.git ~/others/web" - - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/wms.git ~/others/wms" - - 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_date_range_account - - psql -h psql -U flectra -d test_date_range_account -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_date_range_account - - chown -R flectra.flectra /opt/flectra/.local/share/filestore/test_date_range_account - - su - flectra -c "/opt/flectra/flectra-bin - --addons-path ${CI_PROJECT_DIR},~/others/account-analytic,~/others/account-closing,~/others/account-financial-tools,~/others/account-invoicing,~/others/account-payment,~/others/bank-payment,~/others/brand,~/others/community-data-files,~/others/connector,~/others/connector-telephony,~/others/delivery-carrier,~/others/edi,~/others/intrastat-extrastat,~/others/partner-contact,~/others/product-attribute,~/others/queue,~/others/report-print-send,~/others/reporting-engine,~/others/rest-framework,~/others/sale-workflow,~/others/server-auth,~/others/server-env,~/others/server-tools,~/others/social,~/others/stock-logistics-transport,~/others/stock-logistics-warehouse,~/others/stock-logistics-workflow,~/others/storage,~/others/web,~/others/wms - --db_host psql - --db_port 5432 - --db_user flectra - --db_password flectra - --database test_date_range_account - --test-enable -i date_range_account - --stop-after-init - --log-level error - --log-handler flectra.addons.date_range_account:TEST" - -test_module_base_tier_validation_forward: - 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 libzbar0 poppler-utils - - 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/account-analytic.git ~/others/account-analytic" - - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/account-closing.git ~/others/account-closing" - - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/account-financial-tools.git ~/others/account-financial-tools" - - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/account-invoicing.git ~/others/account-invoicing" - - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/account-payment.git ~/others/account-payment" - - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/bank-payment.git ~/others/bank-payment" - - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/brand.git ~/others/brand" - - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/community-data-files.git ~/others/community-data-files" - - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/connector.git ~/others/connector" - - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/connector-telephony.git ~/others/connector-telephony" - - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/delivery-carrier.git ~/others/delivery-carrier" - - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/edi.git ~/others/edi" - - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/intrastat-extrastat.git ~/others/intrastat-extrastat" - - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/partner-contact.git ~/others/partner-contact" - - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/product-attribute.git ~/others/product-attribute" - - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/queue.git ~/others/queue" - - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/report-print-send.git ~/others/report-print-send" - - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/reporting-engine.git ~/others/reporting-engine" - - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/rest-framework.git ~/others/rest-framework" - - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/sale-workflow.git ~/others/sale-workflow" - - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/server-auth.git ~/others/server-auth" - - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/server-env.git ~/others/server-env" - - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/server-tools.git ~/others/server-tools" - - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/social.git ~/others/social" - - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/stock-logistics-transport.git ~/others/stock-logistics-transport" - - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/stock-logistics-warehouse.git ~/others/stock-logistics-warehouse" - - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/stock-logistics-workflow.git ~/others/stock-logistics-workflow" - - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/storage.git ~/others/storage" - - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/web.git ~/others/web" - - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/wms.git ~/others/wms" - - 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_tier_validation_forward - - psql -h psql -U flectra -d test_base_tier_validation_forward -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_tier_validation_forward - - chown -R flectra.flectra /opt/flectra/.local/share/filestore/test_base_tier_validation_forward - - su - flectra -c "/opt/flectra/flectra-bin - --addons-path ${CI_PROJECT_DIR},~/others/account-analytic,~/others/account-closing,~/others/account-financial-tools,~/others/account-invoicing,~/others/account-payment,~/others/bank-payment,~/others/brand,~/others/community-data-files,~/others/connector,~/others/connector-telephony,~/others/delivery-carrier,~/others/edi,~/others/intrastat-extrastat,~/others/partner-contact,~/others/product-attribute,~/others/queue,~/others/report-print-send,~/others/reporting-engine,~/others/rest-framework,~/others/sale-workflow,~/others/server-auth,~/others/server-env,~/others/server-tools,~/others/social,~/others/stock-logistics-transport,~/others/stock-logistics-warehouse,~/others/stock-logistics-workflow,~/others/storage,~/others/web,~/others/wms - --db_host psql - --db_port 5432 - --db_user flectra - --db_password flectra - --database test_base_tier_validation_forward - --test-enable -i base_tier_validation_forward - --stop-after-init - --log-level error - --log-handler flectra.addons.base_tier_validation_forward:TEST" + --log-handler flectra.addons.sequence_reset_period:TEST" test_module_base_menu_visibility_restriction: stage: testsingle @@ -821,17 +597,20 @@ test_module_base_menu_visibility_restriction: - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/community-data-files.git ~/others/community-data-files" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/connector.git ~/others/connector" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/connector-telephony.git ~/others/connector-telephony" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/contract.git ~/others/contract" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/delivery-carrier.git ~/others/delivery-carrier" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/edi.git ~/others/edi" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/intrastat-extrastat.git ~/others/intrastat-extrastat" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/partner-contact.git ~/others/partner-contact" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/product-attribute.git ~/others/product-attribute" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/purchase-workflow.git ~/others/purchase-workflow" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/queue.git ~/others/queue" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/report-print-send.git ~/others/report-print-send" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/reporting-engine.git ~/others/reporting-engine" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/rest-framework.git ~/others/rest-framework" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/sale-workflow.git ~/others/sale-workflow" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/server-auth.git ~/others/server-auth" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/server-backend.git ~/others/server-backend" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/server-env.git ~/others/server-env" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/server-tools.git ~/others/server-tools" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/social.git ~/others/social" @@ -852,7 +631,7 @@ test_module_base_menu_visibility_restriction: - mv ${CI_PROJECT_DIR}/ci_data/filestore /opt/flectra/.local/share/filestore/test_base_menu_visibility_restriction - chown -R flectra.flectra /opt/flectra/.local/share/filestore/test_base_menu_visibility_restriction - su - flectra -c "/opt/flectra/flectra-bin - --addons-path ${CI_PROJECT_DIR},~/others/account-analytic,~/others/account-closing,~/others/account-financial-tools,~/others/account-invoicing,~/others/account-payment,~/others/bank-payment,~/others/brand,~/others/community-data-files,~/others/connector,~/others/connector-telephony,~/others/delivery-carrier,~/others/edi,~/others/intrastat-extrastat,~/others/partner-contact,~/others/product-attribute,~/others/queue,~/others/report-print-send,~/others/reporting-engine,~/others/rest-framework,~/others/sale-workflow,~/others/server-auth,~/others/server-env,~/others/server-tools,~/others/social,~/others/stock-logistics-transport,~/others/stock-logistics-warehouse,~/others/stock-logistics-workflow,~/others/storage,~/others/web,~/others/wms + --addons-path ${CI_PROJECT_DIR},~/others/account-analytic,~/others/account-closing,~/others/account-financial-tools,~/others/account-invoicing,~/others/account-payment,~/others/bank-payment,~/others/brand,~/others/community-data-files,~/others/connector,~/others/connector-telephony,~/others/contract,~/others/delivery-carrier,~/others/edi,~/others/intrastat-extrastat,~/others/partner-contact,~/others/product-attribute,~/others/purchase-workflow,~/others/queue,~/others/report-print-send,~/others/reporting-engine,~/others/rest-framework,~/others/sale-workflow,~/others/server-auth,~/others/server-backend,~/others/server-env,~/others/server-tools,~/others/social,~/others/stock-logistics-transport,~/others/stock-logistics-warehouse,~/others/stock-logistics-workflow,~/others/storage,~/others/web,~/others/wms --db_host psql --db_port 5432 --db_user flectra @@ -863,69 +642,6 @@ test_module_base_menu_visibility_restriction: --log-level error --log-handler flectra.addons.base_menu_visibility_restriction:TEST" -test_module_barcode_action: - 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 libzbar0 poppler-utils - - 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/account-analytic.git ~/others/account-analytic" - - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/account-closing.git ~/others/account-closing" - - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/account-financial-tools.git ~/others/account-financial-tools" - - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/account-invoicing.git ~/others/account-invoicing" - - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/account-payment.git ~/others/account-payment" - - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/bank-payment.git ~/others/bank-payment" - - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/brand.git ~/others/brand" - - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/community-data-files.git ~/others/community-data-files" - - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/connector.git ~/others/connector" - - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/connector-telephony.git ~/others/connector-telephony" - - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/delivery-carrier.git ~/others/delivery-carrier" - - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/edi.git ~/others/edi" - - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/intrastat-extrastat.git ~/others/intrastat-extrastat" - - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/partner-contact.git ~/others/partner-contact" - - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/product-attribute.git ~/others/product-attribute" - - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/queue.git ~/others/queue" - - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/report-print-send.git ~/others/report-print-send" - - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/reporting-engine.git ~/others/reporting-engine" - - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/rest-framework.git ~/others/rest-framework" - - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/sale-workflow.git ~/others/sale-workflow" - - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/server-auth.git ~/others/server-auth" - - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/server-env.git ~/others/server-env" - - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/server-tools.git ~/others/server-tools" - - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/social.git ~/others/social" - - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/stock-logistics-transport.git ~/others/stock-logistics-transport" - - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/stock-logistics-warehouse.git ~/others/stock-logistics-warehouse" - - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/stock-logistics-workflow.git ~/others/stock-logistics-workflow" - - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/storage.git ~/others/storage" - - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/web.git ~/others/web" - - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/wms.git ~/others/wms" - - 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_barcode_action - - psql -h psql -U flectra -d test_barcode_action -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_barcode_action - - chown -R flectra.flectra /opt/flectra/.local/share/filestore/test_barcode_action - - su - flectra -c "/opt/flectra/flectra-bin - --addons-path ${CI_PROJECT_DIR},~/others/account-analytic,~/others/account-closing,~/others/account-financial-tools,~/others/account-invoicing,~/others/account-payment,~/others/bank-payment,~/others/brand,~/others/community-data-files,~/others/connector,~/others/connector-telephony,~/others/delivery-carrier,~/others/edi,~/others/intrastat-extrastat,~/others/partner-contact,~/others/product-attribute,~/others/queue,~/others/report-print-send,~/others/reporting-engine,~/others/rest-framework,~/others/sale-workflow,~/others/server-auth,~/others/server-env,~/others/server-tools,~/others/social,~/others/stock-logistics-transport,~/others/stock-logistics-warehouse,~/others/stock-logistics-workflow,~/others/storage,~/others/web,~/others/wms - --db_host psql - --db_port 5432 - --db_user flectra - --db_password flectra - --database test_barcode_action - --test-enable -i barcode_action - --stop-after-init - --log-level error - --log-handler flectra.addons.barcode_action:TEST" - test_module_multi_step_wizard: stage: testsingle when: on_failure @@ -947,17 +663,20 @@ test_module_multi_step_wizard: - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/community-data-files.git ~/others/community-data-files" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/connector.git ~/others/connector" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/connector-telephony.git ~/others/connector-telephony" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/contract.git ~/others/contract" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/delivery-carrier.git ~/others/delivery-carrier" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/edi.git ~/others/edi" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/intrastat-extrastat.git ~/others/intrastat-extrastat" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/partner-contact.git ~/others/partner-contact" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/product-attribute.git ~/others/product-attribute" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/purchase-workflow.git ~/others/purchase-workflow" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/queue.git ~/others/queue" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/report-print-send.git ~/others/report-print-send" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/reporting-engine.git ~/others/reporting-engine" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/rest-framework.git ~/others/rest-framework" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/sale-workflow.git ~/others/sale-workflow" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/server-auth.git ~/others/server-auth" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/server-backend.git ~/others/server-backend" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/server-env.git ~/others/server-env" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/server-tools.git ~/others/server-tools" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/social.git ~/others/social" @@ -978,7 +697,7 @@ test_module_multi_step_wizard: - mv ${CI_PROJECT_DIR}/ci_data/filestore /opt/flectra/.local/share/filestore/test_multi_step_wizard - chown -R flectra.flectra /opt/flectra/.local/share/filestore/test_multi_step_wizard - su - flectra -c "/opt/flectra/flectra-bin - --addons-path ${CI_PROJECT_DIR},~/others/account-analytic,~/others/account-closing,~/others/account-financial-tools,~/others/account-invoicing,~/others/account-payment,~/others/bank-payment,~/others/brand,~/others/community-data-files,~/others/connector,~/others/connector-telephony,~/others/delivery-carrier,~/others/edi,~/others/intrastat-extrastat,~/others/partner-contact,~/others/product-attribute,~/others/queue,~/others/report-print-send,~/others/reporting-engine,~/others/rest-framework,~/others/sale-workflow,~/others/server-auth,~/others/server-env,~/others/server-tools,~/others/social,~/others/stock-logistics-transport,~/others/stock-logistics-warehouse,~/others/stock-logistics-workflow,~/others/storage,~/others/web,~/others/wms + --addons-path ${CI_PROJECT_DIR},~/others/account-analytic,~/others/account-closing,~/others/account-financial-tools,~/others/account-invoicing,~/others/account-payment,~/others/bank-payment,~/others/brand,~/others/community-data-files,~/others/connector,~/others/connector-telephony,~/others/contract,~/others/delivery-carrier,~/others/edi,~/others/intrastat-extrastat,~/others/partner-contact,~/others/product-attribute,~/others/purchase-workflow,~/others/queue,~/others/report-print-send,~/others/reporting-engine,~/others/rest-framework,~/others/sale-workflow,~/others/server-auth,~/others/server-backend,~/others/server-env,~/others/server-tools,~/others/social,~/others/stock-logistics-transport,~/others/stock-logistics-warehouse,~/others/stock-logistics-workflow,~/others/storage,~/others/web,~/others/wms --db_host psql --db_port 5432 --db_user flectra @@ -989,6 +708,270 @@ test_module_multi_step_wizard: --log-level error --log-handler flectra.addons.multi_step_wizard:TEST" +test_module_mass_operation_abstract: + 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 libzbar0 poppler-utils + - 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/account-analytic.git ~/others/account-analytic" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/account-closing.git ~/others/account-closing" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/account-financial-tools.git ~/others/account-financial-tools" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/account-invoicing.git ~/others/account-invoicing" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/account-payment.git ~/others/account-payment" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/bank-payment.git ~/others/bank-payment" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/brand.git ~/others/brand" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/community-data-files.git ~/others/community-data-files" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/connector.git ~/others/connector" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/connector-telephony.git ~/others/connector-telephony" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/contract.git ~/others/contract" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/delivery-carrier.git ~/others/delivery-carrier" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/edi.git ~/others/edi" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/intrastat-extrastat.git ~/others/intrastat-extrastat" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/partner-contact.git ~/others/partner-contact" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/product-attribute.git ~/others/product-attribute" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/purchase-workflow.git ~/others/purchase-workflow" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/queue.git ~/others/queue" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/report-print-send.git ~/others/report-print-send" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/reporting-engine.git ~/others/reporting-engine" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/rest-framework.git ~/others/rest-framework" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/sale-workflow.git ~/others/sale-workflow" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/server-auth.git ~/others/server-auth" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/server-backend.git ~/others/server-backend" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/server-env.git ~/others/server-env" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/server-tools.git ~/others/server-tools" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/social.git ~/others/social" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/stock-logistics-transport.git ~/others/stock-logistics-transport" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/stock-logistics-warehouse.git ~/others/stock-logistics-warehouse" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/stock-logistics-workflow.git ~/others/stock-logistics-workflow" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/storage.git ~/others/storage" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/web.git ~/others/web" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/wms.git ~/others/wms" + - 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_mass_operation_abstract + - psql -h psql -U flectra -d test_mass_operation_abstract -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_mass_operation_abstract + - chown -R flectra.flectra /opt/flectra/.local/share/filestore/test_mass_operation_abstract + - su - flectra -c "/opt/flectra/flectra-bin + --addons-path ${CI_PROJECT_DIR},~/others/account-analytic,~/others/account-closing,~/others/account-financial-tools,~/others/account-invoicing,~/others/account-payment,~/others/bank-payment,~/others/brand,~/others/community-data-files,~/others/connector,~/others/connector-telephony,~/others/contract,~/others/delivery-carrier,~/others/edi,~/others/intrastat-extrastat,~/others/partner-contact,~/others/product-attribute,~/others/purchase-workflow,~/others/queue,~/others/report-print-send,~/others/reporting-engine,~/others/rest-framework,~/others/sale-workflow,~/others/server-auth,~/others/server-backend,~/others/server-env,~/others/server-tools,~/others/social,~/others/stock-logistics-transport,~/others/stock-logistics-warehouse,~/others/stock-logistics-workflow,~/others/storage,~/others/web,~/others/wms + --db_host psql + --db_port 5432 + --db_user flectra + --db_password flectra + --database test_mass_operation_abstract + --test-enable -i mass_operation_abstract + --stop-after-init + --log-level error + --log-handler flectra.addons.mass_operation_abstract:TEST" + +test_module_base_revision: + 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 libzbar0 poppler-utils + - 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/account-analytic.git ~/others/account-analytic" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/account-closing.git ~/others/account-closing" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/account-financial-tools.git ~/others/account-financial-tools" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/account-invoicing.git ~/others/account-invoicing" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/account-payment.git ~/others/account-payment" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/bank-payment.git ~/others/bank-payment" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/brand.git ~/others/brand" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/community-data-files.git ~/others/community-data-files" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/connector.git ~/others/connector" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/connector-telephony.git ~/others/connector-telephony" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/contract.git ~/others/contract" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/delivery-carrier.git ~/others/delivery-carrier" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/edi.git ~/others/edi" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/intrastat-extrastat.git ~/others/intrastat-extrastat" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/partner-contact.git ~/others/partner-contact" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/product-attribute.git ~/others/product-attribute" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/purchase-workflow.git ~/others/purchase-workflow" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/queue.git ~/others/queue" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/report-print-send.git ~/others/report-print-send" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/reporting-engine.git ~/others/reporting-engine" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/rest-framework.git ~/others/rest-framework" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/sale-workflow.git ~/others/sale-workflow" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/server-auth.git ~/others/server-auth" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/server-backend.git ~/others/server-backend" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/server-env.git ~/others/server-env" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/server-tools.git ~/others/server-tools" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/social.git ~/others/social" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/stock-logistics-transport.git ~/others/stock-logistics-transport" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/stock-logistics-warehouse.git ~/others/stock-logistics-warehouse" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/stock-logistics-workflow.git ~/others/stock-logistics-workflow" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/storage.git ~/others/storage" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/web.git ~/others/web" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/wms.git ~/others/wms" + - 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_revision + - psql -h psql -U flectra -d test_base_revision -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_revision + - chown -R flectra.flectra /opt/flectra/.local/share/filestore/test_base_revision + - su - flectra -c "/opt/flectra/flectra-bin + --addons-path ${CI_PROJECT_DIR},~/others/account-analytic,~/others/account-closing,~/others/account-financial-tools,~/others/account-invoicing,~/others/account-payment,~/others/bank-payment,~/others/brand,~/others/community-data-files,~/others/connector,~/others/connector-telephony,~/others/contract,~/others/delivery-carrier,~/others/edi,~/others/intrastat-extrastat,~/others/partner-contact,~/others/product-attribute,~/others/purchase-workflow,~/others/queue,~/others/report-print-send,~/others/reporting-engine,~/others/rest-framework,~/others/sale-workflow,~/others/server-auth,~/others/server-backend,~/others/server-env,~/others/server-tools,~/others/social,~/others/stock-logistics-transport,~/others/stock-logistics-warehouse,~/others/stock-logistics-workflow,~/others/storage,~/others/web,~/others/wms + --db_host psql + --db_port 5432 + --db_user flectra + --db_password flectra + --database test_base_revision + --test-enable -i base_revision + --stop-after-init + --log-level error + --log-handler flectra.addons.base_revision:TEST" + +test_module_document_quick_access: + 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 libzbar0 poppler-utils + - 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/account-analytic.git ~/others/account-analytic" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/account-closing.git ~/others/account-closing" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/account-financial-tools.git ~/others/account-financial-tools" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/account-invoicing.git ~/others/account-invoicing" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/account-payment.git ~/others/account-payment" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/bank-payment.git ~/others/bank-payment" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/brand.git ~/others/brand" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/community-data-files.git ~/others/community-data-files" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/connector.git ~/others/connector" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/connector-telephony.git ~/others/connector-telephony" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/contract.git ~/others/contract" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/delivery-carrier.git ~/others/delivery-carrier" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/edi.git ~/others/edi" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/intrastat-extrastat.git ~/others/intrastat-extrastat" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/partner-contact.git ~/others/partner-contact" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/product-attribute.git ~/others/product-attribute" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/purchase-workflow.git ~/others/purchase-workflow" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/queue.git ~/others/queue" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/report-print-send.git ~/others/report-print-send" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/reporting-engine.git ~/others/reporting-engine" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/rest-framework.git ~/others/rest-framework" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/sale-workflow.git ~/others/sale-workflow" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/server-auth.git ~/others/server-auth" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/server-backend.git ~/others/server-backend" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/server-env.git ~/others/server-env" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/server-tools.git ~/others/server-tools" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/social.git ~/others/social" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/stock-logistics-transport.git ~/others/stock-logistics-transport" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/stock-logistics-warehouse.git ~/others/stock-logistics-warehouse" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/stock-logistics-workflow.git ~/others/stock-logistics-workflow" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/storage.git ~/others/storage" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/web.git ~/others/web" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/wms.git ~/others/wms" + - 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_document_quick_access + - psql -h psql -U flectra -d test_document_quick_access -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_document_quick_access + - chown -R flectra.flectra /opt/flectra/.local/share/filestore/test_document_quick_access + - su - flectra -c "/opt/flectra/flectra-bin + --addons-path ${CI_PROJECT_DIR},~/others/account-analytic,~/others/account-closing,~/others/account-financial-tools,~/others/account-invoicing,~/others/account-payment,~/others/bank-payment,~/others/brand,~/others/community-data-files,~/others/connector,~/others/connector-telephony,~/others/contract,~/others/delivery-carrier,~/others/edi,~/others/intrastat-extrastat,~/others/partner-contact,~/others/product-attribute,~/others/purchase-workflow,~/others/queue,~/others/report-print-send,~/others/reporting-engine,~/others/rest-framework,~/others/sale-workflow,~/others/server-auth,~/others/server-backend,~/others/server-env,~/others/server-tools,~/others/social,~/others/stock-logistics-transport,~/others/stock-logistics-warehouse,~/others/stock-logistics-workflow,~/others/storage,~/others/web,~/others/wms + --db_host psql + --db_port 5432 + --db_user flectra + --db_password flectra + --database test_document_quick_access + --test-enable -i document_quick_access + --stop-after-init + --log-level error + --log-handler flectra.addons.document_quick_access:TEST" + +test_module_base_tier_validation_forward: + 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 libzbar0 poppler-utils + - 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/account-analytic.git ~/others/account-analytic" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/account-closing.git ~/others/account-closing" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/account-financial-tools.git ~/others/account-financial-tools" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/account-invoicing.git ~/others/account-invoicing" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/account-payment.git ~/others/account-payment" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/bank-payment.git ~/others/bank-payment" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/brand.git ~/others/brand" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/community-data-files.git ~/others/community-data-files" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/connector.git ~/others/connector" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/connector-telephony.git ~/others/connector-telephony" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/contract.git ~/others/contract" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/delivery-carrier.git ~/others/delivery-carrier" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/edi.git ~/others/edi" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/intrastat-extrastat.git ~/others/intrastat-extrastat" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/partner-contact.git ~/others/partner-contact" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/product-attribute.git ~/others/product-attribute" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/purchase-workflow.git ~/others/purchase-workflow" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/queue.git ~/others/queue" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/report-print-send.git ~/others/report-print-send" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/reporting-engine.git ~/others/reporting-engine" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/rest-framework.git ~/others/rest-framework" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/sale-workflow.git ~/others/sale-workflow" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/server-auth.git ~/others/server-auth" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/server-backend.git ~/others/server-backend" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/server-env.git ~/others/server-env" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/server-tools.git ~/others/server-tools" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/social.git ~/others/social" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/stock-logistics-transport.git ~/others/stock-logistics-transport" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/stock-logistics-warehouse.git ~/others/stock-logistics-warehouse" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/stock-logistics-workflow.git ~/others/stock-logistics-workflow" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/storage.git ~/others/storage" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/web.git ~/others/web" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/wms.git ~/others/wms" + - 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_tier_validation_forward + - psql -h psql -U flectra -d test_base_tier_validation_forward -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_tier_validation_forward + - chown -R flectra.flectra /opt/flectra/.local/share/filestore/test_base_tier_validation_forward + - su - flectra -c "/opt/flectra/flectra-bin + --addons-path ${CI_PROJECT_DIR},~/others/account-analytic,~/others/account-closing,~/others/account-financial-tools,~/others/account-invoicing,~/others/account-payment,~/others/bank-payment,~/others/brand,~/others/community-data-files,~/others/connector,~/others/connector-telephony,~/others/contract,~/others/delivery-carrier,~/others/edi,~/others/intrastat-extrastat,~/others/partner-contact,~/others/product-attribute,~/others/purchase-workflow,~/others/queue,~/others/report-print-send,~/others/reporting-engine,~/others/rest-framework,~/others/sale-workflow,~/others/server-auth,~/others/server-backend,~/others/server-env,~/others/server-tools,~/others/social,~/others/stock-logistics-transport,~/others/stock-logistics-warehouse,~/others/stock-logistics-workflow,~/others/storage,~/others/web,~/others/wms + --db_host psql + --db_port 5432 + --db_user flectra + --db_password flectra + --database test_base_tier_validation_forward + --test-enable -i base_tier_validation_forward + --stop-after-init + --log-level error + --log-handler flectra.addons.base_tier_validation_forward:TEST" + test_module_base_technical_features: stage: testsingle when: on_failure @@ -1010,17 +993,20 @@ test_module_base_technical_features: - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/community-data-files.git ~/others/community-data-files" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/connector.git ~/others/connector" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/connector-telephony.git ~/others/connector-telephony" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/contract.git ~/others/contract" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/delivery-carrier.git ~/others/delivery-carrier" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/edi.git ~/others/edi" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/intrastat-extrastat.git ~/others/intrastat-extrastat" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/partner-contact.git ~/others/partner-contact" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/product-attribute.git ~/others/product-attribute" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/purchase-workflow.git ~/others/purchase-workflow" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/queue.git ~/others/queue" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/report-print-send.git ~/others/report-print-send" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/reporting-engine.git ~/others/reporting-engine" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/rest-framework.git ~/others/rest-framework" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/sale-workflow.git ~/others/sale-workflow" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/server-auth.git ~/others/server-auth" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/server-backend.git ~/others/server-backend" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/server-env.git ~/others/server-env" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/server-tools.git ~/others/server-tools" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/social.git ~/others/social" @@ -1041,7 +1027,7 @@ test_module_base_technical_features: - mv ${CI_PROJECT_DIR}/ci_data/filestore /opt/flectra/.local/share/filestore/test_base_technical_features - chown -R flectra.flectra /opt/flectra/.local/share/filestore/test_base_technical_features - su - flectra -c "/opt/flectra/flectra-bin - --addons-path ${CI_PROJECT_DIR},~/others/account-analytic,~/others/account-closing,~/others/account-financial-tools,~/others/account-invoicing,~/others/account-payment,~/others/bank-payment,~/others/brand,~/others/community-data-files,~/others/connector,~/others/connector-telephony,~/others/delivery-carrier,~/others/edi,~/others/intrastat-extrastat,~/others/partner-contact,~/others/product-attribute,~/others/queue,~/others/report-print-send,~/others/reporting-engine,~/others/rest-framework,~/others/sale-workflow,~/others/server-auth,~/others/server-env,~/others/server-tools,~/others/social,~/others/stock-logistics-transport,~/others/stock-logistics-warehouse,~/others/stock-logistics-workflow,~/others/storage,~/others/web,~/others/wms + --addons-path ${CI_PROJECT_DIR},~/others/account-analytic,~/others/account-closing,~/others/account-financial-tools,~/others/account-invoicing,~/others/account-payment,~/others/bank-payment,~/others/brand,~/others/community-data-files,~/others/connector,~/others/connector-telephony,~/others/contract,~/others/delivery-carrier,~/others/edi,~/others/intrastat-extrastat,~/others/partner-contact,~/others/product-attribute,~/others/purchase-workflow,~/others/queue,~/others/report-print-send,~/others/reporting-engine,~/others/rest-framework,~/others/sale-workflow,~/others/server-auth,~/others/server-backend,~/others/server-env,~/others/server-tools,~/others/social,~/others/stock-logistics-transport,~/others/stock-logistics-warehouse,~/others/stock-logistics-workflow,~/others/storage,~/others/web,~/others/wms --db_host psql --db_port 5432 --db_user flectra @@ -1073,17 +1059,20 @@ test_module_base_tier_validation_formula: - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/community-data-files.git ~/others/community-data-files" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/connector.git ~/others/connector" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/connector-telephony.git ~/others/connector-telephony" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/contract.git ~/others/contract" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/delivery-carrier.git ~/others/delivery-carrier" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/edi.git ~/others/edi" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/intrastat-extrastat.git ~/others/intrastat-extrastat" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/partner-contact.git ~/others/partner-contact" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/product-attribute.git ~/others/product-attribute" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/purchase-workflow.git ~/others/purchase-workflow" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/queue.git ~/others/queue" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/report-print-send.git ~/others/report-print-send" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/reporting-engine.git ~/others/reporting-engine" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/rest-framework.git ~/others/rest-framework" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/sale-workflow.git ~/others/sale-workflow" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/server-auth.git ~/others/server-auth" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/server-backend.git ~/others/server-backend" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/server-env.git ~/others/server-env" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/server-tools.git ~/others/server-tools" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/social.git ~/others/social" @@ -1104,7 +1093,7 @@ test_module_base_tier_validation_formula: - mv ${CI_PROJECT_DIR}/ci_data/filestore /opt/flectra/.local/share/filestore/test_base_tier_validation_formula - chown -R flectra.flectra /opt/flectra/.local/share/filestore/test_base_tier_validation_formula - su - flectra -c "/opt/flectra/flectra-bin - --addons-path ${CI_PROJECT_DIR},~/others/account-analytic,~/others/account-closing,~/others/account-financial-tools,~/others/account-invoicing,~/others/account-payment,~/others/bank-payment,~/others/brand,~/others/community-data-files,~/others/connector,~/others/connector-telephony,~/others/delivery-carrier,~/others/edi,~/others/intrastat-extrastat,~/others/partner-contact,~/others/product-attribute,~/others/queue,~/others/report-print-send,~/others/reporting-engine,~/others/rest-framework,~/others/sale-workflow,~/others/server-auth,~/others/server-env,~/others/server-tools,~/others/social,~/others/stock-logistics-transport,~/others/stock-logistics-warehouse,~/others/stock-logistics-workflow,~/others/storage,~/others/web,~/others/wms + --addons-path ${CI_PROJECT_DIR},~/others/account-analytic,~/others/account-closing,~/others/account-financial-tools,~/others/account-invoicing,~/others/account-payment,~/others/bank-payment,~/others/brand,~/others/community-data-files,~/others/connector,~/others/connector-telephony,~/others/contract,~/others/delivery-carrier,~/others/edi,~/others/intrastat-extrastat,~/others/partner-contact,~/others/product-attribute,~/others/purchase-workflow,~/others/queue,~/others/report-print-send,~/others/reporting-engine,~/others/rest-framework,~/others/sale-workflow,~/others/server-auth,~/others/server-backend,~/others/server-env,~/others/server-tools,~/others/social,~/others/stock-logistics-transport,~/others/stock-logistics-warehouse,~/others/stock-logistics-workflow,~/others/storage,~/others/web,~/others/wms --db_host psql --db_port 5432 --db_user flectra @@ -1115,321 +1104,6 @@ test_module_base_tier_validation_formula: --log-level error --log-handler flectra.addons.base_tier_validation_formula:TEST" -test_module_base_tier_validation: - 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 libzbar0 poppler-utils - - 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/account-analytic.git ~/others/account-analytic" - - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/account-closing.git ~/others/account-closing" - - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/account-financial-tools.git ~/others/account-financial-tools" - - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/account-invoicing.git ~/others/account-invoicing" - - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/account-payment.git ~/others/account-payment" - - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/bank-payment.git ~/others/bank-payment" - - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/brand.git ~/others/brand" - - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/community-data-files.git ~/others/community-data-files" - - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/connector.git ~/others/connector" - - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/connector-telephony.git ~/others/connector-telephony" - - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/delivery-carrier.git ~/others/delivery-carrier" - - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/edi.git ~/others/edi" - - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/intrastat-extrastat.git ~/others/intrastat-extrastat" - - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/partner-contact.git ~/others/partner-contact" - - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/product-attribute.git ~/others/product-attribute" - - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/queue.git ~/others/queue" - - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/report-print-send.git ~/others/report-print-send" - - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/reporting-engine.git ~/others/reporting-engine" - - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/rest-framework.git ~/others/rest-framework" - - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/sale-workflow.git ~/others/sale-workflow" - - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/server-auth.git ~/others/server-auth" - - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/server-env.git ~/others/server-env" - - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/server-tools.git ~/others/server-tools" - - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/social.git ~/others/social" - - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/stock-logistics-transport.git ~/others/stock-logistics-transport" - - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/stock-logistics-warehouse.git ~/others/stock-logistics-warehouse" - - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/stock-logistics-workflow.git ~/others/stock-logistics-workflow" - - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/storage.git ~/others/storage" - - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/web.git ~/others/web" - - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/wms.git ~/others/wms" - - 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_tier_validation - - psql -h psql -U flectra -d test_base_tier_validation -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_tier_validation - - chown -R flectra.flectra /opt/flectra/.local/share/filestore/test_base_tier_validation - - su - flectra -c "/opt/flectra/flectra-bin - --addons-path ${CI_PROJECT_DIR},~/others/account-analytic,~/others/account-closing,~/others/account-financial-tools,~/others/account-invoicing,~/others/account-payment,~/others/bank-payment,~/others/brand,~/others/community-data-files,~/others/connector,~/others/connector-telephony,~/others/delivery-carrier,~/others/edi,~/others/intrastat-extrastat,~/others/partner-contact,~/others/product-attribute,~/others/queue,~/others/report-print-send,~/others/reporting-engine,~/others/rest-framework,~/others/sale-workflow,~/others/server-auth,~/others/server-env,~/others/server-tools,~/others/social,~/others/stock-logistics-transport,~/others/stock-logistics-warehouse,~/others/stock-logistics-workflow,~/others/storage,~/others/web,~/others/wms - --db_host psql - --db_port 5432 - --db_user flectra - --db_password flectra - --database test_base_tier_validation - --test-enable -i base_tier_validation - --stop-after-init - --log-level error - --log-handler flectra.addons.base_tier_validation:TEST" - -test_module_base_search_custom_field_filter: - 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 libzbar0 poppler-utils - - 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/account-analytic.git ~/others/account-analytic" - - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/account-closing.git ~/others/account-closing" - - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/account-financial-tools.git ~/others/account-financial-tools" - - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/account-invoicing.git ~/others/account-invoicing" - - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/account-payment.git ~/others/account-payment" - - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/bank-payment.git ~/others/bank-payment" - - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/brand.git ~/others/brand" - - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/community-data-files.git ~/others/community-data-files" - - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/connector.git ~/others/connector" - - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/connector-telephony.git ~/others/connector-telephony" - - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/delivery-carrier.git ~/others/delivery-carrier" - - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/edi.git ~/others/edi" - - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/intrastat-extrastat.git ~/others/intrastat-extrastat" - - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/partner-contact.git ~/others/partner-contact" - - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/product-attribute.git ~/others/product-attribute" - - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/queue.git ~/others/queue" - - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/report-print-send.git ~/others/report-print-send" - - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/reporting-engine.git ~/others/reporting-engine" - - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/rest-framework.git ~/others/rest-framework" - - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/sale-workflow.git ~/others/sale-workflow" - - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/server-auth.git ~/others/server-auth" - - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/server-env.git ~/others/server-env" - - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/server-tools.git ~/others/server-tools" - - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/social.git ~/others/social" - - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/stock-logistics-transport.git ~/others/stock-logistics-transport" - - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/stock-logistics-warehouse.git ~/others/stock-logistics-warehouse" - - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/stock-logistics-workflow.git ~/others/stock-logistics-workflow" - - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/storage.git ~/others/storage" - - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/web.git ~/others/web" - - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/wms.git ~/others/wms" - - 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_search_custom_field_filter - - psql -h psql -U flectra -d test_base_search_custom_field_filter -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_search_custom_field_filter - - chown -R flectra.flectra /opt/flectra/.local/share/filestore/test_base_search_custom_field_filter - - su - flectra -c "/opt/flectra/flectra-bin - --addons-path ${CI_PROJECT_DIR},~/others/account-analytic,~/others/account-closing,~/others/account-financial-tools,~/others/account-invoicing,~/others/account-payment,~/others/bank-payment,~/others/brand,~/others/community-data-files,~/others/connector,~/others/connector-telephony,~/others/delivery-carrier,~/others/edi,~/others/intrastat-extrastat,~/others/partner-contact,~/others/product-attribute,~/others/queue,~/others/report-print-send,~/others/reporting-engine,~/others/rest-framework,~/others/sale-workflow,~/others/server-auth,~/others/server-env,~/others/server-tools,~/others/social,~/others/stock-logistics-transport,~/others/stock-logistics-warehouse,~/others/stock-logistics-workflow,~/others/storage,~/others/web,~/others/wms - --db_host psql - --db_port 5432 - --db_user flectra - --db_password flectra - --database test_base_search_custom_field_filter - --test-enable -i base_search_custom_field_filter - --stop-after-init - --log-level error - --log-handler flectra.addons.base_search_custom_field_filter:TEST" - -test_module_base_revision: - 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 libzbar0 poppler-utils - - 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/account-analytic.git ~/others/account-analytic" - - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/account-closing.git ~/others/account-closing" - - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/account-financial-tools.git ~/others/account-financial-tools" - - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/account-invoicing.git ~/others/account-invoicing" - - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/account-payment.git ~/others/account-payment" - - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/bank-payment.git ~/others/bank-payment" - - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/brand.git ~/others/brand" - - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/community-data-files.git ~/others/community-data-files" - - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/connector.git ~/others/connector" - - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/connector-telephony.git ~/others/connector-telephony" - - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/delivery-carrier.git ~/others/delivery-carrier" - - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/edi.git ~/others/edi" - - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/intrastat-extrastat.git ~/others/intrastat-extrastat" - - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/partner-contact.git ~/others/partner-contact" - - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/product-attribute.git ~/others/product-attribute" - - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/queue.git ~/others/queue" - - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/report-print-send.git ~/others/report-print-send" - - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/reporting-engine.git ~/others/reporting-engine" - - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/rest-framework.git ~/others/rest-framework" - - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/sale-workflow.git ~/others/sale-workflow" - - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/server-auth.git ~/others/server-auth" - - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/server-env.git ~/others/server-env" - - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/server-tools.git ~/others/server-tools" - - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/social.git ~/others/social" - - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/stock-logistics-transport.git ~/others/stock-logistics-transport" - - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/stock-logistics-warehouse.git ~/others/stock-logistics-warehouse" - - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/stock-logistics-workflow.git ~/others/stock-logistics-workflow" - - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/storage.git ~/others/storage" - - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/web.git ~/others/web" - - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/wms.git ~/others/wms" - - 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_revision - - psql -h psql -U flectra -d test_base_revision -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_revision - - chown -R flectra.flectra /opt/flectra/.local/share/filestore/test_base_revision - - su - flectra -c "/opt/flectra/flectra-bin - --addons-path ${CI_PROJECT_DIR},~/others/account-analytic,~/others/account-closing,~/others/account-financial-tools,~/others/account-invoicing,~/others/account-payment,~/others/bank-payment,~/others/brand,~/others/community-data-files,~/others/connector,~/others/connector-telephony,~/others/delivery-carrier,~/others/edi,~/others/intrastat-extrastat,~/others/partner-contact,~/others/product-attribute,~/others/queue,~/others/report-print-send,~/others/reporting-engine,~/others/rest-framework,~/others/sale-workflow,~/others/server-auth,~/others/server-env,~/others/server-tools,~/others/social,~/others/stock-logistics-transport,~/others/stock-logistics-warehouse,~/others/stock-logistics-workflow,~/others/storage,~/others/web,~/others/wms - --db_host psql - --db_port 5432 - --db_user flectra - --db_password flectra - --database test_base_revision - --test-enable -i base_revision - --stop-after-init - --log-level error - --log-handler flectra.addons.base_revision:TEST" - -test_module_base_export_manager: - 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 libzbar0 poppler-utils - - 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/account-analytic.git ~/others/account-analytic" - - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/account-closing.git ~/others/account-closing" - - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/account-financial-tools.git ~/others/account-financial-tools" - - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/account-invoicing.git ~/others/account-invoicing" - - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/account-payment.git ~/others/account-payment" - - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/bank-payment.git ~/others/bank-payment" - - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/brand.git ~/others/brand" - - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/community-data-files.git ~/others/community-data-files" - - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/connector.git ~/others/connector" - - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/connector-telephony.git ~/others/connector-telephony" - - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/delivery-carrier.git ~/others/delivery-carrier" - - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/edi.git ~/others/edi" - - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/intrastat-extrastat.git ~/others/intrastat-extrastat" - - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/partner-contact.git ~/others/partner-contact" - - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/product-attribute.git ~/others/product-attribute" - - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/queue.git ~/others/queue" - - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/report-print-send.git ~/others/report-print-send" - - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/reporting-engine.git ~/others/reporting-engine" - - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/rest-framework.git ~/others/rest-framework" - - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/sale-workflow.git ~/others/sale-workflow" - - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/server-auth.git ~/others/server-auth" - - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/server-env.git ~/others/server-env" - - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/server-tools.git ~/others/server-tools" - - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/social.git ~/others/social" - - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/stock-logistics-transport.git ~/others/stock-logistics-transport" - - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/stock-logistics-warehouse.git ~/others/stock-logistics-warehouse" - - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/stock-logistics-workflow.git ~/others/stock-logistics-workflow" - - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/storage.git ~/others/storage" - - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/web.git ~/others/web" - - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/wms.git ~/others/wms" - - 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_export_manager - - psql -h psql -U flectra -d test_base_export_manager -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_export_manager - - chown -R flectra.flectra /opt/flectra/.local/share/filestore/test_base_export_manager - - su - flectra -c "/opt/flectra/flectra-bin - --addons-path ${CI_PROJECT_DIR},~/others/account-analytic,~/others/account-closing,~/others/account-financial-tools,~/others/account-invoicing,~/others/account-payment,~/others/bank-payment,~/others/brand,~/others/community-data-files,~/others/connector,~/others/connector-telephony,~/others/delivery-carrier,~/others/edi,~/others/intrastat-extrastat,~/others/partner-contact,~/others/product-attribute,~/others/queue,~/others/report-print-send,~/others/reporting-engine,~/others/rest-framework,~/others/sale-workflow,~/others/server-auth,~/others/server-env,~/others/server-tools,~/others/social,~/others/stock-logistics-transport,~/others/stock-logistics-warehouse,~/others/stock-logistics-workflow,~/others/storage,~/others/web,~/others/wms - --db_host psql - --db_port 5432 - --db_user flectra - --db_password flectra - --database test_base_export_manager - --test-enable -i base_export_manager - --stop-after-init - --log-level error - --log-handler flectra.addons.base_export_manager:TEST" - -test_module_document_quick_access: - 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 libzbar0 poppler-utils - - 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/account-analytic.git ~/others/account-analytic" - - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/account-closing.git ~/others/account-closing" - - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/account-financial-tools.git ~/others/account-financial-tools" - - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/account-invoicing.git ~/others/account-invoicing" - - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/account-payment.git ~/others/account-payment" - - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/bank-payment.git ~/others/bank-payment" - - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/brand.git ~/others/brand" - - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/community-data-files.git ~/others/community-data-files" - - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/connector.git ~/others/connector" - - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/connector-telephony.git ~/others/connector-telephony" - - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/delivery-carrier.git ~/others/delivery-carrier" - - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/edi.git ~/others/edi" - - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/intrastat-extrastat.git ~/others/intrastat-extrastat" - - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/partner-contact.git ~/others/partner-contact" - - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/product-attribute.git ~/others/product-attribute" - - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/queue.git ~/others/queue" - - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/report-print-send.git ~/others/report-print-send" - - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/reporting-engine.git ~/others/reporting-engine" - - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/rest-framework.git ~/others/rest-framework" - - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/sale-workflow.git ~/others/sale-workflow" - - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/server-auth.git ~/others/server-auth" - - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/server-env.git ~/others/server-env" - - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/server-tools.git ~/others/server-tools" - - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/social.git ~/others/social" - - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/stock-logistics-transport.git ~/others/stock-logistics-transport" - - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/stock-logistics-warehouse.git ~/others/stock-logistics-warehouse" - - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/stock-logistics-workflow.git ~/others/stock-logistics-workflow" - - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/storage.git ~/others/storage" - - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/web.git ~/others/web" - - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/wms.git ~/others/wms" - - 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_document_quick_access - - psql -h psql -U flectra -d test_document_quick_access -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_document_quick_access - - chown -R flectra.flectra /opt/flectra/.local/share/filestore/test_document_quick_access - - su - flectra -c "/opt/flectra/flectra-bin - --addons-path ${CI_PROJECT_DIR},~/others/account-analytic,~/others/account-closing,~/others/account-financial-tools,~/others/account-invoicing,~/others/account-payment,~/others/bank-payment,~/others/brand,~/others/community-data-files,~/others/connector,~/others/connector-telephony,~/others/delivery-carrier,~/others/edi,~/others/intrastat-extrastat,~/others/partner-contact,~/others/product-attribute,~/others/queue,~/others/report-print-send,~/others/reporting-engine,~/others/rest-framework,~/others/sale-workflow,~/others/server-auth,~/others/server-env,~/others/server-tools,~/others/social,~/others/stock-logistics-transport,~/others/stock-logistics-warehouse,~/others/stock-logistics-workflow,~/others/storage,~/others/web,~/others/wms - --db_host psql - --db_port 5432 - --db_user flectra - --db_password flectra - --database test_document_quick_access - --test-enable -i document_quick_access - --stop-after-init - --log-level error - --log-handler flectra.addons.document_quick_access:TEST" - test_module_mass_editing: stage: testsingle when: on_failure @@ -1451,17 +1125,20 @@ test_module_mass_editing: - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/community-data-files.git ~/others/community-data-files" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/connector.git ~/others/connector" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/connector-telephony.git ~/others/connector-telephony" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/contract.git ~/others/contract" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/delivery-carrier.git ~/others/delivery-carrier" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/edi.git ~/others/edi" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/intrastat-extrastat.git ~/others/intrastat-extrastat" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/partner-contact.git ~/others/partner-contact" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/product-attribute.git ~/others/product-attribute" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/purchase-workflow.git ~/others/purchase-workflow" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/queue.git ~/others/queue" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/report-print-send.git ~/others/report-print-send" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/reporting-engine.git ~/others/reporting-engine" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/rest-framework.git ~/others/rest-framework" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/sale-workflow.git ~/others/sale-workflow" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/server-auth.git ~/others/server-auth" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/server-backend.git ~/others/server-backend" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/server-env.git ~/others/server-env" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/server-tools.git ~/others/server-tools" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/social.git ~/others/social" @@ -1482,7 +1159,7 @@ test_module_mass_editing: - mv ${CI_PROJECT_DIR}/ci_data/filestore /opt/flectra/.local/share/filestore/test_mass_editing - chown -R flectra.flectra /opt/flectra/.local/share/filestore/test_mass_editing - su - flectra -c "/opt/flectra/flectra-bin - --addons-path ${CI_PROJECT_DIR},~/others/account-analytic,~/others/account-closing,~/others/account-financial-tools,~/others/account-invoicing,~/others/account-payment,~/others/bank-payment,~/others/brand,~/others/community-data-files,~/others/connector,~/others/connector-telephony,~/others/delivery-carrier,~/others/edi,~/others/intrastat-extrastat,~/others/partner-contact,~/others/product-attribute,~/others/queue,~/others/report-print-send,~/others/reporting-engine,~/others/rest-framework,~/others/sale-workflow,~/others/server-auth,~/others/server-env,~/others/server-tools,~/others/social,~/others/stock-logistics-transport,~/others/stock-logistics-warehouse,~/others/stock-logistics-workflow,~/others/storage,~/others/web,~/others/wms + --addons-path ${CI_PROJECT_DIR},~/others/account-analytic,~/others/account-closing,~/others/account-financial-tools,~/others/account-invoicing,~/others/account-payment,~/others/bank-payment,~/others/brand,~/others/community-data-files,~/others/connector,~/others/connector-telephony,~/others/contract,~/others/delivery-carrier,~/others/edi,~/others/intrastat-extrastat,~/others/partner-contact,~/others/product-attribute,~/others/purchase-workflow,~/others/queue,~/others/report-print-send,~/others/reporting-engine,~/others/rest-framework,~/others/sale-workflow,~/others/server-auth,~/others/server-backend,~/others/server-env,~/others/server-tools,~/others/social,~/others/stock-logistics-transport,~/others/stock-logistics-warehouse,~/others/stock-logistics-workflow,~/others/storage,~/others/web,~/others/wms --db_host psql --db_port 5432 --db_user flectra @@ -1493,7 +1170,7 @@ test_module_mass_editing: --log-level error --log-handler flectra.addons.mass_editing:TEST" -test_module_base_tier_validation_server_action: +test_module_date_range: stage: testsingle when: on_failure image: @@ -1514,17 +1191,20 @@ test_module_base_tier_validation_server_action: - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/community-data-files.git ~/others/community-data-files" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/connector.git ~/others/connector" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/connector-telephony.git ~/others/connector-telephony" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/contract.git ~/others/contract" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/delivery-carrier.git ~/others/delivery-carrier" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/edi.git ~/others/edi" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/intrastat-extrastat.git ~/others/intrastat-extrastat" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/partner-contact.git ~/others/partner-contact" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/product-attribute.git ~/others/product-attribute" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/purchase-workflow.git ~/others/purchase-workflow" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/queue.git ~/others/queue" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/report-print-send.git ~/others/report-print-send" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/reporting-engine.git ~/others/reporting-engine" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/rest-framework.git ~/others/rest-framework" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/sale-workflow.git ~/others/sale-workflow" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/server-auth.git ~/others/server-auth" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/server-backend.git ~/others/server-backend" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/server-env.git ~/others/server-env" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/server-tools.git ~/others/server-tools" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/social.git ~/others/social" @@ -1539,85 +1219,22 @@ test_module_base_tier_validation_server_action: - 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_tier_validation_server_action - - psql -h psql -U flectra -d test_base_tier_validation_server_action -f ${CI_PROJECT_DIR}/ci_data/dump.sql + - createdb -h psql -U flectra -O flectra -T template1 test_date_range + - psql -h psql -U flectra -d test_date_range -f ${CI_PROJECT_DIR}/ci_data/dump.sql - su - flectra -c "mkdir -p ~/.local/share/filestore" - - mv ${CI_PROJECT_DIR}/ci_data/filestore /opt/flectra/.local/share/filestore/test_base_tier_validation_server_action - - chown -R flectra.flectra /opt/flectra/.local/share/filestore/test_base_tier_validation_server_action + - mv ${CI_PROJECT_DIR}/ci_data/filestore /opt/flectra/.local/share/filestore/test_date_range + - chown -R flectra.flectra /opt/flectra/.local/share/filestore/test_date_range - su - flectra -c "/opt/flectra/flectra-bin - --addons-path ${CI_PROJECT_DIR},~/others/account-analytic,~/others/account-closing,~/others/account-financial-tools,~/others/account-invoicing,~/others/account-payment,~/others/bank-payment,~/others/brand,~/others/community-data-files,~/others/connector,~/others/connector-telephony,~/others/delivery-carrier,~/others/edi,~/others/intrastat-extrastat,~/others/partner-contact,~/others/product-attribute,~/others/queue,~/others/report-print-send,~/others/reporting-engine,~/others/rest-framework,~/others/sale-workflow,~/others/server-auth,~/others/server-env,~/others/server-tools,~/others/social,~/others/stock-logistics-transport,~/others/stock-logistics-warehouse,~/others/stock-logistics-workflow,~/others/storage,~/others/web,~/others/wms + --addons-path ${CI_PROJECT_DIR},~/others/account-analytic,~/others/account-closing,~/others/account-financial-tools,~/others/account-invoicing,~/others/account-payment,~/others/bank-payment,~/others/brand,~/others/community-data-files,~/others/connector,~/others/connector-telephony,~/others/contract,~/others/delivery-carrier,~/others/edi,~/others/intrastat-extrastat,~/others/partner-contact,~/others/product-attribute,~/others/purchase-workflow,~/others/queue,~/others/report-print-send,~/others/reporting-engine,~/others/rest-framework,~/others/sale-workflow,~/others/server-auth,~/others/server-backend,~/others/server-env,~/others/server-tools,~/others/social,~/others/stock-logistics-transport,~/others/stock-logistics-warehouse,~/others/stock-logistics-workflow,~/others/storage,~/others/web,~/others/wms --db_host psql --db_port 5432 --db_user flectra --db_password flectra - --database test_base_tier_validation_server_action - --test-enable -i base_tier_validation_server_action + --database test_date_range + --test-enable -i date_range --stop-after-init --log-level error - --log-handler flectra.addons.base_tier_validation_server_action:TEST" - -test_module_mass_operation_abstract: - 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 libzbar0 poppler-utils - - 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/account-analytic.git ~/others/account-analytic" - - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/account-closing.git ~/others/account-closing" - - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/account-financial-tools.git ~/others/account-financial-tools" - - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/account-invoicing.git ~/others/account-invoicing" - - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/account-payment.git ~/others/account-payment" - - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/bank-payment.git ~/others/bank-payment" - - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/brand.git ~/others/brand" - - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/community-data-files.git ~/others/community-data-files" - - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/connector.git ~/others/connector" - - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/connector-telephony.git ~/others/connector-telephony" - - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/delivery-carrier.git ~/others/delivery-carrier" - - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/edi.git ~/others/edi" - - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/intrastat-extrastat.git ~/others/intrastat-extrastat" - - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/partner-contact.git ~/others/partner-contact" - - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/product-attribute.git ~/others/product-attribute" - - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/queue.git ~/others/queue" - - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/report-print-send.git ~/others/report-print-send" - - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/reporting-engine.git ~/others/reporting-engine" - - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/rest-framework.git ~/others/rest-framework" - - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/sale-workflow.git ~/others/sale-workflow" - - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/server-auth.git ~/others/server-auth" - - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/server-env.git ~/others/server-env" - - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/server-tools.git ~/others/server-tools" - - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/social.git ~/others/social" - - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/stock-logistics-transport.git ~/others/stock-logistics-transport" - - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/stock-logistics-warehouse.git ~/others/stock-logistics-warehouse" - - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/stock-logistics-workflow.git ~/others/stock-logistics-workflow" - - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/storage.git ~/others/storage" - - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/web.git ~/others/web" - - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/wms.git ~/others/wms" - - 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_mass_operation_abstract - - psql -h psql -U flectra -d test_mass_operation_abstract -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_mass_operation_abstract - - chown -R flectra.flectra /opt/flectra/.local/share/filestore/test_mass_operation_abstract - - su - flectra -c "/opt/flectra/flectra-bin - --addons-path ${CI_PROJECT_DIR},~/others/account-analytic,~/others/account-closing,~/others/account-financial-tools,~/others/account-invoicing,~/others/account-payment,~/others/bank-payment,~/others/brand,~/others/community-data-files,~/others/connector,~/others/connector-telephony,~/others/delivery-carrier,~/others/edi,~/others/intrastat-extrastat,~/others/partner-contact,~/others/product-attribute,~/others/queue,~/others/report-print-send,~/others/reporting-engine,~/others/rest-framework,~/others/sale-workflow,~/others/server-auth,~/others/server-env,~/others/server-tools,~/others/social,~/others/stock-logistics-transport,~/others/stock-logistics-warehouse,~/others/stock-logistics-workflow,~/others/storage,~/others/web,~/others/wms - --db_host psql - --db_port 5432 - --db_user flectra - --db_password flectra - --database test_mass_operation_abstract - --test-enable -i mass_operation_abstract - --stop-after-init - --log-level error - --log-handler flectra.addons.mass_operation_abstract:TEST" + --log-handler flectra.addons.date_range:TEST" test_module_chained_swapper: stage: testsingle @@ -1640,17 +1257,20 @@ test_module_chained_swapper: - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/community-data-files.git ~/others/community-data-files" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/connector.git ~/others/connector" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/connector-telephony.git ~/others/connector-telephony" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/contract.git ~/others/contract" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/delivery-carrier.git ~/others/delivery-carrier" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/edi.git ~/others/edi" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/intrastat-extrastat.git ~/others/intrastat-extrastat" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/partner-contact.git ~/others/partner-contact" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/product-attribute.git ~/others/product-attribute" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/purchase-workflow.git ~/others/purchase-workflow" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/queue.git ~/others/queue" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/report-print-send.git ~/others/report-print-send" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/reporting-engine.git ~/others/reporting-engine" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/rest-framework.git ~/others/rest-framework" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/sale-workflow.git ~/others/sale-workflow" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/server-auth.git ~/others/server-auth" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/server-backend.git ~/others/server-backend" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/server-env.git ~/others/server-env" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/server-tools.git ~/others/server-tools" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/social.git ~/others/social" @@ -1671,7 +1291,7 @@ test_module_chained_swapper: - mv ${CI_PROJECT_DIR}/ci_data/filestore /opt/flectra/.local/share/filestore/test_chained_swapper - chown -R flectra.flectra /opt/flectra/.local/share/filestore/test_chained_swapper - su - flectra -c "/opt/flectra/flectra-bin - --addons-path ${CI_PROJECT_DIR},~/others/account-analytic,~/others/account-closing,~/others/account-financial-tools,~/others/account-invoicing,~/others/account-payment,~/others/bank-payment,~/others/brand,~/others/community-data-files,~/others/connector,~/others/connector-telephony,~/others/delivery-carrier,~/others/edi,~/others/intrastat-extrastat,~/others/partner-contact,~/others/product-attribute,~/others/queue,~/others/report-print-send,~/others/reporting-engine,~/others/rest-framework,~/others/sale-workflow,~/others/server-auth,~/others/server-env,~/others/server-tools,~/others/social,~/others/stock-logistics-transport,~/others/stock-logistics-warehouse,~/others/stock-logistics-workflow,~/others/storage,~/others/web,~/others/wms + --addons-path ${CI_PROJECT_DIR},~/others/account-analytic,~/others/account-closing,~/others/account-financial-tools,~/others/account-invoicing,~/others/account-payment,~/others/bank-payment,~/others/brand,~/others/community-data-files,~/others/connector,~/others/connector-telephony,~/others/contract,~/others/delivery-carrier,~/others/edi,~/others/intrastat-extrastat,~/others/partner-contact,~/others/product-attribute,~/others/purchase-workflow,~/others/queue,~/others/report-print-send,~/others/reporting-engine,~/others/rest-framework,~/others/sale-workflow,~/others/server-auth,~/others/server-backend,~/others/server-env,~/others/server-tools,~/others/social,~/others/stock-logistics-transport,~/others/stock-logistics-warehouse,~/others/stock-logistics-workflow,~/others/storage,~/others/web,~/others/wms --db_host psql --db_port 5432 --db_user flectra @@ -1682,7 +1302,7 @@ test_module_chained_swapper: --log-level error --log-handler flectra.addons.chained_swapper:TEST" -test_module_base_optional_quick_create: +test_module_date_range_account: stage: testsingle when: on_failure image: @@ -1703,17 +1323,20 @@ test_module_base_optional_quick_create: - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/community-data-files.git ~/others/community-data-files" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/connector.git ~/others/connector" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/connector-telephony.git ~/others/connector-telephony" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/contract.git ~/others/contract" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/delivery-carrier.git ~/others/delivery-carrier" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/edi.git ~/others/edi" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/intrastat-extrastat.git ~/others/intrastat-extrastat" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/partner-contact.git ~/others/partner-contact" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/product-attribute.git ~/others/product-attribute" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/purchase-workflow.git ~/others/purchase-workflow" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/queue.git ~/others/queue" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/report-print-send.git ~/others/report-print-send" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/reporting-engine.git ~/others/reporting-engine" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/rest-framework.git ~/others/rest-framework" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/sale-workflow.git ~/others/sale-workflow" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/server-auth.git ~/others/server-auth" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/server-backend.git ~/others/server-backend" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/server-env.git ~/others/server-env" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/server-tools.git ~/others/server-tools" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/social.git ~/others/social" @@ -1728,22 +1351,418 @@ test_module_base_optional_quick_create: - 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_optional_quick_create - - psql -h psql -U flectra -d test_base_optional_quick_create -f ${CI_PROJECT_DIR}/ci_data/dump.sql + - createdb -h psql -U flectra -O flectra -T template1 test_date_range_account + - psql -h psql -U flectra -d test_date_range_account -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_optional_quick_create - - chown -R flectra.flectra /opt/flectra/.local/share/filestore/test_base_optional_quick_create + - mv ${CI_PROJECT_DIR}/ci_data/filestore /opt/flectra/.local/share/filestore/test_date_range_account + - chown -R flectra.flectra /opt/flectra/.local/share/filestore/test_date_range_account - su - flectra -c "/opt/flectra/flectra-bin - --addons-path ${CI_PROJECT_DIR},~/others/account-analytic,~/others/account-closing,~/others/account-financial-tools,~/others/account-invoicing,~/others/account-payment,~/others/bank-payment,~/others/brand,~/others/community-data-files,~/others/connector,~/others/connector-telephony,~/others/delivery-carrier,~/others/edi,~/others/intrastat-extrastat,~/others/partner-contact,~/others/product-attribute,~/others/queue,~/others/report-print-send,~/others/reporting-engine,~/others/rest-framework,~/others/sale-workflow,~/others/server-auth,~/others/server-env,~/others/server-tools,~/others/social,~/others/stock-logistics-transport,~/others/stock-logistics-warehouse,~/others/stock-logistics-workflow,~/others/storage,~/others/web,~/others/wms + --addons-path ${CI_PROJECT_DIR},~/others/account-analytic,~/others/account-closing,~/others/account-financial-tools,~/others/account-invoicing,~/others/account-payment,~/others/bank-payment,~/others/brand,~/others/community-data-files,~/others/connector,~/others/connector-telephony,~/others/contract,~/others/delivery-carrier,~/others/edi,~/others/intrastat-extrastat,~/others/partner-contact,~/others/product-attribute,~/others/purchase-workflow,~/others/queue,~/others/report-print-send,~/others/reporting-engine,~/others/rest-framework,~/others/sale-workflow,~/others/server-auth,~/others/server-backend,~/others/server-env,~/others/server-tools,~/others/social,~/others/stock-logistics-transport,~/others/stock-logistics-warehouse,~/others/stock-logistics-workflow,~/others/storage,~/others/web,~/others/wms --db_host psql --db_port 5432 --db_user flectra --db_password flectra - --database test_base_optional_quick_create - --test-enable -i base_optional_quick_create + --database test_date_range_account + --test-enable -i date_range_account --stop-after-init --log-level error - --log-handler flectra.addons.base_optional_quick_create:TEST" + --log-handler flectra.addons.date_range_account:TEST" + +test_module_base_export_manager: + 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 libzbar0 poppler-utils + - 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/account-analytic.git ~/others/account-analytic" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/account-closing.git ~/others/account-closing" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/account-financial-tools.git ~/others/account-financial-tools" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/account-invoicing.git ~/others/account-invoicing" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/account-payment.git ~/others/account-payment" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/bank-payment.git ~/others/bank-payment" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/brand.git ~/others/brand" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/community-data-files.git ~/others/community-data-files" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/connector.git ~/others/connector" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/connector-telephony.git ~/others/connector-telephony" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/contract.git ~/others/contract" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/delivery-carrier.git ~/others/delivery-carrier" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/edi.git ~/others/edi" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/intrastat-extrastat.git ~/others/intrastat-extrastat" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/partner-contact.git ~/others/partner-contact" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/product-attribute.git ~/others/product-attribute" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/purchase-workflow.git ~/others/purchase-workflow" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/queue.git ~/others/queue" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/report-print-send.git ~/others/report-print-send" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/reporting-engine.git ~/others/reporting-engine" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/rest-framework.git ~/others/rest-framework" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/sale-workflow.git ~/others/sale-workflow" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/server-auth.git ~/others/server-auth" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/server-backend.git ~/others/server-backend" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/server-env.git ~/others/server-env" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/server-tools.git ~/others/server-tools" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/social.git ~/others/social" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/stock-logistics-transport.git ~/others/stock-logistics-transport" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/stock-logistics-warehouse.git ~/others/stock-logistics-warehouse" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/stock-logistics-workflow.git ~/others/stock-logistics-workflow" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/storage.git ~/others/storage" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/web.git ~/others/web" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/wms.git ~/others/wms" + - 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_export_manager + - psql -h psql -U flectra -d test_base_export_manager -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_export_manager + - chown -R flectra.flectra /opt/flectra/.local/share/filestore/test_base_export_manager + - su - flectra -c "/opt/flectra/flectra-bin + --addons-path ${CI_PROJECT_DIR},~/others/account-analytic,~/others/account-closing,~/others/account-financial-tools,~/others/account-invoicing,~/others/account-payment,~/others/bank-payment,~/others/brand,~/others/community-data-files,~/others/connector,~/others/connector-telephony,~/others/contract,~/others/delivery-carrier,~/others/edi,~/others/intrastat-extrastat,~/others/partner-contact,~/others/product-attribute,~/others/purchase-workflow,~/others/queue,~/others/report-print-send,~/others/reporting-engine,~/others/rest-framework,~/others/sale-workflow,~/others/server-auth,~/others/server-backend,~/others/server-env,~/others/server-tools,~/others/social,~/others/stock-logistics-transport,~/others/stock-logistics-warehouse,~/others/stock-logistics-workflow,~/others/storage,~/others/web,~/others/wms + --db_host psql + --db_port 5432 + --db_user flectra + --db_password flectra + --database test_base_export_manager + --test-enable -i base_export_manager + --stop-after-init + --log-level error + --log-handler flectra.addons.base_export_manager:TEST" + +test_module_sequence_range_end: + 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 libzbar0 poppler-utils + - 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/account-analytic.git ~/others/account-analytic" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/account-closing.git ~/others/account-closing" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/account-financial-tools.git ~/others/account-financial-tools" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/account-invoicing.git ~/others/account-invoicing" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/account-payment.git ~/others/account-payment" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/bank-payment.git ~/others/bank-payment" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/brand.git ~/others/brand" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/community-data-files.git ~/others/community-data-files" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/connector.git ~/others/connector" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/connector-telephony.git ~/others/connector-telephony" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/contract.git ~/others/contract" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/delivery-carrier.git ~/others/delivery-carrier" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/edi.git ~/others/edi" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/intrastat-extrastat.git ~/others/intrastat-extrastat" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/partner-contact.git ~/others/partner-contact" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/product-attribute.git ~/others/product-attribute" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/purchase-workflow.git ~/others/purchase-workflow" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/queue.git ~/others/queue" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/report-print-send.git ~/others/report-print-send" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/reporting-engine.git ~/others/reporting-engine" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/rest-framework.git ~/others/rest-framework" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/sale-workflow.git ~/others/sale-workflow" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/server-auth.git ~/others/server-auth" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/server-backend.git ~/others/server-backend" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/server-env.git ~/others/server-env" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/server-tools.git ~/others/server-tools" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/social.git ~/others/social" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/stock-logistics-transport.git ~/others/stock-logistics-transport" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/stock-logistics-warehouse.git ~/others/stock-logistics-warehouse" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/stock-logistics-workflow.git ~/others/stock-logistics-workflow" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/storage.git ~/others/storage" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/web.git ~/others/web" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/wms.git ~/others/wms" + - 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_sequence_range_end + - psql -h psql -U flectra -d test_sequence_range_end -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_sequence_range_end + - chown -R flectra.flectra /opt/flectra/.local/share/filestore/test_sequence_range_end + - su - flectra -c "/opt/flectra/flectra-bin + --addons-path ${CI_PROJECT_DIR},~/others/account-analytic,~/others/account-closing,~/others/account-financial-tools,~/others/account-invoicing,~/others/account-payment,~/others/bank-payment,~/others/brand,~/others/community-data-files,~/others/connector,~/others/connector-telephony,~/others/contract,~/others/delivery-carrier,~/others/edi,~/others/intrastat-extrastat,~/others/partner-contact,~/others/product-attribute,~/others/purchase-workflow,~/others/queue,~/others/report-print-send,~/others/reporting-engine,~/others/rest-framework,~/others/sale-workflow,~/others/server-auth,~/others/server-backend,~/others/server-env,~/others/server-tools,~/others/social,~/others/stock-logistics-transport,~/others/stock-logistics-warehouse,~/others/stock-logistics-workflow,~/others/storage,~/others/web,~/others/wms + --db_host psql + --db_port 5432 + --db_user flectra + --db_password flectra + --database test_sequence_range_end + --test-enable -i sequence_range_end + --stop-after-init + --log-level error + --log-handler flectra.addons.sequence_range_end:TEST" + +test_module_base_tier_validation_server_action: + 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 libzbar0 poppler-utils + - 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/account-analytic.git ~/others/account-analytic" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/account-closing.git ~/others/account-closing" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/account-financial-tools.git ~/others/account-financial-tools" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/account-invoicing.git ~/others/account-invoicing" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/account-payment.git ~/others/account-payment" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/bank-payment.git ~/others/bank-payment" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/brand.git ~/others/brand" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/community-data-files.git ~/others/community-data-files" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/connector.git ~/others/connector" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/connector-telephony.git ~/others/connector-telephony" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/contract.git ~/others/contract" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/delivery-carrier.git ~/others/delivery-carrier" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/edi.git ~/others/edi" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/intrastat-extrastat.git ~/others/intrastat-extrastat" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/partner-contact.git ~/others/partner-contact" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/product-attribute.git ~/others/product-attribute" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/purchase-workflow.git ~/others/purchase-workflow" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/queue.git ~/others/queue" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/report-print-send.git ~/others/report-print-send" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/reporting-engine.git ~/others/reporting-engine" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/rest-framework.git ~/others/rest-framework" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/sale-workflow.git ~/others/sale-workflow" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/server-auth.git ~/others/server-auth" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/server-backend.git ~/others/server-backend" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/server-env.git ~/others/server-env" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/server-tools.git ~/others/server-tools" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/social.git ~/others/social" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/stock-logistics-transport.git ~/others/stock-logistics-transport" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/stock-logistics-warehouse.git ~/others/stock-logistics-warehouse" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/stock-logistics-workflow.git ~/others/stock-logistics-workflow" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/storage.git ~/others/storage" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/web.git ~/others/web" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/wms.git ~/others/wms" + - 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_tier_validation_server_action + - psql -h psql -U flectra -d test_base_tier_validation_server_action -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_tier_validation_server_action + - chown -R flectra.flectra /opt/flectra/.local/share/filestore/test_base_tier_validation_server_action + - su - flectra -c "/opt/flectra/flectra-bin + --addons-path ${CI_PROJECT_DIR},~/others/account-analytic,~/others/account-closing,~/others/account-financial-tools,~/others/account-invoicing,~/others/account-payment,~/others/bank-payment,~/others/brand,~/others/community-data-files,~/others/connector,~/others/connector-telephony,~/others/contract,~/others/delivery-carrier,~/others/edi,~/others/intrastat-extrastat,~/others/partner-contact,~/others/product-attribute,~/others/purchase-workflow,~/others/queue,~/others/report-print-send,~/others/reporting-engine,~/others/rest-framework,~/others/sale-workflow,~/others/server-auth,~/others/server-backend,~/others/server-env,~/others/server-tools,~/others/social,~/others/stock-logistics-transport,~/others/stock-logistics-warehouse,~/others/stock-logistics-workflow,~/others/storage,~/others/web,~/others/wms + --db_host psql + --db_port 5432 + --db_user flectra + --db_password flectra + --database test_base_tier_validation_server_action + --test-enable -i base_tier_validation_server_action + --stop-after-init + --log-level error + --log-handler flectra.addons.base_tier_validation_server_action:TEST" + +test_module_base_custom_filter: + 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 libzbar0 poppler-utils + - 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/account-analytic.git ~/others/account-analytic" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/account-closing.git ~/others/account-closing" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/account-financial-tools.git ~/others/account-financial-tools" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/account-invoicing.git ~/others/account-invoicing" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/account-payment.git ~/others/account-payment" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/bank-payment.git ~/others/bank-payment" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/brand.git ~/others/brand" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/community-data-files.git ~/others/community-data-files" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/connector.git ~/others/connector" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/connector-telephony.git ~/others/connector-telephony" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/contract.git ~/others/contract" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/delivery-carrier.git ~/others/delivery-carrier" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/edi.git ~/others/edi" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/intrastat-extrastat.git ~/others/intrastat-extrastat" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/partner-contact.git ~/others/partner-contact" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/product-attribute.git ~/others/product-attribute" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/purchase-workflow.git ~/others/purchase-workflow" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/queue.git ~/others/queue" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/report-print-send.git ~/others/report-print-send" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/reporting-engine.git ~/others/reporting-engine" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/rest-framework.git ~/others/rest-framework" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/sale-workflow.git ~/others/sale-workflow" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/server-auth.git ~/others/server-auth" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/server-backend.git ~/others/server-backend" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/server-env.git ~/others/server-env" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/server-tools.git ~/others/server-tools" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/social.git ~/others/social" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/stock-logistics-transport.git ~/others/stock-logistics-transport" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/stock-logistics-warehouse.git ~/others/stock-logistics-warehouse" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/stock-logistics-workflow.git ~/others/stock-logistics-workflow" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/storage.git ~/others/storage" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/web.git ~/others/web" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/wms.git ~/others/wms" + - 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_custom_filter + - psql -h psql -U flectra -d test_base_custom_filter -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_custom_filter + - chown -R flectra.flectra /opt/flectra/.local/share/filestore/test_base_custom_filter + - su - flectra -c "/opt/flectra/flectra-bin + --addons-path ${CI_PROJECT_DIR},~/others/account-analytic,~/others/account-closing,~/others/account-financial-tools,~/others/account-invoicing,~/others/account-payment,~/others/bank-payment,~/others/brand,~/others/community-data-files,~/others/connector,~/others/connector-telephony,~/others/contract,~/others/delivery-carrier,~/others/edi,~/others/intrastat-extrastat,~/others/partner-contact,~/others/product-attribute,~/others/purchase-workflow,~/others/queue,~/others/report-print-send,~/others/reporting-engine,~/others/rest-framework,~/others/sale-workflow,~/others/server-auth,~/others/server-backend,~/others/server-env,~/others/server-tools,~/others/social,~/others/stock-logistics-transport,~/others/stock-logistics-warehouse,~/others/stock-logistics-workflow,~/others/storage,~/others/web,~/others/wms + --db_host psql + --db_port 5432 + --db_user flectra + --db_password flectra + --database test_base_custom_filter + --test-enable -i base_custom_filter + --stop-after-init + --log-level error + --log-handler flectra.addons.base_custom_filter:TEST" + +test_module_sequence_check_digit: + 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 libzbar0 poppler-utils + - 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/account-analytic.git ~/others/account-analytic" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/account-closing.git ~/others/account-closing" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/account-financial-tools.git ~/others/account-financial-tools" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/account-invoicing.git ~/others/account-invoicing" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/account-payment.git ~/others/account-payment" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/bank-payment.git ~/others/bank-payment" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/brand.git ~/others/brand" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/community-data-files.git ~/others/community-data-files" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/connector.git ~/others/connector" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/connector-telephony.git ~/others/connector-telephony" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/contract.git ~/others/contract" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/delivery-carrier.git ~/others/delivery-carrier" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/edi.git ~/others/edi" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/intrastat-extrastat.git ~/others/intrastat-extrastat" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/partner-contact.git ~/others/partner-contact" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/product-attribute.git ~/others/product-attribute" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/purchase-workflow.git ~/others/purchase-workflow" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/queue.git ~/others/queue" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/report-print-send.git ~/others/report-print-send" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/reporting-engine.git ~/others/reporting-engine" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/rest-framework.git ~/others/rest-framework" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/sale-workflow.git ~/others/sale-workflow" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/server-auth.git ~/others/server-auth" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/server-backend.git ~/others/server-backend" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/server-env.git ~/others/server-env" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/server-tools.git ~/others/server-tools" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/social.git ~/others/social" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/stock-logistics-transport.git ~/others/stock-logistics-transport" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/stock-logistics-warehouse.git ~/others/stock-logistics-warehouse" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/stock-logistics-workflow.git ~/others/stock-logistics-workflow" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/storage.git ~/others/storage" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/web.git ~/others/web" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/wms.git ~/others/wms" + - 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_sequence_check_digit + - psql -h psql -U flectra -d test_sequence_check_digit -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_sequence_check_digit + - chown -R flectra.flectra /opt/flectra/.local/share/filestore/test_sequence_check_digit + - su - flectra -c "/opt/flectra/flectra-bin + --addons-path ${CI_PROJECT_DIR},~/others/account-analytic,~/others/account-closing,~/others/account-financial-tools,~/others/account-invoicing,~/others/account-payment,~/others/bank-payment,~/others/brand,~/others/community-data-files,~/others/connector,~/others/connector-telephony,~/others/contract,~/others/delivery-carrier,~/others/edi,~/others/intrastat-extrastat,~/others/partner-contact,~/others/product-attribute,~/others/purchase-workflow,~/others/queue,~/others/report-print-send,~/others/reporting-engine,~/others/rest-framework,~/others/sale-workflow,~/others/server-auth,~/others/server-backend,~/others/server-env,~/others/server-tools,~/others/social,~/others/stock-logistics-transport,~/others/stock-logistics-warehouse,~/others/stock-logistics-workflow,~/others/storage,~/others/web,~/others/wms + --db_host psql + --db_port 5432 + --db_user flectra + --db_password flectra + --database test_sequence_check_digit + --test-enable -i sequence_check_digit + --stop-after-init + --log-level error + --log-handler flectra.addons.sequence_check_digit:TEST" + +test_module_server_action_domain: + 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 libzbar0 poppler-utils + - 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/account-analytic.git ~/others/account-analytic" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/account-closing.git ~/others/account-closing" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/account-financial-tools.git ~/others/account-financial-tools" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/account-invoicing.git ~/others/account-invoicing" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/account-payment.git ~/others/account-payment" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/bank-payment.git ~/others/bank-payment" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/brand.git ~/others/brand" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/community-data-files.git ~/others/community-data-files" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/connector.git ~/others/connector" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/connector-telephony.git ~/others/connector-telephony" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/contract.git ~/others/contract" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/delivery-carrier.git ~/others/delivery-carrier" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/edi.git ~/others/edi" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/intrastat-extrastat.git ~/others/intrastat-extrastat" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/partner-contact.git ~/others/partner-contact" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/product-attribute.git ~/others/product-attribute" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/purchase-workflow.git ~/others/purchase-workflow" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/queue.git ~/others/queue" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/report-print-send.git ~/others/report-print-send" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/reporting-engine.git ~/others/reporting-engine" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/rest-framework.git ~/others/rest-framework" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/sale-workflow.git ~/others/sale-workflow" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/server-auth.git ~/others/server-auth" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/server-backend.git ~/others/server-backend" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/server-env.git ~/others/server-env" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/server-tools.git ~/others/server-tools" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/social.git ~/others/social" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/stock-logistics-transport.git ~/others/stock-logistics-transport" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/stock-logistics-warehouse.git ~/others/stock-logistics-warehouse" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/stock-logistics-workflow.git ~/others/stock-logistics-workflow" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/storage.git ~/others/storage" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/web.git ~/others/web" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/wms.git ~/others/wms" + - 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_server_action_domain + - psql -h psql -U flectra -d test_server_action_domain -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_server_action_domain + - chown -R flectra.flectra /opt/flectra/.local/share/filestore/test_server_action_domain + - su - flectra -c "/opt/flectra/flectra-bin + --addons-path ${CI_PROJECT_DIR},~/others/account-analytic,~/others/account-closing,~/others/account-financial-tools,~/others/account-invoicing,~/others/account-payment,~/others/bank-payment,~/others/brand,~/others/community-data-files,~/others/connector,~/others/connector-telephony,~/others/contract,~/others/delivery-carrier,~/others/edi,~/others/intrastat-extrastat,~/others/partner-contact,~/others/product-attribute,~/others/purchase-workflow,~/others/queue,~/others/report-print-send,~/others/reporting-engine,~/others/rest-framework,~/others/sale-workflow,~/others/server-auth,~/others/server-backend,~/others/server-env,~/others/server-tools,~/others/social,~/others/stock-logistics-transport,~/others/stock-logistics-warehouse,~/others/stock-logistics-workflow,~/others/storage,~/others/web,~/others/wms + --db_host psql + --db_port 5432 + --db_user flectra + --db_password flectra + --database test_server_action_domain + --test-enable -i server_action_domain + --stop-after-init + --log-level error + --log-handler flectra.addons.server_action_domain:TEST" test_module_document_quick_access_folder_auto_classification: stage: testsingle @@ -1766,17 +1785,20 @@ test_module_document_quick_access_folder_auto_classification: - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/community-data-files.git ~/others/community-data-files" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/connector.git ~/others/connector" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/connector-telephony.git ~/others/connector-telephony" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/contract.git ~/others/contract" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/delivery-carrier.git ~/others/delivery-carrier" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/edi.git ~/others/edi" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/intrastat-extrastat.git ~/others/intrastat-extrastat" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/partner-contact.git ~/others/partner-contact" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/product-attribute.git ~/others/product-attribute" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/purchase-workflow.git ~/others/purchase-workflow" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/queue.git ~/others/queue" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/report-print-send.git ~/others/report-print-send" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/reporting-engine.git ~/others/reporting-engine" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/rest-framework.git ~/others/rest-framework" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/sale-workflow.git ~/others/sale-workflow" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/server-auth.git ~/others/server-auth" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/server-backend.git ~/others/server-backend" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/server-env.git ~/others/server-env" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/server-tools.git ~/others/server-tools" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/social.git ~/others/social" @@ -1797,7 +1819,7 @@ test_module_document_quick_access_folder_auto_classification: - mv ${CI_PROJECT_DIR}/ci_data/filestore /opt/flectra/.local/share/filestore/test_document_quick_access_folder_auto_classification - chown -R flectra.flectra /opt/flectra/.local/share/filestore/test_document_quick_access_folder_auto_classification - su - flectra -c "/opt/flectra/flectra-bin - --addons-path ${CI_PROJECT_DIR},~/others/account-analytic,~/others/account-closing,~/others/account-financial-tools,~/others/account-invoicing,~/others/account-payment,~/others/bank-payment,~/others/brand,~/others/community-data-files,~/others/connector,~/others/connector-telephony,~/others/delivery-carrier,~/others/edi,~/others/intrastat-extrastat,~/others/partner-contact,~/others/product-attribute,~/others/queue,~/others/report-print-send,~/others/reporting-engine,~/others/rest-framework,~/others/sale-workflow,~/others/server-auth,~/others/server-env,~/others/server-tools,~/others/social,~/others/stock-logistics-transport,~/others/stock-logistics-warehouse,~/others/stock-logistics-workflow,~/others/storage,~/others/web,~/others/wms + --addons-path ${CI_PROJECT_DIR},~/others/account-analytic,~/others/account-closing,~/others/account-financial-tools,~/others/account-invoicing,~/others/account-payment,~/others/bank-payment,~/others/brand,~/others/community-data-files,~/others/connector,~/others/connector-telephony,~/others/contract,~/others/delivery-carrier,~/others/edi,~/others/intrastat-extrastat,~/others/partner-contact,~/others/product-attribute,~/others/purchase-workflow,~/others/queue,~/others/report-print-send,~/others/reporting-engine,~/others/rest-framework,~/others/sale-workflow,~/others/server-auth,~/others/server-backend,~/others/server-env,~/others/server-tools,~/others/social,~/others/stock-logistics-transport,~/others/stock-logistics-warehouse,~/others/stock-logistics-workflow,~/others/storage,~/others/web,~/others/wms --db_host psql --db_port 5432 --db_user flectra @@ -1808,3 +1830,333 @@ test_module_document_quick_access_folder_auto_classification: --log-level error --log-handler flectra.addons.document_quick_access_folder_auto_classification:TEST" +test_module_base_tier_validation: + 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 libzbar0 poppler-utils + - 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/account-analytic.git ~/others/account-analytic" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/account-closing.git ~/others/account-closing" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/account-financial-tools.git ~/others/account-financial-tools" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/account-invoicing.git ~/others/account-invoicing" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/account-payment.git ~/others/account-payment" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/bank-payment.git ~/others/bank-payment" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/brand.git ~/others/brand" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/community-data-files.git ~/others/community-data-files" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/connector.git ~/others/connector" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/connector-telephony.git ~/others/connector-telephony" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/contract.git ~/others/contract" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/delivery-carrier.git ~/others/delivery-carrier" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/edi.git ~/others/edi" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/intrastat-extrastat.git ~/others/intrastat-extrastat" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/partner-contact.git ~/others/partner-contact" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/product-attribute.git ~/others/product-attribute" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/purchase-workflow.git ~/others/purchase-workflow" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/queue.git ~/others/queue" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/report-print-send.git ~/others/report-print-send" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/reporting-engine.git ~/others/reporting-engine" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/rest-framework.git ~/others/rest-framework" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/sale-workflow.git ~/others/sale-workflow" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/server-auth.git ~/others/server-auth" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/server-backend.git ~/others/server-backend" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/server-env.git ~/others/server-env" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/server-tools.git ~/others/server-tools" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/social.git ~/others/social" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/stock-logistics-transport.git ~/others/stock-logistics-transport" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/stock-logistics-warehouse.git ~/others/stock-logistics-warehouse" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/stock-logistics-workflow.git ~/others/stock-logistics-workflow" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/storage.git ~/others/storage" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/web.git ~/others/web" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/wms.git ~/others/wms" + - 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_tier_validation + - psql -h psql -U flectra -d test_base_tier_validation -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_tier_validation + - chown -R flectra.flectra /opt/flectra/.local/share/filestore/test_base_tier_validation + - su - flectra -c "/opt/flectra/flectra-bin + --addons-path ${CI_PROJECT_DIR},~/others/account-analytic,~/others/account-closing,~/others/account-financial-tools,~/others/account-invoicing,~/others/account-payment,~/others/bank-payment,~/others/brand,~/others/community-data-files,~/others/connector,~/others/connector-telephony,~/others/contract,~/others/delivery-carrier,~/others/edi,~/others/intrastat-extrastat,~/others/partner-contact,~/others/product-attribute,~/others/purchase-workflow,~/others/queue,~/others/report-print-send,~/others/reporting-engine,~/others/rest-framework,~/others/sale-workflow,~/others/server-auth,~/others/server-backend,~/others/server-env,~/others/server-tools,~/others/social,~/others/stock-logistics-transport,~/others/stock-logistics-warehouse,~/others/stock-logistics-workflow,~/others/storage,~/others/web,~/others/wms + --db_host psql + --db_port 5432 + --db_user flectra + --db_password flectra + --database test_base_tier_validation + --test-enable -i base_tier_validation + --stop-after-init + --log-level error + --log-handler flectra.addons.base_tier_validation:TEST" + +test_module_default_multi_user: + 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 libzbar0 poppler-utils + - 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/account-analytic.git ~/others/account-analytic" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/account-closing.git ~/others/account-closing" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/account-financial-tools.git ~/others/account-financial-tools" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/account-invoicing.git ~/others/account-invoicing" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/account-payment.git ~/others/account-payment" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/bank-payment.git ~/others/bank-payment" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/brand.git ~/others/brand" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/community-data-files.git ~/others/community-data-files" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/connector.git ~/others/connector" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/connector-telephony.git ~/others/connector-telephony" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/contract.git ~/others/contract" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/delivery-carrier.git ~/others/delivery-carrier" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/edi.git ~/others/edi" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/intrastat-extrastat.git ~/others/intrastat-extrastat" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/partner-contact.git ~/others/partner-contact" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/product-attribute.git ~/others/product-attribute" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/purchase-workflow.git ~/others/purchase-workflow" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/queue.git ~/others/queue" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/report-print-send.git ~/others/report-print-send" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/reporting-engine.git ~/others/reporting-engine" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/rest-framework.git ~/others/rest-framework" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/sale-workflow.git ~/others/sale-workflow" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/server-auth.git ~/others/server-auth" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/server-backend.git ~/others/server-backend" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/server-env.git ~/others/server-env" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/server-tools.git ~/others/server-tools" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/social.git ~/others/social" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/stock-logistics-transport.git ~/others/stock-logistics-transport" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/stock-logistics-warehouse.git ~/others/stock-logistics-warehouse" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/stock-logistics-workflow.git ~/others/stock-logistics-workflow" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/storage.git ~/others/storage" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/web.git ~/others/web" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/wms.git ~/others/wms" + - 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_default_multi_user + - psql -h psql -U flectra -d test_default_multi_user -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_default_multi_user + - chown -R flectra.flectra /opt/flectra/.local/share/filestore/test_default_multi_user + - su - flectra -c "/opt/flectra/flectra-bin + --addons-path ${CI_PROJECT_DIR},~/others/account-analytic,~/others/account-closing,~/others/account-financial-tools,~/others/account-invoicing,~/others/account-payment,~/others/bank-payment,~/others/brand,~/others/community-data-files,~/others/connector,~/others/connector-telephony,~/others/contract,~/others/delivery-carrier,~/others/edi,~/others/intrastat-extrastat,~/others/partner-contact,~/others/product-attribute,~/others/purchase-workflow,~/others/queue,~/others/report-print-send,~/others/reporting-engine,~/others/rest-framework,~/others/sale-workflow,~/others/server-auth,~/others/server-backend,~/others/server-env,~/others/server-tools,~/others/social,~/others/stock-logistics-transport,~/others/stock-logistics-warehouse,~/others/stock-logistics-workflow,~/others/storage,~/others/web,~/others/wms + --db_host psql + --db_port 5432 + --db_user flectra + --db_password flectra + --database test_default_multi_user + --test-enable -i default_multi_user + --stop-after-init + --log-level error + --log-handler flectra.addons.default_multi_user:TEST" + +test_module_base_user_locale: + 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 libzbar0 poppler-utils + - 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/account-analytic.git ~/others/account-analytic" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/account-closing.git ~/others/account-closing" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/account-financial-tools.git ~/others/account-financial-tools" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/account-invoicing.git ~/others/account-invoicing" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/account-payment.git ~/others/account-payment" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/bank-payment.git ~/others/bank-payment" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/brand.git ~/others/brand" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/community-data-files.git ~/others/community-data-files" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/connector.git ~/others/connector" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/connector-telephony.git ~/others/connector-telephony" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/contract.git ~/others/contract" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/delivery-carrier.git ~/others/delivery-carrier" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/edi.git ~/others/edi" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/intrastat-extrastat.git ~/others/intrastat-extrastat" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/partner-contact.git ~/others/partner-contact" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/product-attribute.git ~/others/product-attribute" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/purchase-workflow.git ~/others/purchase-workflow" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/queue.git ~/others/queue" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/report-print-send.git ~/others/report-print-send" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/reporting-engine.git ~/others/reporting-engine" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/rest-framework.git ~/others/rest-framework" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/sale-workflow.git ~/others/sale-workflow" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/server-auth.git ~/others/server-auth" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/server-backend.git ~/others/server-backend" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/server-env.git ~/others/server-env" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/server-tools.git ~/others/server-tools" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/social.git ~/others/social" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/stock-logistics-transport.git ~/others/stock-logistics-transport" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/stock-logistics-warehouse.git ~/others/stock-logistics-warehouse" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/stock-logistics-workflow.git ~/others/stock-logistics-workflow" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/storage.git ~/others/storage" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/web.git ~/others/web" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/wms.git ~/others/wms" + - 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_user_locale + - psql -h psql -U flectra -d test_base_user_locale -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_user_locale + - chown -R flectra.flectra /opt/flectra/.local/share/filestore/test_base_user_locale + - su - flectra -c "/opt/flectra/flectra-bin + --addons-path ${CI_PROJECT_DIR},~/others/account-analytic,~/others/account-closing,~/others/account-financial-tools,~/others/account-invoicing,~/others/account-payment,~/others/bank-payment,~/others/brand,~/others/community-data-files,~/others/connector,~/others/connector-telephony,~/others/contract,~/others/delivery-carrier,~/others/edi,~/others/intrastat-extrastat,~/others/partner-contact,~/others/product-attribute,~/others/purchase-workflow,~/others/queue,~/others/report-print-send,~/others/reporting-engine,~/others/rest-framework,~/others/sale-workflow,~/others/server-auth,~/others/server-backend,~/others/server-env,~/others/server-tools,~/others/social,~/others/stock-logistics-transport,~/others/stock-logistics-warehouse,~/others/stock-logistics-workflow,~/others/storage,~/others/web,~/others/wms + --db_host psql + --db_port 5432 + --db_user flectra + --db_password flectra + --database test_base_user_locale + --test-enable -i base_user_locale + --stop-after-init + --log-level error + --log-handler flectra.addons.base_user_locale:TEST" + +test_module_base_optional_quick_create: + 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 libzbar0 poppler-utils + - 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/account-analytic.git ~/others/account-analytic" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/account-closing.git ~/others/account-closing" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/account-financial-tools.git ~/others/account-financial-tools" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/account-invoicing.git ~/others/account-invoicing" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/account-payment.git ~/others/account-payment" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/bank-payment.git ~/others/bank-payment" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/brand.git ~/others/brand" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/community-data-files.git ~/others/community-data-files" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/connector.git ~/others/connector" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/connector-telephony.git ~/others/connector-telephony" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/contract.git ~/others/contract" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/delivery-carrier.git ~/others/delivery-carrier" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/edi.git ~/others/edi" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/intrastat-extrastat.git ~/others/intrastat-extrastat" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/partner-contact.git ~/others/partner-contact" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/product-attribute.git ~/others/product-attribute" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/purchase-workflow.git ~/others/purchase-workflow" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/queue.git ~/others/queue" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/report-print-send.git ~/others/report-print-send" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/reporting-engine.git ~/others/reporting-engine" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/rest-framework.git ~/others/rest-framework" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/sale-workflow.git ~/others/sale-workflow" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/server-auth.git ~/others/server-auth" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/server-backend.git ~/others/server-backend" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/server-env.git ~/others/server-env" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/server-tools.git ~/others/server-tools" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/social.git ~/others/social" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/stock-logistics-transport.git ~/others/stock-logistics-transport" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/stock-logistics-warehouse.git ~/others/stock-logistics-warehouse" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/stock-logistics-workflow.git ~/others/stock-logistics-workflow" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/storage.git ~/others/storage" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/web.git ~/others/web" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/wms.git ~/others/wms" + - 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_optional_quick_create + - psql -h psql -U flectra -d test_base_optional_quick_create -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_optional_quick_create + - chown -R flectra.flectra /opt/flectra/.local/share/filestore/test_base_optional_quick_create + - su - flectra -c "/opt/flectra/flectra-bin + --addons-path ${CI_PROJECT_DIR},~/others/account-analytic,~/others/account-closing,~/others/account-financial-tools,~/others/account-invoicing,~/others/account-payment,~/others/bank-payment,~/others/brand,~/others/community-data-files,~/others/connector,~/others/connector-telephony,~/others/contract,~/others/delivery-carrier,~/others/edi,~/others/intrastat-extrastat,~/others/partner-contact,~/others/product-attribute,~/others/purchase-workflow,~/others/queue,~/others/report-print-send,~/others/reporting-engine,~/others/rest-framework,~/others/sale-workflow,~/others/server-auth,~/others/server-backend,~/others/server-env,~/others/server-tools,~/others/social,~/others/stock-logistics-transport,~/others/stock-logistics-warehouse,~/others/stock-logistics-workflow,~/others/storage,~/others/web,~/others/wms + --db_host psql + --db_port 5432 + --db_user flectra + --db_password flectra + --database test_base_optional_quick_create + --test-enable -i base_optional_quick_create + --stop-after-init + --log-level error + --log-handler flectra.addons.base_optional_quick_create:TEST" + +test_module_barcode_action: + 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 libzbar0 poppler-utils + - 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/account-analytic.git ~/others/account-analytic" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/account-closing.git ~/others/account-closing" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/account-financial-tools.git ~/others/account-financial-tools" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/account-invoicing.git ~/others/account-invoicing" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/account-payment.git ~/others/account-payment" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/bank-payment.git ~/others/bank-payment" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/brand.git ~/others/brand" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/community-data-files.git ~/others/community-data-files" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/connector.git ~/others/connector" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/connector-telephony.git ~/others/connector-telephony" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/contract.git ~/others/contract" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/delivery-carrier.git ~/others/delivery-carrier" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/edi.git ~/others/edi" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/intrastat-extrastat.git ~/others/intrastat-extrastat" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/partner-contact.git ~/others/partner-contact" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/product-attribute.git ~/others/product-attribute" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/purchase-workflow.git ~/others/purchase-workflow" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/queue.git ~/others/queue" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/report-print-send.git ~/others/report-print-send" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/reporting-engine.git ~/others/reporting-engine" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/rest-framework.git ~/others/rest-framework" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/sale-workflow.git ~/others/sale-workflow" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/server-auth.git ~/others/server-auth" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/server-backend.git ~/others/server-backend" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/server-env.git ~/others/server-env" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/server-tools.git ~/others/server-tools" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/social.git ~/others/social" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/stock-logistics-transport.git ~/others/stock-logistics-transport" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/stock-logistics-warehouse.git ~/others/stock-logistics-warehouse" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/stock-logistics-workflow.git ~/others/stock-logistics-workflow" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/storage.git ~/others/storage" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/web.git ~/others/web" + - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/wms.git ~/others/wms" + - 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_barcode_action + - psql -h psql -U flectra -d test_barcode_action -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_barcode_action + - chown -R flectra.flectra /opt/flectra/.local/share/filestore/test_barcode_action + - su - flectra -c "/opt/flectra/flectra-bin + --addons-path ${CI_PROJECT_DIR},~/others/account-analytic,~/others/account-closing,~/others/account-financial-tools,~/others/account-invoicing,~/others/account-payment,~/others/bank-payment,~/others/brand,~/others/community-data-files,~/others/connector,~/others/connector-telephony,~/others/contract,~/others/delivery-carrier,~/others/edi,~/others/intrastat-extrastat,~/others/partner-contact,~/others/product-attribute,~/others/purchase-workflow,~/others/queue,~/others/report-print-send,~/others/reporting-engine,~/others/rest-framework,~/others/sale-workflow,~/others/server-auth,~/others/server-backend,~/others/server-env,~/others/server-tools,~/others/social,~/others/stock-logistics-transport,~/others/stock-logistics-warehouse,~/others/stock-logistics-workflow,~/others/storage,~/others/web,~/others/wms + --db_host psql + --db_port 5432 + --db_user flectra + --db_password flectra + --database test_barcode_action + --test-enable -i barcode_action + --stop-after-init + --log-level error + --log-handler flectra.addons.barcode_action:TEST" + diff --git a/README.md b/README.md index 1c95b21..73de65b 100644 --- a/README.md +++ b/README.md @@ -9,32 +9,36 @@ Available addons addon | version | summary --- | --- | --- +[base_tier_validation_report](base_tier_validation_report/) | 2.0.1.0.0| Reports related to tier validation [base_cancel_confirm](base_cancel_confirm/) | 2.0.1.0.3| Base Cancel Confirm [base_substate](base_substate/) | 2.0.1.0.0| Base Sub State +[base_search_custom_field_filter](base_search_custom_field_filter/) | 2.0.1.1.0| Add custom filters for fields via UI [filter_multi_user](filter_multi_user/) | 2.0.1.0.0| Allows to share user-defined filters filters among several users. -[default_multi_user](default_multi_user/) | 2.0.1.0.0| Allows to share user-defined defaults among several users. -[sequence_range_end](sequence_range_end/) | 2.0.1.0.0| Sequence prefix/suffix option, 'range_end_', to use the beginning of the range -[sequence_reset_period](sequence_reset_period/) | 2.0.1.0.0| Auto-generate yearly/monthly/weekly/daily sequence period ranges -[sequence_check_digit](sequence_check_digit/) | 2.0.1.0.0| Adds a check digit on sequences [base_import_security_group](base_import_security_group/) | 2.0.1.0.0| Group-based permissions for importing CSV files -[date_range](date_range/) | 2.0.2.1.0| Manage all kind of date range -[date_range_account](date_range_account/) | 2.0.1.0.0| Add Date Range menu entry in Invoicing app -[base_tier_validation_forward](base_tier_validation_forward/) | 2.0.1.0.2| Forward option for base tiers +[sequence_reset_period](sequence_reset_period/) | 2.0.1.0.0| Auto-generate yearly/monthly/weekly/daily sequence period ranges [base_menu_visibility_restriction](base_menu_visibility_restriction/) | 2.0.1.0.0| Restrict (with groups) menu visibilty -[barcode_action](barcode_action/) | 2.0.1.0.1| Allows to use barcodes as a launcher [multi_step_wizard](multi_step_wizard/) | 2.0.1.0.0| Multi-Steps Wizards +[mass_operation_abstract](mass_operation_abstract/) | 2.0.1.0.2| Abstract Tools used for modules that realize operation on many items +[base_revision](base_revision/) | 2.0.1.1.0| Keep track of revised document +[document_quick_access](document_quick_access/) | 2.0.1.0.0| Document quick access +[base_tier_validation_forward](base_tier_validation_forward/) | 2.0.1.0.2| Forward option for base tiers [base_technical_features](base_technical_features/) | 2.0.1.1.1| Access to technical features without activating debug mode [base_tier_validation_formula](base_tier_validation_formula/) | 2.0.2.0.1| Formulas for Base tier validation -[base_tier_validation](base_tier_validation/) | 2.0.2.9.0| Implement a validation process based on tiers. -[base_search_custom_field_filter](base_search_custom_field_filter/) | 2.0.1.0.0| Add custom filters for fields via UI -[base_revision](base_revision/) | 2.0.1.0.1| Keep track of revised document -[base_export_manager](base_export_manager/) | 2.0.1.0.1| Manage model export profiles -[document_quick_access](document_quick_access/) | 2.0.1.0.0| Document quick access [mass_editing](mass_editing/) | 2.0.1.1.0| Mass Editing -[base_tier_validation_server_action](base_tier_validation_server_action/) | 2.0.1.1.1| Add option to call server action when a tier is validated -[mass_operation_abstract](mass_operation_abstract/) | 2.0.1.0.2| Abstract Tools used for modules that realize operation on many items +[date_range](date_range/) | 2.0.2.1.1| Manage all kind of date range [chained_swapper](chained_swapper/) | 2.0.1.0.0| Chained Swapper +[date_range_account](date_range_account/) | 2.0.1.0.0| Add Date Range menu entry in Invoicing app +[base_export_manager](base_export_manager/) | 2.0.1.0.1| Manage model export profiles +[sequence_range_end](sequence_range_end/) | 2.0.1.0.0| Sequence prefix/suffix option, 'range_end_', to use the beginning of the range +[base_tier_validation_server_action](base_tier_validation_server_action/) | 2.0.1.1.2| Add option to call server action when a tier is validated +[base_custom_filter](base_custom_filter/) | 2.0.1.0.0| Add custom filters in standard filters and group by dropdowns +[sequence_check_digit](sequence_check_digit/) | 2.0.1.0.2| Adds a check digit on sequences +[server_action_domain](server_action_domain/) | 2.0.1.0.0| Apply a domain filter before executing server actions on records +[document_quick_access_folder_auto_classification](document_quick_access_folder_auto_classification/) | 2.0.2.0.0| Auto classification of Documents after reading a QR +[base_tier_validation](base_tier_validation/) | 2.0.2.10.0| Implement a validation process based on tiers. +[default_multi_user](default_multi_user/) | 2.0.1.0.0| Allows to share user-defined defaults among several users. +[base_user_locale](base_user_locale/) | 2.0.1.1.0| User Locale Settings [base_optional_quick_create](base_optional_quick_create/) | 2.0.1.0.0| Avoid "quick create" on m2o fields, on a "by model" basis -[document_quick_access_folder_auto_classification](document_quick_access_folder_auto_classification/) | 2.0.1.0.0| Auto classification of Documents after reading a QR +[barcode_action](barcode_action/) | 2.0.1.0.1| Allows to use barcodes as a launcher diff --git a/base_custom_filter/COPYRIGHT b/base_custom_filter/COPYRIGHT new file mode 100644 index 0000000..3267b1c --- /dev/null +++ b/base_custom_filter/COPYRIGHT @@ -0,0 +1,16 @@ +Most of the files are + + :Copyright: This stylesheet has been placed in the public domain. + +

    Beta License: AGPL-3 OCA/server-ux Translate me on Weblate Try me on Runbot

    +

    This module allows to define custom filters to be shown under the standard +filters and group by menus of a model’s search view.

    +

    Table of contents

    + +
    +

    Configuration

    +
      +
    1. Go to Settings > Custom Filters.
    2. +
    3. Create a new Custom Filter, and define following information:
        +
      • The Model for which you are defining the filter.
      • +
      • The Type depending on whether you want to add a filter or a grouping by +by a field.
      • +
      • The Domain that will be applied with the filter.
      • +
      • The Group By Field used to perform the group by.
      • +
      • The Group to have filters under the same separator.
      • +
      +
    4. +
    5. You can reorder records from the list view with the arrow handle. This will +determine the order in which they appear in the filters/groupby menu.
    6. +
    7. A separator is added between each custom filter added. You can create Custom +Filter Groups to group filters that you want to have displayed under the same +separator.
    8. +
    +
    +
    +

    Usage

    +
      +
    1. Go to the model’s menu entry for which you have defined the filter.
    2. +
    3. On the filters and group by dropdowns, you will see the configured filters.
    4. +
    +
    +
    +

    Bug Tracker

    +

    Bugs are tracked on GitHub Issues. +In case of trouble, please check there if your issue has already been reported. +If you spotted it first, help us smashing it by providing a detailed and welcomed +feedback.

    +

    Do not contact contributors directly about support or help with technical issues.

    +
    +
    +

    Credits

    +
    +

    Authors

    +
      +
    • Ashish Hirpara
    • +
    • ForgeFlow
    • +
    +
    +
    +

    Contributors

    +
      +
    • ForgeFlow S.L.:
        +
      • Jordi Masvidal
      • +
      +
    • +
    • Ashish Hirpara <https://www.ashish-hirpara.com>
    • +
    +
    +
    +

    Maintainers

    +

    This module is maintained by the OCA.

    +Odoo Community Association +

    OCA, or the Odoo Community Association, is a nonprofit organization whose +mission is to support the collaborative development of Odoo features and +promote its widespread use.

    +

    Current maintainers:

    +

    AshishHirapara ForgeFlow

    +

    This module is part of the OCA/server-ux project on GitHub.

    +

    You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.

    +
    +
    +
+ + diff --git a/base_custom_filter/tests/__init__.py b/base_custom_filter/tests/__init__.py new file mode 100644 index 0000000..0a22e05 --- /dev/null +++ b/base_custom_filter/tests/__init__.py @@ -0,0 +1 @@ +from . import test_filters diff --git a/base_custom_filter/tests/test_filters.py b/base_custom_filter/tests/test_filters.py new file mode 100644 index 0000000..69af8e7 --- /dev/null +++ b/base_custom_filter/tests/test_filters.py @@ -0,0 +1,53 @@ +from flectra.tests.common import Form, SavepointCase, tagged + + +@tagged("post_install", "-at_install") +class Test(SavepointCase): + @classmethod + def setUpClass(cls, chart_template_ref=None): + super().setUpClass() + filters_obj = cls.env["ir.filters"] + filters_group = Form(filters_obj) + filters_group.name = "Test No groupby group" + filters_group.type = "groupby" + filters_group.model_id = "ir.filters.group" + filters_group.groupby_field = cls.env.ref( + "base_custom_filter.field_ir_filters_group__name" + ) + filters_group = filters_group.save() + + filters_group = Form(filters_obj) + filters_group.name = "Test No filters group" + filters_group.type = "filter" + filters_group.model_id = "ir.filters.group" + filters_group.domain = '[["id","=",1]]' + filters_group = filters_group.save() + + def test_sale_order_line(self): + filters_group_obj = self.env["ir.filters.group"] + filters_obj = self.env["ir.filters"] + filters_obj.unlink() + filters_group_obj.unlink() + with Form(filters_group_obj) as filters_group: + filters_group.name = "Test filters group" + filters_group.type = "filter" + filters_group.model_id = "ir.filters.group" + with filters_group.filter_ids.new() as line: + line.name = "Test filter line" + line.domain = '[["id","=",1]]' + + filter_group = filters_group_obj.search([("name", "=", "Test filters group")]) + self.assertEqual(filter_group.name, "Test filters group") + + with Form(filters_group_obj) as filters_group: + filters_group.name = "Test groupby group" + filters_group.type = "groupby" + filters_group.model_id = "ir.filters.group" + with filters_group.filter_ids.new() as line: + line.name = "Test groupby line" + line.groupby_field = self.env.ref( + "base_custom_filter.field_ir_filters_group__name" + ) + + filters_group_obj.fields_view_get(view_type="search") + filter_group.unlink() diff --git a/base_custom_filter/views/ir_filters_group_views.xml b/base_custom_filter/views/ir_filters_group_views.xml new file mode 100644 index 0000000..ec6d1b2 --- /dev/null +++ b/base_custom_filter/views/ir_filters_group_views.xml @@ -0,0 +1,114 @@ + + + + + ir.filters.group.form + ir.filters.group + +
+ +
+

+ +

+
+ + + + + + + + + + + + +
+

+ +

+
+ + + + + + +
+ +
+
+
+ +
+
+ + ir.filters.group.tree + ir.filters.group + + + + + + + + + + + search.ir.filters.group + ir.filters.group + + + + + + + + + + + + + + Custom Filter Groups + ir.filters.group + tree,form + + +
diff --git a/base_custom_filter/views/ir_filters_views.xml b/base_custom_filter/views/ir_filters_views.xml new file mode 100644 index 0000000..6799d02 --- /dev/null +++ b/base_custom_filter/views/ir_filters_views.xml @@ -0,0 +1,111 @@ + + + + + ir.filters.form - base_custom_filter + ir.filters + + + + + + + + {'invisible': [('type', '=', 'groupby')]} + + + + + + {'invisible': [('type', '!=', 'favorite')]} + + + {'invisible': [('type', '!=', 'favorite')]} + + + {'invisible': [('type', '!=', 'favorite')]} + + + {'invisible': [('type', '!=', 'favorite')]} + + + {'invisible': [('type', '!=', 'favorite')]} + + + + + ir.filters.tree - base_custom_filter + ir.filters + + + + + + + + + + + + + ir.filters.tree.custom + ir.filters + + + + + + + + + + + + + + Custom Filters + ir.filters + [('type', '!=', 'favorite')] + + {'default_type': 'filter'} + + + + diff --git a/base_export_manager/models/ir_exports.py b/base_export_manager/models/ir_exports.py index bf74884..c0d108f 100644 --- a/base_export_manager/models/ir_exports.py +++ b/base_export_manager/models/ir_exports.py @@ -27,13 +27,13 @@ class IrExports(models.Model): @api.depends("model_id") def _inverse_model_id(self): - """ Gets resource from model """ + """Gets resource from model""" for record in self: record.resource = self.model_id.model @api.depends("resource") def _compute_model_id(self): - """ Gets resource from model """ + """Gets resource from model""" IrModel = self.env["ir.model"] for record in self: record.model_id = IrModel._get(record.resource) diff --git a/base_export_manager/tests/test_ir_exports.py b/base_export_manager/tests/test_ir_exports.py index 50b0642..ca42cf0 100644 --- a/base_export_manager/tests/test_ir_exports.py +++ b/base_export_manager/tests/test_ir_exports.py @@ -14,7 +14,7 @@ class TestIrExportsCase(TransactionCase): """ # Emulate creation from JsonRpc, without model_id and field#_id data = { - "name": u"Test éxport", + "name": "Test éxport", "resource": "ir.exports", "export_fields": [ [0, 0, {"name": "export_fields"}], diff --git a/base_import_security_group/tests/test_base_import_security_group.py b/base_import_security_group/tests/test_base_import_security_group.py index 89d9485..21dd734 100644 --- a/base_import_security_group/tests/test_base_import_security_group.py +++ b/base_import_security_group/tests/test_base_import_security_group.py @@ -35,7 +35,7 @@ class TestImportSecurityGroup(common.HttpCase): self.start_tour("/web", "button_import_ko", login="admin") def test_access_admin(self): - """ Admin user can import data """ + """Admin user can import data""" with mute_logger("flectra.sql_db"): res = self.Access.with_user(self.user_admin).load(self.fields, self.data) self.assertEqual(res["ids"], False) @@ -50,7 +50,7 @@ class TestImportSecurityGroup(common.HttpCase): ) def test_access_demo(self): - """ Demo user cannot import data """ + """Demo user cannot import data""" self.user_test.write({"groups_id": [(4, self.ref("base.group_system"))]}) self.start_tour("/web", "button_import_ko", login="demo") res2 = self.Access.with_user(self.user_test).load(self.fields, self.data) diff --git a/base_menu_visibility_restriction/models/ir_ui_menu.py b/base_menu_visibility_restriction/models/ir_ui_menu.py index 9424e3a..e354c40 100644 --- a/base_menu_visibility_restriction/models/ir_ui_menu.py +++ b/base_menu_visibility_restriction/models/ir_ui_menu.py @@ -18,7 +18,7 @@ class IrUiMenu(models.Model): @api.model @tools.ormcache("frozenset(self.env.user.groups_id.ids)", "debug") def _visible_menu_ids(self, debug=False): - """ Return the ids of the menu items visible to the user. """ + """Return the ids of the menu items visible to the user.""" visible = super()._visible_menu_ids(debug=debug) context = {"ir.ui.menu.full_list": True} menus = self.with_context(context).browse(visible) diff --git a/base_revision/__manifest__.py b/base_revision/__manifest__.py index e15178c..01e8721 100644 --- a/base_revision/__manifest__.py +++ b/base_revision/__manifest__.py @@ -7,7 +7,7 @@ { "name": "Base Revision (abstract)", "summary": "Keep track of revised document", - "version": "2.0.1.0.1", + "version": "2.0.1.1.0", "category": "Tools", "author": "Agile Business Group," "Dreambits," diff --git a/base_revision/i18n/base_revision.pot b/base_revision/i18n/base_revision.pot index 0cb1c33..577b15d 100644 --- a/base_revision/i18n/base_revision.pot +++ b/base_revision/i18n/base_revision.pot @@ -70,6 +70,11 @@ msgstr "" msgid "Original Reference" msgstr "" +#. module: base_revision +#: model:ir.model.fields,field_description:base_revision.field_base_revision__revision_count +msgid "Previous versions count" +msgstr "" + #. module: base_revision #: model:ir.model.constraint,message:base_revision.constraint_base_revision_revision_unique msgid "Reference and revision must be unique." diff --git a/base_revision/i18n/es.po b/base_revision/i18n/es.po index 46fc5d2..af9b642 100644 --- a/base_revision/i18n/es.po +++ b/base_revision/i18n/es.po @@ -6,15 +6,16 @@ msgid "" msgstr "" "Project-Id-Version: Odoo Server 14.0\n" "Report-Msgid-Bugs-To: \n" -"PO-Revision-Date: 2021-03-16 11:46+0000\n" +"POT-Creation-Date: 2022-02-23 09:21+0000\n" +"PO-Revision-Date: 2022-02-23 10:22+0100\n" "Last-Translator: Ana Suárez \n" "Language-Team: none\n" "Language: es\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: \n" +"Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=2; plural=n != 1;\n" -"X-Generator: Weblate 4.3.2\n" +"X-Generator: Poedit 2.3\n" #. module: base_revision #: model:ir.model.fields,field_description:base_revision.field_base_revision__active @@ -33,7 +34,6 @@ msgstr "Nombre mostrado" #. module: base_revision #: model:ir.model,name:base_revision.model_base_revision -#, fuzzy msgid "Document Revision (abstract)" msgstr "Revisión Documento (resumen)" @@ -74,6 +74,11 @@ msgstr "Revisiones antiguas" msgid "Original Reference" msgstr "Referencia original" +#. module: base_revision +#: model:ir.model.fields,field_description:base_revision.field_base_revision__revision_count +msgid "Previous versions count" +msgstr "Nº de versiones anteriores" + #. module: base_revision #: model:ir.model.constraint,message:base_revision.constraint_base_revision_revision_unique msgid "Reference and revision must be unique." diff --git a/base_revision/models/base_revision.py b/base_revision/models/base_revision.py index 2ed9fc3..9202219 100644 --- a/base_revision/models/base_revision.py +++ b/base_revision/models/base_revision.py @@ -38,6 +38,22 @@ class BaseRevision(models.AbstractModel): ) active = fields.Boolean(default=True) has_old_revisions = fields.Boolean(compute="_compute_has_old_revisions") + revision_count = fields.Integer( + compute="_compute_revision_count", string="Previous versions count" + ) + + @api.depends("old_revision_ids") + def _compute_revision_count(self): + res = self.with_context(active_test=False).read_group( + domain=[("current_revision_id", "in", self.ids)], + fields=["current_revision_id"], + groupby=["current_revision_id"], + ) + revision_dict = { + x["current_revision_id"][0]: x["current_revision_id_count"] for x in res + } + for rec in self: + rec.revision_count = revision_dict.get(rec.id, 0) _sql_constraints = [ ( @@ -67,6 +83,9 @@ class BaseRevision(models.AbstractModel): "old_revision_ids": [(4, self.id, False)], } + def _prepare_revision_data(self, new_revision): + return {"active": False, "current_revision_id": new_revision.id} + def copy_revision_with_context(self): default_data = self.default_get([]) new_rev_number = self.revision_number + 1 @@ -74,9 +93,7 @@ class BaseRevision(models.AbstractModel): default_data.update(vals) new_revision = self.copy(default_data) self.old_revision_ids.write({"current_revision_id": new_revision.id}) - self.write( - {"active": False, "state": "cancel", "current_revision_id": new_revision.id} - ) + self.write(self._prepare_revision_data(new_revision)) return new_revision @api.model diff --git a/base_search_custom_field_filter/__manifest__.py b/base_search_custom_field_filter/__manifest__.py index c23700c..e7ee6d7 100644 --- a/base_search_custom_field_filter/__manifest__.py +++ b/base_search_custom_field_filter/__manifest__.py @@ -3,14 +3,13 @@ # License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl.html). { "name": "Add custom filters for fields via UI", - "version": "2.0.1.0.0", + "version": "2.0.1.1.0", "category": "Usability", "website": "https://gitlab.com/flectra-community/server-ux", "author": "Tecnativa, Odoo Community Association (OCA)", "demo": ["demo/demo_ir_ui_custom_field_filter.xml"], "data": [ "security/ir.model.access.csv", - "templates/assets.xml", "views/ir_ui_custom_field_filter_views.xml", ], "depends": ["web"], diff --git a/base_search_custom_field_filter/i18n/it.po b/base_search_custom_field_filter/i18n/it.po index a7a4ee0..dc3fd77 100644 --- a/base_search_custom_field_filter/i18n/it.po +++ b/base_search_custom_field_filter/i18n/it.po @@ -6,95 +6,97 @@ msgid "" msgstr "" "Project-Id-Version: Odoo Server 14.0\n" "Report-Msgid-Bugs-To: \n" -"Last-Translator: Automatically generated\n" +"PO-Revision-Date: 2022-03-17 17:17+0000\n" +"Last-Translator: Francesco Foresti \n" "Language-Team: none\n" "Language: it\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: \n" "Plural-Forms: nplurals=2; plural=n != 1;\n" +"X-Generator: Weblate 4.3.2\n" #. module: base_search_custom_field_filter #: model:ir.model,name:base_search_custom_field_filter.model_base msgid "Base" -msgstr "" +msgstr "Base" #. module: base_search_custom_field_filter #: model:ir.model.fields,field_description:base_search_custom_field_filter.field_ir_ui_custom_field_filter__create_uid msgid "Created by" -msgstr "" +msgstr "Creato da" #. module: base_search_custom_field_filter #: model:ir.model.fields,field_description:base_search_custom_field_filter.field_ir_ui_custom_field_filter__create_date msgid "Created on" -msgstr "" +msgstr "Creato il" #. module: base_search_custom_field_filter #: model:ir.actions.act_window,name:base_search_custom_field_filter.action_ir_ui_custom_field_filter #: model:ir.ui.menu,name:base_search_custom_field_filter.menu_ir_ui_custom_field_filter msgid "Custom Field Filters" -msgstr "" +msgstr "Filtri Campi Personalizzati" #. module: base_search_custom_field_filter #: model:ir.model,name:base_search_custom_field_filter.model_ir_ui_custom_field_filter msgid "Custom UI field filter" -msgstr "" +msgstr "Filtro Campo UI personalizzato" #. module: base_search_custom_field_filter #: model:ir.model.fields,field_description:base_search_custom_field_filter.field_ir_ui_custom_field_filter__display_name msgid "Display Name" -msgstr "" +msgstr "Nome Visualizzato" #. module: base_search_custom_field_filter #: model:ir.model.fields,field_description:base_search_custom_field_filter.field_ir_ui_custom_field_filter__expression msgid "Expression" -msgstr "" +msgstr "Espressione" #. module: base_search_custom_field_filter #: model:ir.model.fields,field_description:base_search_custom_field_filter.field_ir_ui_custom_field_filter__id msgid "ID" -msgstr "" +msgstr "ID" #. module: base_search_custom_field_filter #: code:addons/base_search_custom_field_filter/models/ir_ui_custom_field_filter.py:0 #, python-format msgid "Incorrect expression." -msgstr "" +msgstr "Espressione non corretta." #. module: base_search_custom_field_filter #: model:ir.ui.custom.field.filter,name:base_search_custom_field_filter.custom_field_filter_demo msgid "Language" -msgstr "" +msgstr "Lingua" #. module: base_search_custom_field_filter #: model:ir.model.fields,field_description:base_search_custom_field_filter.field_ir_ui_custom_field_filter____last_update msgid "Last Modified on" -msgstr "" +msgstr "Ultima modifica il" #. module: base_search_custom_field_filter #: model:ir.model.fields,field_description:base_search_custom_field_filter.field_ir_ui_custom_field_filter__write_uid msgid "Last Updated by" -msgstr "" +msgstr "Ultimo aggiornamento di" #. module: base_search_custom_field_filter #: model:ir.model.fields,field_description:base_search_custom_field_filter.field_ir_ui_custom_field_filter__write_date msgid "Last Updated on" -msgstr "" +msgstr "Ultimo aggiornamento il" #. module: base_search_custom_field_filter #: model:ir.model.fields,field_description:base_search_custom_field_filter.field_ir_ui_custom_field_filter__model_id msgid "Model" -msgstr "" +msgstr "Modello" #. module: base_search_custom_field_filter #: model:ir.model.fields,field_description:base_search_custom_field_filter.field_ir_ui_custom_field_filter__model_name msgid "Model name" -msgstr "" +msgstr "Nome modello" #. module: base_search_custom_field_filter #: model:ir.model.fields,field_description:base_search_custom_field_filter.field_ir_ui_custom_field_filter__name msgid "Name" -msgstr "" +msgstr "Nome" #. module: base_search_custom_field_filter #: model:ir.model.fields,help:base_search_custom_field_filter.field_ir_ui_custom_field_filter__position_after @@ -102,13 +104,15 @@ msgid "" "Optional field name for putting the filter after that one. If empty or not " "found, it will be put at the end." msgstr "" +"Nome del campo opzionale per inserire il filtro dopo di esso. Se vuoto o non " +"trovato, verrà posizionato alla fine." #. module: base_search_custom_field_filter #: model:ir.model.fields,field_description:base_search_custom_field_filter.field_ir_ui_custom_field_filter__position_after msgid "Position After" -msgstr "" +msgstr "Posiziona dopo" #. module: base_search_custom_field_filter #: model:ir.model.fields,field_description:base_search_custom_field_filter.field_ir_ui_custom_field_filter__sequence msgid "Sequence" -msgstr "" +msgstr "Sequenza" diff --git a/base_search_custom_field_filter/models/base.py b/base_search_custom_field_filter/models/base.py index dec0316..1609033 100644 --- a/base_search_custom_field_filter/models/base.py +++ b/base_search_custom_field_filter/models/base.py @@ -22,11 +22,7 @@ class Base(models.AbstractModel): if node: elem = etree.Element( "field", - { - "name": "ir_ui_custom_filter_%s" % custom_filter.id, - "string": custom_filter.name, - "custom_field_filter": custom_filter.expression, - }, + {"name": custom_filter.expression, "string": custom_filter.name}, ) node[0].addnext(elem) res["arch"] = etree.tostring(arch) diff --git a/base_search_custom_field_filter/static/src/js/search_bar_autocomplete_sources.js b/base_search_custom_field_filter/static/src/js/search_bar_autocomplete_sources.js deleted file mode 100644 index d131bcf..0000000 --- a/base_search_custom_field_filter/static/src/js/search_bar_autocomplete_sources.js +++ /dev/null @@ -1,21 +0,0 @@ -flectra.define("base_search_custom_field_filter.search_inputs_related_field", function ( - require -) { - "use strict"; - - var search_bar = require("web.SearchBarAutoCompleteSources"); - - search_bar.Field.include({ - _makeDomain: function (name, operator, facet) { - var name_n = this.attrs.custom_field_filter || name; - return this._super(name_n, operator, facet); - }, - }); - - search_bar.ManyToOneField.include({ - _makeDomain: function (name, operator, facet) { - var name_n = this.attrs.custom_field_filter || name; - return this._super(name_n, operator, facet); - }, - }); -}); diff --git a/base_search_custom_field_filter/templates/assets.xml b/base_search_custom_field_filter/templates/assets.xml deleted file mode 100644 index 021804d..0000000 --- a/base_search_custom_field_filter/templates/assets.xml +++ /dev/null @@ -1,10 +0,0 @@ - - -