ensure object storage products correctly added to category mapping

Change-Id: I197b31985216bc7e3c78c9d6b05b5cd28d8e4e66
This commit is contained in:
Adrian Turjak 2020-03-05 14:28:15 +13:00
parent 101bd69aee
commit 74f06c5a2a
1 changed files with 1 additions and 0 deletions

View File

@ -172,6 +172,7 @@ class OdooDriver(driver.BaseDriver):
for product in products:
category = product['categ_id'][1].split('/')[-1].strip()
self.product_category_mapping[product['id']] = category
name = product['name_template'].lower()