mirror of
https://github.com/ForgeFlow/stock-rma.git
synced 2025-01-21 12:57:49 +02:00
[FIX] Delete rma_picking_wizard_item on cascade to avoid failure
This commit is contained in:
committed by
JasminSForgeFlow
parent
01bb5f3285
commit
fbf2881b76
@@ -264,7 +264,9 @@ class RmaMakePickingItem(models.TransientModel):
|
|||||||
_name = "rma_make_picking.wizard.item"
|
_name = "rma_make_picking.wizard.item"
|
||||||
_description = "Items to receive"
|
_description = "Items to receive"
|
||||||
|
|
||||||
wiz_id = fields.Many2one("rma_make_picking.wizard", string="Wizard", required=True)
|
wiz_id = fields.Many2one(
|
||||||
|
"rma_make_picking.wizard", string="Wizard", required=True, ondelete="cascade"
|
||||||
|
)
|
||||||
line_id = fields.Many2one(
|
line_id = fields.Many2one(
|
||||||
"rma.order.line", string="RMA order Line", ondelete="cascade"
|
"rma.order.line", string="RMA order Line", ondelete="cascade"
|
||||||
)
|
)
|
||||||
|
|||||||
Reference in New Issue
Block a user