map schedule date from po to pr
This commit is contained in:
parent
f092b8c21e
commit
0801ef24b0
@ -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:
|
||||
|
@ -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',
|
||||
@ -178,4 +186,4 @@
|
||||
'to_table': 'Purchase Tax Detail',
|
||||
'validation_logic': 'docstatus = 1'
|
||||
}
|
||||
]
|
||||
]
|
||||
|
Loading…
x
Reference in New Issue
Block a user