Skip to Content
Odoo Menu
  • Sign in
  • Try it free
  • Apps
    Finance
    • Accounting
    • Invoicing
    • Expenses
    • Spreadsheet (BI)
    • Documents
    • Sign
    Sales
    • CRM
    • Sales
    • POS Shop
    • POS Restaurant
    • Subscriptions
    • Rental
    Websites
    • Website Builder
    • eCommerce
    • Blog
    • Forum
    • Live Chat
    • eLearning
    Supply Chain
    • Inventory
    • Manufacturing
    • PLM
    • Purchase
    • Maintenance
    • Quality
    Human Resources
    • Employees
    • Recruitment
    • Time Off
    • Appraisals
    • Referrals
    • Fleet
    Marketing
    • Social Marketing
    • Email Marketing
    • SMS Marketing
    • Events
    • Marketing Automation
    • Surveys
    Services
    • Project
    • Timesheets
    • Field Service
    • Helpdesk
    • Planning
    • Appointments
    Productivity
    • Discuss
    • Approvals
    • IoT
    • VoIP
    • Knowledge
    • WhatsApp
    Third party apps Odoo Studio Odoo Cloud Platform
  • Industries
    Retail
    • Book Store
    • Clothing Store
    • Furniture Store
    • Grocery Store
    • Hardware Store
    • Toy Store
    Food & Hospitality
    • Bar and Pub
    • Restaurant
    • Fast Food
    • Guest House
    • Beverage Distributor
    • Hotel
    Real Estate
    • Real Estate Agency
    • Architecture Firm
    • Construction
    • Property Management
    • Gardening
    • Property Owner Association
    Consulting
    • Accounting Firm
    • Odoo Partner
    • Marketing Agency
    • Law firm
    • Talent Acquisition
    • Audit & Certification
    Manufacturing
    • Textile
    • Metal
    • Furnitures
    • Food
    • Brewery
    • Corporate Gifts
    Health & Fitness
    • Sports Club
    • Eyewear Store
    • Fitness Center
    • Wellness Practitioners
    • Pharmacy
    • Hair Salon
    Trades
    • Handyman
    • IT Hardware & Support
    • Solar Energy Systems
    • Shoe Maker
    • Cleaning Services
    • HVAC Services
    Others
    • Nonprofit Organization
    • Environmental Agency
    • Billboard Rental
    • Photography
    • Bike Leasing
    • Software Reseller
    Browse all Industries
  • Community
    Learn
    • Tutorials
    • Documentation
    • Certifications
    • Training
    • Blog
    • Podcast
    Empower Education
    • Education Program
    • Scale Up! Business Game
    • Visit Odoo
    Get the Software
    • Download
    • Compare Editions
    • Releases
    Collaborate
    • Github
    • Forum
    • Events
    • Translations
    • Become a Partner
    • Services for Partners
    • Register your Accounting Firm
    Get Services
    • Find a Partner
    • Find an Accountant
      • Get a Tailored Demo
    • Implementation Services
    • Customer References
    • Support
    • Upgrades
    Github Youtube Twitter Linkedin Instagram Facebook Spotify
    +32 2 290 34 90
    • Get a Tailored Demo
  • Pricing
  • Help
  1. APPS
  2. Purchasing
  3. Commodity Settlement & Pricing v 19.0
  4. Sales Conditions FAQ

Commodity Settlement & Pricing

by Grevlin Global Corp. https://www.grevlin.com
Odoo

$ 152.07

v 19.0 Third Party
Apps purchases are linked to your Odoo account, please sign in or sign up first.
Availability
Odoo Online
Odoo.sh
On Premise
Odoo Apps Dependencies • Discuss (mail)
• Invoicing (account)
• Purchase (purchase)
• Inventory (stock)
Community Apps Dependencies Show
• Commodity Base
• Commodity Delivery & Weighbridge
• Commodity Quality Inspection
• Commodity Supplier Management
• Commodity Warehouse
Lines of code 8083
Technical Name grev_od_commodity_settlement
LicenseOPL-1
Websitehttps://www.grevlin.com
You bought this module and need support? Click here!
Availability
Odoo Online
Odoo.sh
On Premise
Odoo Apps Dependencies • Discuss (mail)
• Invoicing (account)
• Purchase (purchase)
• Inventory (stock)
Community Apps Dependencies Show
• Commodity Base
• Commodity Delivery & Weighbridge
• Commodity Quality Inspection
• Commodity Supplier Management
• Commodity Warehouse
Lines of code 8083
Technical Name grev_od_commodity_settlement
LicenseOPL-1
Websitehttps://www.grevlin.com
  • Description
  • Documentation
  • License

💰 Commodity Settlement & Pricing

Automated Pricing Engine, Quality Deductions, Multi-Level Approval, Vendor Bills & Payment Tracking

✓  Odoo 19.0 Community and Enterprise  |  OPL-1 License

🎯 Value Proposition

Commodity Settlement & Pricing automates the entire settlement lifecycle for commodity procurement — from delivery weigh-in to supplier payment. The pricing engine calculates gross amounts from contract base prices, applies quality penalties and grade adjustments as itemised deductions, routes settlements through multi-level approval, generates vendor bills linked to purchase orders, and tracks payments across bank transfer, mobile money, cash, and cheque channels. A built-in SQL analytics report gives procurement managers full visibility into settlement volumes, deduction rates, and payment timeliness.

⚖

Deterministic Pricing

Gross = net weight × base price, minus quality penalties & grade adjustments

📋

Multi-Level Approval

Six-state workflow from draft to paid with manager sign-off on every settlement

📊

SQL Analytics Report

Pivot and graph views aggregating deliveries, settlements, and average prices

🌟 Key Benefits

⚡

Automated Pricing Calculation

One click calculates gross amount from delivery net weight and contract base price, then automatically creates deduction lines for every quality penalty and grade adjustment. No manual spreadsheets, no formula errors.

🔒

Governed Approval Workflow

Settlements move through six controlled states — draft, calculated, submitted, approved, invoiced, and paid. Manager approval records the approver, date, and final payable amount for full audit traceability.

💰

Vendor Bill & Payment Tracking

Approved settlements generate vendor bills with commodity and deduction lines linked to purchase orders. Track payments via bank transfer, mobile money, cash, or cheque — settlement closes automatically when fully paid.

📊

Procurement Analytics

SQL-backed analytics report aggregates deliveries by date, partner, and commodity type with total weights, settlement amounts, and average prices — available in pivot and graph views for instant insight.

⚙ Core Features

💰 Settlement Pricing Engine

  • Gross amount = net weight × contract base price
  • Quality penalty deduction lines from test results
  • Grade adjustment deductions from price_adjustment_pct
  • Multiple settlement types: delivery, washout, swap, option exercise
  • Provisional pricing with finalization workflow

✅ Multi-Level Approval Workflow

  • States: draft → calculated → submitted → approved → invoiced → paid
  • Manager approval sets final_payable amount
  • Approval user and date recorded for audit
  • Settlement amendments with manager approval
  • Full chatter tracking on all state transitions

📦 Vendor Bill Creation

  • Approved settlements generate account.move (vendor bill)
  • Commodity line at base price per unit
  • Individual deduction lines for penalties and adjustments
  • Linked to purchase orders for full traceability
  • Advance payment management with contract recovery

💳 Payment Tracking

  • Bank transfer, mobile money, cash, and cheque methods
  • Partial and full payment recording
  • Settlement auto-closes when fully paid
  • FX hedge tracking with gain/loss calculation
  • Payment state transitions via explicit actions

📈 Procurement Analytics

  • SQL view: grev.commodity.procurement.report
  • Aggregates deliveries by date, partner, and commodity type
  • Total weights, settlement amounts, and average prices
  • Pivot and graph views for instant analysis
  • Multi-company scoped for data isolation

💲 FX Hedging & Advances

  • FX hedge records linked to settlements
  • Gain/loss calculation on currency exposure
  • Advance payment management against contracts
  • Automatic advance recovery on settlement approval
  • Complete financial trail from delivery to payment

👥 Who Is This For?

📋

Settlement Officers

Create settlements from deliveries, calculate pricing, review deductions, and submit for approval.

💰

Finance Officers

Review deduction details, approve settlements, create vendor bills, and manage payments.

💼

Finance Managers

Final approval authority over settlements with full payment oversight and analytics.

📊

Procurement Managers

Monitor procurement analytics, settlement trends, deduction rates, and payment timeliness.

🗒 Changelog

Version 2.0.0 — April 2026

Full Settlement Platform — Major Release

  • Automated pricing engine with quality penalty and grade adjustment deductions
  • Six-state approval workflow: draft → calculated → submitted → approved → invoiced → paid
  • Vendor bill creation with commodity and deduction lines linked to purchase orders
  • Payment tracking: bank transfer, mobile money, cash, cheque
  • Settlement amendments with manager-level approval
  • FX hedge tracking with gain/loss calculation
  • Provisional pricing with finalization workflow
  • Multiple settlement types: delivery, washout, swap, option exercise
  • Advance payment management with contract recovery
  • SQL procurement analytics report (grev.commodity.procurement.report)
  • Three-tier security with multi-company record rules

Version 1.0.0 — February 2026

Initial Release

  • Settlement record model with delivery linkage
  • Basic pricing calculation from net weight and base price
  • Deduction line model for quality and grade adjustments
  • Simple approval workflow (draft → approved → paid)
  • Payment recording with bank transfer and cash methods
  • Three-tier security groups with multi-company record rules

📞 Need Help?

🎁 30 Days Free Support Included
📧

Email

odoo@grevlin.com
🐦

X (Twitter)

@GrevlinGlobal

Grevlin Procurement Suite

Enterprise-Grade Commodity Procurement Solutions for Odoo

© 2026 Grevlin Global Corp. All Rights Reserved.

Compatible with Odoo 19.0 | Licensed under OPL-1

Commodity Settlement & Pricing

The Commodity Settlement & Pricing module automates the full settlement lifecycle for commodity procurement -- from delivery weigh-in to supplier payment. It calculates settlement amounts from delivery net weights and contract base prices, applies quality penalties and grade adjustments as itemised deductions, routes settlements through a multi-level approval workflow, generates vendor bills linked to purchase orders, and tracks payments across multiple payment methods.

Overview

This module sits at the financial close of the commodity procurement chain. It consumes delivery records from grev_od_commodity_delivery and quality test results from grev_od_commodity_quality, then produces vendor bills and payment records in Odoo Accounting.

Key Capabilities

  1. Automated Pricing Engine -- gross amount = net weight x base price from contract; quality penalties and grade adjustments are applied as individual deduction lines.
  2. Quality Penalty Application -- for each quality result with a penalty amount greater than zero, a deduction line is created automatically.
  3. Grade Adjustment -- if the assigned grade has a negative price_adjustment_pct, a deduction line reflects the grade-based price reduction.
  4. Multi-Level Approval -- six states: draft, calculated, submitted, approved, invoiced, paid. Approval records the approver, date, and final payable amount.
  5. Settlement Types -- delivery, washout, swap, and option exercise settlement types with provisional pricing and finalization workflow.
  6. Vendor Bill Creation -- approved settlements generate account.move (vendor bill) with a commodity line at base price and individual deduction lines.
  7. Payment Tracking -- record payments via bank transfer, mobile money, cash, or cheque. Settlement auto-closes when fully paid.
  8. FX Hedge Tracking -- link FX hedges to settlements and calculate gain/loss on currency exposure.
  9. Advance Payment Management -- manage advance payments against contracts with automatic recovery on settlement approval.
  10. Settlement Amendments -- amend approved settlements with manager approval and full audit trail.
  11. Procurement Analytics -- SQL view aggregating deliveries by date, partner, and commodity type with total weights, amounts, and average prices in pivot and graph views.

Note

Quality test results and delivery records are consumed from peer commodity modules via try/except guards. The settlement module degrades gracefully if optional dependencies are absent.

Configuration

Dependencies

Install the following modules before installing Commodity Settlement:

  • grev_od_commodity_base -- commodity types, grades, quality parameters
  • grev_od_commodity_delivery -- delivery records with net weights
  • grev_od_commodity_supplier -- supplier management

The module also depends on account for vendor bill creation and purchase for purchase order context.

Security Groups

The module uses the centralized commodity security groups defined in grev_od_commodity_base:

Commodity User (group_commodity_user)

  • Read-only access to settlements, deductions, payments, amendments, FX hedges, and the procurement report.

Commodity Officer (group_commodity_officer)

  • Create and edit settlements, calculate pricing, submit for approval.
  • Create and manage advance payments and FX hedges.
  • Cannot delete records or approve settlements.

Commodity Manager (group_commodity_manager)

  • Full CRUD including delete on all settlement models.
  • Approve settlements, create vendor bills, manage payments.
  • Approve settlement amendments.

Note

Multi-company record rules apply to all models using the pattern ['|', ('company_id', '=', False), ('company_id', 'in', company_ids)].

Usage

Creating a Settlement

  1. Navigate to :menuselection:`Commodity --> Settlements --> Settlements`.
  2. Click :guilabel:`Create`.
  3. Select the :guilabel:`Delivery` record to settle.
  4. The system populates the supplier, commodity type, net weight, and contract base price from the delivery and its linked contract.
  5. Click :guilabel:`Calculate` to compute the gross amount and generate deduction lines from quality penalties and grade adjustments.

Reviewing Deductions

After calculation, the :guilabel:`Deductions` tab shows all deduction lines. Each line includes:

  • :guilabel:`Deduction Type` -- quality, grade, transport, handling, or other
  • :guilabel:`Description` -- human-readable explanation
  • :guilabel:`Amount` -- the deduction value
  • :guilabel:`Source` -- reference to the quality test or grade record

Submitting for Approval

  1. Review all deduction lines and verify the net amount.
  2. Click :guilabel:`Submit` to move the settlement to submitted state.
  3. A manager reviews the settlement and clicks :guilabel:`Approve`.
  4. On approval, the final_payable amount is set (defaults to net_amount) and the approver and approval date are recorded.

Creating a Vendor Bill

  1. From an approved settlement, click :guilabel:`Create Bill`.
  2. The system generates an account.move (vendor bill) with:
    • A commodity line at the base price per unit.
    • Individual deduction lines for each penalty and adjustment.
    • The bill is linked to the settlement's purchase order.
  3. The settlement moves to invoiced state.

Recording Payments

  1. From an invoiced settlement, go to the :guilabel:`Payments` tab.
  2. Click :guilabel:`Register Payment`.
  3. Select the :guilabel:`Payment Method`:
    • Bank Transfer -- standard bank payment
    • Mobile Money -- includes mobile money number field
    • Cash -- manual cash payment
    • Cheque -- cheque reference tracking
  4. Enter the payment amount and confirm.
  5. When total payments equal the final payable, the settlement automatically moves to paid state.

Managing FX Hedges

  1. Navigate to :menuselection:`Commodity --> Settlements --> FX Hedges`.
  2. Click :guilabel:`Create` and link to a settlement.
  3. Enter the hedge details: currency pair, hedged amount, hedge rate.
  4. When the settlement is finalized, the system calculates the FX gain or loss based on the actual vs hedged exchange rate.

Managing Advance Payments

  1. Navigate to :menuselection:`Commodity --> Settlements --> Advance Payments`.
  2. Click :guilabel:`Create` and link to a contract and supplier.
  3. Record the advance amount and payment date.
  4. On settlement approval, outstanding advances are automatically recovered against the final payable amount.

Settlement Amendments

  1. Open an approved or invoiced settlement.
  2. Click the :guilabel:`Amendments` smart button.
  3. Click :guilabel:`Create` and enter the amendment details:
    • :guilabel:`Reason` -- mandatory explanation
    • :guilabel:`Old Value` / :guilabel:`New Value` -- the change
  4. Submit for manager approval.
  5. Once approved, the amendment updates the settlement record.

Technical Details

Data Models

Model Type Description
grev.commodity.settlement Model Settlement record with pricing, approval workflow, and bill linkage.
grev.commodity.settlement.deduction Model Individual deduction lines (quality, grade, transport, handling).
grev.commodity.payment Model Payment tracking with multiple payment methods.
grev.commodity.advance.payment Model Advance payments against contracts with recovery tracking.
grev.commodity.settlement.amendment Model Settlement amendments with manager approval.
grev.commodity.fx.hedge Model FX hedge records with gain/loss calculation.
grev.commodity.procurement.report SQL view Read-only procurement analytics (pivot + graph).

Settlement Workflow States

State Description
draft Settlement created, awaiting calculation.
calculated Pricing computed, deductions generated.
submitted Submitted for manager approval.
approved Approved with final payable set.
invoiced Vendor bill created in Odoo Accounting.
paid All payments received, settlement closed.
cancelled Settlement cancelled (available from any state).

Pricing Computation

The pricing engine follows a deterministic formula:

  1. gross_amount = net_weight x base_price (from contract)
  2. For each quality test result with penalty_amount > 0, a deduction line is created.
  3. If the assigned grade has a negative price_adjustment_pct, a grade deduction line is created.
  4. total_deductions = sum of all deduction line amounts.
  5. net_amount = gross_amount - total_deductions.
  6. final_payable defaults to net_amount but can be overridden during approval.

Troubleshooting

Settlement Calculation Shows Zero Deductions

Symptom: clicking :guilabel:`Calculate` produces a gross amount but no deduction lines.

Checks:

  1. Verify the linked delivery has completed quality tests with penalty amounts greater than zero.
  2. Confirm the assigned grade has a non-zero price_adjustment_pct value.
  3. Check that grev_od_commodity_quality is installed if quality penalty deductions are expected.

Vendor Bill Not Created

Symptom: the :guilabel:`Create Bill` button is not visible.

Checks:

  1. The settlement must be in approved state. Check the state badge in the form header.
  2. The current user must have Commodity Manager security group access.
  3. Verify the account module is installed and properly configured with journals.

Payment Does Not Close Settlement

Symptom: payment is recorded but settlement remains in invoiced state.

Checks:

  1. Verify the total payment amount equals or exceeds the final_payable amount.
  2. Check that the payment is in posted state (draft payments do not count toward the settlement total).

See Also

Related Modules

  • grev_od_commodity_base -- commodity types, grades, and quality parameters used in pricing calculations.
  • grev_od_commodity_delivery -- delivery records providing net weights for settlement computation.
  • grev_od_commodity_quality -- quality test results driving penalty deduction lines.
  • grev_od_commodity_contract -- contract base prices and terms consumed by the pricing engine.
  • grev_od_commodity_supplier -- supplier management and KYC data.
Odoo Proprietary License v1.0

This software and associated files (the "Software") may only be used (executed,
modified, executed after modifications) if you have purchased a valid license
from the authors, typically via Odoo Apps, or if you have received a written
agreement from the authors of the Software (see the COPYRIGHT file).

You may develop Odoo modules that use the Software as a library (typically
by depending on it, importing it and using its resources), but without copying
any source code or material from the Software. You may distribute those
modules under the license of your choice, provided that this license is
compatible with the terms of the Odoo Proprietary License (For example:
LGPL, MIT, or proprietary licenses similar to this one).

It is forbidden to publish, distribute, sublicense, or sell copies of the Software
or modified copies of the Software.

The above copyright notice and this permission notice must be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,
DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
DEALINGS IN THE SOFTWARE.

Please log in to comment on this module

  • The author can leave a single reply to each comment.
  • This section is meant to ask simple questions or leave a rating. Every report of a problem experienced while using the module should be addressed to the author directly (refer to the following point).
  • If you want to start a discussion with the author or have a question related to your purchase, please use the support page.
Community
  • Tutorials
  • Documentation
  • Forum
Open Source
  • Download
  • Github
  • Runbot
  • Translations
Services
  • Odoo.sh Hosting
  • Support
  • Upgrade
  • Custom Developments
  • Education
  • Find an Accountant
  • Find a Partner
  • Become a Partner
About us
  • Our company
  • Brand Assets
  • Contact us
  • Jobs
  • Events
  • Podcast
  • Blog
  • Customers
  • Legal • Privacy
  • Security

Odoo is a suite of open source business apps that cover all your company needs: CRM, eCommerce, accounting, inventory, point of sale, project management, etc.

Odoo's unique value proposition is to be at the same time very easy to use and fully integrated.

Website made with