odoo/odoo — pull request #854 by mart-e (2014-07-01 12:26:35+00:00)
Title: [FIX] ir_ui_menu: python time in domain

Port to github of branch https://code.launchpad.net/~openerp-dev/openobject-server/7.0-opw-603382-ado/+merge/203296

[FIX] ir_ui_menu: while adding domain value using 'time.strftime("%Y-%m-%d")' in domain of window action it gives trace-back, NameError: name 'time' is not defined

Steps to reproduce:
1). Goto: Setting-> Technical-> Action-> Window Action
2). Now search for 'Quotation' you will find some result, now open the action which has tree view ref. added
3). add one condition on existing domain like 'date_order','=',time.strftime("%Y-%m-%d"), save it and click on Sales menu you will get trace-back.