Skip to Content
Menu
Musisz się zarejestrować, aby móc wchodzić w interakcje z tą społecznością.
To pytanie dostało ostrzeżenie
4 Odpowiedzi
201 Widoki

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

Awatar
Odrzuć
Autor Najlepsza odpowiedź

Here is the answer:

Just create:

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

with its xml.

And it functions incredibly

Awatar
Odrzuć
Najlepsza odpowiedź

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

Awatar
Odrzuć
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

Powiązane posty Odpowiedzi Widoki Czynność
0
mar 25
1362
0
sty 25
3452
1
sie 23
14777
change password Rozwiązane
1
sie 23
13431
1
lip 23
10411