Files
gzth/yuthon_property/models/property_subject_form.py
T
2025-02-26 18:37:09 +08:00

11 lines
384 B
Python

from odoo import models, fields, api
class PropertySubjectForm(models.Model):
_name = 'property.subject.form'
_description = '预算科目表'
code = fields.Char(string='科目代码')
name = fields.Char(string='科目名称')
subject_description = fields.Text(string='科目描述')
department_ids = fields.Many2many('hr.department', string="所属部门")