===================
Partner Time to Pay
===================

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

.. |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--invoice--reporting-lightgray.png?logo=github
    :target: https://github.com/OCA/account-invoice-reporting/tree/16.0/partner_time_to_pay
    :alt: OCA/account-invoice-reporting
.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png
    :target: https://translation.odoo-community.org/projects/account-invoice-reporting-16-0/account-invoice-reporting-16-0-partner_time_to_pay
    :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/account-invoice-reporting&target_branch=16.0
    :alt: Try me on Runboat

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

This module displays statistics related to the receivables and payables behavior of a partner on the *Sales & Purchases* tab of the partner form view.
Also displays the full reconcile payment date on invoices.
Statistics on each contact corresponds to the partner and its child contacts.

**Table of contents**

.. contents::
   :local:

Installation
============

Your preferred way to install addons will work with Partner Time to Pay.

An easy way to install it with all its dependencies is using pip:

* ``pip install --pre odoo11-addon-partner_time_to_pay odoo-autodiscover``
* then restart Odoo, update the addons list in your database, and install
  the Partner Time to Pay application.

Usage
=====

* Go to the *Sales & Purchases* tab of a partner
* There are 6 new fields named *AVG Days to Payable/Receivable*.
  These fields represent the average days to pay/receive for last year (LY),
  this year (YTD) and since the first invoice (lifetime).
* Adds a new field in the tree and form invoices views to check the
  Full Reconcile Payment Date

Known issues / Roadmap
======================

The partner_time_to_pay `roadmap <https://github.com/OCA/account-invoice-reporting/issues?q=is%3Aopen+is%3Aissue+label%3Aenhancement>`_
and `known issues <https://github.com/OCA/account-invoice-reporting/issues?q=is%3Aopen+is%3Aissue+label%3Abug>`_ can
be found on GitHub.

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

Bugs are tracked on `GitHub Issues <https://github.com/OCA/account-invoice-reporting/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/account-invoice-reporting/issues/new?body=module:%20partner_time_to_pay%0Aversion:%2016.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
* Moduon

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

* Ray Carnes <rcarnes@ursainfosystems.com>
* Maxime Chambreuil <mchambreuil@opensourceintegrators.com>
* Bhavesh Odedra <bodedra@opensourceintegrators.com>
* Sandip Mangukiya <smangukiya@opensourceintegrators.com>
* Serpent Consulting Services Pvt. Ltd. <support@serpentcs.com>
* Jevin Dement <jdement@opensourceintegrators.com>
* Rafael Blasco (https://www.moduon.team/)
* Eduardo de Miguel (https://www.moduon.team/)

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

The development of this module has been financially supported by:

* Open Source Integrators <https://www.opensourceintegrators.com>
* Moduon Team <https://www.moduon.team>

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

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

|maintainer-max3903| |maintainer-rafaelbn| |maintainer-Shide| 

This module is part of the `OCA/account-invoice-reporting <https://github.com/OCA/account-invoice-reporting/tree/16.0/partner_time_to_pay>`_ project on GitHub.

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