From ebd6003f08a91dc92a815aab412bc1875cbdb734 Mon Sep 17 00:00:00 2001 From: Alexis de Lattre Date: Fri, 31 Jan 2025 16:19:31 +0000 Subject: [PATCH] [IMP] sale_usability: remove dead code that odoo bug #179392 is fixed --- sale_usability/__init__.py | 1 - sale_usability/wizards/__init__.py | 1 - .../wizards/sale_invoice_discount_all_lines.py | 13 ------------- 3 files changed, 15 deletions(-) delete mode 100644 sale_usability/wizards/__init__.py delete mode 100644 sale_usability/wizards/sale_invoice_discount_all_lines.py diff --git a/sale_usability/__init__.py b/sale_usability/__init__.py index aee8895..0650744 100644 --- a/sale_usability/__init__.py +++ b/sale_usability/__init__.py @@ -1,2 +1 @@ from . import models -from . import wizards diff --git a/sale_usability/wizards/__init__.py b/sale_usability/wizards/__init__.py deleted file mode 100644 index a51d7d4..0000000 --- a/sale_usability/wizards/__init__.py +++ /dev/null @@ -1 +0,0 @@ -from . import sale_invoice_discount_all_lines diff --git a/sale_usability/wizards/sale_invoice_discount_all_lines.py b/sale_usability/wizards/sale_invoice_discount_all_lines.py deleted file mode 100644 index 9728cdd..0000000 --- a/sale_usability/wizards/sale_invoice_discount_all_lines.py +++ /dev/null @@ -1,13 +0,0 @@ -# Copyright 2022 Akretion France (http://www.akretion.com/) -# @author: Alexis de Lattre -# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). - -from odoo import models, fields - - -class SaleInvoiceDiscountAllLines(models.TransientModel): - _name = 'sale.invoice.discount.all.lines' - _description = 'None' - # Remove because this feature is now mostly native - # TODO 04/07/2024 remove later to avoid ORM bug: it crashes when reloading module - # KeyError: 'sale.invoice.discount.all.lines'