brotherton-erpnext/erpnext
tundebabzy ad08d4ce96 Ability to hold payment for disputed invoices #12048 (#13298)
* add new fields to Supplier Master:
- on_hold: To signal the Customer is blocked from completing certain transactions
- hold_type: 3 options - All, invoices and payments

* sanitize `on_hold` field input

* show hold status in list view

* add `release_date` field to Supplier Master:
- specifies the date when transaction restraint will be removed

* reset release date if supplier is not on hold

* add validation to stop transactions when Supplier is blocked

* add test cases

* return empty list for outstanding references if supplier is blocked

* block make button:payment if supplier is blocked

* adjust test cases

* PEP 8 clean up

* more tests

* adds new fields to Purchase Invoice:
- release_date: once set, invoice will be on hold until set date
- hold_comment: so user can add comment pertaining to why invoice is on hold

* implement individual purchase invoice on hold logic

* allow user to change release date

* update manual

* final cleanup including more validation and tests

* update supplier manual

* make default for release_date argument todays date

* remove Auto Repeat added by mistake

* add on_hold_field to purchase invoice

* add 'On Hold' or 'Temporarily on Hold' status for purchase invoice in list view

* implement explicit payment hold in purchase invoice

* update manual

* add dialog for saving comment

* bug fix, refactor, clean up

* more test cases
2018-05-16 11:31:41 +05:30
..
accounts Ability to hold payment for disputed invoices #12048 (#13298) 2018-05-16 11:31:41 +05:30
agriculture Replace frappe.db.sql to frappe.get_list to apply permissions (#14037) 2018-05-16 10:44:38 +05:30
assets Code cleanup 2018-05-14 19:09:44 +05:30
buying Ability to hold payment for disputed invoices #12048 (#13298) 2018-05-16 11:31:41 +05:30
change_log Version 10 change log 2017-12-25 12:25:52 +05:30
commands
config Clinical procedure (#13540) 2018-05-16 10:54:00 +05:30
controllers Ability to hold payment for disputed invoices #12048 (#13298) 2018-05-16 11:31:41 +05:30
crm Pass buying or selling as filter parameters 2018-05-15 17:22:06 +05:30
demo Pass buying or selling as filter parameters 2018-05-15 17:22:06 +05:30
docs Ability to hold payment for disputed invoices #12048 (#13298) 2018-05-16 11:31:41 +05:30
domains [ Enhance ] Production to Work Order (#12902) 2018-03-20 12:38:43 +05:30
education Resolve merge conflicts from enterprise_sprint branch 2018-05-14 21:15:46 +05:30
erpnext_integrations Woocommerce Integration (#13217) 2018-04-03 11:17:03 +05:30
healthcare [Fix] Currency field in Pricing rule (#14004) 2018-05-16 11:20:30 +05:30
hotels Use range instead xrange (#13128) 2018-02-28 16:12:51 +05:30
hr [minor] Fix typo 2018-05-16 11:06:02 +05:30
hub
hub_node controller and other changes 2018-05-14 11:45:38 +05:30
maintenance Use range instead xrange (#13128) 2018-02-28 16:12:51 +05:30
manufacturing Production Plan, do not consider the sales orders against which work order has been created (#13800) 2018-05-16 11:07:55 +05:30
non_profit Remove the duplicate description 2018-04-27 12:46:56 +05:30
patches [Fix] Currency field in Pricing rule (#14004) 2018-05-16 11:20:30 +05:30
portal Set the guardian role automatically. (#12136) 2017-12-22 10:50:10 +05:30
projects Replace frappe.db.sql to frappe.get_list to apply permissions (#14037) 2018-05-16 10:44:38 +05:30
public [WIP] Alternative items (#13705) 2018-05-16 10:58:39 +05:30
regional Resolve merge conflicts from enterprise_sprint branch 2018-05-14 21:15:46 +05:30
restaurant self.assertEqual 2018-02-28 21:13:51 +05:30
selling Production Plan, do not consider the sales orders against which work order has been created (#13800) 2018-05-16 11:07:55 +05:30
setup Refactor party type (#13831) 2018-05-16 11:02:26 +05:30
shopping_cart [fix] honour the shopping cart setting when showing the stock and non-stock item (#13988) 2018-05-14 14:30:30 +05:30
startup Refactor party type (#13831) 2018-05-16 11:02:26 +05:30
stock Replace frappe.db.sql to frappe.get_list to apply permissions (#14037) 2018-05-16 10:44:38 +05:30
support Email Account field added in Issue 2018-04-13 14:30:26 +05:30
templates [fix] resolved merge conflicts 2018-05-15 13:02:40 +05:30
tests Loan Management for the Members (Non Profit Module) (#13149) 2018-04-24 12:19:36 +05:30
translations [Translation] Updated Translations (#14021) 2018-05-16 10:46:11 +05:30
utilities Resolve merge conflicts from enterprise_sprint branch 2018-05-14 21:15:46 +05:30
__init__.py Refactor party type (#13831) 2018-05-16 11:02:26 +05:30
exceptions.py
hooks.py Update hooks.py 2018-05-15 15:25:14 +05:30
modules.txt Hotels (#11907) 2018-02-12 11:57:12 +05:30
patches.txt Refactor party type (#13831) 2018-05-16 11:02:26 +05:30