跳至内容
菜单
此问题已终结
3 回复
4085 查看

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
1111
0
3月 16
4959
1
3月 15
4718
1
6月 17
9309
0
9月 24
1383