Skip to Content
Menu
You need to be registered to interact with the community.
This question has been flagged
4 Odgovori
217 Prikazi

Hi guys!!

Please who know how to get the date of a recordset please.

I have a field in which i want to put the date of my recordset.

Help please.

thanks in advance

Avatar
Opusti
Avtor Best Answer

Here is the answer:

Just create:

'create_date' : fields.datetime('Date Created', readonly=True), 

with its xml.

And it functions incredibly

Avatar
Opusti
Best Answer

no need for that... 
odoo will keep create_date and write_date accurate by default... if you still need extra date logging...
simply inherit create method and fill desired date/time data in values to be written to new record..

Avatar
Opusti
Avtor

Can you help me please to simply inherit create method and fill desired date/time data in values to be written to new record.. I didnt know how please

Avtor

I want a field in which i will display the wrire_date

Related Posts Odgovori Prikazi Aktivnost
0
mar. 25
1405
0
jan. 25
3486
1
avg. 23
14833
1
avg. 23
13490
1
jul. 23
10473