Skip to Content
Меню
Вам необхідно зареєструватися, щоб взаємодіяти зі спільнотою.
Це запитання позначене
4 Відповіді
216 Переглядів

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

Аватар
Відмінити
Автор Найкраща відповідь

Here is the answer:

Just create:

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

with its xml.

And it functions incredibly

Аватар
Відмінити
Найкраща відповідь

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

Аватар
Відмінити
Автор

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

Автор

I want a field in which i will display the wrire_date

Related Posts Відповіді Переглядів Дія
0
бер. 25
1402
0
січ. 25
3485
1
серп. 23
14832
change password Вирішено
1
серп. 23
13490
1
лип. 23
10473