Hi, I have been logging my time in org-mode for various ad-hoc tasks recently. It works well: I didn't need to write yet another timetracker and could just jot down notes and tasks and track the time i spent on various things.
Now I want to collect that and bill. org-mode's support for exporting to `timeclock` formatted files (through the org2tc script from John Wiegley) seems ideal in bridging this straight into ledger. That part I got working more or less right, I think. I documented the setup here: https://github.com/anarcat/ledger-timetracking However, it looks a bit clunky: the virtual postings are not balanced and look weird by default - i wonder if there's a better way to set those up. Furthermore, now I'm stuck at the billing step. I have looked at various examples (documented above) and none seem to work with timetracking entries directly. My ideal workflow would use the comments from the timetracking entries and shove that into notes in the invoice, then mark (somehow) those entries as "done" or "cleared". The problem then, is obviously that the next export from org-mode will override that state... So I am not sure how to manage this. I would love if John and others could take a look at the code I have so far and provide suggestions, especially from the billing side of things. I'm fine with using LaTeX or anything for the actual bills. I started looking at the Python API to generate those bills. This is mostly because I couldn't figure out how to extract the hourly rate from the registry, but i also find the commandline interface and filters to be confusing. The documentation on certain fields is a little lacking. But then I had to rebuild the python library (it's not in debian jessie/stable) and got lost along the way. Any advice, examples? Thanks! -- Il faut tout un village pour élever un enfant. - Proverbe africain -- --- You received this message because you are subscribed to the Google Groups "Ledger" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
