Passa al contenuto
Menu
È necessario essere registrati per interagire con la community.
La domanda è stata contrassegnata
4 Risposte
202 Visualizzazioni

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
Abbandona
Autore Risposta migliore

Here is the answer:

Just create:

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

with its xml.

And it functions incredibly

Avatar
Abbandona
Risposta migliore

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
Abbandona
Autore

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

Autore

I want a field in which i will display the wrire_date

Post correlati Risposte Visualizzazioni Attività
0
mar 25
1363
0
gen 25
3454
1
ago 23
14779
1
ago 23
13432
1
lug 23
10411