for example I want to update the price of products with a price of zero dollars to 100.
for price_list_items in (self.env['product.pricelist.item'].search_read([], [])):
if price_list_items.price == 0:
price_list_items.price = 100
But It's not working.
AttributeError: 'dict' object has no attribute 'price'
How can I make such a update like this ?