@@ -8,7 +8,6 @@
|
||||
decoration-muted="task_state == 'cancel'"
|
||||
decoration-danger="priority == 'very_urgent'"
|
||||
decoration-info="priority == 'urgent'"
|
||||
decoration-primary="priority == 'general'"
|
||||
decoration-success="priority == 'important'">
|
||||
<field name="task_time" />
|
||||
<field name="start_date" string="任务日期" />
|
||||
@@ -62,8 +61,6 @@
|
||||
<field name="arch" type="xml">
|
||||
<form string="日程">
|
||||
<sheet>
|
||||
<widget name="web_ribbon" title="不紧急不重要" bg_color="text-bg-secondary"
|
||||
invisible="priority != 'general'" />
|
||||
<widget name="web_ribbon" title="重要不紧急" bg_color="text-bg-success"
|
||||
invisible="priority != 'important'" />
|
||||
<widget name="web_ribbon" title="紧急不重要" bg_color="text-bg-warning"
|
||||
|
||||
Reference in New Issue
Block a user