Skip to Content
Menu
Musisz się zarejestrować, aby móc wchodzić w interakcje z tą społecznością.
To pytanie dostało ostrzeżenie
3 Odpowiedzi
4036 Widoki

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

Awatar
Odrzuć
Najlepsza odpowiedź

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.

Awatar
Odrzuć
Najlepsza odpowiedź

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,
Awatar
Odrzuć
Autor

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

Powiązane posty Odpowiedzi Widoki Czynność
0
paź 24
1050
0
mar 16
4905
1
mar 15
4682
1
cze 17
9246
0
wrz 24
1329