mirror of
https://github.com/guohuadeng/app-odoo.git
synced 2025-02-23 04:11:36 +02:00
update desc
This commit is contained in:
@@ -8,6 +8,8 @@ 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")
|
||||
|
||||
|
||||
@@ -5,6 +5,9 @@
|
||||
<field name="model">website.page</field>
|
||||
<field name="inherit_id" ref="website.website_pages_tree_view"/>
|
||||
<field name="arch" type="xml">
|
||||
<xpath expr="//field[@name='name']" position="before">
|
||||
<field name="id" groups="base.group_no_one" optional="show"/>
|
||||
</xpath>
|
||||
<xpath expr="//field[@name='website_url']" position="attributes">
|
||||
<attribute name="optional">show</attribute>
|
||||
</xpath>
|
||||
|
||||
Reference in New Issue
Block a user