From eab7bf04c350d7b0d983455d5ca1855cb27eba84 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=83=A1=E5=B0=A7?= Date: Mon, 21 Apr 2025 13:15:02 +0800 Subject: [PATCH] =?UTF-8?q?=E5=8E=BB=E6=8E=89=E6=89=93=E5=8D=B0=E6=A8=A1?= =?UTF-8?q?=E5=9D=97=E7=9A=84type=E5=AD=97=E6=AE=B5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- sf_base/commons/Printer.py | 2 -- sf_base/views/Printer.xml | 2 -- 2 files changed, 4 deletions(-) diff --git a/sf_base/commons/Printer.py b/sf_base/commons/Printer.py index e9d31282..a033b730 100644 --- a/sf_base/commons/Printer.py +++ b/sf_base/commons/Printer.py @@ -8,8 +8,6 @@ class Printer(models.Model): name = fields.Char(string='名称', required=True) ip_address = fields.Char(string='IP 地址', required=True) port = fields.Integer(string='端口', default=9100) - type = fields.Selection([('zpl', 'ZPL'), ('normal', '普通')], string='类型', default='zpl') - class TableStyle(models.Model): _name = 'table.style' diff --git a/sf_base/views/Printer.xml b/sf_base/views/Printer.xml index 157121c9..0e199b32 100644 --- a/sf_base/views/Printer.xml +++ b/sf_base/views/Printer.xml @@ -9,7 +9,6 @@ - @@ -25,7 +24,6 @@ -