修改前置三元检测文件根目录
This commit is contained in:
@@ -736,7 +736,8 @@ class ResMrpWorkOrder(models.Model):
|
|||||||
local_filename = self.save_name + '.xls'
|
local_filename = self.save_name + '.xls'
|
||||||
local_file_path = os.path.join(local_dir_path, local_filename)
|
local_file_path = os.path.join(local_dir_path, local_filename)
|
||||||
logging.info('local_file_path:%s' % local_file_path)
|
logging.info('local_file_path:%s' % local_file_path)
|
||||||
remote_path = '/home/ftp/ftp_root/ThreeTest/XT/Before/' + local_filename
|
# remote_path = '/home/ftp/ftp_root/ThreeTest/XT/Before/' + local_filename
|
||||||
|
remote_path = '/ThreeTest/XT/Before/' + local_filename
|
||||||
logging.info('remote_path:%s' % remote_path)
|
logging.info('remote_path:%s' % remote_path)
|
||||||
is_get_detection_file = self.env['ir.config_parameter'].sudo().get_param('is_get_detection_file')
|
is_get_detection_file = self.env['ir.config_parameter'].sudo().get_param('is_get_detection_file')
|
||||||
if not is_get_detection_file:
|
if not is_get_detection_file:
|
||||||
|
|||||||
Reference in New Issue
Block a user