Odoo Community Association

Base Confirmation Requirement Rules

Beta License: AGPL-3 sygel-technology/sy-server-tools

This module allows to set domains in other models types that need to be met before being validated. This module does nothing on its own and has to be used along with other modules.

Table of contents

Configuration

To configure this module, you need to:

  1. Include users in the group “Skip Confirmation Requirement Rules” so requirement rules do not apply when they do a confirmation.

Note: The admin user is included in this group by default. Take this into account when testing this module.

Usage

To use this module, you need to:

Create another module that inherits this module and uses the 3 provided mixin models to:

  • Create a requirement rule record. Use the confirmation_requirement_rule_mixin for that.
  • Link the requirement rule to a ‘type’ record. Use the requirement_rule_type_mixin for that.
  • Apply the requirements to a record that has the ‘type’ above. Use the confirmation_requirement_mixin for that.

See sale_type_confirmation_requirement_rules of sy-sale-workflow an example

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

  • Sygel

Contributors

  • Sygel:
    • Manuel Regidor
    • Valentin Vinagre
    • Harald Panten

Maintainers

This module is part of the sygel-technology/sy-server-tools project on GitHub.

You are welcome to contribute.