mirror of
https://github.com/guohuadeng/app-odoo.git
synced 2025-02-23 04:11:36 +02:00
update misc
This commit is contained in:
12
app_hr_department_zchart/models/hr_department.py
Normal file
12
app_hr_department_zchart/models/hr_department.py
Normal file
@@ -0,0 +1,12 @@
|
||||
# -*- coding: utf-8 -*-
|
||||
|
||||
from odoo import api, fields, models, tools, _
|
||||
|
||||
|
||||
class Department(models.Model):
|
||||
# 目录图片,可显示小图标,
|
||||
_name = "hr.department"
|
||||
_inherit = ['hr.department', 'image.mixin']
|
||||
|
||||
# 目录图片,可显示小图标,odoo13 在 mixin 中处理了
|
||||
|
||||
Reference in New Issue
Block a user