mirror of
https://github.com/ForgeFlow/stock-rma.git
synced 2025-01-21 12:57:49 +02:00
[FIX] rma: make picking product_uom_qty
This commit is contained in:
@@ -227,7 +227,7 @@ class RmaMakePicking(models.TransientModel):
|
|||||||
)
|
)
|
||||||
move.move_line_ids.write(
|
move.move_line_ids.write(
|
||||||
{
|
{
|
||||||
"product_uom_qty": 1,
|
"reserved_uom_qty": 1,
|
||||||
"qty_done": 0,
|
"qty_done": 0,
|
||||||
}
|
}
|
||||||
)
|
)
|
||||||
@@ -246,7 +246,7 @@ class RmaMakePicking(models.TransientModel):
|
|||||||
"lot_id": move.rma_line_id.lot_id.id,
|
"lot_id": move.rma_line_id.lot_id.id,
|
||||||
"product_uom_id": move.product_id.uom_id.id,
|
"product_uom_id": move.product_id.uom_id.id,
|
||||||
"qty_done": 0,
|
"qty_done": 0,
|
||||||
"product_uom_qty": qty,
|
"reserved_uom_qty": qty,
|
||||||
}
|
}
|
||||||
)
|
)
|
||||||
move_line_model.create(move_line_data)
|
move_line_model.create(move_line_data)
|
||||||
|
|||||||
Reference in New Issue
Block a user