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. Sales
  3. Sales Contract Management v 19.0
  4. Sales Conditions FAQ

Sales Contract Management

by Ahex Technologies https://www.ahex.co
Odoo

$ 15.00

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 • Inventory (stock)
• Invoicing (account)
• Sales (sale_management)
• Discuss (mail)
Lines of code 554
Technical Name sale_contract_management
LicenseLGPL-3
Websitehttps://www.ahex.co
You bought this module and need support? Click here!
Availability
Odoo Online
Odoo.sh
On Premise
Odoo Apps Dependencies • Inventory (stock)
• Invoicing (account)
• Sales (sale_management)
• Discuss (mail)
Lines of code 554
Technical Name sale_contract_management
LicenseLGPL-3
Websitehttps://www.ahex.co

Sales Contract Management

Enforce Price Compliance, Track Tolerances, and Automate Contract Lifecycles

This module provides a powerful framework to manage long-term customer agreements with quantity tracking, price lock-ins, and flexible over/under delivery tolerances. By linking Sales Orders directly to active contracts, it ensures strict policy enforcement and provides real-time visibility into committed versus delivered quantities.

Key Features

  • Flexible Over/Under Tolerances: Configure custom tolerance margins (%) per line item.
  • Over-Quantity Enforcement: Protect margins with block or warning policies on contract limits.
  • Automated Lifecycle (Cron Engine): Scheduled background action auto-activates, auto-expires, or auto-closes contracts.
  • Seamless Sales Integration: Locks in negotiated prices and auto-populates contract lines on Sales Orders.
  • Deep Inventory Link: Updates delivered quantities and checks for auto-closure upon stock picking validation.
  • Professional PDF Reports: Single-click generation of print-ready Sales Contract QWeb reports.

When to Use

  • When negotiating long-term agreements with fixed prices and total committed quantities.
  • When you want to prevent sales staff from accidentally selling items at incorrect prices.
  • When you need strict controls to block orders once the total contract quantity is exceeded.
  • When you need automated processes to close agreements when they reach a target delivery percentage.

How It Works

Step 1: Create a Sales Contract

Go to Sales → Contracts → All Contracts, click New, select the customer, dates, policy, and add product lines with target quantities and tolerances.

Step 2: Confirm the Contract

Click the Confirm button to make the contract Active. Active contracts are now ready to be used in Sales Orders.

Step 3: Create a Sales Order

Create a standard Sales Order, select your Customer, and then choose the active Sales Contract. All contract lines auto-populate with pre-negotiated unit prices and default quantities.

Step 4: Auto-Track and Close

As warehouse shipments are validated, Odoo tracks delivered contract quantities. Once the under-tolerance threshold is reached, the contract automatically moves to the Closed state.

Behind the Scenes

Action / Trigger Result / Behavior
Select Contract on Sales Order Loads contract lines, defaults quantities, and locks unit prices.
Confirm Sales Order (Exceeds Qty + Tolerance) If policy is Block, raises user error. If policy is Warn, posts alert to Chatter.
Validate Stock Delivery Picking Recalculates delivered contract quantities and triggers auto-close check.
Daily Scheduled Cron Engine Auto-activates draft contracts on start date, and auto-expires/closes active contracts.

Important Notes

  • Start Date cannot be after End Date during validation.
  • Contracts with delivered quantities cannot be cancelled.
  • Tolerances are configurable individually per product line.
  • Fully integrated with Odoo chatter for a complete history of breaches and updates.

Troubleshooting & Rules

  • Cannot Cancel Contract: Ensure the contract has no delivered quantities before cancelling.
  • Sales Order Line Price not locked: Make sure the product matches the contract line exactly.
  • Contract did not close automatically: Verify if delivered quantities have reached the under-tolerance percentage required.

Use Case Example

Sales Agreement: 1,000 units of Desk Organizer at $15.00/unit.
Tolerance Config: 10% Under Tolerance (900 units triggers fulfillment) & 5% Over Tolerance (max 1,050 units allowed).
Over-Qty Policy: Block.

Flow:
- Customer places multiple orders. As soon as total delivered quantity hits 900, the background engine can mark it as Fulfilled and Closed.
- If a salesperson tries to place a Sales Order that brings the total ordered qty to 1,060 units, Odoo will raise a hard validation error and block the order.

Support

Ahex Technologies
www.ahex.co
Contact Us

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