From b55c6c1fe7b2685e0c29da6f30cfb322e1f00d9a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=83=A1=E5=B0=A7?= Date: Sun, 30 Mar 2025 11:16:40 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E5=89=8D=E7=BD=AE=E4=B8=89?= =?UTF-8?q?=E5=85=83=E6=A3=80=E6=B5=8B=E6=96=87=E4=BB=B6=E6=A0=B9=E7=9B=AE?= =?UTF-8?q?=E5=BD=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- sf_manufacturing/models/mrp_workorder.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/sf_manufacturing/models/mrp_workorder.py b/sf_manufacturing/models/mrp_workorder.py index ea2923bd..9386f7da 100644 --- a/sf_manufacturing/models/mrp_workorder.py +++ b/sf_manufacturing/models/mrp_workorder.py @@ -736,7 +736,8 @@ class ResMrpWorkOrder(models.Model): local_filename = self.save_name + '.xls' local_file_path = os.path.join(local_dir_path, local_filename) 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) is_get_detection_file = self.env['ir.config_parameter'].sudo().get_param('is_get_detection_file') if not is_get_detection_file: