product_update_price_last_purchase: clean logger
This commit is contained in:
parent
39dd06bacc
commit
ed2cab2b15
1 changed files with 0 additions and 1 deletions
|
|
@ -18,7 +18,6 @@ class StockMove(models.Model):
|
||||||
def product_price_update_before_done(self):
|
def product_price_update_before_done(self):
|
||||||
res = super(StockMove, self).product_price_update_before_done()
|
res = super(StockMove, self).product_price_update_before_done()
|
||||||
for move in self.filtered(lambda move: move.location_id.usage == "supplier"):
|
for move in self.filtered(lambda move: move.location_id.usage == "supplier"):
|
||||||
_logger.warning("move: %s" % move)
|
|
||||||
if (
|
if (
|
||||||
move.product_id.last_purchase_price_received_compute_type
|
move.product_id.last_purchase_price_received_compute_type
|
||||||
== "with_three_discounts"
|
== "with_three_discounts"
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue