I am trying to override py method named “calculate_item_values” is available in (erpnext=>erpnext=>controllers=>taxes_and_totals.py) erpnext
to do a calculation for an amount in sales order lines.
Below is my code, I added in my custom application by creating controllers directory but it not working.
(Path : my_custom_app=>my_custom_app=>controllers=>taxes_and_totals.py)
from frappe.utils import flt
from erpnext.controllers.taxes_and_totals import calculate_taxes_and_totals
print "\n :::My Custom App Call ::::::::::"
print "\n :::::My Custom App Method Call ::::::::::"
Please help me on this.
Thanks in advance.