From d7b076542dc6e8c207dfd3720aa220f27e255776 Mon Sep 17 00:00:00 2001 From: Holger Brunn Date: Mon, 8 Apr 2024 10:02:07 +0200 Subject: [PATCH] [MIG] mis_template_financial_report: Migration to 16.0 --- mis_template_financial_report/README.rst | 12 ++++++------ mis_template_financial_report/__manifest__.py | 2 +- .../data/mis_report_kpi.xml | 14 ++++---------- .../static/description/index.html | 8 ++++---- 4 files changed, 15 insertions(+), 21 deletions(-) diff --git a/mis_template_financial_report/README.rst b/mis_template_financial_report/README.rst index 94510688..9f2ae058 100644 --- a/mis_template_financial_report/README.rst +++ b/mis_template_financial_report/README.rst @@ -7,7 +7,7 @@ Profit & Loss / Balance sheet MIS templates !! This file is generated by oca-gen-addon-readme !! !! changes will be overwritten. !! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! - !! source digest: sha256:5173beaf8096bf43b532eb27d814a8cce032965d4f433c55e82bb7b2c6ba11dc + !! source digest: sha256:ced5b0160af86207e009f52aac7844010df11f150873af1601845c0f0958ec23 !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! .. |badge1| image:: https://img.shields.io/badge/maturity-Beta-yellow.png @@ -17,13 +17,13 @@ Profit & Loss / Balance sheet MIS templates :target: http://www.gnu.org/licenses/agpl-3.0-standalone.html :alt: License: AGPL-3 .. |badge3| image:: https://img.shields.io/badge/github-OCA%2Faccount--financial--reporting-lightgray.png?logo=github - :target: https://github.com/OCA/account-financial-reporting/tree/15.0/mis_template_financial_report + :target: https://github.com/OCA/account-financial-reporting/tree/16.0/mis_template_financial_report :alt: OCA/account-financial-reporting .. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png - :target: https://translation.odoo-community.org/projects/account-financial-reporting-15-0/account-financial-reporting-15-0-mis_template_financial_report + :target: https://translation.odoo-community.org/projects/account-financial-reporting-16-0/account-financial-reporting-16-0-mis_template_financial_report :alt: Translate me on Weblate .. |badge5| image:: https://img.shields.io/badge/runboat-Try%20me-875A7B.png - :target: https://runboat.odoo-community.org/builds?repo=OCA/account-financial-reporting&target_branch=15.0 + :target: https://runboat.odoo-community.org/builds?repo=OCA/account-financial-reporting&target_branch=16.0 :alt: Try me on Runboat |badge1| |badge2| |badge3| |badge4| |badge5| @@ -60,7 +60,7 @@ Bug Tracker Bugs are tracked on `GitHub Issues `_. In case of trouble, please check there if your issue has already been reported. If you spotted it first, help us to smash it by providing a detailed and welcomed -`feedback `_. +`feedback `_. Do not contact contributors directly about support or help with technical issues. @@ -99,6 +99,6 @@ Current `maintainer `__: |maintainer-hbrunn| -This module is part of the `OCA/account-financial-reporting `_ project on GitHub. +This module is part of the `OCA/account-financial-reporting `_ project on GitHub. You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute. diff --git a/mis_template_financial_report/__manifest__.py b/mis_template_financial_report/__manifest__.py index f9051a53..e8c05412 100644 --- a/mis_template_financial_report/__manifest__.py +++ b/mis_template_financial_report/__manifest__.py @@ -3,7 +3,7 @@ { "name": "Profit & Loss / Balance sheet MIS templates", - "version": "15.0.1.0.1", + "version": "16.0.1.0.0", "license": "AGPL-3", "author": "Hunki Enterprises BV,Odoo Community Association (OCA)", "website": "https://github.com/OCA/account-financial-reporting", diff --git a/mis_template_financial_report/data/mis_report_kpi.xml b/mis_template_financial_report/data/mis_report_kpi.xml index d565732a..73fe1363 100644 --- a/mis_template_financial_report/data/mis_report_kpi.xml +++ b/mis_template_financial_report/data/mis_report_kpi.xml @@ -2,9 +2,7 @@ loss Loss - balp[('user_type_id', 'in', (ref('account.data_account_type_depreciation').id, ref('account.data_account_type_direct_costs').id, ref('account.data_account_type_expenses').id))][] + balp[('account_type', 'like', 'expense%')][] true @@ -17,9 +15,7 @@ profit Profit - -balp[('user_type_id', 'in', (ref('account.data_account_type_other_income').id, ref('account.data_account_type_revenue').id,))][] + -balp[('account_type', 'like', 'income%')][] true @@ -74,7 +70,7 @@ Liabilities -bale[('user_type_id', 'in', (ref('account.data_account_type_current_liabilities').id, ref('account.data_account_type_equity').id, ref('account.data_account_type_non_current_liabilities').id, ref('account.data_account_type_payable').id))][] + >-bale['|', ('account_type', 'like', 'liability%'), ('account_type', 'like', 'equity%')][] true @@ -88,9 +84,7 @@ 4 assets Assets - bale[('user_type_id', 'in', (ref('account.data_account_type_credit_card').id, ref('account.data_account_type_prepayments').id, ref('account.data_account_type_current_assets').id, ref('account.data_account_type_fixed_assets').id, ref('account.data_account_type_liquidity').id, ref('account.data_account_type_non_current_assets').id, ref('account.data_account_type_receivable').id))][] + bale[('account_type', 'like', 'asset%')][] true diff --git a/mis_template_financial_report/static/description/index.html b/mis_template_financial_report/static/description/index.html index 62fe3f1c..ae7895ea 100644 --- a/mis_template_financial_report/static/description/index.html +++ b/mis_template_financial_report/static/description/index.html @@ -367,9 +367,9 @@ ul.auto-toc { !! This file is generated by oca-gen-addon-readme !! !! changes will be overwritten. !! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! -!! source digest: sha256:5173beaf8096bf43b532eb27d814a8cce032965d4f433c55e82bb7b2c6ba11dc +!! source digest: sha256:ced5b0160af86207e009f52aac7844010df11f150873af1601845c0f0958ec23 !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! --> -

Beta License: AGPL-3 OCA/account-financial-reporting Translate me on Weblate Try me on Runboat

+

Beta License: AGPL-3 OCA/account-financial-reporting Translate me on Weblate Try me on Runboat

This addon provides MIS builder templates to generate generic Profit & Loss and Balance Sheet reports.

Table of contents

@@ -408,7 +408,7 @@ This checkbox is only available for reports that support the horizontal mode.

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

+feedback.

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

@@ -435,7 +435,7 @@ mission is to support the collaborative development of Odoo features and promote its widespread use.

Current maintainer:

hbrunn

-

This module is part of the OCA/account-financial-reporting project on GitHub.

+

This module is part of the OCA/account-financial-reporting project on GitHub.

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