From 4b5c6f511857f351ec9bd7a607aa13de35eef524 Mon Sep 17 00:00:00 2001 From: Alfredo Date: Mon, 21 Oct 2024 07:59:23 +0200 Subject: [PATCH] [IMP] crm_claim_links: In stock picking "Claim" field with copy=True. --- crm_claim_links/models/stock_picking.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crm_claim_links/models/stock_picking.py b/crm_claim_links/models/stock_picking.py index 18eed386..0eebcbf0 100644 --- a/crm_claim_links/models/stock_picking.py +++ b/crm_claim_links/models/stock_picking.py @@ -7,7 +7,7 @@ class StockPicking(models.Model): _inherit = "stock.picking" - claim_id = fields.Many2one(string="Claim", comodel_name="crm.claim", copy=False) + claim_id = fields.Many2one(string="Claim", comodel_name="crm.claim", copy=True) def action_stock_return_picking(self): context = self.env.context.copy()