Hello!
I'm using odoo 17 community version.
In my model i have a Datetime field
(.py file)
r_date = fields.Datetime(string="R date", required=False)
(xml)
<field name="r_date "/>
Field is empty by default, it's okay. In the previous version(ver.10), when you clicked on a field, it was filled with the current date and time value, but now a widget appears and the value is still empty. Is this normal behavior? Can I return "as before" when the field, having received focus, is filled with the current datetime value at the current moment? I know about (default) in the model, but at the time of creation I don’t need to fill in the field, it should be empty - I need the field to be filled with the current date when it receives focus