mirror of
https://github.com/OCA/stock-logistics-warehouse.git
synced 2025-01-21 14:27:28 +02:00
[FIX] pylint
This commit is contained in:
committed by
Jordi Ballester Alomar
parent
b8b7d906eb
commit
67c4800388
@@ -180,7 +180,8 @@ class StockInventoryRevaluation(models.Model):
|
||||
@api.depends("product_template_id", "product_template_id.standard_price")
|
||||
def _calc_current_cost(self):
|
||||
for revaluation in self:
|
||||
revaluation.current_cost = revaluation.product_template_id.standard_price
|
||||
revaluation.current_cost = \
|
||||
revaluation.product_template_id.standard_price
|
||||
|
||||
@api.multi
|
||||
@api.constrains('product_template_id', 'company_id')
|
||||
|
||||
Reference in New Issue
Block a user