map schedule date from po to pr

This commit is contained in:
Nabin Hait 2011-10-07 12:25:34 +05:30
parent f092b8c21e
commit 0801ef24b0
2 changed files with 13 additions and 2 deletions

View File

@ -406,6 +406,9 @@ def execute(patch_no):
m.doc.save()
m.validate()
elif patch_no == 375:
from webnotes.session_cache import clear_cache
clear_cache(webnotes.session['user'])
elif patch_no == 376:
comp = sql("select name from tabCompany where docstatus!=2")
fy = sql("select name from `tabFiscal Year` order by year_start_date asc")
for c in comp:

View File

@ -5,7 +5,7 @@
{
'creation': '2010-08-08 17:09:35',
'docstatus': 0,
'modified': '2011-09-13 17:26:55',
'modified': '2011-10-07 12:10:26',
'modified_by': 'Administrator',
'owner': 'Administrator'
},
@ -145,6 +145,14 @@
'to_field': 'amount'
},
# Field Mapper Detail
{
'doctype': 'Field Mapper Detail',
'from_field': 'schedule_date',
'match_id': 1,
'to_field': 'schedule_date'
},
# Table Mapper Detail
{
'doctype': 'Table Mapper Detail',