@ -0,0 +1,47 @@ |
|||||
|
.. 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 <https://cybrosys.com/>`__ |
||||
|
|
||||
|
Credits |
||||
|
------- |
||||
|
Developer: (v16) Sreeshanth V S @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 <https://cybrosys.com/>`__ |
||||
|
|
||||
|
Further information |
||||
|
=================== |
||||
|
HTML Description: `<static/description/index.html>`__ |
@ -0,0 +1,23 @@ |
|||||
|
# -*- coding: utf-8 -*- |
||||
|
############################################################################# |
||||
|
# |
||||
|
# Cybrosys Technologies Pvt. Ltd. |
||||
|
# |
||||
|
# Copyright (C) 2023-TODAY Cybrosys Technologies(<https://www.cybrosys.com>) |
||||
|
# Author: Cybrosys Techno Solutions(<https://www.cybrosys.com>) |
||||
|
# |
||||
|
# 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 <http://www.gnu.org/licenses/>. |
||||
|
# |
||||
|
############################################################################# |
||||
|
from . import models |
||||
|
from . import controllers |
@ -0,0 +1,49 @@ |
|||||
|
# -*- coding: utf-8 -*- |
||||
|
############################################################################# |
||||
|
# |
||||
|
# Cybrosys Technologies Pvt. Ltd. |
||||
|
# |
||||
|
# Copyright (C) 2023-TODAY Cybrosys Technologies(<https://www.cybrosys.com>) |
||||
|
# Author: Cybrosys Techno Solutions(<https://www.cybrosys.com>) |
||||
|
# |
||||
|
# 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 <http://www.gnu.org/licenses/>. |
||||
|
# |
||||
|
############################################################################# |
||||
|
{ |
||||
|
'name': "Advanced Excel Reports", |
||||
|
"version": "16.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, |
||||
|
} |
@ -0,0 +1,22 @@ |
|||||
|
# -*- coding: utf-8 -*- |
||||
|
############################################################################# |
||||
|
# |
||||
|
# Cybrosys Technologies Pvt. Ltd. |
||||
|
# |
||||
|
# Copyright (C) 2023-TODAY Cybrosys Technologies(<https://www.cybrosys.com>) |
||||
|
# Author: Cybrosys Techno Solutions(<https://www.cybrosys.com>) |
||||
|
# |
||||
|
# 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 <http://www.gnu.org/licenses/>. |
||||
|
# |
||||
|
############################################################################# |
||||
|
from . import advanced_excel_report |
@ -0,0 +1,54 @@ |
|||||
|
# -*- coding: utf-8 -*- |
||||
|
############################################################################# |
||||
|
# |
||||
|
# Cybrosys Technologies Pvt. Ltd. |
||||
|
# |
||||
|
# Copyright (C) 2023-TODAY Cybrosys Technologies(<https://www.cybrosys.com>) |
||||
|
# Author: Cybrosys Techno Solutions(<https://www.cybrosys.com>) |
||||
|
# |
||||
|
# 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 <http://www.gnu.org/licenses/>. |
||||
|
# |
||||
|
############################################################################# |
||||
|
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))) |
@ -0,0 +1,41 @@ |
|||||
|
<?xml version="1.0" encoding="utf-8"?> |
||||
|
<odoo> |
||||
|
<data noupdate="1"> |
||||
|
<!-- Server action to print sale order excel report--> |
||||
|
<record id="action_print_sale_order_excel_report" |
||||
|
model="ir.actions.server"> |
||||
|
<field name="name">Sale Order Excel Report</field> |
||||
|
<field name="model_id" ref="model_sale_order"/> |
||||
|
<field name="binding_model_id" ref="model_sale_order"/> |
||||
|
<field name="binding_view_types">list</field> |
||||
|
<field name="state">code</field> |
||||
|
<field name="code"> |
||||
|
action = record.print_excel_report() |
||||
|
</field> |
||||
|
</record> |
||||
|
<!-- Server action to print invoice excel report--> |
||||
|
<record id="action_print_invoice_excel_report" |
||||
|
model="ir.actions.server"> |
||||
|
<field name="name">Account Invoice Excel Report</field> |
||||
|
<field name="model_id" ref="model_account_move"/> |
||||
|
<field name="binding_model_id" ref="model_account_move"/> |
||||
|
<field name="binding_view_types">list</field> |
||||
|
<field name="state">code</field> |
||||
|
<field name="code"> |
||||
|
action = record.print_excel_report() |
||||
|
</field> |
||||
|
</record> |
||||
|
<!-- Server action to print transfer excel report--> |
||||
|
<record id="action_print_picking_excel_report" |
||||
|
model="ir.actions.server"> |
||||
|
<field name="name">Picking Excel Report</field> |
||||
|
<field name="model_id" ref="model_stock_picking"/> |
||||
|
<field name="binding_model_id" ref="model_stock_picking"/> |
||||
|
<field name="binding_view_types">list</field> |
||||
|
<field name="state">code</field> |
||||
|
<field name="code"> |
||||
|
action = record.print_excel_report() |
||||
|
</field> |
||||
|
</record> |
||||
|
</data> |
||||
|
</odoo> |
@ -0,0 +1,6 @@ |
|||||
|
## Module <advanced_excel_reports> |
||||
|
|
||||
|
#### 02.12.2023 |
||||
|
#### Version 16.0.1.0.0 |
||||
|
#### ADD |
||||
|
- Initial commit for Advanced Excel Reports |
@ -0,0 +1,24 @@ |
|||||
|
# -*- coding: utf-8 -*- |
||||
|
############################################################################# |
||||
|
# |
||||
|
# Cybrosys Technologies Pvt. Ltd. |
||||
|
# |
||||
|
# Copyright (C) 2023-TODAY Cybrosys Technologies(<https://www.cybrosys.com>) |
||||
|
# Author: Cybrosys Techno Solutions(<https://www.cybrosys.com>) |
||||
|
# |
||||
|
# 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 <http://www.gnu.org/licenses/>. |
||||
|
# |
||||
|
############################################################################# |
||||
|
from . import account_move |
||||
|
from . import sale_order |
||||
|
from . import stock_picking |
@ -0,0 +1,174 @@ |
|||||
|
# -*- coding: utf-8 -*- |
||||
|
############################################################################# |
||||
|
# |
||||
|
# Cybrosys Technologies Pvt. Ltd. |
||||
|
# |
||||
|
# Copyright (C) 2023-TODAY Cybrosys Technologies(<https://www.cybrosys.com>) |
||||
|
# Author: Cybrosys Techno Solutions(<https://www.cybrosys.com>) |
||||
|
# |
||||
|
# 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 <http://www.gnu.org/licenses/>. |
||||
|
# |
||||
|
############################################################################# |
||||
|
import io |
||||
|
import json |
||||
|
import xlsxwriter |
||||
|
from odoo import models |
||||
|
from odoo.tools import date_utils |
||||
|
|
||||
|
|
||||
|
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=date_utils.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) |
@ -0,0 +1,159 @@ |
|||||
|
# -*- coding: utf-8 -*- |
||||
|
############################################################################# |
||||
|
# |
||||
|
# Cybrosys Technologies Pvt. Ltd. |
||||
|
# |
||||
|
# Copyright (C) 2023-TODAY Cybrosys Technologies(<https://www.cybrosys.com>) |
||||
|
# Author: Cybrosys Techno Solutions(<https://www.cybrosys.com>) |
||||
|
# |
||||
|
# 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 <http://www.gnu.org/licenses/>. |
||||
|
# |
||||
|
############################################################################# |
||||
|
import io |
||||
|
import json |
||||
|
import xlsxwriter |
||||
|
from odoo import models |
||||
|
from odoo.tools import date_utils |
||||
|
|
||||
|
|
||||
|
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=date_utils.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( |
||||
|
sale.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) |
@ -0,0 +1,167 @@ |
|||||
|
# -*- coding: utf-8 -*- |
||||
|
############################################################################# |
||||
|
# |
||||
|
# Cybrosys Technologies Pvt. Ltd. |
||||
|
# |
||||
|
# Copyright (C) 2023-TODAY Cybrosys Technologies(<https://www.cybrosys.com>) |
||||
|
# Author: Cybrosys Techno Solutions(<https://www.cybrosys.com>) |
||||
|
# |
||||
|
# 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 <http://www.gnu.org/licenses/>. |
||||
|
# |
||||
|
############################################################################# |
||||
|
import io |
||||
|
import json |
||||
|
import xlsxwriter |
||||
|
from odoo import models |
||||
|
from odoo.tools import date_utils |
||||
|
|
||||
|
|
||||
|
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=date_utils.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_done, border) |
||||
|
row += 1 |
After Width: | Height: | Size: 3.6 KiB |
After Width: | Height: | Size: 310 B |
After Width: | Height: | Size: 1.3 KiB |
After Width: | Height: | Size: 1.4 KiB |
After Width: | Height: | Size: 576 B |
After Width: | Height: | Size: 733 B |
After Width: | Height: | Size: 911 B |
After Width: | Height: | Size: 1.1 KiB |
After Width: | Height: | Size: 1.2 KiB |
After Width: | Height: | Size: 673 B |
After Width: | Height: | Size: 878 B |
After Width: | Height: | Size: 653 B |
After Width: | Height: | Size: 905 B |
After Width: | Height: | Size: 839 B |
After Width: | Height: | Size: 427 B |
After Width: | Height: | Size: 627 B |
After Width: | Height: | Size: 1.2 KiB |
After Width: | Height: | Size: 988 B |
After Width: | Height: | Size: 1.2 KiB |
After Width: | Height: | Size: 1.5 KiB |
After Width: | Height: | Size: 1.1 KiB |
After Width: | Height: | Size: 1.9 KiB |
After Width: | Height: | Size: 1.1 KiB |
After Width: | Height: | Size: 2.1 KiB |
After Width: | Height: | Size: 4.4 KiB |
After Width: | Height: | Size: 589 B |
After Width: | Height: | Size: 3.4 KiB |
After Width: | Height: | Size: 1.7 KiB |
After Width: | Height: | Size: 2.3 KiB |
After Width: | Height: | Size: 967 B |
After Width: | Height: | Size: 1.6 KiB |
After Width: | Height: | Size: 3.8 KiB |
After Width: | Height: | Size: 5.0 KiB |
After Width: | Height: | Size: 84 KiB |
After Width: | Height: | Size: 87 KiB |
After Width: | Height: | Size: 82 KiB |
After Width: | Height: | Size: 18 KiB |
After Width: | Height: | Size: 1.3 MiB |
After Width: | Height: | Size: 81 KiB |
After Width: | Height: | Size: 400 KiB |
After Width: | Height: | Size: 129 KiB |
After Width: | Height: | Size: 186 KiB |
After Width: | Height: | Size: 143 KiB |
After Width: | Height: | Size: 324 KiB |
After Width: | Height: | Size: 144 KiB |
After Width: | Height: | Size: 349 KiB |
After Width: | Height: | Size: 95 KiB |
After Width: | Height: | Size: 13 KiB |
@ -0,0 +1,541 @@ |
|||||
|
<div style="background-color: #714B67; height: 810px; width: 100%; padding: 15px; position: relative;"> |
||||
|
<!-- TITLE BAR --> |
||||
|
<div class="d-flex align-items-center justify-content-between" |
||||
|
style="border-bottom: 1px solid #875A7B; padding: 15px; display: flex; justify-content: space-between; align-items: center;"> |
||||
|
<img src="assets/misc/cybrosys-logo.png" width="42" height="42" style="width: 42px; height: 42px;" /> |
||||
|
<div> |
||||
|
<div |
||||
|
style="color: #7C7BAD; font-size: 14px; font-family: 'Montserrat', sans-serif; font-weight: bold; background-color: white; display: inline-block; padding: 3px 10px; border-radius: 50px;" |
||||
|
class="mr-2"> |
||||
|
<i class="fa fa-check mr-1"></i>Community |
||||
|
</div> |
||||
|
<div |
||||
|
style="color: #7C7BAD; font-size: 14px; font-family: 'Montserrat', sans-serif; font-weight: bold; background-color: white; display: inline-block; padding: 3px 10px; border-radius: 50px;" |
||||
|
class="mr-2"> |
||||
|
<i class="fa fa-check mr-1"></i>Enterprise |
||||
|
</div> |
||||
|
</div> |
||||
|
</div> |
||||
|
<!-- END OF TITLE BAR --> |
||||
|
<div class="container"> |
||||
|
<div class="row"> |
||||
|
<div class="col-sm-12 col-md-12 col-lg-12"> |
||||
|
<!-- APP HERO --> |
||||
|
<h1 style="color: #FFFFFF; font-weight: bolder; font-size: 50px; text-align: center; margin-top: 50px;"> Advanced Excel Reports |
||||
|
</h1> |
||||
|
<p style="color:#FFFFFF; padding: 8px 15px; text-align: center; font-size: 24px;">Print excel reports of multiple records from the sale account and inventory module</p> |
||||
|
<!-- END OF APP HERO --> |
||||
|
<img src="assets/screenshots/hero.gif" class="img-responsive" |
||||
|
style="width: 100%; margin-left: auto; margin-right: auto;" /> |
||||
|
</div> |
||||
|
</div> |
||||
|
</div> |
||||
|
</div> |
||||
|
<!-- NAVIGATION SECTION --> |
||||
|
<div class="d-flex align-items-center" style="border-bottom: 2px solid #714B67; padding: 15px 0px; margin-top: 300px;"> |
||||
|
<div class="d-flex justify-content-center align-items-center mr-2" |
||||
|
style="background-color: #F5F5F5; border-radius: 0px; width: 40px; height: 40px;"> |
||||
|
<img src="assets/misc/compass.png" /> |
||||
|
</div> |
||||
|
<h2 class="mt-2" style="font-family: 'Montserrat', sans-serif; font-size: 24px; font-weight: bold;">Explore This |
||||
|
Module</h2> |
||||
|
</div> |
||||
|
<div class="row my-4" style="font-family: 'Montserrat', sans-serif;"> |
||||
|
<div class="col-sm-12 col-md-6 my-3"> |
||||
|
<a href="#overview"> |
||||
|
<div class="d-flex justify-content-between align-items-center" |
||||
|
style="background-color: #f5f5f5; padding: 30px; width: 100%;"> |
||||
|
<div> |
||||
|
<span style="color: #714B67; font-size: 24px; font-weight: 500; display: block;">Overview</span> |
||||
|
<span style="color: #714B67; font-size: 16px; font-weight: 400; color:#282F33; display: block;">Learn |
||||
|
more about this |
||||
|
module</span> |
||||
|
</div> |
||||
|
<img src="assets/misc/right-arrow.png" width="36" height="36" /> |
||||
|
</div> |
||||
|
</a> |
||||
|
</div> |
||||
|
<div class="col-sm-12 col-md-6 my-3"> |
||||
|
<a href="#features"> |
||||
|
<div class="d-flex justify-content-between align-items-center" |
||||
|
style="background-color: #f5f5f5; padding: 30px; width: 100%;"> |
||||
|
<div> |
||||
|
<span style="color: #714B67; font-size: 24px; font-weight: 500; display: block;">Features</span> |
||||
|
<span style="color: #714B67; font-size: 16px; font-weight: 400; color:#282F33; display: block;">View |
||||
|
features of this |
||||
|
module</span> |
||||
|
</div> |
||||
|
<img src="assets/misc/right-arrow.png" width="36" height="36" /> |
||||
|
</div> |
||||
|
</a> |
||||
|
</div> |
||||
|
<div class="col-sm-12 col-md-6 my-3"> |
||||
|
<a href="#screenshots"> |
||||
|
<div class="d-flex justify-content-between align-items-center" |
||||
|
style="background-color: #f5f5f5; padding: 30px; width: 100%;"> |
||||
|
<div> |
||||
|
<span style="color: #714B67; font-size: 24px; font-weight: 500; display: block;">Screenshots</span> |
||||
|
<span style="color: #714B67; font-size: 16px; font-weight: 400; color:#282F33; display: block;">View |
||||
|
screenshots for this |
||||
|
module</span> |
||||
|
</div> |
||||
|
<img src="assets/misc/right-arrow.png" width="36" height="36" /> |
||||
|
</div> |
||||
|
</a> |
||||
|
</div> |
||||
|
</div> |
||||
|
<!-- END OF NAVIGATION SECTION --> |
||||
|
|
||||
|
<!-- OVERVIEW SECTION --> |
||||
|
<div class="d-flex align-items-center" style="border-bottom: 2px solid #714B67; padding: 15px 0px;" id="overview"> |
||||
|
<div class="d-flex justify-content-center align-items-center mr-2" |
||||
|
style="background-color: #F5F5F5; border-radius: 0px; width: 40px; height: 40px;"> |
||||
|
<img src="assets/misc/pie-chart.png" /> |
||||
|
</div> |
||||
|
<h2 class="mt-2" style="font-family: 'Montserrat', sans-serif; font-size: 24px; font-weight: bold;">Overview |
||||
|
</h2> |
||||
|
</div> |
||||
|
<div class="row" style="font-family: 'Montserrat', sans-serif; font-weight: 400; font-size: 14px; line-height: 200%;"> |
||||
|
<div class="col-sm-12 py-4"> |
||||
|
This module helps to Print the Excel report of the sale,invoice,picking of multiple records |
||||
|
</div> |
||||
|
</div> |
||||
|
<!-- END OF OVERVIEW SECTION --> |
||||
|
|
||||
|
<!-- FEATURES SECTION --> |
||||
|
<div class="d-flex align-items-center" style="border-bottom: 2px solid #714B67; padding: 15px 0px;" id="features"> |
||||
|
<div class="d-flex justify-content-center align-items-center mr-2" |
||||
|
style="background-color: #F5F5F5; border-radius: 0px; width: 40px; height: 40px;"> |
||||
|
<img src="assets/misc/features.png" /> |
||||
|
</div> |
||||
|
<h2 class="mt-2" style="font-family: 'Montserrat', sans-serif; font-size: 24px; font-weight: bold;">Features |
||||
|
</h2> |
||||
|
</div> |
||||
|
<div class="row" style="font-family: 'Montserrat', sans-serif; font-weight: 400; font-size: 14px; line-height: 200%;"> |
||||
|
<div class="col-sm-12 col-md-6"> |
||||
|
<div class="d-flex align-items-center" style="margin-top: 30px; margin-bottom: 30px"> |
||||
|
<img src="assets/misc/check-box.png" class="mr-2" /> |
||||
|
<span style="font-family: 'Montserrat', sans-serif; font-size: 18px; font-weight: bold;">Available in Odoo 16.0 |
||||
|
Community and Enterprise.</span> |
||||
|
</div> |
||||
|
<div class="d-flex align-items-center" style="margin-top: 30px; margin-bottom: 30px"> |
||||
|
<img src="assets/misc/check-box.png" class="mr-2" /> |
||||
|
<span style="font-family: 'Montserrat', sans-serif; font-size: 18px; font-weight: bold;">Multiple excel reports</span> |
||||
|
</div> |
||||
|
<div class="d-flex align-items-center" style="margin-top: 30px; margin-bottom: 30px"> |
||||
|
<img src="assets/misc/check-box.png" class="mr-2" /> |
||||
|
<span style="font-family: 'Montserrat', sans-serif; font-size: 18px; font-weight: bold;">Report for the multiple records in a single file</span> |
||||
|
</div> |
||||
|
<div class="d-flex align-items-center" style="margin-top: 30px; margin-bottom: 30px"> |
||||
|
<img src="assets/misc/check-box.png" class="mr-2" /> |
||||
|
<span style="font-family: 'Montserrat', sans-serif; font-size: 18px; font-weight: bold;">Multiple sheets per excel file</span> |
||||
|
</div> |
||||
|
</div> |
||||
|
<div class="col-sm-12 col-md-6"> |
||||
|
<div class="d-flex align-items-center" style="margin-top: 30px; margin-bottom: 30px"> |
||||
|
<img src="assets/misc/check-box.png" class="mr-2" /> |
||||
|
<span style="font-family: 'Montserrat', sans-serif; font-size: 18px; font-weight: bold;">Able to print report for Sales,Invoice,Picking</span> |
||||
|
</div> |
||||
|
<div class="d-flex align-items-center" style="margin-top: 30px; margin-bottom: 30px"> |
||||
|
<img src="assets/misc/check-box.png" class="mr-2" /> |
||||
|
<span style="font-family: 'Montserrat', sans-serif; font-size: 18px; font-weight: bold;">Very Easy way to keep multiple records</span> |
||||
|
</div> |
||||
|
</div> |
||||
|
</div> |
||||
|
<!-- END OF FEATURES SECTION --> |
||||
|
|
||||
|
<!-- SCREENSHOTS SECTION --> |
||||
|
<div class="d-flex align-items-center" style="border-bottom: 2px solid #714B67; padding: 15px 0px;" id="screenshots"> |
||||
|
<div class="d-flex justify-content-center align-items-center mr-2" |
||||
|
style="background-color: #F5F5F5; border-radius: 0px; width: 40px; height: 40px;"> |
||||
|
<img src="assets/misc/pictures.png" /> |
||||
|
</div> |
||||
|
<h2 class="mt-2" style="font-family: 'Montserrat', sans-serif; font-size: 24px; font-weight: bold;">Screenshots |
||||
|
</h2> |
||||
|
</div> |
||||
|
<div class="row"> |
||||
|
<div class="col-sm-12"> |
||||
|
<div style="display: block; margin: 30px auto;"> |
||||
|
<h3 style="font-family: 'Montserrat', sans-serif; font-size: 18px; font-weight: bold;">Sale Order Print Menu |
||||
|
</h3> |
||||
|
<p style="font-weight: 400; font-family: 'Montserrat', sans-serif; font-size: 14px;">Go to Sales -> select records from the tree view for the sale order |
||||
|
-> From the action menu -> Sale Order Excel Report |
||||
|
</p> |
||||
|
<img src="assets/screenshots/advanced_excel_report_01.png" class="img-thumbnail"> |
||||
|
</div> |
||||
|
<div style="display: block; margin: 30px auto;"> |
||||
|
<h3 style="font-family: 'Montserrat', sans-serif; font-size: 18px; font-weight: bold;">Sale Order Excel Report |
||||
|
</h3> |
||||
|
<p style="font-weight: 400; font-family: 'Montserrat', sans-serif; font-size: 14px;"> |
||||
|
By clicking Sale Order Excel Report we can print sale order excel report |
||||
|
</p> |
||||
|
<img src="assets/screenshots/advanced_excel_report_02.png" class="img-thumbnail"> |
||||
|
</div> |
||||
|
<div style="display: block; margin: 30px auto;"> |
||||
|
<h3 style="font-family: 'Montserrat', sans-serif; font-size: 18px; font-weight: bold;">Invoice Print Menu |
||||
|
</h3> |
||||
|
<p style="font-weight: 400; font-family: 'Montserrat', sans-serif; font-size: 14px;">Go to Invoicing -> select records from the tree view for the invoice |
||||
|
-> From the action menu -> Account Invoice Excel Report |
||||
|
</p> |
||||
|
<img src="assets/screenshots/advanced_excel_report_03.png" class="img-thumbnail"> |
||||
|
</div> |
||||
|
<div style="display: block; margin: 30px auto;"> |
||||
|
<h3 style="font-family: 'Montserrat', sans-serif; font-size: 18px; font-weight: bold;">Invoice Excel Report |
||||
|
</h3> |
||||
|
<p style="font-weight: 400; font-family: 'Montserrat', sans-serif; font-size: 14px;">By clicking the Account Invoice Excel Report button we can print the Excel report |
||||
|
</p> |
||||
|
<img src="assets/screenshots/advanced_excel_report_04.png" class="img-thumbnail"> |
||||
|
</div> |
||||
|
<div style="display: block; margin: 30px auto;"> |
||||
|
<h3 style="font-family: 'Montserrat', sans-serif; font-size: 18px; font-weight: bold;">Picking Excel Report Menu |
||||
|
</h3> |
||||
|
<p style="font-weight: 400; font-family: 'Montserrat', sans-serif; font-size: 14px;">Go to inventory -> select records from the tree view for the transfer |
||||
|
-> From the action menu -> Picking Excel Report |
||||
|
</p> |
||||
|
<img src="assets/screenshots/advanced_excel_report_05.png" class="img-thumbnail"> |
||||
|
<h3 style="font-family: 'Montserrat', sans-serif; font-size: 18px; font-weight: bold;">Picking Excel Reports |
||||
|
</h3> |
||||
|
<p style="font-weight: 400; font-family: 'Montserrat', sans-serif; font-size: 14px;"> |
||||
|
By clicking the Picking Excel Report button we can print the Excel report</p> |
||||
|
<img src="assets/screenshots/advanced_excel_report_06.png" class="img-thumbnail"> |
||||
|
</div> |
||||
|
</div> |
||||
|
</div> |
||||
|
<!-- END OF SCREENSHOTS SECTION --> |
||||
|
<!-- RELATED PRODUCTS --> |
||||
|
<div class="d-flex align-items-center" style="border-bottom: 2px solid #714B67; padding: 15px 0px;"> |
||||
|
<div class="d-flex justify-content-center align-items-center mr-2" |
||||
|
style="background-color: #F5F5F5; border-radius: 0px; width: 40px; height: 40px;"> |
||||
|
<img src="assets/misc/categories.png" /> |
||||
|
</div> |
||||
|
<h2 class="mt-2" style="font-family: 'Montserrat', sans-serif; font-size: 24px; font-weight: bold;">Related |
||||
|
Products |
||||
|
</h2> |
||||
|
</div> |
||||
|
<div class="row"> |
||||
|
<div class="col-sm-12"> |
||||
|
<div id="demo1" class="row carousel slide" data-ride="carousel"> |
||||
|
<!-- The slideshow --> |
||||
|
<div class="carousel-inner" style="padding: 30px;"> |
||||
|
<div class="carousel-item" style="min-height: 198.656px;"> |
||||
|
<div class="col-xs-12 col-sm-4 col-md-4 mb16 mt16" style="float:left"> |
||||
|
<a href="https://apps.odoo.com/apps/modules/16.0/dynamic_accounts_report/" target="_blank"> |
||||
|
<div style="border-radius:10px"> |
||||
|
<img class="img img-responsive center-block" style="border-radius: 0px;" src="assets/modules/1.png"> |
||||
|
</div> |
||||
|
</a> |
||||
|
</div> |
||||
|
<div class="col-xs-12 col-sm-4 col-md-4 mb16 mt16" style="float:left"> |
||||
|
<a href="https://apps.odoo.com/apps/modules/16.0/product_brand_purchase/" target="_blank"> |
||||
|
<div style="border-radius:10px"> |
||||
|
<img class="img img-responsive center-block" style="border-radius: 0px;" src="assets/modules/2.png"> |
||||
|
</div> |
||||
|
</a> |
||||
|
</div> |
||||
|
<div class="col-xs-12 col-sm-4 col-md-4 mb16 mt16" style="float:left"> |
||||
|
<a href="https://apps.odoo.com/apps/modules/16.0/sale_product_image/" target="_blank"> |
||||
|
<div style="border-radius:10px"> |
||||
|
<img class="img img-responsive center-block" style="border-radius: 0px;" src="assets/modules/3.png"> |
||||
|
</div> |
||||
|
</a> |
||||
|
</div> |
||||
|
</div> |
||||
|
<div class="carousel-item active" style="min-height: 198.656px;"> |
||||
|
<div class="col-xs-12 col-sm-4 col-md-4 mb16 mt16" style="float:left"> |
||||
|
<a href="https://apps.odoo.com/apps/modules/16.0/odoo_sale_order_line_views/#" target="_blank"> |
||||
|
<div style="border-radius:10px"> |
||||
|
<img class="img img-responsive center-block" style="border-radius: 0px;" src="assets/modules/4.png"> |
||||
|
</div> |
||||
|
</a> |
||||
|
</div> |
||||
|
<div class="col-xs-12 col-sm-4 col-md-4 mb16 mt16" style="float:left"> |
||||
|
<a href="https://apps.odoo.com/apps/modules/16.0/base_accounting_kit/#" target="_blank"> |
||||
|
<div style="border-radius:10px"> |
||||
|
<img class="img img-responsive center-block" style="border-radius: 0px;" src="assets/modules/5.gif"> |
||||
|
</div> |
||||
|
</a> |
||||
|
</div> |
||||
|
<div class="col-xs-12 col-sm-4 col-md-4 mb16 mt16" style="float:left"> |
||||
|
<a href="https://apps.odoo.com/apps/modules/16.0/hr_payroll_community/" target="_blank"> |
||||
|
<div style="border-radius:10px"> |
||||
|
<img class="img img-responsive center-block" style="border-radius: 0px;" src="assets/modules/6.png"> |
||||
|
</div> |
||||
|
</a> |
||||
|
</div> |
||||
|
</div> |
||||
|
</div> |
||||
|
</div> |
||||
|
</div> |
||||
|
</div> |
||||
|
<!-- Left and right controls --> |
||||
|
<a class="carousel-control-prev" href="#demo1" data-slide="prev" style="width:35px; color:#000"> <span |
||||
|
class="carousel-control-prev-icon"><i class="fa fa-chevron-left" style="font-size:24px"></i></span> |
||||
|
</a> <a class="carousel-control-next" href="#demo1" data-slide="next" style="width:35px; color:#000"> |
||||
|
<span class="carousel-control-next-icon"><i class="fa fa-chevron-right" style="font-size:24px"></i></span> |
||||
|
</a> |
||||
|
<!-- END OF RELATED PRODUCTS --> |
||||
|
|
||||
|
<!-- OUR SERVICES --> |
||||
|
<div class="d-flex align-items-center" style="border-bottom: 2px solid #714B67; padding: 15px 0px;"> |
||||
|
<div class="d-flex justify-content-center align-items-center mr-2" |
||||
|
style="background-color: #F5F5F5; border-radius: 0px; width: 40px; height: 40px;"> |
||||
|
<img src="assets/misc/star.png" /> |
||||
|
</div> |
||||
|
<h2 class="mt-2" style="font-family: 'Montserrat', sans-serif; font-size: 24px; font-weight: bold;">Our Services |
||||
|
</h2> |
||||
|
</div> |
||||
|
<div class="container my-5"> |
||||
|
<div class="row"> |
||||
|
<div class="col-lg-4 d-flex flex-column justify-content-center align-items-center my-4"> |
||||
|
<div class="d-flex justify-content-center align-items-center mx-3 my-3" |
||||
|
style="background-color: #1dd1a1 !important; border-radius: 15px !important; height: 80px; width: 80px;"> |
||||
|
<img src="assets/icons/cogs.png" class="img-responsive" height="48px" width="48px"> |
||||
|
</div> |
||||
|
<h6 class="text-center" style="font-family: Montserrat, 'sans-serif' !important; font-weight: bold;"> |
||||
|
Odoo |
||||
|
Customization</h6> |
||||
|
</div> |
||||
|
<div class="col-lg-4 d-flex flex-column justify-content-center align-items-center my-4"> |
||||
|
<div class="d-flex justify-content-center align-items-center mx-3 my-3" |
||||
|
style="background-color: #ff6b6b !important; border-radius: 15px !important; height: 80px; width: 80px;"> |
||||
|
<img src="assets/icons/wrench.png" class="img-responsive" height="48px" width="48px"> |
||||
|
</div> |
||||
|
<h6 class="text-center" style="font-family: Montserrat, 'sans-serif' !important; font-weight: bold;"> |
||||
|
Odoo |
||||
|
Implementation</h6> |
||||
|
</div> |
||||
|
<div class="col-lg-4 d-flex flex-column justify-content-center align-items-center my-4"> |
||||
|
<div class="d-flex justify-content-center align-items-center mx-3 my-3" |
||||
|
style="background-color: #6462CD !important; border-radius: 15px !important; height: 80px; width: 80px;"> |
||||
|
<img src="assets/icons/lifebuoy.png" class="img-responsive" height="48px" width="48px"> |
||||
|
</div> |
||||
|
<h6 class="text-center" style="font-family: Montserrat, 'sans-serif' !important; font-weight: bold;"> |
||||
|
Odoo |
||||
|
Support</h6> |
||||
|
</div> |
||||
|
<div class="col-lg-4 d-flex flex-column justify-content-center align-items-center my-4"> |
||||
|
<div class="d-flex justify-content-center align-items-center mx-3 my-3" |
||||
|
style="background-color: #ffa801 !important; border-radius: 15px !important; height: 80px; width: 80px;"> |
||||
|
<img src="assets/icons/user.png" class="img-responsive" height="48px" width="48px"> |
||||
|
</div> |
||||
|
<h6 class="text-center" style="font-family: Montserrat, 'sans-serif' !important; font-weight: bold;"> |
||||
|
Hire |
||||
|
Odoo |
||||
|
Developer</h6> |
||||
|
</div> |
||||
|
<div class="col-lg-4 d-flex flex-column justify-content-center align-items-center my-4"> |
||||
|
<div class="d-flex justify-content-center align-items-center mx-3 my-3" |
||||
|
style="background-color: #54a0ff !important; border-radius: 15px !important; height: 80px; width: 80px;"> |
||||
|
<img src="assets/icons/puzzle.png" class="img-responsive" height="48px" width="48px"> |
||||
|
</div> |
||||
|
<h6 class="text-center" style="font-family: Montserrat, 'sans-serif' !important; font-weight: bold;"> |
||||
|
Odoo |
||||
|
Integration</h6> |
||||
|
</div> |
||||
|
<div class="col-lg-4 d-flex flex-column justify-content-center align-items-center my-4"> |
||||
|
<div class="d-flex justify-content-center align-items-center mx-3 my-3" |
||||
|
style="background-color: #6d7680 !important; border-radius: 15px !important; height: 80px; width: 80px;"> |
||||
|
<img src="assets/icons/update.png" class="img-responsive" height="48px" width="48px"> |
||||
|
</div> |
||||
|
<h6 class="text-center" style="font-family: Montserrat, 'sans-serif' !important; font-weight: bold;"> |
||||
|
Odoo |
||||
|
Migration</h6> |
||||
|
</div> |
||||
|
<div class="col-lg-4 d-flex flex-column justify-content-center align-items-center my-4"> |
||||
|
<div class="d-flex justify-content-center align-items-center mx-3 my-3" |
||||
|
style="background-color: #786fa6 !important; border-radius: 15px !important; height: 80px; width: 80px;"> |
||||
|
<img src="assets/icons/consultation.png" class="img-responsive" height="48px" width="48px"> |
||||
|
</div> |
||||
|
<h6 class="text-center" style="font-family: Montserrat, 'sans-serif' !important; font-weight: bold;"> |
||||
|
Odoo |
||||
|
Consultancy</h6> |
||||
|
</div> |
||||
|
<div class="col-lg-4 d-flex flex-column justify-content-center align-items-center my-4"> |
||||
|
<div class="d-flex justify-content-center align-items-center mx-3 my-3" |
||||
|
style="background-color: #f8a5c2 !important; border-radius: 15px !important; height: 80px; width: 80px;"> |
||||
|
<img src="assets/icons/training.png" class="img-responsive" height="48px" width="48px"> |
||||
|
</div> |
||||
|
<h6 class="text-center" style="font-family: Montserrat, 'sans-serif' !important; font-weight: bold;"> |
||||
|
Odoo |
||||
|
Implementation</h6> |
||||
|
</div> |
||||
|
<div class="col-lg-4 d-flex flex-column justify-content-center align-items-center my-4"> |
||||
|
<div class="d-flex justify-content-center align-items-center mx-3 my-3" |
||||
|
style="background-color: #e6be26 !important; border-radius: 15px !important; height: 80px; width: 80px;"> |
||||
|
<img src="assets/icons/license.png" class="img-responsive" height="48px" width="48px"> |
||||
|
</div> |
||||
|
<h6 class="text-center" style="font-family: Montserrat, 'sans-serif' !important; font-weight: bold;"> |
||||
|
Odoo |
||||
|
Licensing Consultancy</h6> |
||||
|
</div> |
||||
|
</div> |
||||
|
</div> |
||||
|
<!-- END OF OUR SERVICES --> |
||||
|
|
||||
|
<!-- OUR INDUSTRIES --> |
||||
|
<div class="d-flex align-items-center" style="border-bottom: 2px solid #714B67; padding: 15px 0px;"> |
||||
|
<div class="d-flex justify-content-center align-items-center mr-2" |
||||
|
style="background-color: #F5F5F5; border-radius: 0px; width: 40px; height: 40px;"> |
||||
|
<img src="assets/misc/corporate.png" /> |
||||
|
</div> |
||||
|
<h2 class="mt-2" style="font-family: 'Montserrat', sans-serif; font-size: 24px; font-weight: bold;">Our |
||||
|
Industries |
||||
|
</h2> |
||||
|
</div> |
||||
|
<div class="container my-5"> |
||||
|
<div class="row"> |
||||
|
<div class="col-lg-3"> |
||||
|
<div class="my-4 d-flex flex-column justify-content-center" |
||||
|
style="background-color: #f6f8f9 !important; border-radius: 0px; padding: 2rem !important; height: 250px !important;"> |
||||
|
<img src="assets/icons/trading-black.png" class="img-responsive mb-3" height="48px" width="48px"> |
||||
|
<h5 style="font-family: Montserrat, sans-serif !important; color: #000 !important; font-weight: bold;"> |
||||
|
Trading |
||||
|
</h5> |
||||
|
<p style="font-family: Montserrat, sans-serif !important; font-size: 0.9rem !important;"> |
||||
|
Easily procure |
||||
|
and |
||||
|
sell your products</p> |
||||
|
</div> |
||||
|
</div> |
||||
|
<div class="col-lg-3"> |
||||
|
<div class="my-4 d-flex flex-column justify-content-center" |
||||
|
style="background-color: #f6f8f9 !important; border-radius: 0px; padding: 2rem !important; height: 250px !important;"> |
||||
|
<img src="assets/icons/pos-black.png" class="img-responsive mb-3" height="48px" width="48px"> |
||||
|
<h5 style="font-family: Montserrat, sans-serif !important; color: #000 !important; font-weight: bold;"> |
||||
|
POS |
||||
|
</h5> |
||||
|
<p style="font-family: Montserrat, sans-serif !important; font-size: 0.9rem !important;"> |
||||
|
Easy |
||||
|
configuration |
||||
|
and convivial experience</p> |
||||
|
</div> |
||||
|
</div> |
||||
|
<div class="col-lg-3"> |
||||
|
<div class="my-4 d-flex flex-column justify-content-center" |
||||
|
style="background-color: #f6f8f9 !important; border-radius: 0px; padding: 2rem !important; height: 250px !important;"> |
||||
|
<img src="assets/icons/education-black.png" class="img-responsive mb-3" height="48px" width="48px"> |
||||
|
<h5 style="font-family: Montserrat, sans-serif !important; color: #000 !important; font-weight: bold;"> |
||||
|
Education |
||||
|
</h5> |
||||
|
<p style="font-family: Montserrat, sans-serif !important; font-size: 0.9rem !important;"> |
||||
|
A platform for |
||||
|
educational management</p> |
||||
|
</div> |
||||
|
</div> |
||||
|
<div class="col-lg-3"> |
||||
|
<div class="my-4 d-flex flex-column justify-content-center" |
||||
|
style="background-color: #f6f8f9 !important; border-radius: 0px; padding: 2rem !important; height: 250px !important;"> |
||||
|
<img src="assets/icons/manufacturing-black.png" class="img-responsive mb-3" height="48px" width="48px"> |
||||
|
<h5 style="font-family: Montserrat, sans-serif !important; color: #000 !important; font-weight: bold;"> |
||||
|
Manufacturing |
||||
|
</h5> |
||||
|
<p style="font-family: Montserrat, sans-serif !important; font-size: 0.9rem !important;"> |
||||
|
Plan, track and |
||||
|
schedule your operations</p> |
||||
|
</div> |
||||
|
</div> |
||||
|
<div class="col-lg-3"> |
||||
|
<div class="my-4 d-flex flex-column justify-content-center" |
||||
|
style="background-color: #f6f8f9 !important; border-radius: 0px; padding: 2rem !important; height: 250px !important;"> |
||||
|
<img src="assets/icons/ecom-black.png" class="img-responsive mb-3" height="48px" width="48px"> |
||||
|
<h5 style="font-family: Montserrat, sans-serif !important; color: #000 !important; font-weight: bold;"> |
||||
|
E-commerce & Website |
||||
|
</h5> |
||||
|
<p style="font-family: Montserrat, sans-serif !important; font-size: 0.9rem !important;"> |
||||
|
Mobile |
||||
|
friendly, |
||||
|
awe-inspiring product pages</p> |
||||
|
</div> |
||||
|
</div> |
||||
|
<div class="col-lg-3"> |
||||
|
<div class="my-4 d-flex flex-column justify-content-center" |
||||
|
style="background-color: #f6f8f9 !important; border-radius: 0px; padding: 2rem !important; height: 250px !important;"> |
||||
|
<img src="assets/icons/service-black.png" class="img-responsive mb-3" height="48px" width="48px"> |
||||
|
<h5 style="font-family: Montserrat, sans-serif !important; color: #000 !important; font-weight: bold;"> |
||||
|
Service Management |
||||
|
</h5> |
||||
|
<p style="font-family: Montserrat, sans-serif !important; font-size: 0.9rem !important;"> |
||||
|
Keep track of |
||||
|
services and invoice</p> |
||||
|
</div> |
||||
|
</div> |
||||
|
<div class="col-lg-3"> |
||||
|
<div class="my-4 d-flex flex-column justify-content-center" |
||||
|
style="background-color: #f6f8f9 !important; border-radius: 0px; padding: 2rem !important; height: 250px !important;"> |
||||
|
<img src="assets/icons/restaurant-black.png" class="img-responsive mb-3" height="48px" width="48px"> |
||||
|
<h5 style="font-family: Montserrat, sans-serif !important; color: #000 !important; font-weight: bold;"> |
||||
|
Restaurant |
||||
|
</h5> |
||||
|
<p style="font-family: Montserrat, sans-serif !important; font-size: 0.9rem !important;"> |
||||
|
Run your bar or |
||||
|
restaurant methodically</p> |
||||
|
</div> |
||||
|
</div> |
||||
|
<div class="col-lg-3"> |
||||
|
<div class="my-4 d-flex flex-column justify-content-center" |
||||
|
style="background-color: #f6f8f9 !important; border-radius: 0px; padding: 2rem !important; height: 250px !important;"> |
||||
|
<img src="assets/icons/hotel-black.png" class="img-responsive mb-3" height="48px" width="48px"> |
||||
|
<h5 style="font-family: Montserrat, sans-serif !important; color: #000 !important; font-weight: bold;"> |
||||
|
Hotel Management |
||||
|
</h5> |
||||
|
<p style="font-family: Montserrat, sans-serif !important; font-size: 0.9rem !important;"> |
||||
|
An |
||||
|
all-inclusive |
||||
|
hotel management application</p> |
||||
|
</div> |
||||
|
</div> |
||||
|
</div> |
||||
|
</div> |
||||
|
<!-- END OF OUR INDUSTRIES --> |
||||
|
|
||||
|
<!-- SUPPORT --> |
||||
|
<div class="d-flex align-items-center" style="border-bottom: 2px solid #714B67; padding: 15px 0px;"> |
||||
|
<div class="d-flex justify-content-center align-items-center mr-2" |
||||
|
style="background-color: #F5F5F5; border-radius: 0px; width: 40px; height: 40px;"> |
||||
|
<img src="assets/misc/customer-support.png" /> |
||||
|
</div> |
||||
|
<h2 class="mt-2" style="font-family: 'Montserrat', sans-serif; font-size: 24px; font-weight: bold;">Support |
||||
|
</h2> |
||||
|
</div> |
||||
|
<div class="container mt-5"> |
||||
|
<div class="row"> |
||||
|
<div class="col-sm-12 col-md-6"> |
||||
|
<div style="background-color: #F6F8F9; padding: 30px; display: flex; align-items: center;"> |
||||
|
<div class="mr-4 d-flex justify-content-center align-items-center" |
||||
|
style="background-color: #714B67; display: inline-block; height: 70px; width: 70px; display: flex; align-items: center; justify-content: center;"> |
||||
|
<img src="assets/misc/support.png" height="48" width="48" style="width: 42px; height: 42px;" /> |
||||
|
</div> |
||||
|
<div> |
||||
|
<h4>Need Help?</h4> |
||||
|
<p style="line-height: 100%;">Got questions or need help? Get in touch.</p> |
||||
|
<a href="mailto:odoo@cybrosys.com"> |
||||
|
<p style="font-weight: 400; font-size: 28px; line-height: 80%; color: #714B67;"> |
||||
|
odoo@cybrosys.com</p> |
||||
|
</a> |
||||
|
</div> |
||||
|
</div> |
||||
|
</div> |
||||
|
<div class="col-sm-12 col-md-6"> |
||||
|
<div style="background-color: #F6F8F9; padding: 30px; display: flex; align-items: center;"> |
||||
|
<div class="mr-4 d-flex justify-content-center align-items-center" |
||||
|
style="background-color: #2AC44D; display: inline-block; height: 70px; width: 70px; display: flex; align-items: center; justify-content: center;"> |
||||
|
<img src="assets/misc/whatsapp.png" height="52" width="52" style="width: 52px; height: 52px;" /> |
||||
|
</div> |
||||
|
<div> |
||||
|
<h4>WhatsApp</h4> |
||||
|
<p style="line-height: 100%;">Say hi to us on WhatsApp!</p> |
||||
|
<a href="https://api.whatsapp.com/send?phone=918606827707"> |
||||
|
<p style="font-weight: 400; font-size: 28px; line-height: 80%; color: #714B67;">+91 86068 |
||||
|
27707</p> |
||||
|
</a> |
||||
|
</div> |
||||
|
</div> |
||||
|
</div> |
||||
|
</div> |
||||
|
<div class="row"> |
||||
|
<div class="col-sm-12 my-5 d-flex justify-content-center align-items-center"> |
||||
|
<img src="assets/misc/logo.png" width="144" height="31" style="width:144px; height: 31px; margin-top: 40px;" /> |
||||
|
</div> |
||||
|
</div> |
||||
|
</div> |
||||
|
<!-- END OF SUPPORT --> |
@ -0,0 +1,20 @@ |
|||||
|
/** @odoo-module **/ |
||||
|
import { registry } from "@web/core/registry"; |
||||
|
import framework from 'web.framework'; |
||||
|
import session from 'web.session'; |
||||
|
|
||||
|
registry.category("ir.actions.report handlers") |
||||
|
.add("xlsx_handler", async function (action) { |
||||
|
//Passing data to the controller to print the excel file
|
||||
|
if (action.report_type === 'xlsx') { |
||||
|
framework.blockUI(); |
||||
|
var def = $.Deferred(); |
||||
|
session.get_file({ |
||||
|
url: '/xlsx_reports', |
||||
|
data: action.data, |
||||
|
success: def.resolve.bind(def), |
||||
|
complete: framework.unblockUI, |
||||
|
}); |
||||
|
return def; |
||||
|
} |
||||
|
}) |