序列号去除中文(打印条形码不能带中文否则会报错)

This commit is contained in:
gqh
2023-02-22 17:14:42 +08:00
parent d81cf77bbe
commit 7ddaace1ad
5 changed files with 11 additions and 8 deletions

View File

@@ -13,8 +13,8 @@
'depends': ['sf_base', 'sf_sale', 'sf_dlm'],
'data': [
'views/res_partner_view.xml',
'views/view.xml',
'report/bill_report.xml',
# 'views/view.xml',
# 'report/bill_report.xml',
],
'demo': [
],

View File

@@ -1,5 +1,5 @@
from . import http
from . import models
from . import process_status
from . import jd_eclp
# from . import jd_eclp

View File

@@ -115,7 +115,7 @@ class FinishStatusChange(models.Model):
# default_code = fields.Char(string='内部编码')
def button_validate(self):
def button_validate1(self):
# Clean-up the context key at validation to avoid forcing the creation of immediate
# transfers.
ctx = dict(self.env.context)