Skip to Content
Menu
This question has been flagged
2 Replies
3338 Views

Hello

I would like to print the date + the time in my column " lastModified " in my tree view. I am have declared my field as follows :

lastModified = fields.Date(string='Last updated')
Avatar
Discard
Best Answer

HI Zak,

Last modified time of the record  will be stored in each record by default. To get it in the tree view you can add a field named write_date in the view.

<field name="write_date" />

Thanks

Avatar
Discard
Author Best Answer

Thank you Niyas i will try it 

Avatar
Discard