2014-03-10 17:30 GMT+01:00 Luis Martinez <[email protected]>:
> How I setup a current date by default to sale_date field in the sale module?
> Please let me know the sintaxis and function that I should use.

def default_sale_date():
    Date = Pool().get('ir.date')
    return Date.today()

Technical questions send trytond-dev mailing list.

Reply via email to