[CLN] global: apply ruff

This commit is contained in:
Stéphan Sainléger
2025-07-08 15:09:51 +02:00
parent 92577de600
commit ff07b3aa17
43 changed files with 192 additions and 169 deletions

View File

@@ -1,2 +1,2 @@
from . import timebox
from . import project_task
from . import project_task

View File

@@ -1,9 +1,8 @@
from odoo import models, fields
class Task(models.Model):
_inherit = "project.task"
timebox_min_id = fields.Many2one('timebox', string='Timebox Min')
timebox_max_id = fields.Many2one('timebox', string='Timebox Max')
timebox_min_id = fields.Many2one("timebox", string="Timebox Min")
timebox_max_id = fields.Many2one("timebox", string="Timebox Max")

View File

@@ -5,5 +5,5 @@ class Task(models.Model):
_name = "timebox"
_description = "Timebox"
name = fields.Char('name', required=True)
sequence = fields.Integer()
name = fields.Char("name", required=True)
sequence = fields.Integer()