Hi Yves,
Today I tried to port your changes integrating Devel::Stacktrace for better development stacktraces in development mode, from your branch (1.4-based) to master.
However, at the first commit I'm backporting, I'm getting a merge conflict. The problem is that the _error() function in LedgerSMB.pm on master takes 3 arguments, whereas the one on 1.4 only takes 2 - and you added a third.
Do you think you can port your changes to master in a reasonable amount of time? If so, I'd highly appreciate the effort, so I can focus on your other changes -- the period comparison simplifications.