Hi everyone,
I want to extract just the date from create_date field in the account.invoice model.
I tried t_date = datetime.datetime.strptime(record.create_date, '%Y-%m-%d') and bunch of other options but none worked.
Kindly help, it's for Odoo online Saas version, in particular to the automated actions.
Reference: https://learnopenerp.blogspot.com/2021/07/how-to-use-and-convert-date-field-format-odoo.html