← Back to team overview

openerp-community team mailing list archive

Re: Current time in openerp form

 

2011/11/3 Azeezat Bolaji <azeezat.bolaji@xxxxxxxxxx>:
> I am having a problem with adding the current date/time to a form that
> applicants fill. I need to know the time each person fills a form
> because the form closes at certain times/periods. Is there a way that a
> user does not have to enter date/time by themselves? Is there a way the
> openerp system generates current date/time and stores it in the database
> as the time someone accessed a form?

See for instance the defaults of sale.order (time.strftime):
http://bazaar.launchpad.net/~openerp/openobject-addons/6.0/view/4904/sale/sale.py#L266


-- 
Lorenzo Battistini


References