metafresh logo and link to homepage

IT FRESH-648

#366 Faulty unique constraint on M_PriceList

Testcase to check the unique constraint for pricelists is working correctly.

  1. Open pricelist CP, check the country

  2. Create a new pricelist, with the same country, but don’t check “Verkaufspreisliste”, save:
  3. Create another new pricelist, try to set the same country:
  4. Set another country (choose from list / use autocomplete), save:
  5. Copy the first sales pricelist, with the country, try to save:
  6. In the 2nd pricelist, for purchase, check “Verkaufspreisliste”:

Zur Quelldatei auf github.com