diff --git a/import_bill_of_materials_in_mrp/README.rst b/import_bill_of_materials_in_mrp/README.rst index d9e09db2f..d4738601c 100644 --- a/import_bill_of_materials_in_mrp/README.rst +++ b/import_bill_of_materials_in_mrp/README.rst @@ -2,8 +2,8 @@ :target: http://www.gnu.org/licenses/lgpl-3.0-standalone.html :alt: License: LGPL-3 -Import Bill Of Materials -======================== +Import Bill Of Materials from CSV or Excel in Odoo +================================================== Import Bill Of Materials using CSV or Excel files Configuration @@ -17,7 +17,7 @@ Company License ------- General Public License, Version 3 (LGPL v3). -(https://www.odoo.com/documentation/user/17.0/legal/licenses/licenses.html) +(https://www.odoo.com/documentation/user/16.0/legal/licenses/licenses.html) Credits ------- diff --git a/import_bill_of_materials_in_mrp/__manifest__.py b/import_bill_of_materials_in_mrp/__manifest__.py index d36f66f5c..2aed7e876 100644 --- a/import_bill_of_materials_in_mrp/__manifest__.py +++ b/import_bill_of_materials_in_mrp/__manifest__.py @@ -21,7 +21,7 @@ ############################################################################# { 'name': 'Import Bill Of Materials', - 'version': '16.0.1.0.0', + 'version': '16.0.1.1.1', 'category': 'Manufacturing', 'summary': """Import Bill of materials using CSV, Excel file""", 'description': 'Using this module we can import bom by searching' diff --git a/import_bill_of_materials_in_mrp/doc/RELEASE_NOTES.md b/import_bill_of_materials_in_mrp/doc/RELEASE_NOTES.md index 86f4d4a92..767402477 100644 --- a/import_bill_of_materials_in_mrp/doc/RELEASE_NOTES.md +++ b/import_bill_of_materials_in_mrp/doc/RELEASE_NOTES.md @@ -1,6 +1,6 @@ ## Module #### 03.04.2024 -#### Version 16.0.1.0.0 +#### Version 16.0.1.1.1 #### ADD - Initial commit for Import Bill Of Materials diff --git a/import_bill_of_materials_in_mrp/static/download/import_bom_excel.xlsx b/import_bill_of_materials_in_mrp/static/download/import_bom_excel.xlsx index 3f67be2a8..304750782 100644 Binary files a/import_bill_of_materials_in_mrp/static/download/import_bom_excel.xlsx and b/import_bill_of_materials_in_mrp/static/download/import_bom_excel.xlsx differ diff --git a/import_bill_of_materials_in_mrp/wizards/bom_import.py b/import_bill_of_materials_in_mrp/wizards/bom_import.py index e53262f0d..50697fe98 100644 --- a/import_bill_of_materials_in_mrp/wizards/bom_import.py +++ b/import_bill_of_materials_in_mrp/wizards/bom_import.py @@ -23,7 +23,6 @@ import binascii import tempfile import certifi import urllib3 -import xlrd from odoo import models, fields, _ import csv import base64 @@ -159,8 +158,6 @@ class BomImportWizard(models.TransientModel): try: file_string = tempfile.NamedTemporaryFile(suffix=".xlsx") file_string.write(binascii.a2b_base64(self.file)) - book = xlrd.open_workbook(file_string.name) - book.sheet_by_index(0) urllib3.PoolManager(cert_reqs='CERT_REQUIRED', ca_certs=certifi.where()) except: diff --git a/import_bill_of_materials_in_mrp/wizards/bom_import_views.xml b/import_bill_of_materials_in_mrp/wizards/bom_import_views.xml index d12230347..74e9b4383 100644 --- a/import_bill_of_materials_in_mrp/wizards/bom_import_views.xml +++ b/import_bill_of_materials_in_mrp/wizards/bom_import_views.xml @@ -23,12 +23,12 @@