Record rules in Odoo, parametrization and programmatic updation of rule parameters
I would like to create rules in Odoo to control things like max single order value, max cummulative order value across a time period for a user, max number of orders that can be place in a period for a user through rules. Can I use record rules for this purpose? Can you please point me to the relevant documentation. Also, is it possible to parameterize these rules and update the rules programmatically? The intent is to apply the rule with different parameters for different groups of users.
Thanks in advance,