diff --git a/yuthon_will_task/models/yuthon_will_task.py b/yuthon_will_task/models/yuthon_will_task.py
index c9612c0de..82a1f18a8 100644
--- a/yuthon_will_task/models/yuthon_will_task.py
+++ b/yuthon_will_task/models/yuthon_will_task.py
@@ -15,15 +15,14 @@ class YuthonWillTask(models.Model):
priority = fields.Selection([('general', '不紧急不重要'), ('important', '重要不紧急'),
('urgent', '紧急不重要'), ('very_urgent', '重要且紧急')], string='优先级')
- task_type = fields.Many2one('task.type.setting', string='任务类型')
user_id = fields.Many2one('res.users', string="创建人", default=lambda self: self.env.user)
task_content = fields.Text(string='任务内容')
remarks = fields.Text(string='备注')
creation_time = fields.Date(string='创建时间', default=fields.Date.today())
employee_ids = fields.Many2many('hr.employee', 'will_task_employee_rel', 'custom_id', 'employee_id',
string='人员', default=lambda self: self.env.user.employee_id)
- employee_ids2 = fields.Many2many('hr.employee', 'will_task_employee_rel2',
- 'custom_id', 'employee_id', string='司机', store=True)
+ employee_ids2 = fields.Many2many('hr.employee', 'will_task_employee_rel2', 'custom_id', 'employee_id',
+ string='司机')
users_ids = fields.Many2many('res.users', string='用户', store=True)
user_role_ids = fields.Many2many('soong.user.role', string='角色')
task_time_ids = fields.Many2many('yuthon.task.time', string='提醒')
diff --git a/yuthon_will_task/views/yuthon_will_task_views.xml b/yuthon_will_task/views/yuthon_will_task_views.xml
index 13c16d803..7fa045878 100644
--- a/yuthon_will_task/views/yuthon_will_task_views.xml
+++ b/yuthon_will_task/views/yuthon_will_task_views.xml
@@ -13,7 +13,6 @@
-
@@ -66,7 +65,6 @@
-
@@ -95,7 +93,6 @@
-
@@ -135,7 +132,6 @@
-
@@ -165,7 +161,6 @@
quick_create_view_id="%(yuthon_will_task.view_yuthon_will_task_form)d"
color="employee_ids">
-
diff --git a/yuthon_will_task/wizard/task_room_wizard.xml b/yuthon_will_task/wizard/task_room_wizard.xml
index 02bc3bfe9..9b26dd9ef 100644
--- a/yuthon_will_task/wizard/task_room_wizard.xml
+++ b/yuthon_will_task/wizard/task_room_wizard.xml
@@ -5,12 +5,12 @@
task.room.wizard