fix: Apply TDS on Purchase Invoice creation from Purchase Order and Purchase Receipt
This commit is contained in:
parent
5952efd66c
commit
74ab1084b3
@ -25,6 +25,12 @@ erpnext.accounts.PurchaseInvoice = erpnext.buying.BuyingController.extend({
|
||||
this.frm.set_df_property("credit_to", "print_hide", 0);
|
||||
}
|
||||
}
|
||||
|
||||
// Trigger supplier event on load if supplier is available
|
||||
// The reason for this is PI can be created from PR or PO and supplier is pre populated
|
||||
if (this.frm.doc.supplier) {
|
||||
this.frm.trigger('supplier');
|
||||
}
|
||||
},
|
||||
|
||||
refresh: function(doc) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user