brotherton-erpnext/erpnext/controllers
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
..
tests [Enhance] Quality Inspection Template (#12988) 2018-02-22 11:03:48 +05:30
__init__.py moved modules inside erpnext folder 2013-12-11 10:43:52 +05:30
accounts_controller.py Ability to hold payment for disputed invoices #12048 (#13298) 2018-05-16 11:31:41 +05:30
buying_controller.py [Minor] Is fixed asset checkbox not set at server side if duplicate 2018-05-16 10:49:12 +05:30
item_variant.py do not copy template description to variant if not in allow fields (#13726) 2018-04-24 12:10:45 +05:30
print_settings.py [fix] compact print format not longer ignores format builder 2017-01-25 08:20:43 +08:00
queries.py Resolve merge conflicts from enterprise_sprint branch 2018-05-14 21:15:46 +05:30
sales_and_purchase_return.py [fix] Current stock qty calculation in case of different UOM 2018-04-30 15:44:49 +05:30
selling_controller.py travis fix 2018-03-19 17:31:19 +05:30
status_updater.py [Fix] Showing to bill even if per deliverd in sales order is 99.9996 (#13392) 2018-03-27 11:31:44 +05:30
stock_controller.py Fixed merge conflict 2018-03-23 16:20:27 +05:30
taxes_and_totals.py [Fix] Currency field in Pricing rule (#14004) 2018-05-16 11:20:30 +05:30
trends.py controller and other changes 2018-05-14 11:45:38 +05:30
website_list_for_contact.py [hotfix] fixed Not Permitted issue for System user while accessing documents on portal (#10725) 2017-09-10 12:04:28 +05:30