fix: Removed inter-company account filter for inter-company journal entry (#19308)
This commit is contained in:
parent
8232bd01d6
commit
f2d37a7280
@ -608,15 +608,9 @@ $.extend(erpnext.journal_entry, {
|
||||
},
|
||||
|
||||
account_query: function(frm) {
|
||||
var inter_company = 0;
|
||||
if (frm.doc.voucher_type == "Inter Company Journal Entry") {
|
||||
inter_company = 1;
|
||||
}
|
||||
|
||||
var filters = {
|
||||
company: frm.doc.company,
|
||||
is_group: 0,
|
||||
inter_company_account: inter_company
|
||||
is_group: 0
|
||||
};
|
||||
if(!frm.doc.multi_currency) {
|
||||
$.extend(filters, {
|
||||
|
Loading…
x
Reference in New Issue
Block a user