summaryrefslogtreecommitdiff
path: root/addons/website_crm/controllers/__init__.py
diff options
context:
space:
mode:
authorArnold Moyaux <arm@odoo.com>2017-11-13 16:55:36 +0100
committerArnold Moyaux <arm@odoo.com>2017-11-13 17:33:17 +0100
commit6b7ac1c5d71f8d18da68040e6035a2af8eca71e2 (patch)
treef2d01f19813b75eb298881a0f77dc8a194017447 /addons/website_crm/controllers/__init__.py
parent8900dc22048d460b44b6b308f88f2737cac5b4ba (diff)
[FIX] stock: wrong default date with inventory at date
When choosing inventory at specific date the default value is the start time of the server instead of the current time. When using fields.Datetime.now as default value, will set the function as default and future object will need to evaluate the funcion each time an object without default is created. fields.Datetime.now() will evaluate the function once at the server start and use the retun value as default value for future objects.
Diffstat (limited to 'addons/website_crm/controllers/__init__.py')
0 files changed, 0 insertions, 0 deletions