Files
gzth/yuthon_property/models/property_patrol_position.py
T
2024-10-24 15:47:55 +08:00

20 lines
781 B
Python

from odoo import models, fields, api
class PropertyPatrolPosition(models.Model):
_name = 'property.patrol.position'
_description = '巡更点位'
number = fields.Integer(string='序号')
point_number = fields.Char(string='点位编号')
point_name = fields.Char(string='点位名称')
external_coding = fields.Char(string='外部编码')
position = fields.Char(string='具体位置')
adapt_work = fields.Char(string='适应岗位')
founder = fields.Char(string='创建人/时间')
clock_in = fields.Boolean(string='扫码签到')
picture = fields.Boolean(string='强制拍照')
outside = fields.Char(string='外部二维码')
code_management = fields.Char(string='二维码管理')
controls = fields.Char(string='操作')