diff --git a/l10n_us_mis_financial_report/README.rst b/l10n_us_mis_financial_report/README.rst new file mode 100644 index 00000000..a4446eb3 --- /dev/null +++ b/l10n_us_mis_financial_report/README.rst @@ -0,0 +1,94 @@ +===================================================== +Profit & Loss (US) / Balance sheet (US) MIS templates +===================================================== + +.. + !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! + !! This file is generated by oca-gen-addon-readme !! + !! changes will be overwritten. !! + !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! + !! source digest: sha256:6aa8c839294fc2f6d5948a3803171a62b070c85a6004631d3971f0f75a5827a2 + !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! + +.. |badge1| image:: https://img.shields.io/badge/maturity-Beta-yellow.png + :target: https://odoo-community.org/page/development-status + :alt: Beta +.. |badge2| image:: https://img.shields.io/badge/licence-AGPL--3-blue.png + :target: http://www.gnu.org/licenses/agpl-3.0-standalone.html + :alt: License: AGPL-3 +.. |badge3| image:: https://img.shields.io/badge/github-OCA%2Fl10n--usa-lightgray.png?logo=github + :target: https://github.com/OCA/l10n-usa/tree/17.0/l10n_us_mis_financial_report + :alt: OCA/l10n-usa +.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png + :target: https://translation.odoo-community.org/projects/l10n-usa-17-0/l10n-usa-17-0-l10n_us_mis_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/l10n-usa&target_branch=17.0 + :alt: Try me on Runboat + +|badge1| |badge2| |badge3| |badge4| |badge5| + +This addon provides MIS builder templates to generate generic (US) +Profit & Loss and Balance Sheet reports based on account types. + +**Table of contents** + +.. contents:: + :local: + +Usage +===== + +Select one of the Profit & Loss (US) or Balance Sheet (US) templates in +a new MIS report. + +For details, refer to the `MIS Builder +documentation `__ + +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 `_. + +Do not contact contributors directly about support or help with technical issues. + +Credits +======= + +Authors +------- + +* Binhex + +Contributors +------------ + +- Christian Ramos (https://binhex.cloud) + +Maintainers +----------- + +This module is maintained by the OCA. + +.. image:: https://odoo-community.org/logo.png + :alt: Odoo Community Association + :target: https://odoo-community.org + +OCA, or the Odoo Community Association, is a nonprofit organization whose +mission is to support the collaborative development of Odoo features and +promote its widespread use. + +.. |maintainer-Christian-RB| image:: https://github.com/Christian-RB.png?size=40px + :target: https://github.com/Christian-RB + :alt: Christian-RB + +Current `maintainer `__: + +|maintainer-Christian-RB| + +This module is part of the `OCA/l10n-usa `_ project on GitHub. + +You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute. diff --git a/l10n_us_mis_financial_report/__init__.py b/l10n_us_mis_financial_report/__init__.py new file mode 100644 index 00000000..e69de29b diff --git a/l10n_us_mis_financial_report/__manifest__.py b/l10n_us_mis_financial_report/__manifest__.py new file mode 100644 index 00000000..5961374c --- /dev/null +++ b/l10n_us_mis_financial_report/__manifest__.py @@ -0,0 +1,18 @@ +# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl). + +{ + "name": "Profit & Loss (US) / Balance sheet (US) MIS templates", + "version": "17.0.1.0.0", + "license": "AGPL-3", + "author": "Binhex,Odoo Community Association (OCA)", + "website": "https://github.com/OCA/l10n-usa", + "category": "Localization", + "depends": ["mis_template_financial_report"], + "data": [ + "data/mis_report_style.xml", + "data/mis_report.xml", + "data/mis_report_kpi.xml", + "data/mis_report_subreport.xml", + ], + "maintainers": ["Christian-RB"], +} diff --git a/l10n_us_mis_financial_report/data/mis_report.xml b/l10n_us_mis_financial_report/data/mis_report.xml new file mode 100644 index 00000000..2dd3bad0 --- /dev/null +++ b/l10n_us_mis_financial_report/data/mis_report.xml @@ -0,0 +1,10 @@ + + + Profit & Loss (US) + + + + Balance Sheet (US) + + + diff --git a/l10n_us_mis_financial_report/data/mis_report_kpi.xml b/l10n_us_mis_financial_report/data/mis_report_kpi.xml new file mode 100644 index 00000000..fe5eca82 --- /dev/null +++ b/l10n_us_mis_financial_report/data/mis_report_kpi.xml @@ -0,0 +1,532 @@ + + + + net_profit + Net Profit + op_inc + other_inc - cost_of_reven - expenses - depreciation + + num + diff + sum + 0 + + + + income + Income + op_inc + other_inc + + num + diff + sum + 1 + + + + gross_profit + Gross Profit + op_inc - cost_of_reven + + num + diff + sum + 2 + + + + op_inc + Operating Income + -balp[('account_type', '=', 'income')][] + true + + + num + diff + sum + 3 + + + + + cost_of_reven + Cost of Revenue + balp[('account_type', '=', 'expense_direct_cost')][] + true + + + num + diff + sum + 4 + + + + + other_inc + Other Income + -balp[('account_type', '=', 'income_other')][] + true + + + num + diff + sum + 5 + + + + + expenses_total + Expenses + expenses + depreciation + + num + diff + sum + 6 + + + + expenses + Expenses + balp[('account_type', '=', 'expense')][] + true + + + num + diff + sum + 7 + + + + + depreciation + Depreciation + balp[('account_type', '=', 'expense_depreciation')][] + true + + + num + diff + sum + 8 + + + + + + + assets + Assets + current_assets + fixed_assets + non_current_assets + false + + num + diff + sum + 0 + + + + current_assets + Current Assets + bank_and_cash_accounts + receivables + current_assets_ca + prepayments + false + + num + diff + sum + 1 + + + + bank_and_cash_accounts + Bank and Cash Accounts + bale[('account_type', '=', 'asset_cash')] + true + + + num + diff + sum + 2 + + + + + receivables + Receivables + bale[('account_type', '=', 'asset_receivable'), ('non_trade', '=', False)] + true + + + num + diff + sum + 3 + + + + + current_assets_ca + Current Assets + bale['|',('account_type', '=', 'asset_current'), '&', ('account_type', '=', 'asset_receivable'), ('non_trade', '=', True)] + true + + + num + diff + sum + 4 + + + + + prepayments + Prepayments + bale[('account_type', '=', 'asset_prepayments')] + true + + + num + diff + sum + 5 + + + + + fixed_assets + Plus Fixed Assets + bale[('account_type', '=', 'asset_fixed')] + true + + + num + diff + sum + 6 + + + + + non_current_assets + Plus Non-current Assets + bale[('account_type', '=', 'asset_non_current')] + true + + + num + diff + sum + 7 + + + + + liability_header + LIABILITY + abs(liability + non_current_liabilities) + false + + num + diff + sum + 8 + + + + liability + Current Liabilities + abs(current_liabilities_1 + payables) + true + + num + diff + sum + 9 + + + + current_liabilities_1 + Current Liabilities + abs(bale['|', ('account_type', 'in', ('liability_current', 'liability_credit_card')), '&', ('account_type', '=', 'liability_payable'), ('non_trade', '=', True)]) + true + + + num + diff + sum + 10 + + + + + payables + Payables + abs(bale[('account_type', '=', 'liability_payable'), ('non_trade', '=', False)]) + true + + + num + diff + sum + 11 + + + + + non_current_liabilities + Plus Non-current Liabilities + abs(bale[('account_type', '=', 'liability_non_current')]) + true + + + num + diff + sum + 12 + + + + + equity + EQUITY + unallocated_earnings+retained_earning + false + + num + diff + sum + 13 + + + + unallocated_earnings + Unallocated Earnings + current_year_unallocated+previous_years_unallocated_earnings + false + + num + diff + sum + 14 + + + + current_year_unallocated + Current Year Unallocated Earnings + current_year_earnings+current_year_allocated_earnings + false + + num + diff + sum + 15 + + + + current_year_earnings + Current Year Earnings + subreport_pl_us.net_profit + false + + num + diff + sum + 16 + + + + current_year_allocated_earnings + Current Year Allocated Earnings + -balp[('account_type', '=', 'equity_unaffected')] + true + + + num + diff + sum + 17 + + + + + previous_years_unallocated_earnings + Previous Years Unallocated Earnings + balance_domain+allocated_earnings-current_year_unallocated + false + + num + diff + sum + 18 + + + + retained_earning + Retained Earning + -bale[('account_type', '=', 'equity')] + true + + + num + diff + sum + 19 + + + + + liabilities_equity + LIABILITIES + EQUITY + liability_header+equity + false + + num + diff + sum + 20 + + + + os + OFF BALANCE SHEET ACCOUNTS + abs(bale[('account_type', '=', 'off_balance')]) + true + + + num + diff + sum + 21 + + + + + allocated_earnings + Allocated earnings + -bale[('account_type', '=', 'equity_unaffected')] + false + + num + diff + sum + 22 + + + + + balance_domain + Balance Domain + -(balu[('account_type', 'in', ('income', 'income_other', 'expense_direct_cost', 'expense', 'expense_depreciation'))]+bale[('account_type', 'in', ('income', 'income_other', 'expense_direct_cost', 'expense', 'expense_depreciation'))]) + false + + num + diff + sum + 23 + + + + diff --git a/l10n_us_mis_financial_report/data/mis_report_style.xml b/l10n_us_mis_financial_report/data/mis_report_style.xml new file mode 100644 index 00000000..44cd48e3 --- /dev/null +++ b/l10n_us_mis_financial_report/data/mis_report_style.xml @@ -0,0 +1,32 @@ + + + + PL/BS double indented header + false + bold + false + 2 + + + PL/BS triple indented header + false + bold + false + 3 + + + PL/BS triple indented details + false + 3 + + + PL/BS cuadruple indented details + false + 4 + + + Hide + false + true + + diff --git a/l10n_us_mis_financial_report/data/mis_report_subreport.xml b/l10n_us_mis_financial_report/data/mis_report_subreport.xml new file mode 100644 index 00000000..5236e7de --- /dev/null +++ b/l10n_us_mis_financial_report/data/mis_report_subreport.xml @@ -0,0 +1,7 @@ + + + + + subreport_pl_us + + diff --git a/l10n_us_mis_financial_report/i18n/l10n_us_mis_financial_report.pot b/l10n_us_mis_financial_report/i18n/l10n_us_mis_financial_report.pot new file mode 100644 index 00000000..b5c2db0d --- /dev/null +++ b/l10n_us_mis_financial_report/i18n/l10n_us_mis_financial_report.pot @@ -0,0 +1,177 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * l10n_us_mis_financial_report +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 16.0\n" +"Report-Msgid-Bugs-To: \n" +"Last-Translator: \n" +"Language-Team: \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Plural-Forms: \n" + +#. module: l10n_us_mis_financial_report +#: model:mis.report.kpi,description:l10n_us_mis_financial_report.kpi_allocated_earnings +msgid "Allocated earnings" +msgstr "" + +#. module: l10n_us_mis_financial_report +#: model:mis.report.kpi,description:l10n_us_mis_financial_report.kpi_assets +msgid "Assets" +msgstr "" + +#. module: l10n_us_mis_financial_report +#: model:mis.report.kpi,description:l10n_us_mis_financial_report.kpi_balance_domain +msgid "Balance Domain" +msgstr "" + +#. module: l10n_us_mis_financial_report +#: model:mis.report,name:l10n_us_mis_financial_report.report_bs_us +msgid "Balance Sheet (US)" +msgstr "" + +#. module: l10n_us_mis_financial_report +#: model:mis.report.kpi,description:l10n_us_mis_financial_report.kpi_bank_and_cash_accounts +msgid "Bank and Cash Accounts" +msgstr "" + +#. module: l10n_us_mis_financial_report +#: model:mis.report.kpi,description:l10n_us_mis_financial_report.kpi_cost_of_reven +msgid "Cost of Revenue" +msgstr "" + +#. module: l10n_us_mis_financial_report +#: model:mis.report.kpi,description:l10n_us_mis_financial_report.kpi_current_assets +#: model:mis.report.kpi,description:l10n_us_mis_financial_report.kpi_current_assets_ca +msgid "Current Assets" +msgstr "" + +#. module: l10n_us_mis_financial_report +#: model:mis.report.kpi,description:l10n_us_mis_financial_report.kpi_current_liabilities_1 +#: model:mis.report.kpi,description:l10n_us_mis_financial_report.kpi_liability +msgid "Current Liabilities" +msgstr "" + +#. module: l10n_us_mis_financial_report +#: model:mis.report.kpi,description:l10n_us_mis_financial_report.kpi_current_year_allocated_earnings +msgid "Current Year Allocated Earnings" +msgstr "" + +#. module: l10n_us_mis_financial_report +#: model:mis.report.kpi,description:l10n_us_mis_financial_report.kpi_current_year_earnings +msgid "Current Year Earnings" +msgstr "" + +#. module: l10n_us_mis_financial_report +#: model:mis.report.kpi,description:l10n_us_mis_financial_report.kpi_current_year_unallocated +msgid "Current Year Unallocated Earnings" +msgstr "" + +#. module: l10n_us_mis_financial_report +#: model:mis.report.kpi,description:l10n_us_mis_financial_report.kpi_depreciation +msgid "Depreciation" +msgstr "" + +#. module: l10n_us_mis_financial_report +#: model:mis.report.kpi,description:l10n_us_mis_financial_report.kpi_equity +msgid "EQUITY" +msgstr "" + +#. module: l10n_us_mis_financial_report +#: model:mis.report.kpi,description:l10n_us_mis_financial_report.kpi_expenses +#: model:mis.report.kpi,description:l10n_us_mis_financial_report.kpi_expenses_total +msgid "Expenses" +msgstr "" + +#. module: l10n_us_mis_financial_report +#: model:mis.report.kpi,description:l10n_us_mis_financial_report.kpi_gross_profit +msgid "Gross Profit" +msgstr "" + +#. module: l10n_us_mis_financial_report +#: model:mis.report.kpi,description:l10n_us_mis_financial_report.kpi_income +msgid "Income" +msgstr "" + +#. module: l10n_us_mis_financial_report +#: model:mis.report.kpi,description:l10n_us_mis_financial_report.kpi_liabilities_equity +msgid "LIABILITIES + EQUITY" +msgstr "" + +#. module: l10n_us_mis_financial_report +#: model:mis.report.kpi,description:l10n_us_mis_financial_report.kpi_liability_header +msgid "LIABILITY" +msgstr "" + +#. module: l10n_us_mis_financial_report +#: model:mis.report.kpi,description:l10n_us_mis_financial_report.kpi_net_profit +msgid "Net Profit" +msgstr "" + +#. module: l10n_us_mis_financial_report +#: model:mis.report.kpi,description:l10n_us_mis_financial_report.kpi_os +msgid "OFF BALANCE SHEET ACCOUNTS" +msgstr "" + +#. module: l10n_us_mis_financial_report +#: model:mis.report.kpi,description:l10n_us_mis_financial_report.kpi_op_inc +msgid "Operating Income" +msgstr "" + +#. module: l10n_us_mis_financial_report +#: model:mis.report.kpi,description:l10n_us_mis_financial_report.kpi_other_inc +msgid "Other Income" +msgstr "" + +#. module: l10n_us_mis_financial_report +#: model:mis.report.kpi,description:l10n_us_mis_financial_report.kpi_payables +msgid "Payables" +msgstr "" + +#. module: l10n_us_mis_financial_report +#: model:mis.report.kpi,description:l10n_us_mis_financial_report.kpi_fixed_assets +msgid "Plus Fixed Assets" +msgstr "" + +#. module: l10n_us_mis_financial_report +#: model:mis.report.kpi,description:l10n_us_mis_financial_report.kpi_non_current_assets +msgid "Plus Non-current Assets" +msgstr "" + +#. module: l10n_us_mis_financial_report +#: model:mis.report.kpi,description:l10n_us_mis_financial_report.kpi_non_current_liabilities +msgid "Plus Non-current Liabilities" +msgstr "" + +#. module: l10n_us_mis_financial_report +#: model:mis.report.kpi,description:l10n_us_mis_financial_report.kpi_prepayments +msgid "Prepayments" +msgstr "" + +#. module: l10n_us_mis_financial_report +#: model:mis.report.kpi,description:l10n_us_mis_financial_report.kpi_previous_years_unallocated_earnings +msgid "Previous Years Unallocated Earnings" +msgstr "" + +#. module: l10n_us_mis_financial_report +#: model:mis.report,name:l10n_us_mis_financial_report.report_pl_us +msgid "Profit & Loss (US)" +msgstr "" + +#. module: l10n_us_mis_financial_report +#: model:mis.report.kpi,description:l10n_us_mis_financial_report.kpi_receivables +msgid "Receivables" +msgstr "" + +#. module: l10n_us_mis_financial_report +#: model:mis.report.kpi,description:l10n_us_mis_financial_report.kpi_retained_earning +msgid "Retained Earning" +msgstr "" + +#. module: l10n_us_mis_financial_report +#: model:mis.report.kpi,description:l10n_us_mis_financial_report.kpi_unallocated_earnings +msgid "Unallocated Earnings" +msgstr "" diff --git a/l10n_us_mis_financial_report/pyproject.toml b/l10n_us_mis_financial_report/pyproject.toml new file mode 100644 index 00000000..4231d0cc --- /dev/null +++ b/l10n_us_mis_financial_report/pyproject.toml @@ -0,0 +1,3 @@ +[build-system] +requires = ["whool"] +build-backend = "whool.buildapi" diff --git a/l10n_us_mis_financial_report/readme/CONTRIBUTORS.md b/l10n_us_mis_financial_report/readme/CONTRIBUTORS.md new file mode 100644 index 00000000..2a24723f --- /dev/null +++ b/l10n_us_mis_financial_report/readme/CONTRIBUTORS.md @@ -0,0 +1 @@ +- Christian Ramos \<\> () diff --git a/l10n_us_mis_financial_report/readme/DESCRIPTION.md b/l10n_us_mis_financial_report/readme/DESCRIPTION.md new file mode 100644 index 00000000..e4d55e7a --- /dev/null +++ b/l10n_us_mis_financial_report/readme/DESCRIPTION.md @@ -0,0 +1,2 @@ +This addon provides MIS builder templates to generate generic (US) +Profit & Loss and Balance Sheet reports based on account types. diff --git a/l10n_us_mis_financial_report/readme/USAGE.md b/l10n_us_mis_financial_report/readme/USAGE.md new file mode 100644 index 00000000..c6aa89d6 --- /dev/null +++ b/l10n_us_mis_financial_report/readme/USAGE.md @@ -0,0 +1,5 @@ +Select one of the Profit & Loss (US) or Balance Sheet (US) templates in +a new MIS report. + +For details, refer to the [MIS Builder +documentation](https://github.com/OCA/mis-builder/tree/16.0/mis_builder#usage) diff --git a/l10n_us_mis_financial_report/readme/newsfragments/.gitkeep b/l10n_us_mis_financial_report/readme/newsfragments/.gitkeep new file mode 100644 index 00000000..e69de29b diff --git a/l10n_us_mis_financial_report/static/description/icon.png b/l10n_us_mis_financial_report/static/description/icon.png new file mode 100644 index 00000000..3a0328b5 Binary files /dev/null and b/l10n_us_mis_financial_report/static/description/icon.png differ diff --git a/l10n_us_mis_financial_report/static/description/index.html b/l10n_us_mis_financial_report/static/description/index.html new file mode 100644 index 00000000..4183b603 --- /dev/null +++ b/l10n_us_mis_financial_report/static/description/index.html @@ -0,0 +1,434 @@ + + + + + +Profit & Loss (US) / Balance sheet (US) MIS templates + + + +
+

Profit & Loss (US) / Balance sheet (US) MIS templates

+ + +

Beta License: AGPL-3 OCA/l10n-usa Translate me on Weblate Try me on Runboat

+

This addon provides MIS builder templates to generate generic (US) +Profit & Loss and Balance Sheet reports based on account types.

+

Table of contents

+ +
+

Usage

+

Select one of the Profit & Loss (US) or Balance Sheet (US) templates in +a new MIS report.

+

For details, refer to the MIS Builder +documentation

+
+
+

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.

+

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

+
+
+

Credits

+
+

Authors

+
    +
  • Binhex
  • +
+
+ +
+

Maintainers

+

This module is maintained by the OCA.

+ +Odoo Community Association + +

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

+

Current maintainer:

+

Christian-RB

+

This module is part of the OCA/l10n-usa project on GitHub.

+

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

+
+
+
+ + diff --git a/pandoc-3.5-1-amd64.deb b/pandoc-3.5-1-amd64.deb new file mode 100644 index 00000000..8e708ce7 Binary files /dev/null and b/pandoc-3.5-1-amd64.deb differ