ERPNext Foundation ERPNext Cloud User Manual Blog Discuss Frappé* Donate

Help with salary structure (access to current date in condition)


#1

Hello, I need to add a condition based on the antiquity of the employee. The Employee Doctype have the date_of_joining so the antiquity can be calculated with the current date and this field.

But in the conditions of the Salary Structure, I do not have any acces to frappe functions nor datetime module.

Any idea how achieve this?

Thanks


#2

Hi! Any idea for this?

Thanks!


#3

Same problem here. Please help! We need either datetime or frappe utils to be imported, how to achieve this?