Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[17.0][MIG] l10n_us_gaap #132

Open
wants to merge 27 commits into
base: 17.0
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
27 commits
Select commit Hold shift + click to select a range
a70af5c
add l10n_us_gaap and l10n_us_mis_report
JordiBForgeFlow Mar 23, 2018
bd05ca7
[MIG] l10n_us_gaap: Migration to 12.0
dduarte-odoogap Jun 28, 2019
75549f2
[ADD] readme folder and add keys in manifest file
Jul 6, 2019
189c592
[UPD] Update l10n_us_gaap.pot
oca-travis Jul 31, 2019
6b74a1c
[UPD] README.rst
OCA-git-bot Jul 31, 2019
3afd882
[IMP] l10n_us_gaap: black, isort
JoanSForgeFlow Feb 17, 2020
9bce3fb
[MIG] l10n_us_gaap : Migration to 13.0
JoanSForgeFlow Feb 18, 2020
20a57e4
[ADD] stock interim and price differences accounts
AdriaGForgeFlow Feb 25, 2020
59fe2c5
[ADD] Inventory Adjustment account
AdriaGForgeFlow Feb 27, 2020
98ee026
[UPD] Update l10n_us_gaap.pot
oca-travis Mar 2, 2020
ce5ef4c
[UPD] README.rst
OCA-git-bot Mar 2, 2020
0605854
pre-commit update
OCA-git-bot Mar 14, 2020
ab2c497
l10n_us_gaap should use anglo saxon setting
JordiBForgeFlow Apr 7, 2020
07e48ca
l10n_us_gaap 13.0.1.1.0
OCA-git-bot Apr 7, 2020
516ac93
Added translation using Weblate (Spanish)
JordiBForgeFlow Apr 17, 2020
254cb79
[l10n_us_gaap][mig] migration to 14.0
JordiBForgeFlow Oct 14, 2021
458b3e5
[l10n_us_gaap] fix tests
JordiBForgeFlow Oct 14, 2021
0af57d0
[UPD] Update l10n_us_gaap.pot
oca-travis Oct 1, 2022
0784bc2
[UPD] README.rst
OCA-git-bot Oct 1, 2022
3daa45f
l10n_us_gaap: Migration to 16.0
lk-eska Oct 17, 2022
8194161
[UPD] Update l10n_us_gaap.pot
Jul 12, 2023
19f60e8
[UPD] README.rst
OCA-git-bot Jul 12, 2023
fa5d6e4
Update translation files
weblate Jul 12, 2023
b2c5c0e
[UPD] README.rst
OCA-git-bot Sep 3, 2023
b17722a
[REF] l10n_us_gaap: pre-comit fixes
dreispt Nov 17, 2023
812ab16
[IMP] l10n_us_gaap: black, isort, prettier
JasminSForgeFlow Sep 13, 2024
7e6d862
[MIG] l10n_us_gaap: Migration to 17.0
JasminSForgeFlow Sep 16, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
113 changes: 113 additions & 0 deletions l10n_us_gaap/README.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,113 @@
===========================================
United States Sample GAAP Chart of Accounts
===========================================

..
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! This file is generated by oca-gen-addon-readme !!
!! changes will be overwritten. !!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! source digest: sha256:2cc0c01815ccd24a55b89b9ad9d9d54af43afb24e5f4f19ea1f59407b63421df
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

.. |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/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-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=17.0
:alt: Try me on Runboat

|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 to smash it by providing a detailed and welcomed
`feedback <https://github.com/OCA/l10n-usa/issues/new?body=module:%20l10n_us_gaap%0Aversion:%2017.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
-------

* ForgeFlow

Contributors
------------

- Jordi Ballester Alomar <[email protected]>
- Diogo Duarte <[email protected]>
- Bhavesh Odedra <[email protected]>
- Levent Karakas <[email protected]>

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

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

|maintainer-JordiBForgeFlow|

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

You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.
1 change: 1 addition & 0 deletions l10n_us_gaap/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
from . import models
17 changes: 17 additions & 0 deletions l10n_us_gaap/__manifest__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
{
"name": "United States Sample GAAP Chart of Accounts",
"version": "17.0.1.0.0",
"development_status": "Mature",
"category": "Accounting/Localizations/Account Charts",
"countries": ["us"],
"author": "ForgeFlow, Odoo Community Association (OCA)",
"maintainers": ["JordiBForgeFlow"],
"website": "https://github.com/OCA/l10n-usa",
"depends": ["account"],
"data": [
"data/account_chart_template_data_load.xml",
"data/res_company_data.xml",
],
"installable": True,
"license": "AGPL-3",
}
11 changes: 11 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,11 @@
<?xml version="1.0" encoding="utf-8" ?>
<odoo noupdate="1">
<function model="account.chart.template" name="try_loading">
<value eval="[]" />
<value>us_gaap</value>
<value
model="res.company"
search="[('partner_id.country_id.code', 'in', ['US', False])]"
/>
</function>
</odoo>
6 changes: 6 additions & 0 deletions l10n_us_gaap/data/res_company_data.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
<?xml version="1.0" encoding="utf-8" ?>
<odoo>
<record model="res.company" id="base.main_company">
<field name="paperformat_id" ref="base.paperformat_us" />
</record>
</odoo>
113 changes: 113 additions & 0 deletions l10n_us_gaap/data/template/account.account-us_gaap.csv
Original file line number Diff line number Diff line change
@@ -0,0 +1,113 @@
id,name,code,account_type
l10n_us_gaap_account_2121,Stock Interim (Received),2121,asset_current
l10n_us_gaap_account_1331,Stock Interim (Delivered),1331,asset_current
l10n_us_gaap_account_112,Investments And Securities,112,asset_current
l10n_us_gaap_account_113,Derivative Instruments And Hedges,113,asset_current
l10n_us_gaap_account_114,"Capital Leases, Lessor",114,asset_current
l10n_us_gaap_account_115,Restricted Assets,115,asset_current
l10n_us_gaap_account_116,Intercompany Investments,116,asset_current
l10n_us_gaap_account_121,Accounts Receivable,121,asset_receivable
l10n_us_gaap_account_122,Notes And Loans Receivable,122,asset_receivable
l10n_us_gaap_account_123,Receivables With Imputed Interest,123,asset_receivable
l10n_us_gaap_account_124,Contracts Or Programs,124,asset_receivable
l10n_us_gaap_account_125,Other Receivables,125,asset_receivable
l10n_us_gaap_account_131,"Merchandise, Material And Supplies",131,asset_current
l10n_us_gaap_account_132,Work In Process,132,asset_current
l10n_us_gaap_account_133,Finished Goods,133,asset_current
l10n_us_gaap_account_134,Capitalized Contract Cost,134,asset_current
l10n_us_gaap_account_135,Other Inventory,135,asset_current
l10n_us_gaap_account_136,Inventory For Long-Term Contracts Or Programs,136,asset_current
l10n_us_gaap_account_137,Allowances And Adjustments,137,asset_current
l10n_us_gaap_account_141,Prepaid Expense,141,asset_current
l10n_us_gaap_account_142,Returnable Deposits,142,asset_current
l10n_us_gaap_account_143,Accrued Revenue,143,asset_current
l10n_us_gaap_account_144,Deferred Costs,144,asset_current
l10n_us_gaap_account_145,Other Accrued And Deferred Assets,145,asset_current
l10n_us_gaap_account_146,Investments And Other Assets,146,asset_current
l10n_us_gaap_account_151,"Land, Buildings And Improvements",151,asset_non_current
l10n_us_gaap_account_152,Machinery And Equipment,152,asset_non_current
l10n_us_gaap_account_153,"Other Property, Plant And Equipment",153,asset_non_current
l10n_us_gaap_account_154,Assets Under Construction,154,asset_non_current
l10n_us_gaap_account_161,Intangible Assets Excluding Goodwill,161,asset_non_current
l10n_us_gaap_account_162,Goodwill,162,asset_non_current
l10n_us_gaap_account_163,Acquisitions In Progress,163,asset_non_current
l10n_us_gaap_account_211,Accounts Payable,211,liability_payable
l10n_us_gaap_account_212,Accrued Liabilities,212,liability_current
l10n_us_gaap_account_213,Employee-Related Liabilities,213,liability_current
l10n_us_gaap_account_214,Taxes Payable,214,liability_current
l10n_us_gaap_account_215,Interest And Dividends Payable,215,liability_current
l10n_us_gaap_account_221,Debts,221,liability_current
l10n_us_gaap_account_222,Notes And Loans Payable,222,liability_current
l10n_us_gaap_account_223,Special Assessment Bond,223,liability_current
l10n_us_gaap_account_224,Long-Term Federal Home Loan Bank Advances,224,liability_current
l10n_us_gaap_account_225,Capital Lease Obligations,225,liability_current
l10n_us_gaap_account_23,Deferred Revenue And Credits,23,liability_current
l10n_us_gaap_account_241,Billings In Excess Of Cost,241,liability_current
l10n_us_gaap_account_251,Derivative Liability,251,liability_current
l10n_us_gaap_account_252,Hedging Liabilities,252,liability_current
l10n_us_gaap_account_253,Energy Marketing Contract Liabilities,253,liability_current
l10n_us_gaap_account_271,Related Party Accounts Payable,271,liability_payable
l10n_us_gaap_account_272,Related Party Notes Payable,272,liability_current
l10n_us_gaap_account_273,Due To Employees,273,liability_current
l10n_us_gaap_account_274,Due To Officers Or Stockholders,274,liability_current
l10n_us_gaap_account_275,Due To Affiliate,275,liability_current
l10n_us_gaap_account_276,Due To Other Related Parties,276,liability_current
l10n_us_gaap_account_28,Other Liabilities,28,liability_current
l10n_us_gaap_account_311,Common Stock,311,equity
l10n_us_gaap_account_312,Preferred Stock,312,equity
l10n_us_gaap_account_313,Additional Paid-In Capital,313,equity
l10n_us_gaap_account_314,Legal Equity (Statutory Capital),314,equity
l10n_us_gaap_account_321,Retained Earnings - Appropriated,321,equity
l10n_us_gaap_account_32201,Current Year Earnings,32201,equity_unaffected
l10n_us_gaap_account_32202,Retained Earnings - Unappropriated,32202,equity
l10n_us_gaap_account_323,Retained Earnings Deficit,323,equity
l10n_us_gaap_account_324,Retained Earnings - Suspense Account,324,equity
l10n_us_gaap_account_331,Foreign Currency Translation Gain (Loss),331,equity
l10n_us_gaap_account_332,Available For Sale Securities Gain (Loss),332,equity
l10n_us_gaap_account_333,Impairment Debt Securities,333,equity
l10n_us_gaap_account_334,Cash Flow Hedges Gain (Loss),334,equity
l10n_us_gaap_account_335,Defined Benefit Plan Income (Loss),335,equity
l10n_us_gaap_account_341,Unearned Sop Shares,341,equity
l10n_us_gaap_account_342,"Receivable From Officers, Directors For Issuance Of Capital Stock",342,equity
l10n_us_gaap_account_343,Receivable From Shareholders Or Affiliates For Issuance Of Capital Stock,343,equity
l10n_us_gaap_account_344,"Stockholders' Equity Note, Subscriptions Receivable",344,equity
l10n_us_gaap_account_345,"Warrants, Rights Outstanding",345,equity
l10n_us_gaap_account_346,Other Additional Capital,346,equity
l10n_us_gaap_account_347,Treasury Stock,347,equity
l10n_us_gaap_account_348,Additional Items,348,equity
l10n_us_gaap_account_35,Equity Attributable To Non-Controlling Interest,35,equity
l10n_us_gaap_account_41101,Product Sales,41101,income
l10n_us_gaap_account_41102,Merchandise Sales,41102,income
l10n_us_gaap_account_41201,"Returns, Allowances",41201,income
l10n_us_gaap_account_41202,Sales Discounts (Consideration Paid To Customers),41202,income
l10n_us_gaap_account_421,General Services,421,income
l10n_us_gaap_account_42201,Sales Allowances,42201,income
l10n_us_gaap_account_42202,Sales Discounts,42202,income
l10n_us_gaap_account_423,Itemized Services,423,income
l10n_us_gaap_account_431,Other Recurring Income,431,income
l10n_us_gaap_account_5112,Cost Of Services Rendered,51102,expense
l10n_us_gaap_account_51103,Other Costs Of Sales,51103,expense
l10n_us_gaap_account_51101,Cost Of Goods Sold,5111,expense
l10n_us_gaap_account_51201,Selling And Marketing,51201,expense
l10n_us_gaap_account_51202,"General, Administrative Expenses",51202,expense
l10n_us_gaap_account_51203,Other Operating Expenses,51203,expense
l10n_us_gaap_account_51204,Price Differences,51204,expense
l10n_us_gaap_account_51205,Inventory Adjustments,51205,expense
l10n_us_gaap_account_513,Doubtful Accounts,513,expense
l10n_us_gaap_account_6110,Unusual And/Or Infrequent Items,6110,expense
l10n_us_gaap_account_61101,Foreign Currency Gain,61101,income_other
l10n_us_gaap_account_61102,Foreign Currency Loss,61102,expense
l10n_us_gaap_account_6111,Additional Itemized Gains And Losses,6111,income_other
l10n_us_gaap_account_61201,Other Non-Operating Income,61201,income_other
l10n_us_gaap_account_61202,Other Non-Operating Loss,61202,expense
l10n_us_gaap_account_613,Restructuring Charge,613,expense
l10n_us_gaap_account_614,Inventory Write-Downs (Not Recognized In Cost Of Sales),614,expense
l10n_us_gaap_account_615,Impairment Charge,615,expense
l10n_us_gaap_account_616,Extinguishment Of Debt,616,expense
l10n_us_gaap_account_617,"Business Combination, Acquisition Related Costs",617,expense
l10n_us_gaap_account_618,Gain (Loss) Related To Litigation Settlement,618,expense
l10n_us_gaap_account_619,Asset Retirement Obligation,619,expense
l10n_us_gaap_account_621,Non-Operating Revenues,621,income_other
l10n_us_gaap_account_622,Non-Operating Expenses,622,expense
l10n_us_gaap_account_63,Non-Monetary Transactions,63,expense
l10n_us_gaap_account_7,Income Tax (Benefit),7,income
Loading
Loading