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. Sale Price Compliance v 16.0
  4. Sales Conditions FAQ

Sale Price Compliance

by Moduon https://github.com/OCA/sale-workflow , Odoo Community Association (OCA) https://github.com/OCA/sale-workflow
Odoo
v 16.0 Third Party
Download for v 16.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)
• Discuss (mail)
Lines of code 928
Technical Name sale_price_compliance
LicenseLGPL-3
Websitehttps://github.com/OCA/sale-workflow
You bought this module and need support? Click here!
Odoo Community Association

Sale Price Compliance

Alpha License: LGPL-3 OCA/sale-workflow Translate me on Weblate Try me on Runboat

This module extends the sales pricing functionality to display a color code based on the price at which products are being sold.

Managing Price Compliance Thresholds can be done by adding Manage Price Compliance group to any user. Compliance Tiers can be filtered on sale reports.

You can use up to 3 different price compliance tiers for products, categories or for all company.

You can customize the texts and icons of the tiers via the System Parameters.

Labels of the tier fields will change according to sale_price_compliance.price_compliance_selection_tiers_text System Parameter in views.

This functionality only applies to Sales.

A sale with a line with Non Compliant price (doesn’t fit in any defined tiers) can’t be confirmed. Only Sale Administrators can validate this sales and a message will be posted.

Price Compliance thresholds are selected in this order: Product > Product Category > Company

Each Tier represents the maximun discount applied to the Price of the Product to achieve the target tier.

Color Compliance Tiers

  • Tier 1 🟩: High-yield (Fully compliant)
  • Tier 2 🟨: Medium-yield (Moderately compliant)
  • Tier 3 🟧: Low-yield (Low compliant)
  • Non Compliant 🟥: Non Compliant price (blocked)
  • Pricelist 🟦: Pricelist has been used and it’s price is between pricelist and last compliant tier.

Information Display on Price Compliant Tiers Includes a popup to display detailed information about the price ranges within each price compliance tiers.

Also displays Product Base UoM and Product List Price in Sale Currency in the Top Right corner of the Popup.

Price Compliance Widget

Price Compliance Sale Line Form

Price Compliance Sale Line List

Price Compliance Sale Line Kanban

Important

This is an alpha version, the data model and design can change at any time without warning. Only for development or testing purpose, do not use in production. More details on development status

Table of contents

  • Use Cases / Context
  • Usage
  • Known issues / Roadmap
  • Bug Tracker
  • Credits
    • Authors
    • Contributors
    • Maintainers

Use Cases / Context

This module was developed because sometimes commercial users are incentivized to sell at prices that are more beneficial to the company.

It will be useful if you want to visually show your commercial users whether the price they are selling at is in line with the company’s pricing policy.

Usage

To use this module, you need to:

Configure Parameter Text: Change the default price compliance tiers texts

  1. Go to System Parameters.
  2. Create a new parameter with key sale_price_compliance.price_compliance_selection_tiers_text.
  3. Write a dictionary with the values for tiers that you want to change it’s default text.
  4. Save the parameter.
  5. Create a new parameter with key sale_price_compliance.price_compliance_selection_tiers_icon.
  6. Write a dictionary with the values for tiers that you want to change it’s default icon.
  7. Save the parameter.

Example:

Param sale_price_compliance.price_compliance_selection_tiers_text:

{‘t1’: ‘Gold’, ‘t2’: ‘Silver’, ‘t3’: ‘Bronze’, ‘pricelist’: ‘Draw’}

Param sale_price_compliance.price_compliance_selection_tiers_icon:

{‘t1’: ‘🥇’, ‘t2’: ‘🥈’, ‘t3’: ‘🥉’, ‘non_compliant’: ‘⛔️’, ‘pricelist’: ‘🤝’}

Resulting texts and icons will be:

  • Gold: 🥇
  • Silver: 🥈
  • Bronze: 🥉
  • Non Compliant: ⛔️
  • Draw: 🤝

Available keys to be used in the dictionary are:

  • t1: Tier 1
  • t2: Tier 2
  • t3: Tier 3
  • non_compliant: Non Compliant
  • pricelist: Pricelist

Configure: Product Price Compliance Thresholds configuration

  1. Go to Sales > Products > Products > Select one > Sales tab
  2. Enable Use Price Compliance Thresholds under Sale Price Compliance Thresholds
  3. Fill from 1 to 3 tiers that you want to use in this product.

Example: Tier 1: 10%, Tier 2: 20%, Tier 3: 30%. (Use all tiers)

Configure: Product Category Price Compliance Thresholds configuration

  1. Go to Sales > Configuration > Products > Product Categories > Select one
  2. Enable Use Price Compliance Thresholds under Sale Price Compliance Thresholds
  3. Fill from 1 to 3 tiers that you want to use in this category.

Example: Tier 1: 15%, Tier 2: 25%, Tier 3: 0%. (Don’t use tier 3)

Configure: Company Price Compliance Thresholds configuration

  1. Go to Sales > Configuration > Settings
  2. Enable Use Price Compliance Thresholds under Pricing section
  3. Fill from 1 to 3 tiers that you want to use for the company.

Example: Tier 1: 30%, Tier 2: 0%, Tier 3: 0%. (Don’t use tier 2 and 3)

Sale: As a Salesman user

  1. Create a new sale and fill contact field
  2. Add a new line with a product that has been configured to use Price Compliance
  3. Click on the 🟩, 🟨, 🟧, 🟥 or 🟦 icon at the start of the line.
  4. You will see a popup with useful information about the Tier ranges.
  5. Play with it and then set a Non Compliant price (change price or discount to achieve this).
  6. Try to confirm the Sale and see the error.

Sale: As a Sales Administrator

  1. Confirm the previous Sale.
  2. See the message on the chatter.

Reporting: Sales report

  1. Go to Sales > Reporting > Sales
  2. Select bar chart or Pivot view
  3. Group by Price Compliance Level

Reporting: Salesperson report

  1. Go to Sales > Reporting > Salesperson
  2. Select Bar chart + stacked or Pivot view
  3. Group by Price Compliance Level

Reporting: Product report

  1. Go to Sales > Reporting > Product
  2. Select Pie chart + stacked or Pivot view
  3. Group by Price Compliance Level

Reporting: Customers report

  1. Go to Sales > Reporting > Customers
  2. Select Bar chart + stacked or Pivot view
  3. Group by Price Compliance Level

Known issues / Roadmap

  • Widget is not shown properly if the order is not saved and refreshed.

Bug Tracker

Bugs are tracked on GitHub Issues. In case of trouble, please check there if your issue has already been reported. If you spotted it first, help us to smash it by providing a detailed and welcomed feedback.

Do not contact contributors directly about support or help with technical issues.

Credits

Authors

  • Moduon

Contributors

  • Eduardo de Miguel (Moduon)

Maintainers

This module is maintained by the OCA.

Odoo Community Association

OCA, or the Odoo Community Association, is a nonprofit organization whose mission is to support the collaborative development of Odoo features and promote its widespread use.

Current maintainers:

Shide rafaelbn

This module is part of the OCA/sale-workflow project on GitHub.

You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.

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