mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-26 16:34:46 +00:00
customer_issue: moved allocated to assigned
This commit is contained in:
@@ -0,0 +1,15 @@
|
||||
from __future__ import unicode_literals
|
||||
import webnotes
|
||||
|
||||
def execute():
|
||||
from webnotes.widgets.form.assign_to import add
|
||||
for t in webnotes.conn.sql("""select * from `tabCustomer Issue`
|
||||
where ifnull(allocated_to, '')!=''""", as_dict=1):
|
||||
add({
|
||||
'doctype': "Customer Issue",
|
||||
'name': t['name'],
|
||||
'assign_to': t['allocated_to'],
|
||||
'assigned_by': t['owner'],
|
||||
'description': t['complaint'],
|
||||
'date': t['creation']
|
||||
})
|
||||
@@ -663,4 +663,8 @@ patch_list = [
|
||||
'patch_module': 'patches.november_2012',
|
||||
'patch_file': 'report_permissions',
|
||||
},
|
||||
{
|
||||
'patch_module': 'patches.november_2012',
|
||||
'patch_file': 'customer_issue_allocated_to_assigned',
|
||||
},
|
||||
]
|
||||
|
||||
Reference in New Issue
Block a user