19 lines
488 B
Python
19 lines
488 B
Python
# -*- coding: utf-8 -*-
|
|
from datetime import datetime, timedelta, time
|
|
from email.policy import default
|
|
|
|
from odoo import models, fields, api, _
|
|
from odoo.exceptions import UserError, ValidationError
|
|
import re
|
|
from odoo.tools.misc import format_date
|
|
|
|
|
|
class SystemVersion(models.Model):
|
|
_name = 'system.version'
|
|
_description = '系统版本'
|
|
|
|
notice_text = fields.Html(string="正文")
|
|
name = fields.Char(string="版本号")
|
|
date = fields.Date(string="更新日期")
|
|
|