refactor: pass dimension details to query

This commit is contained in:
ruthra kumar
2023-12-20 17:19:27 +05:30
parent ad8475cb8b
commit 5dc22e1811
3 changed files with 16 additions and 5 deletions

View File

@@ -1275,6 +1275,7 @@ class AccountsController(TransactionBase):
self.name,
arg.get("referenced_row"),
arg.get("cost_center"),
{},
)
frappe.msgprint(
_("Exchange Gain/Loss amount has been booked through {0}").format(
@@ -1355,6 +1356,7 @@ class AccountsController(TransactionBase):
self.name,
d.idx,
self.cost_center,
{},
)
frappe.msgprint(
_("Exchange Gain/Loss amount has been booked through {0}").format(