|
70 | 70 | doctype_js = { |
71 | 71 | "Batch": "public/js/batch.js", |
72 | 72 | "Compliance Settings": "public/js/compliance_settings.js", |
73 | | - "Contract": "public/js/contract.js", |
74 | 73 | "Delivery Note": "public/js/delivery_note.js", |
75 | 74 | "Delivery Trip": "public/js/delivery_trip.js", |
76 | 75 | "Driver": "public/js/driver.js", |
|
94 | 93 | } |
95 | 94 |
|
96 | 95 | override_doctype_dashboards = { |
97 | | - "Contract": "bloomstack_core.hook_events.contract.get_data", |
98 | 96 | "Employee": "bloomstack_core.hook_events.employee.get_data" |
99 | 97 | } |
100 | 98 |
|
101 | 99 | # doctype_tree_js = {"doctype" : "public/js/doctype_tree.js"} |
102 | 100 | doctype_calendar_js = { |
103 | | - "Contract": "public/js/contract_calendar.js", |
104 | 101 | "Work Order": "public/js/work_order_calendar.js" |
105 | 102 | } |
106 | 103 |
|
|
159 | 156 | "Compliance Settings": { |
160 | 157 | "validate": "bloomstack_core.hook_events.compliance_settings.sync_bloomtrace" |
161 | 158 | }, |
162 | | - "Contract": { |
163 | | - "validate": "bloomstack_core.hook_events.contract.generate_contract_terms_display", |
164 | | - "on_update_after_submit": [ |
165 | | - "bloomstack_core.hook_events.contract.create_project_against_contract", |
166 | | - "bloomstack_core.hook_events.contract.create_order_against_contract" |
167 | | - ], |
168 | | - "on_submit": "bloomstack_core.hook_events.contract.create_event_against_contract", |
169 | | - "before_submit": "bloomstack_core.hook_events.contract.set_contract_company", |
170 | | - "on_cancel": "bloomstack_core.hook_events.contract.create_event_against_contract" |
171 | | - }, |
172 | 159 | "Customer": { |
173 | 160 | "validate": [ |
174 | 161 | "bloomstack_core.hook_events.customer.update_lead_acc_open_date" |
|
0 commit comments