Skip to content

Commit

Permalink
[FIX] rma: vendor rma lot mnmg
Browse files Browse the repository at this point in the history
  • Loading branch information
AaronHForgeFlow committed Jul 12, 2024
1 parent 7dfa425 commit 2c9a213
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions rma/wizards/rma_make_picking.py
Original file line number Diff line number Diff line change
Expand Up @@ -232,8 +232,6 @@ def action_create_picking(self):
)
move.move_line_ids.write(
{
"reserved_uom_qty": 1 if picking_type == "incoming" else 0,
"qty_done": 0,
"package_id": len(quants) == 1 and quants.package_id.id,
}
)
Expand All @@ -252,8 +250,7 @@ def action_create_picking(self):
{
"lot_id": move.rma_line_id.lot_id.id,
"product_uom_id": move.product_id.uom_id.id,
"qty_done": 0,
"reserved_uom_qty": qty if picking_type == "incoming" else 0,
"quantity": qty,
}
)
move_line_model.create(move_line_data)
Expand Down

0 comments on commit 2c9a213

Please sign in to comment.