On Sun, Jan 03, 2010 at 05:31:01PM -0500, John Wiegley wrote:
> On Jan 3, 2010, at 7:53 AM, Gabriel Kerneis wrote:
> 
> > And the output:
> >        While parsing file "test", line 15: 
> >        While parsing posting:
> >          Assets:Checking  $-20.00 = $30.00
> >                                     ^^^^^^
> >        Error: Balance assertion off by $-10.00
> > 
> > It's still possible to deal with this kind of transaction explicitely,
> > but it would be nice to have the feature back (IMHO).
> 
> This is saying that the balance of Assets:Checking is not exactly
> $30.00 at that point in the file.  Since this is exactly what the
> assertion means to say, no auto-balancing takes place.

I understand this fact, but do you acknowledge that this is does not
comply with the behaviour stated in the original announce?  The original
behaviour (or at least its description, I never checked it) might be
considered too weird, and thus changed, but it was explicitely stated
that ledger could take care of the remainder automatically.

The feature is useful (although potentially harmful) IMHO when someone
refunds you more money than he owes you.  In that case, you want to
state exactly how much money he gave you, assert that his debt is
cleared (= $0.00), and have ledger add the remainder automatically in
some account (equity:adjustement or assets:cash e.g.).

Then again, if the behaviour has changed on purpose, because it would
have led to mistakes too easily, I can understand it.  I just wanted to
draw your attention to this fact.

Regards,
-- 
Gabriel Kerneis

Reply via email to