Invoice tax

How would I change the invoice list price to be tax inclusive?

current calculation
list price = 150.00
tax 10% = 15.00
total = 165.00

change calculation to

list price = 150.00
tax 10% = 150 / 110 * 100 = 13.64
total = 150.00

I hope this is clear enough.

Thanks
John

It should be somewhere around here

https://github.com/salesagility/SuiteCRM/blob/master/modules/AOS_Products_Quotes/line_items.js#L837

but I don’t really know, you will have to look and try to find how the code works… good luck.