添加功能
This commit is contained in:
@@ -586,7 +586,6 @@ class SoongWorkflowRecord(models.Model):
|
||||
# return [('id', 'in', ids)]
|
||||
|
||||
# 后台
|
||||
|
||||
def backend(self):
|
||||
form_id = self.env.ref("soong_workflow.soong_workflow_record_form").id
|
||||
return {
|
||||
@@ -695,7 +694,6 @@ class SoongWorkflowRecord(models.Model):
|
||||
title=record_id._description + '催办传阅/抄送,请尽快查看',
|
||||
description=description, url=url,
|
||||
btntxt="查看详情")
|
||||
|
||||
return {
|
||||
'type': 'ir.actions.client',
|
||||
'tag': 'display_notification',
|
||||
|
||||
@@ -195,7 +195,7 @@
|
||||
<field name="workflow_id" string="审批类型"/>
|
||||
<field name="name"/>
|
||||
<field name="approve_state" string="审批状态"/>
|
||||
<field name="create_uid" readonly="0"/>
|
||||
<field name="create_uid"/>
|
||||
<field name="employee_ids" widget="many2many_tags" string="当前经办人"/>
|
||||
<field name="soong_state"/>
|
||||
<field name="member_of_department"/>
|
||||
|
||||
@@ -19,7 +19,7 @@ class PropertyApproval(models.Model):
|
||||
is_issues = fields.Boolean(string='是否上会')
|
||||
issues_result = fields.Html(string="会议结果")
|
||||
related_issues_id = fields.Many2one('issue.library', string="关联议题")
|
||||
property_documents_ids = fields.Many2many('documents.document', string="附件")
|
||||
property_documents_ids = fields.Many2many('ir.document', string="附件")
|
||||
property_source = fields.Selection([('cut', '划拨'), ('self', '自建'),
|
||||
('replace', '置换'), ('buy', '购入'),
|
||||
('entrust', '委托'), ('Rent', '租入')], string='资产来源')
|
||||
@@ -93,7 +93,7 @@ class PropertyApprovalLine(models.Model):
|
||||
is_affirmation = fields.Boolean(string="是否确权")
|
||||
owner_id = fields.Many2one('yuthon.owner.message', string="权属人")
|
||||
title_number = fields.Char(string="产权编号")
|
||||
area = fields.Float(string="面积")
|
||||
area = fields.Float(string="面积", digits=(16, 4))
|
||||
registered_id = fields.Many2one('yuthon.purpose.evidence', string='用途')
|
||||
condition = fields.Selection([('rental', '出租中'), ('vacant', '空置中'), ('rented', '待出租')], string="状态",
|
||||
default="rented")
|
||||
|
||||
@@ -58,7 +58,7 @@
|
||||
<field name="users_id" invisible="1"/>
|
||||
<field name="department_id" invisible="1"/>
|
||||
<field name="tip_description" type="html"/>
|
||||
<field name="property_documents_ids" widget="preview_many2many"/>
|
||||
<field name="property_documents_ids" widget="many2many_tags"/>
|
||||
</group>
|
||||
<notebook>
|
||||
<page string="审批信息">
|
||||
|
||||
Reference in New Issue
Block a user