|
|
@ -390,7 +390,7 @@ def asset_to_files_path(): |
|
|
|
|
|
|
|
def change_file_dir(): |
|
|
|
data = frappe.db.sql(''' |
|
|
|
select name,file from tabProcedure_Details where content_type = 'File' where file_url = '/files/Driver Seat Back Rest Foam.jpg' ;''', as_dict=1) |
|
|
|
select name,file from tabProcedure_Details where content_type = 'File' where file = '/files/Driver Seat Back Rest Foam.jpg' ;''', as_dict=1) |
|
|
|
|
|
|
|
for d in data: |
|
|
|
frappe.log_error("File data :", str(file_name)) |
|
|
|