Skip to content

Commit

Permalink
[FIX] repair_picking_after_done: field picking_id copy=False in order…
Browse files Browse the repository at this point in the history
… to be able to create transfers if a repair is duplicated
  • Loading branch information
AlexPForgeFlow committed Nov 3, 2023
1 parent b06af65 commit a533837
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion repair_picking_after_done/models/repair.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
class Repair(models.Model):
_inherit = "repair.order"

picking_ids = fields.Many2many("stock.picking", string="Transfers")
picking_ids = fields.Many2many("stock.picking", string="Transfers", copy=False)
remaining_quantity = fields.Float(
"Remaining quantity to be transferred", compute="_compute_remaining_quantity"
)
Expand Down

0 comments on commit a533837

Please sign in to comment.