c2c-oerpscenario team mailing list archive
-
c2c-oerpscenario team
-
Mailing list archive
-
Message #17172
[Bug 723443] Re: default datetime value is at moment when server starts
Hello Carlos,
Thanks for reporting,
It has been fixed in lp:~openerp-dev/openobject-addons/trunk-bug-723443-aag
Revision ID: aag@xxxxxxxxxxxxx-20110223061504-k6306jw8wdv7l3co
Revision num: 4446.
It will be available in trunk soon,
** Changed in: openobject-addons
Status: In Progress => Fix Committed
--
You received this bug notification because you are a member of C2C
OERPScenario, which is subscribed to the OpenERP Project Group.
https://bugs.launchpad.net/bugs/723443
Title:
default datetime value is at moment when server starts
Status in OpenERP Modules (addons):
Fix Committed
Bug description:
In the stock/stock.py the default datetime value is at moment when server starts.
Is defined as:
_defaults = {'date': time.strftime('%Y-%m-%d %H:%M:%S'),}
Should be defined as:
_defaults = {'date': lambda *a: time.strftime('%Y-%m-%d %H:%M:%S'),}
References