Metadata-Version: 2.1
Name: odoo14-addon-fieldservice-stock-account
Version: 14.0.1.0.1.dev13
Summary: Invoice inventory items delivered with Field Service orders
Home-page: https://github.com/OCA/field-service
Author: Open Source Integrators, Odoo Community Association (OCA)
Author-email: support@odoo-community.org
License: AGPL-3
Platform: UNKNOWN
Classifier: Programming Language :: Python
Classifier: Framework :: Odoo
Classifier: Framework :: Odoo :: 14.0
Classifier: License :: OSI Approved :: GNU Affero General Public License v3
Classifier: Development Status :: 4 - Beta
Requires-Python: >=3.6
Requires-Dist: odoo14-addon-account-invoice-report-hide-line
Requires-Dist: odoo14-addon-fieldservice-account
Requires-Dist: odoo14-addon-fieldservice-stock-request
Requires-Dist: odoo <14.1dev,>=14.0a

=============================
Field Service - Stock Account
=============================

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

.. |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%2Ffield--service-lightgray.png?logo=github
    :target: https://github.com/OCA/field-service/tree/14.0/fieldservice_stock_account
    :alt: OCA/field-service
.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png
    :target: https://translation.odoo-community.org/projects/field-service-14-0/field-service-14-0-fieldservice_stock_account
    :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/field-service&target_branch=14.0
    :alt: Try me on Runboat

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

If inventory items were delivered to a customer location, the delivery will generate an accounting entry in the stock output account. The balance of that account will keep increasing as those inventory items will not get invoiced.

This module allows you to automatically adds inventory items delivered as part of the field service order to a customer invoice to account for their value as a cost of goods (or service) sold.

**Table of contents**

.. contents::
   :local:

Usage
=====

To use this module, you need to:

* Go to Field Service
* Create an order for a customer location (type of the inventory location must be 'Customer')
* Add inventory items and process them. Their delivery will generate an accounting entry.
* Complete the field service order
* Add some contractor costs or timesheet entries depending on the worker (vendor or employee)
* In the accounting tab, click on "Create invoice". The delivered inventory items will be added to the customer invoice with a 0$ price unit and they will not show up in the PDF report of the invoice.

    * Go to Invoicing > Customers > Invoices
    * Validate the invoice.
    * Check the accounting entry to make sure the value of the inventory items is accounted as a cost of goods/services sold.

* Repeat the process but in the accounting tab, click on "No invoice"

    * Go to Invoicing > Customers > Invoices
    * Open the invoice related to the field service order
    * Check that the invoice has a 0$ total and is paid
    * Check the accounting entry to make sure the value of the inventory items is accounted as a cost of goods/services sold.

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

Bugs are tracked on `GitHub Issues <https://github.com/OCA/field-service/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/field-service/issues/new?body=module:%20fieldservice_stock_account%0Aversion:%2014.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

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

* Bhavesh Odedra <bodedra@opensourceintegrators.com>
* Freni Patel <fpatel@opensourceintegrators.com>

Other credits
~~~~~~~~~~~~~

The development of this module has been financially supported by:

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

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

|maintainer-bodedra| |maintainer-max3903| 

This module is part of the `OCA/field-service <https://github.com/OCA/field-service/tree/14.0/fieldservice_stock_account>`_ project on GitHub.

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


