mirror of
https://gitlab.com/flectra-community/account-financial-reporting.git
synced 2024-11-15 02:02:04 +00:00
Automatic Update form OCA2FC Migrator
This commit is contained in:
parent
b31e1218f8
commit
1214bbbfa5
@ -26,6 +26,8 @@ test_all_modules:
|
|||||||
- apt-get install -y expect-dev
|
- apt-get install -y expect-dev
|
||||||
- su - flectra -c "mkdir ~/others"
|
- su - flectra -c "mkdir ~/others"
|
||||||
- su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/reporting-engine.git ~/others/reporting-engine"
|
- su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/reporting-engine.git ~/others/reporting-engine"
|
||||||
|
- su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/server-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"
|
||||||
- sed -i -e 's/# en_US.UTF-8 UTF-8/en_US.UTF-8 UTF-8/' /etc/locale.gen && dpkg-reconfigure --frontend=noninteractive locales && update-locale LANG=en_US.UTF-8
|
- sed -i -e 's/# en_US.UTF-8 UTF-8/en_US.UTF-8 UTF-8/' /etc/locale.gen && dpkg-reconfigure --frontend=noninteractive locales && update-locale LANG=en_US.UTF-8
|
||||||
- mkdir ${CI_PROJECT_DIR}/ci_data
|
- mkdir ${CI_PROJECT_DIR}/ci_data
|
||||||
- wget -O ${CI_PROJECT_DIR}/ci_data/test_base.zip https://gitlab.com/flectra-community/devops/oca2fc/raw/master/ci_data/test_base.zip
|
- wget -O ${CI_PROJECT_DIR}/ci_data/test_base.zip https://gitlab.com/flectra-community/devops/oca2fc/raw/master/ci_data/test_base.zip
|
||||||
@ -37,7 +39,7 @@ 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/reporting-engine
|
--addons-path ${CI_PROJECT_DIR},~/others/reporting-engine,~/others/server-tools,~/others/server-ux
|
||||||
--db_host psql
|
--db_host psql
|
||||||
--db_port 5432
|
--db_port 5432
|
||||||
--db_user flectra
|
--db_user flectra
|
||||||
@ -63,6 +65,8 @@ test_module_account_tax_balance:
|
|||||||
- apt install -y expect-dev
|
- apt install -y expect-dev
|
||||||
- su - flectra -c "mkdir ~/others"
|
- su - flectra -c "mkdir ~/others"
|
||||||
- su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/reporting-engine.git ~/others/reporting-engine"
|
- su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/reporting-engine.git ~/others/reporting-engine"
|
||||||
|
- su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/server-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"
|
||||||
- sed -i -e 's/# en_US.UTF-8 UTF-8/en_US.UTF-8 UTF-8/' /etc/locale.gen && dpkg-reconfigure --frontend=noninteractive locales && update-locale LANG=en_US.UTF-8
|
- sed -i -e 's/# en_US.UTF-8 UTF-8/en_US.UTF-8 UTF-8/' /etc/locale.gen && dpkg-reconfigure --frontend=noninteractive locales && update-locale LANG=en_US.UTF-8
|
||||||
- mkdir ${CI_PROJECT_DIR}/ci_data
|
- mkdir ${CI_PROJECT_DIR}/ci_data
|
||||||
- wget -O ${CI_PROJECT_DIR}/ci_data/test_base.zip https://gitlab.com/flectra-community/devops/oca2fc/raw/master/ci_data/test_base.zip
|
- wget -O ${CI_PROJECT_DIR}/ci_data/test_base.zip https://gitlab.com/flectra-community/devops/oca2fc/raw/master/ci_data/test_base.zip
|
||||||
@ -74,7 +78,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/reporting-engine
|
--addons-path ${CI_PROJECT_DIR},~/others/reporting-engine,~/others/server-tools,~/others/server-ux
|
||||||
--db_host psql
|
--db_host psql
|
||||||
--db_port 5432
|
--db_port 5432
|
||||||
--db_user flectra
|
--db_user flectra
|
||||||
@ -96,6 +100,8 @@ test_module_account_financial_report:
|
|||||||
- apt install -y expect-dev
|
- apt install -y expect-dev
|
||||||
- su - flectra -c "mkdir ~/others"
|
- su - flectra -c "mkdir ~/others"
|
||||||
- su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/reporting-engine.git ~/others/reporting-engine"
|
- su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/reporting-engine.git ~/others/reporting-engine"
|
||||||
|
- su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/server-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"
|
||||||
- sed -i -e 's/# en_US.UTF-8 UTF-8/en_US.UTF-8 UTF-8/' /etc/locale.gen && dpkg-reconfigure --frontend=noninteractive locales && update-locale LANG=en_US.UTF-8
|
- sed -i -e 's/# en_US.UTF-8 UTF-8/en_US.UTF-8 UTF-8/' /etc/locale.gen && dpkg-reconfigure --frontend=noninteractive locales && update-locale LANG=en_US.UTF-8
|
||||||
- mkdir ${CI_PROJECT_DIR}/ci_data
|
- mkdir ${CI_PROJECT_DIR}/ci_data
|
||||||
- wget -O ${CI_PROJECT_DIR}/ci_data/test_base.zip https://gitlab.com/flectra-community/devops/oca2fc/raw/master/ci_data/test_base.zip
|
- wget -O ${CI_PROJECT_DIR}/ci_data/test_base.zip https://gitlab.com/flectra-community/devops/oca2fc/raw/master/ci_data/test_base.zip
|
||||||
@ -107,7 +113,7 @@ test_module_account_financial_report:
|
|||||||
- 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_account_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_account_financial_report
|
||||||
- su - flectra -c "/opt/flectra/flectra-bin
|
- su - flectra -c "/opt/flectra/flectra-bin
|
||||||
--addons-path ${CI_PROJECT_DIR},~/others/reporting-engine
|
--addons-path ${CI_PROJECT_DIR},~/others/reporting-engine,~/others/server-tools,~/others/server-ux
|
||||||
--db_host psql
|
--db_host psql
|
||||||
--db_port 5432
|
--db_port 5432
|
||||||
--db_user flectra
|
--db_user flectra
|
||||||
|
@ -10,6 +10,6 @@ Available addons
|
|||||||
addon | version | summary
|
addon | version | summary
|
||||||
--- | --- | ---
|
--- | --- | ---
|
||||||
[account_tax_balance](account_tax_balance/) | 2.0.1.1.0| Compute tax balances based on date range
|
[account_tax_balance](account_tax_balance/) | 2.0.1.1.0| Compute tax balances based on date range
|
||||||
[account_financial_report](account_financial_report/) | 2.0.1.3.0| OCA Financial Reports
|
[account_financial_report](account_financial_report/) | 2.0.1.3.1| OCA Financial Reports
|
||||||
|
|
||||||
|
|
||||||
|
@ -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.1.3.0",
|
"version": "2.0.1.3.1",
|
||||||
"category": "Reporting",
|
"category": "Reporting",
|
||||||
"summary": "OCA Financial Reports",
|
"summary": "OCA Financial Reports",
|
||||||
"author": "Camptocamp SA,"
|
"author": "Camptocamp SA,"
|
||||||
|
@ -160,8 +160,8 @@ class OpenItemsXslx(models.AbstractModel):
|
|||||||
type_object,
|
type_object,
|
||||||
total_amount,
|
total_amount,
|
||||||
report_data,
|
report_data,
|
||||||
account_id,
|
account_id=account_id,
|
||||||
partner_id,
|
partner_id=partner_id,
|
||||||
)
|
)
|
||||||
|
|
||||||
# Line break
|
# Line break
|
||||||
@ -185,9 +185,9 @@ class OpenItemsXslx(models.AbstractModel):
|
|||||||
self.write_ending_balance_from_dict(
|
self.write_ending_balance_from_dict(
|
||||||
accounts_data[account_id],
|
accounts_data[account_id],
|
||||||
type_object,
|
type_object,
|
||||||
report_data,
|
|
||||||
total_amount,
|
total_amount,
|
||||||
account_id,
|
report_data,
|
||||||
|
account_id=account_id,
|
||||||
)
|
)
|
||||||
|
|
||||||
# 2 lines break
|
# 2 lines break
|
||||||
|
Loading…
Reference in New Issue
Block a user