11 lines
384 B
Python
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="所属部门") |