diff --git a/advanced_excel_reports/README.rst b/advanced_excel_reports/README.rst deleted file mode 100755 index 9005f93c7..000000000 --- a/advanced_excel_reports/README.rst +++ /dev/null @@ -1,47 +0,0 @@ -.. image:: https://img.shields.io/badge/license-LGPL--3-green.svg - :target: https://www.gnu.org/licenses/lgpl-3.0-standalone.html - :alt: License: LGPL-3 - -Advanced Excel Reports -====================== -This module helps to Print the excel report of the sale,invoice,picking of multiple records - -Configuration -============= -No additional configuration required - -License -------- -General Public License, Version 3 (LGPL v3). -(https://www.gnu.org/licenses/lgpl-3.0-standalone.html) - -Company -------- -* `Cybrosys Techno Solutions `__ - -Credits -------- -Developer: (v18) Ashwin T @cybrosys, Contact: odoo@cybrosys.com - -Contacts --------- -* Mail Contact : odoo@cybrosys.com -* Website : https://cybrosys.com - -Bug Tracker ------------ -Bugs are tracked on GitHub Issues. In case of trouble, please check there if -your issue has already been reported. - -Maintainer -========== -.. image:: https://cybrosys.com/images/logo.png - :target: https://cybrosys.com - -This module is maintained by Cybrosys Technologies. - -For support and more information, please visit `Our Website `__ - -Further information -=================== -HTML Description: ``__ diff --git a/advanced_excel_reports/__init__.py b/advanced_excel_reports/__init__.py deleted file mode 100755 index 50349d36a..000000000 --- a/advanced_excel_reports/__init__.py +++ /dev/null @@ -1,23 +0,0 @@ -# -*- coding: utf-8 -*- -############################################################################# -# -# Cybrosys Technologies Pvt. Ltd. -# -# Copyright (C) 2024-TODAY Cybrosys Technologies() -# Author: Cybrosys Techno Solutions() -# -# You can modify it under the terms of the GNU LESSER -# GENERAL PUBLIC LICENSE (LGPL v3), Version 3. -# -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU LESSER GENERAL PUBLIC LICENSE (LGPL v3) for more details. -# -# You should have received a copy of the GNU LESSER GENERAL PUBLIC LICENSE -# (LGPL v3) along with this program. -# If not, see . -# -############################################################################# -from . import controllers -from . import models diff --git a/advanced_excel_reports/__manifest__.py b/advanced_excel_reports/__manifest__.py deleted file mode 100755 index fdab0ac61..000000000 --- a/advanced_excel_reports/__manifest__.py +++ /dev/null @@ -1,49 +0,0 @@ -# -*- coding: utf-8 -*- -############################################################################# -# -# Cybrosys Technologies Pvt. Ltd. -# -# Copyright (C) 2024-TODAY Cybrosys Technologies() -# Author: Cybrosys Techno Solutions() -# -# You can modify it under the terms of the GNU LESSER -# GENERAL PUBLIC LICENSE (LGPL v3), Version 3. -# -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU LESSER GENERAL PUBLIC LICENSE (LGPL v3) for more details. -# -# You should have received a copy of the GNU LESSER GENERAL PUBLIC LICENSE -# (LGPL v3) along with this program. -# If not, see . -# -############################################################################# -{ - 'name': "Advanced Excel Reports", - "version": "18.0.1.0.0", - "category": "Sale,Accounting,Warehouse", - "summary": """For printing excel reports of multiple records""", - "description": "Print the excel report of the sale,invoice,picking" - " of multiple records", - 'author': 'Cybrosys Techno Solutions', - 'company': 'Cybrosys Techno Solutions', - 'maintainer': 'Cybrosys Techno Solutions', - 'website': "https://www.cybrosys.com", - 'depends': ['sale_management', 'account', 'stock'], - 'data': [ - 'data/ir_action_data.xml' - ], - 'assets': - { - 'web.assets_backend': [ - 'advanced_excel_reports/static/src/js/excel_report.js' - ], - }, - 'images': [ - 'static/description/banner.png'], - 'license': 'LGPL-3', - 'installable': True, - 'auto_install': False, - 'application': False, -} diff --git a/advanced_excel_reports/controllers/__init__.py b/advanced_excel_reports/controllers/__init__.py deleted file mode 100755 index 81eabb7e5..000000000 --- a/advanced_excel_reports/controllers/__init__.py +++ /dev/null @@ -1,22 +0,0 @@ -# -*- coding: utf-8 -*- -############################################################################# -# -# Cybrosys Technologies Pvt. Ltd. -# -# Copyright (C) 2024-TODAY Cybrosys Technologies() -# Author: Cybrosys Techno Solutions() -# -# You can modify it under the terms of the GNU LESSER -# GENERAL PUBLIC LICENSE (LGPL v3), Version 3. -# -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU LESSER GENERAL PUBLIC LICENSE (LGPL v3) for more details. -# -# You should have received a copy of the GNU LESSER GENERAL PUBLIC LICENSE -# (LGPL v3) along with this program. -# If not, see . -# -############################################################################# -from . import advanced_excel_reports diff --git a/advanced_excel_reports/controllers/advanced_excel_reports.py b/advanced_excel_reports/controllers/advanced_excel_reports.py deleted file mode 100755 index 9e84304af..000000000 --- a/advanced_excel_reports/controllers/advanced_excel_reports.py +++ /dev/null @@ -1,54 +0,0 @@ -# -*- coding: utf-8 -*- -############################################################################# -# -# Cybrosys Technologies Pvt. Ltd. -# -# Copyright (C) 2024-TODAY Cybrosys Technologies() -# Author: Cybrosys Techno Solutions() -# -# You can modify it under the terms of the GNU LESSER -# GENERAL PUBLIC LICENSE (LGPL v3), Version 3. -# -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU LESSER GENERAL PUBLIC LICENSE (LGPL v3) for more details. -# -# You should have received a copy of the GNU LESSER GENERAL PUBLIC LICENSE -# (LGPL v3) along with this program. -# If not, see . -# -############################################################################# -import json -from odoo import http -from odoo.http import content_disposition, request -from odoo.tools import html_escape - - -class XLSXReportController(http.Controller): - @http.route('/xlsx_reports', type='http', auth='user', - csrf=False) - def get_report_xlsx(self, model, options, output_format, report_name, - token='ads'): - """ Return data to python file passed from the javascript""" - session_unique_id = request.session.uid - report_object = request.env[model].with_user(session_unique_id) - options = json.loads(options) - try: - if output_format == 'xlsx': - response = request.make_response( - None, - headers=[('Content-Type', 'application/vnd.ms-excel'), ( - 'Content-Disposition', - content_disposition(f"{report_name}.xlsx")) - ] - ) - report_object.get_xlsx_report(options, response) - response.set_cookie('fileToken', token) - return response - except Exception: - error = { - 'code': 200, - 'message': 'Odoo Server Error', - } - return request.make_response(html_escape(json.dumps(error))) diff --git a/advanced_excel_reports/data/ir_action_data.xml b/advanced_excel_reports/data/ir_action_data.xml deleted file mode 100755 index 3b7119afb..000000000 --- a/advanced_excel_reports/data/ir_action_data.xml +++ /dev/null @@ -1,41 +0,0 @@ - - - - - - Sale Order Excel Report - - - list - code - - action = record.print_excel_report() - - - - - Account Invoice Excel Report - - - list - code - - action = record.print_excel_report() - - - - - Picking Excel Report - - - list - code - - action = record.print_excel_report() - - - - diff --git a/advanced_excel_reports/doc/RELEASE_NOTES.md b/advanced_excel_reports/doc/RELEASE_NOTES.md deleted file mode 100755 index 20e5c16ac..000000000 --- a/advanced_excel_reports/doc/RELEASE_NOTES.md +++ /dev/null @@ -1,6 +0,0 @@ -## Module - -#### 10.10.2024 -#### Version 18.0.1.0.0 -#### ADD -- Initial commit for Advanced Excel Reports diff --git a/advanced_excel_reports/models/__init__.py b/advanced_excel_reports/models/__init__.py deleted file mode 100755 index 98eeb0292..000000000 --- a/advanced_excel_reports/models/__init__.py +++ /dev/null @@ -1,24 +0,0 @@ -# -*- coding: utf-8 -*- -############################################################################# -# -# Cybrosys Technologies Pvt. Ltd. -# -# Copyright (C) 2024-TODAY Cybrosys Technologies() -# Author: Cybrosys Techno Solutions() -# -# You can modify it under the terms of the GNU LESSER -# GENERAL PUBLIC LICENSE (LGPL v3), Version 3. -# -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU LESSER GENERAL PUBLIC LICENSE (LGPL v3) for more details. -# -# You should have received a copy of the GNU LESSER GENERAL PUBLIC LICENSE -# (LGPL v3) along with this program. -# If not, see . -# -############################################################################# -from . import account_move -from . import sale_order -from . import stock_picking diff --git a/advanced_excel_reports/models/account_move.py b/advanced_excel_reports/models/account_move.py deleted file mode 100755 index 1e49fc84a..000000000 --- a/advanced_excel_reports/models/account_move.py +++ /dev/null @@ -1,174 +0,0 @@ -# -*- coding: utf-8 -*- -############################################################################# -# -# Cybrosys Technologies Pvt. Ltd. -# -# Copyright (C) 2024-TODAY Cybrosys Technologies() -# Author: Cybrosys Techno Solutions() -# -# You can modify it under the terms of the GNU LESSER -# GENERAL PUBLIC LICENSE (LGPL v3), Version 3. -# -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU LESSER GENERAL PUBLIC LICENSE (LGPL v3) for more details. -# -# You should have received a copy of the GNU LESSER GENERAL PUBLIC LICENSE -# (LGPL v3) along with this program. -# If not, see . -# -############################################################################# -import io -import json -import xlsxwriter -from odoo import models -from odoo.tools import json_default - - -class AccountMove(models.Model): - """ Added function for printing excel report - which is coming from a server action """ - _inherit = "account.move" - - def print_excel_report(self): - """ Function is used to print the Excel report - It will pass the invoice data through js file to - print Excel file""" - # Take the ids of the selected invoices - data = self._context['active_ids'] - return { - 'type': 'ir.actions.report', - 'report_type': 'xlsx', - 'data': {'model': 'account.move', - 'output_format': 'xlsx', - 'options': json.dumps(data, - default=json_default), - 'report_name': 'Invoice Excel Report', }, } - - def get_xlsx_report(self, datas, response): - """ From this function we can create and design the Excel file template - and the map the values in the corresponding cells - :param datas: Selected record ids - :param response: Response after creating excel - """ - output = io.BytesIO() - workbook = xlsxwriter.Workbook(output, {'in_memory': True}) - # for printing multiple sheet per file, iterate the invoices - for account_move in self.env['account.move'].browse(datas): - # Set file title as invoice when it is invoice and set bill - # if the move_type is out_invoice - account_name = 'INVOICE - ' + account_move.name if \ - account_move.move_type == 'out_invoice' else \ - 'VENDOR BILL - ' + account_move.name - company_name = 'Company Name : ' + account_move.company_id.name - # Copy the value to a variable set black if it is null - # instead of printing 'FALSE' in the report - ref = str( - account_move.payment_reference) if \ - account_move.payment_reference is not False else '' - # Copy the value to a variable set black if it is null - # instead of printing 'FALSE' in the report - payment_term = str( - account_move.invoice_payment_term_id.name) if \ - account_move.invoice_payment_term_id.name is not False else '' - # Copy the value to a variable set black if it is null instead - # of printing 'FALSE' in the report - fiscal_position = str( - account_move.fiscal_position_id.name) if \ - account_move.fiscal_position_id.name is not False else '' - # Copy the value to a variable set black if it is null - # instead of printing 'FALSE' in the report - sale_person = account_move.user_id.name if \ - account_move.user_id.name is not False else '' - # Copy the value to a variable set black if it is null - # instead of printing 'FALSE' in the report - incoterm = account_move.invoice_incoterm_id.name if \ - account_move.invoice_incoterm_id.name is not False else '' - invoice_date = str(account_move.invoice_date) - currency_symbol = account_move.currency_id.symbol - sheet = workbook.add_worksheet( - account_move.name) # Set sheet name as Invoice/Bill name - sheet.set_column(0, 8, 20) - head = workbook.add_format( - {'align': 'center', 'bold': True, 'font_size': '20px'}) - txt = workbook.add_format( - {'align': 'center', 'bold': True}) - txt_border = workbook.add_format( - {'align': 'center', 'bold': True, 'border': 1}) - border = workbook.add_format({'border': 1}) - sheet.merge_range('B2:E3', account_name, head) - sheet.merge_range('B4:E4', company_name, txt) - sheet.write('A6', 'Customer/Vendor Name', txt) - sheet.write('B6', account_move.partner_id.name) - sheet.write('B7', account_move.partner_id.street) - sheet.write('B8', account_move.partner_id.state_id.name) - sheet.write('B9', account_move.partner_id.zip) - sheet.write('B10', account_move.partner_id.country_id.name) - sheet.write('B11', account_move.partner_id.phone) - sheet.write('D6', 'Date', txt) - sheet.write('D7', 'Payment Term', txt) - sheet.write('D8', 'Journal', txt) - sheet.write('D9', 'Currency', txt) - sheet.write('D10', 'State', txt) - sheet.write('E6', invoice_date) - sheet.write('E7', payment_term) - sheet.write('E8', account_move.journal_id.name) - sheet.write('E9', account_move.currency_id.name) - sheet.write('E10', account_move.state) - sheet.write('A13', 'Sales Persons', txt) - sheet.write('A14', sale_person) - sheet.write('B13', 'Source Document', txt) - sheet.write('B14', ref) - sheet.write('C13', 'Fiscal Position', txt) - sheet.write('C14', fiscal_position) - sheet.write('D13', 'Incoterm', txt) - sheet.write('D14', incoterm) - sheet.write('A16', 'Product', txt_border) - sheet.write('B16', 'Description', txt_border) - sheet.write('C16', 'Quantity', txt_border) - sheet.write('D16', 'Account', txt_border) - sheet.write('E16', 'Discount %', txt_border) - sheet.write('F16', 'Unit Price', txt_border) - sheet.write('G16', 'Tax', txt_border) - sheet.write('H16', 'Subtotal', txt_border) - row = 17 - self._add_invoice_line_to_excel(sheet, account_move, row, border, txt_border, - currency_symbol) - workbook.close() - output.seek(0) - response.stream.write(output.read()) - output.close() - - def _add_invoice_line_to_excel(self, sheet, account_move, row, border, txt_border, - currency_symbol): - """ - Function to add invoice line values to the Excel file - :param sheet: Current Excel sheet where data to be added - :param account_move : Object of invoice in which data adding - :param row:Excel row value of next data to be added - :param border :Excel styling for adding border for each cell - :param txt_border : Excel styling for adding data in each cell - :param currency_symbol : Currency symbol of current record - """ - for line in account_move.invoice_line_ids: - # For adding value of the invoice lines - tax = str( - line.tax_ids.name) if line.tax_ids.name \ - is not False else '' - sheet.write(row, 0, line.product_id.name, border) - sheet.write(row, 1, line.name, border) - sheet.write(row, 2, line.quantity, border) - sheet.write(row, 3, line.account_id.display_name, border) - sheet.write(row, 4, line.discount, border) - sheet.write(row, 5, line.price_unit, border) - sheet.write(row, 6, tax, border) - sheet.write(row, 7, - str(currency_symbol) + str(line.price_subtotal), - border) - row += 1 - row += 1 - sheet.write(row, 6, 'Total Amount', txt_border) - sheet.write(row, 7, - str(currency_symbol) + str(account_move.amount_total), - border) diff --git a/advanced_excel_reports/models/sale_order.py b/advanced_excel_reports/models/sale_order.py deleted file mode 100755 index 146d054f7..000000000 --- a/advanced_excel_reports/models/sale_order.py +++ /dev/null @@ -1,160 +0,0 @@ -# -*- coding: utf-8 -*- -############################################################################# -# -# Cybrosys Technologies Pvt. Ltd. -# -# Copyright (C) 2024-TODAY Cybrosys Technologies() -# Author: Cybrosys Techno Solutions() -# -# You can modify it under the terms of the GNU LESSER -# GENERAL PUBLIC LICENSE (LGPL v3), Version 3. -# -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU LESSER GENERAL PUBLIC LICENSE (LGPL v3) for more details. -# -# You should have received a copy of the GNU LESSER GENERAL PUBLIC LICENSE -# (LGPL v3) along with this program. -# If not, see . -# -############################################################################# -import io -import json -import xlsxwriter -from odoo import models -from odoo.tools import json_default - - -class SaleOrder(models.Model): - """ Added a function that to print sale order excel report - which is added through server action """ - _inherit = "sale.order" - - def print_excel_report(self): - """ Function is used to print the Excel report - It will pass the sale order data through js file to - print Excel file""" - # Take the ids of the selected sale orders - data = self._context['active_ids'] - return { - 'type': 'ir.actions.report', - 'report_type': 'xlsx', - 'data': {'model': 'sale.order', - 'output_format': 'xlsx', - 'options': json.dumps(data, - default=json_default), - 'report_name': 'Sale/Quotation Excel Report', }, } - - def get_xlsx_report(self, datas, response): - """ From this function we can create and design the Excel file template - and the map the values in the corresponding cells - :param datas:Selected record ids - :param response: Response after creating excel - """ - output = io.BytesIO() - workbook = xlsxwriter.Workbook(output, {'in_memory': True}) - # for printing multiple sheet per file, iterate the sale orders - for sale in self.env['sale.order'].browse(datas): - sale_name = 'SALE ORDER - ' + sale.name - company_name = 'Company Name : ' + sale.company_id.name - # Copy the value to a variable set black if it is null - # instead of printing 'FALSE' in the report - ref = str( - sale.client_order_ref) if \ - sale.client_order_ref is not False else '' - # Copy the value to a variable set black if it is null instead - # of printing 'FALSE' in the report - payment_term = str( - sale.payment_term_id.name) if \ - sale.payment_term_id.name is not False else '' - # Copy the value to a variable set black if it is null instead - # of printing 'FALSE' in the report - fiscal_position = str( - sale.fiscal_position_id.name) if \ - sale.fiscal_position_id.name is not False else '' - sheet = workbook.add_worksheet( - sale.name) # set the sheet name as sale order name - sheet.set_column(0, 8, 20) - sale_date = str(sale.date_order) - currency_symbol = sale.currency_id.symbol - head = workbook.add_format( - {'align': 'center', 'bold': True, 'font_size': '20px'}) - txt = workbook.add_format({'align': 'center', 'bold': True}) - txt_border = workbook.add_format( - {'align': 'center', 'bold': True, 'border': 1}) - border = workbook.add_format({'border': 1}) - sheet.merge_range('B2:E3', sale_name, head) - sheet.merge_range('B4:E4', company_name, txt) - sheet.write('A6', 'Customer Name', txt) - sheet.write('B6', sale.partner_id.name) - sheet.write('B7', sale.partner_id.street) - sheet.write('B8', sale.partner_id.state_id.name) - sheet.write('B9', sale.partner_id.zip) - sheet.write('B10', sale.partner_id.country_id.name) - sheet.write('B11', sale.partner_id.phone) - sheet.write('D6', 'Date', txt) - sheet.write('D7', 'Payment Term', txt) - sheet.write('D8', 'Price List', txt) - sheet.write('D9', 'State', txt) - sheet.write('E6', sale_date) - sheet.write('E7', payment_term) - sheet.write('E8', sale.pricelist_id.name) - sheet.write('E9', sale.state) - sheet.write('A13', 'Sales Team', txt) - sheet.write('A14', sale.team_id.name) - sheet.write('B13', 'Sales Persons', txt) - sheet.write('B14', sale.user_id.name) - sheet.write('C13', 'Source Document', txt) - sheet.write('C14', ref) - sheet.write('D13', 'Fiscal Position', txt) - sheet.write('D14', fiscal_position) - sheet.write('A16', 'Product', txt_border) - sheet.write('B16', 'Description', txt_border) - sheet.write('C16', 'Quantity', txt_border) - sheet.write('D16', 'Delivered', txt_border) - sheet.write('E16', 'Invoiced', txt_border) - sheet.write('F16', 'Unit Price', txt_border) - sheet.write('G16', 'Tax', txt_border) - sheet.write('H16', 'Subtotal', txt_border) - row = 17 - # calling this function for adding sale order line data to the - # Excel sheet - self._add_order_line_to_excel(sheet, sale, row, border, txt_border, - currency_symbol) - workbook.close() - output.seek(0) - response.stream.write(output.read()) - output.close() - - def _add_order_line_to_excel(self, sheet, sale, row, border, txt_border, - currency_symbol): - """ - Function to add sale order line values to the Excel file - :param sheet: Current Excel sheet where data to be added - :param sale : Object of sale order in which data adding - :param row:Excel row value of next data to be added - :param border :Excel styling for adding border for each cell - :param txt_border : Excel styling for adding data in each cell - :param currency_symbol : Currency symbol of current record - """ - for line in sale.order_line: - # For adding value of the sale order lines - - tax = str( - line.tax_id.name) if line.tax_id.name is not False else '' - sheet.write(row, 0, line.product_id.name, border) - sheet.write(row, 1, line.name, border) - sheet.write(row, 2, line.product_uom_qty, border) - sheet.write(row, 3, line.qty_delivered, border) - sheet.write(row, 4, line.qty_invoiced, border) - sheet.write(row, 5, line.price_unit, border) - sheet.write(row, 6, tax, border) - sheet.write(row, 7, - str(currency_symbol) + str(line.price_subtotal), - border) - row += 1 - row += 1 - sheet.write(row, 6, 'Total Amount', txt_border) - sheet.write(row, 7, str(currency_symbol) + str(sale.amount_total), - border) diff --git a/advanced_excel_reports/models/stock_picking.py b/advanced_excel_reports/models/stock_picking.py deleted file mode 100755 index ff1d47e30..000000000 --- a/advanced_excel_reports/models/stock_picking.py +++ /dev/null @@ -1,167 +0,0 @@ -# -*- coding: utf-8 -*- -############################################################################# -# -# Cybrosys Technologies Pvt. Ltd. -# -# Copyright (C) 2024-TODAY Cybrosys Technologies() -# Author: Cybrosys Techno Solutions() -# -# You can modify it under the terms of the GNU LESSER -# GENERAL PUBLIC LICENSE (LGPL v3), Version 3. -# -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU LESSER GENERAL PUBLIC LICENSE (LGPL v3) for more details. -# -# You should have received a copy of the GNU LESSER GENERAL PUBLIC LICENSE -# (LGPL v3) along with this program. -# If not, see . -# -############################################################################# -import io -import json -import xlsxwriter -from odoo import models -from odoo.tools import json_default - - -class StockPicking(models.Model): - """ Added a function that to print sale order Excel report - which is added using server action """ - _inherit = "stock.picking" - - def print_excel_report(self): - """ Function is used to print the Excel report - It will pass the picking data through js file to - print Excel file""" - # Take the ids of the selected pickings - data = self._context['active_ids'] - return { - 'type': 'ir.actions.report', - 'report_type': 'xlsx', - 'data': {'model': 'stock.picking', - 'output_format': 'xlsx', - 'options': json.dumps(data, - default=json_default), - 'report_name': 'Picking Order Excel Report', }, } - - def get_xlsx_report(self, datas, response): - """ From this function we can create and design the Excel file template - and the map the values in the corresponding cells - :param datas:Selected record ids - :param response: Response after creating excel - """ - output = io.BytesIO() - workbook = xlsxwriter.Workbook(output, {'in_memory': True}) - # for printing multiple sheet per file, iterate the pickings - for picking in self.env['stock.picking'].browse(datas): - picking_name = 'Delivery - ' + picking.name - company_name = 'Company Name : ' + picking.company_id.name - # Copy the value to a variable set black if it is null - # instead of printing 'FALSE' in the report - ref = picking.origin if picking.origin is not False else '' - # Copy the value to a variable set black if it is null - # instead of printing 'FALSE' in the report - responsible_person = picking.user_id.name if \ - picking.user_id.name is not False else '' - # Copy the value to a variable set black if it is null - # instead of printing 'FALSE' in the report - partner_name = picking.partner_id.name if \ - picking.partner_id.name is not False else '' - # Copy the value to a variable set black if it is null instead - # of printing 'FALSE' in the report - partner_street = picking.partner_id.street if \ - picking.partner_id.street is not False else '' - # Copy the value to a variable set black if it is null instead of - # printing 'FALSE' in the report - partner_state = picking.partner_id.state_id.name if \ - picking.partner_id.state_id.name is not False else '' - # Copy the value to a variable set black if it is null instead - # of printing 'FALSE' in the report - partner_zip = picking.partner_id.zip if \ - picking.partner_id.zip is not False else '' - # Copy the value to a variable set black if it is null instead - # of printing 'FALSE' in the report - partner_county = picking.partner_id.country_id.name if \ - picking.partner_id.country_id.name is not False else '' - # Copy the value to a variable set black if it is null - # instead of printing 'FALSE' in the report - partner_phone = picking.partner_id.phone if \ - picking.partner_id.phone is not False else '' - # Copy the value to a variable set black if it is null instead - # of printing 'FALSE' in the report - date_done = str(picking.date_done) if \ - picking.date_done is not False else '' - scheduled_date = str(picking.scheduled_date) - sheet = workbook.add_worksheet( - picking.name) # set the sheet name as picking name - sheet.set_column(0, 8, 25) - head = workbook.add_format( - {'align': 'center', 'bold': True, 'font_size': '20px'}) - txt = workbook.add_format({'align': 'center', 'bold': True}) - txt_border = workbook.add_format( - {'align': 'center', 'bold': True, 'border': 1}) - border = workbook.add_format({'border': 1}) - sheet.merge_range('B2:E3', picking_name, head) - sheet.merge_range('B4:E4', company_name, txt) - sheet.write('A6', 'Customer/Vendor Name', txt) - sheet.write('B6', partner_name) - sheet.write('B7', partner_street) - sheet.write('B8', partner_state) - sheet.write('B9', partner_zip) - sheet.write('B10', partner_county) - sheet.write('B11', partner_phone) - sheet.write('D6', 'Scheduled Date', txt) - sheet.write('D7', 'Effective Date', txt) - sheet.write('D8', 'Operation Type', txt) - sheet.write('D9', 'Source Location', txt) - sheet.write('D10', 'Destination Location', txt) - sheet.write('D11', 'State', txt) - sheet.write('E6', scheduled_date) - sheet.write('E7', date_done) - sheet.write('E8', picking.picking_type_id.display_name) - sheet.write('E9', picking.location_id.complete_name) - sheet.write('E10', picking.location_dest_id.complete_name) - sheet.write('E11', picking.state) - sheet.write('A13', 'Responsible Person', txt) - sheet.write('A14', responsible_person) - sheet.write('B13', 'Source Document', txt) - sheet.write('B14', ref) - sheet.write('A16', 'Product', txt_border) - sheet.write('B16', 'Description', txt_border) - sheet.write('C16', 'Scheduled Date', txt_border) - sheet.write('D16', 'Deadline', txt_border) - sheet.write('E16', 'Quantity', txt_border) - sheet.write('F16', 'Quantity Done', txt_border) - row = 17 - # calling this function for adding picking line data to the - # Excel sheet - self._add_picking_line_to_excel(sheet, picking, row, border) - workbook.close() - output.seek(0) - response.stream.write(output.read()) - output.close() - - def _add_picking_line_to_excel(self, sheet, picking, row, border): - """ - Function to add stock picking line values to the Excel file - :param sheet: Current Excel sheet where data to be added - :param picking : Object of transfer in which data adding - :param row:Excel row value of next data to be added - :param border :Excel styling for adding border for each cell - """ - # For adding value of the sale order line - for line in picking.move_ids: - # Copy the value to a variable set black if it is null - # instead of printing 'FALSE' in the report - date_deadline = str(line.date_deadline) if \ - line.date_deadline is not False else '' - date = str(line.date) - sheet.write(row, 0, line.product_id.name, border) - sheet.write(row, 1, line.description_picking, border) - sheet.write(row, 2, date, border) - sheet.write(row, 3, date_deadline, border) - sheet.write(row, 4, line.product_uom_qty, border) - sheet.write(row, 5, line.quantity, border) - row += 1 diff --git a/advanced_excel_reports/static/description/assets/cybro-icon.png b/advanced_excel_reports/static/description/assets/cybro-icon.png deleted file mode 100644 index 06e73e11d..000000000 Binary files a/advanced_excel_reports/static/description/assets/cybro-icon.png and /dev/null differ diff --git a/advanced_excel_reports/static/description/assets/cybro-odoo.png b/advanced_excel_reports/static/description/assets/cybro-odoo.png deleted file mode 100644 index ed02e07a4..000000000 Binary files a/advanced_excel_reports/static/description/assets/cybro-odoo.png and /dev/null differ diff --git a/advanced_excel_reports/static/description/assets/h2.png b/advanced_excel_reports/static/description/assets/h2.png deleted file mode 100644 index 0bfc4707d..000000000 Binary files a/advanced_excel_reports/static/description/assets/h2.png and /dev/null differ diff --git a/advanced_excel_reports/static/description/assets/icons/V-18-GIF.gif b/advanced_excel_reports/static/description/assets/icons/V-18-GIF.gif deleted file mode 100644 index 6f1682de5..000000000 Binary files a/advanced_excel_reports/static/description/assets/icons/V-18-GIF.gif and /dev/null differ diff --git a/advanced_excel_reports/static/description/assets/icons/arrows-repeat.svg b/advanced_excel_reports/static/description/assets/icons/arrows-repeat.svg deleted file mode 100644 index 1d7efabc5..000000000 --- a/advanced_excel_reports/static/description/assets/icons/arrows-repeat.svg +++ /dev/null @@ -1,10 +0,0 @@ - - - - - - - - - - diff --git a/advanced_excel_reports/static/description/assets/icons/banner-1.png b/advanced_excel_reports/static/description/assets/icons/banner-1.png deleted file mode 100644 index c180db172..000000000 Binary files a/advanced_excel_reports/static/description/assets/icons/banner-1.png and /dev/null differ diff --git a/advanced_excel_reports/static/description/assets/icons/banner-2.svg b/advanced_excel_reports/static/description/assets/icons/banner-2.svg deleted file mode 100644 index e606d97d9..000000000 --- a/advanced_excel_reports/static/description/assets/icons/banner-2.svg +++ /dev/null @@ -1,73 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/advanced_excel_reports/static/description/assets/icons/banner-bg.png b/advanced_excel_reports/static/description/assets/icons/banner-bg.png deleted file mode 100644 index a8238d3c0..000000000 Binary files a/advanced_excel_reports/static/description/assets/icons/banner-bg.png and /dev/null differ diff --git a/advanced_excel_reports/static/description/assets/icons/banner-bg.svg b/advanced_excel_reports/static/description/assets/icons/banner-bg.svg deleted file mode 100644 index b1378103e..000000000 --- a/advanced_excel_reports/static/description/assets/icons/banner-bg.svg +++ /dev/null @@ -1,9 +0,0 @@ - - - - - - - - - diff --git a/advanced_excel_reports/static/description/assets/icons/banner-call.svg b/advanced_excel_reports/static/description/assets/icons/banner-call.svg deleted file mode 100644 index 96c687e81..000000000 --- a/advanced_excel_reports/static/description/assets/icons/banner-call.svg +++ /dev/null @@ -1,5 +0,0 @@ - - - - - diff --git a/advanced_excel_reports/static/description/assets/icons/banner-mail.svg b/advanced_excel_reports/static/description/assets/icons/banner-mail.svg deleted file mode 100644 index cbf0d158d..000000000 --- a/advanced_excel_reports/static/description/assets/icons/banner-mail.svg +++ /dev/null @@ -1,5 +0,0 @@ - - - - - diff --git a/advanced_excel_reports/static/description/assets/icons/banner-pattern.svg b/advanced_excel_reports/static/description/assets/icons/banner-pattern.svg deleted file mode 100644 index 9c1c7e101..000000000 --- a/advanced_excel_reports/static/description/assets/icons/banner-pattern.svg +++ /dev/null @@ -1,343 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/advanced_excel_reports/static/description/assets/icons/banner-promo.svg b/advanced_excel_reports/static/description/assets/icons/banner-promo.svg deleted file mode 100644 index d52791b11..000000000 --- a/advanced_excel_reports/static/description/assets/icons/banner-promo.svg +++ /dev/null @@ -1,147 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/advanced_excel_reports/static/description/assets/icons/brand-pair.svg b/advanced_excel_reports/static/description/assets/icons/brand-pair.svg deleted file mode 100644 index d8db7fc1e..000000000 --- a/advanced_excel_reports/static/description/assets/icons/brand-pair.svg +++ /dev/null @@ -1,41 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/advanced_excel_reports/static/description/assets/icons/check.png b/advanced_excel_reports/static/description/assets/icons/check.png deleted file mode 100644 index c8e85f51d..000000000 Binary files a/advanced_excel_reports/static/description/assets/icons/check.png and /dev/null differ diff --git a/advanced_excel_reports/static/description/assets/icons/chevron.png b/advanced_excel_reports/static/description/assets/icons/chevron.png deleted file mode 100644 index 2089293d6..000000000 Binary files a/advanced_excel_reports/static/description/assets/icons/chevron.png and /dev/null differ diff --git a/advanced_excel_reports/static/description/assets/icons/close-icon.svg b/advanced_excel_reports/static/description/assets/icons/close-icon.svg deleted file mode 100644 index df8cce37a..000000000 --- a/advanced_excel_reports/static/description/assets/icons/close-icon.svg +++ /dev/null @@ -1,5 +0,0 @@ - - - - - diff --git a/advanced_excel_reports/static/description/assets/icons/cogs.png b/advanced_excel_reports/static/description/assets/icons/cogs.png deleted file mode 100644 index 95d0bad62..000000000 Binary files a/advanced_excel_reports/static/description/assets/icons/cogs.png and /dev/null differ diff --git a/advanced_excel_reports/static/description/assets/icons/collabarate-icon.svg b/advanced_excel_reports/static/description/assets/icons/collabarate-icon.svg deleted file mode 100644 index dd4e10518..000000000 --- a/advanced_excel_reports/static/description/assets/icons/collabarate-icon.svg +++ /dev/null @@ -1,3 +0,0 @@ - - - diff --git a/advanced_excel_reports/static/description/assets/icons/consultation.png b/advanced_excel_reports/static/description/assets/icons/consultation.png deleted file mode 100644 index 8319d4baa..000000000 Binary files a/advanced_excel_reports/static/description/assets/icons/consultation.png and /dev/null differ diff --git a/advanced_excel_reports/static/description/assets/icons/cybro-logo.png b/advanced_excel_reports/static/description/assets/icons/cybro-logo.png deleted file mode 100644 index ff4b78220..000000000 Binary files a/advanced_excel_reports/static/description/assets/icons/cybro-logo.png and /dev/null differ diff --git a/advanced_excel_reports/static/description/assets/icons/down.svg b/advanced_excel_reports/static/description/assets/icons/down.svg deleted file mode 100644 index f21c36271..000000000 --- a/advanced_excel_reports/static/description/assets/icons/down.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/advanced_excel_reports/static/description/assets/icons/ecom-black.png b/advanced_excel_reports/static/description/assets/icons/ecom-black.png deleted file mode 100644 index a9385ff13..000000000 Binary files a/advanced_excel_reports/static/description/assets/icons/ecom-black.png and /dev/null differ diff --git a/advanced_excel_reports/static/description/assets/icons/education-black.png b/advanced_excel_reports/static/description/assets/icons/education-black.png deleted file mode 100644 index 3eb09b27b..000000000 Binary files a/advanced_excel_reports/static/description/assets/icons/education-black.png and /dev/null differ diff --git a/advanced_excel_reports/static/description/assets/icons/faq.png b/advanced_excel_reports/static/description/assets/icons/faq.png deleted file mode 100644 index 4250b5b81..000000000 Binary files a/advanced_excel_reports/static/description/assets/icons/faq.png and /dev/null differ diff --git a/advanced_excel_reports/static/description/assets/icons/feature-icon.svg b/advanced_excel_reports/static/description/assets/icons/feature-icon.svg deleted file mode 100644 index fa0ea6850..000000000 --- a/advanced_excel_reports/static/description/assets/icons/feature-icon.svg +++ /dev/null @@ -1,10 +0,0 @@ - - - - - - - - - - diff --git a/advanced_excel_reports/static/description/assets/icons/feature.png b/advanced_excel_reports/static/description/assets/icons/feature.png deleted file mode 100644 index ac7a785c0..000000000 Binary files a/advanced_excel_reports/static/description/assets/icons/feature.png and /dev/null differ diff --git a/advanced_excel_reports/static/description/assets/icons/gear.svg b/advanced_excel_reports/static/description/assets/icons/gear.svg deleted file mode 100644 index 0cc66b6ea..000000000 --- a/advanced_excel_reports/static/description/assets/icons/gear.svg +++ /dev/null @@ -1,10 +0,0 @@ - - - - - - - - - - diff --git a/advanced_excel_reports/static/description/assets/icons/hero.gif b/advanced_excel_reports/static/description/assets/icons/hero.gif deleted file mode 100644 index 380654dfe..000000000 Binary files a/advanced_excel_reports/static/description/assets/icons/hero.gif and /dev/null differ diff --git a/advanced_excel_reports/static/description/assets/icons/hire-odoo.svg b/advanced_excel_reports/static/description/assets/icons/hire-odoo.svg deleted file mode 100644 index e1ac089b0..000000000 --- a/advanced_excel_reports/static/description/assets/icons/hire-odoo.svg +++ /dev/null @@ -1,12 +0,0 @@ - - - - - - - - - - - - diff --git a/advanced_excel_reports/static/description/assets/icons/hotel-black.png b/advanced_excel_reports/static/description/assets/icons/hotel-black.png deleted file mode 100644 index 130f613be..000000000 Binary files a/advanced_excel_reports/static/description/assets/icons/hotel-black.png and /dev/null differ diff --git a/advanced_excel_reports/static/description/assets/icons/license.png b/advanced_excel_reports/static/description/assets/icons/license.png deleted file mode 100644 index a5869797e..000000000 Binary files a/advanced_excel_reports/static/description/assets/icons/license.png and /dev/null differ diff --git a/advanced_excel_reports/static/description/assets/icons/life-ring-icon.svg b/advanced_excel_reports/static/description/assets/icons/life-ring-icon.svg deleted file mode 100644 index 3ae6e1d89..000000000 --- a/advanced_excel_reports/static/description/assets/icons/life-ring-icon.svg +++ /dev/null @@ -1,13 +0,0 @@ - - - - - - - - - - - - - diff --git a/advanced_excel_reports/static/description/assets/icons/lifebuoy.png b/advanced_excel_reports/static/description/assets/icons/lifebuoy.png deleted file mode 100644 index 658d56ccc..000000000 Binary files a/advanced_excel_reports/static/description/assets/icons/lifebuoy.png and /dev/null differ diff --git a/advanced_excel_reports/static/description/assets/icons/mail.svg b/advanced_excel_reports/static/description/assets/icons/mail.svg deleted file mode 100644 index 1eedde695..000000000 --- a/advanced_excel_reports/static/description/assets/icons/mail.svg +++ /dev/null @@ -1,3 +0,0 @@ - - - diff --git a/advanced_excel_reports/static/description/assets/icons/manufacturing-black.png b/advanced_excel_reports/static/description/assets/icons/manufacturing-black.png deleted file mode 100644 index 697eb0e9f..000000000 Binary files a/advanced_excel_reports/static/description/assets/icons/manufacturing-black.png and /dev/null differ diff --git a/advanced_excel_reports/static/description/assets/icons/notes.png b/advanced_excel_reports/static/description/assets/icons/notes.png deleted file mode 100644 index ee5e95404..000000000 Binary files a/advanced_excel_reports/static/description/assets/icons/notes.png and /dev/null differ diff --git a/advanced_excel_reports/static/description/assets/icons/notification icon.svg b/advanced_excel_reports/static/description/assets/icons/notification icon.svg deleted file mode 100644 index 053189973..000000000 --- a/advanced_excel_reports/static/description/assets/icons/notification icon.svg +++ /dev/null @@ -1,10 +0,0 @@ - - - - - - - - - - diff --git a/advanced_excel_reports/static/description/assets/icons/odoo-consultancy.svg b/advanced_excel_reports/static/description/assets/icons/odoo-consultancy.svg deleted file mode 100644 index e05f65bde..000000000 --- a/advanced_excel_reports/static/description/assets/icons/odoo-consultancy.svg +++ /dev/null @@ -1,4 +0,0 @@ - - - - diff --git a/advanced_excel_reports/static/description/assets/icons/odoo-licencing.svg b/advanced_excel_reports/static/description/assets/icons/odoo-licencing.svg deleted file mode 100644 index 2606c88b0..000000000 --- a/advanced_excel_reports/static/description/assets/icons/odoo-licencing.svg +++ /dev/null @@ -1,3 +0,0 @@ - - - diff --git a/advanced_excel_reports/static/description/assets/icons/odoo-logo.png b/advanced_excel_reports/static/description/assets/icons/odoo-logo.png deleted file mode 100644 index 0e4d0eb5a..000000000 Binary files a/advanced_excel_reports/static/description/assets/icons/odoo-logo.png and /dev/null differ diff --git a/advanced_excel_reports/static/description/assets/icons/patter.svg b/advanced_excel_reports/static/description/assets/icons/patter.svg deleted file mode 100644 index 25c9c0a8f..000000000 --- a/advanced_excel_reports/static/description/assets/icons/patter.svg +++ /dev/null @@ -1,9 +0,0 @@ - - - - - - - - - diff --git a/advanced_excel_reports/static/description/assets/icons/pattern1.png b/advanced_excel_reports/static/description/assets/icons/pattern1.png deleted file mode 100644 index 09ab0fb2d..000000000 Binary files a/advanced_excel_reports/static/description/assets/icons/pattern1.png and /dev/null differ diff --git a/advanced_excel_reports/static/description/assets/icons/pos-black.png b/advanced_excel_reports/static/description/assets/icons/pos-black.png deleted file mode 100644 index 97c0f90c1..000000000 Binary files a/advanced_excel_reports/static/description/assets/icons/pos-black.png and /dev/null differ diff --git a/advanced_excel_reports/static/description/assets/icons/puzzle-piece-icon.svg b/advanced_excel_reports/static/description/assets/icons/puzzle-piece-icon.svg deleted file mode 100644 index 3e9ad9373..000000000 --- a/advanced_excel_reports/static/description/assets/icons/puzzle-piece-icon.svg +++ /dev/null @@ -1,10 +0,0 @@ - - - - - - - - - - diff --git a/advanced_excel_reports/static/description/assets/icons/puzzle.png b/advanced_excel_reports/static/description/assets/icons/puzzle.png deleted file mode 100644 index 65cf854e7..000000000 Binary files a/advanced_excel_reports/static/description/assets/icons/puzzle.png and /dev/null differ diff --git a/advanced_excel_reports/static/description/assets/icons/replace-icon.svg b/advanced_excel_reports/static/description/assets/icons/replace-icon.svg deleted file mode 100644 index d0e3a7af1..000000000 --- a/advanced_excel_reports/static/description/assets/icons/replace-icon.svg +++ /dev/null @@ -1,10 +0,0 @@ - - - - - - - - - - diff --git a/advanced_excel_reports/static/description/assets/icons/restaurant-black.png b/advanced_excel_reports/static/description/assets/icons/restaurant-black.png deleted file mode 100644 index 4a35eb939..000000000 Binary files a/advanced_excel_reports/static/description/assets/icons/restaurant-black.png and /dev/null differ diff --git a/advanced_excel_reports/static/description/assets/icons/screenshot-main.png b/advanced_excel_reports/static/description/assets/icons/screenshot-main.png deleted file mode 100644 index 575f8e676..000000000 Binary files a/advanced_excel_reports/static/description/assets/icons/screenshot-main.png and /dev/null differ diff --git a/advanced_excel_reports/static/description/assets/icons/screenshot.png b/advanced_excel_reports/static/description/assets/icons/screenshot.png deleted file mode 100644 index cef272529..000000000 Binary files a/advanced_excel_reports/static/description/assets/icons/screenshot.png and /dev/null differ diff --git a/advanced_excel_reports/static/description/assets/icons/service-black.png b/advanced_excel_reports/static/description/assets/icons/service-black.png deleted file mode 100644 index 301ab51cb..000000000 Binary files a/advanced_excel_reports/static/description/assets/icons/service-black.png and /dev/null differ diff --git a/advanced_excel_reports/static/description/assets/icons/skype-fill.svg b/advanced_excel_reports/static/description/assets/icons/skype-fill.svg deleted file mode 100644 index c17423639..000000000 --- a/advanced_excel_reports/static/description/assets/icons/skype-fill.svg +++ /dev/null @@ -1,10 +0,0 @@ - - - - - - - - - - diff --git a/advanced_excel_reports/static/description/assets/icons/skype.png b/advanced_excel_reports/static/description/assets/icons/skype.png deleted file mode 100644 index 51b409fb3..000000000 Binary files a/advanced_excel_reports/static/description/assets/icons/skype.png and /dev/null differ diff --git a/advanced_excel_reports/static/description/assets/icons/skype.svg b/advanced_excel_reports/static/description/assets/icons/skype.svg deleted file mode 100644 index df3dad39b..000000000 --- a/advanced_excel_reports/static/description/assets/icons/skype.svg +++ /dev/null @@ -1,3 +0,0 @@ - - - diff --git a/advanced_excel_reports/static/description/assets/icons/star-1.svg b/advanced_excel_reports/static/description/assets/icons/star-1.svg deleted file mode 100644 index 7e55ab162..000000000 --- a/advanced_excel_reports/static/description/assets/icons/star-1.svg +++ /dev/null @@ -1,53 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/advanced_excel_reports/static/description/assets/icons/star-2.svg b/advanced_excel_reports/static/description/assets/icons/star-2.svg deleted file mode 100644 index 5ae9f507a..000000000 --- a/advanced_excel_reports/static/description/assets/icons/star-2.svg +++ /dev/null @@ -1,9 +0,0 @@ - - - - - - - - - diff --git a/advanced_excel_reports/static/description/assets/icons/support.png b/advanced_excel_reports/static/description/assets/icons/support.png deleted file mode 100644 index 4f18b8b82..000000000 Binary files a/advanced_excel_reports/static/description/assets/icons/support.png and /dev/null differ diff --git a/advanced_excel_reports/static/description/assets/icons/test-1 - Copy.png b/advanced_excel_reports/static/description/assets/icons/test-1 - Copy.png deleted file mode 100644 index f6a902663..000000000 Binary files a/advanced_excel_reports/static/description/assets/icons/test-1 - Copy.png and /dev/null differ diff --git a/advanced_excel_reports/static/description/assets/icons/test-1.png b/advanced_excel_reports/static/description/assets/icons/test-1.png deleted file mode 100644 index 0908add2b..000000000 Binary files a/advanced_excel_reports/static/description/assets/icons/test-1.png and /dev/null differ diff --git a/advanced_excel_reports/static/description/assets/icons/test-2.png b/advanced_excel_reports/static/description/assets/icons/test-2.png deleted file mode 100644 index 4671fe91e..000000000 Binary files a/advanced_excel_reports/static/description/assets/icons/test-2.png and /dev/null differ diff --git a/advanced_excel_reports/static/description/assets/icons/trading-black.png b/advanced_excel_reports/static/description/assets/icons/trading-black.png deleted file mode 100644 index 9398ba2f1..000000000 Binary files a/advanced_excel_reports/static/description/assets/icons/trading-black.png and /dev/null differ diff --git a/advanced_excel_reports/static/description/assets/icons/training.png b/advanced_excel_reports/static/description/assets/icons/training.png deleted file mode 100644 index 884ca024d..000000000 Binary files a/advanced_excel_reports/static/description/assets/icons/training.png and /dev/null differ diff --git a/advanced_excel_reports/static/description/assets/icons/translate.svg b/advanced_excel_reports/static/description/assets/icons/translate.svg deleted file mode 100644 index af9c8a1aa..000000000 --- a/advanced_excel_reports/static/description/assets/icons/translate.svg +++ /dev/null @@ -1,10 +0,0 @@ - - - - - - - - - - diff --git a/advanced_excel_reports/static/description/assets/icons/update.png b/advanced_excel_reports/static/description/assets/icons/update.png deleted file mode 100644 index ecbc5a01a..000000000 Binary files a/advanced_excel_reports/static/description/assets/icons/update.png and /dev/null differ diff --git a/advanced_excel_reports/static/description/assets/icons/user.png b/advanced_excel_reports/static/description/assets/icons/user.png deleted file mode 100644 index 6ffb23d9f..000000000 Binary files a/advanced_excel_reports/static/description/assets/icons/user.png and /dev/null differ diff --git a/advanced_excel_reports/static/description/assets/icons/video.png b/advanced_excel_reports/static/description/assets/icons/video.png deleted file mode 100644 index 576705b17..000000000 Binary files a/advanced_excel_reports/static/description/assets/icons/video.png and /dev/null differ diff --git a/advanced_excel_reports/static/description/assets/icons/whatsapp.png b/advanced_excel_reports/static/description/assets/icons/whatsapp.png deleted file mode 100644 index d513a5356..000000000 Binary files a/advanced_excel_reports/static/description/assets/icons/whatsapp.png and /dev/null differ diff --git a/advanced_excel_reports/static/description/assets/icons/wrench-icon.svg b/advanced_excel_reports/static/description/assets/icons/wrench-icon.svg deleted file mode 100644 index 174b5a465..000000000 --- a/advanced_excel_reports/static/description/assets/icons/wrench-icon.svg +++ /dev/null @@ -1,10 +0,0 @@ - - - - - - - - - - diff --git a/advanced_excel_reports/static/description/assets/icons/wrench.png b/advanced_excel_reports/static/description/assets/icons/wrench.png deleted file mode 100644 index 6c04dea0f..000000000 Binary files a/advanced_excel_reports/static/description/assets/icons/wrench.png and /dev/null differ diff --git a/advanced_excel_reports/static/description/assets/modules/1.gif b/advanced_excel_reports/static/description/assets/modules/1.gif deleted file mode 100644 index ae3a880a2..000000000 Binary files a/advanced_excel_reports/static/description/assets/modules/1.gif and /dev/null differ diff --git a/advanced_excel_reports/static/description/assets/modules/2.gif b/advanced_excel_reports/static/description/assets/modules/2.gif deleted file mode 100644 index d19e2b352..000000000 Binary files a/advanced_excel_reports/static/description/assets/modules/2.gif and /dev/null differ diff --git a/advanced_excel_reports/static/description/assets/modules/3.png b/advanced_excel_reports/static/description/assets/modules/3.png deleted file mode 100644 index 8513873ea..000000000 Binary files a/advanced_excel_reports/static/description/assets/modules/3.png and /dev/null differ diff --git a/advanced_excel_reports/static/description/assets/modules/4.png b/advanced_excel_reports/static/description/assets/modules/4.png deleted file mode 100644 index 3bedf7981..000000000 Binary files a/advanced_excel_reports/static/description/assets/modules/4.png and /dev/null differ diff --git a/advanced_excel_reports/static/description/assets/modules/5.png b/advanced_excel_reports/static/description/assets/modules/5.png deleted file mode 100644 index 0e311ca87..000000000 Binary files a/advanced_excel_reports/static/description/assets/modules/5.png and /dev/null differ diff --git a/advanced_excel_reports/static/description/assets/modules/6.jpg b/advanced_excel_reports/static/description/assets/modules/6.jpg deleted file mode 100644 index 67c7f7062..000000000 Binary files a/advanced_excel_reports/static/description/assets/modules/6.jpg and /dev/null differ diff --git a/advanced_excel_reports/static/description/assets/screenshots/1.png b/advanced_excel_reports/static/description/assets/screenshots/1.png deleted file mode 100644 index b85318fa6..000000000 Binary files a/advanced_excel_reports/static/description/assets/screenshots/1.png and /dev/null differ diff --git a/advanced_excel_reports/static/description/assets/screenshots/2.png b/advanced_excel_reports/static/description/assets/screenshots/2.png deleted file mode 100644 index ec79bdcb7..000000000 Binary files a/advanced_excel_reports/static/description/assets/screenshots/2.png and /dev/null differ diff --git a/advanced_excel_reports/static/description/assets/screenshots/3.png b/advanced_excel_reports/static/description/assets/screenshots/3.png deleted file mode 100644 index 3d5f8c381..000000000 Binary files a/advanced_excel_reports/static/description/assets/screenshots/3.png and /dev/null differ diff --git a/advanced_excel_reports/static/description/assets/screenshots/4.png b/advanced_excel_reports/static/description/assets/screenshots/4.png deleted file mode 100644 index b6c8e6a01..000000000 Binary files a/advanced_excel_reports/static/description/assets/screenshots/4.png and /dev/null differ diff --git a/advanced_excel_reports/static/description/assets/screenshots/5.png b/advanced_excel_reports/static/description/assets/screenshots/5.png deleted file mode 100644 index de264404e..000000000 Binary files a/advanced_excel_reports/static/description/assets/screenshots/5.png and /dev/null differ diff --git a/advanced_excel_reports/static/description/assets/screenshots/6.png b/advanced_excel_reports/static/description/assets/screenshots/6.png deleted file mode 100644 index bd7f4d8b7..000000000 Binary files a/advanced_excel_reports/static/description/assets/screenshots/6.png and /dev/null differ diff --git a/advanced_excel_reports/static/description/assets/y18.jpg b/advanced_excel_reports/static/description/assets/y18.jpg deleted file mode 100644 index eea1714f2..000000000 Binary files a/advanced_excel_reports/static/description/assets/y18.jpg and /dev/null differ diff --git a/advanced_excel_reports/static/description/banner.png b/advanced_excel_reports/static/description/banner.png deleted file mode 100644 index a0702b94d..000000000 Binary files a/advanced_excel_reports/static/description/banner.png and /dev/null differ diff --git a/advanced_excel_reports/static/description/icon.png b/advanced_excel_reports/static/description/icon.png deleted file mode 100644 index 45a087ed8..000000000 Binary files a/advanced_excel_reports/static/description/icon.png and /dev/null differ diff --git a/advanced_excel_reports/static/description/index.html b/advanced_excel_reports/static/description/index.html deleted file mode 100644 index 90d219f0e..000000000 --- a/advanced_excel_reports/static/description/index.html +++ /dev/null @@ -1,1094 +0,0 @@ - - - - - - Advanced Excel Reports - - - - - - - - - - -
-
- - - -
-
- Community -
-
- Enterprise -
-
-
- -
-
-
-
-

- Print Excel Reports Of Multiple Records From The Sale Account And Inventory Module. -

-

Advanced Excel Reports -

-
-
- -
- -
- -
-
-
- -
-
- -
-
- -
-
-
-

Key - Highlights

-
-
-
-
- -
-
- Available in Odoo 18.0 Community and Enterprise. -
-
-
-
-
-
- -
-
- Able to print report for Sales,Invoice,Picking -
-
-
-
-
-
- -
-
- Report for the multiple records in a single file -
-
-
-
-
-
- -
-
- Multiple excel reports -
-
-
-
-
-
- -
-
- Multiple sheets per excel file -
-
-
-
-
- -
-
-
- Advanced Excel Reports -

- Are you ready to make your business more - organized? -
Improve now! -

- -
-
- -
-
-
- - - - -
-
- -
-
-
-
- acc_bg -
- -
-
-
-
-

- Sale Order Print - - Menu -

-
-
-

- Go to Sales -> select records from the tree view for the sale order -> From the action menu -> Sale Order Excel Report -

-
-
-
- -
-
-
-
-
-
-
-
-
-

- Sale Order - - Excel Report. -

-
-
-

- By clicking Sale Order Excel Report we can print sale order excel report -

-
-
-
- -
-
-
-
-
-
-
-
-
-

- Invoice Print - - Menu. -

-
-
-

- Go to Invoicing -> select records from the tree view for the invoice -> From the action menu -> Account Invoice Excel Report -

-
-
-
- -
-
-
-
-
-
-
-
-
-

- Invoice - - - Excel Report. -

-
-
-

- By clicking the Account Invoice Excel Report button we can print the Excel report -

-
-
-
- -
-
-
-
-
-
-
-
-
-

- Picking Excel - - - Report Menu -

-
-
-

- Go to inventory -> select records from the tree view for the transfer -> From the action menu -> Picking Excel Report -

-
-
-
- -
-
-
-
-
-
-
-
-
-

- Picking Excel - - - Reports. -

-
-
-

- By clicking the Picking Excel Report button we can print the Excel report

-
-
-
- -
-
-
-
-
-
-
-
- -
-
-
-
- -
-

- User-Friendly Interface

-
-
-

- The interface allows users to easily select the records they want to - export and generates a report with a clear, organized structure. -

-
- -
-
-
-
-
-
- -
-

- Multi-record Export

-
-
-

- Users can select multiple records (Sales Orders, Invoices, Picking Orders) - and generate a consolidated Excel report for them in a single file. -

-
-
-
-
-
-
-
-
-
-
- -
- -
- -
-

- The module allows users to export detailed Excel reports for selected Sales Orders, - Invoices, and Picking (Stock) records in bulk, making it easier to analyze, - share, and process data from Odoo. -

-
-
- -
- -
-

- If the report includes many records, - performance might be affected depending on the server resources. - However, the module is optimized to handle large datasets efficiently. -

-
-
- -
- -
-

- Yes, the module allows you to export multiple records in bulk. - You can select multiple Sales Orders, Invoices, or Picking records and export them into a single Excel file. -

-
-
-
- -
-
-
-
-
-
- -
-
-

- Latest Release 18.0.1.0.0 -

- - 8th October, 2024 - -
-
-
-
-
- Add -
-
-
-
    -
  • - Initial Commit -
  • - -
-
-
-
-
-
-
-
-
-
- - - - - - -
-

- Our Services

- -
- -
-
- .... -
-
- -
- - -
-
- - - - - - diff --git a/advanced_excel_reports/static/src/js/excel_report.js b/advanced_excel_reports/static/src/js/excel_report.js deleted file mode 100755 index d5b0e2836..000000000 --- a/advanced_excel_reports/static/src/js/excel_report.js +++ /dev/null @@ -1,17 +0,0 @@ -/** @odoo-module **/ -import { registry } from "@web/core/registry"; -import { BlockUI } from "@web/core/ui/block_ui"; -import { download } from "@web/core/network/download"; -registry.category("ir.actions.report handlers").add("xlsx", async(action)=> { - //Passing data to the controller to print the excel file - if (action.report_type === 'xlsx') { - BlockUI; - await download({ - url: '/xlsx_reports', - data: action.data, - complete: () => unblockUI, - error: (error) => self.call('crash_manager', 'rpc_error', error), - }); - return true - } -});