account-closing/account_cutoff_accrual_picking
2021-04-28 16:52:58 +02:00
..
i18n Automatic Update form OCA2FC Migrator 2021-04-28 16:52:58 +02:00
images Automatic Update form OCA2FC Migrator 2021-04-28 16:52:58 +02:00
models Automatic Update form OCA2FC Migrator 2021-04-28 16:52:58 +02:00
static Automatic Update form OCA2FC Migrator 2021-04-28 16:52:58 +02:00
views Automatic Update form OCA2FC Migrator 2021-04-28 16:52:58 +02:00
wizards Automatic Update form OCA2FC Migrator 2021-04-28 16:52:58 +02:00
__init__.py Automatic Update form OCA2FC Migrator 2021-04-28 16:52:58 +02:00
__manifest__.py Automatic Update form OCA2FC Migrator 2021-04-28 16:52:58 +02:00
COPYRIGHT Automatic Update form OCA2FC Migrator 2021-04-28 16:52:58 +02:00
LICENSE Automatic Update form OCA2FC Migrator 2021-04-28 16:52:58 +02:00
README.rst Automatic Update form OCA2FC Migrator 2021-04-28 16:52:58 +02:00

===============================
Account Cut-off Accrual Picking
===============================

.. !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
   !! This file is generated by oca-gen-addon-readme !!
   !! changes will be overwritten.                   !!
   !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

.. |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%2Faccount--closing-lightgray.png?logo=github
    :target: https://github.com/OCA/account-closing/tree/14.0/account_cutoff_accrual_picking
    :alt: OCA/account-closing
.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png
    :target: https://translation.odoo-community.org/projects/account-closing-14-0/account-closing-14-0-account_cutoff_accrual_picking
    :alt: Translate me on Weblate
.. |badge5| image:: https://img.shields.io/badge/runbot-Try%20me-875A7B.png
    :target: https://runbot.odoo-community.org/runbot/89/14.0
    :alt: Try me on Runbot

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

This module generates expense and revenue accruals based on the status of
orders, pickings and invoices.

To understand the behavior of this module, let's take the example of an expense accrual. When you click on the button *Re-Generate Lines* of an *Expense Accrual*:

1. Odoo will look for all incoming picking in Done state with a *Transfer Date* <= *Cut-off Date* (for performance reasons, by default, the incoming picking dated before *Cut-off Date* minus 90 days will not be taken into account (this limit is configurable via the field *Picking Analysis*). It will go to the stock moves of this picking and see if they are linked to a purchase order line.
2. Once this analysis is completed, Odoo has a list of purchase order lines to analyse for potential expense accrual.
3. For each of these purchase order lines, Odoo will:

   - scan the related stock moves in *done* state and check their transfer date,
   - scan the related invoices lines and check their invoice date.

4. If, for a particular purchase order line, the quantity of products shipped before the cutoff-date (or on the same day) minus the quantity of products invoiced before the cut-off date (or on the same day) is positive, Odoo will generate a cut-off line.

This module should work well with multiple units of measure (including products purchased and invoiced in different units of measure) and in multi-currency.

**Table of contents**

.. contents::
   :local:

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

For configuration instructions, refer to the README of the module *account_cutoff_base*.

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

Bugs are tracked on `GitHub Issues <https://github.com/OCA/account-closing/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/account-closing/issues/new?body=module:%20account_cutoff_accrual_picking%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
~~~~~~~

* Akretion

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

* Alexis de Lattre <alexis.delattre@akretion.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-alexis-via| image:: https://github.com/alexis-via.png?size=40px
    :target: https://github.com/alexis-via
    :alt: alexis-via

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

|maintainer-alexis-via| 

This module is part of the `OCA/account-closing <https://github.com/OCA/account-closing/tree/14.0/account_cutoff_accrual_picking>`_ project on GitHub.

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