Files
test/web_grid/models/ir_ui_view.py
2023-04-14 17:42:23 +08:00

11 lines
256 B
Python

# -*- coding: utf-8 -*-
# Part of Odoo. See LICENSE file for full copyright and licensing details.
from odoo import api, fields, models
class View(models.Model):
_inherit = 'ir.ui.view'
type = fields.Selection(selection_add=[('grid', "Grid")])