_name = "todolist.container"
+ _inherit = "mail.thread"
+
_status = [("draft", "Draft"), ("pending", "Pending"), ("done", "Done")]
_columns = {
_name = "todolist.task"
+ _inherit = "mail.thread"
+
_priorities = [("Useful", "Useful"), ("Necessary", "Necessary"), ("Essential", "Essential")]
_states = [("draft", "Draft"), ("proposal", "Proposal"), ("approved", "Approved"), ("started", "Started"), ("done", "Done")]
),
(
"manday_sup_0_constraint",
- "CHECK(manday > 0)",
+ "CHECK(manday >= 0)",
"The manday should be positive",
),
]