diff --git a/stock_picking_invoice_link/models/account_move.py b/stock_picking_invoice_link/models/account_move.py index 56b8c7b43241..16714300bf69 100644 --- a/stock_picking_invoice_link/models/account_move.py +++ b/stock_picking_invoice_link/models/account_move.py @@ -16,9 +16,6 @@ class AccountMove(models.Model): string="Related Pickings", store=True, compute="_compute_picking_ids", - relation="account_invoice_stock_picking_rel", - column1="account_invoice_id", - column2="stock_picking_id", help="Related pickings " "(only when the invoice has been generated from a sale order).", ) diff --git a/stock_picking_invoice_link/models/stock_picking.py b/stock_picking_invoice_link/models/stock_picking.py index f9a2c2940e22..ec7a9c7dc65c 100644 --- a/stock_picking_invoice_link/models/stock_picking.py +++ b/stock_picking_invoice_link/models/stock_picking.py @@ -15,9 +15,6 @@ class StockPicking(models.Model): copy=False, string="Invoices", readonly=True, - relation="account_invoice_stock_picking_rel", - column1="stock_picking_id", - column2="account_invoice_id", ) def action_view_invoice(self):