Multicurrency Controllers

“Is there another place I should be looking?”

imo no you are on target taxes_and_totals.py - and also too transaction.js that extends it - together implement multi-currency

Many thanks for shilgod’s insight Quotation Item triggers - #6 by schilgod

That ahha moment how jQuery.extend() | jQuery API Documentation aparently interfaces and extends a python object with a js object with this statement really escapes me:

erpnext.TransactionController = erpnext.taxes_and_totals.extend({

jquery.extend - An object that will receive the new properties if additional objects are passed in or that will extend the jQuery namespace if it is the sole argument.

1 Like