From 51adb80fadf981b1b8a37b7c52a045eb2cd30efd Mon Sep 17 00:00:00 2001 From: Anna Janiszewska Date: Mon, 20 Jun 2022 08:12:51 +0200 Subject: [PATCH] fixup! fixup! fix stock move --- stock_picking_invoice_link/models/account_move.py | 3 --- stock_picking_invoice_link/models/stock_picking.py | 3 --- 2 files changed, 6 deletions(-) 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):