@@ -202,4 +202,10 @@
|
||||
<field name="prefix">GS%(y)s%(month)s%(day)s</field>
|
||||
<field name="padding">3</field>
|
||||
</record>
|
||||
|
||||
<record id="property_renamed_sequence" model="ir.sequence">
|
||||
<field name="name">更名编号</field>
|
||||
<field name="code">property_renamed_code</field>
|
||||
<field name="prefix">%(y)s%(month)s%(day)s</field>
|
||||
</record>
|
||||
</odoo>
|
||||
@@ -11,6 +11,7 @@ class PropertyRenamed(models.Model):
|
||||
|
||||
name = fields.Char(string='标题')
|
||||
issue_text = fields.Html(string="正文")
|
||||
code = fields.Char(string="编号", default=lambda self: self.env['ir.sequence'].next_by_code('property_renamed_code'))
|
||||
|
||||
# 附件
|
||||
renaming_materials_ids = fields.Many2many('documents.document', string='更名材料')
|
||||
|
||||
@@ -446,7 +446,8 @@
|
||||
<menuitem id="attendance_iot_views_board"
|
||||
name="考勤机设备管理"
|
||||
parent="attendance_resources_setting_root_board"
|
||||
sequence="2" action="yuthon_hr_attendance.attendance_iot_action"/>
|
||||
sequence="2"
|
||||
action="yuthon_hr_attendance.attendance_iot_action"/>
|
||||
<menuitem id="menu_hr_attendance_work_board"
|
||||
name="考勤时间表配置"
|
||||
parent="attendance_resources_setting_root_board"
|
||||
|
||||
Reference in New Issue
Block a user