Item Tax imported using Data Import tool not taking effect till each item opened in item doctype

ERPNext: v11.0.3-beta.32 () (staging)

Frappe Framework: v11.0.3-beta.46 () (staging)

  1. I imported the items with item tax set to 0%. Default item tax is 18%.
  2. bench restart done
  3. bench clear-cache done
  4. User menu Reload done

Item based tax doesn’t take effect until I open link of Item and close it again!!! Can’t figure out what happens. Redis is out of sync till then?

Item%20Tax%20update%20problem

Any pointers to identify the root cause will help.

Noticed that item_tax_rate is the not loading correctly, probably in /erpnext/stock/get_item_details.py

Left part the dictionary before opening link of the Item
Right part is the dictionary after opening link of the Item.

I copied the dictionary using Chrome console

image

Hope the approach taken is correct.

From: https://github.com/frappe/erpnext/blob/staging/erpnext/stock/get_item_details.py

Just faced the same issue today when doing a bulk import. Has this been resolved? Is there a fix for this now?