Hi Mattias,
I hope you're ok I'm responding on the mailing-list. This way,
others can read about it in the future.
You mentioned the article name is required to be unique for a
supplier (as defined in app/models/article.rb), and found problems
in at least these cases:
- A wholesale retailer has different units for the same
product (e.g. 350gr and 650gr of peanut butter).
- A wholesale retailer has two brands for a product.
The idea behind requiring a unique name, is that most importantly
the name is shown to the user. If there are two equal products,
this is confusing. Regarding different units, I agree on that, and
in the foodcoop-adam fork we've relaxed that requirement.
Regarding two brands, I think it makes sense to have the brand in
the name, since it is an integral part of recognising the product,
and is shown only in a popup.
What do you think?
- Willem