Přejít na obsah
Menu
You need to be registered to interact with the community.
This question has been flagged
3 Odpovědi
4038 Zobrazení

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

Avatar
Zrušit
Nejlepší odpověď

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.

Avatar
Zrušit
Nejlepší odpověď

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,
Avatar
Zrušit
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

Related Posts Odpovědi Zobrazení Aktivita
0
říj 24
1051
0
bře 16
4905
1
bře 15
4683
1
čvn 17
9247
0
zář 24
1332