set force move date
This commit is contained in:
parent
12a978dd7d
commit
ab4bc377e4
|
|
@ -80,7 +80,6 @@ class StockQuant(models.Model):
|
|||
for quant in self:
|
||||
# Create and validate a move so that the quant matches its `inventory_quantity`.
|
||||
if float_compare(quant.inventory_diff_quantity, 0, precision_rounding=quant.product_uom_id.rounding) > 0:
|
||||
_get_inventory_move_values(qty, location_id, location_dest_id, package_id, package_dest_id)
|
||||
move_vals.append(
|
||||
quant._get_inventory_move_values(quant.inventory_diff_quantity,
|
||||
quant.product_id.with_company(quant.company_id).property_stock_inventory,
|
||||
|
|
|
|||
Loading…
Reference in New Issue