From 5b1af4b27c1a66296fa973d541ea03bde750d9f5 Mon Sep 17 00:00:00 2001 From: Sylvain LE GAL Date: Fri, 22 Nov 2024 21:30:14 +0100 Subject: [PATCH] [REM] grap_custom_import_product_pos --- grap_custom_import_product_pos/README.rst | 64 ------------------- grap_custom_import_product_pos/__init__.py | 1 - .../__manifest__.py | 17 ----- .../models/__init__.py | 1 - .../models/pos_category.py | 10 --- .../readme/CONTRIBUTORS.rst | 1 - .../readme/DESCRIPTION.rst | 1 - .../tests/__init__.py | 1 - .../tests/templates/product/product.csv | 2 - .../tests/test_module.py | 32 ---------- .../addons/grap_custom_import_product_pos | 1 - setup/grap_custom_import_product_pos/setup.py | 6 -- 12 files changed, 137 deletions(-) delete mode 100644 grap_custom_import_product_pos/README.rst delete mode 100644 grap_custom_import_product_pos/__init__.py delete mode 100644 grap_custom_import_product_pos/__manifest__.py delete mode 100644 grap_custom_import_product_pos/models/__init__.py delete mode 100644 grap_custom_import_product_pos/models/pos_category.py delete mode 100644 grap_custom_import_product_pos/readme/CONTRIBUTORS.rst delete mode 100644 grap_custom_import_product_pos/readme/DESCRIPTION.rst delete mode 100644 grap_custom_import_product_pos/tests/__init__.py delete mode 100644 grap_custom_import_product_pos/tests/templates/product/product.csv delete mode 100644 grap_custom_import_product_pos/tests/test_module.py delete mode 120000 setup/grap_custom_import_product_pos/odoo/addons/grap_custom_import_product_pos delete mode 100644 setup/grap_custom_import_product_pos/setup.py diff --git a/grap_custom_import_product_pos/README.rst b/grap_custom_import_product_pos/README.rst deleted file mode 100644 index d1df468..0000000 --- a/grap_custom_import_product_pos/README.rst +++ /dev/null @@ -1,64 +0,0 @@ -==================================================================== -GRAP - Custom Import Product Supplierinfo Quantity Multiplier Module -==================================================================== - -.. - !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! - !! This file is generated by oca-gen-addon-readme !! - !! changes will be overwritten. !! - !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! - !! source digest: sha256:9b8df078c1fb893b68650c2ee64e375d840edd6d1f8f7bfdb0f1a4da37012215 - !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! - -.. |badge1| image:: https://img.shields.io/badge/maturity-Beta-yellow.png - :target: https://odoo-community.org/page/development-status - :alt: Beta -.. |badge2| image:: https://img.shields.io/badge/licence-AGPL--3-blue.png - :target: http://www.gnu.org/licenses/agpl-3.0-standalone.html - :alt: License: AGPL-3 -.. |badge3| image:: https://img.shields.io/badge/github-grap%2Fgrap--odoo--import-lightgray.png?logo=github - :target: https://github.com/grap/grap-odoo-import/tree/16.0/grap_custom_import_product_supplierinfo_qty_multiplier - :alt: grap/grap-odoo-import - -|badge1| |badge2| |badge3| - -This module improve the "import" features provided by Odoo. - -* ``product.product``: - - * Allow to recover ``multiplier_qty`` field in the supplier info level. - -**Table of contents** - -.. contents:: - :local: - -Bug Tracker -=========== - -Bugs are tracked on `GitHub Issues `_. -In case of trouble, please check there if your issue has already been reported. -If you spotted it first, help us to smash it by providing a detailed and welcomed -`feedback `_. - -Do not contact contributors directly about support or help with technical issues. - -Credits -======= - -Authors -~~~~~~~ - -* GRAP - -Contributors -~~~~~~~~~~~~ - -* Sylvain LE GAL - -Maintainers -~~~~~~~~~~~ - -This module is part of the `grap/grap-odoo-import `_ project on GitHub. - -You are welcome to contribute. diff --git a/grap_custom_import_product_pos/__init__.py b/grap_custom_import_product_pos/__init__.py deleted file mode 100644 index 0650744..0000000 --- a/grap_custom_import_product_pos/__init__.py +++ /dev/null @@ -1 +0,0 @@ -from . import models diff --git a/grap_custom_import_product_pos/__manifest__.py b/grap_custom_import_product_pos/__manifest__.py deleted file mode 100644 index 4fcb51e..0000000 --- a/grap_custom_import_product_pos/__manifest__.py +++ /dev/null @@ -1,17 +0,0 @@ -# Copyright (C) 2019 - Today: GRAP (http://www.grap.coop) -# @author: Sylvain LE GAL (https://twitter.com/legalsylvain) -# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html). - -{ - "name": "GRAP - Custom Product Import - Point Of Sale Module", - "summary": "Extra GRAP Tools to import product data for" - " Point of sale module", - "version": "16.0.1.0.0", - "category": "Tools", - "author": "GRAP", - "website": "https://github.com/grap/grap-odoo-import", - "license": "AGPL-3", - "depends": ["grap_custom_import_product", "point_of_sale"], - "auto_install": True, - "installable": True, -} diff --git a/grap_custom_import_product_pos/models/__init__.py b/grap_custom_import_product_pos/models/__init__.py deleted file mode 100644 index 9a1a22a..0000000 --- a/grap_custom_import_product_pos/models/__init__.py +++ /dev/null @@ -1 +0,0 @@ -from . import pos_category diff --git a/grap_custom_import_product_pos/models/pos_category.py b/grap_custom_import_product_pos/models/pos_category.py deleted file mode 100644 index b2e3474..0000000 --- a/grap_custom_import_product_pos/models/pos_category.py +++ /dev/null @@ -1,10 +0,0 @@ -# Copyright (C) 2024 - Today: GRAP (http://www.grap.coop) -# @author: Sylvain LE GAL (https://twitter.com/legalsylvain) -# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html). - -from odoo import fields, models - - -class PosCategory(models.Model): - _name = "pos.category" - _inherit = ["pos.category", "custom.import.create.recursive.mixin"] diff --git a/grap_custom_import_product_pos/readme/CONTRIBUTORS.rst b/grap_custom_import_product_pos/readme/CONTRIBUTORS.rst deleted file mode 100644 index 9f76a75..0000000 --- a/grap_custom_import_product_pos/readme/CONTRIBUTORS.rst +++ /dev/null @@ -1 +0,0 @@ -* Sylvain LE GAL diff --git a/grap_custom_import_product_pos/readme/DESCRIPTION.rst b/grap_custom_import_product_pos/readme/DESCRIPTION.rst deleted file mode 100644 index 30404ce..0000000 --- a/grap_custom_import_product_pos/readme/DESCRIPTION.rst +++ /dev/null @@ -1 +0,0 @@ -TODO \ No newline at end of file diff --git a/grap_custom_import_product_pos/tests/__init__.py b/grap_custom_import_product_pos/tests/__init__.py deleted file mode 100644 index d9b96c4..0000000 --- a/grap_custom_import_product_pos/tests/__init__.py +++ /dev/null @@ -1 +0,0 @@ -from . import test_module diff --git a/grap_custom_import_product_pos/tests/templates/product/product.csv b/grap_custom_import_product_pos/tests/templates/product/product.csv deleted file mode 100644 index 8595dec..0000000 --- a/grap_custom_import_product_pos/tests/templates/product/product.csv +++ /dev/null @@ -1,2 +0,0 @@ -name,uom_id,categ_id,barcode,list_price,grap_import_supplier_name,grap_import_supplier_product_code,grap_import_supplier_product_name,grap_import_supplier_gross_price,grap_import_supplier_min_qty,grap_import_supplier_multiplier_qty -Mention Good (Late chocolate),Units,All / Saleable,3222472195092,2.29,Ready Mat,GOOD,MENTION GOOD,1.98,2,24 diff --git a/grap_custom_import_product_pos/tests/test_module.py b/grap_custom_import_product_pos/tests/test_module.py deleted file mode 100644 index e9c12ab..0000000 --- a/grap_custom_import_product_pos/tests/test_module.py +++ /dev/null @@ -1,32 +0,0 @@ -# Copyright (C) 2024 - Today: GRAP (http://www.grap.coop) -# @author: Sylvain LE GAL (https://twitter.com/legalsylvain) -# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html). - -from odoo.tests import tagged - -from odoo.addons.grap_custom_import_product.tests.test_module import TestModuleProduct - - -@tagged("post_install", "-at_install") -class TestModuleProductPos(TestModuleProduct): - @classmethod - def setUpClass(cls): - super().setUpClass() - cls.ProductProduct = cls.env["product.product"] - - # def _test_import_product_supplierinfo_qty_multiplier(self, model): - # products, messages = self._test_import_file( - # "grap_custom_import_product_supplierinfo_qty_multiplier", - # model, - # "product.csv", - # folder="product", - # ) - # self.assertFalse(messages) - # self.assertEqual(len(products), 1) - # self.assertEqual(products.mapped("seller_ids.multiplier_qty"), [24.0]) - - # def test_01_import_product_supplierinfo_qty_multiplier_product(self): - # self._test_import_product_supplierinfo_qty_multiplier("product.product") - - # def test_02_import_product_supplierinfo_qty_multiplier_template(self): - # self._test_import_product_supplierinfo_qty_multiplier("product.template") diff --git a/setup/grap_custom_import_product_pos/odoo/addons/grap_custom_import_product_pos b/setup/grap_custom_import_product_pos/odoo/addons/grap_custom_import_product_pos deleted file mode 120000 index 436c034..0000000 --- a/setup/grap_custom_import_product_pos/odoo/addons/grap_custom_import_product_pos +++ /dev/null @@ -1 +0,0 @@ -../../../../grap_custom_import_product_pos \ No newline at end of file diff --git a/setup/grap_custom_import_product_pos/setup.py b/setup/grap_custom_import_product_pos/setup.py deleted file mode 100644 index 28c57bb..0000000 --- a/setup/grap_custom_import_product_pos/setup.py +++ /dev/null @@ -1,6 +0,0 @@ -import setuptools - -setuptools.setup( - setup_requires=['setuptools-odoo'], - odoo_addon=True, -)