[FIX] Lunch : Corrected YAML test, thanks to buildbot

bzr revid: jvo@tinyerp.com-20110429110618-nm67hngqpm9cg17c
This commit is contained in:
Jay Vora (OpenERP)
2011-04-29 16:36:18 +05:30
parent baa9d24adf
commit c3baac6b12
+1 -1
View File
@@ -66,7 +66,7 @@
I create a new lunch order "LU002" for the "Club1" product, at another date.
-
!record {model: lunch.order, id: lunch_order_1}:
date: !eval "'%s-%s-%s' %(datetime.now().year,datetime.now().month,datetime.now().day+2)"
date: !eval "(datetime.now()+timedelta(2)).strftime('%Y-%m-%d')"
product: 'lunch_product_club1'
price: 2.75
user_id: base.user_root