From eedce8338be16af9237995d6d7b386cd4b27fe47 Mon Sep 17 00:00:00 2001 From: "jinling.yang" Date: Mon, 25 Dec 2023 17:30:32 +0800 Subject: [PATCH] =?UTF-8?q?1.=E4=BF=AE=E6=94=B9=E6=95=B0=E6=8D=AE=E5=BA=93?= =?UTF-8?q?2.=E6=95=B0=E6=8D=AE=E5=BA=93=E5=8E=BB=E6=8E=89demo=E6=95=B0?= =?UTF-8?q?=E6=8D=AE=E6=8C=87=E4=BB=A43.=E5=B7=A5=E5=8D=95=E7=9A=84?= =?UTF-8?q?=E8=8E=B7=E5=8F=96cnc=E8=BD=A6=E7=A8=8B=E5=BA=8F=E6=8C=89?= =?UTF-8?q?=E9=92=AE=E4=BB=A3=E7=A0=81=E8=BF=98=E5=8E=9F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- odoo.conf | 4 ++-- sf_manufacturing/models/mrp_production.py | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/odoo.conf b/odoo.conf index d4d699d3..9d9c2dd1 100644 --- a/odoo.conf +++ b/odoo.conf @@ -4,14 +4,14 @@ csv_internal_sep = , data_dir = /var/lib/odoo db_host = 172.17.0.2 db_maxconn = 64 -db_name = sf_t2cs_002 +db_name = sf_t2cs_003 db_password = sf db_port = 5432 db_sslmode = prefer db_template = template0 db_user = sf dbfilter = -demo = {} +without_demo = all email_from = False from_filter = False geoip_database = /usr/share/GeoIP/GeoLite2-City.mmdb diff --git a/sf_manufacturing/models/mrp_production.py b/sf_manufacturing/models/mrp_production.py index 54697f9b..4b15299d 100644 --- a/sf_manufacturing/models/mrp_production.py +++ b/sf_manufacturing/models/mrp_production.py @@ -366,7 +366,7 @@ class MrpProduction(models.Model): current_sequence += 1 if work.name == '获取CNC加工程序': work.button_start() - # work.fetchCNC() + work.fetchCNC() # 创建工单并进行排序 def _create_workorder(self):