diff options
| author | nans <nans.lefebvre@acsone.eu> | 2020-10-22 10:24:52 +0000 |
|---|---|---|
| committer | nans <nans.lefebvre@acsone.eu> | 2020-11-02 11:28:09 +0000 |
| commit | 425bcdf0ff5989720ade194913ff920cba62d146 (patch) | |
| tree | 3793e72114385cd1c8f0b00cef79983c3655239c /addons/product | |
| parent | 49caedfb7d9349eb0a3df7278c7548c5683352b2 (diff) | |
[FIX] product: remove unused confusing variable
This variable has been unused since commit f3d6a54e36a.
opw 2368733
closes odoo/odoo#61137
X-original-commit: 563253a8303723e3eb4217005bf518fdf6b3f9e3
Signed-off-by: Nicolas Martinelli (nim) <nim@odoo.com>
Diffstat (limited to 'addons/product')
| -rw-r--r-- | addons/product/models/product_pricelist.py | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/addons/product/models/product_pricelist.py b/addons/product/models/product_pricelist.py index 6b509a5b384..aa2c0e844dc 100644 --- a/addons/product/models/product_pricelist.py +++ b/addons/product/models/product_pricelist.py @@ -174,7 +174,6 @@ class Pricelist(models.Model): # which case the price_uom_id contains that UoM. # The final price will be converted to match `qty_uom_id`. qty_uom_id = self._context.get('uom') or product.uom_id.id - price_uom_id = product.uom_id.id qty_in_product_uom = qty if qty_uom_id != product.uom_id.id: try: |
