Sale Order Line Readonly Conditions

Adds predicates to make fields readonly on a sale order line.

Technical Name:
sale_order_line_readonly_conditions
License:
Author:
Numigi
https://kastor.lab.numigi.net/web/image/product.template/1331/image_1920?unique=0a81b40
  • Odoo Version

Conditions générales
Garantie satisfait ou remboursé de 30 jours
Expédition : 2-3 jours ouvrables

Sale Order Line Readonly Conditions

This module allows to make the fields of a sale order line readonly under a given condition.

The module defines 5 new boolean fields:

  • handle_widget_invisible: Makes the handle widget invisible

(see module web_handle_condition). * trash_widget_invisible: Makes the trash widget invisible (see module web_handle_condition). * product_readonly: Makes the product readonly * product_uom_qty_readonly: Makes the ordered quantity readonly * product_uom_readonly: Makes the unit of measure readonly * price_unit_readonly: Makes the unit price readonly * taxes_readonly: Makes the taxes readonly

However, this module does not define how these flags are checked. Multiple modules can inherit this module and add their specific use case.

For an example of usage, see the module sale_kit from the same repository.

Contributors

More information