Yetiforcecrm: Issue with unit price when import of products

Created on 23 Aug 2018  ·  15Comments  ·  Source: YetiForceCompany/YetiForceCRM

Issue

Import of products. The imported currency is not correct.

Actual Behavior

Imported products from CSV file. They contain different kind of fields: text, currency, figures etc. Only one currency is available in the system. (second currency was deleted due to failures at the first import try).
I have RUB in the system, but imported products have EUR. There is no EUR currency in the system anymore.

Expected Behavior

  1. After import of the data, the system selected currency should apear.
  2. Or the possibility to bulk change the currency of the products. In this case, there is no available currencies apear.

How to trigger the error

  1. Go to products --> Select import
  2. Finish import, without failures.
  3. List of products --> the currency is not correct.
  4. choose product --> edit product --> no currencies are available to be selected.

Screenshot of configuration

screenshot_2018-08-23 server configuration system settings 2
screenshot_2018-08-23 server configuration system settings 3
screenshot_2018-08-23 server configuration system settings
screenshot_2018-08-23 server configuration system settings 1

#### PHP/Apache/Browser Logs
-

Your Environment

  • YetiForce Version used: 4.4.0
  • Browser name and version: Mozilla Firefox Quantum 61.0.2
  • Environment name and version:
  • Operating System and version:
    screenshot_2018-08-23 server configuration system settings 4


Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.

🐛 bug

Most helpful comment

unit price

All 15 comments

@manwenick maybe this helps:
Set RUB currency by default before import here https://gitdeveloper.yetiforce.com/index.php?parent=Settings&module=Currency&view=List&block=4&fieldid=16

@vovpff thanks for advise!
I deleted the imported products. --> changed the currency to RUB (I deleted EUR and USD completely), then I imported the data again.
Still the same. But I also see two different issues:

  1. On the imported products (after importing) if I try to edit them, there is no currency at all, which I can select to change. See att.
    screenshot_2018-08-23 products edit
  2. On the product, which I added manually I see following:
    screenshot_2018-08-23 products create
    And this is how the system currency values are set:
    screenshot_2018-08-23 currency system settings
    QUESTION: Is there a different db entries for imported products?
    I also have a problem to change the product category as a bulk, which on manually added product works very well:
    screenshot_2018-08-23 products list

Guys, sorry for Russian
@manwenick вы что вообще импортировать пытаетесь? Скиньте сюда пример заголовков и строки вашего CSV?

@vovpff вот пример:
"category";"productname";"usageunit";"unit_price";"taxes";"prod_description_ru";"prod_art_no";"qtyunitsizexs";"qtyunitsizes";"qtyunitsizel";"qtyunitsizem";"qtyunitpossible";"prod_fabric_value";"qtyunitsizeallsize";

@manwenick а саму строку с данными дадите?

@vovpff конечно, если поможет. :)
"03 Брюки";"Брюки коричневое бордо.";"pcs.";"6400.00";"2";"Вельветовые бананы. Мягкие, удобные и сочетаются с практически любым топом!";"031703022";"0";"0";"0";"0";"0";"50% хлопок, 50% вискоза";"0";

@manwenick попробую подумать. А откуда экспортировали?

@vovpff из bitrix24.
Я пробовал по разному модифицировать. И в xml тоже эксопртировал даты из yeti, чтоб пример был, как выглядит один товар. Там в вальте было значение примерно такое: 9600.00000000
Но самой валюты не былл нигде. В битриксе наооборот, с ценой 9600,00 (с разделительной запятой) и в следующем стринге передается валюта. Например >RUB< или >EUR<.
Владимир, я вам по мэйлу писал, когда сервер пытался настроить. Может я там чего-то не доделал. Хотя вроде всё нормально выглядит.
Ник

@manwenick вероятно писали. Я уже не помню.
В общем, я из ваших данных сделал такой файлик
new 12.txt
Только переименовать надо в csv.
Импортирую в gitdev:
image
image
Тут по умолчанию стоит валиюта zl по этому и импортировалось так.
Дальше тот же файл импортирую в свою локальную песочницу:. Валюта по умолчанию рубли. Других валют вообще не имеется в системе.
image
В чем проблема?

@vovpff Я вам на емайл ответ отправил.

@vovpff I tried to import your file also in https://gitdeveloper.yetiforce.com. After importing this product I see the system default currency. BUT if I want to change it there is the same situation with currency. I can't select another currency.
2018-08-24 16_08_32-products edit
2018-08-24 16_07_43-products list

Maybe bug?

unit price

@mariuszkrzaczkowski Hello Mariusz, is there some timeline when this bug will be fixed? I would like to know, when I can start with import of the prods. We have a lot of products. Without this function we can't start. :(
Thank you!

@mariuszkrzaczkowski still no assignment to a milesstone. :(

@vovpff I tried to import your file also in https://gitdeveloper.yetiforce.com. After importing this product I see the system default currency. BUT if I want to change it there is the same situation with currency. I can't select another currency.
2018-08-24 16_08_32-products edit
2018-08-24 16_07_43-products list

Maybe bug?

FIxed in https://github.com/YetiForceCompany/YetiForceCRM/commit/ddaa3c7c5b74561973e552dcde356aad22ff1848

Was this page helpful?
0 / 5 - 0 ratings

Related issues

canomogollon picture canomogollon  ·  3Comments

johntonji picture johntonji  ·  3Comments

rskrzypczak picture rskrzypczak  ·  3Comments

rubysown picture rubysown  ·  3Comments

MacarenaReina picture MacarenaReina  ·  3Comments