コンテンツへスキップ
メニュー
この質問にフラグが付けられました
4 返信
215 ビュー

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

関連投稿 返信 ビュー 活動
0
3月 25
1402
0
1月 25
3485
1
8月 23
14832
1
8月 23
13490
1
7月 23
10473