添加功能
This commit is contained in:
@@ -10,7 +10,7 @@
|
||||
'category': 'Human Resources/Attendances',
|
||||
'version': '0.1',
|
||||
'license': 'LGPL-3',
|
||||
'depends': ['mail', 'hr', 'soong_workflow', 'room', 'yuthon_issue'],
|
||||
'depends': ['mail', 'hr', 'soong_workflow', 'room', 'yuthon_issue', 'yuthon_trade'],
|
||||
'data': [
|
||||
'data/official_type_data.xml',
|
||||
'security/ir.model.access.csv',
|
||||
|
||||
@@ -85,7 +85,21 @@
|
||||
parent="administrative_offices_root_board"
|
||||
action="yuthon_trade.view_parking_fee_approval_action"
|
||||
sequence="85"/>
|
||||
<menuitem id="seals_type_setting_board"
|
||||
<menuitem id="yuthon_official_setting"
|
||||
parent="administrative_offices_root_board"
|
||||
name="配置"
|
||||
sequence="99"/>
|
||||
<menuitem id="official_management_partner_menu"
|
||||
parent="yuthon_official_setting"
|
||||
name="发文单位"
|
||||
action="official_partner_action"
|
||||
sequence="20"/>
|
||||
<menuitem id="official_management_type_menu"
|
||||
parent="yuthon_official_setting"
|
||||
name="公文类型"
|
||||
action="official_type_action"
|
||||
sequence="30"/>
|
||||
<menuitem id="seals_type_setting_board"
|
||||
name="用章类型"
|
||||
parent="yuthon_official_setting"
|
||||
action="yuthon_trade.view_seals_type_setting_action"
|
||||
@@ -110,18 +124,4 @@
|
||||
parent="yuthon_official_setting"
|
||||
action="yuthon_trade.view_project_classify_setting_action"
|
||||
sequence="100"/>
|
||||
<menuitem id="yuthon_official_setting"
|
||||
parent="administrative_offices_root_board"
|
||||
name="配置"
|
||||
sequence="99"/>
|
||||
<menuitem id="official_management_partner_menu"
|
||||
parent="yuthon_official_setting"
|
||||
name="发文单位"
|
||||
action="official_partner_action"
|
||||
sequence="20"/>
|
||||
<menuitem id="official_management_type_menu"
|
||||
parent="yuthon_official_setting"
|
||||
name="公文类型"
|
||||
action="official_type_action"
|
||||
sequence="30"/>
|
||||
</odoo>
|
||||
@@ -33,6 +33,8 @@ class PropertyEvaluationPlan(models.Model):
|
||||
record.lease_form = 'sublease'
|
||||
else:
|
||||
record.lease_form = 'whole'
|
||||
else:
|
||||
record.lease_form = False
|
||||
|
||||
|
||||
def put_assessment_approval(self):
|
||||
|
||||
@@ -42,17 +42,14 @@
|
||||
</h1>
|
||||
</div>
|
||||
<group string="审批事项">
|
||||
<field name="users_id"/>
|
||||
<field name="department_id" invisible="1"/>
|
||||
<field name="sincerity_gold"/>
|
||||
<field name="work_end" invisible="1"/>
|
||||
<field name="name" required="1"/>
|
||||
<field name="reason"/>
|
||||
<field name="issues_result" invisible="is_issues == False"/>
|
||||
<field name="documents_ids" widget="preview_many2many"/>
|
||||
</group>
|
||||
<group string="个人信息">
|
||||
<field name="users_id"/>
|
||||
<field name="department_id"/>
|
||||
<field name="sincerity_gold"/>
|
||||
</group>
|
||||
<notebook>
|
||||
<page string="承租方列表">
|
||||
<field name="eligibility_ids">
|
||||
|
||||
Reference in New Issue
Block a user