Перейти к содержимому
Меню
Чтобы взаимодействовать с сообществом, необходимо зарегистрироваться.
Этот вопрос был отмечен
4 Ответы
222 Представления

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
1412
0
янв. 25
3493
1
авг. 23
14847
change password Решено
1
авг. 23
13498
1
июл. 23
10479