Skip to content

Commit

Permalink
Merge PR #37 into 12.0
Browse files Browse the repository at this point in the history
Signed-off-by max3903
  • Loading branch information
OCA-git-bot committed Jul 31, 2019
2 parents f162018 + 9638dec commit 4cb8bd2
Show file tree
Hide file tree
Showing 23 changed files with 2,197 additions and 1 deletion.
108 changes: 108 additions & 0 deletions l10n_us_gaap/README.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,108 @@
===========================================
United States Sample GAAP Chart of Accounts
===========================================

.. !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! This file is generated by oca-gen-addon-readme !!
!! changes will be overwritten. !!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
.. |badge1| image:: https://img.shields.io/badge/maturity-Mature-brightgreen.png
:target: https://odoo-community.org/page/development-status
:alt: Mature
.. |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/12.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-12-0/l10n-usa-12-0-l10n_us_gaap
:alt: Translate me on Weblate
.. |badge5| image:: https://img.shields.io/badge/runbot-Try%20me-875A7B.png
:target: https://runbot.odoo-community.org/runbot/203/12.0
:alt: Try me on Runbot

|badge1| |badge2| |badge3| |badge4| |badge5|


**Table of contents**

.. contents::
:local:

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.

Usage
=====

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.

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
<https://github.com/OCA/account-financial-reporting/blob/12.0/account_financial_report>`_.

Bug Tracker
===========

Bugs are tracked on `GitHub Issues <https://github.com/OCA/l10n-usa/issues>`_.
In case of trouble, please check there if your issue has already been reported.
If you spotted it first, help us smashing it by providing a detailed and welcomed
`feedback <https://github.com/OCA/l10n-usa/issues/new?body=module:%20l10n_us_gaap%0Aversion:%2012.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**>`_.

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

Credits
=======

Authors
~~~~~~~

* Eficent

Contributors
~~~~~~~~~~~~

* Jordi Ballester Alomar <jordi.ballester@eficent.com>
* Diogo Duarte <dduarte@odoogap.com>
* Bhavesh Odedra <bodedra@opensourceintegrators.com>

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-jbeficent| image:: https://github.com/jbeficent.png?size=40px
:target: https://github.com/jbeficent
:alt: jbeficent

Current `maintainer <https://odoo-community.org/page/maintainer-role>`__:

|maintainer-jbeficent|

This module is part of the `OCA/l10n-usa <https://github.com/OCA/l10n-usa/tree/12.0/l10n_us_gaap>`_ project on GitHub.

You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.
Empty file added l10n_us_gaap/__init__.py
Empty file.
20 changes: 20 additions & 0 deletions l10n_us_gaap/__manifest__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
{
'name': 'United States Sample GAAP Chart of Accounts',
'version': '12.0.1.0.0',
'development_status': 'Mature',
'category': 'Localization',
'author': 'Eficent,'
'Odoo Community Association (OCA)',
'maintainers': ['jbeficent'],
'website': 'https://github.com/OCA/l10n-usa/',
'depends': ['account'],
'data': [
'data/account_chart_template_data.xml',
'data/account_group.xml',
'data/account_us_gaap_data.xml',
'data/account_chart_template_data_load.xml',
'data/res_company_data.xml',
],
'installable': True,
'license': 'AGPL-3',
}
13 changes: 13 additions & 0 deletions l10n_us_gaap/data/account_chart_template_data.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
<?xml version="1.0" encoding="utf-8"?>
<odoo>
<!-- Chart template -->
<record id="l10n_us_gaap_chart_template"
model="account.chart.template">
<field name="name">US GAAP Chart of Accounts</field>
<field name="code_digits">6</field>
<field name="bank_account_code_prefix">1111</field>
<field name="cash_account_code_prefix">1112</field>
<field name="transfer_account_code_prefix">1119</field>
<field name="currency_id" ref="base.USD"/>
</record>
</odoo>
8 changes: 8 additions & 0 deletions l10n_us_gaap/data/account_chart_template_data_load.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
<?xml version="1.0" encoding="utf-8"?>
<odoo>
<data noupdate="1">
<function model="account.chart.template" name="try_loading_for_current_company">
<value eval="[ref('l10n_us_gaap.l10n_us_gaap_chart_template')]"/>
</function>
</data>
</odoo>
Loading

0 comments on commit 4cb8bd2

Please sign in to comment.