Skip to main content

Supplier Rounding Method

Project description

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

/purchase_supplier_rounding_method/static/description/subtotal_normal.png

For some suppliers:

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

/purchase_supplier_rounding_method/static/description/subtotal_round_net_price.png

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.

    /purchase_supplier_rounding_method/static/description/partner_setting.png

Credits

Contributors

Project details


Download files

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

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page