Bỏ qua để đến Nội dung
Menu
Câu hỏi này đã bị gắn cờ
3 Trả lời
4135 Lượt xem

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

Ảnh đại diện
Huỷ bỏ
Câu trả lời hay nhất

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.

Ảnh đại diện
Huỷ bỏ
Câu trả lời hay nhất

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,
Ảnh đại diện
Huỷ bỏ
Tác giả

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

Bài viết liên quan Trả lời Lượt xem Hoạt động
0
thg 10 24
1164
0
thg 3 16
5031
1
thg 3 15
4790
1
thg 6 17
9396
0
thg 9 24
1428