Skip to Content
Meniu
Trebuie să fiți înregistrat pentru a interacționa cu comunitatea.
Această întrebare a fost marcată
4 Răspunsuri
206 Vizualizări

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

Imagine profil
Abandonează
Autor Cel mai bun răspuns

Here is the answer:

Just create:

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

with its xml.

And it functions incredibly

Imagine profil
Abandonează
Cel mai bun răspuns

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..

Imagine profil
Abandonează
Autor

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

Autor

I want a field in which i will display the wrire_date

Related Posts Răspunsuri Vizualizări Activitate
0
mar. 25
1371
0
ian. 25
3457
1
aug. 23
14782
1
aug. 23
13434
1
iul. 23
10413