Skip to content

[IMP] kpi: expose datetime in safe_eval context#1164

Open
miquelrosell99 wants to merge 1 commit into
OCA:17.0from
miquelrosell99:17.0-add-datetime-to-kpi-safe-eval
Open

[IMP] kpi: expose datetime in safe_eval context#1164
miquelrosell99 wants to merge 1 commit into
OCA:17.0from
miquelrosell99:17.0-add-datetime-to-kpi-safe-eval

Conversation

@miquelrosell99
Copy link
Copy Markdown

Allows KPI Python expressions to reference the datetime module, which is essential for time-based calculations in KPI formulas.

Allows KPI Python expressions to reference the datetime module,
which is essential for time-based calculations in KPI formulas.
Copy link
Copy Markdown
Member

@flotho flotho left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi,
Thanks,
Easy code review
LGTM

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants