tundebabzy 99b734bfd7 Fix #4587: Status does not display "Pending" in report filter (#9104)
* adds Material Request to `status_map`

* updates eval condition for Partially Ordered in Material Request map

* changes material_request doctype to include "pending", "ordered", "partially ordered", "issued", "transferred" as options

* adds more options to `validate_status`

* adds `set_status` just before saving

* adds `check_for_closed_status` in `before_cancel`

* adds patch to convert status to material request specific status

* adds stricter status update conditions

* changes `update_status` to me `set_status`

* adds checker such that draft status can only change to pending

* renames `check_draft_status` to `status_can_change`

* adds Cancelled to Material Request map

* makes `status_can_change` block any attempt to change a cancelled document

* adds more test cases

* updates what `set_status` checks for before adding comment

* adds patch to rename the present material request status
2017-06-07 12:02:07 +05:30
..
2017-04-13 13:14:05 +05:30
2017-04-13 13:14:05 +05:30
2015-12-03 08:09:42 +05:30
2016-03-15 17:50:53 +05:30
2016-06-28 17:28:40 +05:30
2016-09-21 12:00:58 +05:30
2016-06-24 16:18:07 +05:30
2016-12-09 15:09:11 +05:30
2016-03-22 11:01:31 +05:30
2017-05-03 16:44:14 +05:30