From 399a87d7c400a4efe20f4cd46ca73798b175880a Mon Sep 17 00:00:00 2001 From: Quentin Dupont Date: Mon, 6 Jan 2025 16:35:16 +0100 Subject: [PATCH] [REF] remove description_packaging (dedicated module) + move field in bom view --- mrp_business/__init__.py | 1 - mrp_business/__manifest__.py | 3 --- mrp_business/models/__init__.py | 1 - mrp_business/models/mrp_bom.py | 14 -------------- mrp_business/readme/ROADMAP.rst | 3 ++- mrp_business/views/view_mrp_bom.xml | 23 ----------------------- 6 files changed, 2 insertions(+), 43 deletions(-) delete mode 100644 mrp_business/models/__init__.py delete mode 100644 mrp_business/models/mrp_bom.py delete mode 100644 mrp_business/views/view_mrp_bom.xml diff --git a/mrp_business/__init__.py b/mrp_business/__init__.py index 0650744f..e69de29b 100644 --- a/mrp_business/__init__.py +++ b/mrp_business/__init__.py @@ -1 +0,0 @@ -from . import models diff --git a/mrp_business/__manifest__.py b/mrp_business/__manifest__.py index cc7abde9..c1d7dd2e 100644 --- a/mrp_business/__manifest__.py +++ b/mrp_business/__manifest__.py @@ -18,8 +18,5 @@ "demo/product.xml", "demo/bom.xml", ], - "data": [ - "views/view_mrp_bom.xml", - ], "installable": True, } diff --git a/mrp_business/models/__init__.py b/mrp_business/models/__init__.py deleted file mode 100644 index a352efe9..00000000 --- a/mrp_business/models/__init__.py +++ /dev/null @@ -1 +0,0 @@ -from . import mrp_bom diff --git a/mrp_business/models/mrp_bom.py b/mrp_business/models/mrp_bom.py deleted file mode 100644 index e39ea7ae..00000000 --- a/mrp_business/models/mrp_bom.py +++ /dev/null @@ -1,14 +0,0 @@ -# Copyright (C) 2022 - Today: GRAP (http://www.grap.coop) -# @author: Quentin DUPONT (quentin.dupont@grap.coop) -# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html). - -from odoo import fields, models - - -class MrpBom(models.Model): - _inherit = "mrp.bom" - - # Column Section - description_packaging = fields.Char(string="Packaging description") - - # Second placeholder diff --git a/mrp_business/readme/ROADMAP.rst b/mrp_business/readme/ROADMAP.rst index d4c93842..7cba8997 100644 --- a/mrp_business/readme/ROADMAP.rst +++ b/mrp_business/readme/ROADMAP.rst @@ -1 +1,2 @@ -* Description_packaging → find OCA module ? \ No newline at end of file +* Migrate mrp_meal_category in product_template +* Create dedicated module mrp_bom_print + mrp_business = mrp_bom_report_allergen, see task [1249](https://erp.grap.coop/web#id=1249&action=2148&active_id=40&model=project.task&view_type=form&menu_id=1673) diff --git a/mrp_business/views/view_mrp_bom.xml b/mrp_business/views/view_mrp_bom.xml deleted file mode 100644 index e0f0004c..00000000 --- a/mrp_business/views/view_mrp_bom.xml +++ /dev/null @@ -1,23 +0,0 @@ - - - - - - - - - - mrp.bom - - - - - - - - -