Skip to main content
This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (
Help us improve Python packaging - Donate today!

Supplier Rounding Method

Project Description

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)`

For some suppliers:

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

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


  • 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.



Release History

This version
History Node

History Node

History Node

History Node

History Node

History Node

Download Files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Filename, Size & Hash SHA256 Hash Help File Type Python Version Upload Date
(166.4 kB) Copy SHA256 Hash SHA256
Wheel py2 Mar 4, 2018

Supported By

Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Google Google Cloud Servers