March 2018
Beginner to intermediate
336 pages
8h 22m
English
For the To-Do tasks to have a kanban board, we need stages. Stages are board columns, and each task will fit into one of these columns:
from . import models
from . import todo_task_tag_modelfrom . import todo_task_stage_model
from odoo import fields, models
class Tag(models.Model):
_name = 'todo.task.tag'
_description = 'To-do Tag'
name = fields.Char('Name', translate=True)
4. Then, add the todo_stage/models/todo_task_stage_model.py Python code file:
from odoo import fields, modelsclass Stage(models.Model): ...
Read now
Unlock full access