Fix Zerodha.handlebars to resolve error in commodity name with spaces
Commodity name does not accept spaces, have concatenated with -. May be there are better fixes?
What client do you use? AFAIR, double quotes around commodity names should fix this issue
I just used the default version, not sure what client it is. where to check?
You are using ledger only, can you share the exact error you get here?
Using below statement
2024/09/23 Purchased 99 Shares of AXIS SMALL CAP FUND - DIRECT PLAN
Assets:Stocks:AXIS SMALL CAP FUND - DIRECT PLAN 98.762 "AXIS SMALL-CAP-FUND---DIRECT-PLAN" @ 12.9 INR
Assets:Checking:Zerodha
throws below error
Using below statement
2024/09/23 Purchased 99 Shares of AXIS SMALL CAP FUND - DIRECT PLAN Assets:Stocks:AXIS SMALL CAP FUND - DIRECT PLAN 98.762 "AXIS SMALL-CAP-FUND---DIRECT-PLAN" @ 12.9 INR Assets:Checking:Zerodhathrows below error
There is an easy byfix to this, instead of having special chars in the name of the commodity or asset, try to streamline it using simple keywords, e.g.
Assets:Stocks:AxisSmallCapFundDirect 98.762 AxisSmallCapDirect @ 12.9 INR
Set this commdity config using this name AxisSmallCapDirect
