Files
app-odoo/app_base_chinese/models/res_country.py
Ivan Office f1dfb000cc int 17
2023-10-27 14:08:03 +08:00

12 lines
312 B
Python

# -*- coding: utf-8 -*-
# Part of Odoo. See LICENSE file for full copyright and licensing details.
from odoo import fields, models
class Country(models.Model):
_inherit = 'res.country'
_order = 'sequence,name'
sequence = fields.Integer('Sequence', help="Determine the display order", default=99)