From e7c71ee7657541de9675c1f18a110495eb45f331 Mon Sep 17 00:00:00 2001 From: zhou <123@> Date: Sun, 6 Apr 2025 14:57:06 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B7=BB=E5=8A=A0=E5=8A=9F=E8=83=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- room/views/room_booking_views.xml | 2 +- room/views/room_room_views.xml | 4 +- .../views/soong_user_role_views.xml | 6 +- .../views/soong_workflow_inspector_views.xml | 2 +- yuthon_holiday/views/hr_leave_batch.xml | 4 +- .../views/yuthon_fixes_approval_views.xml | 4 +- yuthon_hr_attendance/views/card_approval.xml | 4 +- yuthon_hr_attendance/views/duty_approval.xml | 4 +- yuthon_hr_attendance/views/go_approval.xml | 2 +- .../hr_attendance_detail_wechat_views.xml | 6 +- .../views/hr_attendance_month_views.xml | 8 +- .../views/hr_attendance_views.xml | 4 +- .../inherit_planning_slot_template_views.xml | 2 +- .../views/overtime_approval.xml | 4 +- .../views/remove_holiday_approval.xml | 4 +- .../views/yuthon_abnormal_approval_views.xml | 4 +- .../yuthon_adjustments_approval_views.xml | 6 +- .../views/yuthon_customer_approval_views.xml | 4 +- .../views/yuthon_run_planning_views.xml | 2 +- .../views/yuthon_shift_approval_views.xml | 2 +- .../views/yuthon_shift_planning_views.xml | 2 +- .../views/yuthon_special_approval_views.xml | 2 +- .../views/inherit_hr_applicant_views.xml | 4 +- .../views/yuthon_job_postings_views.xml | 2 +- .../views/yuthon_medical_manage_views.xml | 6 +- .../views/yuthon_medical_rule_views.xml | 2 +- .../wizard/hr_employee_time_wizard_views.xml | 2 +- .../views/yuthon_interview_approval_views.xml | 2 +- .../views/yuthon_onboard_approval_views.xml | 2 +- .../views/yuthon_inspection_items_views.xml | 4 +- .../views/yuthon_inspection_route_views.xml | 4 +- .../views/yuthon_inspection_scores_views.xml | 4 +- .../views/yuthon_inspection_views.xml | 4 +- .../views/issue_approval_decision_views.xml | 2 +- yuthon_issue/views/issue_approval_views.xml | 8 +- .../views/yuthon_lessee_notice.xml | 4 +- .../views/property_report_repair.xml | 4 +- .../views/yuthon_maintain_desktop_views.xml | 4 +- .../views/yuthon_confirm_users_views.xml | 2 +- yuthon_notice/views/yuthon_notice_views.xml | 8 +- .../yuthon_official_incoming_labor_views.xml | 4 +- .../yuthon_official_incoming_normal_views.xml | 6 +- .../yuthon_official_incoming_party_views.xml | 4 +- .../views/yuthon_official_labor_views.xml | 4 +- .../views/yuthon_official_party_views.xml | 4 +- .../views/yuthon_official_views.xml | 4 +- .../views/yuthon_duty_management.xml | 4 +- .../views/yuthon_employee_appraisal.xml | 2 +- .../views/yuthon_employee_approval.xml | 8 +- .../views/yuthon_employee_performance.xml | 4 +- .../views/yuthon_grading_tasks.xml | 4 +- yuthon_performance/views/yuthon_kpi_tasks.xml | 4 +- .../views/yuthon_tissue_duty_approval.xml | 8 +- yuthon_property/__manifest__.py | 4 +- .../models/property_evaluation_plan.py | 36 +++----- yuthon_property/models/yuthon_property.py | 38 +++++++- yuthon_property/security/ir.model.access.csv | 4 +- .../static/src/js/evaluation_create_button.js | 29 +++++++ .../src/xml/evaluation_create_button.xml | 10 +++ .../views/property_electric_reading_views.xml | 2 +- .../views/property_evaluation_plan_view.xml | 7 +- .../views/property_water_reading_views.xml | 2 +- .../views/yuthon_property_views.xml | 9 +- yuthon_property/wizard/__init__.py | 2 +- .../wizard/evaluation_plan_wizard.py | 32 +++++++ ...s.xml => evaluation_plan_wizard_views.xml} | 11 ++- .../wizard/rental_scheme_wizard.py | 35 -------- .../models/property_evaluate_application.py | 87 +++---------------- .../models/property_lease_contract.py | 14 +++ .../security/ir.model.access.csv | 1 - .../views/perperty_claim_approval_views.xml | 4 +- .../property_borrowing_approval_views.xml | 4 +- .../views/property_eligibility.xml | 2 +- .../property_evaluate_application_views.xml | 64 ++++---------- .../views/property_intention_views.xml | 4 +- .../views/property_lease_contract.xml | 10 +-- .../views/property_transfer_views.xml | 2 +- .../views/inherit_hr_payslip_views.xml | 4 +- .../views/yuthon_payroll_project_views.xml | 4 +- .../views/yuthon_office_supplies_views.xml | 8 +- .../views/yuthon_care_condolences_views.xml | 2 +- .../views/yuthon_message_approval_views.xml | 6 +- .../views/yuthon_trade_activities.xml | 4 +- yuthon_trade/views/yuthon_trade_premium.xml | 4 +- 84 files changed, 316 insertions(+), 339 deletions(-) create mode 100644 yuthon_property/static/src/js/evaluation_create_button.js create mode 100644 yuthon_property/static/src/xml/evaluation_create_button.xml create mode 100644 yuthon_property/wizard/evaluation_plan_wizard.py rename yuthon_property/wizard/{rental_scheme_wizard_views.xml => evaluation_plan_wizard_views.xml} (64%) delete mode 100644 yuthon_property/wizard/rental_scheme_wizard.py diff --git a/room/views/room_booking_views.xml b/room/views/room_booking_views.xml index c7afa24d2..9abccebc9 100644 --- a/room/views/room_booking_views.xml +++ b/room/views/room_booking_views.xml @@ -152,7 +152,7 @@ - + diff --git a/room/views/room_room_views.xml b/room/views/room_room_views.xml index 9dcd48c04..309d20620 100644 --- a/room/views/room_room_views.xml +++ b/room/views/room_room_views.xml @@ -70,7 +70,7 @@ - + @@ -117,7 +117,7 @@ - + diff --git a/soong_workflow/views/soong_user_role_views.xml b/soong_workflow/views/soong_user_role_views.xml index e019f21fd..2923c9301 100644 --- a/soong_workflow/views/soong_user_role_views.xml +++ b/soong_workflow/views/soong_user_role_views.xml @@ -29,7 +29,7 @@ - + @@ -58,7 +58,7 @@ - + @@ -79,7 +79,7 @@ - + diff --git a/soong_workflow/views/soong_workflow_inspector_views.xml b/soong_workflow/views/soong_workflow_inspector_views.xml index a61046b25..b53509f81 100644 --- a/soong_workflow/views/soong_workflow_inspector_views.xml +++ b/soong_workflow/views/soong_workflow_inspector_views.xml @@ -7,7 +7,7 @@ - + diff --git a/yuthon_holiday/views/hr_leave_batch.xml b/yuthon_holiday/views/hr_leave_batch.xml index 0c77cdc40..a692c5a1a 100644 --- a/yuthon_holiday/views/hr_leave_batch.xml +++ b/yuthon_holiday/views/hr_leave_batch.xml @@ -8,7 +8,7 @@ - + @@ -47,7 +47,7 @@ - + diff --git a/yuthon_holiday/views/yuthon_fixes_approval_views.xml b/yuthon_holiday/views/yuthon_fixes_approval_views.xml index a02aba483..744f2188e 100644 --- a/yuthon_holiday/views/yuthon_fixes_approval_views.xml +++ b/yuthon_holiday/views/yuthon_fixes_approval_views.xml @@ -6,8 +6,8 @@ - - + + diff --git a/yuthon_hr_attendance/views/card_approval.xml b/yuthon_hr_attendance/views/card_approval.xml index bb446c5ba..43bbdf919 100644 --- a/yuthon_hr_attendance/views/card_approval.xml +++ b/yuthon_hr_attendance/views/card_approval.xml @@ -6,7 +6,7 @@ - + @@ -45,7 +45,7 @@ - + diff --git a/yuthon_hr_attendance/views/duty_approval.xml b/yuthon_hr_attendance/views/duty_approval.xml index 1f9f800fa..85884583e 100644 --- a/yuthon_hr_attendance/views/duty_approval.xml +++ b/yuthon_hr_attendance/views/duty_approval.xml @@ -6,7 +6,7 @@ - + @@ -49,7 +49,7 @@ - + diff --git a/yuthon_hr_attendance/views/go_approval.xml b/yuthon_hr_attendance/views/go_approval.xml index 2cac1f8b0..c80cfa665 100644 --- a/yuthon_hr_attendance/views/go_approval.xml +++ b/yuthon_hr_attendance/views/go_approval.xml @@ -7,7 +7,7 @@ - + diff --git a/yuthon_hr_attendance/views/hr_attendance_detail_wechat_views.xml b/yuthon_hr_attendance/views/hr_attendance_detail_wechat_views.xml index 69c95d9b7..0b68f7383 100644 --- a/yuthon_hr_attendance/views/hr_attendance_detail_wechat_views.xml +++ b/yuthon_hr_attendance/views/hr_attendance_detail_wechat_views.xml @@ -34,8 +34,8 @@
- - + + @@ -50,7 +50,7 @@
- + diff --git a/yuthon_hr_attendance/views/hr_attendance_month_views.xml b/yuthon_hr_attendance/views/hr_attendance_month_views.xml index 5a11b2e5e..9c17ec965 100644 --- a/yuthon_hr_attendance/views/hr_attendance_month_views.xml +++ b/yuthon_hr_attendance/views/hr_attendance_month_views.xml @@ -63,8 +63,8 @@ + + + diff --git a/yuthon_property/views/property_electric_reading_views.xml b/yuthon_property/views/property_electric_reading_views.xml index 7ca32a4e8..093abbfa5 100644 --- a/yuthon_property/views/property_electric_reading_views.xml +++ b/yuthon_property/views/property_electric_reading_views.xml @@ -9,7 +9,7 @@ - + diff --git a/yuthon_property/views/property_evaluation_plan_view.xml b/yuthon_property/views/property_evaluation_plan_view.xml index 4b9b47ad7..dcf6ed5ca 100644 --- a/yuthon_property/views/property_evaluation_plan_view.xml +++ b/yuthon_property/views/property_evaluation_plan_view.xml @@ -4,13 +4,12 @@ property.evaluation.plan.tree property.evaluation.plan - +
- + @@ -21,6 +20,8 @@ + +