代码规范整理,产品页面模型和胚料的模型类型字段做显示

This commit is contained in:
jinling.yang
2023-02-09 15:26:08 +08:00
parent 11065139d3
commit a812c603ea
13 changed files with 14 additions and 28 deletions

View File

@@ -1,18 +1,13 @@
# -*- coding: utf-8 -*-
from odoo import fields, models, api
from odoo import models
import time
import hashlib
class Common(models.Model):
_name = 'sf.sync.common'
_description = u'公用类'
def get_headers(self,token, secret_key):
'''
获取requests中的heardes参数