什么是 context_today?

What is context_today?

有人知道 context_today 吗?我在销售模块上看到过它。 sale.py 文件。 record.remaining_validity_days = (record.validity_date - fields.Date. context_today (记录))。天 + 1

它是 returns 客户端时区中显示的当前日期。

https://github.com/odoo/odoo/blob/14.0/odoo/fields.py#L1697