deb-sig / double-entry-generator

Rule-based double-entry bookkeeping importer (from Alipay/WeChat/Huobi etc. to Beancount/Ledger).
https://github.com/deb-sig/double-entry-generator
Apache License 2.0
537 stars 79 forks source link

更新文档中 `targetAccount` 与 `methodAccount` 的增减账户关系映射表 #109

Closed ramsayleung closed 1 year ago

ramsayleung commented 1 year ago

Description

更新文档中 targetAccountmethodAccount 的增减账户关系映射表,

从逻辑上讲, defaultCashAccounttargetAccount 是由用户配置的值,是属于变量; 而 plusAccountminusAccount 属于每笔交易的固有属性, 因此将固有属性 plusAccountminusAccount 作为表头, 变量作为随「收/支」而变化的值会让逻辑更清晰

Motivation and Context

https://github.com/deb-sig/double-entry-generator/discussions/103

Dependencies

None

Type of change

Please delete options that are not relevant.

How has this been tested?

  1. All CI task passed
  2. 账户的对应关系逻辑上保持一致

Is this change properly documented?

YES

Don't forget to add an entry to the CHANGELOG/README if necessary (new features, breaking changes, relevant internal improvements).

gaocegege commented 1 year ago

LGTM

Thanks for your contribution! :tada: :+1: