mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-31 10:49:09 +00:00
fix: Removed inter-company account filter for inter-company journal entry (#19308)
This commit is contained in:
@@ -608,15 +608,9 @@ $.extend(erpnext.journal_entry, {
|
|||||||
},
|
},
|
||||||
|
|
||||||
account_query: function(frm) {
|
account_query: function(frm) {
|
||||||
var inter_company = 0;
|
|
||||||
if (frm.doc.voucher_type == "Inter Company Journal Entry") {
|
|
||||||
inter_company = 1;
|
|
||||||
}
|
|
||||||
|
|
||||||
var filters = {
|
var filters = {
|
||||||
company: frm.doc.company,
|
company: frm.doc.company,
|
||||||
is_group: 0,
|
is_group: 0
|
||||||
inter_company_account: inter_company
|
|
||||||
};
|
};
|
||||||
if(!frm.doc.multi_currency) {
|
if(!frm.doc.multi_currency) {
|
||||||
$.extend(filters, {
|
$.extend(filters, {
|
||||||
|
|||||||
Reference in New Issue
Block a user