| 1 | = Requests module for Sahana Eden 2.0 = |
| 2 | |
| 3 | Currently there are 2 parallel Requests systems in the REQ module: |
| 4 | * req_req |
| 5 | * req_need |
| 6 | |
| 7 | req_req was the first system built, initially to support the Logistics functionality in Inv, via req_req_item, req_commit and req_commit_item |
| 8 | |
| 9 | Subsequently this was extended to support: |
| 10 | * Requests for Skills, via req_req_skill & req_commit_skill & req_commit_person |
| 11 | * 'Simple' Requests (just a textbox of details) |
| 12 | * Planned to be extended to support Requests for Assets & Shelter, although that was never developed. |
| 13 | |
| 14 | Whilst the Logistics usecase worked pretty well, the other usecases never really worked properly due to the fact that req_req required Requests to originate from a Site....this is why req_need was developed...to provide a simpler Requests system than req_req's simple mode, which could be flexibly extended to originate from Sites, Orgs or People. Could also be flexibly extended to support requests for Items, Skills, etc |
| 15 | |
| 16 | Proposal: |
| 17 | * REQ should only have a single Requests system, for which the req_need model is more suitable. |
| 18 | * req_req should be stripped down to it's logistics core usecase & moved to inv_req |
| 19 | * Remove types (so remove support for Simple, Skills, etc) |
| 20 | * Similarly req_req_item/req_commit/req_commit_item/req_approver/req_req_tag/req_order_item/req_project_req should be moved to inv_req_item/inv_commit /inv_commit_item/inv_req_tag/inv_req_approver/inv_req_item_order/inv_req_project |
| 21 | * Also move associated !Controllers/Classes/Functions/View |
| 22 | * Remove current req_skill/req_commit_person/req_commit_skill models |
| 23 | * req_job moved to req_need_job |
| 24 | |
| 25 | There are also some models which are just used by SHARE & should be moved to that template (as share_*): |
| 26 | * req_need_line |
| 27 | * req_need_response |
| 28 | * req_need_response_line |
| 29 | * req_need_response_organisation |