Skip to content

Commit

Permalink
Merge PR #125 into 17.0
Browse files Browse the repository at this point in the history
Signed-off-by dreispt
  • Loading branch information
OCA-git-bot committed May 12, 2024
2 parents c657eb6 + 3d250f8 commit ecd3916
Show file tree
Hide file tree
Showing 27 changed files with 1,506 additions and 0 deletions.
133 changes: 133 additions & 0 deletions l10n_us_form_1099/README.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,133 @@
============
US Form 1099
============

..
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! This file is generated by oca-gen-addon-readme !!
!! changes will be overwritten. !!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! source digest: sha256:ca6a09d2598e43a884c78485b3203770db77c90a15fd2792e0d6bba822a17dee
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
.. |badge1| image:: https://img.shields.io/badge/maturity-Production%2FStable-green.png
:target: https://odoo-community.org/page/development-status
:alt: Production/Stable
.. |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_form_1099
: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_form_1099
: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|

When companies hire others as contractors, the contractor in question
may work for themselves, another company or be the whole other company.
This is a huge range, but it can be simplified down to "do I report
their payment to the IRS as a 1099?".

This module extends the functionality of a partner and allows you to
specify 1099 suppliers, their 1099 type and their 1099-MISC box.

It also provides a report of payments by vendors, types and boxes in
Invoicing > Reporting > 1099 Report.

You will still need to manage payment and IRS reporting separately.

**Table of contents**

.. contents::
:local:

Configuration
=============

1. Go to Contacts > Configuration > 1099 Types
2. Review the existing types and update them if necessary
3. Go to Contacts > Configuration > 1099-MISC Boxes
4. Review the existing boxes and update them if necessary

Usage
=====

To use this module, you need to:

1. Go to Contacts
2. Create or select a partner
3. Go to the Sales & Purchases tab
4. Check the "Is a 1099" box
5. Select their 1099 type
6. If their type is 1099-MISC, you can select their box
7. Go to Invoicing > Vendors > Bills (or Payments)
8. Create vendor bills and payments for those 1099 vendors
9. Go to Invoicing > Reporting > 1099 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_form_1099%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
-------

* Open Source Integrators
* Brian McMaster

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

- Jenny Wu <[email protected]>
- Maxime Chambreuil <[email protected]>
- Serpent Consulting Services Pvt. Ltd. <[email protected]>
- Bhavesh Odedra <[email protected]>
- Brian McMaster <[email protected]>
- Jevin Dement <[email protected]>
- Levent Karakas <[email protected]>

Other credits
-------------

The development of this module has been financially supported by:

- Open Source Integrators <https://www.opensourceintegrators.com>
- Brian McMaster

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

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

|maintainer-max3903|

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

You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.
6 changes: 6 additions & 0 deletions l10n_us_form_1099/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
# Copyright (C) 2017 Open Source Integrators
# Copyright (C) 2019 Brian McMaster
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).

from . import models
from . import reports
29 changes: 29 additions & 0 deletions l10n_us_form_1099/__manifest__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
# Copyright (C) 2017-2024 Open Source Integrators
# Copyright (C) 2019-2024 Brian McMaster
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).

{
"name": "US Form 1099",
"version": "17.0.1.0.0",
"author": "Open Source Integrators, "
"Brian McMaster, "
"Odoo Community Association (OCA)",
"license": "AGPL-3",
"summary": "Manage 1099 Types and Suppliers",
"category": "Customers",
"maintainer": "Open Source Integrators",
"website": "https://github.com/OCA/l10n-usa",
"depends": ["contacts", "account"],
"data": [
"data/type_1099_data.xml",
"data/box_1099_misc_data.xml",
"security/ir.model.access.csv",
"views/type_1099_views.xml",
"views/box_1099_misc_views.xml",
"views/res_partner_views.xml",
"reports/account_payment_1099_report_views.xml",
],
"installable": True,
"development_status": "Production/Stable",
"maintainers": ["max3903"],
}
59 changes: 59 additions & 0 deletions l10n_us_form_1099/data/box_1099_misc_data.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,59 @@
<odoo>
<record id="box_1099_misc_1" model="box.1099.misc">
<field name="name">Box 1 Rents</field>
</record>
<record id="box_1099_misc_2" model="box.1099.misc">
<field name="name">Box 2 Royalties</field>
</record>
<record id="box_1099_misc_3" model="box.1099.misc">
<field name="name">Box 3 Other Income</field>
</record>
<record id="box_1099_misc_4" model="box.1099.misc">
<field name="name">Box 4 Fed Income Tax withheld</field>
</record>
<record id="box_1099_misc_5" model="box.1099.misc">
<field name="name">Box 5 Fishing Boat Proceeds</field>
</record>
<record id="box_1099_misc_6" model="box.1099.misc">
<field name="name">Box 6 Medical &amp; Health Care</field>
</record>
<record id="box_1099_misc_7" model="box.1099.misc">
<field name="name">Box 7 Nonemployee Compensation</field>
</record>
<record id="box_1099_misc_8" model="box.1099.misc">
<field name="name">Box 8 Substitute Payments</field>
</record>
<record id="box_1099_misc_9" model="box.1099.misc">
<field name="name">Box 9 Payer made direct sales of $5,000...</field>
</record>
<record id="box_1099_misc_10" model="box.1099.misc">
<field name="name">Box 10 Crop Insurance Proceeds</field>
</record>
<record id="box_1099_misc_13" model="box.1099.misc">
<field name="name">Box 13 Excess Golden Parachute</field>
</record>
<record id="box_1099_misc_14" model="box.1099.misc">
<field name="name">Box 14 Gross Amount Paid to an Attorney</field>
</record>
<record id="box_1099_misc_15a" model="box.1099.misc">
<field name="name">Box 15a Section 409A deferrals</field>
</record>
<record id="box_1099_misc_15b" model="box.1099.misc">
<field name="name">Box 15b Section 409A Income</field>
</record>
<record id="box_1099_misc_16a" model="box.1099.misc">
<field name="name">Box 16a State Tax withheld</field>
</record>
<record id="box_1099_misc_16b" model="box.1099.misc">
<field name="name">Box 16b Local Tax Withheld</field>
</record>
<record id="box_1099_misc_17" model="box.1099.misc">
<field name="name">Box 17 State No.</field>
</record>
<record id="box_1099_misc_18a" model="box.1099.misc">
<field name="name">Box 18a State Income</field>
</record>
<record id="box_1099_misc_18b" model="box.1099.misc">
<field name="name">Box 18b Local Income</field>
</record>
</odoo>
59 changes: 59 additions & 0 deletions l10n_us_form_1099/data/type_1099_data.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,59 @@
<odoo>
<record id="1099_type_a" model="type.1099">
<field name="name">1099-A</field>
</record>
<record id="1099_type_b" model="type.1099">
<field name="name">1099-B</field>
</record>
<record id="1099_type_c" model="type.1099">
<field name="name">1099-C</field>
</record>
<record id="1099_type_cap" model="type.1099">
<field name="name">1099-CAP</field>
</record>
<record id="1099_type_div" model="type.1099">
<field name="name">1099-DIV</field>
</record>
<record id="1099_type_g" model="type.1099">
<field name="name">1099-G</field>
</record>
<record id="1099_type_h" model="type.1099">
<field name="name">1099-H</field>
</record>
<record id="1099_type_int" model="type.1099">
<field name="name">1099-INT</field>
</record>
<record id="1099_type_k" model="type.1099">
<field name="name">1099-K</field>
</record>
<record id="1099_type_ltc" model="type.1099">
<field name="name">1099-LTC</field>
</record>
<record id="1099_type_misc" model="type.1099">
<field name="name">1099-MISC</field>
</record>
<record id="1099_type_oid" model="type.1099">
<field name="name">1099-OID</field>
</record>
<record id="1099_type_patr" model="type.1099">
<field name="name">1099-PATR</field>
</record>
<record id="1099_type_q" model="type.1099">
<field name="name">1099-Q</field>
</record>
<record id="1099_type_r" model="type.1099">
<field name="name">1099-R</field>
</record>
<record id="1099_type_s" model="type.1099">
<field name="name">1099-S</field>
</record>
<record id="1099_type_sa" model="type.1099">
<field name="name">1099-SA</field>
</record>
<record id="1099_type_rrb" model="type.1099">
<field name="name">RRB-1099</field>
</record>
<record id="1099_type_ssa" model="type.1099">
<field name="name">SSA-1099</field>
</record>
</odoo>
Loading

0 comments on commit ecd3916

Please sign in to comment.