mirror of
https://gitlab.com/hibou-io/hibou-odoo/suite.git
synced 2025-01-20 12:37:31 +02:00
[IMP] project_task_line: make inline tree editable and update kanban states
H4497
This commit is contained in:
committed by
Jared Kipe
parent
d7a0851197
commit
1ec36311c4
@@ -27,14 +27,14 @@ class ProjectTaskLine(models.Model):
|
||||
user_id = fields.Many2one('res.users', string='User')
|
||||
sequence = fields.Integer(string='Sequence')
|
||||
kanban_state = fields.Selection([
|
||||
('normal', 'Grey'),
|
||||
('done', 'Green'),
|
||||
('blocked', 'Red')], string='Kanban State',
|
||||
('normal', ''),
|
||||
('done', 'Done'),
|
||||
('blocked', 'Blocked')], string='State',
|
||||
copy=False, default='normal', required=True,
|
||||
help="A task's kanban state indicates special situations affecting it:\n"
|
||||
" * Grey is the default situation\n"
|
||||
" * Red indicates something is preventing the progress of this task\n"
|
||||
" * Green indicates the task is complete")
|
||||
" * Blank is the default situation\n"
|
||||
" * Blocked indicates something is preventing the progress of this task\n"
|
||||
" * Doen indicates the task is complete")
|
||||
|
||||
@api.onchange('kanban_state')
|
||||
def _onchange_kanban_state(self):
|
||||
|
||||
Reference in New Issue
Block a user