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. app
  3. Customer and Vendor Due Balance in PO SO and invoice v 19.0
  4. Sales Conditions FAQ

Customer and Vendor Due Balance in PO SO and invoice

by Bytelegion https://bytelegions.com
Odoo
v 19.0 Third Party 134
Download for v 19.0 Deploy on Odoo.sh
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 • Invoicing (account)
• Purchase (purchase)
• Discuss (mail)
Lines of code 88
Technical Name legion_due_balance
LicenseAGPL-3
Websitehttps://bytelegions.com
Versions 12.0 13.0 14.0 15.0 16.0 17.0 18.0 19.0
You bought this module and need support? Click here!
Availability
Odoo Online
Odoo.sh
On Premise
Odoo Apps Dependencies • Invoicing (account)
• Purchase (purchase)
• Discuss (mail)
Lines of code 88
Technical Name legion_due_balance
LicenseAGPL-3
Websitehttps://bytelegions.com
Versions 12.0 13.0 14.0 15.0 16.0 17.0 18.0 19.0
Logo
Logo
Logo
Days Free Support 365
Custom Apps 1350+
Top Seller Of Odoo Marketplace
Happy Customers 8987+
Years of Experience 10+
Countries 50+
Talented Healers 100+
Industries Served 45+
Email QR
WhatsApp QR
Meeting QR

Why Legion Due Balance?

Standard Odoo displays partner total receivable/payable on the partner form, but sales and purchase staff working in quotations, sales orders, and vendor bills have no visibility into whether a customer owes money or if a vendor is awaiting payment. The Legion Due Balance module instantly displays each partner's outstanding balance directly on sales orders, invoices, and purchase orders at the moment of document creation, enabling sales teams to enforce credit limits, accounts payable teams to prioritize vendor payments, and management to make informed decisions about extending credit or placing orders without switching between screens.

Get Instant Personalized Demo

Copy Link https://bytelegions.com/odoo-app-store-form/

View Our Services

Odoo Customization 365
Odoo Implementation 1350+
Odoo Support Marketplace
Odoo Integration 8987+
Odoo Migration 100+
Odoo Consultancy 50+
Odoo Hosting 100+
Industries Served 45+
Services Banner
  • Overview
  • How to Use
  • Features
  • Frequent Questions
  • Latest Release

Add Custom field in the form view Sales Order side

Add Custom field in the form view Invoice side

Add Custom field in the form view Purchase side

User go to search bar and search legion_due_balance then click on and install

Add Custom field in the form view Sales Order side

Add Custom field in the form view Invoice side

Add Custom field in the form view Purchase side

Customer and Vendor Due Balance in SO, PO and Invoice.

The Legion Due Balance module provides instant visibility into customer and vendor outstanding balances by displaying a real-time "Due Balance" field directly on sales orders, customer invoices, and purchase orders that automatically calculates total unpaid amounts from all confirmed invoices when a partner is selected

Key Features:

  • Real-Time Balance Display: Automatically calculates and displays each customer's or vendor's total outstanding balance directly on sales orders, customer invoices, and purchase orders, updating instantly whenever the partner is selected without requiring navigation to separate reports.
  • Multi-Document Integration: Adds the due balance field consistently across Sales Orders, Customer Invoices, and Purchase Orders, ensuring sales, accounting, and procurement teams all have immediate access to partner payment status from their primary working screens.
  • Posted Invoices Only: Calculates balance based exclusively on confirmed (posted) invoices with unpaid amounts (amount_residual), ignoring draft invoices or quotations to provide accurate, reliable financial figures that match official accounting records
  • Credit Risk Visibility: Enables sales teams to instantly see if a customer has unpaid invoices before confirming new orders, supporting informed decisions about credit limits, payment terms, or requiring advance payment from customers with overdue balances.
  • Vendor Payment Prioritization: Shows accounts payable teams the total amount owed to each vendor directly on purchase orders, helping prioritize vendor payments, manage cash flow, and maintain strong supplier relationships by identifying outstanding payables at a glance.
  • No Additional Navigation: Eliminates the need to open separate partner records, accounting reports, or aging analyses to check payment status - all critical financial information appears automatically on the transaction documents staff work with daily

Frequently Asked Questions

Does the due balance update automatically when payments are received?

Yes! The due balance is a computed field that recalculates automatically whenever you open or refresh a sales order, invoice, or purchase order. When a customer payment is posted, the next time you view any document for that customer, the due balance will reflect the updated amount owed after deducting the payment received.

Can I use this field to block sales orders if a customer has overdue payments?

The module only displays the due balance - it does not automatically block orders or invoices. However, sales staff can see the balance and manually decide whether to proceed. If you need automatic credit limit enforcement that prevents order confirmation when balance exceeds a threshold, additional customization would be required to add validation logic.

Does "Due Balance" include only overdue invoices or all unpaid invoices?

It includes ALL unpaid invoices regardless of due date - both current invoices not yet due and overdue invoices. The module sums amount_residual from all posted invoices for the partner, so a customer with $5,000 due next week and $2,000 overdue from last month will show a $7,000 due balance.

Why does the due balance show zero even though I know the customer owes money?

The module only counts posted (confirmed) invoices with state='posted'. If invoices are still in draft status or haven't been confirmed yet, they won't be included in the due balance calculation. Also verify the invoices are in a Sales journal (journal_id.type='sale') - invoices in other journal types won't be counted.

Can I see a breakdown of which specific invoices make up the due balance?

No, the module only shows the total sum - it doesn't provide a detailed list of individual invoices or aging analysis. To see the breakdown, users must still navigate to Accounting → Partners → Partner Name → Invoices tab or use the standard Aged Receivable/Payable reports to see which specific invoices are included in the balance.

Latest release

Latest Release 19.0
Updt
12st Feb, 2026
Customer and Vendor Due Balance in SO, PO and Invoice.

Top Contributors

Mr. Kamran Yasin

Senior Full Stack Odoo Developer

Miss Rubab Khalil

Senior Odoo Functional Consultant

Mr. Muneeb

Senior Full Stack Odoo Developer

Mr. Wasif Yasin

Senior Full Stack Odoo Developer

Mr. Hamza Khalil

Senior Full Stack Odoo Developer

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, please use the developer contact information. They can usually be found in the description.
Please choose a rating from 1 to 5 for this module.
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