添加功能
This commit is contained in:
@@ -31,7 +31,7 @@ class SoongWorkflowInspector(models.Model):
|
||||
default='normal')
|
||||
inspector_line_ids = fields.One2many('soong.workflow.inspector.line', 'workflow_inspector_id', string='任务进度')
|
||||
inspector_line2_ids = fields.One2many('soong.workflow.inspector.line2', 'workflow_inspector_id', string='督办明细')
|
||||
|
||||
work_end = fields.Boolean(string="结束")
|
||||
relevancy_type = fields.Selection([('none', '无')], string="关联流程类型")
|
||||
self_users_ids = fields.Many2many('res.users', string="当前经办人", default=lambda self: [(6, 0, [self.env.user.id])])
|
||||
|
||||
|
||||
@@ -40,6 +40,7 @@
|
||||
</group>
|
||||
<group col="2" >
|
||||
<group>
|
||||
<field name="work_end" invisible="1"/>
|
||||
<field name="start_data"/>
|
||||
<field name="duration_time"/>
|
||||
<field name="inspector_state" invisible="1"/>
|
||||
|
||||
@@ -21,6 +21,7 @@ class ParkingFeeApproval(models.Model):
|
||||
unit = fields.Char(string="单位")
|
||||
name = fields.Char(string="标题", compute='_compute_name')
|
||||
duration = fields.Integer(string="时长")
|
||||
work_end = fields.Boolean(string="结束")
|
||||
|
||||
def _get_default_name_title(self):
|
||||
return self._description if self._description else self._name
|
||||
|
||||
@@ -39,6 +39,7 @@
|
||||
<group string="审批详情" col="2">
|
||||
<group>
|
||||
<field name="name"/>
|
||||
<field name="work_end" invisible="1"/>
|
||||
<field name="date_application"/>
|
||||
<field name="license_plate"/>
|
||||
<field name="text"/>
|
||||
|
||||
@@ -78,6 +78,7 @@
|
||||
</group>
|
||||
</group>
|
||||
<group>
|
||||
<field name="work_end" invisible="1"/>
|
||||
<field name="employee_id"/>
|
||||
<field name="project_content"/>
|
||||
<field name="project_goal"/>
|
||||
|
||||
Reference in New Issue
Block a user