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