[FIX] lunch, hr_recruitment: Corrected date problem in ymls.
bzr revid: uco@tinyerp.com-20110131054323-jw446osaptu8zteq
This commit is contained in:
@@ -84,8 +84,8 @@
|
||||
!record {model: crm.meeting, id: crm_meeting_fresher0}:
|
||||
alarm_id: base_calendar.alarm1
|
||||
count: 0.0
|
||||
date: !eval "'%s-%s-%s 00:00:00' %(datetime.now().year,datetime.now().month,datetime.now().day+1)"
|
||||
date_deadline: !eval "'%s-%s-%s 08:00:00' %(datetime.now().year,datetime.now().month,datetime.now().day+1)"
|
||||
date: !eval "'%s-%s-%s 00:00:00' %(datetime.now().year, (datetime.now()+timedelta(1)).month, (datetime.now()+timedelta(1)).day)"
|
||||
date_deadline: !eval "'%s-%s-%s 08:00:00' %(datetime.now().year, (datetime.now()+timedelta(1)).month, (datetime.now()+timedelta(1)).day)"
|
||||
day: 0.0
|
||||
duration: 8.0
|
||||
name: Fresher
|
||||
|
||||
@@ -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 "'%s-%s-%s' %(datetime.now().year, (datetime.now()+timedelta(2)).month, (datetime.now()+timedelta(2)).day)"
|
||||
product: 'lunch_product_club1'
|
||||
price: 2.75
|
||||
user_id: base.user_root
|
||||
|
||||
Reference in New Issue
Block a user