fix: cancelled vouchers in tax withheld vouchers list (#35309)
This commit is contained in:
parent
5574d9a72d
commit
776a83066d
@ -303,7 +303,7 @@ erpnext.accounts.PurchaseInvoice = class PurchaseInvoice extends erpnext.buying.
|
|||||||
|
|
||||||
apply_tds(frm) {
|
apply_tds(frm) {
|
||||||
var me = this;
|
var me = this;
|
||||||
|
me.frm.set_value("tax_withheld_vouchers", []);
|
||||||
if (!me.frm.doc.apply_tds) {
|
if (!me.frm.doc.apply_tds) {
|
||||||
me.frm.set_value("tax_withholding_category", '');
|
me.frm.set_value("tax_withholding_category", '');
|
||||||
me.frm.set_df_property("tax_withholding_category", "hidden", 1);
|
me.frm.set_df_property("tax_withholding_category", "hidden", 1);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user