Open gaelTorrecillas opened 4 months ago
This seems to come from the call of https://github.com/OCA/automation/blob/16.0/automation_oca/models/automation_configuration.py#L194C9-L194C15 no options is passed to this method https://github.com/OCA/OCB/blob/16.0/odoo/tools/safe_eval.py#L341 so you can't reach internal parameters
If you add some options like for server actions you will be able to use those variables
Module
automation_oca
Describe the bug
I create a new automation with a filter on write date <= today + XX days. For today I used :
In the form view of automation.filter I have the validation of this formula (at the bottom of this field)
But when I validate automation and "generate new records" I have an error type :
To Reproduce
odoo : OCA/OCB automation_oca : 16.0.1.0.0
Steps to reproduce the behavior:
Expected behavior A clear and concise description of what you expected to happen.
Additional context python version : Python 3.10.4