mirror of
https://github.com/odoo-ide/odoo-stubs.git
synced 2025-05-08 16:52:26 +03:00
Update stubs
This commit is contained in:
@@ -235,10 +235,10 @@ class Date(Field[datetime.date]):
|
||||
type: str
|
||||
column_type: tuple[str, str]
|
||||
column_cast_from: tuple[str]
|
||||
start_of = date_utils.start_of
|
||||
end_of = date_utils.end_of
|
||||
add = date_utils.add
|
||||
subtract = date_utils.subtract
|
||||
start_of = staticmethod(date_utils.start_of)
|
||||
end_of = staticmethod(date_utils.end_of)
|
||||
add = staticmethod(date_utils.add)
|
||||
subtract = staticmethod(date_utils.subtract)
|
||||
@staticmethod
|
||||
def today(*args) -> datetime.date: ...
|
||||
@staticmethod
|
||||
@@ -259,10 +259,10 @@ class Datetime(Field[datetime.datetime]):
|
||||
type: str
|
||||
column_type: tuple[str, str]
|
||||
column_cast_from: tuple[str]
|
||||
start_of = date_utils.start_of
|
||||
end_of = date_utils.end_of
|
||||
add = date_utils.add
|
||||
subtract = date_utils.subtract
|
||||
start_of = staticmethod(date_utils.start_of)
|
||||
end_of = staticmethod(date_utils.end_of)
|
||||
add = staticmethod(date_utils.add)
|
||||
subtract = staticmethod(date_utils.subtract)
|
||||
@staticmethod
|
||||
def now(*args) -> datetime.datetime: ...
|
||||
@staticmethod
|
||||
|
||||
Reference in New Issue
Block a user