Skip to content
Snippets Groups Projects
Commit edfd7845 authored by Sebastian Pongratz's avatar Sebastian Pongratz :ping_pong:
Browse files

Merge branch '2021.0_1076616_fix_getPriceListToUse' into '2021.0'

[Projekt: xRM-Sales][TicketNr.: 1076616][Angebot - Firmenspezifische...

See merge request xrm/basic!748
parents 48176081 e8fb3e25
No related branches found
No related tags found
No related merge requests found
......@@ -296,7 +296,7 @@ ProductUtils.getProductDetails = function(pid, pPriceListFilter, pAdditionalProd
for (var list in priceLists)
{
//customer deposited price list (defined by Attribute)
if (priceListFilter.priceList != "" && priceListFilter.priceList != null)
if (priceListFilter.priceList)
{
// use if it has the correct pricelist ("-type"). e.g: PRICELISTSERVICE, PRICELISTSPECIAL, PRICELISTKEY, PRICELISTDEFAULT
if (priceLists[list]["priceList"] == priceListFilter.priceList)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment