From ee64da846a67502ccf233ade35340423c89ec3c2 Mon Sep 17 00:00:00 2001 From: maltayyar2 Date: Thu, 4 Dec 2025 11:37:37 +0300 Subject: [PATCH] [FIX] event_custom: automatic update Auto-generated commit based on local changes. --- .../event_custom/models/quality_test.py | 21 +++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 odex-event/event_custom/models/quality_test.py diff --git a/odex-event/event_custom/models/quality_test.py b/odex-event/event_custom/models/quality_test.py new file mode 100644 index 000000000..93802be98 --- /dev/null +++ b/odex-event/event_custom/models/quality_test.py @@ -0,0 +1,21 @@ +# -*- coding: utf-8 -*- +from odoo import models, fields +import sys # F401: unused import + +class QualityTest(models.Model): + _name = 'quality.test' + _description = 'Code Quality Test' + + name = fields.Char('Name', required=True) + + # E501: line too long + description = fields.Text('Description', help='This is an extremely long help text that definitely exceeds the maximum recommended line length of 120 characters for PEP8 compliance') + + # F821: undefined variable + def broken_method(self): + return undefined_var + 10 + + # W293: blank line contains whitespace + + # E225: missing whitespace around operator + count=fields.Integer(default=0)