Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

settlement-date plugin #3

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

settlement-date plugin #3

wants to merge 1 commit into from

Conversation

aumayr
Copy link
Member

@aumayr aumayr commented Jan 18, 2018

This was moved here from beancount/fava#522


Quick and dirty implementation of the plugin mentioned in this thread: https://groups.google.com/forum/#!topic/beancount/d6SfLshoo1E

With this plugin, the following transaction:

plugin "fava.plugins.settlement_date" "Assets:Savings:Transfer"

2017-04-01 * "" ""
    Assets:Savings:US    -100.00 USD
    Assets:Savings:JP
        settle: 2017-04-03

becomes

    2017-04-01 * "" "Doing some saving transfers" ^settle-43be1c
        Assets:Savings:US       -100.00 USD
        Assets:Savings:Transfer
            settle: 2017-04-03

    2017-04-03 * "" "Settle: Doing some saving transfers" ^settle-43be1c
        Assets:Savings:Transfer -100.00 USD
        Assets:Savings:JP        100.00 USD

Tasks

  • tests
  • lint
  • use same metadata key as in the documentation

@aumayr aumayr self-assigned this Jan 18, 2018
@eyer
Copy link

eyer commented Aug 2, 2020

Does this plug-in still function?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants