1.修改数据库2.数据库去掉demo数据指令3.工单的获取cnc车程序按钮代码还原

This commit is contained in:
jinling.yang
2023-12-25 17:30:32 +08:00
parent 57cfa56081
commit eedce8338b
2 changed files with 3 additions and 3 deletions

View File

@@ -4,14 +4,14 @@ csv_internal_sep = ,
data_dir = /var/lib/odoo data_dir = /var/lib/odoo
db_host = 172.17.0.2 db_host = 172.17.0.2
db_maxconn = 64 db_maxconn = 64
db_name = sf_t2cs_002 db_name = sf_t2cs_003
db_password = sf db_password = sf
db_port = 5432 db_port = 5432
db_sslmode = prefer db_sslmode = prefer
db_template = template0 db_template = template0
db_user = sf db_user = sf
dbfilter = dbfilter =
demo = {} without_demo = all
email_from = False email_from = False
from_filter = False from_filter = False
geoip_database = /usr/share/GeoIP/GeoLite2-City.mmdb geoip_database = /usr/share/GeoIP/GeoLite2-City.mmdb

View File

@@ -366,7 +366,7 @@ class MrpProduction(models.Model):
current_sequence += 1 current_sequence += 1
if work.name == '获取CNC加工程序': if work.name == '获取CNC加工程序':
work.button_start() work.button_start()
# work.fetchCNC() work.fetchCNC()
# 创建工单并进行排序 # 创建工单并进行排序
def _create_workorder(self): def _create_workorder(self):