Skip to main content
Odoo Community Association

Sale line locking by pricelist

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

This module allows to lock price edition based on the applied pricelist rule scope.

Table of contents

Use Cases / Context

Sometimes we want to avoid that salesmen are able to modify prices that are fixed and negociated with the customer in advance.

Configuration

In order to configure the prices lock scope, go to the pricelist you want to configure or create a new one from Sales > Products > Pricelists.

Now, in the Configuration tab, you can set the scope on the field *Lock product prices applied on. The possible options are:

  • All products: any rule will lock the price. Very restrictive.

  • Product category: all the rules applied on product category, product or variants will lock the price.

  • Product: all the rules applied on product or variants will lock the price.

  • Product variant: only the rules applied on variants will lock the price.

For this example, we’ll choose the Product scope.

Then, in the price rules, we’ll add a fixed price of 80 to be applied on the product FURN_5555. Save and close and go to the Usage section to test it in the sales order.

Usage

To use this module, you need to log in as a salesman (i.e.: demo user), as sales manager won’t be locked. Then:

  1. Create a new sales order.

  2. Chose the pricelist we configured before.

  3. Add the product FURN_5555: you’ll see that the price unit is locked.

  4. Add another product: the price unit can be edited for that line.

  5. Change the pricelist: now you can edit the price for FURN_5555 again.

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

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:

chienandalu 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.

Release files for odoo-addon-sale-order-line-price-lock-by-pricelist 18.0.1.0.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Built distribution (wheel)

Table of built distributions (wheels) for odoo-addon-sale-order-line-price-lock-by-pricelist 18.0.1.0.1
File Interpreter ABI Platform
odoo_addon_sale_order_line_price_lock_by_pricelist-18.0.1.0.1-py3-none-any.whl Python 3 none any Details

Release files / odoo_addon_sale_order_line_price_lock_by_pricelist-18.0.1.0.1-py3-none-any.whl

Download URL odoo_addon_sale_order_line_price_lock_by_pricelist-18.0.1.0.1-py3-none-any.whl
Size 31.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
dd18d9d609431f754574b3100de816e21fbd9fa685d641b5eed517d722b2b79b
BLAKE2b-256 checksum
How to use checksums
d582eac0804991514b7ca44fde2181c4c3cedc30be02b9362eddd8a3769cb42c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.3

Release history Release notifications | RSS feed

This release

18.0.1.0.1 This release

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page