[FIX] stock_account: remove useless descriptions

closes odoo/odoo#39067

X-original-commit: e398db8783c2c88ffbb571b14758281ba6f382d1
Signed-off-by: Simon Lejeune (sle) <sle@openerp.com>
This commit is contained in:
William Henrotin
2019-10-19 07:33:19 +00:00
committed by fw-bot
parent de1e2cf038
commit cf6e8e412c
2 changed files with 1 additions and 2 deletions
-1
View File
@@ -375,7 +375,6 @@ class ProductProduct(models.Model):
'unit_cost': 0,
'quantity': 0,
'remaining_qty': 0,
'description': 'vacuum',
'stock_move_id': move.id,
'company_id': move.company_id.id,
'description': 'Revaluation of %s (negative inventory)' % move.picking_id.name or move.name,
@@ -24,7 +24,7 @@ class StockValuationLayer(models.Model):
unit_cost = fields.Monetary('Unit Value', readonly=True)
value = fields.Monetary('Total Value', readonly=True)
remaining_qty = fields.Float(digits=0, readonly=True)
remaining_value = fields.Monetary('remaining_value Value', readonly=True)
remaining_value = fields.Monetary('Remaining Value', readonly=True)
description = fields.Char('Description', readonly=True)
stock_valuation_layer_id = fields.Many2one('stock.valuation.layer', 'Linked To', readonly=True, check_company=True)
stock_valuation_layer_ids = fields.One2many('stock.valuation.layer', 'stock_valuation_layer_id')