agdsn / pycroft

The AG DSN management system
Apache License 2.0
21 stars 9 forks source link

Finance account constraints too lenient #38

Open lukasjuhrich opened 8 years ago

lukasjuhrich commented 8 years ago

Redmine metadata

Attribute Value
done_ratio 0
status Feedback
start_date 2015/10/28
created_on 2015/10/28 02:54:54 +0100
author @mueslo
priority High
updated_on 2016/09/18 19:55:50 +0200
tracker Bug
asigned_to None

Constraints that are currently not fulfilled, but should be:

The first point is very relevant. Right now you can create transactions for a bank finance account that are not referenced by a journal entry, both in the front end and the back end.

I propose a back end fix by subclassing FinanceAccount to get the following hierachical inheritance structure.

This issue has been automatically imported from redmine on 2016-09-28 19:09:43.372990

lukasjuhrich commented 8 years ago

Redmine metadata

Attribute Value
created_on 2015/10/28 03:08:00 +0100
user @mueslo

Or possibly even

and a CapitalTransaction

This comment has been automatically imported from redmine on 2016-09-28 19:09:46.073992