10 lines
250 B
Python
10 lines
250 B
Python
from odoo import models, fields
|
|
|
|
|
|
class MindmapDiagram(models.Model):
|
|
_name = 'mindmap.diagram'
|
|
_description = 'Mindmap Diagram'
|
|
|
|
name = fields.Char(string='名称', required=True)
|
|
res_model = fields.Char(string='关联业务模型')
|