Automatic Update form OCA2FC Migrator

This commit is contained in:
Flectra Community Bot 2022-06-29 20:32:21 +02:00 committed by Renzo Meister
parent f0e9a6f1de
commit 9b2b71a5f2
56 changed files with 3028 additions and 1296 deletions

View File

@ -36,18 +36,21 @@ 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/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.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/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/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/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/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/mis-builder.git ~/others/mis-builder" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/mis-builder.git ~/others/mis-builder"
- 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/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/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/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/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/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/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/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-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-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/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/server-ux.git ~/others/server-ux" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/server-ux.git ~/others/server-ux"
@ -69,26 +72,26 @@ test_all_modules:
- mv ${CI_PROJECT_DIR}/ci_data/filestore /opt/flectra/.local/share/filestore/test_all - 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 - chown -R flectra.flectra /opt/flectra/.local/share/filestore/test_all
- su - flectra -c "/opt/flectra/flectra-bin - 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/mis-builder,~/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/server-ux,~/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/mis-builder,~/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/server-ux,~/others/social,~/others/stock-logistics-transport,~/others/stock-logistics-warehouse,~/others/stock-logistics-workflow,~/others/storage,~/others/web,~/others/wms
--db_host psql --db_host psql
--db_port 5432 --db_port 5432
--db_user flectra --db_user flectra
--db_password flectra --db_password flectra
--database test_all --database test_all
--test-enable --test-enable
--init mis_template_financial_report,account_move_line_report_xls,account_tax_balance,account_financial_report,mis_builder_cash_flow,partner_statement --init account_financial_report,account_move_line_report_xls,account_tax_balance,mis_template_financial_report,mis_builder_cash_flow,partner_statement
--stop-after-init --stop-after-init
--log-level error --log-level error
--log-handler flectra.addons.mis_template_financial_report:TEST --log-handler flectra.addons.account_financial_report:TEST
--log-handler flectra.addons.account_move_line_report_xls:TEST --log-handler flectra.addons.account_move_line_report_xls:TEST
--log-handler flectra.addons.account_tax_balance:TEST --log-handler flectra.addons.account_tax_balance:TEST
--log-handler flectra.addons.account_financial_report:TEST --log-handler flectra.addons.mis_template_financial_report:TEST
--log-handler flectra.addons.mis_builder_cash_flow:TEST --log-handler flectra.addons.mis_builder_cash_flow:TEST
--log-handler flectra.addons.partner_statement:TEST --log-handler flectra.addons.partner_statement:TEST
" "
test_module_mis_template_financial_report: test_module_account_financial_report:
stage: testsingle stage: testsingle
when: on_failure when: on_failure
image: image:
@ -109,18 +112,21 @@ test_module_mis_template_financial_report:
- 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/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.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/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/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/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/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/mis-builder.git ~/others/mis-builder" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/mis-builder.git ~/others/mis-builder"
- 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/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/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/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/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/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/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/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-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-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/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/server-ux.git ~/others/server-ux" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/server-ux.git ~/others/server-ux"
@ -136,22 +142,22 @@ test_module_mis_template_financial_report:
- wget -O ${CI_PROJECT_DIR}/ci_data/test_base.zip https://gitlab.com/flectra-community/devops/oca2fc/raw/master/ci_data/test_base.zip - wget -O ${CI_PROJECT_DIR}/ci_data/test_base.zip https://gitlab.com/flectra-community/devops/oca2fc/raw/master/ci_data/test_base.zip
- 7z x -o ${CI_PROJECT_DIR}/ci_data/ ${CI_PROJECT_DIR}/ci_data/test_base.zip - 7z x -o ${CI_PROJECT_DIR}/ci_data/ ${CI_PROJECT_DIR}/ci_data/test_base.zip
- export PGPASSWORD="flectra" - export PGPASSWORD="flectra"
- createdb -h psql -U flectra -O flectra -T template1 test_mis_template_financial_report - createdb -h psql -U flectra -O flectra -T template1 test_account_financial_report
- psql -h psql -U flectra -d test_mis_template_financial_report -f ${CI_PROJECT_DIR}/ci_data/dump.sql - psql -h psql -U flectra -d test_account_financial_report -f ${CI_PROJECT_DIR}/ci_data/dump.sql
- su - flectra -c "mkdir -p ~/.local/share/filestore" - su - flectra -c "mkdir -p ~/.local/share/filestore"
- mv ${CI_PROJECT_DIR}/ci_data/filestore /opt/flectra/.local/share/filestore/test_mis_template_financial_report - mv ${CI_PROJECT_DIR}/ci_data/filestore /opt/flectra/.local/share/filestore/test_account_financial_report
- chown -R flectra.flectra /opt/flectra/.local/share/filestore/test_mis_template_financial_report - chown -R flectra.flectra /opt/flectra/.local/share/filestore/test_account_financial_report
- su - flectra -c "/opt/flectra/flectra-bin - 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/mis-builder,~/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/server-ux,~/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/mis-builder,~/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/server-ux,~/others/social,~/others/stock-logistics-transport,~/others/stock-logistics-warehouse,~/others/stock-logistics-workflow,~/others/storage,~/others/web,~/others/wms
--db_host psql --db_host psql
--db_port 5432 --db_port 5432
--db_user flectra --db_user flectra
--db_password flectra --db_password flectra
--database test_mis_template_financial_report --database test_account_financial_report
--test-enable -i mis_template_financial_report --test-enable -i account_financial_report
--stop-after-init --stop-after-init
--log-level error --log-level error
--log-handler flectra.addons.mis_template_financial_report:TEST" --log-handler flectra.addons.account_financial_report:TEST"
test_module_account_move_line_report_xls: test_module_account_move_line_report_xls:
stage: testsingle stage: testsingle
@ -174,18 +180,21 @@ test_module_account_move_line_report_xls:
- 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/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.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/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/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/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/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/mis-builder.git ~/others/mis-builder" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/mis-builder.git ~/others/mis-builder"
- 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/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/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/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/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/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/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/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-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-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/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/server-ux.git ~/others/server-ux" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/server-ux.git ~/others/server-ux"
@ -207,7 +216,7 @@ test_module_account_move_line_report_xls:
- mv ${CI_PROJECT_DIR}/ci_data/filestore /opt/flectra/.local/share/filestore/test_account_move_line_report_xls - mv ${CI_PROJECT_DIR}/ci_data/filestore /opt/flectra/.local/share/filestore/test_account_move_line_report_xls
- chown -R flectra.flectra /opt/flectra/.local/share/filestore/test_account_move_line_report_xls - chown -R flectra.flectra /opt/flectra/.local/share/filestore/test_account_move_line_report_xls
- su - flectra -c "/opt/flectra/flectra-bin - 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/mis-builder,~/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/server-ux,~/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/mis-builder,~/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/server-ux,~/others/social,~/others/stock-logistics-transport,~/others/stock-logistics-warehouse,~/others/stock-logistics-workflow,~/others/storage,~/others/web,~/others/wms
--db_host psql --db_host psql
--db_port 5432 --db_port 5432
--db_user flectra --db_user flectra
@ -239,18 +248,21 @@ test_module_account_tax_balance:
- 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/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.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/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/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/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/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/mis-builder.git ~/others/mis-builder" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/mis-builder.git ~/others/mis-builder"
- 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/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/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/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/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/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/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/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-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-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/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/server-ux.git ~/others/server-ux" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/server-ux.git ~/others/server-ux"
@ -272,7 +284,7 @@ test_module_account_tax_balance:
- mv ${CI_PROJECT_DIR}/ci_data/filestore /opt/flectra/.local/share/filestore/test_account_tax_balance - mv ${CI_PROJECT_DIR}/ci_data/filestore /opt/flectra/.local/share/filestore/test_account_tax_balance
- chown -R flectra.flectra /opt/flectra/.local/share/filestore/test_account_tax_balance - chown -R flectra.flectra /opt/flectra/.local/share/filestore/test_account_tax_balance
- su - flectra -c "/opt/flectra/flectra-bin - 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/mis-builder,~/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/server-ux,~/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/mis-builder,~/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/server-ux,~/others/social,~/others/stock-logistics-transport,~/others/stock-logistics-warehouse,~/others/stock-logistics-workflow,~/others/storage,~/others/web,~/others/wms
--db_host psql --db_host psql
--db_port 5432 --db_port 5432
--db_user flectra --db_user flectra
@ -283,7 +295,7 @@ test_module_account_tax_balance:
--log-level error --log-level error
--log-handler flectra.addons.account_tax_balance:TEST" --log-handler flectra.addons.account_tax_balance:TEST"
test_module_account_financial_report: test_module_mis_template_financial_report:
stage: testsingle stage: testsingle
when: on_failure when: on_failure
image: image:
@ -304,18 +316,21 @@ test_module_account_financial_report:
- 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/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.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/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/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/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/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/mis-builder.git ~/others/mis-builder" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/mis-builder.git ~/others/mis-builder"
- 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/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/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/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/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/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/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/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-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-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/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/server-ux.git ~/others/server-ux" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/server-ux.git ~/others/server-ux"
@ -331,22 +346,22 @@ test_module_account_financial_report:
- wget -O ${CI_PROJECT_DIR}/ci_data/test_base.zip https://gitlab.com/flectra-community/devops/oca2fc/raw/master/ci_data/test_base.zip - wget -O ${CI_PROJECT_DIR}/ci_data/test_base.zip https://gitlab.com/flectra-community/devops/oca2fc/raw/master/ci_data/test_base.zip
- 7z x -o ${CI_PROJECT_DIR}/ci_data/ ${CI_PROJECT_DIR}/ci_data/test_base.zip - 7z x -o ${CI_PROJECT_DIR}/ci_data/ ${CI_PROJECT_DIR}/ci_data/test_base.zip
- export PGPASSWORD="flectra" - export PGPASSWORD="flectra"
- createdb -h psql -U flectra -O flectra -T template1 test_account_financial_report - createdb -h psql -U flectra -O flectra -T template1 test_mis_template_financial_report
- psql -h psql -U flectra -d test_account_financial_report -f ${CI_PROJECT_DIR}/ci_data/dump.sql - psql -h psql -U flectra -d test_mis_template_financial_report -f ${CI_PROJECT_DIR}/ci_data/dump.sql
- su - flectra -c "mkdir -p ~/.local/share/filestore" - su - flectra -c "mkdir -p ~/.local/share/filestore"
- mv ${CI_PROJECT_DIR}/ci_data/filestore /opt/flectra/.local/share/filestore/test_account_financial_report - mv ${CI_PROJECT_DIR}/ci_data/filestore /opt/flectra/.local/share/filestore/test_mis_template_financial_report
- chown -R flectra.flectra /opt/flectra/.local/share/filestore/test_account_financial_report - chown -R flectra.flectra /opt/flectra/.local/share/filestore/test_mis_template_financial_report
- su - flectra -c "/opt/flectra/flectra-bin - 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/mis-builder,~/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/server-ux,~/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/mis-builder,~/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/server-ux,~/others/social,~/others/stock-logistics-transport,~/others/stock-logistics-warehouse,~/others/stock-logistics-workflow,~/others/storage,~/others/web,~/others/wms
--db_host psql --db_host psql
--db_port 5432 --db_port 5432
--db_user flectra --db_user flectra
--db_password flectra --db_password flectra
--database test_account_financial_report --database test_mis_template_financial_report
--test-enable -i account_financial_report --test-enable -i mis_template_financial_report
--stop-after-init --stop-after-init
--log-level error --log-level error
--log-handler flectra.addons.account_financial_report:TEST" --log-handler flectra.addons.mis_template_financial_report:TEST"
test_module_mis_builder_cash_flow: test_module_mis_builder_cash_flow:
stage: testsingle stage: testsingle
@ -369,18 +384,21 @@ test_module_mis_builder_cash_flow:
- 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/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.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/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/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/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/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/mis-builder.git ~/others/mis-builder" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/mis-builder.git ~/others/mis-builder"
- 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/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/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/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/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/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/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/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-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-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/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/server-ux.git ~/others/server-ux" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/server-ux.git ~/others/server-ux"
@ -402,7 +420,7 @@ test_module_mis_builder_cash_flow:
- mv ${CI_PROJECT_DIR}/ci_data/filestore /opt/flectra/.local/share/filestore/test_mis_builder_cash_flow - mv ${CI_PROJECT_DIR}/ci_data/filestore /opt/flectra/.local/share/filestore/test_mis_builder_cash_flow
- chown -R flectra.flectra /opt/flectra/.local/share/filestore/test_mis_builder_cash_flow - chown -R flectra.flectra /opt/flectra/.local/share/filestore/test_mis_builder_cash_flow
- su - flectra -c "/opt/flectra/flectra-bin - 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/mis-builder,~/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/server-ux,~/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/mis-builder,~/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/server-ux,~/others/social,~/others/stock-logistics-transport,~/others/stock-logistics-warehouse,~/others/stock-logistics-workflow,~/others/storage,~/others/web,~/others/wms
--db_host psql --db_host psql
--db_port 5432 --db_port 5432
--db_user flectra --db_user flectra
@ -434,18 +452,21 @@ test_module_partner_statement:
- 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/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.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/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/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/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/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/mis-builder.git ~/others/mis-builder" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/mis-builder.git ~/others/mis-builder"
- 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/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/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/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/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/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/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/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-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-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/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/server-ux.git ~/others/server-ux" - su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/server-ux.git ~/others/server-ux"
@ -467,7 +488,7 @@ test_module_partner_statement:
- mv ${CI_PROJECT_DIR}/ci_data/filestore /opt/flectra/.local/share/filestore/test_partner_statement - mv ${CI_PROJECT_DIR}/ci_data/filestore /opt/flectra/.local/share/filestore/test_partner_statement
- chown -R flectra.flectra /opt/flectra/.local/share/filestore/test_partner_statement - chown -R flectra.flectra /opt/flectra/.local/share/filestore/test_partner_statement
- su - flectra -c "/opt/flectra/flectra-bin - 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/mis-builder,~/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/server-ux,~/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/mis-builder,~/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/server-ux,~/others/social,~/others/stock-logistics-transport,~/others/stock-logistics-warehouse,~/others/stock-logistics-workflow,~/others/storage,~/others/web,~/others/wms
--db_host psql --db_host psql
--db_port 5432 --db_port 5432
--db_user flectra --db_user flectra

View File

@ -9,11 +9,11 @@ Available addons
addon | version | summary addon | version | summary
--- | --- | --- --- | --- | ---
[mis_template_financial_report](mis_template_financial_report/) | 2.0.1.0.0| Profit & Loss / Balance sheet MIS templates [account_financial_report](account_financial_report/) | 2.0.2.4.0| OCA Financial Reports
[account_move_line_report_xls](account_move_line_report_xls/) | 2.0.1.0.1| Journal Items Excel export [account_move_line_report_xls](account_move_line_report_xls/) | 2.0.1.0.1| Journal Items Excel export
[account_tax_balance](account_tax_balance/) | 2.0.1.2.4| Compute tax balances based on date range [account_tax_balance](account_tax_balance/) | 2.0.1.2.5| Compute tax balances based on date range
[account_financial_report](account_financial_report/) | 2.0.2.0.0| OCA Financial Reports [mis_template_financial_report](mis_template_financial_report/) | 2.0.1.0.0| Profit & Loss / Balance sheet MIS templates
[mis_builder_cash_flow](mis_builder_cash_flow/) | 2.0.1.0.0| MIS Builder Cash Flow [mis_builder_cash_flow](mis_builder_cash_flow/) | 2.0.1.0.0| MIS Builder Cash Flow
[partner_statement](partner_statement/) | 2.0.1.1.0| OCA Financial Reports [partner_statement](partner_statement/) | 2.0.1.2.0| OCA Financial Reports

View File

@ -17,7 +17,6 @@ Most of the files are
Copyright 2021 Simone Rubino - Agile Business Group Copyright 2021 Simone Rubino - Agile Business Group
Copyright 2021 Tecnativa - João Marques Copyright 2021 Tecnativa - João Marques
© 2016 Damien Crier (Camptocamp) © 2016 Damien Crier (Camptocamp)
© 2016 Julien Coux (Camptocamp)
© 2018 Forest and Biomass Romania SA © 2018 Forest and Biomass Romania SA
Copyright 2018 Flectra Community Copyright 2018 Flectra Community

View File

@ -137,6 +137,8 @@ Contributors
* Valentin Vinagre * Valentin Vinagre
* Lois Rilo <lois.rilo@forgeflow.com> * Lois Rilo <lois.rilo@forgeflow.com>
* Saran Lim. <saranl@ecosoft.co.th>
* Omar Castiñeira <omar@comunitea.com>
Much of the work in this module was done at a sprint in Sorrento, Italy in Much of the work in this module was done at a sprint in Sorrento, Italy in
April 2016. April 2016.

View File

@ -6,7 +6,7 @@
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html). # License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html).
{ {
"name": "Account Financial Reports", "name": "Account Financial Reports",
"version": "2.0.2.0.0", "version": "2.0.2.4.0",
"category": "Reporting", "category": "Reporting",
"summary": "OCA Financial Reports", "summary": "OCA Financial Reports",
"author": "Camptocamp SA," "author": "Camptocamp SA,"

View File

@ -376,11 +376,6 @@ msgstr ""
msgid "Centralized" msgid "Centralized"
msgstr "" msgstr ""
#. module: account_financial_report
#: model:ir.model.fields.selection,name:account_financial_report.selection__trial_balance_report_wizard__hierarchy_on__relation
msgid "Child Accounts"
msgstr ""
#. module: account_financial_report #. module: account_financial_report
#: model:ir.model.fields,field_description:account_financial_report.field_account_group__group_child_ids #: model:ir.model.fields,field_description:account_financial_report.field_account_group__group_child_ids
msgid "Child Groups" msgid "Child Groups"
@ -413,23 +408,6 @@ msgstr ""
msgid "Compute accounts" msgid "Compute accounts"
msgstr "" msgstr ""
#. module: account_financial_report
#: model:ir.model.fields.selection,name:account_financial_report.selection__trial_balance_report_wizard__hierarchy_on__computed
msgid "Computed Accounts"
msgstr ""
#. module: account_financial_report
#: model:ir.model.fields,help:account_financial_report.field_trial_balance_report_wizard__hierarchy_on
msgid ""
"Computed Accounts: Use when the account group have codes\n"
" that represent prefixes of the actual accounts.\n"
"\n"
" Child Accounts: Use when your account groups are hierarchical.\n"
"\n"
" No hierarchy: Use to display just the accounts, without any grouping.\n"
" "
msgstr ""
#. module: account_financial_report #. module: account_financial_report
#: model:ir.model.fields,field_description:account_financial_report.field_aged_partner_balance_report_wizard__create_uid #: model:ir.model.fields,field_description:account_financial_report.field_aged_partner_balance_report_wizard__create_uid
#: model:ir.model.fields,field_description:account_financial_report.field_general_ledger_report_wizard__create_uid #: model:ir.model.fields,field_description:account_financial_report.field_general_ledger_report_wizard__create_uid
@ -934,11 +912,6 @@ msgstr ""
msgid "Hierarchy Levels to display" msgid "Hierarchy Levels to display"
msgstr "" msgstr ""
#. module: account_financial_report
#: model:ir.model.fields,field_description:account_financial_report.field_trial_balance_report_wizard__hierarchy_on
msgid "Hierarchy On"
msgstr ""
#. module: account_financial_report #. module: account_financial_report
#: model:ir.model.fields,field_description:account_financial_report.field_account_account__id #: model:ir.model.fields,field_description:account_financial_report.field_account_account__id
#: model:ir.model.fields,field_description:account_financial_report.field_account_financial_report_abstract_wizard__id #: model:ir.model.fields,field_description:account_financial_report.field_account_financial_report_abstract_wizard__id
@ -1178,11 +1151,6 @@ msgstr ""
msgid "No group" msgid "No group"
msgstr "" msgstr ""
#. module: account_financial_report
#: model:ir.model.fields.selection,name:account_financial_report.selection__trial_balance_report_wizard__hierarchy_on__none
msgid "No hierarchy"
msgstr ""
#. module: account_financial_report #. module: account_financial_report
#: code:addons/account_financial_report/report/trial_balance_xlsx.py:0 #: code:addons/account_financial_report/report/trial_balance_xlsx.py:0
#: model_terms:ir.ui.view,arch_db:account_financial_report.report_trial_balance_filters #: model_terms:ir.ui.view,arch_db:account_financial_report.report_trial_balance_filters
@ -1472,6 +1440,11 @@ msgstr ""
msgid "Show foreign currency" msgid "Show foreign currency"
msgstr "" msgstr ""
#. module: account_financial_report
#: model:ir.model.fields,field_description:account_financial_report.field_trial_balance_report_wizard__show_hierarchy
msgid "Show hierarchy"
msgstr ""
#. module: account_financial_report #. module: account_financial_report
#: model:ir.model.fields,field_description:account_financial_report.field_journal_ledger_report_wizard__sort_option #: model:ir.model.fields,field_description:account_financial_report.field_journal_ledger_report_wizard__sort_option
msgid "Sort entries by" msgid "Sort entries by"
@ -1685,6 +1658,11 @@ msgid ""
"trial balance." "trial balance."
msgstr "" msgstr ""
#. module: account_financial_report
#: model:ir.model.fields,help:account_financial_report.field_trial_balance_report_wizard__show_hierarchy
msgid "Use when your account groups are hierarchical"
msgstr ""
#. module: account_financial_report #. module: account_financial_report
#: model:ir.actions.act_window,name:account_financial_report.action_vat_report_wizard #: model:ir.actions.act_window,name:account_financial_report.action_vat_report_wizard
#: model:ir.actions.report,name:account_financial_report.action_print_report_vat_report_html #: model:ir.actions.report,name:account_financial_report.action_print_report_vat_report_html

View File

@ -380,11 +380,6 @@ msgstr "تجميع القيود"
msgid "Centralized" msgid "Centralized"
msgstr "مجمّع" msgstr "مجمّع"
#. module: account_financial_report
#: model:ir.model.fields.selection,name:account_financial_report.selection__trial_balance_report_wizard__hierarchy_on__relation
msgid "Child Accounts"
msgstr "حسابات فرعية"
#. module: account_financial_report #. module: account_financial_report
#: model:ir.model.fields,field_description:account_financial_report.field_account_group__group_child_ids #: model:ir.model.fields,field_description:account_financial_report.field_account_group__group_child_ids
msgid "Child Groups" msgid "Child Groups"
@ -418,24 +413,6 @@ msgstr "المؤسسة"
msgid "Compute accounts" msgid "Compute accounts"
msgstr "حسابات محسوبة" msgstr "حسابات محسوبة"
#. module: account_financial_report
#: model:ir.model.fields.selection,name:account_financial_report.selection__trial_balance_report_wizard__hierarchy_on__computed
msgid "Computed Accounts"
msgstr "حسابات محسوبة"
#. module: account_financial_report
#: model:ir.model.fields,help:account_financial_report.field_trial_balance_report_wizard__hierarchy_on
msgid ""
"Computed Accounts: Use when the account group have codes\n"
" that represent prefixes of the actual accounts.\n"
"\n"
" Child Accounts: Use when your account groups are hierarchical.\n"
"\n"
" No hierarchy: Use to display just the accounts, without any "
"grouping.\n"
" "
msgstr ""
#. module: account_financial_report #. module: account_financial_report
#: model:ir.model.fields,field_description:account_financial_report.field_aged_partner_balance_report_wizard__create_uid #: model:ir.model.fields,field_description:account_financial_report.field_aged_partner_balance_report_wizard__create_uid
#: model:ir.model.fields,field_description:account_financial_report.field_general_ledger_report_wizard__create_uid #: model:ir.model.fields,field_description:account_financial_report.field_general_ledger_report_wizard__create_uid
@ -944,11 +921,6 @@ msgstr "تجاهل الحسابات برصيد صفر"
msgid "Hierarchy Levels to display" msgid "Hierarchy Levels to display"
msgstr "" msgstr ""
#. module: account_financial_report
#: model:ir.model.fields,field_description:account_financial_report.field_trial_balance_report_wizard__hierarchy_on
msgid "Hierarchy On"
msgstr "الشجرة مبنية على"
#. module: account_financial_report #. module: account_financial_report
#: model:ir.model.fields,field_description:account_financial_report.field_account_account__id #: model:ir.model.fields,field_description:account_financial_report.field_account_account__id
#: model:ir.model.fields,field_description:account_financial_report.field_account_financial_report_abstract_wizard__id #: model:ir.model.fields,field_description:account_financial_report.field_account_financial_report_abstract_wizard__id
@ -1188,12 +1160,6 @@ msgstr "لا"
msgid "No group" msgid "No group"
msgstr "بدون تجميع" msgstr "بدون تجميع"
#. module: account_financial_report
#: model:ir.model.fields.selection,name:account_financial_report.selection__trial_balance_report_wizard__hierarchy_on__none
#, fuzzy
msgid "No hierarchy"
msgstr "الشجرة مبنية على"
#. module: account_financial_report #. module: account_financial_report
#: code:addons/account_financial_report/report/trial_balance_xlsx.py:0 #: code:addons/account_financial_report/report/trial_balance_xlsx.py:0
#: model_terms:ir.ui.view,arch_db:account_financial_report.report_trial_balance_filters #: model_terms:ir.ui.view,arch_db:account_financial_report.report_trial_balance_filters
@ -1483,6 +1449,11 @@ msgstr ""
msgid "Show foreign currency" msgid "Show foreign currency"
msgstr "" msgstr ""
#. module: account_financial_report
#: model:ir.model.fields,field_description:account_financial_report.field_trial_balance_report_wizard__show_hierarchy
msgid "Show hierarchy"
msgstr ""
#. module: account_financial_report #. module: account_financial_report
#: model:ir.model.fields,field_description:account_financial_report.field_journal_ledger_report_wizard__sort_option #: model:ir.model.fields,field_description:account_financial_report.field_journal_ledger_report_wizard__sort_option
msgid "Sort entries by" msgid "Sort entries by"
@ -1699,6 +1670,11 @@ msgid ""
"balance." "balance."
msgstr "" msgstr ""
#. module: account_financial_report
#: model:ir.model.fields,help:account_financial_report.field_trial_balance_report_wizard__show_hierarchy
msgid "Use when your account groups are hierarchical"
msgstr ""
#. module: account_financial_report #. module: account_financial_report
#: model:ir.actions.act_window,name:account_financial_report.action_vat_report_wizard #: model:ir.actions.act_window,name:account_financial_report.action_vat_report_wizard
#: model:ir.actions.report,name:account_financial_report.action_print_report_vat_report_html #: model:ir.actions.report,name:account_financial_report.action_print_report_vat_report_html
@ -1830,6 +1806,19 @@ msgstr ""
msgid "width: 8.11%;" msgid "width: 8.11%;"
msgstr "" msgstr ""
#~ msgid "Child Accounts"
#~ msgstr "حسابات فرعية"
#~ msgid "Computed Accounts"
#~ msgstr "حسابات محسوبة"
#~ msgid "Hierarchy On"
#~ msgstr "الشجرة مبنية على"
#, fuzzy
#~ msgid "No hierarchy"
#~ msgstr "الشجرة مبنية على"
#~ msgid "<span class=\"fa fa-download\"/> Export" #~ msgid "<span class=\"fa fa-download\"/> Export"
#~ msgstr "<span class=\"fa fa-download\"/> ‫تصدير" #~ msgstr "<span class=\"fa fa-download\"/> ‫تصدير"

View File

@ -390,11 +390,6 @@ msgstr ""
msgid "Centralized" msgid "Centralized"
msgstr "" msgstr ""
#. module: account_financial_report
#: model:ir.model.fields.selection,name:account_financial_report.selection__trial_balance_report_wizard__hierarchy_on__relation
msgid "Child Accounts"
msgstr ""
#. module: account_financial_report #. module: account_financial_report
#: model:ir.model.fields,field_description:account_financial_report.field_account_group__group_child_ids #: model:ir.model.fields,field_description:account_financial_report.field_account_group__group_child_ids
msgid "Child Groups" msgid "Child Groups"
@ -427,24 +422,6 @@ msgstr "Empresa "
msgid "Compute accounts" msgid "Compute accounts"
msgstr "" msgstr ""
#. module: account_financial_report
#: model:ir.model.fields.selection,name:account_financial_report.selection__trial_balance_report_wizard__hierarchy_on__computed
msgid "Computed Accounts"
msgstr ""
#. module: account_financial_report
#: model:ir.model.fields,help:account_financial_report.field_trial_balance_report_wizard__hierarchy_on
msgid ""
"Computed Accounts: Use when the account group have codes\n"
" that represent prefixes of the actual accounts.\n"
"\n"
" Child Accounts: Use when your account groups are hierarchical.\n"
"\n"
" No hierarchy: Use to display just the accounts, without any "
"grouping.\n"
" "
msgstr ""
#. module: account_financial_report #. module: account_financial_report
#: model:ir.model.fields,field_description:account_financial_report.field_aged_partner_balance_report_wizard__create_uid #: model:ir.model.fields,field_description:account_financial_report.field_aged_partner_balance_report_wizard__create_uid
#: model:ir.model.fields,field_description:account_financial_report.field_general_ledger_report_wizard__create_uid #: model:ir.model.fields,field_description:account_financial_report.field_general_ledger_report_wizard__create_uid
@ -947,11 +924,6 @@ msgstr ""
msgid "Hierarchy Levels to display" msgid "Hierarchy Levels to display"
msgstr "" msgstr ""
#. module: account_financial_report
#: model:ir.model.fields,field_description:account_financial_report.field_trial_balance_report_wizard__hierarchy_on
msgid "Hierarchy On"
msgstr ""
#. module: account_financial_report #. module: account_financial_report
#: model:ir.model.fields,field_description:account_financial_report.field_account_account__id #: model:ir.model.fields,field_description:account_financial_report.field_account_account__id
#: model:ir.model.fields,field_description:account_financial_report.field_account_financial_report_abstract_wizard__id #: model:ir.model.fields,field_description:account_financial_report.field_account_financial_report_abstract_wizard__id
@ -1189,11 +1161,6 @@ msgstr ""
msgid "No group" msgid "No group"
msgstr "" msgstr ""
#. module: account_financial_report
#: model:ir.model.fields.selection,name:account_financial_report.selection__trial_balance_report_wizard__hierarchy_on__none
msgid "No hierarchy"
msgstr ""
#. module: account_financial_report #. module: account_financial_report
#: code:addons/account_financial_report/report/trial_balance_xlsx.py:0 #: code:addons/account_financial_report/report/trial_balance_xlsx.py:0
#: model_terms:ir.ui.view,arch_db:account_financial_report.report_trial_balance_filters #: model_terms:ir.ui.view,arch_db:account_financial_report.report_trial_balance_filters
@ -1481,6 +1448,11 @@ msgstr ""
msgid "Show foreign currency" msgid "Show foreign currency"
msgstr "" msgstr ""
#. module: account_financial_report
#: model:ir.model.fields,field_description:account_financial_report.field_trial_balance_report_wizard__show_hierarchy
msgid "Show hierarchy"
msgstr ""
#. module: account_financial_report #. module: account_financial_report
#: model:ir.model.fields,field_description:account_financial_report.field_journal_ledger_report_wizard__sort_option #: model:ir.model.fields,field_description:account_financial_report.field_journal_ledger_report_wizard__sort_option
msgid "Sort entries by" msgid "Sort entries by"
@ -1697,6 +1669,11 @@ msgid ""
"balance." "balance."
msgstr "" msgstr ""
#. module: account_financial_report
#: model:ir.model.fields,help:account_financial_report.field_trial_balance_report_wizard__show_hierarchy
msgid "Use when your account groups are hierarchical"
msgstr ""
#. module: account_financial_report #. module: account_financial_report
#: model:ir.actions.act_window,name:account_financial_report.action_vat_report_wizard #: model:ir.actions.act_window,name:account_financial_report.action_vat_report_wizard
#: model:ir.actions.report,name:account_financial_report.action_print_report_vat_report_html #: model:ir.actions.report,name:account_financial_report.action_print_report_vat_report_html

View File

@ -395,11 +395,6 @@ msgstr "Zusammenfassung Filter"
msgid "Centralized" msgid "Centralized"
msgstr "Zusammengefasst" msgstr "Zusammengefasst"
#. module: account_financial_report
#: model:ir.model.fields.selection,name:account_financial_report.selection__trial_balance_report_wizard__hierarchy_on__relation
msgid "Child Accounts"
msgstr "Unterkonto"
#. module: account_financial_report #. module: account_financial_report
#: model:ir.model.fields,field_description:account_financial_report.field_account_group__group_child_ids #: model:ir.model.fields,field_description:account_financial_report.field_account_group__group_child_ids
msgid "Child Groups" msgid "Child Groups"
@ -433,24 +428,6 @@ msgstr "Unternehmen"
msgid "Compute accounts" msgid "Compute accounts"
msgstr "Berechnete Konten" msgstr "Berechnete Konten"
#. module: account_financial_report
#: model:ir.model.fields.selection,name:account_financial_report.selection__trial_balance_report_wizard__hierarchy_on__computed
msgid "Computed Accounts"
msgstr "Berechnete Konten"
#. module: account_financial_report
#: model:ir.model.fields,help:account_financial_report.field_trial_balance_report_wizard__hierarchy_on
msgid ""
"Computed Accounts: Use when the account group have codes\n"
" that represent prefixes of the actual accounts.\n"
"\n"
" Child Accounts: Use when your account groups are hierarchical.\n"
"\n"
" No hierarchy: Use to display just the accounts, without any "
"grouping.\n"
" "
msgstr ""
#. module: account_financial_report #. module: account_financial_report
#: model:ir.model.fields,field_description:account_financial_report.field_aged_partner_balance_report_wizard__create_uid #: model:ir.model.fields,field_description:account_financial_report.field_aged_partner_balance_report_wizard__create_uid
#: model:ir.model.fields,field_description:account_financial_report.field_general_ledger_report_wizard__create_uid #: model:ir.model.fields,field_description:account_financial_report.field_general_ledger_report_wizard__create_uid
@ -963,11 +940,6 @@ msgstr "Ausgeglichene Konten ausblenden"
msgid "Hierarchy Levels to display" msgid "Hierarchy Levels to display"
msgstr "Anzuzeigende Ebenen" msgstr "Anzuzeigende Ebenen"
#. module: account_financial_report
#: model:ir.model.fields,field_description:account_financial_report.field_trial_balance_report_wizard__hierarchy_on
msgid "Hierarchy On"
msgstr "Gruppieren über"
#. module: account_financial_report #. module: account_financial_report
#: model:ir.model.fields,field_description:account_financial_report.field_account_account__id #: model:ir.model.fields,field_description:account_financial_report.field_account_account__id
#: model:ir.model.fields,field_description:account_financial_report.field_account_financial_report_abstract_wizard__id #: model:ir.model.fields,field_description:account_financial_report.field_account_financial_report_abstract_wizard__id
@ -1207,11 +1179,6 @@ msgstr "Nein"
msgid "No group" msgid "No group"
msgstr "Keine Gruppierung" msgstr "Keine Gruppierung"
#. module: account_financial_report
#: model:ir.model.fields.selection,name:account_financial_report.selection__trial_balance_report_wizard__hierarchy_on__none
msgid "No hierarchy"
msgstr "Keine Ebenen"
#. module: account_financial_report #. module: account_financial_report
#: code:addons/account_financial_report/report/trial_balance_xlsx.py:0 #: code:addons/account_financial_report/report/trial_balance_xlsx.py:0
#: model_terms:ir.ui.view,arch_db:account_financial_report.report_trial_balance_filters #: model_terms:ir.ui.view,arch_db:account_financial_report.report_trial_balance_filters
@ -1507,6 +1474,11 @@ msgstr "Kostenstichwörter anzeigen"
msgid "Show foreign currency" msgid "Show foreign currency"
msgstr "Fremdwährung anzeigen" msgstr "Fremdwährung anzeigen"
#. module: account_financial_report
#: model:ir.model.fields,field_description:account_financial_report.field_trial_balance_report_wizard__show_hierarchy
msgid "Show hierarchy"
msgstr ""
#. module: account_financial_report #. module: account_financial_report
#: model:ir.model.fields,field_description:account_financial_report.field_journal_ledger_report_wizard__sort_option #: model:ir.model.fields,field_description:account_financial_report.field_journal_ledger_report_wizard__sort_option
#, fuzzy #, fuzzy
@ -1734,6 +1706,11 @@ msgstr ""
"verbergen. Sind Partner ausgeblendet, werden Soll- und Habensummen nicht dem " "verbergen. Sind Partner ausgeblendet, werden Soll- und Habensummen nicht dem "
"Stichtagssaldo entsprechen." "Stichtagssaldo entsprechen."
#. module: account_financial_report
#: model:ir.model.fields,help:account_financial_report.field_trial_balance_report_wizard__show_hierarchy
msgid "Use when your account groups are hierarchical"
msgstr ""
#. module: account_financial_report #. module: account_financial_report
#: model:ir.actions.act_window,name:account_financial_report.action_vat_report_wizard #: model:ir.actions.act_window,name:account_financial_report.action_vat_report_wizard
#: model:ir.actions.report,name:account_financial_report.action_print_report_vat_report_html #: model:ir.actions.report,name:account_financial_report.action_print_report_vat_report_html
@ -1871,6 +1848,18 @@ msgstr "Breite: 38.92%;"
msgid "width: 8.11%;" msgid "width: 8.11%;"
msgstr "Breite: 8,11%;" msgstr "Breite: 8,11%;"
#~ msgid "Child Accounts"
#~ msgstr "Unterkonto"
#~ msgid "Computed Accounts"
#~ msgstr "Berechnete Konten"
#~ msgid "Hierarchy On"
#~ msgstr "Gruppieren über"
#~ msgid "No hierarchy"
#~ msgstr "Keine Ebenen"
#~ msgid "<span class=\"fa fa-download\"/> Export" #~ msgid "<span class=\"fa fa-download\"/> Export"
#~ msgstr "<span class=\"fa fa-download\"/> Export" #~ msgstr "<span class=\"fa fa-download\"/> Export"

View File

@ -384,11 +384,6 @@ msgstr "Centralizar el filtro"
msgid "Centralized" msgid "Centralized"
msgstr "Centralizado" msgstr "Centralizado"
#. module: account_financial_report
#: model:ir.model.fields.selection,name:account_financial_report.selection__trial_balance_report_wizard__hierarchy_on__relation
msgid "Child Accounts"
msgstr "Cuentas Hijas"
#. module: account_financial_report #. module: account_financial_report
#: model:ir.model.fields,field_description:account_financial_report.field_account_group__group_child_ids #: model:ir.model.fields,field_description:account_financial_report.field_account_group__group_child_ids
msgid "Child Groups" msgid "Child Groups"
@ -421,32 +416,6 @@ msgstr "Compañía"
msgid "Compute accounts" msgid "Compute accounts"
msgstr "Cuentas calculadas" msgstr "Cuentas calculadas"
#. module: account_financial_report
#: model:ir.model.fields.selection,name:account_financial_report.selection__trial_balance_report_wizard__hierarchy_on__computed
msgid "Computed Accounts"
msgstr "Cuentas Calculadas"
#. module: account_financial_report
#: model:ir.model.fields,help:account_financial_report.field_trial_balance_report_wizard__hierarchy_on
msgid ""
"Computed Accounts: Use when the account group have codes\n"
" that represent prefixes of the actual accounts.\n"
"\n"
" Child Accounts: Use when your account groups are hierarchical.\n"
"\n"
" No hierarchy: Use to display just the accounts, without any "
"grouping.\n"
" "
msgstr ""
"Cuentas Calculadas: Usar cuando el grupo de cuentas tiene códigos \n"
" que representan prefijos de las cuentas reales.\n"
"\n"
" Cuentas Hijas: Usar cuando los grupos de cuentas son jerárquicos.\n"
"\n"
" Sin jerarquía: Usar para mostrar sólo las cuentas, sin ninguna "
"agrupación.\n"
" "
#. module: account_financial_report #. module: account_financial_report
#: model:ir.model.fields,field_description:account_financial_report.field_aged_partner_balance_report_wizard__create_uid #: model:ir.model.fields,field_description:account_financial_report.field_aged_partner_balance_report_wizard__create_uid
#: model:ir.model.fields,field_description:account_financial_report.field_general_ledger_report_wizard__create_uid #: model:ir.model.fields,field_description:account_financial_report.field_general_ledger_report_wizard__create_uid
@ -955,11 +924,6 @@ msgstr "Ocultar cuentas a 0"
msgid "Hierarchy Levels to display" msgid "Hierarchy Levels to display"
msgstr "Niveles de Jerarquía a mostrar" msgstr "Niveles de Jerarquía a mostrar"
#. module: account_financial_report
#: model:ir.model.fields,field_description:account_financial_report.field_trial_balance_report_wizard__hierarchy_on
msgid "Hierarchy On"
msgstr "Jerarquía en"
#. module: account_financial_report #. module: account_financial_report
#: model:ir.model.fields,field_description:account_financial_report.field_account_account__id #: model:ir.model.fields,field_description:account_financial_report.field_account_account__id
#: model:ir.model.fields,field_description:account_financial_report.field_account_financial_report_abstract_wizard__id #: model:ir.model.fields,field_description:account_financial_report.field_account_financial_report_abstract_wizard__id
@ -1202,11 +1166,6 @@ msgstr "No"
msgid "No group" msgid "No group"
msgstr "Sin grupo" msgstr "Sin grupo"
#. module: account_financial_report
#: model:ir.model.fields.selection,name:account_financial_report.selection__trial_balance_report_wizard__hierarchy_on__none
msgid "No hierarchy"
msgstr "Sin jerarquía"
#. module: account_financial_report #. module: account_financial_report
#: code:addons/account_financial_report/report/trial_balance_xlsx.py:0 #: code:addons/account_financial_report/report/trial_balance_xlsx.py:0
#: model_terms:ir.ui.view,arch_db:account_financial_report.report_trial_balance_filters #: model_terms:ir.ui.view,arch_db:account_financial_report.report_trial_balance_filters
@ -1495,6 +1454,11 @@ msgstr "Mostrar etiquetas analíticas"
msgid "Show foreign currency" msgid "Show foreign currency"
msgstr "Mostrar Moneda Extranjera" msgstr "Mostrar Moneda Extranjera"
#. module: account_financial_report
#: model:ir.model.fields,field_description:account_financial_report.field_trial_balance_report_wizard__show_hierarchy
msgid "Show hierarchy"
msgstr ""
#. module: account_financial_report #. module: account_financial_report
#: model:ir.model.fields,field_description:account_financial_report.field_journal_ledger_report_wizard__sort_option #: model:ir.model.fields,field_description:account_financial_report.field_journal_ledger_report_wizard__sort_option
msgid "Sort entries by" msgid "Sort entries by"
@ -1718,6 +1682,11 @@ msgstr ""
"las empresas se filtran, los debe y haber totales no coincidirán con el " "las empresas se filtran, los debe y haber totales no coincidirán con el "
"balance de sumas y saldos." "balance de sumas y saldos."
#. module: account_financial_report
#: model:ir.model.fields,help:account_financial_report.field_trial_balance_report_wizard__show_hierarchy
msgid "Use when your account groups are hierarchical"
msgstr ""
#. module: account_financial_report #. module: account_financial_report
#: model:ir.actions.act_window,name:account_financial_report.action_vat_report_wizard #: model:ir.actions.act_window,name:account_financial_report.action_vat_report_wizard
#: model:ir.actions.report,name:account_financial_report.action_print_report_vat_report_html #: model:ir.actions.report,name:account_financial_report.action_print_report_vat_report_html
@ -1853,6 +1822,38 @@ msgstr "ancho: 38.92%;"
msgid "width: 8.11%;" msgid "width: 8.11%;"
msgstr "ancho: 8.11%;" msgstr "ancho: 8.11%;"
#~ msgid "Child Accounts"
#~ msgstr "Cuentas Hijas"
#~ msgid "Computed Accounts"
#~ msgstr "Cuentas Calculadas"
#~ msgid ""
#~ "Computed Accounts: Use when the account group have codes\n"
#~ " that represent prefixes of the actual accounts.\n"
#~ "\n"
#~ " Child Accounts: Use when your account groups are hierarchical.\n"
#~ "\n"
#~ " No hierarchy: Use to display just the accounts, without any "
#~ "grouping.\n"
#~ " "
#~ msgstr ""
#~ "Cuentas Calculadas: Usar cuando el grupo de cuentas tiene códigos \n"
#~ " que representan prefijos de las cuentas reales.\n"
#~ "\n"
#~ " Cuentas Hijas: Usar cuando los grupos de cuentas son "
#~ "jerárquicos.\n"
#~ "\n"
#~ " Sin jerarquía: Usar para mostrar sólo las cuentas, sin ninguna "
#~ "agrupación.\n"
#~ " "
#~ msgid "Hierarchy On"
#~ msgstr "Jerarquía en"
#~ msgid "No hierarchy"
#~ msgstr "Sin jerarquía"
#~ msgid "<span class=\"fa fa-download\"/> Export" #~ msgid "<span class=\"fa fa-download\"/> Export"
#~ msgstr "<span class=\"fa fa-download\"/>Exportar" #~ msgstr "<span class=\"fa fa-download\"/>Exportar"

View File

@ -6,7 +6,7 @@ msgid ""
msgstr "" msgstr ""
"Project-Id-Version: Odoo Server 13.0\n" "Project-Id-Version: Odoo Server 13.0\n"
"Report-Msgid-Bugs-To: \n" "Report-Msgid-Bugs-To: \n"
"PO-Revision-Date: 2022-01-09 05:39+0000\n" "PO-Revision-Date: 2022-06-11 23:06+0000\n"
"Last-Translator: Ignacio Buioli <ibuioli@gmail.com>\n" "Last-Translator: Ignacio Buioli <ibuioli@gmail.com>\n"
"Language-Team: none\n" "Language-Team: none\n"
"Language: es_AR\n" "Language: es_AR\n"
@ -383,11 +383,6 @@ msgstr "Centralizar el filtro"
msgid "Centralized" msgid "Centralized"
msgstr "Centralizado" msgstr "Centralizado"
#. module: account_financial_report
#: model:ir.model.fields.selection,name:account_financial_report.selection__trial_balance_report_wizard__hierarchy_on__relation
msgid "Child Accounts"
msgstr "Cuentas Hijas"
#. module: account_financial_report #. module: account_financial_report
#: model:ir.model.fields,field_description:account_financial_report.field_account_group__group_child_ids #: model:ir.model.fields,field_description:account_financial_report.field_account_group__group_child_ids
msgid "Child Groups" msgid "Child Groups"
@ -420,32 +415,6 @@ msgstr "Compañía"
msgid "Compute accounts" msgid "Compute accounts"
msgstr "Cuentas calculadas" msgstr "Cuentas calculadas"
#. module: account_financial_report
#: model:ir.model.fields.selection,name:account_financial_report.selection__trial_balance_report_wizard__hierarchy_on__computed
msgid "Computed Accounts"
msgstr "Cuentas Calculadas"
#. module: account_financial_report
#: model:ir.model.fields,help:account_financial_report.field_trial_balance_report_wizard__hierarchy_on
msgid ""
"Computed Accounts: Use when the account group have codes\n"
" that represent prefixes of the actual accounts.\n"
"\n"
" Child Accounts: Use when your account groups are hierarchical.\n"
"\n"
" No hierarchy: Use to display just the accounts, without any "
"grouping.\n"
" "
msgstr ""
"Cuentas Calculadas: Usar cuando el grupo de cuentas tiene códigos \n"
" que representan prefijos de las cuentas reales.\n"
"\n"
" Cuentas Hijas: Usar cuando los grupos de cuentas son jerárquicos.\n"
"\n"
" Sin jerarquía: Usar para mostrar sólo las cuentas, sin ninguna "
"agrupación.\n"
" "
#. module: account_financial_report #. module: account_financial_report
#: model:ir.model.fields,field_description:account_financial_report.field_aged_partner_balance_report_wizard__create_uid #: model:ir.model.fields,field_description:account_financial_report.field_aged_partner_balance_report_wizard__create_uid
#: model:ir.model.fields,field_description:account_financial_report.field_general_ledger_report_wizard__create_uid #: model:ir.model.fields,field_description:account_financial_report.field_general_ledger_report_wizard__create_uid
@ -955,11 +924,6 @@ msgstr "Ocultar cuentas a 0"
msgid "Hierarchy Levels to display" msgid "Hierarchy Levels to display"
msgstr "Niveles de Jerarquía a mostrar" msgstr "Niveles de Jerarquía a mostrar"
#. module: account_financial_report
#: model:ir.model.fields,field_description:account_financial_report.field_trial_balance_report_wizard__hierarchy_on
msgid "Hierarchy On"
msgstr "Jerarquía en"
#. module: account_financial_report #. module: account_financial_report
#: model:ir.model.fields,field_description:account_financial_report.field_account_account__id #: model:ir.model.fields,field_description:account_financial_report.field_account_account__id
#: model:ir.model.fields,field_description:account_financial_report.field_account_financial_report_abstract_wizard__id #: model:ir.model.fields,field_description:account_financial_report.field_account_financial_report_abstract_wizard__id
@ -1200,11 +1164,6 @@ msgstr "No"
msgid "No group" msgid "No group"
msgstr "Sin grupo" msgstr "Sin grupo"
#. module: account_financial_report
#: model:ir.model.fields.selection,name:account_financial_report.selection__trial_balance_report_wizard__hierarchy_on__none
msgid "No hierarchy"
msgstr "Sin jerarquía"
#. module: account_financial_report #. module: account_financial_report
#: code:addons/account_financial_report/report/trial_balance_xlsx.py:0 #: code:addons/account_financial_report/report/trial_balance_xlsx.py:0
#: model_terms:ir.ui.view,arch_db:account_financial_report.report_trial_balance_filters #: model_terms:ir.ui.view,arch_db:account_financial_report.report_trial_balance_filters
@ -1495,6 +1454,11 @@ msgstr "Mostrar etiquetas analíticas"
msgid "Show foreign currency" msgid "Show foreign currency"
msgstr "Mostrar Moneda Extranjera" msgstr "Mostrar Moneda Extranjera"
#. module: account_financial_report
#: model:ir.model.fields,field_description:account_financial_report.field_trial_balance_report_wizard__show_hierarchy
msgid "Show hierarchy"
msgstr "Mostrar jerarquía"
#. module: account_financial_report #. module: account_financial_report
#: model:ir.model.fields,field_description:account_financial_report.field_journal_ledger_report_wizard__sort_option #: model:ir.model.fields,field_description:account_financial_report.field_journal_ledger_report_wizard__sort_option
msgid "Sort entries by" msgid "Sort entries by"
@ -1722,6 +1686,11 @@ msgstr ""
"las empresas se filtran, los debe y haber totales no coincidirán con el " "las empresas se filtran, los debe y haber totales no coincidirán con el "
"balance de sumas y saldos." "balance de sumas y saldos."
#. module: account_financial_report
#: model:ir.model.fields,help:account_financial_report.field_trial_balance_report_wizard__show_hierarchy
msgid "Use when your account groups are hierarchical"
msgstr "Utilizar cuando sus grupos de cuenta son jerárquicos"
#. module: account_financial_report #. module: account_financial_report
#: model:ir.actions.act_window,name:account_financial_report.action_vat_report_wizard #: model:ir.actions.act_window,name:account_financial_report.action_vat_report_wizard
#: model:ir.actions.report,name:account_financial_report.action_print_report_vat_report_html #: model:ir.actions.report,name:account_financial_report.action_print_report_vat_report_html
@ -1855,6 +1824,38 @@ msgstr "ancho: 38.92%;"
msgid "width: 8.11%;" msgid "width: 8.11%;"
msgstr "ancho: 8.11%;" msgstr "ancho: 8.11%;"
#~ msgid "Child Accounts"
#~ msgstr "Cuentas Hijas"
#~ msgid "Computed Accounts"
#~ msgstr "Cuentas Calculadas"
#~ msgid ""
#~ "Computed Accounts: Use when the account group have codes\n"
#~ " that represent prefixes of the actual accounts.\n"
#~ "\n"
#~ " Child Accounts: Use when your account groups are hierarchical.\n"
#~ "\n"
#~ " No hierarchy: Use to display just the accounts, without any "
#~ "grouping.\n"
#~ " "
#~ msgstr ""
#~ "Cuentas Calculadas: Usar cuando el grupo de cuentas tiene códigos \n"
#~ " que representan prefijos de las cuentas reales.\n"
#~ "\n"
#~ " Cuentas Hijas: Usar cuando los grupos de cuentas son "
#~ "jerárquicos.\n"
#~ "\n"
#~ " Sin jerarquía: Usar para mostrar sólo las cuentas, sin ninguna "
#~ "agrupación.\n"
#~ " "
#~ msgid "Hierarchy On"
#~ msgstr "Jerarquía en"
#~ msgid "No hierarchy"
#~ msgstr "Sin jerarquía"
#~ msgid "Open Itemsr" #~ msgid "Open Itemsr"
#~ msgstr "Abrir Itemsr" #~ msgstr "Abrir Itemsr"

View File

@ -381,11 +381,6 @@ msgstr ""
msgid "Centralized" msgid "Centralized"
msgstr "" msgstr ""
#. module: account_financial_report
#: model:ir.model.fields.selection,name:account_financial_report.selection__trial_balance_report_wizard__hierarchy_on__relation
msgid "Child Accounts"
msgstr ""
#. module: account_financial_report #. module: account_financial_report
#: model:ir.model.fields,field_description:account_financial_report.field_account_group__group_child_ids #: model:ir.model.fields,field_description:account_financial_report.field_account_group__group_child_ids
msgid "Child Groups" msgid "Child Groups"
@ -418,24 +413,6 @@ msgstr ""
msgid "Compute accounts" msgid "Compute accounts"
msgstr "" msgstr ""
#. module: account_financial_report
#: model:ir.model.fields.selection,name:account_financial_report.selection__trial_balance_report_wizard__hierarchy_on__computed
msgid "Computed Accounts"
msgstr ""
#. module: account_financial_report
#: model:ir.model.fields,help:account_financial_report.field_trial_balance_report_wizard__hierarchy_on
msgid ""
"Computed Accounts: Use when the account group have codes\n"
" that represent prefixes of the actual accounts.\n"
"\n"
" Child Accounts: Use when your account groups are hierarchical.\n"
"\n"
" No hierarchy: Use to display just the accounts, without any "
"grouping.\n"
" "
msgstr ""
#. module: account_financial_report #. module: account_financial_report
#: model:ir.model.fields,field_description:account_financial_report.field_aged_partner_balance_report_wizard__create_uid #: model:ir.model.fields,field_description:account_financial_report.field_aged_partner_balance_report_wizard__create_uid
#: model:ir.model.fields,field_description:account_financial_report.field_general_ledger_report_wizard__create_uid #: model:ir.model.fields,field_description:account_financial_report.field_general_ledger_report_wizard__create_uid
@ -932,11 +909,6 @@ msgstr ""
msgid "Hierarchy Levels to display" msgid "Hierarchy Levels to display"
msgstr "" msgstr ""
#. module: account_financial_report
#: model:ir.model.fields,field_description:account_financial_report.field_trial_balance_report_wizard__hierarchy_on
msgid "Hierarchy On"
msgstr ""
#. module: account_financial_report #. module: account_financial_report
#: model:ir.model.fields,field_description:account_financial_report.field_account_account__id #: model:ir.model.fields,field_description:account_financial_report.field_account_account__id
#: model:ir.model.fields,field_description:account_financial_report.field_account_financial_report_abstract_wizard__id #: model:ir.model.fields,field_description:account_financial_report.field_account_financial_report_abstract_wizard__id
@ -1171,11 +1143,6 @@ msgstr ""
msgid "No group" msgid "No group"
msgstr "" msgstr ""
#. module: account_financial_report
#: model:ir.model.fields.selection,name:account_financial_report.selection__trial_balance_report_wizard__hierarchy_on__none
msgid "No hierarchy"
msgstr ""
#. module: account_financial_report #. module: account_financial_report
#: code:addons/account_financial_report/report/trial_balance_xlsx.py:0 #: code:addons/account_financial_report/report/trial_balance_xlsx.py:0
#: model_terms:ir.ui.view,arch_db:account_financial_report.report_trial_balance_filters #: model_terms:ir.ui.view,arch_db:account_financial_report.report_trial_balance_filters
@ -1460,6 +1427,11 @@ msgstr ""
msgid "Show foreign currency" msgid "Show foreign currency"
msgstr "" msgstr ""
#. module: account_financial_report
#: model:ir.model.fields,field_description:account_financial_report.field_trial_balance_report_wizard__show_hierarchy
msgid "Show hierarchy"
msgstr ""
#. module: account_financial_report #. module: account_financial_report
#: model:ir.model.fields,field_description:account_financial_report.field_journal_ledger_report_wizard__sort_option #: model:ir.model.fields,field_description:account_financial_report.field_journal_ledger_report_wizard__sort_option
msgid "Sort entries by" msgid "Sort entries by"
@ -1673,6 +1645,11 @@ msgid ""
"balance." "balance."
msgstr "" msgstr ""
#. module: account_financial_report
#: model:ir.model.fields,help:account_financial_report.field_trial_balance_report_wizard__show_hierarchy
msgid "Use when your account groups are hierarchical"
msgstr ""
#. module: account_financial_report #. module: account_financial_report
#: model:ir.actions.act_window,name:account_financial_report.action_vat_report_wizard #: model:ir.actions.act_window,name:account_financial_report.action_vat_report_wizard
#: model:ir.actions.report,name:account_financial_report.action_print_report_vat_report_html #: model:ir.actions.report,name:account_financial_report.action_print_report_vat_report_html

File diff suppressed because it is too large Load Diff

View File

@ -378,11 +378,6 @@ msgstr "Filtre de centralisation"
msgid "Centralized" msgid "Centralized"
msgstr "Centralisé" msgstr "Centralisé"
#. module: account_financial_report
#: model:ir.model.fields.selection,name:account_financial_report.selection__trial_balance_report_wizard__hierarchy_on__relation
msgid "Child Accounts"
msgstr "Comptes enfants"
#. module: account_financial_report #. module: account_financial_report
#: model:ir.model.fields,field_description:account_financial_report.field_account_group__group_child_ids #: model:ir.model.fields,field_description:account_financial_report.field_account_group__group_child_ids
msgid "Child Groups" msgid "Child Groups"
@ -415,33 +410,6 @@ msgstr "Société"
msgid "Compute accounts" msgid "Compute accounts"
msgstr "Calculer les comptes" msgstr "Calculer les comptes"
#. module: account_financial_report
#: model:ir.model.fields.selection,name:account_financial_report.selection__trial_balance_report_wizard__hierarchy_on__computed
msgid "Computed Accounts"
msgstr "Comptes calculés"
#. module: account_financial_report
#: model:ir.model.fields,help:account_financial_report.field_trial_balance_report_wizard__hierarchy_on
msgid ""
"Computed Accounts: Use when the account group have codes\n"
" that represent prefixes of the actual accounts.\n"
"\n"
" Child Accounts: Use when your account groups are hierarchical.\n"
"\n"
" No hierarchy: Use to display just the accounts, without any "
"grouping.\n"
" "
msgstr ""
"Comptes calculés: À utiliser lorsque les groupes de comptes ont des codes\n"
" qui représentent des préfixes des comptes actuels.\n"
"\n"
" Comptes enfants: À utiliser lorsque vos groupes de comptes sont "
"hiérarchisés.\n"
"\n"
" Pas de hiérarchie: À utiliser pour n'afficher que les comptes sans "
"aucun groupement.\n"
" "
#. module: account_financial_report #. module: account_financial_report
#: model:ir.model.fields,field_description:account_financial_report.field_aged_partner_balance_report_wizard__create_uid #: model:ir.model.fields,field_description:account_financial_report.field_aged_partner_balance_report_wizard__create_uid
#: model:ir.model.fields,field_description:account_financial_report.field_general_ledger_report_wizard__create_uid #: model:ir.model.fields,field_description:account_financial_report.field_general_ledger_report_wizard__create_uid
@ -950,11 +918,6 @@ msgstr "Cacher les comptes à 0"
msgid "Hierarchy Levels to display" msgid "Hierarchy Levels to display"
msgstr "Niveaux de hiérarchie à afficher" msgstr "Niveaux de hiérarchie à afficher"
#. module: account_financial_report
#: model:ir.model.fields,field_description:account_financial_report.field_trial_balance_report_wizard__hierarchy_on
msgid "Hierarchy On"
msgstr "Hiérarchiser sur"
#. module: account_financial_report #. module: account_financial_report
#: model:ir.model.fields,field_description:account_financial_report.field_account_account__id #: model:ir.model.fields,field_description:account_financial_report.field_account_account__id
#: model:ir.model.fields,field_description:account_financial_report.field_account_financial_report_abstract_wizard__id #: model:ir.model.fields,field_description:account_financial_report.field_account_financial_report_abstract_wizard__id
@ -1196,11 +1159,6 @@ msgstr "Non"
msgid "No group" msgid "No group"
msgstr "Sans groupe" msgstr "Sans groupe"
#. module: account_financial_report
#: model:ir.model.fields.selection,name:account_financial_report.selection__trial_balance_report_wizard__hierarchy_on__none
msgid "No hierarchy"
msgstr "Sans hiérarchie"
#. module: account_financial_report #. module: account_financial_report
#: code:addons/account_financial_report/report/trial_balance_xlsx.py:0 #: code:addons/account_financial_report/report/trial_balance_xlsx.py:0
#: model_terms:ir.ui.view,arch_db:account_financial_report.report_trial_balance_filters #: model_terms:ir.ui.view,arch_db:account_financial_report.report_trial_balance_filters
@ -1492,6 +1450,11 @@ msgstr "Afficher les étiquettes analytiques"
msgid "Show foreign currency" msgid "Show foreign currency"
msgstr "Afficher les devises étrangères" msgstr "Afficher les devises étrangères"
#. module: account_financial_report
#: model:ir.model.fields,field_description:account_financial_report.field_trial_balance_report_wizard__show_hierarchy
msgid "Show hierarchy"
msgstr ""
#. module: account_financial_report #. module: account_financial_report
#: model:ir.model.fields,field_description:account_financial_report.field_journal_ledger_report_wizard__sort_option #: model:ir.model.fields,field_description:account_financial_report.field_journal_ledger_report_wizard__sort_option
msgid "Sort entries by" msgid "Sort entries by"
@ -1715,6 +1678,11 @@ msgstr ""
"clôture à 0. Si les partenaires sont filtrés, les totaux des débits et " "clôture à 0. Si les partenaires sont filtrés, les totaux des débits et "
"crédits ne correspondront pas à la balance générale." "crédits ne correspondront pas à la balance générale."
#. module: account_financial_report
#: model:ir.model.fields,help:account_financial_report.field_trial_balance_report_wizard__show_hierarchy
msgid "Use when your account groups are hierarchical"
msgstr ""
#. module: account_financial_report #. module: account_financial_report
#: model:ir.actions.act_window,name:account_financial_report.action_vat_report_wizard #: model:ir.actions.act_window,name:account_financial_report.action_vat_report_wizard
#: model:ir.actions.report,name:account_financial_report.action_print_report_vat_report_html #: model:ir.actions.report,name:account_financial_report.action_print_report_vat_report_html
@ -1848,6 +1816,39 @@ msgstr "Largeur : 38,92%;"
msgid "width: 8.11%;" msgid "width: 8.11%;"
msgstr "largeur : 8.11% ;" msgstr "largeur : 8.11% ;"
#~ msgid "Child Accounts"
#~ msgstr "Comptes enfants"
#~ msgid "Computed Accounts"
#~ msgstr "Comptes calculés"
#~ msgid ""
#~ "Computed Accounts: Use when the account group have codes\n"
#~ " that represent prefixes of the actual accounts.\n"
#~ "\n"
#~ " Child Accounts: Use when your account groups are hierarchical.\n"
#~ "\n"
#~ " No hierarchy: Use to display just the accounts, without any "
#~ "grouping.\n"
#~ " "
#~ msgstr ""
#~ "Comptes calculés: À utiliser lorsque les groupes de comptes ont des "
#~ "codes\n"
#~ " qui représentent des préfixes des comptes actuels.\n"
#~ "\n"
#~ " Comptes enfants: À utiliser lorsque vos groupes de comptes sont "
#~ "hiérarchisés.\n"
#~ "\n"
#~ " Pas de hiérarchie: À utiliser pour n'afficher que les comptes "
#~ "sans aucun groupement.\n"
#~ " "
#~ msgid "Hierarchy On"
#~ msgstr "Hiérarchiser sur"
#~ msgid "No hierarchy"
#~ msgstr "Sans hiérarchie"
#~ msgid "<span class=\"fa fa-download\"/> Export" #~ msgid "<span class=\"fa fa-download\"/> Export"
#~ msgstr "<span class=\"fa fa-download\"/> Exporter" #~ msgstr "<span class=\"fa fa-download\"/> Exporter"

View File

@ -379,11 +379,6 @@ msgstr "Filtre de centralisation"
msgid "Centralized" msgid "Centralized"
msgstr "Centralisé" msgstr "Centralisé"
#. module: account_financial_report
#: model:ir.model.fields.selection,name:account_financial_report.selection__trial_balance_report_wizard__hierarchy_on__relation
msgid "Child Accounts"
msgstr "Comptes enfants"
#. module: account_financial_report #. module: account_financial_report
#: model:ir.model.fields,field_description:account_financial_report.field_account_group__group_child_ids #: model:ir.model.fields,field_description:account_financial_report.field_account_group__group_child_ids
msgid "Child Groups" msgid "Child Groups"
@ -416,33 +411,6 @@ msgstr "Société"
msgid "Compute accounts" msgid "Compute accounts"
msgstr "Calculer les comptes" msgstr "Calculer les comptes"
#. module: account_financial_report
#: model:ir.model.fields.selection,name:account_financial_report.selection__trial_balance_report_wizard__hierarchy_on__computed
msgid "Computed Accounts"
msgstr "Comptes calculés"
#. module: account_financial_report
#: model:ir.model.fields,help:account_financial_report.field_trial_balance_report_wizard__hierarchy_on
msgid ""
"Computed Accounts: Use when the account group have codes\n"
" that represent prefixes of the actual accounts.\n"
"\n"
" Child Accounts: Use when your account groups are hierarchical.\n"
"\n"
" No hierarchy: Use to display just the accounts, without any "
"grouping.\n"
" "
msgstr ""
"Comptes calculés: À utiliser lorsque les groupes de comptes ont des codes\n"
" qui représentent des préfixes des comptes actuels.\n"
"\n"
" Comptes enfants: À utiliser lorsque vos groupes de comptes sont "
"hiérarchisés.\n"
"\n"
" Pas de hiérarchie: À utiliser pour n'afficher que les comptes sans "
"aucun groupement.\n"
" "
#. module: account_financial_report #. module: account_financial_report
#: model:ir.model.fields,field_description:account_financial_report.field_aged_partner_balance_report_wizard__create_uid #: model:ir.model.fields,field_description:account_financial_report.field_aged_partner_balance_report_wizard__create_uid
#: model:ir.model.fields,field_description:account_financial_report.field_general_ledger_report_wizard__create_uid #: model:ir.model.fields,field_description:account_financial_report.field_general_ledger_report_wizard__create_uid
@ -958,11 +926,6 @@ msgstr "Cacher les comptes à 0"
msgid "Hierarchy Levels to display" msgid "Hierarchy Levels to display"
msgstr "Niveaux de hiérarchie à afficher" msgstr "Niveaux de hiérarchie à afficher"
#. module: account_financial_report
#: model:ir.model.fields,field_description:account_financial_report.field_trial_balance_report_wizard__hierarchy_on
msgid "Hierarchy On"
msgstr "Hiérarchiser sur"
#. module: account_financial_report #. module: account_financial_report
#: model:ir.model.fields,field_description:account_financial_report.field_account_account__id #: model:ir.model.fields,field_description:account_financial_report.field_account_account__id
#: model:ir.model.fields,field_description:account_financial_report.field_account_financial_report_abstract_wizard__id #: model:ir.model.fields,field_description:account_financial_report.field_account_financial_report_abstract_wizard__id
@ -1206,11 +1169,6 @@ msgstr "Non"
msgid "No group" msgid "No group"
msgstr "Sans groupe" msgstr "Sans groupe"
#. module: account_financial_report
#: model:ir.model.fields.selection,name:account_financial_report.selection__trial_balance_report_wizard__hierarchy_on__none
msgid "No hierarchy"
msgstr "Sans hiérarchie"
#. module: account_financial_report #. module: account_financial_report
#: code:addons/account_financial_report/report/trial_balance_xlsx.py:0 #: code:addons/account_financial_report/report/trial_balance_xlsx.py:0
#: model_terms:ir.ui.view,arch_db:account_financial_report.report_trial_balance_filters #: model_terms:ir.ui.view,arch_db:account_financial_report.report_trial_balance_filters
@ -1505,6 +1463,11 @@ msgstr "Afficher les étiquettes analytiques"
msgid "Show foreign currency" msgid "Show foreign currency"
msgstr "Afficher les devises étrangères" msgstr "Afficher les devises étrangères"
#. module: account_financial_report
#: model:ir.model.fields,field_description:account_financial_report.field_trial_balance_report_wizard__show_hierarchy
msgid "Show hierarchy"
msgstr ""
#. module: account_financial_report #. module: account_financial_report
#: model:ir.model.fields,field_description:account_financial_report.field_journal_ledger_report_wizard__sort_option #: model:ir.model.fields,field_description:account_financial_report.field_journal_ledger_report_wizard__sort_option
msgid "Sort entries by" msgid "Sort entries by"
@ -1730,6 +1693,11 @@ msgstr ""
"clôture à 0. Si les partenaires sont filtrés, les totaux des débits et " "clôture à 0. Si les partenaires sont filtrés, les totaux des débits et "
"crédits ne correspondront pas à la balance générale." "crédits ne correspondront pas à la balance générale."
#. module: account_financial_report
#: model:ir.model.fields,help:account_financial_report.field_trial_balance_report_wizard__show_hierarchy
msgid "Use when your account groups are hierarchical"
msgstr ""
#. module: account_financial_report #. module: account_financial_report
#: model:ir.actions.act_window,name:account_financial_report.action_vat_report_wizard #: model:ir.actions.act_window,name:account_financial_report.action_vat_report_wizard
#: model:ir.actions.report,name:account_financial_report.action_print_report_vat_report_html #: model:ir.actions.report,name:account_financial_report.action_print_report_vat_report_html
@ -1865,6 +1833,39 @@ msgstr ""
msgid "width: 8.11%;" msgid "width: 8.11%;"
msgstr "" msgstr ""
#~ msgid "Child Accounts"
#~ msgstr "Comptes enfants"
#~ msgid "Computed Accounts"
#~ msgstr "Comptes calculés"
#~ msgid ""
#~ "Computed Accounts: Use when the account group have codes\n"
#~ " that represent prefixes of the actual accounts.\n"
#~ "\n"
#~ " Child Accounts: Use when your account groups are hierarchical.\n"
#~ "\n"
#~ " No hierarchy: Use to display just the accounts, without any "
#~ "grouping.\n"
#~ " "
#~ msgstr ""
#~ "Comptes calculés: À utiliser lorsque les groupes de comptes ont des "
#~ "codes\n"
#~ " qui représentent des préfixes des comptes actuels.\n"
#~ "\n"
#~ " Comptes enfants: À utiliser lorsque vos groupes de comptes sont "
#~ "hiérarchisés.\n"
#~ "\n"
#~ " Pas de hiérarchie: À utiliser pour n'afficher que les comptes "
#~ "sans aucun groupement.\n"
#~ " "
#~ msgid "Hierarchy On"
#~ msgstr "Hiérarchiser sur"
#~ msgid "No hierarchy"
#~ msgstr "Sans hiérarchie"
#~ msgid "<span class=\"fa fa-download\"/> Export" #~ msgid "<span class=\"fa fa-download\"/> Export"
#~ msgstr "Exporter" #~ msgstr "Exporter"

View File

@ -375,11 +375,6 @@ msgstr "Filtre de centralisation"
msgid "Centralized" msgid "Centralized"
msgstr "Centralisé" msgstr "Centralisé"
#. module: account_financial_report
#: model:ir.model.fields.selection,name:account_financial_report.selection__trial_balance_report_wizard__hierarchy_on__relation
msgid "Child Accounts"
msgstr "Comptes enfants"
#. module: account_financial_report #. module: account_financial_report
#: model:ir.model.fields,field_description:account_financial_report.field_account_group__group_child_ids #: model:ir.model.fields,field_description:account_financial_report.field_account_group__group_child_ids
msgid "Child Groups" msgid "Child Groups"
@ -412,33 +407,6 @@ msgstr "Société"
msgid "Compute accounts" msgid "Compute accounts"
msgstr "Calculer les comptes" msgstr "Calculer les comptes"
#. module: account_financial_report
#: model:ir.model.fields.selection,name:account_financial_report.selection__trial_balance_report_wizard__hierarchy_on__computed
msgid "Computed Accounts"
msgstr "Comptes calculés"
#. module: account_financial_report
#: model:ir.model.fields,help:account_financial_report.field_trial_balance_report_wizard__hierarchy_on
msgid ""
"Computed Accounts: Use when the account group have codes\n"
" that represent prefixes of the actual accounts.\n"
"\n"
" Child Accounts: Use when your account groups are hierarchical.\n"
"\n"
" No hierarchy: Use to display just the accounts, without any "
"grouping.\n"
" "
msgstr ""
"Comptes calculés: À utiliser lorsque les groupes de comptes ont des codes\n"
" qui représentent des préfixes des comptes actuels.\n"
"\n"
" Comptes enfants: À utiliser lorsque vos groupes de comptes sont "
"hiérarchisés.\n"
"\n"
" Pas de hiérarchie: À utiliser pour n'afficher que les comptes sans "
"aucun groupement.\n"
" "
#. module: account_financial_report #. module: account_financial_report
#: model:ir.model.fields,field_description:account_financial_report.field_aged_partner_balance_report_wizard__create_uid #: model:ir.model.fields,field_description:account_financial_report.field_aged_partner_balance_report_wizard__create_uid
#: model:ir.model.fields,field_description:account_financial_report.field_general_ledger_report_wizard__create_uid #: model:ir.model.fields,field_description:account_financial_report.field_general_ledger_report_wizard__create_uid
@ -946,11 +914,6 @@ msgstr "Cacher les comptes à 0"
msgid "Hierarchy Levels to display" msgid "Hierarchy Levels to display"
msgstr "Niveaux de hiérarchie à afficher" msgstr "Niveaux de hiérarchie à afficher"
#. module: account_financial_report
#: model:ir.model.fields,field_description:account_financial_report.field_trial_balance_report_wizard__hierarchy_on
msgid "Hierarchy On"
msgstr "Hiérarchiser sur"
#. module: account_financial_report #. module: account_financial_report
#: model:ir.model.fields,field_description:account_financial_report.field_account_account__id #: model:ir.model.fields,field_description:account_financial_report.field_account_account__id
#: model:ir.model.fields,field_description:account_financial_report.field_account_financial_report_abstract_wizard__id #: model:ir.model.fields,field_description:account_financial_report.field_account_financial_report_abstract_wizard__id
@ -1191,11 +1154,6 @@ msgstr "Non"
msgid "No group" msgid "No group"
msgstr "Sans groupe" msgstr "Sans groupe"
#. module: account_financial_report
#: model:ir.model.fields.selection,name:account_financial_report.selection__trial_balance_report_wizard__hierarchy_on__none
msgid "No hierarchy"
msgstr "Sans hiérarchie"
#. module: account_financial_report #. module: account_financial_report
#: code:addons/account_financial_report/report/trial_balance_xlsx.py:0 #: code:addons/account_financial_report/report/trial_balance_xlsx.py:0
#: model_terms:ir.ui.view,arch_db:account_financial_report.report_trial_balance_filters #: model_terms:ir.ui.view,arch_db:account_financial_report.report_trial_balance_filters
@ -1486,6 +1444,11 @@ msgstr "Afficher les étiquettes analytiques"
msgid "Show foreign currency" msgid "Show foreign currency"
msgstr "Afficher les devises étrangères" msgstr "Afficher les devises étrangères"
#. module: account_financial_report
#: model:ir.model.fields,field_description:account_financial_report.field_trial_balance_report_wizard__show_hierarchy
msgid "Show hierarchy"
msgstr ""
#. module: account_financial_report #. module: account_financial_report
#: model:ir.model.fields,field_description:account_financial_report.field_journal_ledger_report_wizard__sort_option #: model:ir.model.fields,field_description:account_financial_report.field_journal_ledger_report_wizard__sort_option
msgid "Sort entries by" msgid "Sort entries by"
@ -1709,6 +1672,11 @@ msgstr ""
"clôture à 0. Si les partenaires sont filtrés, les totaux des débits et " "clôture à 0. Si les partenaires sont filtrés, les totaux des débits et "
"crédits ne correspondront pas à la balance générale." "crédits ne correspondront pas à la balance générale."
#. module: account_financial_report
#: model:ir.model.fields,help:account_financial_report.field_trial_balance_report_wizard__show_hierarchy
msgid "Use when your account groups are hierarchical"
msgstr ""
#. module: account_financial_report #. module: account_financial_report
#: model:ir.actions.act_window,name:account_financial_report.action_vat_report_wizard #: model:ir.actions.act_window,name:account_financial_report.action_vat_report_wizard
#: model:ir.actions.report,name:account_financial_report.action_print_report_vat_report_html #: model:ir.actions.report,name:account_financial_report.action_print_report_vat_report_html
@ -1841,3 +1809,36 @@ msgstr "Largeur : 38,92%;"
#: model_terms:ir.ui.view,arch_db:account_financial_report.report_journal_ledger_journal_table_header #: model_terms:ir.ui.view,arch_db:account_financial_report.report_journal_ledger_journal_table_header
msgid "width: 8.11%;" msgid "width: 8.11%;"
msgstr "largeur : 8.11% ;" msgstr "largeur : 8.11% ;"
#~ msgid "Child Accounts"
#~ msgstr "Comptes enfants"
#~ msgid "Computed Accounts"
#~ msgstr "Comptes calculés"
#~ msgid ""
#~ "Computed Accounts: Use when the account group have codes\n"
#~ " that represent prefixes of the actual accounts.\n"
#~ "\n"
#~ " Child Accounts: Use when your account groups are hierarchical.\n"
#~ "\n"
#~ " No hierarchy: Use to display just the accounts, without any "
#~ "grouping.\n"
#~ " "
#~ msgstr ""
#~ "Comptes calculés: À utiliser lorsque les groupes de comptes ont des "
#~ "codes\n"
#~ " qui représentent des préfixes des comptes actuels.\n"
#~ "\n"
#~ " Comptes enfants: À utiliser lorsque vos groupes de comptes sont "
#~ "hiérarchisés.\n"
#~ "\n"
#~ " Pas de hiérarchie: À utiliser pour n'afficher que les comptes "
#~ "sans aucun groupement.\n"
#~ " "
#~ msgid "Hierarchy On"
#~ msgstr "Hiérarchiser sur"
#~ msgid "No hierarchy"
#~ msgstr "Sans hiérarchie"

View File

@ -377,11 +377,6 @@ msgstr ""
msgid "Centralized" msgid "Centralized"
msgstr "" msgstr ""
#. module: account_financial_report
#: model:ir.model.fields.selection,name:account_financial_report.selection__trial_balance_report_wizard__hierarchy_on__relation
msgid "Child Accounts"
msgstr ""
#. module: account_financial_report #. module: account_financial_report
#: model:ir.model.fields,field_description:account_financial_report.field_account_group__group_child_ids #: model:ir.model.fields,field_description:account_financial_report.field_account_group__group_child_ids
msgid "Child Groups" msgid "Child Groups"
@ -414,24 +409,6 @@ msgstr "Tvrtka"
msgid "Compute accounts" msgid "Compute accounts"
msgstr "" msgstr ""
#. module: account_financial_report
#: model:ir.model.fields.selection,name:account_financial_report.selection__trial_balance_report_wizard__hierarchy_on__computed
msgid "Computed Accounts"
msgstr ""
#. module: account_financial_report
#: model:ir.model.fields,help:account_financial_report.field_trial_balance_report_wizard__hierarchy_on
msgid ""
"Computed Accounts: Use when the account group have codes\n"
" that represent prefixes of the actual accounts.\n"
"\n"
" Child Accounts: Use when your account groups are hierarchical.\n"
"\n"
" No hierarchy: Use to display just the accounts, without any "
"grouping.\n"
" "
msgstr ""
#. module: account_financial_report #. module: account_financial_report
#: model:ir.model.fields,field_description:account_financial_report.field_aged_partner_balance_report_wizard__create_uid #: model:ir.model.fields,field_description:account_financial_report.field_aged_partner_balance_report_wizard__create_uid
#: model:ir.model.fields,field_description:account_financial_report.field_general_ledger_report_wizard__create_uid #: model:ir.model.fields,field_description:account_financial_report.field_general_ledger_report_wizard__create_uid
@ -928,11 +905,6 @@ msgstr ""
msgid "Hierarchy Levels to display" msgid "Hierarchy Levels to display"
msgstr "" msgstr ""
#. module: account_financial_report
#: model:ir.model.fields,field_description:account_financial_report.field_trial_balance_report_wizard__hierarchy_on
msgid "Hierarchy On"
msgstr ""
#. module: account_financial_report #. module: account_financial_report
#: model:ir.model.fields,field_description:account_financial_report.field_account_account__id #: model:ir.model.fields,field_description:account_financial_report.field_account_account__id
#: model:ir.model.fields,field_description:account_financial_report.field_account_financial_report_abstract_wizard__id #: model:ir.model.fields,field_description:account_financial_report.field_account_financial_report_abstract_wizard__id
@ -1167,11 +1139,6 @@ msgstr ""
msgid "No group" msgid "No group"
msgstr "" msgstr ""
#. module: account_financial_report
#: model:ir.model.fields.selection,name:account_financial_report.selection__trial_balance_report_wizard__hierarchy_on__none
msgid "No hierarchy"
msgstr ""
#. module: account_financial_report #. module: account_financial_report
#: code:addons/account_financial_report/report/trial_balance_xlsx.py:0 #: code:addons/account_financial_report/report/trial_balance_xlsx.py:0
#: model_terms:ir.ui.view,arch_db:account_financial_report.report_trial_balance_filters #: model_terms:ir.ui.view,arch_db:account_financial_report.report_trial_balance_filters
@ -1456,6 +1423,11 @@ msgstr ""
msgid "Show foreign currency" msgid "Show foreign currency"
msgstr "" msgstr ""
#. module: account_financial_report
#: model:ir.model.fields,field_description:account_financial_report.field_trial_balance_report_wizard__show_hierarchy
msgid "Show hierarchy"
msgstr ""
#. module: account_financial_report #. module: account_financial_report
#: model:ir.model.fields,field_description:account_financial_report.field_journal_ledger_report_wizard__sort_option #: model:ir.model.fields,field_description:account_financial_report.field_journal_ledger_report_wizard__sort_option
msgid "Sort entries by" msgid "Sort entries by"
@ -1669,6 +1641,11 @@ msgid ""
"balance." "balance."
msgstr "" msgstr ""
#. module: account_financial_report
#: model:ir.model.fields,help:account_financial_report.field_trial_balance_report_wizard__show_hierarchy
msgid "Use when your account groups are hierarchical"
msgstr ""
#. module: account_financial_report #. module: account_financial_report
#: model:ir.actions.act_window,name:account_financial_report.action_vat_report_wizard #: model:ir.actions.act_window,name:account_financial_report.action_vat_report_wizard
#: model:ir.actions.report,name:account_financial_report.action_print_report_vat_report_html #: model:ir.actions.report,name:account_financial_report.action_print_report_vat_report_html

View File

@ -385,11 +385,6 @@ msgstr ""
msgid "Centralized" msgid "Centralized"
msgstr "" msgstr ""
#. module: account_financial_report
#: model:ir.model.fields.selection,name:account_financial_report.selection__trial_balance_report_wizard__hierarchy_on__relation
msgid "Child Accounts"
msgstr ""
#. module: account_financial_report #. module: account_financial_report
#: model:ir.model.fields,field_description:account_financial_report.field_account_group__group_child_ids #: model:ir.model.fields,field_description:account_financial_report.field_account_group__group_child_ids
msgid "Child Groups" msgid "Child Groups"
@ -422,24 +417,6 @@ msgstr "Tvrtka"
msgid "Compute accounts" msgid "Compute accounts"
msgstr "" msgstr ""
#. module: account_financial_report
#: model:ir.model.fields.selection,name:account_financial_report.selection__trial_balance_report_wizard__hierarchy_on__computed
msgid "Computed Accounts"
msgstr ""
#. module: account_financial_report
#: model:ir.model.fields,help:account_financial_report.field_trial_balance_report_wizard__hierarchy_on
msgid ""
"Computed Accounts: Use when the account group have codes\n"
" that represent prefixes of the actual accounts.\n"
"\n"
" Child Accounts: Use when your account groups are hierarchical.\n"
"\n"
" No hierarchy: Use to display just the accounts, without any "
"grouping.\n"
" "
msgstr ""
#. module: account_financial_report #. module: account_financial_report
#: model:ir.model.fields,field_description:account_financial_report.field_aged_partner_balance_report_wizard__create_uid #: model:ir.model.fields,field_description:account_financial_report.field_aged_partner_balance_report_wizard__create_uid
#: model:ir.model.fields,field_description:account_financial_report.field_general_ledger_report_wizard__create_uid #: model:ir.model.fields,field_description:account_financial_report.field_general_ledger_report_wizard__create_uid
@ -936,11 +913,6 @@ msgstr ""
msgid "Hierarchy Levels to display" msgid "Hierarchy Levels to display"
msgstr "" msgstr ""
#. module: account_financial_report
#: model:ir.model.fields,field_description:account_financial_report.field_trial_balance_report_wizard__hierarchy_on
msgid "Hierarchy On"
msgstr ""
#. module: account_financial_report #. module: account_financial_report
#: model:ir.model.fields,field_description:account_financial_report.field_account_account__id #: model:ir.model.fields,field_description:account_financial_report.field_account_account__id
#: model:ir.model.fields,field_description:account_financial_report.field_account_financial_report_abstract_wizard__id #: model:ir.model.fields,field_description:account_financial_report.field_account_financial_report_abstract_wizard__id
@ -1175,11 +1147,6 @@ msgstr ""
msgid "No group" msgid "No group"
msgstr "" msgstr ""
#. module: account_financial_report
#: model:ir.model.fields.selection,name:account_financial_report.selection__trial_balance_report_wizard__hierarchy_on__none
msgid "No hierarchy"
msgstr ""
#. module: account_financial_report #. module: account_financial_report
#: code:addons/account_financial_report/report/trial_balance_xlsx.py:0 #: code:addons/account_financial_report/report/trial_balance_xlsx.py:0
#: model_terms:ir.ui.view,arch_db:account_financial_report.report_trial_balance_filters #: model_terms:ir.ui.view,arch_db:account_financial_report.report_trial_balance_filters
@ -1464,6 +1431,11 @@ msgstr ""
msgid "Show foreign currency" msgid "Show foreign currency"
msgstr "" msgstr ""
#. module: account_financial_report
#: model:ir.model.fields,field_description:account_financial_report.field_trial_balance_report_wizard__show_hierarchy
msgid "Show hierarchy"
msgstr ""
#. module: account_financial_report #. module: account_financial_report
#: model:ir.model.fields,field_description:account_financial_report.field_journal_ledger_report_wizard__sort_option #: model:ir.model.fields,field_description:account_financial_report.field_journal_ledger_report_wizard__sort_option
msgid "Sort entries by" msgid "Sort entries by"
@ -1680,6 +1652,11 @@ msgid ""
"balance." "balance."
msgstr "" msgstr ""
#. module: account_financial_report
#: model:ir.model.fields,help:account_financial_report.field_trial_balance_report_wizard__show_hierarchy
msgid "Use when your account groups are hierarchical"
msgstr ""
#. module: account_financial_report #. module: account_financial_report
#: model:ir.actions.act_window,name:account_financial_report.action_vat_report_wizard #: model:ir.actions.act_window,name:account_financial_report.action_vat_report_wizard
#: model:ir.actions.report,name:account_financial_report.action_print_report_vat_report_html #: model:ir.actions.report,name:account_financial_report.action_print_report_vat_report_html

View File

@ -7,7 +7,7 @@ msgstr ""
"Project-Id-Version: Odoo Server 12.0\n" "Project-Id-Version: Odoo Server 12.0\n"
"Report-Msgid-Bugs-To: \n" "Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2019-06-03 12:07+0000\n" "POT-Creation-Date: 2019-06-03 12:07+0000\n"
"PO-Revision-Date: 2021-12-03 12:36+0000\n" "PO-Revision-Date: 2022-04-12 18:05+0000\n"
"Last-Translator: Francesco Foresti <francesco.foresti@ooops404.com>\n" "Last-Translator: Francesco Foresti <francesco.foresti@ooops404.com>\n"
"Language-Team: \n" "Language-Team: \n"
"Language: it\n" "Language: it\n"
@ -321,9 +321,9 @@ msgstr "Importo val."
#. module: account_financial_report #. module: account_financial_report
#: code:addons/account_financial_report/report/general_ledger_xlsx.py:0 #: code:addons/account_financial_report/report/general_ledger_xlsx.py:0
#: model_terms:ir.ui.view,arch_db:account_financial_report.report_general_ledger_lines #: model_terms:ir.ui.view,arch_db:account_financial_report.report_general_ledger_lines
#, fuzzy, python-format #, python-format
msgid "Analytic Account" msgid "Analytic Account"
msgstr "Filtro conto" msgstr "Conto analitico"
#. module: account_financial_report #. module: account_financial_report
#: model_terms:ir.ui.view,arch_db:account_financial_report.report_journal_all_taxes #: model_terms:ir.ui.view,arch_db:account_financial_report.report_journal_all_taxes
@ -389,11 +389,6 @@ msgstr "Filtro centralizzazione"
msgid "Centralized" msgid "Centralized"
msgstr "Centralizzato" msgstr "Centralizzato"
#. module: account_financial_report
#: model:ir.model.fields.selection,name:account_financial_report.selection__trial_balance_report_wizard__hierarchy_on__relation
msgid "Child Accounts"
msgstr "Conti figli"
#. module: account_financial_report #. module: account_financial_report
#: model:ir.model.fields,field_description:account_financial_report.field_account_group__group_child_ids #: model:ir.model.fields,field_description:account_financial_report.field_account_group__group_child_ids
msgid "Child Groups" msgid "Child Groups"
@ -426,32 +421,6 @@ msgstr "Azienda"
msgid "Compute accounts" msgid "Compute accounts"
msgstr "Calcolare conti" msgstr "Calcolare conti"
#. module: account_financial_report
#: model:ir.model.fields.selection,name:account_financial_report.selection__trial_balance_report_wizard__hierarchy_on__computed
msgid "Computed Accounts"
msgstr "Conti calcolati"
#. module: account_financial_report
#: model:ir.model.fields,help:account_financial_report.field_trial_balance_report_wizard__hierarchy_on
msgid ""
"Computed Accounts: Use when the account group have codes\n"
" that represent prefixes of the actual accounts.\n"
"\n"
" Child Accounts: Use when your account groups are hierarchical.\n"
"\n"
" No hierarchy: Use to display just the accounts, without any "
"grouping.\n"
" "
msgstr ""
"Conti calcolati: utilizzato quando i gruppi di conti hanno codici\n"
" che rappresentano il prefisso dei conti effettivi.\n"
"\n"
" Conti figli: utilizzato quando i gruppi di conti sono gerarchici.\n"
"\n"
" Nessuna gerarchia: utilizzato per visualizzare solo i conti, senza "
"alcun raggruppo.\n"
" "
#. module: account_financial_report #. module: account_financial_report
#: model:ir.model.fields,field_description:account_financial_report.field_aged_partner_balance_report_wizard__create_uid #: model:ir.model.fields,field_description:account_financial_report.field_aged_partner_balance_report_wizard__create_uid
#: model:ir.model.fields,field_description:account_financial_report.field_general_ledger_report_wizard__create_uid #: model:ir.model.fields,field_description:account_financial_report.field_general_ledger_report_wizard__create_uid
@ -964,11 +933,6 @@ msgstr "Nascondere conti a 0"
msgid "Hierarchy Levels to display" msgid "Hierarchy Levels to display"
msgstr "Livelli da mostrare" msgstr "Livelli da mostrare"
#. module: account_financial_report
#: model:ir.model.fields,field_description:account_financial_report.field_trial_balance_report_wizard__hierarchy_on
msgid "Hierarchy On"
msgstr "Gerarchia su"
#. module: account_financial_report #. module: account_financial_report
#: model:ir.model.fields,field_description:account_financial_report.field_account_account__id #: model:ir.model.fields,field_description:account_financial_report.field_account_account__id
#: model:ir.model.fields,field_description:account_financial_report.field_account_financial_report_abstract_wizard__id #: model:ir.model.fields,field_description:account_financial_report.field_account_financial_report_abstract_wizard__id
@ -1208,11 +1172,6 @@ msgstr ""
msgid "No group" msgid "No group"
msgstr "" msgstr ""
#. module: account_financial_report
#: model:ir.model.fields.selection,name:account_financial_report.selection__trial_balance_report_wizard__hierarchy_on__none
msgid "No hierarchy"
msgstr "Nessuna gerarchia"
#. module: account_financial_report #. module: account_financial_report
#: code:addons/account_financial_report/report/trial_balance_xlsx.py:0 #: code:addons/account_financial_report/report/trial_balance_xlsx.py:0
#: model_terms:ir.ui.view,arch_db:account_financial_report.report_trial_balance_filters #: model_terms:ir.ui.view,arch_db:account_financial_report.report_trial_balance_filters
@ -1508,6 +1467,11 @@ msgstr "Mostrare tag analitici"
msgid "Show foreign currency" msgid "Show foreign currency"
msgstr "Mostrare valuta estera" msgstr "Mostrare valuta estera"
#. module: account_financial_report
#: model:ir.model.fields,field_description:account_financial_report.field_trial_balance_report_wizard__show_hierarchy
msgid "Show hierarchy"
msgstr ""
#. module: account_financial_report #. module: account_financial_report
#: model:ir.model.fields,field_description:account_financial_report.field_journal_ledger_report_wizard__sort_option #: model:ir.model.fields,field_description:account_financial_report.field_journal_ledger_report_wizard__sort_option
msgid "Sort entries by" msgid "Sort entries by"
@ -1723,6 +1687,11 @@ msgid ""
"balance." "balance."
msgstr "" msgstr ""
#. module: account_financial_report
#: model:ir.model.fields,help:account_financial_report.field_trial_balance_report_wizard__show_hierarchy
msgid "Use when your account groups are hierarchical"
msgstr ""
#. module: account_financial_report #. module: account_financial_report
#: model:ir.actions.act_window,name:account_financial_report.action_vat_report_wizard #: model:ir.actions.act_window,name:account_financial_report.action_vat_report_wizard
#: model:ir.actions.report,name:account_financial_report.action_print_report_vat_report_html #: model:ir.actions.report,name:account_financial_report.action_print_report_vat_report_html
@ -1856,6 +1825,38 @@ msgstr ""
msgid "width: 8.11%;" msgid "width: 8.11%;"
msgstr "" msgstr ""
#~ msgid "Child Accounts"
#~ msgstr "Conti figli"
#~ msgid "Computed Accounts"
#~ msgstr "Conti calcolati"
#~ msgid ""
#~ "Computed Accounts: Use when the account group have codes\n"
#~ " that represent prefixes of the actual accounts.\n"
#~ "\n"
#~ " Child Accounts: Use when your account groups are hierarchical.\n"
#~ "\n"
#~ " No hierarchy: Use to display just the accounts, without any "
#~ "grouping.\n"
#~ " "
#~ msgstr ""
#~ "Conti calcolati: utilizzato quando i gruppi di conti hanno codici\n"
#~ " che rappresentano il prefisso dei conti effettivi.\n"
#~ "\n"
#~ " Conti figli: utilizzato quando i gruppi di conti sono "
#~ "gerarchici.\n"
#~ "\n"
#~ " Nessuna gerarchia: utilizzato per visualizzare solo i conti, "
#~ "senza alcun raggruppo.\n"
#~ " "
#~ msgid "Hierarchy On"
#~ msgstr "Gerarchia su"
#~ msgid "No hierarchy"
#~ msgstr "Nessuna gerarchia"
#~ msgid "<span class=\"fa fa-download\"/> Export" #~ msgid "<span class=\"fa fa-download\"/> Export"
#~ msgstr "<span class=\"fa fa-download\"/> Esporta" #~ msgstr "<span class=\"fa fa-download\"/> Esporta"

View File

@ -378,11 +378,6 @@ msgstr ""
msgid "Centralized" msgid "Centralized"
msgstr "" msgstr ""
#. module: account_financial_report
#: model:ir.model.fields.selection,name:account_financial_report.selection__trial_balance_report_wizard__hierarchy_on__relation
msgid "Child Accounts"
msgstr ""
#. module: account_financial_report #. module: account_financial_report
#: model:ir.model.fields,field_description:account_financial_report.field_account_group__group_child_ids #: model:ir.model.fields,field_description:account_financial_report.field_account_group__group_child_ids
msgid "Child Groups" msgid "Child Groups"
@ -415,24 +410,6 @@ msgstr ""
msgid "Compute accounts" msgid "Compute accounts"
msgstr "" msgstr ""
#. module: account_financial_report
#: model:ir.model.fields.selection,name:account_financial_report.selection__trial_balance_report_wizard__hierarchy_on__computed
msgid "Computed Accounts"
msgstr ""
#. module: account_financial_report
#: model:ir.model.fields,help:account_financial_report.field_trial_balance_report_wizard__hierarchy_on
msgid ""
"Computed Accounts: Use when the account group have codes\n"
" that represent prefixes of the actual accounts.\n"
"\n"
" Child Accounts: Use when your account groups are hierarchical.\n"
"\n"
" No hierarchy: Use to display just the accounts, without any "
"grouping.\n"
" "
msgstr ""
#. module: account_financial_report #. module: account_financial_report
#: model:ir.model.fields,field_description:account_financial_report.field_aged_partner_balance_report_wizard__create_uid #: model:ir.model.fields,field_description:account_financial_report.field_aged_partner_balance_report_wizard__create_uid
#: model:ir.model.fields,field_description:account_financial_report.field_general_ledger_report_wizard__create_uid #: model:ir.model.fields,field_description:account_financial_report.field_general_ledger_report_wizard__create_uid
@ -929,11 +906,6 @@ msgstr ""
msgid "Hierarchy Levels to display" msgid "Hierarchy Levels to display"
msgstr "" msgstr ""
#. module: account_financial_report
#: model:ir.model.fields,field_description:account_financial_report.field_trial_balance_report_wizard__hierarchy_on
msgid "Hierarchy On"
msgstr ""
#. module: account_financial_report #. module: account_financial_report
#: model:ir.model.fields,field_description:account_financial_report.field_account_account__id #: model:ir.model.fields,field_description:account_financial_report.field_account_account__id
#: model:ir.model.fields,field_description:account_financial_report.field_account_financial_report_abstract_wizard__id #: model:ir.model.fields,field_description:account_financial_report.field_account_financial_report_abstract_wizard__id
@ -1168,11 +1140,6 @@ msgstr ""
msgid "No group" msgid "No group"
msgstr "" msgstr ""
#. module: account_financial_report
#: model:ir.model.fields.selection,name:account_financial_report.selection__trial_balance_report_wizard__hierarchy_on__none
msgid "No hierarchy"
msgstr ""
#. module: account_financial_report #. module: account_financial_report
#: code:addons/account_financial_report/report/trial_balance_xlsx.py:0 #: code:addons/account_financial_report/report/trial_balance_xlsx.py:0
#: model_terms:ir.ui.view,arch_db:account_financial_report.report_trial_balance_filters #: model_terms:ir.ui.view,arch_db:account_financial_report.report_trial_balance_filters
@ -1457,6 +1424,11 @@ msgstr ""
msgid "Show foreign currency" msgid "Show foreign currency"
msgstr "" msgstr ""
#. module: account_financial_report
#: model:ir.model.fields,field_description:account_financial_report.field_trial_balance_report_wizard__show_hierarchy
msgid "Show hierarchy"
msgstr ""
#. module: account_financial_report #. module: account_financial_report
#: model:ir.model.fields,field_description:account_financial_report.field_journal_ledger_report_wizard__sort_option #: model:ir.model.fields,field_description:account_financial_report.field_journal_ledger_report_wizard__sort_option
msgid "Sort entries by" msgid "Sort entries by"
@ -1670,6 +1642,11 @@ msgid ""
"balance." "balance."
msgstr "" msgstr ""
#. module: account_financial_report
#: model:ir.model.fields,help:account_financial_report.field_trial_balance_report_wizard__show_hierarchy
msgid "Use when your account groups are hierarchical"
msgstr ""
#. module: account_financial_report #. module: account_financial_report
#: model:ir.actions.act_window,name:account_financial_report.action_vat_report_wizard #: model:ir.actions.act_window,name:account_financial_report.action_vat_report_wizard
#: model:ir.actions.report,name:account_financial_report.action_print_report_vat_report_html #: model:ir.actions.report,name:account_financial_report.action_print_report_vat_report_html

View File

@ -392,11 +392,6 @@ msgstr "Centralisatie filter"
msgid "Centralized" msgid "Centralized"
msgstr "Gecentraliseerd" msgstr "Gecentraliseerd"
#. module: account_financial_report
#: model:ir.model.fields.selection,name:account_financial_report.selection__trial_balance_report_wizard__hierarchy_on__relation
msgid "Child Accounts"
msgstr "Onderliggende rekeningen"
#. module: account_financial_report #. module: account_financial_report
#: model:ir.model.fields,field_description:account_financial_report.field_account_group__group_child_ids #: model:ir.model.fields,field_description:account_financial_report.field_account_group__group_child_ids
msgid "Child Groups" msgid "Child Groups"
@ -430,24 +425,6 @@ msgstr "Bedrijf"
msgid "Compute accounts" msgid "Compute accounts"
msgstr "Berekende rekeningen" msgstr "Berekende rekeningen"
#. module: account_financial_report
#: model:ir.model.fields.selection,name:account_financial_report.selection__trial_balance_report_wizard__hierarchy_on__computed
msgid "Computed Accounts"
msgstr "Berekende rekeningen"
#. module: account_financial_report
#: model:ir.model.fields,help:account_financial_report.field_trial_balance_report_wizard__hierarchy_on
msgid ""
"Computed Accounts: Use when the account group have codes\n"
" that represent prefixes of the actual accounts.\n"
"\n"
" Child Accounts: Use when your account groups are hierarchical.\n"
"\n"
" No hierarchy: Use to display just the accounts, without any "
"grouping.\n"
" "
msgstr ""
#. module: account_financial_report #. module: account_financial_report
#: model:ir.model.fields,field_description:account_financial_report.field_aged_partner_balance_report_wizard__create_uid #: model:ir.model.fields,field_description:account_financial_report.field_aged_partner_balance_report_wizard__create_uid
#: model:ir.model.fields,field_description:account_financial_report.field_general_ledger_report_wizard__create_uid #: model:ir.model.fields,field_description:account_financial_report.field_general_ledger_report_wizard__create_uid
@ -965,11 +942,6 @@ msgstr "Verberg rekeningen met balans 0"
msgid "Hierarchy Levels to display" msgid "Hierarchy Levels to display"
msgstr "Hierarchie niveaus om weer te geven" msgstr "Hierarchie niveaus om weer te geven"
#. module: account_financial_report
#: model:ir.model.fields,field_description:account_financial_report.field_trial_balance_report_wizard__hierarchy_on
msgid "Hierarchy On"
msgstr "Hiërarchie aan"
#. module: account_financial_report #. module: account_financial_report
#: model:ir.model.fields,field_description:account_financial_report.field_account_account__id #: model:ir.model.fields,field_description:account_financial_report.field_account_account__id
#: model:ir.model.fields,field_description:account_financial_report.field_account_financial_report_abstract_wizard__id #: model:ir.model.fields,field_description:account_financial_report.field_account_financial_report_abstract_wizard__id
@ -1215,11 +1187,6 @@ msgstr "Nee"
msgid "No group" msgid "No group"
msgstr "Geen groep" msgstr "Geen groep"
#. module: account_financial_report
#: model:ir.model.fields.selection,name:account_financial_report.selection__trial_balance_report_wizard__hierarchy_on__none
msgid "No hierarchy"
msgstr "Geen Hiërarchie"
#. module: account_financial_report #. module: account_financial_report
#: code:addons/account_financial_report/report/trial_balance_xlsx.py:0 #: code:addons/account_financial_report/report/trial_balance_xlsx.py:0
#: model_terms:ir.ui.view,arch_db:account_financial_report.report_trial_balance_filters #: model_terms:ir.ui.view,arch_db:account_financial_report.report_trial_balance_filters
@ -1515,6 +1482,11 @@ msgstr ""
msgid "Show foreign currency" msgid "Show foreign currency"
msgstr "Toon buitenlandse valuta" msgstr "Toon buitenlandse valuta"
#. module: account_financial_report
#: model:ir.model.fields,field_description:account_financial_report.field_trial_balance_report_wizard__show_hierarchy
msgid "Show hierarchy"
msgstr ""
#. module: account_financial_report #. module: account_financial_report
#: model:ir.model.fields,field_description:account_financial_report.field_journal_ledger_report_wizard__sort_option #: model:ir.model.fields,field_description:account_financial_report.field_journal_ledger_report_wizard__sort_option
msgid "Sort entries by" msgid "Sort entries by"
@ -1735,6 +1707,11 @@ msgstr ""
"verbergen. Als partners zijn gefilterd, komen de debet- en credit totalen " "verbergen. Als partners zijn gefilterd, komen de debet- en credit totalen "
"niet overeen met de proefbalans." "niet overeen met de proefbalans."
#. module: account_financial_report
#: model:ir.model.fields,help:account_financial_report.field_trial_balance_report_wizard__show_hierarchy
msgid "Use when your account groups are hierarchical"
msgstr ""
#. module: account_financial_report #. module: account_financial_report
#: model:ir.actions.act_window,name:account_financial_report.action_vat_report_wizard #: model:ir.actions.act_window,name:account_financial_report.action_vat_report_wizard
#: model:ir.actions.report,name:account_financial_report.action_print_report_vat_report_html #: model:ir.actions.report,name:account_financial_report.action_print_report_vat_report_html
@ -1873,6 +1850,18 @@ msgstr "breedte: 38.92%;"
msgid "width: 8.11%;" msgid "width: 8.11%;"
msgstr "breedte: 8.11%;" msgstr "breedte: 8.11%;"
#~ msgid "Child Accounts"
#~ msgstr "Onderliggende rekeningen"
#~ msgid "Computed Accounts"
#~ msgstr "Berekende rekeningen"
#~ msgid "Hierarchy On"
#~ msgstr "Hiërarchie aan"
#~ msgid "No hierarchy"
#~ msgstr "Geen Hiërarchie"
#~ msgid "<span class=\"fa fa-download\"/> Export" #~ msgid "<span class=\"fa fa-download\"/> Export"
#~ msgstr "Exporteren" #~ msgstr "Exporteren"

View File

@ -384,11 +384,6 @@ msgstr ""
msgid "Centralized" msgid "Centralized"
msgstr "" msgstr ""
#. module: account_financial_report
#: model:ir.model.fields.selection,name:account_financial_report.selection__trial_balance_report_wizard__hierarchy_on__relation
msgid "Child Accounts"
msgstr ""
#. module: account_financial_report #. module: account_financial_report
#: model:ir.model.fields,field_description:account_financial_report.field_account_group__group_child_ids #: model:ir.model.fields,field_description:account_financial_report.field_account_group__group_child_ids
msgid "Child Groups" msgid "Child Groups"
@ -421,24 +416,6 @@ msgstr "Bedrijf"
msgid "Compute accounts" msgid "Compute accounts"
msgstr "" msgstr ""
#. module: account_financial_report
#: model:ir.model.fields.selection,name:account_financial_report.selection__trial_balance_report_wizard__hierarchy_on__computed
msgid "Computed Accounts"
msgstr ""
#. module: account_financial_report
#: model:ir.model.fields,help:account_financial_report.field_trial_balance_report_wizard__hierarchy_on
msgid ""
"Computed Accounts: Use when the account group have codes\n"
" that represent prefixes of the actual accounts.\n"
"\n"
" Child Accounts: Use when your account groups are hierarchical.\n"
"\n"
" No hierarchy: Use to display just the accounts, without any "
"grouping.\n"
" "
msgstr ""
#. module: account_financial_report #. module: account_financial_report
#: model:ir.model.fields,field_description:account_financial_report.field_aged_partner_balance_report_wizard__create_uid #: model:ir.model.fields,field_description:account_financial_report.field_aged_partner_balance_report_wizard__create_uid
#: model:ir.model.fields,field_description:account_financial_report.field_general_ledger_report_wizard__create_uid #: model:ir.model.fields,field_description:account_financial_report.field_general_ledger_report_wizard__create_uid
@ -935,11 +912,6 @@ msgstr ""
msgid "Hierarchy Levels to display" msgid "Hierarchy Levels to display"
msgstr "" msgstr ""
#. module: account_financial_report
#: model:ir.model.fields,field_description:account_financial_report.field_trial_balance_report_wizard__hierarchy_on
msgid "Hierarchy On"
msgstr ""
#. module: account_financial_report #. module: account_financial_report
#: model:ir.model.fields,field_description:account_financial_report.field_account_account__id #: model:ir.model.fields,field_description:account_financial_report.field_account_account__id
#: model:ir.model.fields,field_description:account_financial_report.field_account_financial_report_abstract_wizard__id #: model:ir.model.fields,field_description:account_financial_report.field_account_financial_report_abstract_wizard__id
@ -1174,11 +1146,6 @@ msgstr ""
msgid "No group" msgid "No group"
msgstr "" msgstr ""
#. module: account_financial_report
#: model:ir.model.fields.selection,name:account_financial_report.selection__trial_balance_report_wizard__hierarchy_on__none
msgid "No hierarchy"
msgstr ""
#. module: account_financial_report #. module: account_financial_report
#: code:addons/account_financial_report/report/trial_balance_xlsx.py:0 #: code:addons/account_financial_report/report/trial_balance_xlsx.py:0
#: model_terms:ir.ui.view,arch_db:account_financial_report.report_trial_balance_filters #: model_terms:ir.ui.view,arch_db:account_financial_report.report_trial_balance_filters
@ -1463,6 +1430,11 @@ msgstr ""
msgid "Show foreign currency" msgid "Show foreign currency"
msgstr "" msgstr ""
#. module: account_financial_report
#: model:ir.model.fields,field_description:account_financial_report.field_trial_balance_report_wizard__show_hierarchy
msgid "Show hierarchy"
msgstr ""
#. module: account_financial_report #. module: account_financial_report
#: model:ir.model.fields,field_description:account_financial_report.field_journal_ledger_report_wizard__sort_option #: model:ir.model.fields,field_description:account_financial_report.field_journal_ledger_report_wizard__sort_option
msgid "Sort entries by" msgid "Sort entries by"
@ -1679,6 +1651,11 @@ msgid ""
"balance." "balance."
msgstr "" msgstr ""
#. module: account_financial_report
#: model:ir.model.fields,help:account_financial_report.field_trial_balance_report_wizard__show_hierarchy
msgid "Use when your account groups are hierarchical"
msgstr ""
#. module: account_financial_report #. module: account_financial_report
#: model:ir.actions.act_window,name:account_financial_report.action_vat_report_wizard #: model:ir.actions.act_window,name:account_financial_report.action_vat_report_wizard
#: model:ir.actions.report,name:account_financial_report.action_print_report_vat_report_html #: model:ir.actions.report,name:account_financial_report.action_print_report_vat_report_html

View File

@ -378,11 +378,6 @@ msgstr "Filtro de Centralização"
msgid "Centralized" msgid "Centralized"
msgstr "Centralizado" msgstr "Centralizado"
#. module: account_financial_report
#: model:ir.model.fields.selection,name:account_financial_report.selection__trial_balance_report_wizard__hierarchy_on__relation
msgid "Child Accounts"
msgstr "Contas Descendentes"
#. module: account_financial_report #. module: account_financial_report
#: model:ir.model.fields,field_description:account_financial_report.field_account_group__group_child_ids #: model:ir.model.fields,field_description:account_financial_report.field_account_group__group_child_ids
msgid "Child Groups" msgid "Child Groups"
@ -415,33 +410,6 @@ msgstr "Empresa"
msgid "Compute accounts" msgid "Compute accounts"
msgstr "Calcular contas" msgstr "Calcular contas"
#. module: account_financial_report
#: model:ir.model.fields.selection,name:account_financial_report.selection__trial_balance_report_wizard__hierarchy_on__computed
msgid "Computed Accounts"
msgstr "Calcular Contas"
#. module: account_financial_report
#: model:ir.model.fields,help:account_financial_report.field_trial_balance_report_wizard__hierarchy_on
msgid ""
"Computed Accounts: Use when the account group have codes\n"
" that represent prefixes of the actual accounts.\n"
"\n"
" Child Accounts: Use when your account groups are hierarchical.\n"
"\n"
" No hierarchy: Use to display just the accounts, without any "
"grouping.\n"
" "
msgstr ""
"Contas Calculadas: Usar quando o grupo de contas tem códigos\n"
" que representam prefixos das contas reais.\n"
"\n"
" Contas Descendentes: Usar quando o grupo de contas tem estrutura "
"hierárquica.\n"
"\n"
" Sem hierarquia: Usar para exibir apenas as contas, sem qualquer "
"agrupmento.\n"
" "
#. module: account_financial_report #. module: account_financial_report
#: model:ir.model.fields,field_description:account_financial_report.field_aged_partner_balance_report_wizard__create_uid #: model:ir.model.fields,field_description:account_financial_report.field_aged_partner_balance_report_wizard__create_uid
#: model:ir.model.fields,field_description:account_financial_report.field_general_ledger_report_wizard__create_uid #: model:ir.model.fields,field_description:account_financial_report.field_general_ledger_report_wizard__create_uid
@ -943,11 +911,6 @@ msgstr "Esconder contas a 0"
msgid "Hierarchy Levels to display" msgid "Hierarchy Levels to display"
msgstr "Níveis Hierárquicos a exibir" msgstr "Níveis Hierárquicos a exibir"
#. module: account_financial_report
#: model:ir.model.fields,field_description:account_financial_report.field_trial_balance_report_wizard__hierarchy_on
msgid "Hierarchy On"
msgstr "Hierarquia em"
#. module: account_financial_report #. module: account_financial_report
#: model:ir.model.fields,field_description:account_financial_report.field_account_account__id #: model:ir.model.fields,field_description:account_financial_report.field_account_account__id
#: model:ir.model.fields,field_description:account_financial_report.field_account_financial_report_abstract_wizard__id #: model:ir.model.fields,field_description:account_financial_report.field_account_financial_report_abstract_wizard__id
@ -1186,11 +1149,6 @@ msgstr "Não"
msgid "No group" msgid "No group"
msgstr "Sem grupo" msgstr "Sem grupo"
#. module: account_financial_report
#: model:ir.model.fields.selection,name:account_financial_report.selection__trial_balance_report_wizard__hierarchy_on__none
msgid "No hierarchy"
msgstr "Sem hierarquia"
#. module: account_financial_report #. module: account_financial_report
#: code:addons/account_financial_report/report/trial_balance_xlsx.py:0 #: code:addons/account_financial_report/report/trial_balance_xlsx.py:0
#: model_terms:ir.ui.view,arch_db:account_financial_report.report_trial_balance_filters #: model_terms:ir.ui.view,arch_db:account_financial_report.report_trial_balance_filters
@ -1479,6 +1437,11 @@ msgstr "Exibir etiquetas analíticas"
msgid "Show foreign currency" msgid "Show foreign currency"
msgstr "Exibir divisa estrangeira" msgstr "Exibir divisa estrangeira"
#. module: account_financial_report
#: model:ir.model.fields,field_description:account_financial_report.field_trial_balance_report_wizard__show_hierarchy
msgid "Show hierarchy"
msgstr ""
#. module: account_financial_report #. module: account_financial_report
#: model:ir.model.fields,field_description:account_financial_report.field_journal_ledger_report_wizard__sort_option #: model:ir.model.fields,field_description:account_financial_report.field_journal_ledger_report_wizard__sort_option
msgid "Sort entries by" msgid "Sort entries by"
@ -1703,6 +1666,11 @@ msgstr ""
"Se filtrarem parceiros, os totais do débito e crédito não serão iguais aos " "Se filtrarem parceiros, os totais do débito e crédito não serão iguais aos "
"do balancete." "do balancete."
#. module: account_financial_report
#: model:ir.model.fields,help:account_financial_report.field_trial_balance_report_wizard__show_hierarchy
msgid "Use when your account groups are hierarchical"
msgstr ""
#. module: account_financial_report #. module: account_financial_report
#: model:ir.actions.act_window,name:account_financial_report.action_vat_report_wizard #: model:ir.actions.act_window,name:account_financial_report.action_vat_report_wizard
#: model:ir.actions.report,name:account_financial_report.action_print_report_vat_report_html #: model:ir.actions.report,name:account_financial_report.action_print_report_vat_report_html
@ -1836,6 +1804,38 @@ msgstr "largura: 38.92%;"
msgid "width: 8.11%;" msgid "width: 8.11%;"
msgstr "largura: 8.11%;" msgstr "largura: 8.11%;"
#~ msgid "Child Accounts"
#~ msgstr "Contas Descendentes"
#~ msgid "Computed Accounts"
#~ msgstr "Calcular Contas"
#~ msgid ""
#~ "Computed Accounts: Use when the account group have codes\n"
#~ " that represent prefixes of the actual accounts.\n"
#~ "\n"
#~ " Child Accounts: Use when your account groups are hierarchical.\n"
#~ "\n"
#~ " No hierarchy: Use to display just the accounts, without any "
#~ "grouping.\n"
#~ " "
#~ msgstr ""
#~ "Contas Calculadas: Usar quando o grupo de contas tem códigos\n"
#~ " que representam prefixos das contas reais.\n"
#~ "\n"
#~ " Contas Descendentes: Usar quando o grupo de contas tem estrutura "
#~ "hierárquica.\n"
#~ "\n"
#~ " Sem hierarquia: Usar para exibir apenas as contas, sem qualquer "
#~ "agrupmento.\n"
#~ " "
#~ msgid "Hierarchy On"
#~ msgstr "Hierarquia em"
#~ msgid "No hierarchy"
#~ msgstr "Sem hierarquia"
#, fuzzy #, fuzzy
#~| msgid "Account" #~| msgid "Account"
#~ msgid "Account ID" #~ msgid "Account ID"

View File

@ -387,11 +387,6 @@ msgstr "Filtro Centralizar"
msgid "Centralized" msgid "Centralized"
msgstr "Centralizado" msgstr "Centralizado"
#. module: account_financial_report
#: model:ir.model.fields.selection,name:account_financial_report.selection__trial_balance_report_wizard__hierarchy_on__relation
msgid "Child Accounts"
msgstr "Contas Filhas"
#. module: account_financial_report #. module: account_financial_report
#: model:ir.model.fields,field_description:account_financial_report.field_account_group__group_child_ids #: model:ir.model.fields,field_description:account_financial_report.field_account_group__group_child_ids
msgid "Child Groups" msgid "Child Groups"
@ -424,32 +419,6 @@ msgstr "Empresa"
msgid "Compute accounts" msgid "Compute accounts"
msgstr "Contas calculadas" msgstr "Contas calculadas"
#. module: account_financial_report
#: model:ir.model.fields.selection,name:account_financial_report.selection__trial_balance_report_wizard__hierarchy_on__computed
msgid "Computed Accounts"
msgstr "Contas Calculadas"
#. module: account_financial_report
#: model:ir.model.fields,help:account_financial_report.field_trial_balance_report_wizard__hierarchy_on
msgid ""
"Computed Accounts: Use when the account group have codes\n"
" that represent prefixes of the actual accounts.\n"
"\n"
" Child Accounts: Use when your account groups are hierarchical.\n"
"\n"
" No hierarchy: Use to display just the accounts, without any "
"grouping.\n"
" "
msgstr ""
"Contas Calculadas: Utilize quando o grupo de contas possui códigos \n"
" que representam prefixos das contas do realizado.\n"
"\n"
" Contas Filhas: Utilize quando o grupo de contas é hierárquico.\n"
"\n"
" Sem hierarquia: Utilize para exibir apenas as contas, sem qualquer "
"agrupamento.\n"
" "
#. module: account_financial_report #. module: account_financial_report
#: model:ir.model.fields,field_description:account_financial_report.field_aged_partner_balance_report_wizard__create_uid #: model:ir.model.fields,field_description:account_financial_report.field_aged_partner_balance_report_wizard__create_uid
#: model:ir.model.fields,field_description:account_financial_report.field_general_ledger_report_wizard__create_uid #: model:ir.model.fields,field_description:account_financial_report.field_general_ledger_report_wizard__create_uid
@ -965,11 +934,6 @@ msgstr "Ocultar contas zeradas"
msgid "Hierarchy Levels to display" msgid "Hierarchy Levels to display"
msgstr "Níveis Hierárquicos para exibir" msgstr "Níveis Hierárquicos para exibir"
#. module: account_financial_report
#: model:ir.model.fields,field_description:account_financial_report.field_trial_balance_report_wizard__hierarchy_on
msgid "Hierarchy On"
msgstr "Hierarquia Habilitada"
#. module: account_financial_report #. module: account_financial_report
#: model:ir.model.fields,field_description:account_financial_report.field_account_account__id #: model:ir.model.fields,field_description:account_financial_report.field_account_account__id
#: model:ir.model.fields,field_description:account_financial_report.field_account_financial_report_abstract_wizard__id #: model:ir.model.fields,field_description:account_financial_report.field_account_financial_report_abstract_wizard__id
@ -1213,11 +1177,6 @@ msgstr "Não"
msgid "No group" msgid "No group"
msgstr "Sem grupo" msgstr "Sem grupo"
#. module: account_financial_report
#: model:ir.model.fields.selection,name:account_financial_report.selection__trial_balance_report_wizard__hierarchy_on__none
msgid "No hierarchy"
msgstr "Sem hierarquia"
#. module: account_financial_report #. module: account_financial_report
#: code:addons/account_financial_report/report/trial_balance_xlsx.py:0 #: code:addons/account_financial_report/report/trial_balance_xlsx.py:0
#: model_terms:ir.ui.view,arch_db:account_financial_report.report_trial_balance_filters #: model_terms:ir.ui.view,arch_db:account_financial_report.report_trial_balance_filters
@ -1512,6 +1471,11 @@ msgstr "Exibir marcadores analíticos"
msgid "Show foreign currency" msgid "Show foreign currency"
msgstr "Exibir moeda estrangeira" msgstr "Exibir moeda estrangeira"
#. module: account_financial_report
#: model:ir.model.fields,field_description:account_financial_report.field_trial_balance_report_wizard__show_hierarchy
msgid "Show hierarchy"
msgstr ""
#. module: account_financial_report #. module: account_financial_report
#: model:ir.model.fields,field_description:account_financial_report.field_journal_ledger_report_wizard__sort_option #: model:ir.model.fields,field_description:account_financial_report.field_journal_ledger_report_wizard__sort_option
msgid "Sort entries by" msgid "Sort entries by"
@ -1737,6 +1701,11 @@ msgstr ""
"zerado. Se houver parceiros filtrados, os totais de débitos e créditos não " "zerado. Se houver parceiros filtrados, os totais de débitos e créditos não "
"coincidirão com o balancete." "coincidirão com o balancete."
#. module: account_financial_report
#: model:ir.model.fields,help:account_financial_report.field_trial_balance_report_wizard__show_hierarchy
msgid "Use when your account groups are hierarchical"
msgstr ""
#. module: account_financial_report #. module: account_financial_report
#: model:ir.actions.act_window,name:account_financial_report.action_vat_report_wizard #: model:ir.actions.act_window,name:account_financial_report.action_vat_report_wizard
#: model:ir.actions.report,name:account_financial_report.action_print_report_vat_report_html #: model:ir.actions.report,name:account_financial_report.action_print_report_vat_report_html
@ -1872,6 +1841,37 @@ msgstr "largura: 38.92%;"
msgid "width: 8.11%;" msgid "width: 8.11%;"
msgstr "largura: 8.11%;" msgstr "largura: 8.11%;"
#~ msgid "Child Accounts"
#~ msgstr "Contas Filhas"
#~ msgid "Computed Accounts"
#~ msgstr "Contas Calculadas"
#~ msgid ""
#~ "Computed Accounts: Use when the account group have codes\n"
#~ " that represent prefixes of the actual accounts.\n"
#~ "\n"
#~ " Child Accounts: Use when your account groups are hierarchical.\n"
#~ "\n"
#~ " No hierarchy: Use to display just the accounts, without any "
#~ "grouping.\n"
#~ " "
#~ msgstr ""
#~ "Contas Calculadas: Utilize quando o grupo de contas possui códigos \n"
#~ " que representam prefixos das contas do realizado.\n"
#~ "\n"
#~ " Contas Filhas: Utilize quando o grupo de contas é hierárquico.\n"
#~ "\n"
#~ " Sem hierarquia: Utilize para exibir apenas as contas, sem "
#~ "qualquer agrupamento.\n"
#~ " "
#~ msgid "Hierarchy On"
#~ msgstr "Hierarquia Habilitada"
#~ msgid "No hierarchy"
#~ msgstr "Sem hierarquia"
#~ msgid "<span class=\"fa fa-download\"/> Export" #~ msgid "<span class=\"fa fa-download\"/> Export"
#~ msgstr "<span class=\"fa fa-download\"/> Exportar" #~ msgstr "<span class=\"fa fa-download\"/> Exportar"

View File

@ -388,11 +388,6 @@ msgstr "Centralizați filtrul"
msgid "Centralized" msgid "Centralized"
msgstr "Centralizat" msgstr "Centralizat"
#. module: account_financial_report
#: model:ir.model.fields.selection,name:account_financial_report.selection__trial_balance_report_wizard__hierarchy_on__relation
msgid "Child Accounts"
msgstr "Conturi subordonate"
#. module: account_financial_report #. module: account_financial_report
#: model:ir.model.fields,field_description:account_financial_report.field_account_group__group_child_ids #: model:ir.model.fields,field_description:account_financial_report.field_account_group__group_child_ids
msgid "Child Groups" msgid "Child Groups"
@ -425,24 +420,6 @@ msgstr "Companie"
msgid "Compute accounts" msgid "Compute accounts"
msgstr "Conturi calculate" msgstr "Conturi calculate"
#. module: account_financial_report
#: model:ir.model.fields.selection,name:account_financial_report.selection__trial_balance_report_wizard__hierarchy_on__computed
msgid "Computed Accounts"
msgstr "Conturi calculate"
#. module: account_financial_report
#: model:ir.model.fields,help:account_financial_report.field_trial_balance_report_wizard__hierarchy_on
msgid ""
"Computed Accounts: Use when the account group have codes\n"
" that represent prefixes of the actual accounts.\n"
"\n"
" Child Accounts: Use when your account groups are hierarchical.\n"
"\n"
" No hierarchy: Use to display just the accounts, without any "
"grouping.\n"
" "
msgstr ""
#. module: account_financial_report #. module: account_financial_report
#: model:ir.model.fields,field_description:account_financial_report.field_aged_partner_balance_report_wizard__create_uid #: model:ir.model.fields,field_description:account_financial_report.field_aged_partner_balance_report_wizard__create_uid
#: model:ir.model.fields,field_description:account_financial_report.field_general_ledger_report_wizard__create_uid #: model:ir.model.fields,field_description:account_financial_report.field_general_ledger_report_wizard__create_uid
@ -947,11 +924,6 @@ msgstr "Ascunde conturile cu zero"
msgid "Hierarchy Levels to display" msgid "Hierarchy Levels to display"
msgstr "Niveluri Ierahie de afișat" msgstr "Niveluri Ierahie de afișat"
#. module: account_financial_report
#: model:ir.model.fields,field_description:account_financial_report.field_trial_balance_report_wizard__hierarchy_on
msgid "Hierarchy On"
msgstr "Activare ierarhie"
#. module: account_financial_report #. module: account_financial_report
#: model:ir.model.fields,field_description:account_financial_report.field_account_account__id #: model:ir.model.fields,field_description:account_financial_report.field_account_account__id
#: model:ir.model.fields,field_description:account_financial_report.field_account_financial_report_abstract_wizard__id #: model:ir.model.fields,field_description:account_financial_report.field_account_financial_report_abstract_wizard__id
@ -1192,11 +1164,6 @@ msgstr "Nu"
msgid "No group" msgid "No group"
msgstr "Niciun grup" msgstr "Niciun grup"
#. module: account_financial_report
#: model:ir.model.fields.selection,name:account_financial_report.selection__trial_balance_report_wizard__hierarchy_on__none
msgid "No hierarchy"
msgstr "Fără ierahie"
#. module: account_financial_report #. module: account_financial_report
#: code:addons/account_financial_report/report/trial_balance_xlsx.py:0 #: code:addons/account_financial_report/report/trial_balance_xlsx.py:0
#: model_terms:ir.ui.view,arch_db:account_financial_report.report_trial_balance_filters #: model_terms:ir.ui.view,arch_db:account_financial_report.report_trial_balance_filters
@ -1481,6 +1448,11 @@ msgstr "Afișați etichete analitice"
msgid "Show foreign currency" msgid "Show foreign currency"
msgstr "Afișați monedă străină" msgstr "Afișați monedă străină"
#. module: account_financial_report
#: model:ir.model.fields,field_description:account_financial_report.field_trial_balance_report_wizard__show_hierarchy
msgid "Show hierarchy"
msgstr ""
#. module: account_financial_report #. module: account_financial_report
#: model:ir.model.fields,field_description:account_financial_report.field_journal_ledger_report_wizard__sort_option #: model:ir.model.fields,field_description:account_financial_report.field_journal_ledger_report_wizard__sort_option
msgid "Sort entries by" msgid "Sort entries by"
@ -1700,6 +1672,11 @@ msgstr ""
"final la 0. Dacă partenerii sunt filtrați, totalele de debitelor și " "final la 0. Dacă partenerii sunt filtrați, totalele de debitelor și "
"creditelor nu vor corespunde soldului de probă." "creditelor nu vor corespunde soldului de probă."
#. module: account_financial_report
#: model:ir.model.fields,help:account_financial_report.field_trial_balance_report_wizard__show_hierarchy
msgid "Use when your account groups are hierarchical"
msgstr ""
#. module: account_financial_report #. module: account_financial_report
#: model:ir.actions.act_window,name:account_financial_report.action_vat_report_wizard #: model:ir.actions.act_window,name:account_financial_report.action_vat_report_wizard
#: model:ir.actions.report,name:account_financial_report.action_print_report_vat_report_html #: model:ir.actions.report,name:account_financial_report.action_print_report_vat_report_html
@ -1836,6 +1813,18 @@ msgstr "lățime: 38,92%;"
msgid "width: 8.11%;" msgid "width: 8.11%;"
msgstr "lățime: 8,11%;" msgstr "lățime: 8,11%;"
#~ msgid "Child Accounts"
#~ msgstr "Conturi subordonate"
#~ msgid "Computed Accounts"
#~ msgstr "Conturi calculate"
#~ msgid "Hierarchy On"
#~ msgstr "Activare ierarhie"
#~ msgid "No hierarchy"
#~ msgstr "Fără ierahie"
#~ msgid "<span class=\"fa fa-download\"/> Export" #~ msgid "<span class=\"fa fa-download\"/> Export"
#~ msgstr "<span class=\"fa fa-download\"/>Exportă" #~ msgstr "<span class=\"fa fa-download\"/>Exportă"

View File

@ -20,26 +20,34 @@ class AccountGroup(models.Model):
string="Compute accounts", string="Compute accounts",
store=True, store=True,
) )
complete_name = fields.Char("Full Name", compute="_compute_complete_name") complete_name = fields.Char(
complete_code = fields.Char("Full Code", compute="_compute_complete_code") "Full Name", compute="_compute_complete_name", recursive=True
)
complete_code = fields.Char(
"Full Code", compute="_compute_complete_code", recursive=True
)
@api.depends("name", "parent_id.complete_name") @api.depends("name", "parent_id.complete_name")
def _compute_complete_name(self): def _compute_complete_name(self):
""" Forms complete name of location from parent location to child location. """ """Forms complete name of location from parent location to child location."""
if self.parent_id.complete_name: for group in self:
self.complete_name = "{}/{}".format(self.parent_id.complete_name, self.name) if group.parent_id.complete_name:
else: group.complete_name = "{}/{}".format(
self.complete_name = self.name group.parent_id.complete_name, group.name
)
else:
group.complete_name = group.name
@api.depends("code_prefix_start", "parent_id.complete_code") @api.depends("code_prefix_start", "parent_id.complete_code")
def _compute_complete_code(self): def _compute_complete_code(self):
""" Forms complete code of location from parent location to child location. """ """Forms complete code of location from parent location to child location."""
if self.parent_id.complete_code: for group in self:
self.complete_code = "{}/{}".format( if group.parent_id.complete_code:
self.parent_id.complete_code, self.code_prefix_start group.complete_code = "{}/{}".format(
) group.parent_id.complete_code, group.code_prefix_start
else: )
self.complete_code = self.code_prefix_start else:
group.complete_code = group.code_prefix_start
@api.depends("parent_id", "parent_id.level") @api.depends("parent_id", "parent_id.level")
def _compute_level(self): def _compute_level(self):

View File

@ -13,13 +13,13 @@ class IrActionsReport(models.Model):
return dict(self.env.context or {}, lang=lang) if lang else False return dict(self.env.context or {}, lang=lang) if lang else False
@api.model @api.model
def render_qweb_html(self, docids, data=None): def _render_qweb_html(self, docids, data=None):
context = self._prepare_account_financial_report_context(data) context = self._prepare_account_financial_report_context(data)
obj = self.with_context(context) if context else self obj = self.with_context(context) if context else self
return super(IrActionsReport, obj).render_qweb_html(docids, data) return super(IrActionsReport, obj)._render_qweb_html(docids, data)
@api.model @api.model
def render_xlsx(self, docids, data): def _render_xlsx(self, docids, data):
context = self._prepare_account_financial_report_context(data) context = self._prepare_account_financial_report_context(data)
obj = self.with_context(context) if context else self obj = self.with_context(context) if context else self
return super(IrActionsReport, obj).render_xlsx(docids, data) return super(IrActionsReport, obj)._render_xlsx(docids, data)

View File

@ -238,10 +238,7 @@ class AbstractReportXslx(models.AbstractModel):
value = line_dict.get(column["field"], False) value = line_dict.get(column["field"], False)
cell_type = column.get("type", "string") cell_type = column.get("type", "string")
if cell_type == "string": if cell_type == "string":
if ( if line_dict.get("type", "") == "group_type":
line_dict.get("account_group_id", False)
and line_dict["account_group_id"]
):
report_data["sheet"].write_string( report_data["sheet"].write_string(
report_data["row_pos"], report_data["row_pos"],
col_pos, col_pos,
@ -524,7 +521,7 @@ class AbstractReportXslx(models.AbstractModel):
report_data["row_pos"] += 1 report_data["row_pos"] += 1
def _get_currency_amt_format(self, line_object, report_data): def _get_currency_amt_format(self, line_object, report_data):
""" Return amount format specific for each currency. """ """Return amount format specific for each currency."""
if "account_group_id" in line_object and line_object["account_group_id"]: if "account_group_id" in line_object and line_object["account_group_id"]:
format_amt = report_data["formats"]["format_amount_bold"] format_amt = report_data["formats"]["format_amount_bold"]
field_prefix = "format_amount_bold" field_prefix = "format_amount_bold"
@ -545,7 +542,7 @@ class AbstractReportXslx(models.AbstractModel):
return format_amt return format_amt
def _get_currency_amt_format_dict(self, line_dict, report_data): def _get_currency_amt_format_dict(self, line_dict, report_data):
""" Return amount format specific for each currency. """ """Return amount format specific for each currency."""
if line_dict.get("account_group_id", False) and line_dict["account_group_id"]: if line_dict.get("account_group_id", False) and line_dict["account_group_id"]:
format_amt = report_data["formats"]["format_amount_bold"] format_amt = report_data["formats"]["format_amount_bold"]
field_prefix = "format_amount_bold" field_prefix = "format_amount_bold"
@ -568,7 +565,7 @@ class AbstractReportXslx(models.AbstractModel):
return format_amt return format_amt
def _get_currency_amt_header_format(self, line_object, report_data): def _get_currency_amt_header_format(self, line_object, report_data):
""" Return amount header format for each currency. """ """Return amount header format for each currency."""
format_amt = report_data["formats"]["format_header_amount"] format_amt = report_data["formats"]["format_header_amount"]
if line_object.currency_id: if line_object.currency_id:
field_name = "format_header_amount_%s" % line_object.currency_id.name field_name = "format_header_amount_%s" % line_object.currency_id.name
@ -586,7 +583,7 @@ class AbstractReportXslx(models.AbstractModel):
return format_amt return format_amt
def _get_currency_amt_header_format_dict(self, line_object, report_data): def _get_currency_amt_header_format_dict(self, line_object, report_data):
""" Return amount header format for each currency. """ """Return amount header format for each currency."""
format_amt = report_data["formats"]["format_header_amount"] format_amt = report_data["formats"]["format_header_amount"]
if line_object["currency_id"]: if line_object["currency_id"]:
field_name = "format_header_amount_%s" % line_object["currency_name"] field_name = "format_header_amount_%s" % line_object["currency_name"]

View File

@ -40,7 +40,7 @@ class AgedPartnerBalanceXslx(models.AbstractModel):
"width": 14, "width": 14,
}, },
3: { 3: {
"header": _(u"Age ≤ 30 d."), "header": _("Age ≤ 30 d."),
"field": "30_days", "field": "30_days",
"field_footer_total": "30_days", "field_footer_total": "30_days",
"field_footer_percent": "percent_30_days", "field_footer_percent": "percent_30_days",
@ -48,7 +48,7 @@ class AgedPartnerBalanceXslx(models.AbstractModel):
"width": 14, "width": 14,
}, },
4: { 4: {
"header": _(u"Age ≤ 60 d."), "header": _("Age ≤ 60 d."),
"field": "60_days", "field": "60_days",
"field_footer_total": "60_days", "field_footer_total": "60_days",
"field_footer_percent": "percent_60_days", "field_footer_percent": "percent_60_days",
@ -56,7 +56,7 @@ class AgedPartnerBalanceXslx(models.AbstractModel):
"width": 14, "width": 14,
}, },
5: { 5: {
"header": _(u"Age ≤ 90 d."), "header": _("Age ≤ 90 d."),
"field": "90_days", "field": "90_days",
"field_footer_total": "90_days", "field_footer_total": "90_days",
"field_footer_percent": "percent_90_days", "field_footer_percent": "percent_90_days",
@ -64,7 +64,7 @@ class AgedPartnerBalanceXslx(models.AbstractModel):
"width": 14, "width": 14,
}, },
6: { 6: {
"header": _(u"Age ≤ 120 d."), "header": _("Age ≤ 120 d."),
"field": "120_days", "field": "120_days",
"field_footer_total": "120_days", "field_footer_total": "120_days",
"field_footer_percent": "percent_120_days", "field_footer_percent": "percent_120_days",
@ -106,7 +106,7 @@ class AgedPartnerBalanceXslx(models.AbstractModel):
"width": 14, "width": 14,
}, },
9: { 9: {
"header": _(u"Age ≤ 30 d."), "header": _("Age ≤ 30 d."),
"field": "30_days", "field": "30_days",
"field_footer_total": "30_days", "field_footer_total": "30_days",
"field_footer_percent": "percent_30_days", "field_footer_percent": "percent_30_days",
@ -115,7 +115,7 @@ class AgedPartnerBalanceXslx(models.AbstractModel):
"width": 14, "width": 14,
}, },
10: { 10: {
"header": _(u"Age ≤ 60 d."), "header": _("Age ≤ 60 d."),
"field": "60_days", "field": "60_days",
"field_footer_total": "60_days", "field_footer_total": "60_days",
"field_footer_percent": "percent_60_days", "field_footer_percent": "percent_60_days",
@ -124,7 +124,7 @@ class AgedPartnerBalanceXslx(models.AbstractModel):
"width": 14, "width": 14,
}, },
11: { 11: {
"header": _(u"Age ≤ 90 d."), "header": _("Age ≤ 90 d."),
"field": "90_days", "field": "90_days",
"field_footer_total": "90_days", "field_footer_total": "90_days",
"field_footer_percent": "percent_90_days", "field_footer_percent": "percent_90_days",
@ -133,7 +133,7 @@ class AgedPartnerBalanceXslx(models.AbstractModel):
"width": 14, "width": 14,
}, },
12: { 12: {
"header": _(u"Age ≤ 120 d."), "header": _("Age ≤ 120 d."),
"field": "120_days", "field": "120_days",
"field_footer_total": "120_days", "field_footer_total": "120_days",
"field_footer_percent": "percent_120_days", "field_footer_percent": "percent_120_days",

View File

@ -197,7 +197,7 @@ class OpenItemsReport(models.AbstractModel):
@api.model @api.model
def _order_open_items_by_date( def _order_open_items_by_date(
self, open_items_move_lines_data, show_partner_details self, open_items_move_lines_data, show_partner_details, partners_data
): ):
new_open_items = {} new_open_items = {}
if not show_partner_details: if not show_partner_details:
@ -212,7 +212,10 @@ class OpenItemsReport(models.AbstractModel):
else: else:
for acc_id in open_items_move_lines_data.keys(): for acc_id in open_items_move_lines_data.keys():
new_open_items[acc_id] = {} new_open_items[acc_id] = {}
for prt_id in open_items_move_lines_data[acc_id]: for prt_id in sorted(
open_items_move_lines_data[acc_id],
key=lambda i: partners_data[i]["name"],
):
new_open_items[acc_id][prt_id] = {} new_open_items[acc_id][prt_id] = {}
move_lines = [] move_lines = []
for move_line in open_items_move_lines_data[acc_id][prt_id]: for move_line in open_items_move_lines_data[acc_id][prt_id]:
@ -250,7 +253,7 @@ class OpenItemsReport(models.AbstractModel):
total_amount = self._calculate_amounts(open_items_move_lines_data) total_amount = self._calculate_amounts(open_items_move_lines_data)
open_items_move_lines_data = self._order_open_items_by_date( open_items_move_lines_data = self._order_open_items_by_date(
open_items_move_lines_data, show_partner_details open_items_move_lines_data, show_partner_details, partners_data
) )
return { return {
"doc_ids": [wizard_id], "doc_ids": [wizard_id],

View File

@ -46,55 +46,32 @@
<t t-foreach="trial_balance" t-as="balance"> <t t-foreach="trial_balance" t-as="balance">
<!-- Adapt --> <!-- Adapt -->
<t t-set="style" t-value="'font-size:12px;'" /> <t t-set="style" t-value="'font-size:12px;'" />
<t t-if="hierarchy_on == 'none'"> <t t-if="show_hierarchy">
<t
t-call="account_financial_report.report_trial_balance_line"
/>
</t>
<t t-if="hierarchy_on == 'computed'">
<t t-if="balance['type'] == 'group_type'"> <t t-if="balance['type'] == 'group_type'">
<t <t
t-set="style" t-set="style"
t-value="style + 'font-weight: bold; color: blue;'" t-value="style + 'font-weight: bold; color: blue;'"
/> />
<t
t-call="account_financial_report.report_trial_balance_line"
/>
</t> </t>
<t t-if="balance['type'] == 'account_type'"> <t t-if="limit_hierarchy_level">
<t <t
t-call="account_financial_report.report_trial_balance_line" t-if="show_hierarchy_level > balance['level'] and (not hide_parent_hierarchy_level or (show_hierarchy_level - 1) == balance['level'])"
/> >
</t>
</t>
<!-- <t t-set="padding" t-value="line.level * 4"/>-->
<!-- <t t-if="hierarchy_on != 'none'">-->
<!-- <t t-set="style" t-value="'font-size: ' + str(14 - line.level) + 'px; margin-left: ' + str(line.level * 4) + 'px;'"/>-->
<!-- </t>-->
<t t-if="hierarchy_on == 'relation'">
<t t-if="balance['type'] == 'group_type'">
<t
t-set="style"
t-value="style + 'font-weight: bold; color: blue;'"
/>
<t
t-call="account_financial_report.report_trial_balance_line"
/>
</t>
<t t-if="balance['type'] == 'account_type'">
<t t-if="limit_hierarchy_level">
<t t-if="show_hierarchy_level > balance['level']">
<t
t-call="account_financial_report.report_trial_balance_line"
/>
</t>
</t>
<t t-if="not limit_hierarchy_level">
<t <t
t-call="account_financial_report.report_trial_balance_line" t-call="account_financial_report.report_trial_balance_line"
/> />
</t> </t>
</t> </t>
<t t-if="not limit_hierarchy_level">
<t
t-call="account_financial_report.report_trial_balance_line"
/>
</t>
</t>
<t t-else="">
<t
t-call="account_financial_report.report_trial_balance_line"
/>
</t> </t>
</t> </t>
</div> </div>
@ -235,90 +212,105 @@
<t t-if="not show_partner_details"> <t t-if="not show_partner_details">
<!--## Code--> <!--## Code-->
<t t-if="balance['type'] == 'account_type'"> <t t-if="balance['type'] == 'account_type'">
<div class="act_as_cell left"> <div class="act_as_cell left" t-att-style="style">
<span <span
t-att-res-id="balance['id']" t-att-res-id="balance['id']"
res-model="account.account" res-model="account.account"
view-type="form" view-type="form"
> >
<t t-att-style="style" t-esc="balance['code']" /> <t t-esc="balance['code']" />
</span> </span>
</div> </div>
<!-- ## Account/Partner--> <!-- ## Account/Partner-->
<div class="act_as_cell left"> <div class="act_as_cell left" t-att-style="style">
<span <span
t-att-res-id="balance['id']" t-att-res-id="balance['id']"
res-model="account.account" res-model="account.account"
view-type="form" view-type="form"
> >
<t t-att-style="style" t-esc="balance['name']" /> <t t-esc="balance['name']" />
</span> </span>
</div> </div>
</t> </t>
<t t-if="balance['type'] == 'group_type'"> <t t-if="balance['type'] == 'group_type'">
<div class="act_as_cell left"> <div class="act_as_cell left" t-att-style="style">
<t t-set="res_model" t-value="'account.group'" /> <t t-set="res_model" t-value="'account.group'" />
<span <span
t-att-res-id="balance['id']" t-att-res-id="balance['id']"
res-model="account.group" res-model="account.group"
view-type="form" view-type="form"
> >
<t t-att-style="style" t-raw="balance['code']" /> <t t-raw="balance['code']" />
</span> </span>
</div> </div>
<div class="act_as_cell left"> <div class="act_as_cell left" t-att-style="style">
<t t-set="res_model" t-value="'account.group'" /> <t t-set="res_model" t-value="'account.group'" />
<span <span
t-att-res-id="balance['id']" t-att-res-id="balance['id']"
res-model="account.group" res-model="account.group"
view-type="form" view-type="form"
> >
<t t-att-style="style" t-esc="balance['name']" /> <t t-esc="balance['name']" />
</span> </span>
</div> </div>
</t> </t>
</t> </t>
<t t-if="show_partner_details"> <t t-if="show_partner_details">
<div class="act_as_cell left"> <div class="act_as_cell left" t-att-style="style">
<t t-set="res_model" t-value="'res.partner'" /> <t t-set="res_model" t-value="'res.partner'" />
<span <span
t-att-res-id="partner_id" t-att-res-id="partner_id"
res-model="res.partner" res-model="res.partner"
view-type="form" view-type="form"
> >
<t <t t-esc="partners_data[partner_id]['name']" />
t-att-style="style"
t-esc="partners_data[partner_id]['name']"
/>
</span> </span>
</div> </div>
</t> </t>
<!--## Initial balance--> <!--## Initial balance-->
<div class="act_as_cell amount"> <div class="act_as_cell amount" t-att-style="style">
<t t-if="not show_partner_details"> <t t-if="not show_partner_details">
<t t-if="balance['type'] == 'account_type'"> <t t-if="balance['type'] == 'account_type'">
<t <t t-if="only_posted_moves">
t-set="domain" <t
t-value="[('account_id', '=', balance['id']), t-set="domain"
('date', '&lt;', date_from)]" t-value="[('account_id', '=', balance['id']),
/> ('parent_state', '=', 'posted'),
('date', '&lt;', date_from)]"
/>
</t>
<t t-else="">
<t
t-set="domain"
t-value="[('account_id', '=', balance['id']),
('date', '&lt;', date_from)]"
/>
</t>
<span t-att-domain="domain" res-model="account.move.line"> <span t-att-domain="domain" res-model="account.move.line">
<t <t
t-att-style="style"
t-esc="balance['initial_balance']" t-esc="balance['initial_balance']"
t-options="{'widget': 'monetary', 'display_currency': res_company.currency_id}" t-options="{'widget': 'monetary', 'display_currency': res_company.currency_id}"
/> />
</span> </span>
</t> </t>
<t t-if="balance['type'] == 'group_type'"> <t t-if="balance['type'] == 'group_type'">
<t <t t-if="only_posted_moves">
t-set="domain" <t
t-value="[('account_id', 'in', balance['account_ids']), t-set="domain"
t-value="[('account_id', '=', balance['account_ids']),
('parent_state', '=', 'posted'),
('date', '&lt;', date_from)]" ('date', '&lt;', date_from)]"
/> />
</t>
<t t-else="">
<t
t-set="domain"
t-value="[('account_id', '=', balance['account_ids']),
('date', '&lt;', date_from)]"
/>
</t>
<span t-att-domain="domain" res-model="account.move.line"> <span t-att-domain="domain" res-model="account.move.line">
<t <t
t-att-style="style"
t-raw="balance['initial_balance']" t-raw="balance['initial_balance']"
t-options="{'widget': 'monetary', 'display_currency': res_company.currency_id}" t-options="{'widget': 'monetary', 'display_currency': res_company.currency_id}"
/> />
@ -326,15 +318,25 @@
</t> </t>
</t> </t>
<t t-if="type == 'partner_type'"> <t t-if="type == 'partner_type'">
<t <t t-if="only_posted_moves">
t-set="domain" <t
t-value="[('account_id', '=', int(account_id)), t-set="domain"
('partner_id', '=', int(partner_id)), t-value="[('account_id', '=', int(account_id)),
('date', '&lt;', date_from)]" ('parent_state', '=', 'posted'),
/> ('partner_id', '=', int(partner_id)),
('date', '&lt;', date_from)]"
/>
</t>
<t t-else="">
<t
t-set="domain"
t-value="[('account_id', '=', int(account_id)),
('partner_id', '=', int(partner_id)),
('date', '&lt;', date_from)]"
/>
</t>
<span t-att-domain="domain" res-model="account.move.line"> <span t-att-domain="domain" res-model="account.move.line">
<t <t
t-att-style="style"
t-raw="total_amount[account_id][partner_id]['initial_balance']" t-raw="total_amount[account_id][partner_id]['initial_balance']"
t-options="{'widget': 'monetary', 'display_currency': res_company.currency_id}" t-options="{'widget': 'monetary', 'display_currency': res_company.currency_id}"
/> />
@ -342,35 +344,57 @@
</t> </t>
</div> </div>
<!--## Debit--> <!--## Debit-->
<div class="act_as_cell amount"> <div class="act_as_cell amount" t-att-style="style">
<t t-if="not show_partner_details"> <t t-if="not show_partner_details">
<t t-if="balance['type'] == 'account_type'"> <t t-if="balance['type'] == 'account_type'">
<t <t t-if="only_posted_moves">
t-set="domain" <t
t-value="[('account_id', '=', balance['id']), t-set="domain"
('date', '&gt;=', date_from), t-value="[('account_id', '=', balance['id']),
('date', '&lt;=', date_to), ('parent_state', '=', 'posted'),
('debit', '&lt;&gt;', 0)]" ('date', '&gt;=', date_from),
/> ('date', '&lt;=', date_to),
('debit', '&lt;&gt;', 0)]"
/>
</t>
<t t-else="">
<t
t-set="domain"
t-value="[('account_id', '=', balance['id']),
('date', '&gt;=', date_from),
('date', '&lt;=', date_to),
('debit', '&lt;&gt;', 0)]"
/>
</t>
<span t-att-domain="domain" res-model="account.move.line"> <span t-att-domain="domain" res-model="account.move.line">
<t <t
t-att-style="style"
t-esc="balance['debit']" t-esc="balance['debit']"
t-options="{'widget': 'monetary', 'display_currency': res_company.currency_id}" t-options="{'widget': 'monetary', 'display_currency': res_company.currency_id}"
/> />
</span> </span>
</t> </t>
<t t-if="balance['type'] == 'group_type'"> <t t-if="balance['type'] == 'group_type'">
<t <t t-if="only_posted_moves">
t-set="domain" <t
t-value="[('account_id', 'in', balance['account_ids']), t-set="domain"
t-value="[('account_id', 'in', balance['account_ids']),
('parent_state', '=', 'posted'),
('date', '&gt;=', date_from), ('date', '&gt;=', date_from),
('date', '&lt;=', date_to), ('date', '&lt;=', date_to),
('debit', '&lt;&gt;', 0)]" ('debit', '&lt;&gt;', 0)]"
/> />
</t>
<t t-else="">
<t
t-set="domain"
t-value="[('account_id', 'in', balance['account_ids']),
('date', '&gt;=', date_from),
('date', '&lt;=', date_to),
('debit', '&lt;&gt;', 0)]"
/>
</t>
<span t-att-domain="domain" res-model="account.move.line"> <span t-att-domain="domain" res-model="account.move.line">
<t <t
t-att-style="style"
t-raw="balance['debit']" t-raw="balance['debit']"
t-options="{'widget': 'monetary', 'display_currency': res_company.currency_id}" t-options="{'widget': 'monetary', 'display_currency': res_company.currency_id}"
/> />
@ -378,17 +402,29 @@
</t> </t>
</t> </t>
<t t-if="type == 'partner_type'"> <t t-if="type == 'partner_type'">
<t <t t-if="only_posted_moves">
t-set="domain" <t
t-value="[('account_id', '=', int(account_id)), t-set="domain"
('partner_id', '=', int(partner_id)), t-value="[('account_id', '=', int(account_id)),
('date', '&gt;=', date_from), ('partner_id', '=', int(partner_id)),
('date', '&lt;=', date_to), ('parent_state', '=', 'posted'),
('debit', '&lt;&gt;', 0)]" ('date', '&gt;=', date_from),
/> ('date', '&lt;=', date_to),
('debit', '&lt;&gt;', 0)]"
/>
</t>
<t t-else="">
<t
t-set="domain"
t-value="[('account_id', '=', int(account_id)),
('partner_id', '=', int(partner_id)),
('date', '&gt;=', date_from),
('date', '&lt;=', date_to),
('debit', '&lt;&gt;', 0)]"
/>
</t>
<span t-att-domain="domain" res-model="account.move.line"> <span t-att-domain="domain" res-model="account.move.line">
<t <t
t-att-style="style"
t-raw="total_amount[account_id][partner_id]['debit']" t-raw="total_amount[account_id][partner_id]['debit']"
t-options="{'widget': 'monetary', 'display_currency': res_company.currency_id}" t-options="{'widget': 'monetary', 'display_currency': res_company.currency_id}"
/> />
@ -396,35 +432,57 @@
</t> </t>
</div> </div>
<!-- &lt;!&ndash;## Credit&ndash;&gt;--> <!-- &lt;!&ndash;## Credit&ndash;&gt;-->
<div class="act_as_cell amount"> <div class="act_as_cell amount" t-att-style="style">
<t t-if="not show_partner_details"> <t t-if="not show_partner_details">
<t t-if="balance['type'] == 'account_type'"> <t t-if="balance['type'] == 'account_type'">
<t <t t-if="only_posted_moves">
t-set="domain" <t
t-value="[('account_id', '=', balance['id']), t-set="domain"
('date', '&gt;=', date_from), t-value="[('account_id', '=', balance['id']),
('date', '&lt;=', date_to), ('parent_state', '=', 'posted'),
('credit', '&lt;&gt;', 0)]" ('date', '&gt;=', date_from),
/> ('date', '&lt;=', date_to),
('credit', '&lt;&gt;', 0)]"
/>
</t>
<t t-else="">
<t
t-set="domain"
t-value="[('account_id', '=', balance['id']),
('date', '&gt;=', date_from),
('date', '&lt;=', date_to),
('credit', '&lt;&gt;', 0)]"
/>
</t>
<span t-att-domain="domain" res-model="account.move.line"> <span t-att-domain="domain" res-model="account.move.line">
<t <t
t-att-style="style"
t-esc="balance['credit']" t-esc="balance['credit']"
t-options="{'widget': 'monetary', 'display_currency': res_company.currency_id}" t-options="{'widget': 'monetary', 'display_currency': res_company.currency_id}"
/> />
</span> </span>
</t> </t>
<t t-if="balance['type'] == 'group_type'"> <t t-if="balance['type'] == 'group_type'">
<t <t t-if="only_posted_moves">
t-set="domain" <t
t-value="[('account_id', 'in', balance['account_ids']), t-set="domain"
t-value="[('account_id', 'in', balance['account_ids']),
('parent_state', '=', 'posted'),
('date', '&gt;=', date_from), ('date', '&gt;=', date_from),
('date', '&lt;=', date_to), ('date', '&lt;=', date_to),
('credit', '&lt;&gt;', 0)]" ('credit', '&lt;&gt;', 0)]"
/> />
</t>
<t t-else="">
<t
t-set="domain"
t-value="[('account_id', 'in', balance['account_ids']),
('date', '&gt;=', date_from),
('date', '&lt;=', date_to),
('credit', '&lt;&gt;', 0)]"
/>
</t>
<span t-att-domain="domain" res-model="account.move.line"> <span t-att-domain="domain" res-model="account.move.line">
<t <t
t-att-style="style"
t-raw="balance['credit']" t-raw="balance['credit']"
t-options="{'widget': 'monetary', 'display_currency': res_company.currency_id}" t-options="{'widget': 'monetary', 'display_currency': res_company.currency_id}"
/> />
@ -432,17 +490,29 @@
</t> </t>
</t> </t>
<t t-if="type == 'partner_type'"> <t t-if="type == 'partner_type'">
<t <t t-if="only_posted_moves">
t-set="domain" <t
t-value="[('account_id', '=', int(account_id)), t-set="domain"
('partner_id', '=', int(partner_id)), t-value="[('account_id', '=', int(account_id)),
('date', '&gt;=', date_from), ('partner_id', '=', int(partner_id)),
('date', '&lt;=', date_to), ('parent_state', '=', 'posted'),
('credit', '&lt;&gt;', 0)]" ('date', '&gt;=', date_from),
/> ('date', '&lt;=', date_to),
('credit', '&lt;&gt;', 0)]"
/>
</t>
<t t-else="">
<t
t-set="domain"
t-value="[('account_id', '=', int(account_id)),
('partner_id', '=', int(partner_id)),
('date', '&gt;=', date_from),
('date', '&lt;=', date_to),
('credit', '&lt;&gt;', 0)]"
/>
</t>
<span t-att-domain="domain" res-model="account.move.line"> <span t-att-domain="domain" res-model="account.move.line">
<t <t
t-att-style="style"
t-raw="total_amount[account_id][partner_id]['credit']" t-raw="total_amount[account_id][partner_id]['credit']"
t-options="{'widget': 'monetary', 'display_currency': res_company.currency_id}" t-options="{'widget': 'monetary', 'display_currency': res_company.currency_id}"
/> />
@ -450,34 +520,55 @@
</t> </t>
</div> </div>
<!-- &lt;!&ndash;## Period balance&ndash;&gt;--> <!-- &lt;!&ndash;## Period balance&ndash;&gt;-->
<div class="act_as_cell amount"> <div class="act_as_cell amount" t-att-style="style">
<t t-if="not show_partner_details"> <t t-if="not show_partner_details">
<t t-if="balance['type'] == 'account_type'"> <t t-if="balance['type'] == 'account_type'">
<t <t t-if="only_posted_moves">
t-set="domain" <t
t-value="[('account_id', '=', balance['id']), t-set="domain"
t-value="[('account_id', '=', balance['id']),
('parent_state', '=', 'posted'),
('date', '&gt;=', date_from), ('date', '&gt;=', date_from),
('date', '&lt;=', date_to), ('date', '&lt;=', date_to),
('balance', '&lt;&gt;', 0)]" ('balance', '&lt;&gt;', 0)]"
/> />
</t>
<t t-else="">
<t
t-set="domain"
t-value="[('account_id', '=', balance['id']),
('date', '&gt;=', date_from),
('date', '&lt;=', date_to),
('balance', '&lt;&gt;', 0)]"
/>
</t>
<span t-att-domain="domain" res-model="account.move.line"> <span t-att-domain="domain" res-model="account.move.line">
<t <t
t-att-style="style"
t-esc="balance['balance']" t-esc="balance['balance']"
t-options="{'widget': 'monetary', 'display_currency': res_company.currency_id}" t-options="{'widget': 'monetary', 'display_currency': res_company.currency_id}"
/> />
</span> </span>
</t> </t>
<t t-if="balance['type'] == 'group_type'"> <t t-if="balance['type'] == 'group_type'">
<t <t t-if="only_posted_moves">
t-set="domain" <t
t-value="[('account_id', 'in', balance['account_ids']), t-set="domain"
t-value="[('account_id', 'in', balance['account_ids']),
('parent_state', '=', 'posted'),
('date', '&gt;=', date_from), ('date', '&gt;=', date_from),
('date', '&lt;=', date_to)]" ('date', '&lt;=', date_to)]"
/> />
</t>
<t t-else="">
<t
t-set="domain"
t-value="[('account_id', 'in', balance['account_ids']),
('date', '&gt;=', date_from),
('date', '&lt;=', date_to)]"
/>
</t>
<span t-att-domain="domain" res-model="account.move.line"> <span t-att-domain="domain" res-model="account.move.line">
<t <t
t-att-style="style"
t-raw="balance['balance']" t-raw="balance['balance']"
t-options="{'widget': 'monetary', 'display_currency': res_company.currency_id}" t-options="{'widget': 'monetary', 'display_currency': res_company.currency_id}"
/> />
@ -485,17 +576,29 @@
</t> </t>
</t> </t>
<t t-if="type == 'partner_type'"> <t t-if="type == 'partner_type'">
<t <t t-if="only_posted_moves">
t-set="domain" <t
t-value="[('account_id', '=', int(account_id)), t-set="domain"
('partner_id', '=', int(partner_id)), t-value="[('account_id', '=', int(account_id)),
('date', '&gt;=', date_from), ('parent_state', '=', 'posted'),
('date', '&lt;=', date_to), ('partner_id', '=', int(partner_id)),
('balance', '&lt;&gt;', 0)]" ('date', '&gt;=', date_from),
/> ('date', '&lt;=', date_to),
('balance', '&lt;&gt;', 0)]"
/>
</t>
<t t-else="">
<t
t-set="domain"
t-value="[('account_id', '=', int(account_id)),
('partner_id', '=', int(partner_id)),
('date', '&gt;=', date_from),
('date', '&lt;=', date_to),
('balance', '&lt;&gt;', 0)]"
/>
</t>
<span t-att-domain="domain" res-model="account.move.line"> <span t-att-domain="domain" res-model="account.move.line">
<t <t
t-att-style="style"
t-raw="total_amount[account_id][partner_id]['balance']" t-raw="total_amount[account_id][partner_id]['balance']"
t-options="{'widget': 'monetary', 'display_currency': res_company.currency_id}" t-options="{'widget': 'monetary', 'display_currency': res_company.currency_id}"
/> />
@ -503,30 +606,46 @@
</t> </t>
</div> </div>
<!-- &lt;!&ndash;## Ending balance&ndash;&gt;--> <!-- &lt;!&ndash;## Ending balance&ndash;&gt;-->
<div class="act_as_cell amount"> <div class="act_as_cell amount" t-att-style="style">
<t t-if="not show_partner_details"> <t t-if="not show_partner_details">
<t t-if="balance['type'] == 'account_type'"> <t t-if="balance['type'] == 'account_type'">
<t <t t-if="only_posted_moves">
t-set="domain" <t
t-value="[('account_id', '=', balance['id']), t-set="domain"
('date', '&lt;=', date_to)]" t-value="[('account_id', '=', balance['id']),
/> ('parent_state', '=', 'posted'),
('date', '&lt;=', date_to)]"
/>
</t>
<t t-else="">
<t
t-set="domain"
t-value="[('account_id', '=', balance['id']),
('date', '&lt;=', date_to)]"
/>
</t>
<span t-att-domain="domain" res-model="account.move.line"> <span t-att-domain="domain" res-model="account.move.line">
<t <t
t-att-style="style"
t-esc="balance['ending_balance']" t-esc="balance['ending_balance']"
t-options="{'widget': 'monetary', 'display_currency': res_company.currency_id}" t-options="{'widget': 'monetary', 'display_currency': res_company.currency_id}"
/> />
</span> </span>
</t> </t>
<t t-if="balance['type'] == 'group_type'"> <t t-if="balance['type'] == 'group_type'">
<t <t t-if="only_posted_moves">
t-set="domain" <t
t-value="[('account_id', 'in', balance['account_ids'])]" t-set="domain"
/> t-value="[('account_id', 'in', balance['account_ids']), ('parent_state', '=', 'posted')]"
/>
</t>
<t t-else="">
<t
t-set="domain"
t-value="[('account_id', 'in', balance['account_ids'])]"
/>
</t>
<span t-att-domain="domain" res-model="account.move.line"> <span t-att-domain="domain" res-model="account.move.line">
<t <t
t-att-style="style"
t-raw="balance['ending_balance']" t-raw="balance['ending_balance']"
t-options="{'widget': 'monetary', 'display_currency': res_company.currency_id}" t-options="{'widget': 'monetary', 'display_currency': res_company.currency_id}"
/> />
@ -534,15 +653,25 @@
</t> </t>
</t> </t>
<t t-if="type == 'partner_type'"> <t t-if="type == 'partner_type'">
<t <t t-if="only_posted_moves">
t-set="domain" <t
t-value="[('account_id', '=', int(account_id)), t-set="domain"
('partner_id', '=', int(partner_id)), t-value="[('account_id', '=', int(account_id)),
('date', '&lt;=', date_to)]" ('parent_state', '=', 'posted'),
/> ('partner_id', '=', int(partner_id)),
('date', '&lt;=', date_to)]"
/>
</t>
<t t-else="">
<t
t-set="domain"
t-value="[('account_id', '=', int(account_id)),
('partner_id', '=', int(partner_id)),
('date', '&lt;=', date_to)]"
/>
</t>
<span t-att-domain="domain" res-model="account.move.line"> <span t-att-domain="domain" res-model="account.move.line">
<t <t
t-att-style="style"
t-esc="total_amount[account_id][partner_id]['ending_balance']" t-esc="total_amount[account_id][partner_id]['ending_balance']"
t-options="{'widget': 'monetary', 'display_currency': res_company.currency_id}" t-options="{'widget': 'monetary', 'display_currency': res_company.currency_id}"
/> />
@ -558,19 +687,24 @@
<span t-esc="balance['currency_name']" /> <span t-esc="balance['currency_name']" />
</div> </div>
<!--## Initial balance cur.--> <!--## Initial balance cur.-->
<div class="act_as_cell amount"> <div class="act_as_cell amount" t-att-style="style">
<t <t t-if="only_posted_moves">
t-set="domain" <t
t-value="[('account_id', '=', balance['id'])]" t-set="domain"
/> t-value="[('account_id', '=', balance['id']), ('parent_state', '=', 'posted')]"
/>
</t>
<t t-else="">
<t
t-set="domain"
t-value="[('account_id', '=', balance['id'])]"
/>
</t>
<span <span
t-att-domain="domain" t-att-domain="domain"
res-model="account.move.line" res-model="account.move.line"
> >
<t <t t-esc="balance['initial_currency_balance']" />
t-att-style="style"
t-esc="balance['initial_currency_balance']"
/>
</span> </span>
<!-- <t t-if="line.account_group_id">--> <!-- <t t-if="line.account_group_id">-->
<!-- <t t-set="domain"--> <!-- <t t-set="domain"-->
@ -596,18 +730,27 @@
t-esc="total_amount[account_id]['currency_name']" t-esc="total_amount[account_id]['currency_name']"
/> />
</div> </div>
<div class="act_as_cell amount"> <div class="act_as_cell amount" t-att-style="style">
<t <t t-if="only_posted_moves">
t-set="domain" <t
t-value="[('account_id', '=', account_id), t-set="domain"
t-value="[('account_id', '=', account_id),
('parent_state', '=', 'posted'),
('partner_id', '=', partner_id)]" ('partner_id', '=', partner_id)]"
/> />
</t>
<t t-else="">
<t
t-set="domain"
t-value="[('account_id', '=', account_id),
('partner_id', '=', partner_id)]"
/>
</t>
<span <span
t-att-domain="domain" t-att-domain="domain"
res-model="account.move.line" res-model="account.move.line"
> >
<t <t
t-att-style="style"
t-raw="total_amount[account_id][partner_id]['initial_currency_balance']" t-raw="total_amount[account_id][partner_id]['initial_currency_balance']"
/> />
</span> </span>
@ -619,19 +762,24 @@
<t t-if="not show_partner_details"> <t t-if="not show_partner_details">
<t t-if="balance['type'] == 'account_type'"> <t t-if="balance['type'] == 'account_type'">
<t t-if="balance['currency_id']"> <t t-if="balance['currency_id']">
<div class="act_as_cell amount"> <div class="act_as_cell amount" t-att-style="style">
<t <t t-if="only_posted_moves">
t-set="domain" <t
t-value="[('account_id', '=', balance['id'])]" t-set="domain"
/> t-value="[('account_id', '=', balance['id']), ('parent_state', '=', 'posted')]"
/>
</t>
<t t-else="">
<t
t-set="domain"
t-value="[('account_id', '=', balance['id'])]"
/>
</t>
<span <span
t-att-domain="domain" t-att-domain="domain"
res-model="account.move.line" res-model="account.move.line"
> >
<t <t t-raw="balance['ending_currency_balance']" />
t-att-style="style"
t-raw="balance['ending_currency_balance']"
/>
</span> </span>
<!-- <t t-if="line.account_group_id">--> <!-- <t t-if="line.account_group_id">-->
<!-- <t t-set="domain"--> <!-- <t t-set="domain"-->
@ -650,19 +798,28 @@
</t> </t>
<t t-if="show_partner_details"> <t t-if="show_partner_details">
<t t-if="total_amount[account_id]['currency_id']"> <t t-if="total_amount[account_id]['currency_id']">
<div class="act_as_cell amount"> <div class="act_as_cell amount" t-att-style="style">
<t t-if="type == 'partner_type'"> <t t-if="type == 'partner_type'">
<t <t t-if="only_posted_moves">
t-set="domain" <t
t-value="[('account_id', '=', account_id), t-set="domain"
t-value="[('account_id', '=', account_id),
('parent_state', '=', 'posted'),
('partner_id', '=', partner_id)]" ('partner_id', '=', partner_id)]"
/> />
</t>
<t t-else="">
<t
t-set="domain"
t-value="[('account_id', '=', account_id),
('partner_id', '=', partner_id)]"
/>
</t>
<span <span
t-att-domain="domain" t-att-domain="domain"
res-model="account.move.line" res-model="account.move.line"
> >
<t <t
t-att-style="style"
t-raw="total_amount[account_id][partner_id]['ending_currency_balance']" t-raw="total_amount[account_id][partner_id]['ending_currency_balance']"
/> />
</span> </span>

View File

@ -5,6 +5,7 @@
from flectra import api, models from flectra import api, models
from flectra.tools.float_utils import float_is_zero
class TrialBalanceReport(models.AbstractModel): class TrialBalanceReport(models.AbstractModel):
@ -300,6 +301,33 @@ class TrialBalanceReport(models.AbstractModel):
] += round(tb["amount_currency"], 2) ] += round(tb["amount_currency"], 2)
return total_amount, partners_data return total_amount, partners_data
def _remove_accounts_at_cero(self, total_amount, show_partner_details, company):
def is_removable(d):
rounding = company.currency_id.rounding
return (
float_is_zero(d["initial_balance"], precision_rounding=rounding)
and float_is_zero(d["credit"], precision_rounding=rounding)
and float_is_zero(d["debit"], precision_rounding=rounding)
and float_is_zero(d["ending_balance"], precision_rounding=rounding)
)
accounts_to_remove = []
for acc_id, ta_data in total_amount.items():
if is_removable(ta_data):
accounts_to_remove.append(acc_id)
elif show_partner_details:
partner_to_remove = []
for key, value in ta_data.items():
# If the show_partner_details option is checked,
# the partner data is in the same account data dict
# but with the partner id as the key
if isinstance(key, int) and is_removable(value):
partner_to_remove.append(key)
for partner_id in partner_to_remove:
del ta_data[partner_id]
for account_id in accounts_to_remove:
del total_amount[account_id]
@api.model @api.model
def _get_data( def _get_data(
self, self,
@ -425,6 +453,11 @@ class TrialBalanceReport(models.AbstractModel):
total_amount, partners_data = self._compute_partner_amount( total_amount, partners_data = self._compute_partner_amount(
total_amount, tb_initial_prt, tb_period_prt, foreign_currency total_amount, tb_initial_prt, tb_period_prt, foreign_currency
) )
# Remove accounts a 0 from collections
if hide_account_at_0:
company = self.env["res.company"].browse(company_id)
self._remove_accounts_at_cero(total_amount, show_partner_details, company)
accounts_ids = list(total_amount.keys()) accounts_ids = list(total_amount.keys())
unaffected_id = unaffected_earnings_account unaffected_id = unaffected_earnings_account
if unaffected_id: if unaffected_id:
@ -465,59 +498,13 @@ class TrialBalanceReport(models.AbstractModel):
] += pl_initial_currency_balance ] += pl_initial_currency_balance
return total_amount, accounts_data, partners_data return total_amount, accounts_data, partners_data
def _get_hierarchy_groups( def _get_hierarchy_groups(self, group_ids, groups_data, foreign_currency):
self, group_ids, groups_data, old_groups_ids, foreign_currency
):
new_parents = False
for group_id in group_ids: for group_id in group_ids:
if groups_data[group_id]["parent_id"]: parent_id = groups_data[group_id]["parent_id"]
new_parents = True while parent_id:
nw_id = groups_data[group_id]["parent_id"] if parent_id not in groups_data.keys():
if nw_id in groups_data.keys(): group = self.env["account.group"].browse(parent_id)
groups_data[nw_id]["initial_balance"] += groups_data[group_id][ groups_data[group.id] = {
"initial_balance"
]
groups_data[nw_id]["debit"] += groups_data[group_id]["debit"]
groups_data[nw_id]["credit"] += groups_data[group_id]["credit"]
groups_data[nw_id]["balance"] += groups_data[group_id]["balance"]
groups_data[nw_id]["ending_balance"] += groups_data[group_id][
"ending_balance"
]
if foreign_currency:
groups_data[nw_id]["initial_currency_balance"] += groups_data[
group_id
]["initial_currency_balance"]
groups_data[nw_id]["ending_currency_balance"] += groups_data[
group_id
]["ending_currency_balance"]
else:
groups_data[nw_id] = {}
groups_data[nw_id]["initial_balance"] = groups_data[group_id][
"initial_balance"
]
groups_data[nw_id]["debit"] = groups_data[group_id]["debit"]
groups_data[nw_id]["credit"] = groups_data[group_id]["credit"]
groups_data[nw_id]["balance"] = groups_data[group_id]["balance"]
groups_data[nw_id]["ending_balance"] = groups_data[group_id][
"ending_balance"
]
if foreign_currency:
groups_data[nw_id]["initial_currency_balance"] = groups_data[
group_id
]["initial_currency_balance"]
groups_data[nw_id]["ending_currency_balance"] = groups_data[
group_id
]["ending_currency_balance"]
if new_parents:
nw_groups_ids = []
for group_id in list(groups_data.keys()):
if group_id not in old_groups_ids:
nw_groups_ids.append(group_id)
old_groups_ids.append(group_id)
groups = self.env["account.group"].browse(nw_groups_ids)
for group in groups:
groups_data[group.id].update(
{
"id": group.id, "id": group.id,
"code": group.code_prefix_start, "code": group.code_prefix_start,
"name": group.name, "name": group.name,
@ -526,11 +513,29 @@ class TrialBalanceReport(models.AbstractModel):
"complete_code": group.complete_code, "complete_code": group.complete_code,
"account_ids": group.compute_account_ids.ids, "account_ids": group.compute_account_ids.ids,
"type": "group_type", "type": "group_type",
"initial_balance": 0,
"debit": 0,
"credit": 0,
"balance": 0,
"ending_balance": 0,
} }
) if foreign_currency:
groups_data = self._get_hierarchy_groups( groups_data[group.id].update(
nw_groups_ids, groups_data, old_groups_ids, foreign_currency initial_currency_balance=0,
) ending_currency_balance=0,
)
acc_keys = ["debit", "credit", "balance"]
acc_keys += ["initial_balance", "ending_balance"]
for acc_key in acc_keys:
groups_data[parent_id][acc_key] += groups_data[group_id][acc_key]
if foreign_currency:
groups_data[group_id]["initial_currency_balance"] += groups_data[
group_id
]["initial_currency_balance"]
groups_data[group_id]["ending_currency_balance"] += groups_data[
group_id
]["ending_currency_balance"]
parent_id = groups_data[parent_id]["parent_id"]
return groups_data return groups_data
def _get_groups_data(self, accounts_data, total_amount, foreign_currency): def _get_groups_data(self, accounts_data, total_amount, foreign_currency):
@ -539,7 +544,9 @@ class TrialBalanceReport(models.AbstractModel):
account_group_relation = {} account_group_relation = {}
for account in accounts: for account in accounts:
accounts_data[account.id]["complete_code"] = ( accounts_data[account.id]["complete_code"] = (
account.group_id.complete_code if account.group_id.id else "" account.group_id.complete_code + " / " + account.code
if account.group_id.id
else ""
) )
if account.group_id.id: if account.group_id.id:
if account.group_id.id not in account_group_relation.keys(): if account.group_id.id not in account_group_relation.keys():
@ -590,9 +597,10 @@ class TrialBalanceReport(models.AbstractModel):
account_id account_id
]["ending_currency_balance"] ]["ending_currency_balance"]
group_ids = list(groups_data.keys()) group_ids = list(groups_data.keys())
old_group_ids = list(groups_data.keys())
groups_data = self._get_hierarchy_groups( groups_data = self._get_hierarchy_groups(
group_ids, groups_data, old_group_ids, foreign_currency group_ids,
groups_data,
foreign_currency,
) )
return groups_data return groups_data
@ -656,7 +664,7 @@ class TrialBalanceReport(models.AbstractModel):
date_to = data["date_to"] date_to = data["date_to"]
date_from = data["date_from"] date_from = data["date_from"]
hide_account_at_0 = data["hide_account_at_0"] hide_account_at_0 = data["hide_account_at_0"]
hierarchy_on = data["hierarchy_on"] show_hierarchy = data["show_hierarchy"]
show_hierarchy_level = data["show_hierarchy_level"] show_hierarchy_level = data["show_hierarchy_level"]
foreign_currency = data["foreign_currency"] foreign_currency = data["foreign_currency"]
only_posted_moves = data["only_posted_moves"] only_posted_moves = data["only_posted_moves"]
@ -700,7 +708,7 @@ class TrialBalanceReport(models.AbstractModel):
], ],
} }
) )
if hierarchy_on == "relation": if show_hierarchy:
groups_data = self._get_groups_data( groups_data = self._get_groups_data(
accounts_data, total_amount, foreign_currency accounts_data, total_amount, foreign_currency
) )
@ -710,14 +718,7 @@ class TrialBalanceReport(models.AbstractModel):
for trial in trial_balance: for trial in trial_balance:
counter = trial["complete_code"].count("/") counter = trial["complete_code"].count("/")
trial["level"] = counter trial["level"] = counter
if hierarchy_on == "computed": else:
groups_data = self._get_computed_groups_data(
accounts_data, total_amount, foreign_currency
)
trial_balance = list(groups_data.values())
trial_balance += list(accounts_data.values())
trial_balance = sorted(trial_balance, key=lambda k: k["code"])
if hierarchy_on == "none":
trial_balance = list(accounts_data.values()) trial_balance = list(accounts_data.values())
trial_balance = sorted(trial_balance, key=lambda k: k["code"]) trial_balance = sorted(trial_balance, key=lambda k: k["code"])
else: else:
@ -743,7 +744,8 @@ class TrialBalanceReport(models.AbstractModel):
"hide_account_at_0": data["hide_account_at_0"], "hide_account_at_0": data["hide_account_at_0"],
"show_partner_details": data["show_partner_details"], "show_partner_details": data["show_partner_details"],
"limit_hierarchy_level": data["limit_hierarchy_level"], "limit_hierarchy_level": data["limit_hierarchy_level"],
"hierarchy_on": hierarchy_on, "show_hierarchy": show_hierarchy,
"hide_parent_hierarchy_level": data["hide_parent_hierarchy_level"],
"trial_balance": trial_balance, "trial_balance": trial_balance,
"total_amount": total_amount, "total_amount": total_amount,
"accounts_data": accounts_data, "accounts_data": accounts_data,

View File

@ -182,11 +182,12 @@ class TrialBalanceXslx(models.AbstractModel):
total_amount = res_data["total_amount"] total_amount = res_data["total_amount"]
partners_data = res_data["partners_data"] partners_data = res_data["partners_data"]
accounts_data = res_data["accounts_data"] accounts_data = res_data["accounts_data"]
hierarchy_on = res_data["hierarchy_on"] show_hierarchy = res_data["show_hierarchy"]
show_partner_details = res_data["show_partner_details"] show_partner_details = res_data["show_partner_details"]
show_hierarchy_level = res_data["show_hierarchy_level"] show_hierarchy_level = res_data["show_hierarchy_level"]
foreign_currency = res_data["foreign_currency"] foreign_currency = res_data["foreign_currency"]
limit_hierarchy_level = res_data["limit_hierarchy_level"] limit_hierarchy_level = res_data["limit_hierarchy_level"]
hide_parent_hierarchy_level = res_data["hide_parent_hierarchy_level"]
if not show_partner_details: if not show_partner_details:
# Display array header for account lines # Display array header for account lines
self.write_array_header(report_data) self.write_array_header(report_data)
@ -194,21 +195,16 @@ class TrialBalanceXslx(models.AbstractModel):
# For each account # For each account
if not show_partner_details: if not show_partner_details:
for balance in trial_balance: for balance in trial_balance:
if hierarchy_on == "relation": if show_hierarchy:
if limit_hierarchy_level: if limit_hierarchy_level:
if show_hierarchy_level > balance["level"]: if show_hierarchy_level > balance["level"] and (
not hide_parent_hierarchy_level
or (show_hierarchy_level - 1) == balance["level"]
):
# Display account lines # Display account lines
self.write_line_from_dict(balance, report_data) self.write_line_from_dict(balance, report_data)
else: else:
self.write_line_from_dict(balance, report_data) self.write_line_from_dict(balance, report_data)
elif hierarchy_on == "computed":
if balance["type"] == "account_type":
if limit_hierarchy_level:
if show_hierarchy_level > balance["level"]:
# Display account lines
self.write_line_from_dict(balance, report_data)
else:
self.write_line_from_dict(balance, report_data)
else: else:
self.write_line_from_dict(balance, report_data) self.write_line_from_dict(balance, report_data)
else: else:

View File

@ -493,6 +493,8 @@ If you spotted it first, help us smashing it by providing a detailed and welcome
</ul> </ul>
</li> </li>
<li>Lois Rilo &lt;<a class="reference external" href="mailto:lois.rilo&#64;forgeflow.com">lois.rilo&#64;forgeflow.com</a>&gt;</li> <li>Lois Rilo &lt;<a class="reference external" href="mailto:lois.rilo&#64;forgeflow.com">lois.rilo&#64;forgeflow.com</a>&gt;</li>
<li>Saran Lim. &lt;<a class="reference external" href="mailto:saranl&#64;ecosoft.co.th">saranl&#64;ecosoft.co.th</a>&gt;</li>
<li>Omar Castiñeira &lt;<a class="reference external" href="mailto:omar&#64;comunitea.com">omar&#64;comunitea.com</a>&gt;</li>
</ul> </ul>
<p>Much of the work in this module was done at a sprint in Sorrento, Italy in <p>Much of the work in this module was done at a sprint in Sorrento, Italy in
April 2016.</p> April 2016.</p>

View File

@ -15,7 +15,7 @@ flectra.define("account_financial_report.report", function (require) {
/** /**
* Convert a model name to a capitalized title style * Convert a model name to a capitalized title style
* Example: account.mode.line --> Account Move Line * Example: account.move.line --> Account Move Line
* *
* @param {String} str * @param {String} str
* @returns {String} * @returns {String}

View File

@ -7,10 +7,12 @@ import time
from datetime import date from datetime import date
from flectra import api, fields from flectra import api, fields
from flectra.tests import tagged
from flectra.addons.account.tests.common import AccountTestInvoicingCommon from flectra.addons.account.tests.common import AccountTestInvoicingCommon
@tagged("post_install", "-at_install")
class TestGeneralLedgerReport(AccountTestInvoicingCommon): class TestGeneralLedgerReport(AccountTestInvoicingCommon):
@classmethod @classmethod
def setUpClass(cls, chart_template_ref=None): def setUpClass(cls, chart_template_ref=None):

View File

@ -7,11 +7,13 @@ from datetime import datetime
from dateutil.relativedelta import relativedelta from dateutil.relativedelta import relativedelta
from flectra.fields import Date from flectra.fields import Date
from flectra.tests import tagged
from flectra.tests.common import Form from flectra.tests.common import Form
from flectra.addons.account.tests.common import AccountTestInvoicingCommon from flectra.addons.account.tests.common import AccountTestInvoicingCommon
@tagged("post_install", "-at_install")
class TestJournalReport(AccountTestInvoicingCommon): class TestJournalReport(AccountTestInvoicingCommon):
@classmethod @classmethod
def setUpClass(cls, chart_template_ref=None): def setUpClass(cls, chart_template_ref=None):

View File

@ -2,9 +2,12 @@
# Copyright 2016 Camptocamp SA # Copyright 2016 Camptocamp SA
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html). # License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html).
from flectra.tests import tagged
from flectra.addons.account.tests.common import AccountTestInvoicingCommon from flectra.addons.account.tests.common import AccountTestInvoicingCommon
@tagged("post_install", "-at_install")
class TestOpenItems(AccountTestInvoicingCommon): class TestOpenItems(AccountTestInvoicingCommon):
@classmethod @classmethod
def setUpClass(cls, chart_template_ref=None): def setUpClass(cls, chart_template_ref=None):

View File

@ -3,9 +3,12 @@
# Copyright 2020 ForgeFlow S.L. (https://www.forgeflow.com) # Copyright 2020 ForgeFlow S.L. (https://www.forgeflow.com)
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html). # License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html).
from flectra.tests import tagged
from flectra.addons.account.tests.common import AccountTestInvoicingCommon from flectra.addons.account.tests.common import AccountTestInvoicingCommon
@tagged("post_install", "-at_install")
class TestTrialBalanceReport(AccountTestInvoicingCommon): class TestTrialBalanceReport(AccountTestInvoicingCommon):
@classmethod @classmethod
def setUpClass(cls, chart_template_ref=None): def setUpClass(cls, chart_template_ref=None):
@ -160,7 +163,7 @@ class TestTrialBalanceReport(AccountTestInvoicingCommon):
move.action_post() move.action_post()
def _get_report_lines( def _get_report_lines(
self, with_partners=False, account_ids=False, hierarchy_on="computed" self, with_partners=False, account_ids=False, show_hierarchy=False
): ):
company = self.env.user.company_id company = self.env.user.company_id
trial_balance = self.env["trial.balance.report.wizard"].create( trial_balance = self.env["trial.balance.report.wizard"].create(
@ -169,7 +172,7 @@ class TestTrialBalanceReport(AccountTestInvoicingCommon):
"date_to": self.date_end, "date_to": self.date_end,
"target_move": "posted", "target_move": "posted",
"hide_account_at_0": True, "hide_account_at_0": True,
"hierarchy_on": hierarchy_on, "show_hierarchy": show_hierarchy,
"company_id": company.id, "company_id": company.id,
"account_ids": account_ids, "account_ids": account_ids,
"fy_start_date": self.fy_date_start, "fy_start_date": self.fy_date_start,
@ -245,195 +248,9 @@ class TestTrialBalanceReport(AccountTestInvoicingCommon):
self.assertTrue(self.account100 in self.group1.compute_account_ids) self.assertTrue(self.account100 in self.group1.compute_account_ids)
self.assertTrue(self.account200 in self.group2.compute_account_ids) self.assertTrue(self.account200 in self.group2.compute_account_ids)
def test_01_account_balance_computed(self):
# Change code of the P&L for not being automatically included
# in group 1 balances
earning_accs = self.env["account.account"].search(
[
(
"user_type_id",
"=",
self.env.ref("account.data_unaffected_earnings").id,
),
("company_id", "=", self.env.user.company_id.id),
]
)
for acc in earning_accs:
acc.code = "999" + acc.code
# Generate the general ledger line
res_data = self._get_report_lines()
trial_balance = res_data["trial_balance"]
check_receivable_account = self.check_account_in_report(
self.account100.id, trial_balance
)
self.assertFalse(check_receivable_account)
check_income_account = self.check_account_in_report(
self.account200.id, trial_balance
)
self.assertFalse(check_income_account)
self.assertTrue(
self.check_account_in_report(self.unaffected_account.id, trial_balance)
)
# Add a move at the previous day of the first day of fiscal year
# to check the initial balance
self._add_move(
date=self.previous_fy_date_end,
receivable_debit=1000,
receivable_credit=0,
income_debit=0,
income_credit=1000,
)
# Re Generate the trial balance line
res_data = self._get_report_lines()
trial_balance = res_data["trial_balance"]
check_receivable_account = self.check_account_in_report(
self.account100.id, trial_balance
)
self.assertTrue(check_receivable_account)
check_income_account = self.check_account_in_report(
self.account200.id, trial_balance
)
self.assertFalse(check_income_account)
# Check the initial and final balance
account_receivable_lines = self._get_account_lines(
self.account100.id, trial_balance
)
group1_lines = self._get_group_lines(self.group1.id, trial_balance)
self.assertEqual(account_receivable_lines["initial_balance"], 1000)
self.assertEqual(account_receivable_lines["debit"], 0)
self.assertEqual(account_receivable_lines["credit"], 0)
self.assertEqual(account_receivable_lines["final_balance"], 1000)
self.assertEqual(group1_lines["initial_balance"], 1000)
self.assertEqual(group1_lines["debit"], 0)
self.assertEqual(group1_lines["credit"], 0)
self.assertEqual(group1_lines["final_balance"], 1000)
# Add reversed move of the initial move the first day of fiscal year
# to check the first day of fiscal year is not used
# to compute the initial balance
self._add_move(
date=self.fy_date_start,
receivable_debit=0,
receivable_credit=1000,
income_debit=1000,
income_credit=0,
)
# Re Generate the trial balance line
res_data = self._get_report_lines()
trial_balance = res_data["trial_balance"]
check_receivable_account = self.check_account_in_report(
self.account100.id, trial_balance
)
self.assertTrue(check_receivable_account)
check_income_account = self.check_account_in_report(
self.account200.id, trial_balance
)
self.assertTrue(check_income_account)
# Re Generate the trial balance line with an account filter
res_data = self._get_report_lines(
account_ids=(self.account100 + self.account200).ids
)
trial_balance = res_data["trial_balance"]
self.assertTrue(self.check_account_in_report(self.account100.id, trial_balance))
self.assertTrue(self.check_account_in_report(self.account200.id, trial_balance))
# Unaffected account should not be present
self.assertFalse(
self.check_account_in_report(self.unaffected_account.id, trial_balance)
)
# Check the initial and final balance
account_receivable_lines = self._get_account_lines(
self.account100.id, trial_balance
)
account_income_lines = self._get_account_lines(
self.account200.id, trial_balance
)
group1_lines = self._get_group_lines(self.group1.id, trial_balance)
group2_lines = self._get_group_lines(self.group2.id, trial_balance)
self.assertEqual(account_receivable_lines["initial_balance"], 1000)
self.assertEqual(account_receivable_lines["debit"], 0)
self.assertEqual(account_receivable_lines["credit"], 1000)
self.assertEqual(account_receivable_lines["final_balance"], 0)
self.assertEqual(account_income_lines["initial_balance"], 0)
self.assertEqual(account_income_lines["debit"], 1000)
self.assertEqual(account_income_lines["credit"], 0)
self.assertEqual(account_income_lines["final_balance"], 1000)
self.assertEqual(group1_lines["initial_balance"], 1000)
self.assertEqual(group1_lines["debit"], 0)
self.assertEqual(group1_lines["credit"], 1000)
self.assertEqual(group1_lines["final_balance"], 0)
self.assertEqual(group2_lines["initial_balance"], 0)
self.assertEqual(group2_lines["debit"], 1000)
self.assertEqual(group2_lines["credit"], 0)
self.assertEqual(group2_lines["final_balance"], 1000)
# Add another move at the end day of fiscal year
# to check that it correctly used on report
self._add_move(
date=self.fy_date_end,
receivable_debit=0,
receivable_credit=1000,
income_debit=1000,
income_credit=0,
)
# Re Generate the trial balance line
res_data = self._get_report_lines()
trial_balance = res_data["trial_balance"]
check_receivable_account = self.check_account_in_report(
self.account100.id, trial_balance
)
self.assertTrue(check_receivable_account)
check_income_account = self.check_account_in_report(
self.account200.id, trial_balance
)
self.assertTrue(check_income_account)
# Check the initial and final balance
account_receivable_lines = self._get_account_lines(
self.account100.id, trial_balance
)
account_income_lines = self._get_account_lines(
self.account200.id, trial_balance
)
group1_lines = self._get_group_lines(self.group1.id, trial_balance)
group2_lines = self._get_group_lines(self.group2.id, trial_balance)
self.assertEqual(account_receivable_lines["initial_balance"], 1000)
self.assertEqual(account_receivable_lines["debit"], 0)
self.assertEqual(account_receivable_lines["credit"], 2000)
self.assertEqual(account_receivable_lines["final_balance"], -1000)
self.assertEqual(account_income_lines["initial_balance"], 0)
self.assertEqual(account_income_lines["debit"], 2000)
self.assertEqual(account_income_lines["credit"], 0)
self.assertEqual(account_income_lines["final_balance"], 2000)
self.assertEqual(group1_lines["initial_balance"], 1000)
self.assertEqual(group1_lines["debit"], 0)
self.assertEqual(group1_lines["credit"], 2000)
self.assertEqual(group1_lines["final_balance"], -1000)
self.assertEqual(group2_lines["initial_balance"], 0)
self.assertEqual(group2_lines["debit"], 2000)
self.assertEqual(group2_lines["credit"], 0)
self.assertEqual(group2_lines["final_balance"], 2000)
def test_02_account_balance_hierarchy(self): def test_02_account_balance_hierarchy(self):
# Generate the general ledger line # Generate the general ledger line
res_data = self._get_report_lines(hierarchy_on="relation") res_data = self._get_report_lines(show_hierarchy=True)
trial_balance = res_data["trial_balance"] trial_balance = res_data["trial_balance"]
check_receivable_account = self.check_account_in_report( check_receivable_account = self.check_account_in_report(
self.account100.id, trial_balance self.account100.id, trial_balance
@ -455,7 +272,7 @@ class TestTrialBalanceReport(AccountTestInvoicingCommon):
) )
# Re Generate the trial balance line # Re Generate the trial balance line
res_data = self._get_report_lines(hierarchy_on="relation") res_data = self._get_report_lines(show_hierarchy=True)
trial_balance = res_data["trial_balance"] trial_balance = res_data["trial_balance"]
check_receivable_account = self.check_account_in_report( check_receivable_account = self.check_account_in_report(
self.account100.id, trial_balance self.account100.id, trial_balance
@ -494,7 +311,7 @@ class TestTrialBalanceReport(AccountTestInvoicingCommon):
) )
# Re Generate the trial balance line # Re Generate the trial balance line
res_data = self._get_report_lines(hierarchy_on="relation") res_data = self._get_report_lines(show_hierarchy=True)
trial_balance = res_data["trial_balance"] trial_balance = res_data["trial_balance"]
check_receivable_account = self.check_account_in_report( check_receivable_account = self.check_account_in_report(
self.account100.id, trial_balance self.account100.id, trial_balance
@ -546,7 +363,7 @@ class TestTrialBalanceReport(AccountTestInvoicingCommon):
) )
# Re Generate the trial balance line # Re Generate the trial balance line
res_data = self._get_report_lines(hierarchy_on="relation") res_data = self._get_report_lines(show_hierarchy=True)
trial_balance = res_data["trial_balance"] trial_balance = res_data["trial_balance"]
check_receivable_account = self.check_account_in_report( check_receivable_account = self.check_account_in_report(
self.account100.id, trial_balance self.account100.id, trial_balance
@ -712,7 +529,7 @@ class TestTrialBalanceReport(AccountTestInvoicingCommon):
"date_to": self.date_end, "date_to": self.date_end,
"target_move": "posted", "target_move": "posted",
"hide_account_at_0": False, "hide_account_at_0": False,
"hierarchy_on": "none", "show_hierarchy": False,
"company_id": company.id, "company_id": company.id,
"fy_start_date": self.fy_date_start, "fy_start_date": self.fy_date_start,
} }
@ -765,7 +582,7 @@ class TestTrialBalanceReport(AccountTestInvoicingCommon):
"date_to": self.date_end, "date_to": self.date_end,
"target_move": "posted", "target_move": "posted",
"hide_account_at_0": False, "hide_account_at_0": False,
"hierarchy_on": "none", "show_hierarchy": False,
"company_id": company.id, "company_id": company.id,
"fy_start_date": self.fy_date_start, "fy_start_date": self.fy_date_start,
} }
@ -819,7 +636,7 @@ class TestTrialBalanceReport(AccountTestInvoicingCommon):
"date_to": self.date_end, "date_to": self.date_end,
"target_move": "posted", "target_move": "posted",
"hide_account_at_0": False, "hide_account_at_0": False,
"hierarchy_on": "none", "show_hierarchy": False,
"company_id": company.id, "company_id": company.id,
"fy_start_date": self.fy_date_start, "fy_start_date": self.fy_date_start,
} }

View File

@ -6,11 +6,13 @@ import time
from datetime import date from datetime import date
from flectra import fields from flectra import fields
from flectra.tests import tagged
from flectra.tests.common import Form from flectra.tests.common import Form
from flectra.addons.account.tests.common import AccountTestInvoicingCommon from flectra.addons.account.tests.common import AccountTestInvoicingCommon
@tagged("post_install", "-at_install")
class TestVATReport(AccountTestInvoicingCommon): class TestVATReport(AccountTestInvoicingCommon):
@classmethod @classmethod
def init_invoice( def init_invoice(

View File

@ -55,7 +55,8 @@ class AgedPartnerBalanceWizard(models.TransientModel):
end_range = int(self.account_code_to.code) end_range = int(self.account_code_to.code)
self.account_ids = self.env["account.account"].search( self.account_ids = self.env["account.account"].search(
[ [
("code", "in", [x for x in range(start_range, end_range + 1)]), ("code", ">=", start_range),
("code", "<=", end_range),
("reconcile", "=", True), ("reconcile", "=", True),
] ]
) )

View File

@ -112,7 +112,7 @@ class GeneralLedgerReportWizard(models.TransientModel):
start_range = int(self.account_code_from.code) start_range = int(self.account_code_from.code)
end_range = int(self.account_code_to.code) end_range = int(self.account_code_to.code)
self.account_ids = self.env["account.account"].search( self.account_ids = self.env["account.account"].search(
[("code", "in", [x for x in range(start_range, end_range + 1)])] [("code", ">=", start_range), ("code", "<=", end_range)]
) )
if self.company_id: if self.company_id:
self.account_ids = self.account_ids.filtered( self.account_ids = self.account_ids.filtered(

View File

@ -76,7 +76,8 @@ class OpenItemsReportWizard(models.TransientModel):
end_range = int(self.account_code_to.code) end_range = int(self.account_code_to.code)
self.account_ids = self.env["account.account"].search( self.account_ids = self.env["account.account"].search(
[ [
("code", "in", [x for x in range(start_range, end_range + 1)]), ("code", ">=", start_range),
("code", "<=", end_range),
("reconcile", "=", True), ("reconcile", "=", True),
] ]
) )

View File

@ -26,20 +26,9 @@ class TrialBalanceReportWizard(models.TransientModel):
required=True, required=True,
default="posted", default="posted",
) )
hierarchy_on = fields.Selection( show_hierarchy = fields.Boolean(
[ string="Show hierarchy",
("computed", "Computed Accounts"), help="Use when your account groups are hierarchical",
("relation", "Child Accounts"),
("none", "No hierarchy"),
],
string="Hierarchy On",
required=True,
default="none",
help="""Computed Accounts: Use when the account group have codes
that represent prefixes of the actual accounts.\n
Child Accounts: Use when your account groups are hierarchical.\n
No hierarchy: Use to display just the accounts, without any grouping.
""",
) )
limit_hierarchy_level = fields.Boolean("Limit hierarchy levels") limit_hierarchy_level = fields.Boolean("Limit hierarchy levels")
show_hierarchy_level = fields.Integer("Hierarchy Levels to display", default=1) show_hierarchy_level = fields.Integer("Hierarchy Levels to display", default=1)
@ -94,19 +83,19 @@ class TrialBalanceReportWizard(models.TransientModel):
start_range = int(self.account_code_from.code) start_range = int(self.account_code_from.code)
end_range = int(self.account_code_to.code) end_range = int(self.account_code_to.code)
self.account_ids = self.env["account.account"].search( self.account_ids = self.env["account.account"].search(
[("code", "in", [x for x in range(start_range, end_range + 1)])] [("code", ">=", start_range), ("code", "<=", end_range)]
) )
if self.company_id: if self.company_id:
self.account_ids = self.account_ids.filtered( self.account_ids = self.account_ids.filtered(
lambda a: a.company_id == self.company_id lambda a: a.company_id == self.company_id
) )
@api.constrains("hierarchy_on", "show_hierarchy_level") @api.constrains("show_hierarchy", "show_hierarchy_level")
def _check_show_hierarchy_level(self): def _check_show_hierarchy_level(self):
for rec in self: for rec in self:
if rec.hierarchy_on != "none" and rec.show_hierarchy_level <= 0: if rec.show_hierarchy and rec.show_hierarchy_level <= 0:
raise UserError( raise UserError(
_("The hierarchy level to filter on must be " "greater than 0.") _("The hierarchy level to filter on must be greater than 0.")
) )
@api.depends("date_from") @api.depends("date_from")
@ -266,7 +255,7 @@ class TrialBalanceReportWizard(models.TransientModel):
"partner_ids": self.partner_ids.ids or [], "partner_ids": self.partner_ids.ids or [],
"journal_ids": self.journal_ids.ids or [], "journal_ids": self.journal_ids.ids or [],
"fy_start_date": self.fy_start_date, "fy_start_date": self.fy_start_date,
"hierarchy_on": self.hierarchy_on, "show_hierarchy": self.show_hierarchy,
"limit_hierarchy_level": self.limit_hierarchy_level, "limit_hierarchy_level": self.limit_hierarchy_level,
"show_hierarchy_level": self.show_hierarchy_level, "show_hierarchy_level": self.show_hierarchy_level,
"hide_parent_hierarchy_level": self.hide_parent_hierarchy_level, "hide_parent_hierarchy_level": self.hide_parent_hierarchy_level,

View File

@ -28,13 +28,12 @@
<field name="hide_account_at_0" /> <field name="hide_account_at_0" />
<field name="show_partner_details" /> <field name="show_partner_details" />
<field <field
name="hierarchy_on" name="show_hierarchy"
widget="radio"
attrs="{'invisible':[('show_partner_details','=',True)]}" attrs="{'invisible':[('show_partner_details','=',True)]}"
/> />
<field <field
name="limit_hierarchy_level" name="limit_hierarchy_level"
attrs="{'invisible':['|', ('hierarchy_on','in',['none', 'computed']),('show_partner_details','=',True)]}" attrs="{'invisible':['|', ('show_hierarchy','=',False),('show_partner_details','=',True)]}"
/> />
<field <field
name="show_hierarchy_level" name="show_hierarchy_level"

View File

@ -1,6 +1,7 @@
Most of the files are Most of the files are
:Copyright: This stylesheet has been placed in the public domain. :Copyright: This stylesheet has been placed in the public domain.
<!-- Copyright 2016 Lorenzo Battistini - Agile Business Group
Copyright 2016 ACSONE SA/NV - Stéphane Bidoul Copyright 2016 ACSONE SA/NV - Stéphane Bidoul
Copyright 2016 Antonio Espinosa <antonio.espinosa@tecnativa.com> Copyright 2016 Antonio Espinosa <antonio.espinosa@tecnativa.com>
Copyright 2016 Giovanni Capalbo <giovanni@therp.nl> Copyright 2016 Giovanni Capalbo <giovanni@therp.nl>

View File

@ -6,7 +6,7 @@
{ {
"name": "Tax Balance", "name": "Tax Balance",
"summary": "Compute tax balances based on date range", "summary": "Compute tax balances based on date range",
"version": "2.0.1.2.4", "version": "2.0.1.2.5",
"development_status": "Mature", "development_status": "Mature",
"category": "Invoices & Payments", "category": "Invoices & Payments",
"website": "https://gitlab.com/flectra-community/account-financial-reporting", "website": "https://gitlab.com/flectra-community/account-financial-reporting",

View File

@ -265,6 +265,7 @@ class TestAccountTaxBalance(HttpCase):
self.assertEqual(tax.balance, 17.5) self.assertEqual(tax.balance, 17.5)
@flectra.tests.tagged("post_install", "-at_install")
class TestInvoicingBalance(AccountTestInvoicingCommon): class TestInvoicingBalance(AccountTestInvoicingCommon):
def test_balance_recomputation(self): def test_balance_recomputation(self):
"""Check that balances are computed correctly for different dates.""" """Check that balances are computed correctly for different dates."""

View File

@ -0,0 +1,92 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * mis_template_financial_report
#
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 14.0\n"
"Report-Msgid-Bugs-To: \n"
"PO-Revision-Date: 2022-05-04 12:05+0000\n"
"Last-Translator: Víctor Martínez <victor.martinez@tecnativa.com>\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 4.3.2\n"
#. module: mis_template_financial_report
#: model:ir.model.fields,field_description:mis_template_financial_report.field_mis_report_instance__allow_horizontal
msgid "Allow Horizontal"
msgstr "Permitir horizontal"
#. module: mis_template_financial_report
#: model:mis.report.kpi,description:mis_template_financial_report.kpi_assets
msgid "Assets"
msgstr "Activos"
#. module: mis_template_financial_report
#: model:mis.report,name:mis_template_financial_report.report_bs
msgid "Balance Sheet"
msgstr "Balance de situación"
#. module: mis_template_financial_report
#: model:ir.model.fields,field_description:mis_template_financial_report.field_mis_report_instance__display_name
msgid "Display Name"
msgstr "Nombre mostrado"
#. module: mis_template_financial_report
#: model:ir.model.fields,field_description:mis_template_financial_report.field_mis_report_instance__horizontal
msgid "Horizontal"
msgstr "Horizontal"
#. module: mis_template_financial_report
#: model:ir.model.fields,field_description:mis_template_financial_report.field_mis_report_instance__id
msgid "ID"
msgstr "ID"
#. module: mis_template_financial_report
#: model:ir.model.fields,field_description:mis_template_financial_report.field_mis_report_instance____last_update
msgid "Last Modified on"
msgstr "Última modificación en"
#. module: mis_template_financial_report
#: model:mis.report.kpi,description:mis_template_financial_report.kpi_liability
msgid "Liabilities"
msgstr "Pasivos"
#. module: mis_template_financial_report
#: model:mis.report.kpi,description:mis_template_financial_report.kpi_liability_total
msgid "Liability"
msgstr "Pasivo"
#. module: mis_template_financial_report
#: model:mis.report.kpi,description:mis_template_financial_report.kpi_loss
msgid "Loss"
msgstr "Pérdidas"
#. module: mis_template_financial_report
#: model:ir.model,name:mis_template_financial_report.model_mis_report_instance
msgid "MIS Report Instance"
msgstr "Instancia de informe MIS"
#. module: mis_template_financial_report
#: model:mis.report.kpi,description:mis_template_financial_report.kpi_profit
msgid "Profit"
msgstr "Beneficio"
#. module: mis_template_financial_report
#: model:mis.report,name:mis_template_financial_report.report_pl
msgid "Profit & Loss"
msgstr "Ganancias y Pérdidas"
#. module: mis_template_financial_report
#: model:mis.report.kpi,description:mis_template_financial_report.kpi_liability_pl_subreport
msgid "Profit / Loss"
msgstr "Ganancias / Pérdidas"
#. module: mis_template_financial_report
#: model:mis.report.kpi,description:mis_template_financial_report.kpi_pl_to_report
msgid "Profit or loss to report"
msgstr "Ganancias o pérdidas a reportar"

View File

@ -3,14 +3,13 @@
{ {
"name": "Partner Statement", "name": "Partner Statement",
"version": "2.0.1.1.0", "version": "2.0.1.2.0",
"category": "Accounting & Finance", "category": "Accounting & Finance",
"summary": "OCA Financial Reports", "summary": "OCA Financial Reports",
"author": "ForgeFlow, Odoo Community Association (OCA)", "author": "ForgeFlow, Odoo Community Association (OCA)",
"website": "https://gitlab.com/flectra-community/account-financial-reporting", "website": "https://gitlab.com/flectra-community/account-financial-reporting",
"license": "AGPL-3", "license": "AGPL-3",
"depends": ["account", "report_xlsx", "report_xlsx_helper"], "depends": ["account", "report_xlsx", "report_xlsx_helper"],
"external_dependencies": {"python": ["dateutil"]},
"data": [ "data": [
"security/ir.model.access.csv", "security/ir.model.access.csv",
"security/statement_security.xml", "security/statement_security.xml",

View File

@ -9,7 +9,7 @@ msgstr ""
"Project-Id-Version: Odoo Server 10.0\n" "Project-Id-Version: Odoo Server 10.0\n"
"Report-Msgid-Bugs-To: \n" "Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2017-12-22 16:14+0000\n" "POT-Creation-Date: 2017-12-22 16:14+0000\n"
"PO-Revision-Date: 2021-11-15 13:36+0000\n" "PO-Revision-Date: 2022-03-10 12:17+0000\n"
"Last-Translator: Pedro Castro Silva <pedrocs@exo.pt>\n" "Last-Translator: Pedro Castro Silva <pedrocs@exo.pt>\n"
"Language-Team: Portuguese (https://www.transifex.com/oca/teams/23907/pt/)\n" "Language-Team: Portuguese (https://www.transifex.com/oca/teams/23907/pt/)\n"
"Language: pt\n" "Language: pt\n"
@ -23,13 +23,13 @@ msgstr ""
#: code:addons/partner_statement/report/activity_statement_xlsx.py:0 #: code:addons/partner_statement/report/activity_statement_xlsx.py:0
#, python-format #, python-format
msgid "%sStatement between %s and %s in %s" msgid "%sStatement between %s and %s in %s"
msgstr "" msgstr "%sExtrato entre %s e %s em %s"
#. module: partner_statement #. module: partner_statement
#: code:addons/partner_statement/report/outstanting_statement_xlsx.py:0 #: code:addons/partner_statement/report/outstanting_statement_xlsx.py:0
#, python-format #, python-format
msgid "%sStatement up to %s in %s" msgid "%sStatement up to %s in %s"
msgstr "" msgstr "%sExtrato até %s em %s"
#. module: partner_statement #. module: partner_statement
#: code:addons/partner_statement/report/report_statement_common.py:0 #: code:addons/partner_statement/report/report_statement_common.py:0
@ -94,6 +94,11 @@ msgid ""
"overdue.\n" "overdue.\n"
" </span>" " </span>"
msgstr "" msgstr ""
"<span class=\"o_form_label\">Os detalhes sobre a antiguidade podem ser "
"mostrados no relatório, expressos em intervalos,\n"
" para que o parceiro possa rever quanto está aberto, vencido ou "
"atrasado.\n"
" </span>"
#. module: partner_statement #. module: partner_statement
#: model_terms:ir.ui.view,arch_db:partner_statement.activity_statement_wizard_view #: model_terms:ir.ui.view,arch_db:partner_statement.activity_statement_wizard_view
@ -112,6 +117,18 @@ msgid ""
" <br/>\n" " <br/>\n"
" <br/>" " <br/>"
msgstr "" msgstr ""
"<span class=\"o_form_label\">O extrato de movimentos fornece detalhes de "
"todas as atividades em\n"
" as contas a receber e a pagar de um parceiro entre duas "
"datas selecionadas. Isto inclui todas as faturas,\n"
" notas de crédito e pagamentos. Qualquer saldo em aberto "
"anterior ao período escolhido para o\n"
" extrato aparecerá como um saldo a termo na parte "
"superior da declaração. A lista é\n"
" exibida em ordem cronológica e dividida por moedas.\n"
" </span>\n"
" <br/>\n"
" <br/>"
#. module: partner_statement #. module: partner_statement
#: model_terms:ir.ui.view,arch_db:partner_statement.outstanding_statement_wizard_view #: model_terms:ir.ui.view,arch_db:partner_statement.outstanding_statement_wizard_view
@ -127,6 +144,15 @@ msgid ""
" <br/>\n" " <br/>\n"
" <br/>" " <br/>"
msgstr "" msgstr ""
"<span class=\"o_form_label\">O extrato de pendentes fornece detalhes de "
"todos os valores a receber e a pagar,\n"
" para cada parceiro e até uma certa data. Isto inclui todas as "
"faturas não pagas, reembolsos não reclamados\n"
" e pagamentos pendentes. A lista é exibida em ordem cronológica e "
"dividida por moedas.\n"
" </span>\n"
" <br/>\n"
" <br/>"
#. module: partner_statement #. module: partner_statement
#: model_terms:ir.ui.view,arch_db:partner_statement.activity_statement_document #: model_terms:ir.ui.view,arch_db:partner_statement.activity_statement_document
@ -175,12 +201,12 @@ msgstr "Assistente de Extrato de Movimentos"
#. module: partner_statement #. module: partner_statement
#: model:ir.model,name:partner_statement.model_report_p_s_report_activity_statement_xlsx #: model:ir.model,name:partner_statement.model_report_p_s_report_activity_statement_xlsx
msgid "Activity Statement XLSL Report" msgid "Activity Statement XLSL Report"
msgstr "" msgstr "Relatório Extrato de Movimentos XLSX"
#. module: partner_statement #. module: partner_statement
#: model:ir.actions.report,name:partner_statement.action_print_activity_statement_xlsx #: model:ir.actions.report,name:partner_statement.action_print_activity_statement_xlsx
msgid "Activity Statement XLSX" msgid "Activity Statement XLSX"
msgstr "" msgstr "Extrato de Movimentos XLSX"
#. module: partner_statement #. module: partner_statement
#: model_terms:ir.ui.view,arch_db:partner_statement.res_config_settings_view_form #: model_terms:ir.ui.view,arch_db:partner_statement.res_config_settings_view_form
@ -223,7 +249,7 @@ msgstr "Resumo de Antiguidades a"
#: code:addons/partner_statement/report/outstanting_statement_xlsx.py:0 #: code:addons/partner_statement/report/outstanting_statement_xlsx.py:0
#, python-format #, python-format
msgid "Aging Report at %s in %s" msgid "Aging Report at %s in %s"
msgstr "" msgstr "Relatório de Antiguidade a %s em %s"
#. module: partner_statement #. module: partner_statement
#: model_terms:ir.ui.view,arch_db:partner_statement.activity_statement_document #: model_terms:ir.ui.view,arch_db:partner_statement.activity_statement_document
@ -307,7 +333,7 @@ msgstr "Data de Início"
#: code:addons/partner_statement/report/outstanting_statement_xlsx.py:0 #: code:addons/partner_statement/report/outstanting_statement_xlsx.py:0
#, python-format #, python-format
msgid "Date:" msgid "Date:"
msgstr "" msgstr "Data:"
#. module: partner_statement #. module: partner_statement
#: code:addons/partner_statement/report/activity_statement_xlsx.py:0 #: code:addons/partner_statement/report/activity_statement_xlsx.py:0
@ -385,7 +411,7 @@ msgstr "Exportar PDF"
#. module: partner_statement #. module: partner_statement
#: model_terms:ir.ui.view,arch_db:partner_statement.statement_common_view #: model_terms:ir.ui.view,arch_db:partner_statement.statement_common_view
msgid "Export XLSX" msgid "Export XLSX"
msgstr "" msgstr "Exportar XLSX"
#. module: partner_statement #. module: partner_statement
#: model:ir.model.fields,field_description:partner_statement.field_activity_statement_wizard__id #: model:ir.model.fields,field_description:partner_statement.field_activity_statement_wizard__id
@ -476,12 +502,12 @@ msgstr "Assistente de Extrato de Documentos Pendentes"
#. module: partner_statement #. module: partner_statement
#: model:ir.model,name:partner_statement.model_report_p_s_report_outstanding_statement_xlsx #: model:ir.model,name:partner_statement.model_report_p_s_report_outstanding_statement_xlsx
msgid "Outstanding Statement XLSL Report" msgid "Outstanding Statement XLSL Report"
msgstr "" msgstr "Relatório Extrato de Documentos Pendentes XLSX"
#. module: partner_statement #. module: partner_statement
#: model:ir.actions.report,name:partner_statement.action_print_outstanding_statement_xlsx #: model:ir.actions.report,name:partner_statement.action_print_outstanding_statement_xlsx
msgid "Outstanding Statement XLSX" msgid "Outstanding Statement XLSX"
msgstr "" msgstr "Extrato de Documentos Pendentes XLSX"
#. module: partner_statement #. module: partner_statement
#: model_terms:ir.ui.view,arch_db:partner_statement.res_config_settings_view_form #: model_terms:ir.ui.view,arch_db:partner_statement.res_config_settings_view_form
@ -526,7 +552,7 @@ msgstr "A Receber"
#: code:addons/partner_statement/report/outstanting_statement_xlsx.py:0 #: code:addons/partner_statement/report/outstanting_statement_xlsx.py:0
#, python-format #, python-format
msgid "Reference Number" msgid "Reference Number"
msgstr "" msgstr "Número de Referência"
#. module: partner_statement #. module: partner_statement
#: model_terms:ir.ui.view,arch_db:partner_statement.activity_statement_document #: model_terms:ir.ui.view,arch_db:partner_statement.activity_statement_document
@ -562,7 +588,7 @@ msgstr "Extrato entre"
#: code:addons/partner_statement/report/outstanting_statement_xlsx.py:0 #: code:addons/partner_statement/report/outstanting_statement_xlsx.py:0
#, python-format #, python-format
msgid "Statement from:" msgid "Statement from:"
msgstr "" msgstr "De:"
#. module: partner_statement #. module: partner_statement
#: model_terms:ir.ui.view,arch_db:partner_statement.activity_statement_document #: model_terms:ir.ui.view,arch_db:partner_statement.activity_statement_document
@ -575,14 +601,14 @@ msgstr "Extrato de Conta"
#: code:addons/partner_statement/report/outstanting_statement_xlsx.py:0 #: code:addons/partner_statement/report/outstanting_statement_xlsx.py:0
#, python-format #, python-format
msgid "Statement of Account from %s" msgid "Statement of Account from %s"
msgstr "" msgstr "Extrato de Conta de %s"
#. module: partner_statement #. module: partner_statement
#: code:addons/partner_statement/report/activity_statement_xlsx.py:0 #: code:addons/partner_statement/report/activity_statement_xlsx.py:0
#: code:addons/partner_statement/report/outstanting_statement_xlsx.py:0 #: code:addons/partner_statement/report/outstanting_statement_xlsx.py:0
#, python-format #, python-format
msgid "Statement to:" msgid "Statement to:"
msgstr "" msgstr "Até:"
#. module: partner_statement #. module: partner_statement
#: model_terms:ir.ui.view,arch_db:partner_statement.outstanding_statement_document #: model_terms:ir.ui.view,arch_db:partner_statement.outstanding_statement_document
@ -615,12 +641,12 @@ msgstr "Usar extratos de pendentes"
#: code:addons/partner_statement/report/outstanting_statement_xlsx.py:0 #: code:addons/partner_statement/report/outstanting_statement_xlsx.py:0
#, python-format #, python-format
msgid "VAT:" msgid "VAT:"
msgstr "" msgstr "IVA:"
#. module: partner_statement #. module: partner_statement
#: model_terms:ir.ui.view,arch_db:partner_statement.statement_common_view #: model_terms:ir.ui.view,arch_db:partner_statement.statement_common_view
msgid "View" msgid "View"
msgstr "" msgstr "Ver"
#. module: partner_statement #. module: partner_statement
#: model_terms:ir.ui.view,arch_db:partner_statement.activity_statement_document #: model_terms:ir.ui.view,arch_db:partner_statement.activity_statement_document

View File

@ -18,14 +18,14 @@ class ActivityStatement(models.AbstractModel):
self._cr.mogrify( self._cr.mogrify(
""" """
SELECT l.partner_id, l.currency_id, l.company_id, SELECT l.partner_id, l.currency_id, l.company_id,
CASE WHEN l.currency_id is not null AND l.amount_currency > 0.0 sum(CASE WHEN l.currency_id is not null AND l.amount_currency > 0.0
THEN sum(l.amount_currency) THEN l.amount_currency
ELSE sum(l.debit) ELSE l.debit
END as debit, END) as debit,
CASE WHEN l.currency_id is not null AND l.amount_currency < 0.0 sum(CASE WHEN l.currency_id is not null AND l.amount_currency < 0.0
THEN sum(l.amount_currency * (-1)) THEN l.amount_currency * (-1)
ELSE sum(l.credit) ELSE l.credit
END as credit END) as credit
FROM account_move_line l FROM account_move_line l
JOIN account_account aa ON (aa.id = l.account_id) JOIN account_account aa ON (aa.id = l.account_id)
JOIN account_account_type at ON (at.id = aa.user_type_id) JOIN account_account_type at ON (at.id = aa.user_type_id)
@ -34,7 +34,7 @@ class ActivityStatement(models.AbstractModel):
AND at.type = %(account_type)s AND at.type = %(account_type)s
AND l.date < %(date_start)s AND not l.blocked AND l.date < %(date_start)s AND not l.blocked
AND m.state IN ('posted') AND m.state IN ('posted')
GROUP BY l.partner_id, l.currency_id, l.amount_currency, l.company_id GROUP BY l.partner_id, l.currency_id, l.company_id
""", """,
locals(), locals(),
), ),
@ -94,14 +94,14 @@ class ActivityStatement(models.AbstractModel):
ELSE '' ELSE ''
END as ref, END as ref,
l.blocked, l.currency_id, l.company_id, l.blocked, l.currency_id, l.company_id,
CASE WHEN (l.currency_id is not null AND l.amount_currency > 0.0) sum(CASE WHEN (l.currency_id is not null AND l.amount_currency > 0.0)
THEN sum(l.amount_currency) THEN l.amount_currency
ELSE sum(l.debit) ELSE l.debit
END as debit, END) as debit,
CASE WHEN (l.currency_id is not null AND l.amount_currency < 0.0) sum(CASE WHEN (l.currency_id is not null AND l.amount_currency < 0.0)
THEN sum(l.amount_currency * (-1)) THEN l.amount_currency * (-1)
ELSE sum(l.credit) ELSE l.credit
END as credit, END) as credit,
CASE WHEN l.date_maturity is null CASE WHEN l.date_maturity is null
THEN l.date THEN l.date
ELSE l.date_maturity ELSE l.date_maturity
@ -130,7 +130,7 @@ class ActivityStatement(models.AbstractModel):
THEN 'Payment' THEN 'Payment'
ELSE '' ELSE ''
END, END,
l.blocked, l.currency_id, l.amount_currency, l.company_id l.blocked, l.currency_id, l.company_id
""", """,
locals(), locals(),
), ),

View File

@ -60,11 +60,11 @@ class OutstandingStatementXslx(models.AbstractModel):
if not line.get("ref", ""): if not line.get("ref", ""):
name_to_show = line.get("name", "") name_to_show = line.get("name", "")
else: else:
if (line.get("name", "") in line.get("ref", "")) or ( if (line.get("ref", "") in line.get("name", "")) or (
line.get("name", "") == line.get("ref", "") line.get("name", "") == line.get("ref", "")
): ):
name_to_show = line.get("name", "") name_to_show = line.get("name", "")
elif line.get("ref", "") not in line.get("name", ""): else:
name_to_show = line.get("ref", "") name_to_show = line.get("ref", "")
sheet.write( sheet.write(
row_pos, 0, line.get("move_id", ""), FORMATS["format_tcell_left"] row_pos, 0, line.get("move_id", ""), FORMATS["format_tcell_left"]

View File

@ -8,7 +8,7 @@ from flectra.tests.common import TransactionCase
class TestActivityStatement(TransactionCase): class TestActivityStatement(TransactionCase):
""" Tests for Activity Statement.""" """Tests for Activity Statement."""
def setUp(self): def setUp(self):
super().setUp() super().setUp()

View File

@ -5,7 +5,7 @@ from flectra.tests.common import TransactionCase
class TestOutstandingStatement(TransactionCase): class TestOutstandingStatement(TransactionCase):
""" Tests for Outstanding Statement.""" """Tests for Outstanding Statement."""
def setUp(self): def setUp(self):
super().setUp() super().setUp()

View File

@ -1,2 +1 @@
# generated from manifests external_dependencies # generated from manifests external_dependencies
python-dateutil