Metadata-Version: 2.0
Name: odoo8-addon-purchase-supplier-rounding-method
Version: 8.0.1.0.0.99.dev4
Summary: Supplier Rounding Method
Home-page: http://www.grap.coop
Author: GRAP,Odoo Community Association (OCA)
Author-email: support@odoo-community.org
License: AGPL-3
Platform: UNKNOWN
Classifier: Programming Language :: Python :: 2.7
Classifier: Framework :: Odoo
Classifier: License :: OSI Approved :: GNU Affero General Public License v3
Requires-Dist: odoo (<9.0a,>=8.0a)
Requires-Dist: odoo8-addon-purchase-discount

.. image:: https://img.shields.io/badge/licence-AGPL--3-blue.svg
   :target: http://www.gnu.org/licenses/agpl-3.0-standalone.html
   :alt: License: AGPL-3

=================================
Purchase Supplier Rounding Method
=================================

This module extend account module, to add new rounding method used by some
suppliers. The new rounding method is used for purchase orders and In invoices.

Use Case
--------

Some of suppliers compute invoice line subtotal differently than Odoo.

In Odoo, by default:

``` price_subtotal = round(unit_price * (1 - discount / 100) * qty)```

  .. figure:: /purchase_supplier_rounding_method/static/description/subtotal_normal.png
     :width: 800 px

For some suppliers:

``` price_subtotal = round(round(unit_price * (1 - discount / 100)) * qty)```

  .. figure:: /purchase_supplier_rounding_method/static/description/subtotal_round_net_price.png
     :width: 800 px

This module manage this second case to generate supplier invoices with the
same value.

Configuration
-------------

* Add a new field 'rounding_method' on a partner with two keys:
    * 'normal': classical computation method, by default.
    * 'round_net_price': round a firt time the net price, and then round again.

  .. figure:: /purchase_supplier_rounding_method/static/description/partner_setting.png
     :width: 800 px

Credits
=======

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

* Sylvain LE GAL <https://twitter.com/legalsylvain>


