Hello I am a student only begininng with odoo so i dont know everything.
I have been trying to limit what a user group can see on the transfer page (transfers with scheduled date between today's date and today's date-14days)
I tried multiple things but i don't know what to use to do this ( tried with the domain in the record rule of the group but i cant find how to get today's date)
If you could help me it would be awesome because i don't know much like i said.
Here is my failed attempt at the domain :
[('scheduled_date','>=', ((context_today()-datetime.timedelta(days=14)).strftime('%Y-%m-%d')))]
I hope you can help me.
Have a great day !!!