update desc

This commit is contained in:
Ivan Office
2023-09-09 05:20:59 +08:00
parent c147f9d0a9
commit f295457fc8
2 changed files with 5 additions and 0 deletions

View File

@@ -7,6 +7,8 @@ from odoo.tools.safe_eval import safe_eval
class BlogBlog(models.Model):
_inherit = 'blog.blog'
_order = 'sequence, name'
seo_name = fields.Char(tracking=True)
# 排序
sequence = fields.Integer(string='Sequence', default=20, index=True, help="Determine the display order")