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

Handling of multiple values for one Quantity #106

Closed
yeganer opened this issue Jul 7, 2017 · 0 comments
Closed

Handling of multiple values for one Quantity #106

yeganer opened this issue Jul 7, 2017 · 0 comments

Comments

@yeganer
Copy link
Contributor

yeganer commented Jul 7, 2017

Currently we can associate multiple Quantities with one object, for example a line. In practice this might be useful when there is a theoretical and a measured value. However the current model makes interacting with the database very difficult.

I propose to change all relationships with quantities to One-to-One relationships as part of the Quantity rework that should be coming. One could then add both, a measured and a theoretical value, to the same quantity.
Then one could include the logic to decide which value should be used by default at one place and would not have to duplicate it several times.

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

No branches or pull requests

2 participants