Pular para o conteúdo
Menu
Esta pergunta foi sinalizada
4 Respostas
227 Visualizações

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
Cancelar
Autor Melhor resposta

Here is the answer:

Just create:

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

with its xml.

And it functions incredibly

Avatar
Cancelar
Melhor resposta

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

Publicações relacionadas Respostas Visualizações Atividade
0
mar. 25
1414
0
jan. 25
3493
1
ago. 23
14852
1
ago. 23
13503
1
jul. 23
10484