odex25_standard/odex-event/event_custom/models/hints_test.py

21 lines
529 B
Python

# -*- coding: utf-8 -*-
from odoo import models, fields
import unused_import # F401
class HintsTest(models.Model):
_name = 'hints.test'
name = fields.Char('Name')
# E501
long_field = fields.Text('Field', help='This is an extremely long text that exceeds one hundred and twenty characters maximum line length limit')
# F821
def buggy(self):
return undefined_variable + 1
# E225
count=fields.Integer(default=0)
# W291
status = fields.Selection([('a', 'A')])