跳至內容
選單
此問題已被標幟
3 回覆
4130 瀏覽次數

Hello,

A field named "date" is available in res_partner model, but looks not used. There is no view that handle this and I didn't see any function using this, but it is available on data import or for filter datas...

Thanks

頭像
捨棄
最佳答案

This field has been around since the very earliest versions of OpenERP (ie: version 5) and I've never been able to determine how it is used.  It is always NULL.

頭像
捨棄
最佳答案

In most of the place in odoo date is used to hold the current day. which is later useful for record comparisons and retrievals. normally we give the date

default=fields.Datetime.now,
頭像
捨棄
作者

I looked the res_partner model and the field is defined like following: "date = fields.Date(index=True)". No default value is defined. When a partner is created, this field still null. By the way, I am using Odoo 11 community. Thanks

相關帖文 回覆 瀏覽次數 活動
0
10月 24
1162
0
3月 16
5031
1
3月 15
4790
1
6月 17
9384
0
9月 24
1424