def val of is_subcontracted is NO
This commit is contained in:
parent
3d794a682d
commit
75ef7c7a89
7
erpnext/patches/jan_mar_2012/subcon_default_val.py
Normal file
7
erpnext/patches/jan_mar_2012/subcon_default_val.py
Normal file
@ -0,0 +1,7 @@
|
||||
def execute():
|
||||
import webnotes
|
||||
webnotes.conn.sql("""
|
||||
update `tabDocField` set `default` = 'No'
|
||||
where parent in ('Purchase Order', 'Purchase Receipt')
|
||||
and fieldname = 'is_subcontracted'
|
||||
""")
|
@ -74,5 +74,10 @@ patch_list = [
|
||||
'patch_module': 'patches.jan_mar_2012',
|
||||
'patch_file': 'account_type_patch',
|
||||
'description': 'mentioed account type for some tax accounts'
|
||||
},
|
||||
{
|
||||
'patch_module': 'patches.jan_mar_2012',
|
||||
'patch_file': 'subcon_default_val',
|
||||
'description': 'Default value of is_subcontracted in PO, PR is No'
|
||||
}
|
||||
]
|
||||
|
Loading…
x
Reference in New Issue
Block a user