beancount / fava

Fava - web interface for Beancount
https://beancount.github.io/fava/
MIT License
1.93k stars 282 forks source link

Allow to disable default importer hooks #1197

Closed tarioch closed 3 years ago

tarioch commented 3 years ago

It would be nice if it would be possible to disable the default importer hooks.

Unfortunately beancount uses the standard duplicate detector if you don't specify any hooks. This unfortunately marks entries as duplicates although they aren't.

I'm using the apply_hooks from smart importer, so I would not want any hooks from beancount to run.

yagebu commented 3 years ago

I think we could read the list of hooks that should be used from a variable, say, HOOKS in the import script and having the list containing just the duplicate detector as a default. A PR would be welcome :)

yagebu commented 3 years ago

This was implemented in #1208