[ADD] module board_eval_context

This module adds some useful keys in the evaluation context of board.board
records, which can be useful when creating generic boards for all the users of
an instance.

At the moment it allows using the following values in the domains of a board.board record:

* datetime: the datetime.datetime class
* date: the datetime.date class
* timedelta: the datetime.timedelta class
* timezone: the datetime.timezone class
* tzinfo: the datetime.tzinfo class
* relativedelta: the dateutil.relativedelta.relativedelta class
* uid: the ID of the current user
This commit is contained in:
Alexandre Fayolle
2023-02-06 08:51:23 +01:00
parent fe6f4443f3
commit 9a46a1323d
9 changed files with 594 additions and 0 deletions

View File

@@ -0,0 +1 @@
../../../../board_eval_context

View File

@@ -0,0 +1,6 @@
import setuptools
setuptools.setup(
setup_requires=['setuptools-odoo'],
odoo_addon=True,
)