File tree Expand file tree Collapse file tree 3 files changed +0
-30
lines changed
accounts/doctype/purchase_invoice
buying/doctype/purchase_order
stock/doctype/purchase_receipt Expand file tree Collapse file tree 3 files changed +0
-30
lines changed Original file line number Diff line number Diff line change @@ -71,14 +71,6 @@ erpnext.accounts.PurchaseInvoice = class PurchaseInvoice extends erpnext.buying.
7171 if ( this . frm . doc . supplier && this . frm . doc . __islocal ) {
7272 this . frm . trigger ( "supplier" ) ;
7373 }
74-
75- this . frm . set_query ( "supplier" , function ( ) {
76- return {
77- filters : {
78- is_transporter : 0 ,
79- } ,
80- } ;
81- } ) ;
8274 }
8375
8476 refresh ( doc ) {
Original file line number Diff line number Diff line change @@ -502,17 +502,6 @@ erpnext.buying.PurchaseOrderController = class PurchaseOrderController extends (
502502 }
503503 }
504504
505- onload ( ) {
506- super . onload ( ) ;
507- this . frm . set_query ( "supplier" , function ( ) {
508- return {
509- filters : {
510- is_transporter : 0 ,
511- } ,
512- } ;
513- } ) ;
514- }
515-
516505 get_items_from_open_material_requests ( ) {
517506 erpnext . utils . map_current_doc ( {
518507 method : "erpnext.stock.doctype.material_request.material_request.make_purchase_order_based_on_supplier" ,
Original file line number Diff line number Diff line change @@ -199,17 +199,6 @@ erpnext.stock.PurchaseReceiptController = class PurchaseReceiptController extend
199199 super . setup ( doc ) ;
200200 }
201201
202- onload ( ) {
203- super . onload ( ) ;
204- this . frm . set_query ( "supplier" , function ( ) {
205- return {
206- filters : {
207- is_transporter : 0 ,
208- } ,
209- } ;
210- } ) ;
211- }
212-
213202 refresh ( ) {
214203 var me = this ;
215204 super . refresh ( ) ;
You can’t perform that action at this time.
0 commit comments