-
+
-
- 年
-
- 月
-
- 日
-
-
-
- 结束时间
-
+ 至
+ 共
+ 年
+ 月
+ 日
@@ -187,13 +186,12 @@
-
-
+
-
- 月
-
- 日
+ 每月支付日期
+ 日
@@ -569,13 +567,12 @@
-
-
+
-
- 月
-
- 日
+ 每月支付日期
+ 日
diff --git a/yuthon_purchase/models/purchase_service_orders.py b/yuthon_purchase/models/purchase_service_orders.py
index 629430127..89205d89d 100644
--- a/yuthon_purchase/models/purchase_service_orders.py
+++ b/yuthon_purchase/models/purchase_service_orders.py
@@ -16,9 +16,13 @@ class PurchaseServiceOrders(models.Model):
service_content = fields.Text(string="服务内容")
service_start_date = fields.Date(string="服务开始日期")
service_end_date = fields.Date(string="服务结束日期")
+ service_year = fields.Char(string="服务年限")
department_id = fields.Many2one(related='user_id.employee_id.department_id', string="申请部门")
partyB = fields.Many2one('res.partner', string="乙方")
- document_ids = fields.Many2many('ir.attachment', string="附件")
+ license_id = fields.Many2one('ir.attachment', string='营业执照')
+ aptitude_id = fields.Many2one('ir.attachment', string='资质')
+ contract_id = fields.Many2one('ir.attachment', string='合同')
+ other_id = fields.Many2one('ir.attachment', string='其他')
pay_way = fields.Selection([('staging', '分期'), ('full', '一次性')], string='付款方式', default='full')
total = fields.Float(string="合计")
urgency_level = fields.Selection([('normal', '普件'), ('urgent', '急件'), ('emergency', '特急件')], string='紧急度',
diff --git a/yuthon_purchase/views/purchase_service_orders_views.xml b/yuthon_purchase/views/purchase_service_orders_views.xml
index e781c2924..694152e48 100644
--- a/yuthon_purchase/views/purchase_service_orders_views.xml
+++ b/yuthon_purchase/views/purchase_service_orders_views.xml
@@ -54,10 +54,26 @@
-
-
+
+
+ 到
+
+ 年
+
-
+
+
+
+
+
+
+
+
+
+
diff --git a/yuthon_salary/views/inherit_hr_payslip_views.xml b/yuthon_salary/views/inherit_hr_payslip_views.xml
index 2d2fc23a2..1e16c5e10 100644
--- a/yuthon_salary/views/inherit_hr_payslip_views.xml
+++ b/yuthon_salary/views/inherit_hr_payslip_views.xml
@@ -45,7 +45,7 @@
-
+
@@ -119,49 +119,62 @@
-
+
+
+
+
+
+
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
@@ -287,42 +300,67 @@
+
+
+
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
+
+
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
diff --git a/yuthon_trade/models/yuthon_work_condolences.py b/yuthon_trade/models/yuthon_work_condolences.py
index 9bbf7b2f4..702e2d644 100644
--- a/yuthon_trade/models/yuthon_work_condolences.py
+++ b/yuthon_trade/models/yuthon_work_condolences.py
@@ -10,10 +10,11 @@ class YuthonWorkCondolences(models.Model):
users_id = fields.Many2one('res.users', string="申请人", default=lambda self: self.env.user.id)
department_id = fields.Many2one(related='users_id.employee_id.department_id', string="部门")
work_type_id = fields.Many2one('yuthon.work.setting', string='类型')
+ employee_ids = fields.Many2many('hr.employee', string='员工')
code = fields.Char(string="编号",
default=lambda self: self.env['ir.sequence'].next_by_code('property_work_condolences_code'))
date = fields.Date(string='日期')
- fees = fields.Float(string='费用')
+ fees = fields.Float(string='金额')
reason = fields.Text(string="正文")
scheme_id = fields.Many2one('ir.attachment', string="方案")
meeting_id = fields.Many2one('ir.attachment', string="会议纪要")
diff --git a/yuthon_trade/views/yuthon_message_approval_views.xml b/yuthon_trade/views/yuthon_message_approval_views.xml
index df3c2215d..659632bb0 100644
--- a/yuthon_trade/views/yuthon_message_approval_views.xml
+++ b/yuthon_trade/views/yuthon_message_approval_views.xml
@@ -47,7 +47,7 @@
-
+
diff --git a/yuthon_trade/views/yuthon_work_condolences_views.xml b/yuthon_trade/views/yuthon_work_condolences_views.xml
index 4e3d7f49e..f725927d8 100644
--- a/yuthon_trade/views/yuthon_work_condolences_views.xml
+++ b/yuthon_trade/views/yuthon_work_condolences_views.xml
@@ -47,6 +47,7 @@
+
diff --git a/yuthon_will_task/models/yuthon_will_task.py b/yuthon_will_task/models/yuthon_will_task.py
index 95c991170..813372d1b 100644
--- a/yuthon_will_task/models/yuthon_will_task.py
+++ b/yuthon_will_task/models/yuthon_will_task.py
@@ -13,6 +13,58 @@ class YuthonWillTask(models.Model):
_rec_name = 'task_content'
_inherit = ['mail.thread.main.attachment', 'mail.activity.mixin']
+ request_hour_from = fields.Selection([
+ ('0', '0:00'), ('0.5', '0:30'),
+ ('1', '01:00'), ('1.5', '01:30'),
+ ('2', '02:00'), ('2.5', '02:30'),
+ ('3', '03:00'), ('3.5', '03:30'),
+ ('4', '04:00'), ('4.5', '04:30'),
+ ('5', '05:00'), ('5.5', '05:30'),
+ ('6', '06:00'), ('6.5', '06:30'),
+ ('7', '07:00'), ('7.5', '07:30'),
+ ('8', '08:00'), ('8.5', '08:30'),
+ ('9', '09:00'), ('9.5', '09:30'),
+ ('10', '10:00'), ('10.5', '10:30'),
+ ('11', '11:00'), ('11.5', '11:30'),
+ ('12', '12:00'), ('12.5', '12:30'),
+ ('13', '13:00'), ('13.5', '13:30'),
+ ('14', '14:00'), ('14.5', '14:30'),
+ ('15', '15:00'), ('15.5', '15:30'),
+ ('16', '16:00'), ('16.5', '16:30'),
+ ('17', '17:00'), ('17.5', '17:30'),
+ ('18', '18:00'), ('18.5', '18:30'),
+ ('19', '19:00'), ('19.5', '19:30'),
+ ('20', '20:00'), ('20.5', '20:30'),
+ ('21', '21:00'), ('21.5', '21:30'),
+ ('22', '22:00'), ('22.5', '22:30'),
+ ('23', '23:00'), ('23.5', '23:30')], string='开始时间')
+
+ request_hour_to = fields.Selection([
+ ('0', '12:00'), ('0.5', '12:30'),
+ ('1', '01:00'), ('1.5', '01:30'),
+ ('2', '02:00'), ('2.5', '02:30'),
+ ('3', '03:00'), ('3.5', '03:30'),
+ ('4', '04:00'), ('4.5', '04:30'),
+ ('5', '05:00'), ('5.5', '05:30'),
+ ('6', '06:00'), ('6.5', '06:30'),
+ ('7', '07:00'), ('7.5', '07:30'),
+ ('8', '08:00'), ('8.5', '08:30'),
+ ('9', '09:00'), ('9.5', '09:30'),
+ ('10', '10:00'), ('10.5', '10:30'),
+ ('11', '11:00'), ('11.5', '11:30'),
+ ('12', '12:00'), ('12.5', '12:30'),
+ ('13', '13:00'), ('13.5', '13:30'),
+ ('14', '14:00'), ('14.5', '14:30'),
+ ('15', '15:00'), ('15.5', '15:30'),
+ ('16', '16:00'), ('16.5', '16:30'),
+ ('17', '17:00'), ('17.5', '17:30'),
+ ('18', '18:00'), ('18.5', '18:30'),
+ ('19', '19:00'), ('19.5', '19:30'),
+ ('20', '20:00'), ('20.5', '20:30'),
+ ('21', '21:00'), ('21.5', '21:30'),
+ ('22', '22:00'), ('22.5', '22:30'),
+ ('23', '23:00'), ('23.5', '23:30')], string='结束时间')
+
priority = fields.Selection([('general', '不紧急不重要'), ('important', '重要不紧急'),
('urgent', '紧急不重要'), ('very_urgent', '重要且紧急')], string='优先级')
user_id = fields.Many2one('res.users', string="创建人", default=lambda self: self.env.user)
@@ -27,9 +79,9 @@ class YuthonWillTask(models.Model):
users_ids = fields.Many2many('res.users', string='用户', store=True, index=True, default=lambda self: self.env.user)
user_role_ids = fields.Many2many('soong.user.role', string='角色', store=True, index=True)
task_time_ids = fields.Many2many('yuthon.task.time', string='提醒')
+ document_ids = fields.Many2many('ir.attachment', string="附件")
address = fields.Char(string='地点')
- start_time = fields.Datetime(string='开始时间', default=fields.Datetime.now)
- end_time = fields.Datetime(string='结束时间')
+ start_date = fields.Date(string='开始日期', default=fields.Datetime.today())
task_state = fields.Selection([('will', '待办'), ('done', '已办'), ('cancel', '取消')], default='will', string='状态', store=True)
@api.constrains('start_time', 'end_time')
diff --git a/yuthon_will_task/views/yuthon_will_task_views.xml b/yuthon_will_task/views/yuthon_will_task_views.xml
index 11b0a9671..98f726081 100644
--- a/yuthon_will_task/views/yuthon_will_task_views.xml
+++ b/yuthon_will_task/views/yuthon_will_task_views.xml
@@ -10,7 +10,7 @@
decoration-info="priority == 'urgent'"
decoration-primary="priority == 'general'"
decoration-success="priority == 'important'">
-
+
@@ -35,10 +35,10 @@
-
-
+
+
@@ -54,12 +54,15 @@
-
+
-
+
-
+
+
+
+
@@ -71,6 +74,7 @@
+
@@ -100,7 +104,7 @@
decoration-info="priority == 'urgent'"
decoration-primary="priority == 'general'"
decoration-success="priority == 'important'" create="false" edit="false" js_class="custom_task_tree_button">
-
+
@@ -110,6 +114,7 @@
+
@@ -131,12 +136,15 @@
-
+
-
+
-
+
+
+
+
@@ -173,8 +181,7 @@