Match Payment with Invoice in non-base currency

Have some sales invoices and credits all in same receivables account all in US$ though company base currency is different. The form shows all numbers as base currency even though they are US$. Example invoice or credit for US$94.00 shows as DOP$94.00. As could still match completed form, but when clicked RECONCILE get error

There is no multi-Currency option on this form (should there be) and the option IS checked at company settings level.

ERPNext: v12.6.0 (version-12)
Frappe Framework: v12.4.1 (version-12)

Could some one point me to the code for this form (display, validate, submit) and for the Payment entry screen? As the payment Entry form has the mult-currency check box to use as a model.


To search the code try this:

frappe@ubuntu1804lts:~/frappe-bench$ find . -name ‘*.py’ | xargs grep ‘to allow accounts with other currency’
./apps/erpnext/erpnext/accounts/doctype/journal_entry/ frappe.throw(_(“Please check Multi Currency option to allow accounts with other currency”))

I am getting the same error message when submitting purchase invoice with different currency than base currency.

Hope to get help resolving this issue please?