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

fix(prices): disable unique key on item labels #1006

Merged

Conversation

jniles
Copy link
Collaborator

@jniles jniles commented Dec 1, 2016

This commit removes the unique key on inventory item labels. This
causes problems when the same item is used in multiple price lists and
the user wants to give the item the same name.

Closes #1004.

Includes a new integration test as proof of work.


Thank you for contributing!

Before submitting this pull request, please verify that you have:

  • Run your code through JSHint. Check out our styleguide.
  • Run integration tests.
  • Run end-to-end tests.
  • Accurately described the changes your are making in this pull request.

For a more detailed checklist, see the official review checklist that this PR will be evaluated against.

Ensuring that the above checkboxes are completed will help speed the review process and help build a stronger application. Thanks!

This commit removes the unique key on inventory item labels.  This
causes problems when the same item is used in multiple price lists and
the user wants to give the item the same name.

Closes Third-Culture-Software#1004.
Copy link
Contributor

@sfount sfount left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM 👍 . Very useful test to prove the database change.

@sfount sfount merged commit faab8d7 into Third-Culture-Software:master Dec 3, 2016
@jniles jniles deleted the fix-price-list-unique-key branch December 3, 2016 20:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants