openerp-india team mailing list archive
-
openerp-india team
-
Mailing list archive
-
Message #16865
Re: [Bug 1069785] Re: purchase_requisition - stuck default date time
On 10/23/2012 07:32 AM, Amit Bhavsar (Open ERP) wrote:
> Hello Lorenzo,
>
> Yes, I have face the same problem in 6.1. and it's should fix like
> 'date_start': lambda *args: time.strftime('%Y-%m-%d %H:%M:%S') Instead
> of 'date_start': fields.datetime.now.
>
Hello Amit,
why not using 'fields.datetime.now'? Shouldn't it be the way to go due
to reasons described here
https://bugs.launchpad.net/openobject-server/+bug/925361 ?
Thanks
--
Lorenzo Battistini
--
You received this bug notification because you are a member of OpenERP
Indian Team, which is subscribed to OpenERP Addons.
https://bugs.launchpad.net/bugs/1069785
Title:
purchase_requisition - stuck default date time
Status in OpenERP Addons (modules):
Confirmed
Bug description:
openobject-addons/6.1 revno 7006
openobject-server/6.1 revno 4281
Steps:
- Create new db and install purchase_requisition
- Go to 'purchase requisitions' and click on 'create'
The 'Requisition Date' contains the time which openerp-server started.
If you click on 'create' again, you see the same time.
I'm attaching patch
To manage notifications about this bug go to:
https://bugs.launchpad.net/openobject-addons/+bug/1069785/+subscriptions
References