New issue 277: Don't throw an error if  a Document directive is duplicated
https://bitbucket.org/blais/beancount/issues/277/dont-throw-an-error-if-a-document

Martin Blais:

https://github.com/beancount/fava/pull/398#issuecomment-257709139

I'm not sure it's a bug - you're assuming the user doesn't want dups, and
they're telling you they do - but I think it would make sense to avoid
creating multiple identical directives by default, or at least to have an
option to suppress them.

You're right - it's not a bug really. As you describe it, the current behaviour 
is not wrong but might be surprising.

Surprising it is!

I vote for adding the following condition to the 
beancount-auto-document-directive-generation-code: 
If there is a document directive in the beancount file with the same date, 
account and filename, do not auto-gen a document directive.

Responsible: blais

-- 
You received this message because you are subscribed to the Google Groups 
"Beancount" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to beancount+unsubscr...@googlegroups.com.
To post to this group, send email to beancount@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/beancount/20180409035443.3314.48713%40celery-worker-105.ash1.bb-inf.net.
For more options, visit https://groups.google.com/d/optout.

Reply via email to