[buying controller] [fix] use discount_rate instead of discount
[buying controller] [fix] use discount_rate instead of discount

gangadhar-kadam/smrterp,MartinEnder/erpnext-de,Suninus/erpnext,saurabh6790/omnitech-apps,saurabh6790/med_new_app,anandpdoshi/erpnext,mbauskar/internal-hr,Suninus/erpnext,saurabh6790/omn-app,mbauskar/sapphire-erpnext,gangadharkadam/vlinkerp,saurabh6790/medsyn-app1,gangadharkadam/v6_erp,hatwar/Das_erpnext,Tejal011089/trufil-erpnext,suyashphadtare/sajil-erp,hatwar/buyback-erpnext,indictranstech/internal-erpnext,geekroot/erpnext,saurabh6790/OFF-RISAPP,gangadhar-kadam/prjapp,mbauskar/sapphire-erpnext,indictranstech/vestasi-erpnext,indictranstech/buyback-erp,Tejal011089/fbd_erpnext,gangadhar-kadam/verve_erp,indictranstech/reciphergroup-erpnext,indictranstech/tele-erpnext,susuchina/ERPNEXT,gangadhar-kadam/verve_live_erp,suyashphadtare/sajil-erp,treejames/erpnext,anandpdoshi/erpnext,rohitwaghchaure/New_Theme_Erp,indictranstech/vestasi-erpnext,hatwar/buyback-erpnext,gangadharkadam/v6_erp,fuhongliang/erpnext,ThiagoGarciaAlves/erpnext,mbauskar/omnitech-demo-erpnext,saurabh6790/test_final_med_app,Suninus/erpnext,SPKian/Testing2,indictranstech/tele-erpnext,gangadharkadam/saloon_erp_install,saurabh6790/omnisys-app,suyashphadtare/sajil-final-erp,indictranstech/internal-erpnext,gmarke/erpnext,indictranstech/internal-erpnext,SPKian/Testing,indictranstech/fbd_erpnext,indictranstech/erpnext,SPKian/Testing,saurabh6790/omnit-app,rohitwaghchaure/digitales_erpnext,saurabh6790/trufil_app,4commerce-technologies-AG/erpnext,indictranstech/trufil-erpnext,suyashphadtare/vestasi-erp-1,rohitwaghchaure/erpnext-receipher,gangadharkadam/saloon_erp,suyashphadtare/test,mbauskar/internal-hr,sagar30051991/ozsmart-erp,saurabh6790/omni-apps,gangadharkadam/contributionerp,Tejal011089/Medsyn2_app,gangadharkadam/v5_erp,indictranstech/erpnext,saurabh6790/tru_app_back,hernad/erpnext,Tejal011089/trufil-erpnext,saurabh6790/medsynaptic1-app,geekroot/erpnext,indictranstech/focal-erpnext,sheafferusa/erpnext,suyashphadtare/vestasi-update-erp,hatwar/Das_erpnext,Tejal011089/huntercamp_erpnext,saurabh6790/ON-RISAPP,gangadhar-kadam/verve_test_erp,mahabuber/erpnext,indictranstech/tele-erpnext,suyashphadtare/sajil-final-erp,saurabh6790/med_app_rels,njmube/erpnext,Tejal011089/trufil-erpnext,indictranstech/biggift-erpnext,gangadhar-kadam/helpdesk-erpnext,indictranstech/fbd_erpnext,Tejal011089/huntercamp_erpnext,mbauskar/sapphire-erpnext,mbauskar/helpdesk-erpnext,gangadharkadam/sterp,indictranstech/phrerp,gangadharkadam/saloon_erp,gangadharkadam/tailorerp,gsnbng/erpnext,gangadhar-kadam/helpdesk-erpnext,suyashphadtare/vestasi-erp-final,indictranstech/erpnext,gangadharkadam/vlinkerp,SPKian/Testing2,gangadharkadam/verveerp,gangadhar-kadam/verve-erp,gangadhar-kadam/nassimapp,netfirms/erpnext,indictranstech/reciphergroup-erpnext,gangadhar-kadam/laganerp,pawaranand/phrerp,rohitwaghchaure/digitales_erpnext,saurabh6790/pow-app,saurabh6790/pow-app,tmimori/erpnext,mbauskar/alec_frappe5_erpnext,suyashphadtare/vestasi-erp-1,dieface/erpnext,gangadharkadam/letzerp,saurabh6790/omni-apps,pombredanne/erpnext,Tejal011089/Medsyn2_app,gangadharkadam/vlinkerp,saurabh6790/alert-med-app,Tejal011089/med2-app,fuhongliang/erpnext,aruizramon/alec_erpnext,BhupeshGupta/erpnext,netfirms/erpnext,saurabh6790/medsynaptic1-app,netfirms/erpnext,gangadharkadam/sher,saurabh6790/omnit-app,sagar30051991/ozsmart-erp,indictranstech/osmosis-erpnext,saurabh6790/test-erp,gangadhar-kadam/smrterp,ShashaQin/erpnext,hatwar/Das_erpnext,gangadhar-kadam/verve-erp,meisterkleister/erpnext,Tejal011089/med2-app,gangadhar-kadam/verve_erp,Drooids/erpnext,rohitwaghchaure/digitales_erpnext,gangadharkadam/johnerp,gangadhar-kadam/latestchurcherp,aruizramon/alec_erpnext,indictranstech/biggift-erpnext,ThiagoGarciaAlves/erpnext,gangadharkadam/office_erp,suyashphadtare/sajil-erp,indictranstech/reciphergroup-erpnext,saurabh6790/test-erp,mbauskar/Das_Erpnext,SPKian/Testing,meisterkleister/erpnext,rohitwaghchaure/New_Theme_Erp,saurabh6790/test-erp,suyashphadtare/vestasi-erp-jan-end,gangadhar-kadam/sapphire_app,gangadhar-kadam/verve_live_erp,gangadhar-kadam/verve_test_erp,Tejal011089/huntercamp_erpnext,Tejal011089/huntercamp_erpnext,mbauskar/helpdesk-erpnext,hatwar/buyback-erpnext,Tejal011089/digitales_erpnext,Yellowen/Owrang,pawaranand/phrerp,sheafferusa/erpnext,indictranstech/trufil-erpnext,gangadharkadam/verveerp,mbauskar/omnitech-demo-erpnext,aruizramon/alec_erpnext,suyashphadtare/vestasi-update-erp,Tejal011089/paypal_erpnext,indictranstech/erpnext,gangadhar-kadam/verve_live_erp,Tejal011089/digitales_erpnext,gangadhar-kadam/helpdesk-erpnext,indictranstech/phrerp,gangadharkadam/letzerp,suyashphadtare/vestasi-erp-1,njmube/erpnext,meisterkleister/erpnext,SPKian/Testing,indictranstech/vestasi-erpnext,indictranstech/phrerp,pawaranand/phrerp,mbauskar/omnitech-erpnext,Tejal011089/digitales_erpnext,shitolepriya/test-erp,saurabh6790/OFF-RISAPP,rohitwaghchaure/New_Theme_Erp,suyashphadtare/test,saurabh6790/medsynaptic-app,treejames/erpnext,saurabh6790/med_new_app,Tejal011089/paypal_erpnext,indictranstech/buyback-erp,rohitwaghchaure/New_Theme_Erp,ShashaQin/erpnext,suyashphadtare/test,mbauskar/alec_frappe5_erpnext,mbauskar/omnitech-erpnext,indictranstech/vestasi-erpnext,anandpdoshi/erpnext,gangadhar-kadam/latestchurcherp,njmube/erpnext,saurabh6790/omnitech-apps,gangadharkadam/saloon_erp,gangadhar-kadam/laganerp,gangadharkadam/saloon_erp,Tejal011089/osmosis_erpnext,MartinEnder/erpnext-de,shitolepriya/test-erp,mbauskar/Das_Erpnext,saurabh6790/ON-RISAPP,indictranstech/reciphergroup-erpnext,indictranstech/focal-erpnext,gangadharkadam/smrterp,saurabh6790/aimobilize-app-backup,mbauskar/phrerp,mbauskar/helpdesk-erpnext,gangadharkadam/letzerp,mbauskar/omnitech-erpnext,gangadharkadam/verveerp,gangadharkadam/saloon_erp_install,suyashphadtare/gd-erp,Tejal011089/trufil-erpnext,mbauskar/omnitech-demo-erpnext,indictranstech/biggift-erpnext,mbauskar/phrerp,hanselke/erpnext-1,suyashphadtare/vestasi-update-erp,tmimori/erpnext,gangadharkadam/v6_erp,gangadharkadam/contributionerp,gangadhar-kadam/powapp,dieface/erpnext,gangadharkadam/office_erp,gangadhar-kadam/laganerp,saurabh6790/test-med-app,mbauskar/helpdesk-erpnext,mbauskar/alec_frappe5_erpnext,mbauskar/internal-hr,gangadharkadam/contributionerp,indictranstech/buyback-erp,4commerce-technologies-AG/erpnext,indictranstech/Das_Erpnext,indictranstech/tele-erpnext,mahabuber/erpnext,sagar30051991/ozsmart-erp,mbauskar/alec_frappe5_erpnext,gangadharkadam/v5_erp,gangadharkadam/saloon_erp_install,indictranstech/osmosis-erpnext,gangadhar-kadam/helpdesk-erpnext,rohitwaghchaure/GenieManager-erpnext,saurabh6790/aimobilize-app-backup,Tejal011089/paypal_erpnext,fuhongliang/erpnext,hernad/erpnext,gangadharkadam/v4_erp,gsnbng/erpnext,gangadhar-kadam/latestchurcherp,gangadhar-kadam/sapphire_app,rohitwaghchaure/erpnext-receipher,fuhongliang/erpnext,BhupeshGupta/erpnext,Tejal011089/digitales_erpnext,saurabh6790/omnisys-app,indictranstech/osmosis-erpnext,indictranstech/trufil-erpnext,Yellowen/Owrang,rohitwaghchaure/GenieManager-erpnext,Tejal011089/fbd_erpnext,gangadhar-kadam/prjapp,rohitwaghchaure/erpnext-receipher,saurabh6790/test_final_med_app,ShashaQin/erpnext,ThiagoGarciaAlves/erpnext,sheafferusa/erpnext,pombredanne/erpnext,indictranstech/Das_Erpnext,pombredanne/erpnext,hernad/erpnext,shitolepriya/test-erp,gmarke/erpnext,indictranstech/focal-erpnext,suyashphadtare/vestasi-erp-jan-end,Drooids/erpnext,gangadharkadam/smrterp,rohitwaghchaure/erpnext_smart,SPKian/Testing2,suyashphadtare/gd-erp,suyashphadtare/sajil-final-erp,saurabh6790/medsynaptic-app,indictranstech/trufil-erpnext,indictranstech/internal-erpnext,Tejal011089/osmosis_erpnext,shft117/SteckerApp,gangadharkadam/johnerp,Tejal011089/paypal_erpnext,SPKian/Testing2,gangadharkadam/office_erp,gangadhar-kadam/latestchurcherp,gangadharkadam/verveerp,suyashphadtare/gd-erp,gangadharkadam/sher,gangadhar-kadam/verve_erp,gangadhar-kadam/sapphire_app,shitolepriya/test-erp,mahabuber/erpnext,saurabh6790/test-erp,mbauskar/omnitech-demo-erpnext,saurabh6790/trufil_app,Drooids/erpnext,suyashphadtare/vestasi-erp-final,gangadharkadam/contributionerp,4commerce-technologies-AG/erpnext,suyashphadtare/gd-erp,meisterkleister/erpnext,treejames/erpnext,susuchina/ERPNEXT,saurabh6790/test-med-app,anandpdoshi/erpnext,saurabh6790/alert-med-app,shft117/SteckerApp,saurabh6790/omn-app,dieface/erpnext,gsnbng/erpnext,saurabh6790/medapp,saurabh6790/aimobilize,Tejal011089/fbd_erpnext,gangadharkadam/v5_erp,mbauskar/Das_Erpnext,rohitwaghchaure/erpnext_smart,gangadharkadam/v4_erp,indictranstech/focal-erpnext,ShashaQin/erpnext,gangadharkadam/v6_erp,suyashphadtare/vestasi-erp-jan-end,hatwar/focal-erpnext,gangadharkadam/vlinkerp,saurabh6790/medsyn-app,gangadhar-kadam/powapp,netfirms/erpnext,hanselke/erpnext-1,gangadhar-kadam/hrerp,suyashphadtare/vestasi-erp-final,geekroot/erpnext,rohitwaghchaure/erpnext-receipher,gmarke/erpnext,gangadharkadam/sterp,MartinEnder/erpnext-de,saurabh6790/tru_app_back,gangadharkadam/saloon_erp_install,mahabuber/erpnext,hatwar/focal-erpnext,rohitwaghchaure/GenieManager-erpnext,rohitwaghchaure/GenieManager-erpnext,pawaranand/phrerp,gangadhar-kadam/verve_live_erp,indictranstech/Das_Erpnext,indictranstech/biggift-erpnext,MartinEnder/erpnext-de,aruizramon/alec_erpnext,saurabh6790/medsyn-app,indictranstech/fbd_erpnext,hanselke/erpnext-1,gangadharkadam/tailorerp,hatwar/focal-erpnext,gsnbng/erpnext,hernad/erpnext,shft117/SteckerApp,gangadhar-kadam/verve-erp,hanselke/erpnext-1,treejames/erpnext,tmimori/erpnext,indictranstech/buyback-erp,tmimori/erpnext,gangadharkadam/v5_erp,BhupeshGupta/erpnext,gangadhar-kadam/verve_erp,mbauskar/sapphire-erpnext,saurabh6790/aimobilize,hatwar/Das_erpnext,gangadhar-kadam/powapp,Tejal011089/osmosis_erpnext,ThiagoGarciaAlves/erpnext,hatwar/focal-erpnext,mbauskar/omnitech-erpnext,gangadhar-kadam/nassimapp,rohitwaghchaure/digitales_erpnext,gangadhar-kadam/verve_test_erp,susuchina/ERPNEXT,sagar30051991/ozsmart-erp,indictranstech/fbd_erpnext,BhupeshGupta/erpnext,Suninus/erpnext,indictranstech/Das_Erpnext,gangadhar-kadam/verve_test_erp,gmarke/erpnext,saurabh6790/medapp,Aptitudetech/ERPNext,geekroot/erpnext,mbauskar/Das_Erpnext,gangadharkadam/v4_erp,hatwar/buyback-erpnext,njmube/erpnext,Tejal011089/osmosis_erpnext,rohitwaghchaure/erpnext_smart,suyashphadtare/vestasi-erp-jan-end,shft117/SteckerApp,pombredanne/erpnext,susuchina/ERPNEXT,indictranstech/phrerp,indictranstech/osmosis-erpnext,mbauskar/phrerp,sheafferusa/erpnext,Tejal011089/fbd_erpnext,gangadharkadam/v4_erp,saurabh6790/med_app_rels,gangadhar-kadam/hrerp,dieface/erpnext,saurabh6790/medsyn-app1,gangadharkadam/letzerp,Drooids/erpnext,mbauskar/phrerp