From 812ab162055c279e6bb8ab511d2e2a07abcc87da Mon Sep 17 00:00:00 2001 From: JasminSForgeFlow Date: Fri, 13 Sep 2024 12:48:21 +0530 Subject: [PATCH] [IMP] l10n_us_gaap: black, isort, prettier --- l10n_us_gaap/README.rst | 41 +++++++++++---------- l10n_us_gaap/pyproject.toml | 3 ++ l10n_us_gaap/readme/CONTRIBUTORS.md | 4 ++ l10n_us_gaap/readme/CONTRIBUTORS.rst | 4 -- l10n_us_gaap/readme/DESCRIPTION.md | 1 + l10n_us_gaap/readme/DESCRIPTION.rst | 0 l10n_us_gaap/readme/INSTALL.md | 3 ++ l10n_us_gaap/readme/INSTALL.rst | 3 -- l10n_us_gaap/readme/{USAGE.rst => USAGE.md} | 11 +++--- l10n_us_gaap/static/description/index.html | 31 +++++++++------- 10 files changed, 54 insertions(+), 47 deletions(-) create mode 100644 l10n_us_gaap/pyproject.toml create mode 100644 l10n_us_gaap/readme/CONTRIBUTORS.md delete mode 100644 l10n_us_gaap/readme/CONTRIBUTORS.rst create mode 100644 l10n_us_gaap/readme/DESCRIPTION.md delete mode 100644 l10n_us_gaap/readme/DESCRIPTION.rst create mode 100644 l10n_us_gaap/readme/INSTALL.md delete mode 100644 l10n_us_gaap/readme/INSTALL.rst rename l10n_us_gaap/readme/{USAGE.rst => USAGE.md} (61%) diff --git a/l10n_us_gaap/README.rst b/l10n_us_gaap/README.rst index 05344c62..e4ed711d 100644 --- a/l10n_us_gaap/README.rst +++ b/l10n_us_gaap/README.rst @@ -17,18 +17,19 @@ United States Sample GAAP Chart of Accounts :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/16.0/l10n_us_gaap + :target: https://github.com/OCA/l10n-usa/tree/17.0/l10n_us_gaap :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-16-0/l10n-usa-16-0-l10n_us_gaap + :target: https://translation.odoo-community.org/projects/l10n-usa-17-0/l10n-usa-17-0-l10n_us_gaap :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=16.0 + :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| + **Table of contents** .. contents:: @@ -37,18 +38,18 @@ United States Sample GAAP Chart of Accounts Installation ============ -This module should be installed before any other accounting related module. -Otherwise Odoo will install the module l10n_us in the current company, by -default. +This module should be installed before any other accounting related +module. Otherwise Odoo will install the module l10n_us in the current +company, by default. Usage ===== -Provides a sample Chart of Accounts (CoA) for the United States based on the -principles of GAAP. +Provides a sample Chart of Accounts (CoA) for the United States based on +the principles of GAAP. Additional remarks -~~~~~~~~~~~~~~~~~~ +------------------ Companies should review and alter the sample CoA to fulfill the specific needs of their business. @@ -57,8 +58,8 @@ U.S. SEC not allow the classification of expenses by nature, thus the classification is proposed by function. This module contains in the 'docs' folder a a sample Trial Balance -generated using the `OCA Account Financial Report module -`_. +generated using the `OCA Account Financial Report +module `__. Bug Tracker =========== @@ -66,7 +67,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. @@ -74,20 +75,20 @@ Credits ======= Authors -~~~~~~~ +------- * ForgeFlow Contributors -~~~~~~~~~~~~ +------------ -* Jordi Ballester Alomar -* Diogo Duarte -* Bhavesh Odedra -* Levent Karakas +- Jordi Ballester Alomar +- Diogo Duarte +- Bhavesh Odedra +- Levent Karakas Maintainers -~~~~~~~~~~~ +----------- This module is maintained by the OCA. @@ -107,6 +108,6 @@ Current `maintainer `__: |maintainer-JordiBForgeFlow| -This module is part of the `OCA/l10n-usa `_ project on GitHub. +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_gaap/pyproject.toml b/l10n_us_gaap/pyproject.toml new file mode 100644 index 00000000..4231d0cc --- /dev/null +++ b/l10n_us_gaap/pyproject.toml @@ -0,0 +1,3 @@ +[build-system] +requires = ["whool"] +build-backend = "whool.buildapi" diff --git a/l10n_us_gaap/readme/CONTRIBUTORS.md b/l10n_us_gaap/readme/CONTRIBUTORS.md new file mode 100644 index 00000000..3b3b773a --- /dev/null +++ b/l10n_us_gaap/readme/CONTRIBUTORS.md @@ -0,0 +1,4 @@ +- Jordi Ballester Alomar \<\> +- Diogo Duarte \<\> +- Bhavesh Odedra \<\> +- Levent Karakas \<\> diff --git a/l10n_us_gaap/readme/CONTRIBUTORS.rst b/l10n_us_gaap/readme/CONTRIBUTORS.rst deleted file mode 100644 index 2efc57f4..00000000 --- a/l10n_us_gaap/readme/CONTRIBUTORS.rst +++ /dev/null @@ -1,4 +0,0 @@ -* Jordi Ballester Alomar -* Diogo Duarte -* Bhavesh Odedra -* Levent Karakas diff --git a/l10n_us_gaap/readme/DESCRIPTION.md b/l10n_us_gaap/readme/DESCRIPTION.md new file mode 100644 index 00000000..8b137891 --- /dev/null +++ b/l10n_us_gaap/readme/DESCRIPTION.md @@ -0,0 +1 @@ + diff --git a/l10n_us_gaap/readme/DESCRIPTION.rst b/l10n_us_gaap/readme/DESCRIPTION.rst deleted file mode 100644 index e69de29b..00000000 diff --git a/l10n_us_gaap/readme/INSTALL.md b/l10n_us_gaap/readme/INSTALL.md new file mode 100644 index 00000000..079f357b --- /dev/null +++ b/l10n_us_gaap/readme/INSTALL.md @@ -0,0 +1,3 @@ +This module should be installed before any other accounting related +module. Otherwise Odoo will install the module l10n_us in the current +company, by default. diff --git a/l10n_us_gaap/readme/INSTALL.rst b/l10n_us_gaap/readme/INSTALL.rst deleted file mode 100644 index e63bf107..00000000 --- a/l10n_us_gaap/readme/INSTALL.rst +++ /dev/null @@ -1,3 +0,0 @@ -This module should be installed before any other accounting related module. -Otherwise Odoo will install the module l10n_us in the current company, by -default. diff --git a/l10n_us_gaap/readme/USAGE.rst b/l10n_us_gaap/readme/USAGE.md similarity index 61% rename from l10n_us_gaap/readme/USAGE.rst rename to l10n_us_gaap/readme/USAGE.md index cce682fd..731082a3 100644 --- a/l10n_us_gaap/readme/USAGE.rst +++ b/l10n_us_gaap/readme/USAGE.md @@ -1,8 +1,7 @@ -Provides a sample Chart of Accounts (CoA) for the United States based on the -principles of GAAP. +Provides a sample Chart of Accounts (CoA) for the United States based on +the principles of GAAP. -Additional remarks -~~~~~~~~~~~~~~~~~~ +## Additional remarks Companies should review and alter the sample CoA to fulfill the specific needs of their business. @@ -11,5 +10,5 @@ U.S. SEC not allow the classification of expenses by nature, thus the classification is proposed by function. This module contains in the 'docs' folder a a sample Trial Balance -generated using the `OCA Account Financial Report module -`_. +generated using the [OCA Account Financial Report +module](https://github.com/OCA/account-financial-reporting/blob/12.0/account_financial_report). diff --git a/l10n_us_gaap/static/description/index.html b/l10n_us_gaap/static/description/index.html index bb0e1393..ea3e2197 100644 --- a/l10n_us_gaap/static/description/index.html +++ b/l10n_us_gaap/static/description/index.html @@ -1,4 +1,3 @@ - @@ -9,10 +8,11 @@ /* :Author: David Goodger (goodger@python.org) -:Id: $Id: html4css1.css 8954 2022-01-20 10:10:25Z milde $ +:Id: $Id: html4css1.css 9511 2024-01-13 09:50:07Z milde $ :Copyright: This stylesheet has been placed in the public domain. Default cascading style sheet for the HTML output of Docutils. +Despite the name, some widely supported CSS2 features are used. See https://docutils.sourceforge.io/docs/howto/html-stylesheets.html for how to customize this style sheet. @@ -275,7 +275,7 @@ margin-left: 2em ; margin-right: 2em } -pre.code .ln { color: grey; } /* line numbers */ +pre.code .ln { color: gray; } /* line numbers */ pre.code, code { background-color: #eeeeee } pre.code .comment, code .comment { color: #5C6576 } pre.code .keyword, code .keyword { color: #3B0D06; font-weight: bold } @@ -301,7 +301,7 @@ span.pre { white-space: pre } -span.problematic { +span.problematic, pre.problematic { color: red } span.section-subtitle { @@ -369,7 +369,7 @@

United States Sample GAAP Chart of Accounts

!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !! source digest: sha256:2cc0c01815ccd24a55b89b9ad9d9d54af43afb24e5f4f19ea1f59407b63421df !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! --> -

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

+

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

Table of contents

    @@ -389,14 +389,14 @@

    United States Sample GAAP Chart of Accounts

Installation

-

This module should be installed before any other accounting related module. -Otherwise Odoo will install the module l10n_us in the current company, by -default.

+

This module should be installed before any other accounting related +module. Otherwise Odoo will install the module l10n_us in the current +company, by default.

Usage

-

Provides a sample Chart of Accounts (CoA) for the United States based on the -principles of GAAP.

+

Provides a sample Chart of Accounts (CoA) for the United States based on +the principles of GAAP.

Additional remarks

Companies should review and alter the sample CoA to fulfill the specific @@ -404,7 +404,8 @@

Additional remarks

U.S. SEC not allow the classification of expenses by nature, thus the classification is proposed by function.

This module contains in the ‘docs’ folder a a sample Trial Balance -generated using the OCA Account Financial Report module.

+generated using the OCA Account Financial Report +module.

@@ -412,7 +413,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.

@@ -435,13 +436,15 @@

Contributors

Maintainers

This module is maintained by the OCA.

-Odoo Community Association + +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:

JordiBForgeFlow

-

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

+

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.