alyf-de / banking

An Open Banking Integration with ERPNext
GNU General Public License v3.0
38 stars 18 forks source link

[architecture] separate consent from bank #13

Closed barredterra closed 1 year ago

barredterra commented 1 year ago

Currently, consent is stored in the Bank DocType.

In a multi company setup, companies might have accounts at the same bank, each needing separate consent. Therefore, I think we should separate consent into its own DocType (similar to Token Cache in the Frappe Framework).