Skip to content
Permalink
Browse files

[FIX] sale: browsing [False] is not a good idea

  • Loading branch information...
rco-odoo committed Apr 25, 2019
1 parent 2b78057 commit 61d1e3e319662d2a339ccd41953258e81844b9f5
Showing with 1 addition and 1 deletion.
  1. +1 −1 addons/product/models/product.py
@@ -307,7 +307,7 @@ def _compute_product_price_extra(self):
def _compute_product_lst_price(self):
to_uom = None
if 'uom' in self._context:
to_uom = self.env['uom.uom'].browse([self._context['uom']])
to_uom = self.env['uom.uom'].browse(self._context['uom'])

for product in self:
if to_uom:

0 comments on commit 61d1e3e

Please sign in to comment.
You can’t perform that action at this time.