12 lines
278 B
Python
12 lines
278 B
Python
# -*- coding: utf-8 -*-
|
|
from odoo import models, fields
|
|
|
|
|
|
class SystemLogs(models.Model):
|
|
_name = 'system.logs'
|
|
_description = '系统日志'
|
|
|
|
name = fields.Char(string="标题")
|
|
date = fields.Datetime(string="时间")
|
|
content = fields.Text(string="内容")
|