@ -0,0 +1,13 @@ |
|||
ADVANCED CASH FLOW STATEMENTS |
|||
============================= |
|||
Generate 4 levels of Dynamic Cash Flow Statements Report. |
|||
|
|||
Configuration |
|||
============= |
|||
|
|||
No additional configurations needed |
|||
|
|||
Credits |
|||
======= |
|||
Developer: Varsha Vivek K @ cybrosys, Contact: odoo@cybrosys.com |
|||
V14 Muhammed Nafih @cybrosys |
@ -0,0 +1,24 @@ |
|||
# -*- coding: utf-8 -*- |
|||
############################################################################# |
|||
# |
|||
# Cybrosys Technologies Pvt. Ltd. |
|||
# |
|||
# Copyright (C) 2019-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 controllers |
|||
from . import wizard |
@ -0,0 +1,45 @@ |
|||
# -*- coding: utf-8 -*- |
|||
############################################################################# |
|||
# |
|||
# Cybrosys Technologies Pvt. Ltd. |
|||
# |
|||
# Copyright (C) 2020-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 Cash Flow Statements', |
|||
'version': '14.0.1.0.0', |
|||
'summary': """Generate four levels of cash flow statement reports in PDF and Excel""", |
|||
'description': """Generate four levels of cash flow statement reports in PDF and Excel, pdf report, excel report, cashflow, odoo13""", |
|||
'author': "Cybrosys Techno Solutions", |
|||
'company': 'Cybrosys Techno Solutions', |
|||
'maintainer': 'Cybrosys Techno Solutions', |
|||
'website': "https://www.cybrosys.com", |
|||
'category': 'Accounting', |
|||
'depends': ['base', 'account'], |
|||
'data': ['security/ir.model.access.csv', |
|||
'wizard/account_wizard.xml', |
|||
'views/action_manager.xml', |
|||
'report/print_report.xml', |
|||
'report/pdf_template.xml', |
|||
], |
|||
'images': ['static/description/banner.png'], |
|||
'license': 'LGPL-3', |
|||
'installable': True, |
|||
'application': False, |
|||
'auto_install': False, |
|||
} |
@ -0,0 +1,23 @@ |
|||
# -*- coding: utf-8 -*- |
|||
############################################################################# |
|||
# |
|||
# Cybrosys Technologies Pvt. Ltd. |
|||
# |
|||
# Copyright (C) 2019-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 main |
@ -0,0 +1,56 @@ |
|||
# -*- coding: utf-8 -*- |
|||
############################################################################# |
|||
# |
|||
# Cybrosys Technologies Pvt. Ltd. |
|||
# |
|||
# Copyright (C) 2019-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.addons.web.controllers.main import _serialize_exception |
|||
from odoo.tools import html_escape |
|||
|
|||
|
|||
class XLSXReportController(http.Controller): |
|||
|
|||
@http.route('/xlsx_reports', type='http', auth='user', methods=['POST'], csrf=False) |
|||
def get_report_xlsx(self, model, options, output_format, token, report_name, **kw): |
|||
uid = request.session.uid |
|||
report_obj = request.env[model].sudo(uid) |
|||
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(report_name + '.xlsx')) |
|||
] |
|||
) |
|||
report_obj.get_xlsx_report(options, response) |
|||
response.set_cookie('fileToken', token) |
|||
return response |
|||
except Exception as e: |
|||
se = _serialize_exception(e) |
|||
error = { |
|||
'code': 200, |
|||
'message': 'Odoo Server Error', |
|||
'data': se |
|||
} |
|||
return request.make_response(html_escape(json.dumps(error))) |
@ -0,0 +1,6 @@ |
|||
## Module <advance_cash_flow_statements> |
|||
|
|||
#### 13.02.2020 |
|||
#### Version 14.0.1.0.0 |
|||
##### ADD |
|||
- Initial commit for Cash Flow Statement Report |
@ -0,0 +1,218 @@ |
|||
<?xml version="1.0" encoding="utf-8"?> |
|||
<odoo> |
|||
<template id="cash_flow_pdf_report"> |
|||
<t t-call="web.html_container"> |
|||
<t t-call="web.internal_layout"> |
|||
<div style="font-size:12px" class="col-4"> |
|||
<b>Report Date :</b> |
|||
<span t-esc='today'/> |
|||
<br/> |
|||
<span t-esc='logged_users'/> |
|||
</div> |
|||
<br/> |
|||
<div class="page"> |
|||
<h4 style="padding-left:10px !important">Cash Flow statements</h4> |
|||
<div style="width:90%;margin:1px auto;font-size:12px" class="row mt32 mb32"> |
|||
<div class="col-4"> |
|||
<strong>Target Moves:</strong> |
|||
<p> |
|||
<span t-if="target_move == 'posted'">All Posted Entries</span> |
|||
<span t-if="target_move == 'all'">All Entries</span> |
|||
</p> |
|||
</div> |
|||
<div class="col-4"> |
|||
<p> |
|||
<strong>Date from :</strong> |
|||
<span t-esc='date_from'/> |
|||
<br/> |
|||
<strong>Date to :</strong> |
|||
<span t-esc='date_to'/> |
|||
</p> |
|||
</div> |
|||
</div> |
|||
<table style="width:90%;margin:2px auto;" class="table table-condensed"> |
|||
<thead> |
|||
<tr style="font-size:13px; padding: 0.25rem !important;"> |
|||
<th>Name</th> |
|||
<th class="text-right">Cash In</th> |
|||
<th class="text-right">Cash Out</th> |
|||
<th class="text-right">Balance</th> |
|||
</tr> |
|||
</thead> |
|||
<tbody style="font-size:12px" t-foreach="fetched_data" t-as="fetch"> |
|||
<tr t-if="levels == 'summary'"> |
|||
<td> |
|||
<span t-esc="fetch.get('month_part')"/> |
|||
<span t-esc="int(fetch.get('year_part'))"/> |
|||
</td> |
|||
<td class="text-right"> |
|||
<span t-esc="fetch.get('total_debit')" |
|||
t-options="{'widget': 'monetary', |
|||
'display_currency': res_company.currency_id}"/> |
|||
</td> |
|||
<td class="text-right"> |
|||
<span t-esc="fetch.get('total_credit')" |
|||
t-options="{'widget': 'monetary', |
|||
'display_currency': res_company.currency_id}"/> |
|||
</td> |
|||
<td class="text-right"> |
|||
<span t-esc="fetch.get('total_balance')" |
|||
t-options="{'widget': 'monetary', |
|||
'display_currency': res_company.currency_id}"/> |
|||
</td> |
|||
</tr> |
|||
<tr style="font-size:13px" t-if="levels == 'consolidated'"> |
|||
<td> |
|||
<span t-esc="fetch.get('name')"/> |
|||
</td> |
|||
<td class="text-right"> |
|||
<span t-esc="fetch.get('total_debit')" |
|||
t-options="{'widget': 'monetary', |
|||
'display_currency': res_company.currency_id}"/> |
|||
</td> |
|||
<td class="text-right"> |
|||
<span t-esc="fetch.get('total_credit')" |
|||
t-options="{'widget': 'monetary', |
|||
'display_currency': res_company.currency_id}"/> |
|||
</td> |
|||
<td class="text-right"> |
|||
<span t-esc="fetch.get('total_balance')" |
|||
t-options="{'widget': 'monetary', |
|||
'display_currency': res_company.currency_id}"/> |
|||
</td> |
|||
</tr> |
|||
</tbody> |
|||
|
|||
<tbody style="font-size:12px" t-if="levels == 'detailed'" t-foreach="journal_res" t-as="res"> |
|||
<tr t-if="fet.get('name') == res.get('account')" t-foreach="fetched_data" t-as="fet"> |
|||
<td> |
|||
<strong> |
|||
<span t-esc="fet.get('code')"/> |
|||
<span t-esc="fet.get('name')"/> |
|||
</strong> |
|||
</td> |
|||
<td class="text-right"> |
|||
<strong> |
|||
<span t-esc="fet.get('total_debit')" |
|||
t-options="{'widget': 'monetary', |
|||
'display_currency': res_company.currency_id}"/> |
|||
</strong> |
|||
</td> |
|||
<td class="text-right"> |
|||
<strong> |
|||
<span t-esc="fet.get('total_credit')" |
|||
t-options="{'widget': 'monetary', |
|||
'display_currency': res_company.currency_id}"/> |
|||
</strong> |
|||
</td> |
|||
<td class="text-right"> |
|||
<strong> |
|||
<span t-esc="fet.get('total_debit') - fet.get('total_credit')" |
|||
t-options="{'widget': 'monetary', |
|||
'display_currency': res_company.currency_id}"/> |
|||
</strong> |
|||
</td> |
|||
<tr t-foreach="res.get('journal_lines')" t-as="mov"> |
|||
<td style="padding-left:50px !important" class="text-left"> |
|||
<span t-esc="mov['name']"/> |
|||
</td> |
|||
<td class="text-right"> |
|||
<span t-esc="mov['total_debit']" |
|||
t-options="{'widget': 'monetary', |
|||
'display_currency': res_company.currency_id}"/> |
|||
</td> |
|||
<td class="text-right"> |
|||
<span t-esc="mov['total_credit']" |
|||
t-options="{'widget': 'monetary', |
|||
'display_currency': res_company.currency_id}"/> |
|||
</td> |
|||
<td class="text-right"> |
|||
<span t-esc="mov['total_debit'] - mov['total_credit']" |
|||
t-options="{'widget': 'monetary', |
|||
'display_currency': res_company.currency_id}"/> |
|||
</td> |
|||
</tr> |
|||
</tr> |
|||
</tbody> |
|||
|
|||
<tbody style="font-size:12px" t-if="levels == 'very'" t-foreach="account_res" t-as="res"> |
|||
<tr t-if="fet.get('name') == res.get('account')" t-foreach="fetched" t-as="fet"> |
|||
<td> |
|||
<strong> |
|||
<span t-esc="fet.get('code')"/> |
|||
<span t-esc="fet.get('name')"/> |
|||
</strong> |
|||
</td> |
|||
<td class="text-right"> |
|||
<strong> |
|||
<span t-esc="fet.get('total_debit')" |
|||
t-options="{'widget': 'monetary', |
|||
'display_currency': res_company.currency_id}"/> |
|||
</strong> |
|||
</td> |
|||
<td class="text-right"> |
|||
<strong> |
|||
<span t-esc="fet.get('total_credit')" |
|||
t-options="{'widget': 'monetary', |
|||
'display_currency': res_company.currency_id}"/> |
|||
</strong> |
|||
</td> |
|||
<td class="text-right"> |
|||
<strong> |
|||
<span t-esc="fet.get('total_debit') - fet.get('total_credit')" |
|||
t-options="{'widget': 'monetary', |
|||
'display_currency': res_company.currency_id}"/> |
|||
</strong> |
|||
</td> |
|||
|
|||
|
|||
<tr t-if="line['account_name'] == res.get('account')" |
|||
t-foreach="res.get('journal_lines')" t-as="line"> |
|||
<td style="padding-left:20px !important" class="text-left"> |
|||
<span t-esc="line['name']"/> |
|||
</td> |
|||
<td class="text-right"> |
|||
<span t-esc="line['total_debit']" |
|||
t-options="{'widget': 'monetary', |
|||
'display_currency': res_company.currency_id}"/> |
|||
</td> |
|||
<td class="text-right"> |
|||
<span t-esc="line['total_credit']" |
|||
t-options="{'widget': 'monetary', |
|||
'display_currency': res_company.currency_id}"/> |
|||
</td> |
|||
<td class="text-right"> |
|||
<span t-esc="line['total_debit'] - line['total_credit']" |
|||
t-options="{'widget': 'monetary', |
|||
'display_currency': res_company.currency_id}"/> |
|||
</td> |
|||
<tr t-if="mov['name'] == line['name']" t-foreach="res.get('move_lines')" |
|||
t-as="mov"> |
|||
<td style="padding-left:50px !important" class="text-left"> |
|||
<span t-esc="mov['move_name']"/> |
|||
</td> |
|||
<td class="text-right"> |
|||
<span t-esc="mov['total_debit']" |
|||
t-options="{'widget': 'monetary', |
|||
'display_currency': res_company.currency_id}"/> |
|||
</td> |
|||
<td class="text-right"> |
|||
<span t-esc="mov['total_credit']" |
|||
t-options="{'widget': 'monetary', |
|||
'display_currency': res_company.currency_id}"/> |
|||
</td> |
|||
<td class="text-right"> |
|||
<span t-esc="mov['total_debit'] - mov['total_credit']" |
|||
t-options="{'widget': 'monetary', |
|||
'display_currency': res_company.currency_id}"/> |
|||
</td> |
|||
</tr> |
|||
</tr> |
|||
</tr> |
|||
</tbody> |
|||
</table> |
|||
</div> |
|||
</t> |
|||
</t> |
|||
</template> |
|||
</odoo> |
@ -0,0 +1,11 @@ |
|||
<?xml version="1.0" encoding="UTF-8"?> |
|||
<odoo> |
|||
<report |
|||
id="pdf_report" |
|||
model="account.wizard" |
|||
string="Cash flow statement Pdf Report" |
|||
report_type="qweb-pdf" |
|||
name="advance_cash_flow_statements.cash_flow_pdf_report" |
|||
file="advance_cash_flow_statements.cash_flow_pdf_report" |
|||
/> |
|||
</odoo> |
|
After Width: | Height: | Size: 86 KiB |
After Width: | Height: | Size: 23 KiB |
After Width: | Height: | Size: 124 KiB |
After Width: | Height: | Size: 112 KiB |
After Width: | Height: | Size: 190 KiB |
After Width: | Height: | Size: 72 KiB |
After Width: | Height: | Size: 109 KiB |
After Width: | Height: | Size: 28 KiB |
After Width: | Height: | Size: 40 KiB |
After Width: | Height: | Size: 28 KiB |
After Width: | Height: | Size: 44 KiB |
After Width: | Height: | Size: 55 KiB |
After Width: | Height: | Size: 76 KiB |
After Width: | Height: | Size: 54 KiB |
After Width: | Height: | Size: 83 KiB |
After Width: | Height: | Size: 112 KiB |
After Width: | Height: | Size: 77 KiB |
After Width: | Height: | Size: 145 KiB |
After Width: | Height: | Size: 15 KiB |
After Width: | Height: | Size: 51 KiB |
After Width: | Height: | Size: 133 KiB |
@ -0,0 +1,690 @@ |
|||
<div class="row" |
|||
style="margin: 0;position: relative;color: #000;background-position: center;background: #ffffff;border-bottom: 1px solid #e4e4e4;text-align: center; margin: auto; display: flex;justify-content: center;"> |
|||
<a href="https://www.cybrosys.com/" target="_blank"><img src="images/cybrosys.png" |
|||
style=" width: 293px; padding: 1rem 0rem; margin: auto" |
|||
alt="cybrosys-logo"></a></div> |
|||
|
|||
<div class="row" |
|||
style="margin:75px 0;position: relative;color: #000;background-position: center;background: #ffffff;border-bottom: 1px solid #e4e4e4; padding-bottom: 30px;"> |
|||
<div class="col-md-7 col-sm-12 col-xs-12" style="padding: 0px"> |
|||
<div style=" margin: 0 0 0px;padding: 20px 0 10;font-size: 23px;line-height: 35px;font-weight: 400;color: #000;border-top: 1px solid rgba(255,255,255,0.1);border-bottom: 1px solid rgba(255,255,255,0.11);text-align: left;"> |
|||
<h1 style="font-size: 39px;font-weight: 600;margin: 0px !important;">Advanced Cash Flow Statements</h1> |
|||
<h3 style="font-size: 21px;margin-top: 8px;position: relative;">Generate four levels of cash flow statements.Print reports in both PDF and XLSX formats. |
|||
</h3> |
|||
</div> |
|||
<h2 style="font-weight: 600;font-size: 1.8rem;margin-top: 15px;">Key Highlights</h2> |
|||
<ul style=" padding: 0 1px; list-style: none; "> |
|||
<li style="display: flex;align-items: center;padding: 8px 0;font-size: 18px;"><img src="images/checked.png" |
|||
style=" width: 22px; margin-right: 6px; " |
|||
alt="check"> Available in |
|||
Odoo13 community edition. |
|||
</li> |
|||
<li style="display: flex;align-items: center;padding: 8px 0;font-size: 18px;"><img src="images/checked.png" |
|||
style=" width: 22px; margin-right: 6px; " |
|||
alt="check"> Generate |
|||
four levels of cash flow statements and print reports in both PDF and XLSX format. |
|||
</li> |
|||
<li style="display: flex;align-items: center;padding: 8px 0;font-size: 18px;"><img src="images/checked.png" |
|||
style=" width: 22px; margin-right: 6px; " |
|||
alt="check"> 1)Summary - |
|||
Month wise cash flow report. |
|||
</li> |
|||
<li style="display: flex;align-items: center;padding: 8px 0;font-size: 18px;"><img src="images/checked.png" |
|||
style=" width: 22px; margin-right: 6px; " |
|||
alt="check"> |
|||
2)Consolidated - Report based on the cash flow affected account's type. |
|||
</li> |
|||
<li style="display: flex;align-items: center;padding: 8px 0;font-size: 18px;"><img src="images/checked.png" |
|||
style=" width: 22px; margin-right: 6px; " |
|||
alt="check"> 3)Detailed - |
|||
Report based on the cash flow affected accounts. |
|||
</li> |
|||
<li style="display: flex;align-items: center;padding: 8px 0;font-size: 18px;"><img src="images/checked.png" |
|||
style=" width: 22px; margin-right: 6px; " |
|||
alt="check"> 4)Very |
|||
Detailed - Report shows the cash flow affected account,corresponding journal entries and its move lines. |
|||
</li> |
|||
</ul> |
|||
|
|||
</div> |
|||
<div class="col-md-5 col-sm-12 col-xs-12"><img src="images/advance_cash_flow_statements.png" class="img-responsive" |
|||
alt=""></div> |
|||
</div> |
|||
<div> |
|||
|
|||
|
|||
<section class="oe_container" style="padding: 1rem 0rem 1rem; background-color: #ffffff !important;"> |
|||
<div class="row py-4 px-3"> |
|||
<div class="w-100" style="padding-top:30px;padding-bottom:45px;border-radius: 10px;"> |
|||
<ul role="tablist" class="nav nav-pills justify-content-center" data-tabs="tabs" id="pills-tab" |
|||
style="border: none;background: unset;"> |
|||
|
|||
<li class="nav-item mr-1 mb-3" |
|||
style="font-size: 1.05rem;font-weight: 400;transition: all .15s ease;color: #d31c22;background-color: #d31c22;box-shadow: 0 4px 6px rgba(50,50,93,.11), 0 1px 3px rgba(0,0,0,.08);border: 0;font-family: 'Open Sans',sans-serif;width: 140px;border-radius: 0.30rem;"> |
|||
<a id="pills-home-tab" data-toggle="pill" href="#pills-home" role="tab" |
|||
aria-controls="pills-home" aria-selected="true" class="nav-link active show" |
|||
style="color: #000000;line-height: 33px;border: 0;border-radius: .25rem;font-weight: 400;">Overview </a> |
|||
</li> |
|||
<li class="nav-item mr-1 mb-3" |
|||
style="font-size: 1.05rem;font-weight: 400;transition: all .15s ease;color: #d31c22;background-color: #d31c22;box-shadow: 0 4px 6px rgba(50,50,93,.11), 0 1px 3px rgba(0,0,0,.08);border: 0;font-family: 'Open Sans',sans-serif;width: 140px;border-radius: 0.30rem;"> |
|||
<a id="pills-home-tab" data-toggle="pill" href="#pills-home1" role="tab" |
|||
aria-controls="pills-home" aria-selected="true" class="nav-link " |
|||
style="color: #000000;line-height: 33px;border: 0;border-radius: .25rem;font-weight: 400;">Features </a> |
|||
</li> |
|||
|
|||
<li class="nav-item mr-1 mb-3" |
|||
style="font-size: 1.05rem;font-weight: 400;transition: all .15s ease;color: #ffffff;background-color: #d31c22;box-shadow: 0 4px 6px rgba(50,50,93,.11), 0 1px 3px rgba(0,0,0,.08);border: 0;font-family: 'Open Sans',sans-serif;width: 140px;border-radius: 0.30rem;"> |
|||
<a class="nav-link" id="pills-profile-tab" data-toggle="pill" href="#pills-profile" role="tab" |
|||
aria-controls="pills-profile" aria-selected="false" |
|||
style="color: #000000;line-height: 33px;border: 0;border-radius: .25rem;font-weight: 400;">Screenshots </a> |
|||
</li> |
|||
|
|||
</ul> |
|||
|
|||
|
|||
<div class="tab-content" id="pills-tabContent" |
|||
style="padding-top: 30px; padding-bottom: 30px; padding: 30px;"> |
|||
<div class="px-3 pt-1 tab-pane fade active show" id="pills-home" role="tabpanel" aria-labelledby=" |
|||
pills-home-tab"> |
|||
<!-- Overview--> |
|||
<h2 style="font-weight: 600;text-align: center;width: 100%;">Overview</h2> |
|||
<hr style="margin-top: 0px;margin-bottom: 2%;border: 0;text-align: center;border-top: 3px solid #d21c22;width: 5%;"> |
|||
<h3 class="oe_slogan" |
|||
style="text-align: center;font-size: 19px;width: 100%;margin: 0;margin-top: 14px;color: #000 !important;opacity: 1 !important;line-height: 31px;font-weight: 400;letter-spacing: .5px;margin-bottom: 21px;"> |
|||
Currently, in Odoo community edition there are no Cash Flow Statements. A cash flow statement is a financial statement that provides aggregate data regarding all cash inflows a company receives from its ongoing operations and external investment sources, also includes all cash outflows that pay for business activities and investments during a given period. This module generates four-level cash flow statements and prints its report in both PDF and XLSX format. |
|||
|
|||
</div> |
|||
|
|||
<div class="px-3 pt-1 tab-pane fade " id="pills-home1" role="tabpanel" aria-labelledby=" |
|||
pills-home-tab"> |
|||
<!-- feature tab--> |
|||
<h2 style="font-weight: 600;text-align: center;width: 100%;">Advanced Cash Flow Statements</h2> |
|||
<hr style="margin-top: 0px;margin-bottom: 2%;border: 0;text-align: center;border-top: 3px solid #d21c22;width: 5%;"> |
|||
<ul> |
|||
|
|||
<li class="mb8" |
|||
style="font-family: Roboto;color: #000;list-style-type: square;font-size: 19px;line-height: 50px; background-color: #3a34380d;padding-left: 20px;border-radius: 7px;list-style: none;"> |
|||
<i class="fa fa-check-circle-o" style="width:40px; color:#07B700"></i>Available |
|||
in Odoo13 community edition. |
|||
</li> |
|||
|
|||
<li class="mb8" |
|||
style="font-family: Roboto;color: #000;list-style-type: square;font-size: 19px;line-height: 50px; background-color: #3a34380d;padding-left: 20px;border-radius: 7px;list-style: none;"> |
|||
<i class="fa fa-check-circle-o" style="width:40px; color:#07B700"></i>Generates |
|||
four levels of Cash flow statements report in both PDF and XLSX formats. |
|||
</li> |
|||
|
|||
<li class="mb8" |
|||
style="font-family: Roboto;color: #000;list-style-type: square;font-size: 19px;line-height: 50px; background-color: #3a34380d;padding-left: 20px;border-radius: 7px;list-style: none;"> |
|||
<i class="fa fa-check-circle-o" style="width:40px; color:#07B700"></i>1)Summary |
|||
- Month wise cash flow report. |
|||
</li> |
|||
|
|||
<li class="mb8" |
|||
style="font-family: Roboto;color: #000;list-style-type: square;font-size: 19px;line-height: 50px; background-color: #3a34380d;padding-left: 20px;border-radius: 7px;list-style: none;"> |
|||
<i class="fa fa-check-circle-o" style="width:40px; color:#07B700"></i>2)Consolidated |
|||
- Report based on the cash flow affected account's type. |
|||
</li> |
|||
<li class="mb8" |
|||
style="font-family: Roboto;color: #000;list-style-type: square;font-size: 19px;line-height: 50px; background-color: #3a34380d;padding-left: 20px;border-radius: 7px;list-style: none;"> |
|||
<i class="fa fa-check-circle-o" style="width:40px; color:#07B700"></i>3)Detailed |
|||
- Report based on the cash flow affected accounts. |
|||
</li> |
|||
<li class="mb8" |
|||
style="font-family: Roboto;color: #000;list-style-type: square;font-size: 19px;line-height: 50px; background-color: #3a34380d;padding-left: 20px;border-radius: 7px;list-style: none;"> |
|||
<i class="fa fa-check-circle-o" style="width:40px; color:#07B700"></i>4)Very |
|||
Detailed - Report shows the cash flow affected account,corresponding journal entries and |
|||
its move lines. |
|||
</li> |
|||
|
|||
</ul> |
|||
</div> |
|||
|
|||
|
|||
<!-- Screenshot tab--> |
|||
<div class="px-3 tab-pane fade" id="pills-profile" role="tabpanel" |
|||
aria-labelledby="pills-profile-tab"> |
|||
|
|||
<div class="tab-pane"> |
|||
<h2 style="font-weight: 600;text-align: center;width: 100%;">Screenshots</h2> |
|||
<hr style="margin-top: 0px;margin-bottom: 2%;border: 0;text-align: center;border-top: 3px solid #d21c22;width: 5%;"> |
|||
<div> |
|||
<section class="oe_container"> |
|||
|
|||
<div id="demo" class="row carousel slide mb32" data-ride="carousel"> |
|||
<div class="carousel-inner"> |
|||
<div class="carousel-item active" style="min-height: 0px;"> |
|||
<div class="col-xs-12 col-sm-12 col-md-12 mb16 mt16" |
|||
style="float: left;"> |
|||
<h3 class="alert" |
|||
style="font-weight:400;color: #091E42;background: #fff;text-align: left;border-radius: 0; font-size: 18px;"> |
|||
<img src="images/checked.png" |
|||
style=" width: 22px; margin-right: 6px; " alt="check">Go to |
|||
Invoicing --> Reporting --> Financial Reports --> Adv Cash Flow |
|||
Statement.</h3> |
|||
|
|||
<div style=""><img class="img img-responsive center-block" |
|||
style="border-top-left-radius: 10px;border-top-right-radius: 10px;" |
|||
src="images/advance_cash_flow_statements-1.png"> |
|||
</div> |
|||
</div> |
|||
|
|||
</div> |
|||
<div class="carousel-item" style="min-height: 0px;"> |
|||
<div class="col-xs-12 col-sm-12 col-md-12 mb16 mt16" |
|||
style="float: left;"> |
|||
<h3 class="alert" |
|||
style="font-weight:400;color: #091E42;background: #fff;text-align: left;border-radius: 0; font-size: 18px;"> |
|||
<img src="images/checked.png" |
|||
style=" width: 22px; margin-right: 6px; " alt="check"> A wizard will be opened once the user clicks on it. Choose start, end dates and target moves. Choose one level that you want to generate a report. Click the button PDF to get the cash flow report in PDF format. Click the button Excel to get the cash flow report in excel format.</h3> |
|||
|
|||
<div style=""><img class="img img-responsive center-block" |
|||
style="border-top-left-radius: 10px;border-top-right-radius: 10px;" |
|||
src="images/advance_cash_flow_statements-2.png"> |
|||
</div> |
|||
</div> |
|||
|
|||
</div> |
|||
|
|||
|
|||
<div class="carousel-item" style="min-height: 0px;"> |
|||
<div class="col-xs-12 col-sm-12 col-md-12 mb16 mt16" |
|||
style="float: left;"> |
|||
<h3 class="mb32 alert" |
|||
style="font-weight:400;color: #091E42;background: #fff;text-align: left;border-radius: 0; font-size: 18px; "> |
|||
<img src="images/checked.png" |
|||
style=" width: 22px; margin-right: 6px; " alt="check">Cash |
|||
flow statement summary pdf report.</h3> |
|||
|
|||
<div style=""><img class="img img-responsive center-block" |
|||
style="border-top-left-radius: 10px;border-top-right-radius: 10px;" |
|||
src="images/advance_cash_flow_statements-3.png"> |
|||
</div> |
|||
</div> |
|||
|
|||
</div> |
|||
|
|||
<div class="carousel-item" style="min-height: 0px;"> |
|||
<div class="col-xs-12 col-sm-12 col-md-12 mb16 mt16" |
|||
style="float: left;"> |
|||
<h3 class="alert" |
|||
style="font-weight:400;color: #091E42;background: #fff;text-align: left;border-radius: 0; font-size: 18px; "> |
|||
<img src="images/checked.png" |
|||
style=" width: 22px; margin-right: 6px; " alt="check">Cash |
|||
flow Statement Summary excel Report.</h3> |
|||
|
|||
<div style=""><img class="img img-responsive center-block" |
|||
style="border-top-left-radius: 10px;border-top-right-radius: 10px;" |
|||
src="images/advance_cash_flow_statements-4.png"> |
|||
</div> |
|||
</div> |
|||
|
|||
</div> |
|||
<div class="carousel-item" style="min-height: 0px;"> |
|||
<div class="col-xs-12 col-sm-12 col-md-12 mb16 mt16" |
|||
style="float: left;"> |
|||
<h3 class="alert" |
|||
style="font-weight:400;color: #091E42;background: #fff;text-align: left;border-radius: 0; font-size: 18px; "> |
|||
<img src="images/checked.png" |
|||
style=" width: 22px; margin-right: 6px; " alt="check">Cash |
|||
flow Statement consolidated pdf Report.</h3> |
|||
|
|||
<div style=""><img class="img img-responsive center-block" |
|||
style="border-top-left-radius: 10px;border-top-right-radius: 10px;" |
|||
src="images/advance_cash_flow_statements-5.png"> |
|||
</div> |
|||
</div> |
|||
|
|||
</div> |
|||
<div class="carousel-item" style="min-height: 0px;"> |
|||
<div class="col-xs-12 col-sm-12 col-md-12 mb16 mt16" |
|||
style="float: left;"> |
|||
<h3 class="alert" |
|||
style="font-weight:400;color: #091E42;background: #fff;text-align: left;border-radius: 0; font-size: 18px; "> |
|||
<img src="images/checked.png" |
|||
style=" width: 22px; margin-right: 6px; " alt="check">Cash |
|||
flow Statement consolidated excel Report.</h3> |
|||
|
|||
<div style=""><img class="img img-responsive center-block" |
|||
style="border-top-left-radius: 10px;border-top-right-radius: 10px;" |
|||
src="images/advance_cash_flow_statements-6.png"> |
|||
</div> |
|||
</div> |
|||
|
|||
</div> |
|||
<div class="carousel-item" style="min-height: 0px;"> |
|||
<div class="col-xs-12 col-sm-12 col-md-12 mb16 mt16" |
|||
style="float: left;"> |
|||
<h3 class="alert" |
|||
style="font-weight:400;color: #091E42;background: #fff;text-align: left;border-radius: 0; font-size: 18px; "> |
|||
<img src="images/checked.png" |
|||
style=" width: 22px; margin-right: 6px; " alt="check">Cash |
|||
flow Statement Detailed pdf Report</h3> |
|||
|
|||
<div style=""><img class="img img-responsive center-block" |
|||
style="border-top-left-radius: 10px;border-top-right-radius: 10px;" |
|||
src="images/advance_cash_flow_statements-7.png"> |
|||
</div> |
|||
</div> |
|||
|
|||
</div> |
|||
<div class="carousel-item" style="min-height: 0px;"> |
|||
<div class="col-xs-12 col-sm-12 col-md-12 mb16 mt16" |
|||
style="float: left;"> |
|||
<h3 class="alert" |
|||
style="font-weight:400;color: #091E42;background: #fff;text-align: left;border-radius: 0; font-size: 18px; "> |
|||
<img src="images/checked.png" |
|||
style=" width: 22px; margin-right: 6px; " alt="check">Cash |
|||
flow Statement Detailed excel Report</h3> |
|||
|
|||
<div style=""><img class="img img-responsive center-block" |
|||
style="border-top-left-radius: 10px;border-top-right-radius: 10px;" |
|||
src="images/advance_cash_flow_statements-8.png"> |
|||
</div> |
|||
</div> |
|||
|
|||
</div> |
|||
<div class="carousel-item" style="min-height: 0px;"> |
|||
<div class="col-xs-12 col-sm-12 col-md-12 mb16 mt16" |
|||
style="float: left;"> |
|||
<h3 class="alert" |
|||
style="font-weight:400;color: #091E42;background: #fff;text-align: left;border-radius: 0; font-size: 18px; "> |
|||
<img src="images/checked.png" |
|||
style=" width: 22px; margin-right: 6px; " alt="check">Cash |
|||
flow Statement Very Detailed pdf Report</h3> |
|||
|
|||
<div style=""><img class="img img-responsive center-block" |
|||
style="border-top-left-radius: 10px;border-top-right-radius: 10px;" |
|||
src="images/advance_cash_flow_statements-9.png"> |
|||
</div> |
|||
</div> |
|||
|
|||
</div> |
|||
|
|||
<div class="carousel-item" style="min-height: 0px;"> |
|||
<div class="col-xs-12 col-sm-12 col-md-12 mb16 mt16" |
|||
style="float: left;"> |
|||
|
|||
<h3 class="alert" |
|||
style="font-weight:400;color: #091E42;background: #fff;text-align: left;border-radius: 0;font-size: 18px;"> |
|||
<img src="images/checked.png" |
|||
style=" width: 22px; margin-right: 6px; " alt="check">Cash |
|||
flow Statement Very Detailed excel Report</h3> |
|||
|
|||
<div style=""> |
|||
|
|||
<img class="img img-responsive center-block" |
|||
style="border-top-left-radius: 10px;border-top-right-radius: 10px;" |
|||
src="images/advance_cash_flow_statements-10.png"></div> |
|||
</div> |
|||
|
|||
</div> |
|||
|
|||
</div> |
|||
|
|||
<a class="carousel-control-prev" href="#demo" data-slide="prev" |
|||
style="left:-25px;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="#demo" data-slide="next" |
|||
style="right:-25px;width: 35px;color: #000;"> <span |
|||
class="carousel-control-next-icon"><i class="fa fa-chevron-right" |
|||
style="font-size:24px"></i></span> |
|||
</a></div> |
|||
|
|||
</section> |
|||
</div> |
|||
</div> |
|||
</div> |
|||
|
|||
<!-- faq tab--> |
|||
<div class="px-2 px-lg-4 pt-3 tab-pane fade" id="pills-contact" role="tabpanel" |
|||
aria-labelledby="pills-contact-tab"> |
|||
<ul class="list-unstyled"> |
|||
|
|||
|
|||
</ul> |
|||
</div> |
|||
</div> |
|||
</div> |
|||
</div> |
|||
</section> |
|||
|
|||
<section class="oe_container" style="padding: 2rem 3rem 1rem;"> |
|||
<h2 style="font-weight: 600;text-align: center;margin-bottom: 25px;width: 100%;">Suggested Products</h2> |
|||
<hr style="margin-top: 0px;margin-bottom: 2%;border: 0;text-align: center;border-top: 3px solid #d21c22;width: 5%;"> |
|||
<div id="demo1" class="row carousel slide" data-ride="carousel"> |
|||
<!-- The slideshow --> |
|||
<div class="carousel-inner"> |
|||
<div class="carousel-item active" style="min-height: 0px;"> |
|||
<div class="col-xs-12 col-sm-4 col-md-4 mb16 mt16" style="float: left;"> <a href="https://apps.odoo.com/apps/modules/13.0/account_reports_xlsx/" target="_blank"> |
|||
<div style="box-shadow: 0 15px 35px rgba(50, 50, 93, 0.1), 0 5px 15px rgba(0, 0, 0, 0.07);border-radius: 10px;"> <img class="img img-responsive center-block" style="border-top-left-radius: 10px;border-top-right-radius: 10px;" src="images/account_reports_xlsx.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/13.0/accounting_dynamic_reports/" target="_blank"> |
|||
<div style="box-shadow: 0 15px 35px rgba(50, 50, 93, 0.1), 0 5px 15px rgba(0, 0, 0, 0.07);border-radius: 10px;"> |
|||
<img class="img img-responsive center-block" |
|||
style="border-top-left-radius: 10px;border-top-right-radius: 10px;" |
|||
src="images/accounting_dynamic_reports.png"></div> |
|||
</a></div> |
|||
<div class="col-xs-12 col-sm-4 col-md-4 mb16 mt16" style="float: left;"><a |
|||
href="https://www.odoo.com/apps/modules/13.0/account_day_book/" target="_blank"> |
|||
<div style="box-shadow: 0 15px 35px rgba(50, 50, 93, 0.1), 0 5px 15px rgba(0, 0, 0, 0.07);border-radius: 10px;"> |
|||
<img class="img img-responsive center-block" |
|||
style="border-top-left-radius: 10px;border-top-right-radius: 10px;" |
|||
src="images/day_book_dynamic_report.png"></div> |
|||
</a></div> |
|||
</div> |
|||
<div class="carousel-item" style="min-height: 0px;"> |
|||
<div class="col-xs-12 col-sm-4 col-md-4 mb16 mt16" style="float: left;"><a |
|||
href="https://www.odoo.com/apps/modules/13.0/account_bank_book/" target="_blank"> |
|||
<div style="box-shadow: 0 15px 35px rgba(50, 50, 93, 0.1), 0 5px 15px rgba(0, 0, 0, 0.07);border-radius: 10px;"> |
|||
<img class="img img-responsive center-block" |
|||
style="border-top-left-radius: 10px;border-top-right-radius: 10px;" |
|||
src="images/bank_book_dynamic_reports.png"></div> |
|||
</a></div> |
|||
<div class="col-xs-12 col-sm-4 col-md-4 mb16 mt16" style="float: left;"><a |
|||
href="https://www.odoo.com/apps/modules/13.0/account_cash_book/" target="_blank"> |
|||
<div style="box-shadow: 0 15px 35px rgba(50, 50, 93, 0.1), 0 5px 15px rgba(0, 0, 0, 0.07);border-radius: 10px;"> |
|||
<img class="img img-responsive center-block" |
|||
style="border-top-left-radius: 10px;border-top-right-radius: 10px;" |
|||
src="images/cash_book_dynamic_reports.jpeg"></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/13.0/base_accounting_kit/" target="_blank"> |
|||
<div style="box-shadow: 0 15px 35px rgba(50, 50, 93, 0.1), 0 5px 15px rgba(0, 0, 0, 0.07);border-radius: 10px;"> |
|||
<img class="img img-responsive center-block" |
|||
style="border-top-left-radius: 10px;border-top-right-radius: 10px;" |
|||
src="images/base_accounting_kit.gif"></div> |
|||
</a></div> |
|||
</div> |
|||
</div> |
|||
|
|||
<!-- Left and right controls --> |
|||
<a class="carousel-control-prev" href="#demo1" data-slide="prev" |
|||
style="left:-25px;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="right:-25px;width: 35px;color: #000;"> |
|||
<span class="carousel-control-next-icon"><i class="fa fa-chevron-right" style="font-size:24px"></i></span> |
|||
</a></div> |
|||
</section> |
|||
|
|||
|
|||
<section class="row" style="padding: 2rem 3rem 1rem;margin:0px"> |
|||
<h2 style="font-weight: 600;margin-bottom: 20px;text-align: center;width: 100%;">Our Service</h2> |
|||
<hr style="margin-top: 0px;margin-bottom: 2%;border: 0;text-align: center;border-top: 3px solid #d21c22;width: 5%;"> |
|||
<div class="row" style=" display: flex; justify-content: center; flex-wrap: wrap;width: 100%; "> |
|||
<!-- <div style="display:flex;padding-top: 20px;justify-content: space-between;"> --> |
|||
<div class="col-md-2 col-sm-6 col-xs-12"> |
|||
<div style="width:75px;height:75px;background:#fff; border-radius:100%;margin: auto;"><a |
|||
href="https://www.cybrosys.com/odoo-customization-and-installation/" target="_blank"> <img |
|||
src="https://www.cybrosys.com/images/odoo-customization.png" |
|||
style="width: 100%;border-radius: 100%;"/> </a></div> |
|||
<h3 class="oe_slogan" |
|||
style="font-weight: 800;text-align: center;font-size: 14px;width: 100%;margin: 0;margin-top: 14px;color: #000 !important;margin-top: 5px;opacity: 1 !important;line-height: 17px;"> |
|||
<a href="https://www.cybrosys.com/odoo-customization-and-installation/" target="_blank" |
|||
style="list-style: none; color:#000; text-decoration: none; font-family: 'Montserrat',sans-serif;"> |
|||
Odoo Customization </a></h3> |
|||
</div> |
|||
<div class="col-md-2 col-sm-6 col-xs-12"> |
|||
<div style="width:75px;height:75px;background:#fff; border-radius:100%;margin: auto;"><a |
|||
href="https://www.cybrosys.com/odoo-erp-implementation/" target="_blank"> <img |
|||
src="https://www.cybrosys.com/images/odoo-erp-implementation.png" |
|||
style="width: 100%;border-radius: 100%;"/> </a></div> |
|||
<h3 class="oe_slogan" |
|||
style="font-weight: 800;text-align: center;font-size: 14px;width: 100%;margin: 0;margin-top: 14px;color: #000 !important;margin-top: 5px;opacity: 1 !important;line-height: 17px;"> |
|||
<a href="https://www.cybrosys.com/odoo-erp-implementation/" target="_blank" |
|||
style="list-style: none; color:#000; text-decoration: none; font-family: 'Montserrat',sans-serif;"> |
|||
Odoo Implementation </a></h3> |
|||
</div> |
|||
<div class="col-md-2 col-sm-6 col-xs-12"> |
|||
<div style="width:75px;height:75px;background:#fff; border-radius:100%;margin: auto;"><a |
|||
href="https://www.cybrosys.com/odoo-erp-integration/" target="_blank"> <img |
|||
src="https://www.cybrosys.com/images/odoo-erp-integration.png" |
|||
style="width: 100%;border-radius: 100%;"/> </a></div> |
|||
<h3 class="oe_slogan" |
|||
style="font-weight: 800;text-align: center;font-size: 14px;width: 100%;margin: 0;margin-top: 14px;color: #000 !important;margin-top: 5px;opacity: 1 !important;line-height: 17px;"> |
|||
<a href="https://www.cybrosys.com/odoo-erp-integration/" target="_blank" |
|||
style="list-style: none; color:#000; text-decoration: none; font-family: 'Montserrat',sans-serif;"> |
|||
Odoo Integration </a></h3> |
|||
</div> |
|||
<div class="col-md-2 col-sm-6 col-xs-12"> |
|||
<div style="width:75px;height:75px;background:#fff; border-radius:100%;margin: auto;"><a |
|||
href="https://www.cybrosys.com/odoo-erp-support/" target="_blank"> <img |
|||
src="https://www.cybrosys.com/images/odoo-erp-support.png" |
|||
style="width: 100%;border-radius: 100%;"/> </a></div> |
|||
<h3 class="oe_slogan" |
|||
style="font-weight: 800;text-align: center;font-size: 14px;width: 100%;margin: 0;margin-top: 14px;color: #000 !important;margin-top: 5px;opacity: 1 !important;line-height: 17px;"> |
|||
<a href="https://www.cybrosys.com/odoo-erp-support/" target="_blank" |
|||
style="list-style: none; color:#000; text-decoration: none; font-family: 'Montserrat',sans-serif;"> |
|||
Odoo Support</a></h3> |
|||
</div> |
|||
<div class="col-md-2 col-sm-6 col-xs-12"> |
|||
<div style="width:75px;height:75px;background:#fff; border-radius:100%;margin: auto;"><a |
|||
href="https://www.cybrosys.com/hire-odoo-developer/" target="_blank"> <img |
|||
src="https://www.cybrosys.com/images/hire-odoo-developer.png" |
|||
style="width: 100%;border-radius: 100%;"/> </a></div> |
|||
<h3 class="oe_slogan" |
|||
style="font-weight: 800;text-align: center;font-size: 14px;width: 100%;margin: 0;margin-top: 14px;color: #000 !important;margin-top: 5px;opacity: 1 !important;line-height: 17px;"> |
|||
<a href="https://www.cybrosys.com/hire-odoo-developer/" target="_blank" |
|||
style="list-style: none; color:#000; text-decoration: none; font-family: 'Montserrat',sans-serif;"> |
|||
Hire Odoo Developers</a></h3> |
|||
</a> </div> |
|||
<!-- </div> --> |
|||
</div> |
|||
</section> |
|||
<section class="row" style="padding: 2rem 3rem 1rem;margin:0px"> |
|||
<div class="row" style="margin: 0"> |
|||
<h2 style="font-weight: 600;margin-bottom: 20px;text-align: center;width: 100%;">Our Industries</h2> |
|||
<hr style="margin-top: 0px;margin-bottom: 2%;border: 0;text-align: center;border-top: 3px solid #d21c22;width: 5%;"> |
|||
<!-- <div style="display:flex;justify-content: space-between;flex-wrap:wrap;"> --> |
|||
<div class="row" style="width: 100%"> |
|||
<div class="col-md-4 col-sm-6 col-xs-12" style=" margin-bottom: 10px; "> |
|||
<div> |
|||
<div style="width:75px;height:75px;background:#CE2D48; border-radius:100%;float: left;text-align: left;"> |
|||
<a href="https://www.cybrosys.com/odoo/industries/best-trading-erp/" target="_blank"> <img |
|||
src="https://www.cybrosys.com/images/odoo-index-industry-1.png" alt="Odoo Industry" |
|||
style=" border-radius: 100%;width:100%;"/> </a></div> |
|||
</div> |
|||
<div style="width:70%;float:left;"> |
|||
<h3 class="oe_slogan" |
|||
style=" text-align: left;font-size: 14px;font-weight:800;width: auto;margin: 0;margin-top: 14px;color: #000 !important;margin-top: 5px;opacity: 1 !important;line-height: 17px;float: left;margin-top: 4px;margin-left: 16px;"> |
|||
<a href="https://www.cybrosys.com/odoo/industries/best-trading-erp/" target="_blank" |
|||
style="list-style: none; color:#000; text-decoration: none;font-family: 'Montserrat',sans-serif;"> |
|||
Trading </a></h3> |
|||
<h3 class="oe_slogan" |
|||
style=" text-align: left;font-size: 12px;width: auto;margin: 0;margin-top:5px;color: #000 !important;margin-top: 5px;opacity: 1 !important;line-height: 17px;float: left;margin-top: 5px;margin-left: 16px; font-family: 'Montserrat',sans-serif;"> |
|||
Easily procure and sell your products. </h3> |
|||
</div> |
|||
</div> |
|||
<div class="col-md-4 col-sm-6 col-xs-12" style=" margin-bottom: 10px; "> |
|||
<div> |
|||
<div style="width:75px;height:75px;background:#CE2D48; border-radius:100%;float: left;text-align: left;"> |
|||
<a href="https://www.cybrosys.com/odoo/industries/manufacturing-erp-software/" |
|||
target="_blank"> <img src="https://www.cybrosys.com/images/odoo-index-industry-2.png" |
|||
alt="Odoo Industry" style=" border-radius: 100%;width:100%;"/> |
|||
</a></div> |
|||
</div> |
|||
<div style="width:70%;float:left;" style=" margin-bottom: 10px; "> |
|||
<h3 class="oe_slogan" |
|||
style=" text-align: left;font-size: 14px;font-weight:800;width: auto;margin: 0;margin-top: 14px;color: #000 !important;margin-top: 5px;opacity: 1 !important;line-height: 17px;float: left;margin-top: 4px;margin-left: 16px;"> |
|||
<a href="https://www.cybrosys.com/odoo/industries/manufacturing-erp-software/" |
|||
target="_blank" |
|||
style="list-style: none; color:#000; text-decoration: none;font-family: 'Montserrat',sans-serif;"> |
|||
Manufacturing</a></h3> |
|||
<h3 class="oe_slogan" |
|||
style=" text-align: left;font-size: 12px;width: auto;margin: 0;margin-top:5px;color: #000 !important;margin-top: 5px;opacity: 1 !important;line-height: 17px;float: left;margin-top: 5px;margin-left: 16px;font-family: 'Montserrat',sans-serif;"> |
|||
Plan, track and schedule your operations. </h3> |
|||
</div> |
|||
</div> |
|||
<div class="col-md-4 col-sm-6 col-xs-12" style=" margin-bottom: 10px; "> |
|||
<div> |
|||
<div style="width:75px;height:75px;background:#CE2D48; border-radius:100%;float: left;text-align: left;"> |
|||
<a href="https://www.cybrosys.com/odoo/industries/restaurant-management/" target="_blank"> |
|||
<img src="https://www.cybrosys.com/images/odoo-index-industry-3.png" alt="Odoo Industry" |
|||
style=" border-radius: 100%;width:100%;"/> </a></div> |
|||
</div> |
|||
<div style="width:70%;float:left;"> |
|||
<h3 class="oe_slogan" |
|||
style=" text-align: left;font-size: 14px;font-weight:800;width: auto;margin: 0;margin-top: 14px;color: #000 !important;margin-top: 5px;opacity: 1 !important;line-height: 17px;float: left;margin-top: 4px;margin-left: 16px;"> |
|||
<a href="https://www.cybrosys.com/odoo/industries/restaurant-management/" target="_blank" |
|||
style="list-style: none; color:#000; text-decoration: none;font-family: 'Montserrat',sans-serif;"> |
|||
Restaurant</a></h3> |
|||
<h3 class="oe_slogan" |
|||
style=" text-align: left;font-size: 12px;width: auto;margin: 0;margin-top:5px;color: #000 !important;margin-top: 5px;opacity: 1 !important;line-height: 17px;float: left;margin-top: 5px;margin-left: 16px;font-family: 'Montserrat',sans-serif;"> |
|||
Run your bar or restaurant methodical. </h3> |
|||
</div> |
|||
</div> |
|||
<div class="col-md-4 col-sm-6 col-xs-12" style=" margin-bottom: 10px; "> |
|||
<div> |
|||
<div style="width:75px;height:75px;background:#CE2D48; border-radius:100%;float: left;text-align: left;"> |
|||
<a href="https://www.cybrosys.com/odoo/industries/pos/" target="_blank"> <img |
|||
src="https://www.cybrosys.com/images/odoo-index-industry-4.png" alt="Odoo Industry" |
|||
style=" border-radius: 100%;width:100%;"/> </a></div> |
|||
</div> |
|||
<div style="width:70%;float:left;"> |
|||
<h3 class="oe_slogan" |
|||
style=" text-align: left;font-size: 14px;font-weight:800;width: auto;margin: 0;margin-top: 14px;color: #000 !important;margin-top: 5px;opacity: 1 !important;line-height: 17px;float: left;margin-top: 4px;margin-left: 16px;"> |
|||
<a href="https://www.cybrosys.com/odoo/industries/pos/" target="_blank" |
|||
style="list-style: none; color:#000; text-decoration: none;font-family: 'Montserrat',sans-serif;"> |
|||
POS</a></h3> |
|||
<h3 class="oe_slogan" |
|||
style=" text-align: left;font-size: 12px;width: auto;margin: 0;margin-top:5px;color: #000 !important;margin-top: 5px;opacity: 1 !important;line-height: 17px;float: left;margin-top: 5px;margin-left: 16px;font-family: 'Montserrat',sans-serif;"> |
|||
Easy configuring and convivial selling. </h3> |
|||
</div> |
|||
</div> |
|||
<div class="col-md-4 col-sm-6 col-xs-12" style=" margin-bottom: 10px; "> |
|||
<div> |
|||
<div style="width:75px;height:75px;background:#CE2D48; border-radius:100%;float: left;text-align: left;"> |
|||
<a href="https://www.cybrosys.com/odoo/industries/ecommerce-website/" target="_blank"> <img |
|||
src="https://www.cybrosys.com/images/odoo-index-industry-5.png" alt="Odoo Industry" |
|||
style=" border-radius: 100%;width:100%;"/> </a></div> |
|||
</div> |
|||
<div style="width:70%;float:left;"> |
|||
<h3 class="oe_slogan" |
|||
style=" text-align: left;font-size: 14px;font-weight:800;width: auto;margin: 0;margin-top: 14px;color: #000 !important;margin-top: 5px;opacity: 1 !important;line-height: 17px;float: left;margin-top: 0px;margin-left: 16px;"> |
|||
<a href="https://www.cybrosys.com/odoo/industries/ecommerce-website/" target="_blank" |
|||
style="list-style: none; color:#000; text-decoration: none; font-family: 'Montserrat',sans-serif;"> |
|||
E-commerce & Website</a></h3> |
|||
<h3 class="oe_slogan" |
|||
style=" text-align: left;font-size: 12px;width: auto;margin: 0;margin-top:5px;color: #000 !important;margin-top: 5px;opacity: 1 !important;line-height: 17px;float: left;margin-top: 5px;margin-left: 16px; font-family: 'Montserrat',sans-serif;"> |
|||
Mobile friendly, awe-inspiring product pages. </h3> |
|||
</div> |
|||
</div> |
|||
<div class="col-md-4 col-sm-6 col-xs-12" style=" margin-bottom: 10px; "> |
|||
<div> |
|||
<div style="width:75px;height:75px;background:#CE2D48; border-radius:100%;float: left;text-align: left;"> |
|||
<a href="https://www.cybrosys.com/odoo/industries/hotel-management-erp/" target="_blank"> |
|||
<img src="https://www.cybrosys.com/images/odoo-index-industry-6.png" alt="Odoo Industry" |
|||
style=" border-radius: 100%;width:100%;"/> </a></div> |
|||
</div> |
|||
<div style="width:70%;float:left;"> |
|||
<h3 class="oe_slogan" |
|||
style=" text-align: left;font-size: 14px;font-weight:800;width: auto;margin: 0;margin-top: 14px;color: #000 !important;margin-top: 5px;opacity: 1 !important;line-height: 17px;float: left;margin-top: 4px;margin-left: 16px;"> |
|||
<a href="https://www.cybrosys.com/odoo/industries/hotel-management-erp/" target="_blank" |
|||
style="list-style: none; color:#000; text-decoration: none; font-family: 'Montserrat',sans-serif;"> |
|||
Hotel Management</a></h3> |
|||
<h3 class="oe_slogan" |
|||
style=" text-align: left;font-size: 12px;width: auto;margin: 0;margin-top:5px;color: #000 !important;margin-top: 5px;opacity: 1 !important;line-height: 17px;float: left;margin-top: 5px;margin-left: 16px; font-family: 'Montserrat',sans-serif;"> |
|||
An all-inclusive hotel management application. </h3> |
|||
</div> |
|||
</div> |
|||
<div class="col-md-4 col-sm-6 col-xs-12" style=" margin-bottom: 10px; "> |
|||
<div> |
|||
<div style="width:75px;height:75px;background:#CE2D48; border-radius:100%;float: left;text-align: left;"> |
|||
<a href="https://www.cybrosys.com/odoo/industries/education-erp-software/" target="_blank"> |
|||
<img src="https://www.cybrosys.com/images/odoo-index-industry-7.png" alt="Odoo Industry" |
|||
style=" border-radius: 100%;width:100%;"/> </a></div> |
|||
</div> |
|||
<div style="width:70%;float:left;"> |
|||
<h3 class="oe_slogan" |
|||
style=" text-align: left;font-size: 14px;font-weight:800;width: auto;margin: 0;margin-top: 14px;color: #000 !important;margin-top: 5px;opacity: 1 !important;line-height: 17px;float: left;margin-top: 4px;margin-left: 16px;"> |
|||
<a href="https://www.cybrosys.com/odoo/industries/education-erp-software/" target="_blank" |
|||
style="list-style: none; color:#000; text-decoration: none; font-family: 'Montserrat',sans-serif;"> |
|||
Education</a></h3> |
|||
<h3 class="oe_slogan" |
|||
style=" text-align: left;font-size: 12px;width: auto;margin: 0;margin-top:5px;color: #000 !important;margin-top: 5px;opacity: 1 !important;line-height: 17px;float: left;margin-top: 5px;margin-left: 16px; font-family: 'Montserrat',sans-serif;"> |
|||
A Collaborative platform for educational management. </h3> |
|||
</div> |
|||
</div> |
|||
<div class="col-md-4 col-sm-6 col-xs-12" style=" margin-bottom: 10px; "> |
|||
<div> |
|||
<div style="width:75px;height:75px;background:#CE2D48; border-radius:100%;float: left;text-align: left;"> |
|||
<a href="https://www.cybrosys.com/odoo/industries/service-management/" target="_blank"> <img |
|||
src="https://www.cybrosys.com/images/odoo-index-industry-8.png" alt="Odoo Industry" |
|||
style=" border-radius: 100%;width:100%;"/> </a></div> |
|||
</div> |
|||
<div style="width:70%;float:left;"> |
|||
<h3 class="oe_slogan" |
|||
style=" text-align: left;font-size: 14px;font-weight:800;width: auto;margin: 0;margin-top: 14px;color: #000 !important;margin-top: 5px;opacity: 1 !important;line-height: 17px;float: left;margin-top: 4px;margin-left: 16px;"> |
|||
<a href="https://www.cybrosys.com/odoo/industries/service-management/" target="_blank" |
|||
style="list-style: none; color:#000; text-decoration: none; font-family: 'Montserrat',sans-serif;"> |
|||
Service Management</a></h3> |
|||
<h3 class="oe_slogan" |
|||
style=" text-align: left;font-size: 12px;width: auto;margin: 0;margin-top:5px;color: #000 !important;margin-top: 5px;opacity: 1 !important;line-height: 17px;float: left;margin-top: 5px;margin-left: 16px; font-family: 'Montserrat',sans-serif;"> |
|||
Keep track of services and invoice accordingly. </h3> |
|||
</div> |
|||
</div> |
|||
</div> |
|||
</div> |
|||
</div> |
|||
</section> |
|||
|
|||
|
|||
<section class="oe_container" style="padding: 0% 0% 6% 0%;"> |
|||
<center> |
|||
<div class="col-md-12" style="margin: auto !important; |
|||
width: 70%; |
|||
padding: 30px;"> |
|||
<h2 style="font-weight: 600;text-align: center;width: 100%;">Need Any Help?</h2> |
|||
<hr style="margin-top: 0px;margin-bottom: 2%;border: 0;text-align: center;border-top: 3px solid #d21c22;width: 5%;"> |
|||
|
|||
<h4 style="font-size:16px;"> If you have anything to share with us based on your use of this module, please |
|||
let us know. We are ready to offer our support. </h4> |
|||
<div class="col-md-6" style="float:left; padding:20px;"> |
|||
<h4><i class="fa fa-envelope"></i>Email us </h4> |
|||
<p>odoo@cybrosys.com / info@cybrosys.com</p> |
|||
|
|||
</div> |
|||
<div class="col-md-6" style="float:left; padding:20px;"> |
|||
<h4><i class="fa fa-phone"></i> Contact Us </h4> |
|||
<a href="https://www.cybrosys.com/contact/" target="_blank"> www.cybrosys.com</a> |
|||
</div> |
|||
</div> |
|||
|
|||
</center> |
|||
</section> |
|||
|
|||
|
|||
<section class="oe_container" style="padding: 0% 0% 6% 0%;"> |
|||
<div class="oe_slogan" style="margin-bottom: 0px;"> |
|||
<div style=" display: flex; justify-content: center; flex-wrap: wrap; "> |
|||
|
|||
|
|||
</div> |
|||
<br> |
|||
<img src="https://www.cybrosys.com/images/logo.png" style="width: 190px; margin-bottom: 25px;margin-top: 30px;" |
|||
class="center-block"> |
|||
<div style=" display: flex; justify-content: center; flex-wrap: wrap; "><a href="https://twitter.com/cybrosys" |
|||
target="_blank"><i |
|||
class="fa fa-2x fa-twitter" |
|||
style="color:white;background: #00a0d1;width:35px;height: 35px;padding-top: 7px;font-size: 21px;margin-right: 6px;border-radius: 100%;"></i></a> |
|||
</td> |
|||
<a href="https://www.linkedin.com/company/cybrosys-technologies-pvt-ltd" target="_blank"><i |
|||
class="fa fa-2x fa-linkedin" |
|||
style="color:white;background: #31a3d6;width:35px;height: 35px;padding-top: 7px;font-size: 21px;margin-right: 6px;border-radius: 100%;"></i></a> |
|||
</td> |
|||
<a href="https://www.facebook.com/cybrosystechnologies" target="_blank"><i class="fa fa-2x fa-facebook" |
|||
style="color:white;background: #3b5998;width:35px; height: 35px;padding-top: 7px;font-size: 21px;margin-right: 6px;border-radius: 100%;"></i></a> |
|||
</td> |
|||
|
|||
<a href="https://in.pinterest.com/cybrosys" target="_blank"><i class="fa fa-2x fa-pinterest" |
|||
style="color:white;background: #ac0f18;width:35px;height: 35px;padding-top: 7px;font-size: 21px;margin-right: 6px;border-radius: 100%;"></i></a> |
|||
</td> |
|||
</div> |
|||
</div> |
|||
</section> |
|||
</div> |
|||
|
@ -0,0 +1,49 @@ |
|||
odoo.define('advance_cash_flow_statements.ActionManager', function (require) { |
|||
"use strict"; |
|||
|
|||
/** |
|||
* The purpose of this file is to add the actions of type |
|||
* 'ir_actions_xlsx_download' to the ActionManager. |
|||
*/ |
|||
var ActionManager = require('web.ActionManager'); |
|||
var framework = require('web.framework'); |
|||
var session = require('web.session'); |
|||
|
|||
ActionManager.include({ |
|||
|
|||
/** |
|||
* Executes actions of type 'ir.actions.report'. |
|||
* |
|||
* @private |
|||
* @param {Object} action the description of the action to execute |
|||
* @param {Object} options @see doAction for details |
|||
* @returns {Promise} resolved when the action has been executed |
|||
*/ |
|||
_executexlsxReportDownloadAction: function (action) { |
|||
framework.blockUI(); |
|||
var def = $.Deferred(); |
|||
session.get_file({ |
|||
url: '/xlsx_reports', |
|||
data: action.data, |
|||
success: def.resolve.bind(def), |
|||
error: (error) => this.call('crash_manager', 'rpc_error', error), |
|||
complete: framework.unblockUI, |
|||
}); |
|||
return def; |
|||
}, |
|||
/** |
|||
* Overrides to handle the 'ir.actions.report' actions. |
|||
* |
|||
* @override |
|||
* @private |
|||
*/ |
|||
_executeReportAction: function (action, options) { |
|||
if (action.report_type === 'xlsx') { |
|||
return this._executexlsxReportDownloadAction(action, options); |
|||
} |
|||
return this._super.apply(this, arguments); |
|||
}, |
|||
}); |
|||
|
|||
}); |
|||
|
@ -0,0 +1,9 @@ |
|||
<odoo> |
|||
<data> |
|||
<template id="assets_backend" name="xls_assets" inherit_id="web.assets_backend"> |
|||
<xpath expr="." position="inside"> |
|||
<script type="text/javascript" src="/advance_cash_flow_statements/static/src/js/action_manager.js"/> |
|||
</xpath> |
|||
</template> |
|||
</data> |
|||
</odoo> |
@ -0,0 +1,24 @@ |
|||
# -*- coding: utf-8 -*- |
|||
############################################################################# |
|||
# |
|||
# Cybrosys Technologies Pvt. Ltd. |
|||
# |
|||
# Copyright (C) 2019-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_wizard |
|||
from . import report_account_wizard |
@ -0,0 +1,379 @@ |
|||
# -*- coding: utf-8 -*- |
|||
############################################################################# |
|||
# |
|||
# Cybrosys Technologies Pvt. Ltd. |
|||
# |
|||
# Copyright (C) 2019-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 datetime import datetime |
|||
|
|||
from odoo import models, fields, api |
|||
from odoo.exceptions import UserError |
|||
from odoo.tools import date_utils, io, xlsxwriter |
|||
|
|||
|
|||
class AccountWizard(models.TransientModel): |
|||
_name = "account.wizard" |
|||
_inherit = "account.common.report" |
|||
|
|||
date_from = fields.Date(string="Start Date", required=True) |
|||
date_to = fields.Date(string="End Date", default=fields.Date.today, required=True) |
|||
today = fields.Date("Report Date", default=fields.Date.today) |
|||
levels = fields.Selection([('summary', 'Summary'), |
|||
('consolidated', 'Consolidated'), |
|||
('detailed', 'Detailed'), |
|||
('very', 'Very Detailed')], |
|||
string='Levels', required=True, default='summary', |
|||
help='Different levels for cash flow statements \n' |
|||
'Summary: Month wise report.\n' |
|||
'Consolidated: Based on account types.\n' |
|||
'Detailed: Based on accounts.\n' |
|||
'Very Detailed: Accounts with their move lines') |
|||
|
|||
def generate_pdf_report(self): |
|||
self.ensure_one() |
|||
logged_users = self.env['res.company']._company_default_get('account.account') |
|||
if self.date_from: |
|||
if self.date_from > self.date_to: |
|||
raise UserError("Start date should be less than end date") |
|||
data = { |
|||
'ids': self.ids, |
|||
'model': self._name, |
|||
'date_from': self.date_from, |
|||
'date_to': self.date_to, |
|||
'levels': self.levels, |
|||
'target_move': self.target_move, |
|||
'today': self.today, |
|||
'logged_users': logged_users.name, |
|||
} |
|||
|
|||
return self.env.ref('advance_cash_flow_statements.pdf_report').report_action(self, data=data) |
|||
|
|||
def generate_xlsx_report(self): |
|||
date_from = datetime.strptime(str(self.date_from), "%Y-%m-%d") |
|||
date_to = datetime.strptime(str(self.date_to), "%Y-%m-%d") |
|||
if date_from: |
|||
if date_from > date_to: |
|||
raise UserError("Start date should be less than end date") |
|||
data = { |
|||
'ids': self.ids, |
|||
'model': self._name, |
|||
'date_from': self.date_from, |
|||
'date_to': self.date_to, |
|||
'levels': self.levels, |
|||
'target_move': self.target_move, |
|||
'today': self.today, |
|||
} |
|||
return { |
|||
'type': 'ir.actions.report', |
|||
'data': {'model': 'account.wizard', |
|||
'options': json.dumps(data, default=date_utils.json_default), |
|||
'output_format': 'xlsx', |
|||
'report_name': 'Adv Cash Flow Statement', |
|||
}, |
|||
'report_type': 'xlsx' |
|||
} |
|||
|
|||
def get_xlsx_report(self, data, response): |
|||
output = io.BytesIO() |
|||
workbook = xlsxwriter.Workbook(output, {'in_memory': True}) |
|||
fetched_data = [] |
|||
account_res = [] |
|||
journal_res = [] |
|||
fetched = [] |
|||
account_type_id = self.env.ref('account.data_account_type_liquidity').id |
|||
currency_symbol = self.env.user.company_id.currency_id.symbol |
|||
if data['levels'] == 'summary': |
|||
state = """ WHERE am.state = 'posted' """ if data['target_move'] == 'posted' else '' |
|||
query3 = """SELECT to_char(am.date, 'Month') as month_part, extract(YEAR from am.date) as year_part, sum(aml.debit) AS total_debit, sum(aml.credit) AS total_credit, |
|||
sum(aml.balance) AS total_balance FROM (SELECT am.date, am.id, am.state FROM account_move as am |
|||
LEFT JOIN account_move_line aml ON aml.move_id = am.id |
|||
LEFT JOIN account_account aa ON aa.id = aml.account_id |
|||
LEFT JOIN account_account_type aat ON aat.id = aa.user_type_id |
|||
WHERE am.date BETWEEN '""" + str(data['date_from']) + """' and '""" + str( |
|||
data['date_to']) + """' ) am |
|||
LEFT JOIN account_move_line aml ON aml.move_id = am.id |
|||
LEFT JOIN account_account aa ON aa.id = aml.account_id |
|||
LEFT JOIN account_account_type aat ON aat.id = aa.user_type_id |
|||
""" + state + """GROUP BY month_part,year_part""" |
|||
cr = self._cr |
|||
cr.execute(query3) |
|||
fetched_data = cr.dictfetchall() |
|||
|
|||
elif data['levels'] == 'consolidated': |
|||
state = """ WHERE am.state = 'posted' """ if data['target_move'] == 'posted' else '' |
|||
query2 = """SELECT aat.name, sum(aml.debit) AS total_debit, sum(aml.credit) AS total_credit, |
|||
sum(aml.balance) AS total_balance FROM ( SELECT am.id, am.state FROM account_move as am |
|||
LEFT JOIN account_move_line aml ON aml.move_id = am.id |
|||
LEFT JOIN account_account aa ON aa.id = aml.account_id |
|||
LEFT JOIN account_account_type aat ON aat.id = aa.user_type_id |
|||
WHERE am.date BETWEEN '""" + str(data['date_from']) + """' and '""" + str( |
|||
data['date_to']) + """' ) am |
|||
LEFT JOIN account_move_line aml ON aml.move_id = am.id |
|||
LEFT JOIN account_account aa ON aa.id = aml.account_id |
|||
LEFT JOIN account_account_type aat ON aat.id = aa.user_type_id |
|||
""" + state + """GROUP BY aat.name""" |
|||
cr = self._cr |
|||
cr.execute(query2) |
|||
fetched_data = cr.dictfetchall() |
|||
elif data['levels'] == 'detailed': |
|||
state = """ WHERE am.state = 'posted' """ if data['target_move'] == 'posted' else '' |
|||
query1 = """SELECT aa.name,aa.code, sum(aml.debit) AS total_debit, sum(aml.credit) AS total_credit, |
|||
sum(aml.balance) AS total_balance FROM (SELECT am.id, am.state FROM account_move as am |
|||
LEFT JOIN account_move_line aml ON aml.move_id = am.id |
|||
LEFT JOIN account_account aa ON aa.id = aml.account_id |
|||
LEFT JOIN account_account_type aat ON aat.id = aa.user_type_id |
|||
WHERE am.date BETWEEN '""" + str(data['date_from']) + """' and '""" + str( |
|||
data['date_to']) + """' ) am |
|||
LEFT JOIN account_move_line aml ON aml.move_id = am.id |
|||
LEFT JOIN account_account aa ON aa.id = aml.account_id |
|||
LEFT JOIN account_account_type aat ON aat.id = aa.user_type_id |
|||
""" + state + """GROUP BY aa.name, aa.code""" |
|||
cr = self._cr |
|||
cr.execute(query1) |
|||
fetched_data = cr.dictfetchall() |
|||
for account in self.env['account.account'].search([]): |
|||
child_lines = self._get_journal_lines(account, data) |
|||
if child_lines: |
|||
journal_res.append(child_lines) |
|||
|
|||
else: |
|||
account_type_id = self.env.ref('account.data_account_type_liquidity').id |
|||
state = """AND am.state = 'posted' """ if data['target_move'] == 'posted' else '' |
|||
sql = """SELECT DISTINCT aa.name,aa.code, sum(aml.debit) AS total_debit, |
|||
sum(aml.credit) AS total_credit FROM (SELECT am.* FROM account_move as am |
|||
LEFT JOIN account_move_line aml ON aml.move_id = am.id |
|||
LEFT JOIN account_account aa ON aa.id = aml.account_id |
|||
LEFT JOIN account_account_type aat ON aat.id = aa.user_type_id |
|||
WHERE am.date BETWEEN '""" + str(data['date_from']) + """' and '""" + str( |
|||
data['date_to']) + """' """ + state + """) am |
|||
LEFT JOIN account_move_line aml ON aml.move_id = am.id |
|||
LEFT JOIN account_account aa ON aa.id = aml.account_id |
|||
LEFT JOIN account_account_type aat ON aat.id = aa.user_type_id |
|||
GROUP BY aa.name, aa.code""" |
|||
cr = self._cr |
|||
cr.execute(sql) |
|||
fetched = cr.dictfetchall() |
|||
for account in self.env['account.account'].search([]): |
|||
child_lines = self._get_lines(account, data) |
|||
if child_lines: |
|||
account_res.append(child_lines) |
|||
|
|||
logged_users = self.env['res.company']._company_default_get('account.account') |
|||
sheet = workbook.add_worksheet() |
|||
bold = workbook.add_format({'align': 'center', |
|||
'bold': True, |
|||
'font_size': '10px', |
|||
'border': 1}) |
|||
date = workbook.add_format({'font_size': '10px'}) |
|||
cell_format = workbook.add_format({'bold': True, |
|||
'font_size': '10px'}) |
|||
head = workbook.add_format({'align': 'center', |
|||
'bold': True, |
|||
'bg_color': '#D3D3D3', |
|||
'font_size': '15px'}) |
|||
txt = workbook.add_format({'align': 'left', |
|||
'font_size': '10px'}) |
|||
txt_left = workbook.add_format({'align': 'left', |
|||
'font_size': '10px', |
|||
'border': 1}) |
|||
txt_center = workbook.add_format({'align': 'center', |
|||
'font_size': '10px', |
|||
'border': 1}) |
|||
amount = workbook.add_format({'align': 'right', |
|||
'font_size': '10px', |
|||
'border': 1}) |
|||
amount_bold = workbook.add_format({'align': 'right', |
|||
'bold': True, |
|||
'font_size': '10px', |
|||
'border': 1}) |
|||
txt_bold = workbook.add_format({'align': 'left', |
|||
'bold': True, |
|||
'font_size': '10px', |
|||
'border': 1}) |
|||
|
|||
sheet.set_column('C:C', 30, cell_format) |
|||
sheet.set_column('D:E', 20, cell_format) |
|||
sheet.set_column('F:F', 20, cell_format) |
|||
sheet.write('C2', "Report Date", txt) |
|||
sheet.write('D2', str(data['today']), txt) |
|||
sheet.write('F2', logged_users.name, txt) |
|||
sheet.merge_range('C3:F5', '') |
|||
sheet.merge_range('C3:F4', 'CASH FLOW STATEMENTS', head) |
|||
sheet.merge_range('C4:F4', '') |
|||
|
|||
if data['target_move'] == 'posted': |
|||
sheet.write('C6', "Target Moves :", cell_format) |
|||
sheet.write('C7', 'All Posted Entries', date) |
|||
else: |
|||
sheet.write('C6', "Target Moves :", cell_format) |
|||
sheet.write('C7', 'All Entries', date) |
|||
|
|||
sheet.write('D6', "Date From", cell_format) |
|||
sheet.write('E6', str(data['date_from']), date) |
|||
sheet.write('D7', "Date To", cell_format) |
|||
sheet.write('E7', str(data['date_to']), date) |
|||
|
|||
sheet.merge_range('C8:F8', '', head) |
|||
sheet.write('C9', 'NAME', bold) |
|||
sheet.write('D9', 'CASH IN', bold) |
|||
sheet.write('E9', 'CASH OUT', bold) |
|||
sheet.write('F9', 'BALANCE', bold) |
|||
|
|||
row_num = 8 |
|||
col_num = 2 |
|||
fetched_data_list = fetched_data.copy() |
|||
account_res_list = account_res.copy() |
|||
journal_res_list = journal_res.copy() |
|||
fetched_list = fetched.copy() |
|||
|
|||
for i in fetched_data_list: |
|||
if data['levels'] == 'summary': |
|||
sheet.write(row_num + 1, col_num, str(i['month_part']) + str(int(i['year_part'])), txt_left) |
|||
sheet.write(row_num + 1, col_num + 1, str(i['total_debit']) + str(currency_symbol), amount) |
|||
sheet.write(row_num + 1, col_num + 2, str(i['total_credit']) + str(currency_symbol), amount) |
|||
sheet.write(row_num + 1, col_num + 3, str(i['total_debit'] - i['total_credit']) + str(currency_symbol), |
|||
amount) |
|||
row_num = row_num + 1 |
|||
elif data['levels'] == 'consolidated': |
|||
sheet.write(row_num + 1, col_num, i['name'], txt_left) |
|||
sheet.write(row_num + 1, col_num + 1, str(i['total_debit']) + str(currency_symbol), amount) |
|||
sheet.write(row_num + 1, col_num + 2, str(i['total_credit']) + str(currency_symbol), amount) |
|||
sheet.write(row_num + 1, col_num + 3, str(i['total_debit'] - i['total_credit']) + str(currency_symbol), |
|||
amount) |
|||
row_num = row_num + 1 |
|||
|
|||
for j in journal_res_list: |
|||
for k in fetched_data_list: |
|||
if k['name'] == j['account']: |
|||
sheet.write(row_num + 1, col_num, str(k['code']) + str(k['name']), txt_bold) |
|||
sheet.write(row_num + 1, col_num + 1, str(k['total_debit']) + str(currency_symbol), amount_bold) |
|||
sheet.write(row_num + 1, col_num + 2, str(k['total_credit']) + str(currency_symbol), amount_bold) |
|||
sheet.write(row_num + 1, col_num + 3, |
|||
str(k['total_debit'] - k['total_credit']) + str(currency_symbol), amount_bold) |
|||
row_num = row_num + 1 |
|||
for l in j['journal_lines']: |
|||
sheet.write(row_num + 1, col_num, l['name'], txt_left) |
|||
sheet.write(row_num + 1, col_num + 1, str(l['total_debit']) + str(currency_symbol), amount) |
|||
sheet.write(row_num + 1, col_num + 2, str(l['total_credit']) + str(currency_symbol), amount) |
|||
sheet.write(row_num + 1, col_num + 3, str(l['total_debit'] - l['total_credit']) + str(currency_symbol), |
|||
amount) |
|||
row_num = row_num + 1 |
|||
|
|||
for j in account_res_list: |
|||
for k in fetched_list: |
|||
if k['name'] == j['account']: |
|||
sheet.write(row_num + 1, col_num, str(k['code']) + str(k['name']), txt_bold) |
|||
sheet.write(row_num + 1, col_num + 1, str(k['total_debit']) + str(currency_symbol), amount_bold) |
|||
sheet.write(row_num + 1, col_num + 2, str(k['total_credit']) + str(currency_symbol), amount_bold) |
|||
sheet.write(row_num + 1, col_num + 3, |
|||
str(k['total_debit'] - k['total_credit']) + str(currency_symbol), amount_bold) |
|||
row_num = row_num + 1 |
|||
for l in j['journal_lines']: |
|||
if l['account_name'] == j['account']: |
|||
sheet.write(row_num + 1, col_num, l['name'], txt_left) |
|||
sheet.write(row_num + 1, col_num + 1, str(l['total_debit']) + str(currency_symbol), amount) |
|||
sheet.write(row_num + 1, col_num + 2, str(l['total_credit']) + str(currency_symbol), amount) |
|||
sheet.write(row_num + 1, col_num + 3, |
|||
str(l['total_debit'] - l['total_credit']) + str(currency_symbol), |
|||
amount) |
|||
row_num = row_num + 1 |
|||
for m in j['move_lines']: |
|||
if m['name'] == l['name']: |
|||
sheet.write(row_num + 1, col_num, m['move_name'], txt_center) |
|||
sheet.write(row_num + 1, col_num + 1, str(m['total_debit']) + str(currency_symbol), amount) |
|||
sheet.write(row_num + 1, col_num + 2, str(m['total_credit']) + str(currency_symbol), amount) |
|||
sheet.write(row_num + 1, col_num + 3, |
|||
str(m['total_debit'] - m['total_credit']) + str(currency_symbol), |
|||
amount) |
|||
row_num = row_num + 1 |
|||
workbook.close() |
|||
output.seek(0) |
|||
response.stream.write(output.read()) |
|||
output.close() |
|||
|
|||
def _get_lines(self, account, data): |
|||
account_type_id = self.env.ref('account.data_account_type_liquidity').id |
|||
state = """AND am.state = 'posted' """ if data['target_move'] == 'posted' else '' |
|||
query = """SELECT aml.account_id,aj.name, am.name as move_name, sum(aml.debit) AS total_debit, |
|||
sum(aml.credit) AS total_credit FROM (SELECT am.* FROM account_move as am |
|||
LEFT JOIN account_move_line aml ON aml.move_id = am.id |
|||
LEFT JOIN account_account aa ON aa.id = aml.account_id |
|||
LEFT JOIN account_account_type aat ON aat.id = aa.user_type_id |
|||
WHERE am.date BETWEEN '""" + str(data['date_from']) + """' and '""" + str( |
|||
data['date_to']) + """' """ + state + """) am |
|||
LEFT JOIN account_move_line aml ON aml.move_id = am.id |
|||
LEFT JOIN account_account aa ON aa.id = aml.account_id |
|||
LEFT JOIN account_journal aj ON aj.id = am.journal_id |
|||
WHERE aa.id = """ + str(account.id) + """ |
|||
GROUP BY am.name, aml.account_id, aj.name""" |
|||
|
|||
cr = self._cr |
|||
cr.execute(query) |
|||
fetched_data = cr.dictfetchall() |
|||
|
|||
sql2 = """SELECT aa.name as account_name, aj.id, aj.name, sum(aml.debit) AS total_debit, |
|||
sum(aml.credit) AS total_credit FROM (SELECT am.* FROM account_move as am |
|||
LEFT JOIN account_move_line aml ON aml.move_id = am.id |
|||
LEFT JOIN account_account aa ON aa.id = aml.account_id |
|||
LEFT JOIN account_account_type aat ON aat.id = aa.user_type_id |
|||
WHERE am.date BETWEEN '""" + str(data['date_from']) + """' and '""" + str( |
|||
data['date_to']) + """' """ + state + """) am |
|||
LEFT JOIN account_move_line aml ON aml.move_id = am.id |
|||
LEFT JOIN account_account aa ON aa.id = aml.account_id |
|||
LEFT JOIN account_journal aj ON aj.id = am.journal_id |
|||
WHERE aa.id = """ + str(account.id) + """ |
|||
GROUP BY aa.name, aj.name, aj.id""" |
|||
|
|||
cr = self._cr |
|||
cr.execute(sql2) |
|||
fetch_data = cr.dictfetchall() |
|||
if fetched_data: |
|||
return { |
|||
'account': account.name, |
|||
'code': account.code, |
|||
'move_lines': fetched_data, |
|||
'journal_lines': fetch_data, |
|||
} |
|||
|
|||
def _get_journal_lines(self, account, data): |
|||
account_type_id = self.env.ref('account.data_account_type_liquidity').id |
|||
state = """AND am.state = 'posted' """ if data['target_move'] == 'posted' else '' |
|||
sql2 = """SELECT aa.name as account_name, aj.id, aj.name, sum(aml.debit) AS total_debit, |
|||
sum(aml.credit) AS total_credit FROM (SELECT am.* FROM account_move as am |
|||
LEFT JOIN account_move_line aml ON aml.move_id = am.id |
|||
LEFT JOIN account_account aa ON aa.id = aml.account_id |
|||
LEFT JOIN account_account_type aat ON aat.id = aa.user_type_id |
|||
WHERE am.date BETWEEN '""" + str(data['date_from']) + """' and '""" + str( |
|||
data['date_to']) + """' """ + state + """) am |
|||
LEFT JOIN account_move_line aml ON aml.move_id = am.id |
|||
LEFT JOIN account_account aa ON aa.id = aml.account_id |
|||
LEFT JOIN account_journal aj ON aj.id = am.journal_id |
|||
WHERE aa.id = """ + str(account.id) + """ |
|||
GROUP BY aa.name, aj.name, aj.id""" |
|||
|
|||
cr = self._cr |
|||
cr.execute(sql2) |
|||
fetched_data = cr.dictfetchall() |
|||
if fetched_data: |
|||
return { |
|||
'account': account.name, |
|||
'journal_lines': fetched_data, |
|||
} |
|||
|
@ -0,0 +1,45 @@ |
|||
<?xml version="1.0" encoding="utf-8"?> |
|||
<odoo> |
|||
<record id="account_wizard_view" model="ir.ui.view"> |
|||
<field name="name">Wizard</field> |
|||
<field name="model">account.wizard</field> |
|||
<field name="arch" type="xml"> |
|||
<form string="Report Options"> |
|||
<group col="4"> |
|||
<field name="date_from"/> |
|||
<field name="target_move" widget="radio"/> |
|||
<field name="date_to"/> |
|||
<field name="levels"/> |
|||
</group> |
|||
<footer> |
|||
<button name="generate_pdf_report" string="PDF" type="object" default_focus="1" class="oe_highlight"/> |
|||
<button name="generate_xlsx_report" string="Excel" type="object" default_focus="1" class="oe_highlight"/> |
|||
<button string="Cancel" class="btn btn-secondary" special="cancel"/> |
|||
</footer> |
|||
</form> |
|||
</field> |
|||
</record> |
|||
|
|||
<record id="action_account_wizard" model="ir.actions.act_window"> |
|||
<field name="name">Cash Flow Statements</field> |
|||
<field name="res_model">account.wizard</field> |
|||
<field name="type">ir.actions.act_window</field> |
|||
<field name="view_mode">form</field> |
|||
<field name="view_id" ref="account_wizard_view"/> |
|||
<field name="target">new</field> |
|||
</record> |
|||
|
|||
<menuitem id="menu_financial_reports" |
|||
name="Financial reports" |
|||
sequence="1" |
|||
parent="account.menu_finance_reports" |
|||
groups="account.group_account_user"/> |
|||
|
|||
<menuitem id="menu_account_wizard" |
|||
name="Adv Cash Flow Statement" |
|||
sequence="5" |
|||
action="action_account_wizard" |
|||
parent="menu_financial_reports" |
|||
groups="account.group_account_user"/> |
|||
|
|||
</odoo> |
@ -0,0 +1,193 @@ |
|||
# -*- coding: utf-8 -*- |
|||
############################################################################# |
|||
# |
|||
# Cybrosys Technologies Pvt. Ltd. |
|||
# |
|||
# Copyright (C) 2019-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 odoo import models, api |
|||
|
|||
|
|||
class ReportAccountWizard(models.AbstractModel): |
|||
_name = "report.advance_cash_flow_statements.cash_flow_pdf_report" |
|||
|
|||
@api.model |
|||
def _get_report_values(self, docids, data=None): |
|||
fetched_data = [] |
|||
account_res = [] |
|||
journal_res = [] |
|||
fetched = [] |
|||
account_type_id = self.env.ref('account.data_account_type_liquidity').id |
|||
active_model = self.env.context.get('active_model') |
|||
docs = self.env[self.env.context.get('active_model')].browse(self.env.context.get('active_id')) |
|||
if data['levels'] == 'summary': |
|||
state = """ WHERE am.state = 'posted' """ if data['target_move'] == 'posted' else '' |
|||
query3 = """SELECT to_char(am.date, 'Month') as month_part, extract(YEAR from am.date) as year_part, |
|||
sum(aml.debit) AS total_debit, sum(aml.credit) AS total_credit, |
|||
sum(aml.balance) AS total_balance FROM (SELECT am.date, am.id, am.state FROM account_move as am |
|||
LEFT JOIN account_move_line aml ON aml.move_id = am.id |
|||
LEFT JOIN account_account aa ON aa.id = aml.account_id |
|||
LEFT JOIN account_account_type aat ON aat.id = aa.user_type_id |
|||
WHERE am.date BETWEEN '""" + str(data['date_from']) + """' and '""" + str( |
|||
data['date_to']) + """' ) am |
|||
LEFT JOIN account_move_line aml ON aml.move_id = am.id |
|||
LEFT JOIN account_account aa ON aa.id = aml.account_id |
|||
LEFT JOIN account_account_type aat ON aat.id = aa.user_type_id |
|||
""" + state + """GROUP BY month_part,year_part""" |
|||
cr = self._cr |
|||
cr.execute(query3) |
|||
fetched_data = cr.dictfetchall() |
|||
elif data['levels'] == 'consolidated': |
|||
state = """ WHERE am.state = 'posted' """ if data['target_move'] == 'posted' else '' |
|||
query2 = """SELECT aat.name, sum(aml.debit) AS total_debit, sum(aml.credit) AS total_credit, |
|||
sum(aml.balance) AS total_balance FROM ( SELECT am.id, am.state FROM account_move as am |
|||
LEFT JOIN account_move_line aml ON aml.move_id = am.id |
|||
LEFT JOIN account_account aa ON aa.id = aml.account_id |
|||
LEFT JOIN account_account_type aat ON aat.id = aa.user_type_id |
|||
WHERE am.date BETWEEN '""" + str(data['date_from']) + """' and '""" + str( |
|||
data['date_to']) + """' ) am |
|||
LEFT JOIN account_move_line aml ON aml.move_id = am.id |
|||
LEFT JOIN account_account aa ON aa.id = aml.account_id |
|||
LEFT JOIN account_account_type aat ON aat.id = aa.user_type_id |
|||
""" + state + """GROUP BY aat.name""" |
|||
cr = self._cr |
|||
cr.execute(query2) |
|||
fetched_data = cr.dictfetchall() |
|||
elif data['levels'] == 'detailed': |
|||
state = """ WHERE am.state = 'posted' """ if data['target_move'] == 'posted' else '' |
|||
query1 = """SELECT aa.name,aa.code, sum(aml.debit) AS total_debit, sum(aml.credit) AS total_credit, |
|||
sum(aml.balance) AS total_balance FROM (SELECT am.id, am.state FROM account_move as am |
|||
LEFT JOIN account_move_line aml ON aml.move_id = am.id |
|||
LEFT JOIN account_account aa ON aa.id = aml.account_id |
|||
LEFT JOIN account_account_type aat ON aat.id = aa.user_type_id |
|||
WHERE am.date BETWEEN '""" + str(data['date_from']) + """' and '""" + str( |
|||
data['date_to']) + """' ) am |
|||
LEFT JOIN account_move_line aml ON aml.move_id = am.id |
|||
LEFT JOIN account_account aa ON aa.id = aml.account_id |
|||
LEFT JOIN account_account_type aat ON aat.id = aa.user_type_id |
|||
""" + state + """GROUP BY aa.name, aa.code""" |
|||
cr = self._cr |
|||
cr.execute(query1) |
|||
fetched_data = cr.dictfetchall() |
|||
for account in self.env['account.account'].search([]): |
|||
child_lines = self._get_journal_lines(account, data) |
|||
if child_lines: |
|||
journal_res.append(child_lines) |
|||
|
|||
else: |
|||
account_type_id = self.env.ref('account.data_account_type_liquidity').id |
|||
state = """AND am.state = 'posted' """ if data['target_move'] == 'posted' else '' |
|||
sql = """SELECT DISTINCT aa.name,aa.code, sum(aml.debit) AS total_debit, |
|||
sum(aml.credit) AS total_credit FROM (SELECT am.* FROM account_move as am |
|||
LEFT JOIN account_move_line aml ON aml.move_id = am.id |
|||
LEFT JOIN account_account aa ON aa.id = aml.account_id |
|||
LEFT JOIN account_account_type aat ON aat.id = aa.user_type_id |
|||
WHERE am.date BETWEEN '""" + str(data['date_from']) + """' and '""" + str( |
|||
data['date_to']) + """' """ + state + """) am |
|||
LEFT JOIN account_move_line aml ON aml.move_id = am.id |
|||
LEFT JOIN account_account aa ON aa.id = aml.account_id |
|||
LEFT JOIN account_account_type aat ON aat.id = aa.user_type_id |
|||
GROUP BY aa.name, aa.code""" |
|||
cr = self._cr |
|||
cr.execute(sql) |
|||
fetched = cr.dictfetchall() |
|||
for account in self.env['account.account'].search([]): |
|||
child_lines = self._get_lines(account, data) |
|||
if child_lines: |
|||
account_res.append(child_lines) |
|||
|
|||
return { |
|||
'date_from': data['date_from'], |
|||
'date_to': data['date_to'], |
|||
'levels': data['levels'], |
|||
'doc_ids': self.ids, |
|||
'doc_model': active_model, |
|||
'docs': docs, |
|||
'fetched_data': fetched_data, |
|||
'account_res': account_res, |
|||
'journal_res': journal_res, |
|||
'fetched': fetched, |
|||
} |
|||
|
|||
def _get_lines(self, account, data): |
|||
account_type_id = self.env.ref('account.data_account_type_liquidity').id |
|||
state = """AND am.state = 'posted' """ if data['target_move'] == 'posted' else '' |
|||
query = """SELECT aml.account_id,aj.name, am.name as move_name, sum(aml.debit) AS total_debit, |
|||
sum(aml.credit) AS total_credit FROM (SELECT am.* FROM account_move as am |
|||
LEFT JOIN account_move_line aml ON aml.move_id = am.id |
|||
LEFT JOIN account_account aa ON aa.id = aml.account_id |
|||
LEFT JOIN account_account_type aat ON aat.id = aa.user_type_id |
|||
WHERE am.date BETWEEN '""" + str(data['date_from']) + """' and '""" + str( |
|||
data['date_to']) + """' """ + state + """) am |
|||
LEFT JOIN account_move_line aml ON aml.move_id = am.id |
|||
LEFT JOIN account_account aa ON aa.id = aml.account_id |
|||
LEFT JOIN account_journal aj ON aj.id = am.journal_id |
|||
WHERE aa.id = """ + str(account.id) + """ |
|||
GROUP BY am.name, aml.account_id, aj.name""" |
|||
|
|||
cr = self._cr |
|||
cr.execute(query) |
|||
fetched_data = cr.dictfetchall() |
|||
sql2 = """SELECT aa.name as account_name, aj.id, aj.name, sum(aml.debit) AS total_debit, |
|||
sum(aml.credit) AS total_credit FROM (SELECT am.* FROM account_move as am |
|||
LEFT JOIN account_move_line aml ON aml.move_id = am.id |
|||
LEFT JOIN account_account aa ON aa.id = aml.account_id |
|||
LEFT JOIN account_account_type aat ON aat.id = aa.user_type_id |
|||
WHERE am.date BETWEEN '""" + str(data['date_from']) + """' and '""" + str( |
|||
data['date_to']) + """' """ + state + """) am |
|||
LEFT JOIN account_move_line aml ON aml.move_id = am.id |
|||
LEFT JOIN account_account aa ON aa.id = aml.account_id |
|||
LEFT JOIN account_journal aj ON aj.id = am.journal_id |
|||
WHERE aa.id = """ + str(account.id) + """ |
|||
GROUP BY aa.name, aj.name, aj.id""" |
|||
|
|||
cr = self._cr |
|||
cr.execute(sql2) |
|||
fetch_data = cr.dictfetchall() |
|||
if fetched_data: |
|||
return { |
|||
'account': account.name, |
|||
'code': account.code, |
|||
'move_lines': fetched_data, |
|||
'journal_lines': fetch_data, |
|||
} |
|||
|
|||
def _get_journal_lines(self, account, data): |
|||
account_type_id = self.env.ref('account.data_account_type_liquidity').id |
|||
state = """AND am.state = 'posted' """ if data['target_move'] == 'posted' else '' |
|||
sql2 = """SELECT aa.name as account_name, aj.id, aj.name, sum(aml.debit) AS total_debit, |
|||
sum(aml.credit) AS total_credit FROM (SELECT am.* FROM account_move as am |
|||
LEFT JOIN account_move_line aml ON aml.move_id = am.id |
|||
LEFT JOIN account_account aa ON aa.id = aml.account_id |
|||
LEFT JOIN account_account_type aat ON aat.id = aa.user_type_id |
|||
WHERE am.date BETWEEN '""" + str(data['date_from']) + """' and '""" + str( |
|||
data['date_to']) + """' """ + state + """) am |
|||
LEFT JOIN account_move_line aml ON aml.move_id = am.id |
|||
LEFT JOIN account_account aa ON aa.id = aml.account_id |
|||
LEFT JOIN account_journal aj ON aj.id = am.journal_id |
|||
WHERE aa.id = """ + str(account.id) + """ |
|||
GROUP BY aa.name, aj.name, aj.id""" |
|||
|
|||
cr = self._cr |
|||
cr.execute(sql2) |
|||
fetched_data = cr.dictfetchall() |
|||
if fetched_data: |
|||
return { |
|||
'account': account.name, |
|||
'journal_lines': fetched_data, |
|||
} |
@ -0,0 +1,40 @@ |
|||
Payment/Receipt voucher print |
|||
============================= |
|||
* Used to print payment/receipt voucher. |
|||
|
|||
Installation |
|||
============ |
|||
- www.odoo.com/documentation/14.0/setup/install.html |
|||
- Install our custom addon |
|||
|
|||
License |
|||
------- |
|||
GNU AFFERO GENERAL PUBLIC LICENSE, Version 3 (AGPLv3) |
|||
(http://www.gnu.org/licenses/agpl.html) |
|||
|
|||
Company |
|||
------- |
|||
* 'Cybrosys Techno Solutions <https://cybrosys.com/>`__ |
|||
|
|||
Credits |
|||
------- |
|||
* Developer: |
|||
odoo v12 - Varsha Vivek |
|||
|
|||
Contacts |
|||
-------- |
|||
* Mail Contact : odoo@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 |
|||
========== |
|||
This module is maintained by Cybrosys Technologies. |
|||
|
|||
For support and more information, please visit https://www.cybrosys.com |
|||
|
|||
Further information |
|||
=================== |
|||
HTML Description: `<static/description/index.html>`__ |
@ -0,0 +1,23 @@ |
|||
# -*- coding: utf-8 -*- |
|||
############################################################################# |
|||
# |
|||
# Cybrosys Technologies Pvt. Ltd. |
|||
# |
|||
# Copyright (C) 2019-TODAY Cybrosys Technologies(<https://www.cybrosys.com>). |
|||
# Author: Varsha Vivek (odoo@cybrosys.com) |
|||
# |
|||
# You can modify it under the terms of the GNU AFFERO |
|||
# GENERAL PUBLIC LICENSE (AGPL 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 AFFERO GENERAL PUBLIC LICENSE (AGPL v3) for more details. |
|||
# |
|||
# You should have received a copy of the GNU AFFERO GENERAL PUBLIC LICENSE |
|||
# (AGPL v3) along with this program. |
|||
# If not, see <http://www.gnu.org/licenses/>. |
|||
# |
|||
############################################################################# |
|||
|
|||
from . import models |
@ -0,0 +1,42 @@ |
|||
# -*- coding: utf-8 -*- |
|||
############################################################################# |
|||
# |
|||
# Cybrosys Technologies Pvt. Ltd. |
|||
# |
|||
# Copyright (C) 2019-TODAY Cybrosys Technologies(<https://www.cybrosys.com>). |
|||
# Author: Varsha Vivek (odoo@cybrosys.com) |
|||
# |
|||
# You can modify it under the terms of the GNU AFFERO |
|||
# GENERAL PUBLIC LICENSE (AGPL 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 AFFERO GENERAL PUBLIC LICENSE (AGPL v3) for more details. |
|||
# |
|||
# You should have received a copy of the GNU AFFERO GENERAL PUBLIC LICENSE |
|||
# (AGPL v3) along with this program. |
|||
# If not, see <http://www.gnu.org/licenses/>. |
|||
# |
|||
############################################################################# |
|||
|
|||
{ |
|||
'name': 'Print Voucher Receipts', |
|||
'version': '13.0.1.0.0', |
|||
'summary': """Print receipts from invoicing """, |
|||
'description': """Print receipts from invoicing""", |
|||
'author': "Cybrosys Techno Solutions", |
|||
'company': 'Cybrosys Techno Solutions', |
|||
'maintaner': 'Cybrosys Techno Solutions', |
|||
'website': "https://www.cybrosys.com", |
|||
'category': 'Accounting', |
|||
'depends': ['base', 'account'], |
|||
'data': ['views/template.xml', |
|||
'views/account_voucher_print.xml'], |
|||
'images': ['static/description/banner.png'], |
|||
'license': 'AGPL-3', |
|||
'installable': True, |
|||
'application': False, |
|||
'auto_install': False, |
|||
} |
|||
|
@ -0,0 +1,6 @@ |
|||
## Module <print_voucher_receipts> |
|||
|
|||
#### 29.10.2020 |
|||
#### Version 14.0.1.0.0 |
|||
##### ADD |
|||
- Initial commit for print_voucher_receipts |
@ -0,0 +1,23 @@ |
|||
# -*- coding: utf-8 -*- |
|||
############################################################################# |
|||
# |
|||
# Cybrosys Technologies Pvt. Ltd. |
|||
# |
|||
# Copyright (C) 2019-TODAY Cybrosys Technologies(<https://www.cybrosys.com>). |
|||
# Author: Varsha Vivek (odoo@cybrosys.com) |
|||
# |
|||
# You can modify it under the terms of the GNU AFFERO |
|||
# GENERAL PUBLIC LICENSE (AGPL 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 AFFERO GENERAL PUBLIC LICENSE (AGPL v3) for more details. |
|||
# |
|||
# You should have received a copy of the GNU AFFERO GENERAL PUBLIC LICENSE |
|||
# (AGPL v3) along with this program. |
|||
# If not, see <http://www.gnu.org/licenses/>. |
|||
# |
|||
############################################################################# |
|||
|
|||
from . import account_voucher_print |
@ -0,0 +1,59 @@ |
|||
# -*- coding: utf-8 -*- |
|||
############################################################################# |
|||
# |
|||
# Cybrosys Technologies Pvt. Ltd. |
|||
# |
|||
# Copyright (C) 2019-TODAY Cybrosys Technologies(<https://www.cybrosys.com>). |
|||
# Author: Varsha Vivek (odoo@cybrosys.com) |
|||
# |
|||
# You can modify it under the terms of the GNU AFFERO |
|||
# GENERAL PUBLIC LICENSE (AGPL 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 AFFERO GENERAL PUBLIC LICENSE (AGPL v3) for more details. |
|||
# |
|||
# You should have received a copy of the GNU AFFERO GENERAL PUBLIC LICENSE |
|||
# (AGPL v3) along with this program. |
|||
# If not, see <http://www.gnu.org/licenses/>. |
|||
# |
|||
############################################################################# |
|||
|
|||
from odoo import api, models, fields, _ |
|||
from odoo.exceptions import UserError |
|||
|
|||
|
|||
class AccountMove(models.Model): |
|||
"""Inherit account.move model and enable the print option""" |
|||
_inherit = "account.move" |
|||
|
|||
@api.depends('amount_total') |
|||
def _compute_amount_total_words(self): |
|||
for receipt in self: |
|||
receipt.amount_total_words = receipt.currency_id.amount_to_text(receipt.amount_total) |
|||
|
|||
amount_total_words = fields.Char("Total (In Words)", compute="_compute_amount_total_words") |
|||
|
|||
def print_report(self): |
|||
"""Method to print report""" |
|||
return self.env.ref( |
|||
'print_voucher_receipts.action_print_receipt').report_action(self, data='') |
|||
|
|||
|
|||
class VoucherReceiptPrint(models.AbstractModel): |
|||
"""Class for print the Qweb report""" |
|||
_name = 'report.print_voucher_receipts.print_voucher_receipt' |
|||
|
|||
@api.model |
|||
def _get_report_values(self, docids, data): |
|||
for move in self.env['account.move'].search([('id', 'in', docids)]): |
|||
if move.type not in ('in_receipt', 'out_receipt'): |
|||
raise UserError(_("Only receipts could be printed.")) |
|||
self.model = self.env.context.get('active_model') |
|||
docs = self.env.context.get('active_ids') |
|||
if docs == None: |
|||
docs = docids |
|||
return { |
|||
'data': self.env['account.move'].search([('id', 'in', docs)]) |
|||
} |
After Width: | Height: | Size: 87 KiB |
After Width: | Height: | Size: 21 KiB |
After Width: | Height: | Size: 133 KiB |
After Width: | Height: | Size: 62 KiB |
After Width: | Height: | Size: 91 KiB |
After Width: | Height: | Size: 92 KiB |
After Width: | Height: | Size: 15 KiB |
After Width: | Height: | Size: 51 KiB |
After Width: | Height: | Size: 118 KiB |
After Width: | Height: | Size: 82 KiB |
After Width: | Height: | Size: 211 KiB |
After Width: | Height: | Size: 78 KiB |
After Width: | Height: | Size: 40 KiB |
After Width: | Height: | Size: 196 KiB |
After Width: | Height: | Size: 79 KiB |
After Width: | Height: | Size: 33 KiB |
After Width: | Height: | Size: 66 KiB |
@ -0,0 +1,376 @@ |
|||
|
|||
|
|||
<div class="row" style="margin: 0;position: relative;color: #000;background-position: center;background: #ffffff;border-bottom: 1px solid #e4e4e4;text-align: center; margin: auto; display: flex;justify-content: center;"> <a href="https://www.cybrosys.com/" target="_blank"><img src="images/cybrosys.png" style=" width: 293px; padding: 1rem 0rem; margin: auto" alt="cybrosys-logo"></a> </div> |
|||
|
|||
<div class="row" style="margin:75px 0;position: relative;color: #000;background-position: center;background: #ffffff;border-bottom: 1px solid #e4e4e4; padding-bottom: 30px;"> |
|||
<div class="col-md-7 col-sm-12 col-xs-12" style="padding: 0px"> |
|||
<div style=" margin: 0 0 0px;padding: 20px 0 10;font-size: 23px;line-height: 35px;font-weight: 400;color: #000;border-top: 1px solid rgba(255,255,255,0.1);border-bottom: 1px solid rgba(255,255,255,0.11);text-align: left;"> |
|||
<h1 style="font-size: 39px;font-weight: 600;margin: 0px !important;">Payment/Receipt Voucher Print</h1> |
|||
<h3 style="font-size: 21px;margin-top: 8px;position: relative;">Print voucher receipts from invoicing</h3> |
|||
</div> |
|||
<h2 style="font-weight: 600;font-size: 1.8rem;margin-top: 15px;">Key Highlights</h2> |
|||
<ul style=" padding: 0 1px; list-style: none; "> |
|||
<li style="display: flex;align-items: center;padding: 8px 0;font-size: 18px;"><i class="fa fa-check-circle-o" style="width:40px; color:#07B700"></i>Payment/Receipt voucher print for Odoo12 community edition.</li> |
|||
<li style="display: flex;align-items: center;padding: 8px 0;font-size: 18px;"><i class="fa fa-check-circle-o" style="width:40px; color:#07B700"></i>Print customer payment voucher receipts.</li> |
|||
<li style="display: flex;align-items: center;padding: 8px 0;font-size: 18px;"><i class="fa fa-check-circle-o" style="width:40px; color:#07B700"></i>Print vendor voucher receipts.</li> |
|||
</ul> |
|||
|
|||
</div> |
|||
<div class="col-md-5 col-sm-12 col-xs-12"> <img src="images/print_voucher_receipts.png" class="img-responsive" alt=""> </div> |
|||
</div> |
|||
<div> |
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
<section class="oe_container" style="padding: 1rem 0rem 1rem; background-color: #ffffff !important;"> |
|||
<div class="row py-4 px-3"> |
|||
<div class="w-100" style="padding-top:30px;padding-bottom:45px;border-radius: 10px;"> |
|||
<ul role="tablist" class="nav nav-pills justify-content-center" data-tabs="tabs" id="pills-tab" style="border: none;background: unset;"> |
|||
|
|||
<li class="nav-item mr-1 mb-3" style="font-size: 1.05rem;font-weight: 400;transition: all .15s ease;color: #d31c22;background-color: #d31c22;box-shadow: 0 4px 6px rgba(50,50,93,.11), 0 1px 3px rgba(0,0,0,.08);border: 0;font-family: 'Open Sans',sans-serif;width: 140px;border-radius: 0.30rem;"> <a id="pills-home-tab" data-toggle="pill" href="#pills-home" role="tab" aria-controls="pills-home" aria-selected="true" class="nav-link active show" style="color: #000000;line-height: 33px;border: 0;border-radius: .25rem;font-weight: 400;text-align: center; |
|||
color: #fff;">Overview </a> </li> |
|||
<li class="nav-item mr-1 mb-3" style="font-size: 1.05rem;font-weight: 400;transition: all .15s ease;color: #d31c22;background-color: #d31c22;box-shadow: 0 4px 6px rgba(50,50,93,.11), 0 1px 3px rgba(0,0,0,.08);border: 0;font-family: 'Open Sans',sans-serif;width: 140px;border-radius: 0.30rem;"> <a id="pills-home-tab" data-toggle="pill" href="#pills-home1" role="tab" aria-controls="pills-home" aria-selected="true" class="nav-link " style="color: #000000;line-height: 33px;border: 0;border-radius: .25rem;font-weight: 400; text-align: center; |
|||
color: #fff;" >Features </a> </li> |
|||
|
|||
<li class="nav-item mr-1 mb-3" style="font-size: 1.05rem;font-weight: 400;transition: all .15s ease;color: #ffffff;background-color: #d31c22;box-shadow: 0 4px 6px rgba(50,50,93,.11), 0 1px 3px rgba(0,0,0,.08);border: 0;font-family: 'Open Sans',sans-serif;width: 140px;border-radius: 0.30rem;"> <a class="nav-link" id="pills-profile-tab" data-toggle="pill" href="#pills-profile" role="tab" aria-controls="pills-profile" aria-selected="false" style="color: #000000;line-height: 33px;border: 0;border-radius: .25rem;font-weight: 400; text-align: center; |
|||
color: #fff;">Screenshots </a> </li> |
|||
|
|||
<!-- <li class="nav-item mr-1 mb-3" style="font-size: 1.05rem;font-weight: 400;transition: all .15s ease;color: #ffffff;background-color: #d31c22;box-shadow: 0 4px 6px rgba(50,50,93,.11), 0 1px 3px rgba(0,0,0,.08);border: 0;font-family: 'Open Sans',sans-serif;width: 140px;border-radius: 0.30rem;"> <a class="nav-link" id="pills-profile-tab" data-toggle="pill" href="#pills-video" role="tab" aria-controls="pills-profile" aria-selected="false" style="color: #000000;line-height: 33px;border: 0;border-radius: .25rem;font-weight: 400; text-align: center; |
|||
color: #fff;">Video </a> </li> --> |
|||
|
|||
</ul> |
|||
|
|||
|
|||
<div class="tab-content" id="pills-tabContent" |
|||
style="padding-top: 30px; padding-bottom: 30px; padding: 30px;"> |
|||
<div class="px-3 pt-1 tab-pane fade active show" id="pills-home" role="tabpanel" aria-labelledby=" |
|||
pills-home-tab"> |
|||
<!-- Overview--> |
|||
<h2 style="font-weight: 600;text-align: center;width: 100%;">Overview</h2> |
|||
<hr style="margin-top: 0px;margin-bottom: 2%;border: 0;text-align: center;border-top: 3px solid #d21c22;width: 5%;"> |
|||
<h3 class="oe_slogan" style="text-align: center;font-size: 19px;width: 100%;margin: 0;margin-top: 14px;color: #000 !important;opacity: 1 !important;line-height: 31px;font-weight: 400;letter-spacing: .5px;margin-bottom: 21px;"> |
|||
Payment/Receipt voucher print module helps with printing of voucher receipts. Currently there is no option for printing payments/receipts voucher. This module helps the user to print the vouchers from Odoo invoicing.</h3> |
|||
</div> |
|||
|
|||
<div class="px-3 pt-1 tab-pane fade " id="pills-home1" role="tabpanel" aria-labelledby=" |
|||
pills-home-tab"> |
|||
<!-- feature tab--> |
|||
<h2 style="font-weight: 600;text-align: center;width: 100%;">Payment/Receipt Voucher Print</h2> |
|||
<hr style="margin-top: 0px;margin-bottom: 2%;border: 0;text-align: center;border-top: 3px solid #d21c22;width: 5%;"> |
|||
<ul> |
|||
<p class="mb8" style="font-family: Roboto;color: #000;list-style-type: square;font-size: 19px;line-height: 50px; background-color: #3a34380d;padding-left: 20px;border-radius: 7px;list-style: none;"> |
|||
<i class="fa fa-check-circle-o" style="width:40px; color:#07B700"></i>Payment/Receipt voucher print for Odoo12 community edition.</p> |
|||
<p class="mb8" style="font-family: Roboto;color: #000;list-style-type: square;font-size: 19px;line-height: 50px; background-color: #3a34380d;padding-left: 20px;border-radius: 7px;list-style: none;"> |
|||
<i class="fa fa-check-circle-o" style="width:40px; color:#07B700"></i>Print customer payment voucher receipts.</p> |
|||
|
|||
< class="mb8" style="font-family: Roboto;color: #000;list-style-type: square;font-size: 19px;line-height: 50px; background-color: #3a34380d;padding-left: 20px;border-radius: 7px;list-style: none;"> |
|||
<i class="fa fa-check-circle-o" style="width:40px; color:#07B700"></i>Print vendor voucher receipts.</> |
|||
</ul> |
|||
</div> |
|||
|
|||
|
|||
<!-- Screenshot tab--> |
|||
<div class="px-3 tab-pane fade" id="pills-profile" role="tabpanel" aria-labelledby="pills-profile-tab" > |
|||
|
|||
<div class="tab-pane"> |
|||
<h2 style="font-weight: 600;text-align: center;width: 100%;">Screenshots</h2> |
|||
<hr style="margin-top: 0px;margin-bottom: 2%;border: 0;text-align: center;border-top: 3px solid #d21c22;width: 5%;"> |
|||
<div> |
|||
<section class="oe_container"> |
|||
|
|||
<div id="demo" class="row carousel slide mb32" data-ride="carousel"> |
|||
<div class="carousel-inner"> |
|||
<div class="carousel-item active" style="min-height: 0px;"> |
|||
<div class="col-xs-12 col-sm-12 col-md-12 mb16 mt16" style="float: left;"> |
|||
<h3 class="alert" style="font-weight:400;color: #091E42;background: #fff;text-align: left;border-radius: 0; font-size: 18px;"> <i class="fa fa-check-circle-o" style="width:40px; color:#07B700"></i> After installation, go to Customers > Receipts for printing customer payment voucher receipt.</h3> |
|||
|
|||
<div style=""> <img class="img img-responsive center-block" style="border-top-left-radius: 10px;border-top-right-radius: 10px;" src="images/print_voucher_receipts-1.png"> </div> |
|||
</div> |
|||
|
|||
</div> |
|||
<div class="carousel-item" style="min-height: 0px;"> |
|||
<div class="col-xs-12 col-sm-12 col-md-12 mb16 mt16" style="float: left;"> |
|||
<h3 class="alert" style="font-weight:400;color: #091E42;background: #fff;text-align: left;border-radius: 0; font-size: 18px;"> <i class="fa fa-check-circle-o" style="width:40px; color:#07B700"></i>Choose one receipt that you want to print and click on the print button.</h3> |
|||
|
|||
<div style=""> <img class="img img-responsive center-block" style="border-top-left-radius: 10px;border-top-right-radius: 10px;" src="images/print_voucher_receipts-2.png"> </div> |
|||
</div> |
|||
|
|||
</div> |
|||
|
|||
|
|||
<div class="carousel-item" style="min-height: 0px;"> |
|||
<div class="col-xs-12 col-sm-12 col-md-12 mb16 mt16" style="float: left;"> |
|||
<h3 class="mb32 alert" style="font-weight:400;color: #091E42;background: #fff;text-align: left;border-radius: 0; font-size: 18px; "> <i class="fa fa-check-circle-o" style="width:40px; color:#07B700"></i>Print voucher receipt.</h3> |
|||
|
|||
<div style=""> <img class="img img-responsive center-block" style="border-top-left-radius: 10px;border-top-right-radius: 10px;" src="images/print_voucher_receipts-3.png"> </div> |
|||
</div> |
|||
|
|||
</div> |
|||
|
|||
<div class="carousel-item" style="min-height: 0px;"> |
|||
<div class="col-xs-12 col-sm-12 col-md-12 mb16 mt16" style="float: left;"> |
|||
<h3 class="alert" style="font-weight:400;color: #091E42;background: #fff;text-align: left;border-radius: 0; font-size: 18px; "> <i class="fa fa-check-circle-o" style="width:40px; color:#07B700"></i>For vendor payment voucher receipt print, go to Vendors > Receipts</h3> |
|||
|
|||
<div style=""> <img class="img img-responsive center-block" style="border-top-left-radius: 10px;border-top-right-radius: 10px;" src="images/print_voucher_receipts-4.png"> </div> |
|||
</div> |
|||
|
|||
</div> |
|||
|
|||
<div class="carousel-item" style="min-height: 0px;"> |
|||
<div class="col-xs-12 col-sm-12 col-md-12 mb16 mt16" style="float: left;"> |
|||
|
|||
<h3 class="alert" style="font-weight:400;color: #091E42;background: #fff;text-align: left;border-radius: 0;font-size: 18px;"> <i class="fa fa-check-circle-o" style="width:40px; color:#07B700"></i>Choose one receipt that you want to print and click on the print button.</h3> |
|||
|
|||
<div style=""> |
|||
|
|||
<img class="img img-responsive center-block" style="border-top-left-radius: 10px;border-top-right-radius: 10px;" src="images/print_voucher_receipts-5.png"> </div> |
|||
</div> |
|||
|
|||
</div> |
|||
<div class="carousel-item" style="min-height: 0px;"> |
|||
<div class="col-xs-12 col-sm-12 col-md-12 mb16 mt16" style="float: left;"> |
|||
|
|||
<h3 class="alert" style="font-weight:400;color: #091E42;background: #fff;text-align: left;border-radius: 0;font-size: 18px;"> <i class="fa fa-check-circle-o" style="width:40px; color:#07B700"></i>Print voucher receipts.</h3> |
|||
|
|||
<div style=""> |
|||
|
|||
<img class="img img-responsive center-block" style="border-top-left-radius: 10px;border-top-right-radius: 10px;" src="images/print_voucher_receipts-6.png"> </div> |
|||
</div> |
|||
|
|||
</div> |
|||
</div> |
|||
|
|||
<a class="carousel-control-prev" href="#demo" data-slide="prev" style="left:-25px;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="#demo" data-slide="next" style="right:-25px;width: 35px;color: #000;"> <span class="carousel-control-next-icon"><i class="fa fa-chevron-right" style="font-size:24px"></i></span> </a> </div> |
|||
|
|||
</section> |
|||
</div> |
|||
</div> |
|||
</div> |
|||
|
|||
|
|||
<!-- <div class="px-3 pt-1 tab-pane fade" id="pills-video" role="tabpanel" aria-labelledby=" --> |
|||
<!-- pills-home-tab"> --> |
|||
<!-- Video--> |
|||
<!-- <h2 style="font-weight: 600;text-align: center;width: 100%;">Video</h2> --> |
|||
<!-- /*<hr style="margin-top: 0px;margin-bottom: 2%;border: 0;text-align: center;border-top: 3px solid #d21c22;width: 5%;">*/ --> |
|||
<!-- <center><p>Payment/Receipt Voucher Print Demo</p> --> |
|||
<!--<a href="https://www.youtube.com/watch?v=57QWXrMYe84&feature=youtu.be" target="_blank"> <img src="addon-youtube.png" style="width:80%;"></a>--> |
|||
|
|||
<!-- <div class="s_panel_video" data-video-id="h95gK1oNLHA?rel=0" style="cursor:pointer;"> |
|||
<img class="img-fluid s_tooltip_tabs_tooltip_image s_figure_link pb0" src="images/pos_multivariant_youtube.png" alt="Cybrosys Cover Video" style="max-width:100%;"> |
|||
</div> --> |
|||
|
|||
</center> |
|||
</div> |
|||
|
|||
<!-- faq tab--> |
|||
<div class="px-2 px-lg-4 pt-3 tab-pane fade" id="pills-contact" role="tabpanel" aria-labelledby="pills-contact-tab"> |
|||
<ul class="list-unstyled"> |
|||
|
|||
|
|||
</ul> |
|||
</div> |
|||
</div> |
|||
</div> |
|||
</div> |
|||
</section> |
|||
|
|||
<section class="oe_container" style="padding: 2rem 3rem 1rem;"> |
|||
<h2 style="font-weight: 600;text-align: center;margin-bottom: 25px;width: 100%;">Suggested Products</h2> |
|||
<hr style="margin-top: 0px;margin-bottom: 2%;border: 0;text-align: center;border-top: 3px solid #d21c22;width: 5%;"> |
|||
<div id="demo1" class="row carousel slide" data-ride="carousel"> |
|||
<!-- The slideshow --> |
|||
<div class="carousel-inner"> |
|||
<div class="carousel-item active" style="min-height: 0px;"> |
|||
<div class="col-xs-12 col-sm-4 col-md-4 mb16 mt16" style="float: left;"> <a href="https://apps.odoo.com/apps/modules/12.0/account_reports_xlsx/" target="_blank"> |
|||
<div style="box-shadow: 0 15px 35px rgba(50, 50, 93, 0.1), 0 5px 15px rgba(0, 0, 0, 0.07);border-radius: 10px;"> <img class="img img-responsive center-block" style="border-top-left-radius: 10px;border-top-right-radius: 10px;" src="images/account_reports_xlsx.jpeg"> </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/12.0/dynamic_reports_pdf/" target="_blank"> |
|||
<div style="box-shadow: 0 15px 35px rgba(50, 50, 93, 0.1), 0 5px 15px rgba(0, 0, 0, 0.07);border-radius: 10px;"> <img class="img img-responsive center-block" style="border-top-left-radius: 10px;border-top-right-radius: 10px;" src="images/dynamic_reports_pdf.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/12.0/day_book_dynamic_report/" target="_blank"> |
|||
<div style="box-shadow: 0 15px 35px rgba(50, 50, 93, 0.1), 0 5px 15px rgba(0, 0, 0, 0.07);border-radius: 10px;"> <img class="img img-responsive center-block" style="border-top-left-radius: 10px;border-top-right-radius: 10px;" src="images/day_book_dynamic_report.jpeg"> </div> |
|||
</a> </div> |
|||
</div> |
|||
<div class="carousel-item" style="min-height: 0px;"> |
|||
<div class="col-xs-12 col-sm-4 col-md-4 mb16 mt16" style="float: left;"> <a href="https://apps.odoo.com/apps/modules/12.0/bank_book_dynamic_reports/" target="_blank"> |
|||
<div style="box-shadow: 0 15px 35px rgba(50, 50, 93, 0.1), 0 5px 15px rgba(0, 0, 0, 0.07);border-radius: 10px;"> <img class="img img-responsive center-block" style="border-top-left-radius: 10px;border-top-right-radius: 10px;" src="images/bank_book_dynamic_reports.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/12.0/cash_book_dynamic_reports/" target="_blank"> |
|||
<div style="box-shadow: 0 15px 35px rgba(50, 50, 93, 0.1), 0 5px 15px rgba(0, 0, 0, 0.07);border-radius: 10px;"> <img class="img img-responsive center-block" style="border-top-left-radius: 10px;border-top-right-radius: 10px;" src="images/cash_book_dynamic_reports.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/12.0/account_day_book/" target="_blank"> |
|||
<div style="box-shadow: 0 15px 35px rgba(50, 50, 93, 0.1), 0 5px 15px rgba(0, 0, 0, 0.07);border-radius: 10px;"> <img class="img img-responsive center-block" style="border-top-left-radius: 10px;border-top-right-radius: 10px;" src="images/account_day_book.jpeg"> </div> |
|||
</a> </div> |
|||
</div> |
|||
</div> |
|||
|
|||
<!-- Left and right controls --> |
|||
<a class="carousel-control-prev" href="#demo1" data-slide="prev" style="left:-25px;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="right:-25px;width: 35px;color: #000;"> <span class="carousel-control-next-icon"><i class="fa fa-chevron-right" style="font-size:24px"></i></span> </a> </div> |
|||
</section> |
|||
|
|||
|
|||
<section class="row" style="padding: 2rem 3rem 1rem;margin:0px"> |
|||
<h2 style="font-weight: 600;margin-bottom: 20px;text-align: center;width: 100%;">Our Service</h2> |
|||
<hr style="margin-top: 0px;margin-bottom: 2%;border: 0;text-align: center;border-top: 3px solid #d21c22;width: 5%;"> |
|||
<div class="row" style=" display: flex; justify-content: center; flex-wrap: wrap;width: 100%; "> |
|||
<!-- <div style="display:flex;padding-top: 20px;justify-content: space-between;"> --> |
|||
<div class="col-md-2 col-sm-6 col-xs-12"> |
|||
<div style="width:75px;height:75px;background:#fff; border-radius:100%;margin: auto;"> <a href="https://www.cybrosys.com/odoo-customization-and-installation/" target="_blank"> <img src="https://www.cybrosys.com/images/odoo-customization.png" style="width: 100%;border-radius: 100%;"/> </a> </div> |
|||
<h3 class="oe_slogan" style="font-weight: 800;text-align: center;font-size: 14px;width: 100%;margin: 0;margin-top: 14px;color: #000 !important;margin-top: 5px;opacity: 1 !important;line-height: 17px;"> <a href="https://www.cybrosys.com/odoo-customization-and-installation/" target="_blank" style="list-style: none; color:#000; text-decoration: none; font-family: 'Montserrat',sans-serif;"> Odoo Customization </a> </h3> |
|||
</div> |
|||
<div class="col-md-2 col-sm-6 col-xs-12"> |
|||
<div style="width:75px;height:75px;background:#fff; border-radius:100%;margin: auto;"> <a href="https://www.cybrosys.com/odoo-erp-implementation/" target="_blank"> <img src="https://www.cybrosys.com/images/odoo-erp-implementation.png" style="width: 100%;border-radius: 100%;"/> </a> </div> |
|||
<h3 class="oe_slogan" style="font-weight: 800;text-align: center;font-size: 14px;width: 100%;margin: 0;margin-top: 14px;color: #000 !important;margin-top: 5px;opacity: 1 !important;line-height: 17px;"> <a href="https://www.cybrosys.com/odoo-erp-implementation/" target="_blank" style="list-style: none; color:#000; text-decoration: none; font-family: 'Montserrat',sans-serif;"> Odoo Implementation </a> </h3> |
|||
</div> |
|||
<div class="col-md-2 col-sm-6 col-xs-12"> |
|||
<div style="width:75px;height:75px;background:#fff; border-radius:100%;margin: auto;"> <a href="https://www.cybrosys.com/odoo-erp-integration/" target="_blank"> <img src="https://www.cybrosys.com/images/odoo-erp-integration.png" style="width: 100%;border-radius: 100%;"/> </a> </div> |
|||
<h3 class="oe_slogan" style="font-weight: 800;text-align: center;font-size: 14px;width: 100%;margin: 0;margin-top: 14px;color: #000 !important;margin-top: 5px;opacity: 1 !important;line-height: 17px;"> <a href="https://www.cybrosys.com/odoo-erp-integration/" target="_blank" style="list-style: none; color:#000; text-decoration: none; font-family: 'Montserrat',sans-serif;"> Odoo Integration </a> </h3> |
|||
</div> |
|||
<div class="col-md-2 col-sm-6 col-xs-12"> |
|||
<div style="width:75px;height:75px;background:#fff; border-radius:100%;margin: auto;"> <a href="https://www.cybrosys.com/odoo-erp-support/" target="_blank"> <img src="https://www.cybrosys.com/images/odoo-erp-support.png" style="width: 100%;border-radius: 100%;"/> </a> </div> |
|||
<h3 class="oe_slogan" style="font-weight: 800;text-align: center;font-size: 14px;width: 100%;margin: 0;margin-top: 14px;color: #000 !important;margin-top: 5px;opacity: 1 !important;line-height: 17px;"> <a href="https://www.cybrosys.com/odoo-erp-support/" target="_blank" style="list-style: none; color:#000; text-decoration: none; font-family: 'Montserrat',sans-serif;"> Odoo Support</a> </h3> |
|||
</div> |
|||
<div class="col-md-2 col-sm-6 col-xs-12"> |
|||
<div style="width:75px;height:75px;background:#fff; border-radius:100%;margin: auto;"> <a href="https://www.cybrosys.com/hire-odoo-developer/" target="_blank"> <img src="https://www.cybrosys.com/images/hire-odoo-developer.png" style="width: 100%;border-radius: 100%;"/> </a> </div> |
|||
<h3 class="oe_slogan" style="font-weight: 800;text-align: center;font-size: 14px;width: 100%;margin: 0;margin-top: 14px;color: #000 !important;margin-top: 5px;opacity: 1 !important;line-height: 17px;"> <a href="https://www.cybrosys.com/hire-odoo-developer/" target="_blank" style="list-style: none; color:#000; text-decoration: none; font-family: 'Montserrat',sans-serif;"> Hire Odoo Developers</a> </h3> |
|||
</a> </div> |
|||
<!-- </div> --> |
|||
</div> |
|||
</section> |
|||
<section class="row" style="padding: 2rem 3rem 1rem;margin:0px"> |
|||
<div class="row" style="margin: 0"> |
|||
<h2 style="font-weight: 600;margin-bottom: 20px;text-align: center;width: 100%;">Our Industries</h2> |
|||
<hr style="margin-top: 0px;margin-bottom: 2%;border: 0;text-align: center;border-top: 3px solid #d21c22;width: 5%;"> |
|||
<!-- <div style="display:flex;justify-content: space-between;flex-wrap:wrap;"> --> |
|||
<div class="row" style="width: 100%"> |
|||
<div class="col-md-4 col-sm-6 col-xs-12" style=" margin-bottom: 10px; "> |
|||
<div > |
|||
<div style="width:75px;height:75px;background:#CE2D48; border-radius:100%;float: left;text-align: left;"> <a href="https://www.cybrosys.com/odoo/industries/best-trading-erp/" target="_blank"> <img src="https://www.cybrosys.com/images/odoo-index-industry-1.png" alt="Odoo Industry" style=" border-radius: 100%;width:100%;"/> </a> </div> |
|||
</div> |
|||
<div style="width:70%;float:left;"> |
|||
<h3 class="oe_slogan" style=" text-align: left;font-size: 14px;font-weight:800;width: auto;margin: 0;margin-top: 14px;color: #000 !important;margin-top: 5px;opacity: 1 !important;line-height: 17px;float: left;margin-top: 4px;margin-left: 16px;"> <a href="https://www.cybrosys.com/odoo/industries/best-trading-erp/" target="_blank" style="list-style: none; color:#000; text-decoration: none;font-family: 'Montserrat',sans-serif;"> Trading </a> </h3> |
|||
<h3 class="oe_slogan" style=" text-align: left;font-size: 12px;width: auto;margin: 0;margin-top:5px;color: #000 !important;margin-top: 5px;opacity: 1 !important;line-height: 17px;float: left;margin-top: 5px;margin-left: 16px; font-family: 'Montserrat',sans-serif;"> Easily procure and sell your products. </h3> |
|||
</div> |
|||
</div> |
|||
<div class="col-md-4 col-sm-6 col-xs-12" style=" margin-bottom: 10px; "> |
|||
<div > |
|||
<div style="width:75px;height:75px;background:#CE2D48; border-radius:100%;float: left;text-align: left;"> <a href="https://www.cybrosys.com/odoo/industries/manufacturing-erp-software/" target="_blank"> <img src="https://www.cybrosys.com/images/odoo-index-industry-2.png" alt="Odoo Industry" style=" border-radius: 100%;width:100%;"/> </a> </div> |
|||
</div> |
|||
<div style="width:70%;float:left;" style=" margin-bottom: 10px; "> |
|||
<h3 class="oe_slogan" style=" text-align: left;font-size: 14px;font-weight:800;width: auto;margin: 0;margin-top: 14px;color: #000 !important;margin-top: 5px;opacity: 1 !important;line-height: 17px;float: left;margin-top: 4px;margin-left: 16px;"> <a href="https://www.cybrosys.com/odoo/industries/manufacturing-erp-software/" target="_blank" style="list-style: none; color:#000; text-decoration: none;font-family: 'Montserrat',sans-serif;"> Manufacturing</a> </h3> |
|||
<h3 class="oe_slogan" style=" text-align: left;font-size: 12px;width: auto;margin: 0;margin-top:5px;color: #000 !important;margin-top: 5px;opacity: 1 !important;line-height: 17px;float: left;margin-top: 5px;margin-left: 16px;font-family: 'Montserrat',sans-serif;"> Plan, track and schedule your operations. </h3> |
|||
</div> |
|||
</div> |
|||
<div class="col-md-4 col-sm-6 col-xs-12" style=" margin-bottom: 10px; "> |
|||
<div > |
|||
<div style="width:75px;height:75px;background:#CE2D48; border-radius:100%;float: left;text-align: left;"> <a href="https://www.cybrosys.com/odoo/industries/restaurant-management/" target="_blank"> <img src="https://www.cybrosys.com/images/odoo-index-industry-3.png" alt="Odoo Industry" style=" border-radius: 100%;width:100%;"/> </a> </div> |
|||
</div> |
|||
<div style="width:70%;float:left;"> |
|||
<h3 class="oe_slogan" style=" text-align: left;font-size: 14px;font-weight:800;width: auto;margin: 0;margin-top: 14px;color: #000 !important;margin-top: 5px;opacity: 1 !important;line-height: 17px;float: left;margin-top: 4px;margin-left: 16px;"> <a href="https://www.cybrosys.com/odoo/industries/restaurant-management/" target="_blank" style="list-style: none; color:#000; text-decoration: none;font-family: 'Montserrat',sans-serif;"> Restaurant</a> </h3> |
|||
<h3 class="oe_slogan" style=" text-align: left;font-size: 12px;width: auto;margin: 0;margin-top:5px;color: #000 !important;margin-top: 5px;opacity: 1 !important;line-height: 17px;float: left;margin-top: 5px;margin-left: 16px;font-family: 'Montserrat',sans-serif;"> Run your bar or restaurant methodical. </h3> |
|||
</div> |
|||
</div> |
|||
<div class="col-md-4 col-sm-6 col-xs-12" style=" margin-bottom: 10px; "> |
|||
<div > |
|||
<div style="width:75px;height:75px;background:#CE2D48; border-radius:100%;float: left;text-align: left;"> <a href="https://www.cybrosys.com/odoo/industries/pos/" target="_blank"> <img src="https://www.cybrosys.com/images/odoo-index-industry-4.png" alt="Odoo Industry" style=" border-radius: 100%;width:100%;"/> </a> </div> |
|||
</div> |
|||
<div style="width:70%;float:left;"> |
|||
<h3 class="oe_slogan" style=" text-align: left;font-size: 14px;font-weight:800;width: auto;margin: 0;margin-top: 14px;color: #000 !important;margin-top: 5px;opacity: 1 !important;line-height: 17px;float: left;margin-top: 4px;margin-left: 16px;"> <a href="https://www.cybrosys.com/odoo/industries/pos/" target="_blank" style="list-style: none; color:#000; text-decoration: none;font-family: 'Montserrat',sans-serif;"> POS</a> </h3> |
|||
<h3 class="oe_slogan" style=" text-align: left;font-size: 12px;width: auto;margin: 0;margin-top:5px;color: #000 !important;margin-top: 5px;opacity: 1 !important;line-height: 17px;float: left;margin-top: 5px;margin-left: 16px;font-family: 'Montserrat',sans-serif;"> Easy configuring and convivial selling. </h3> |
|||
</div> |
|||
</div> |
|||
<div class="col-md-4 col-sm-6 col-xs-12" style=" margin-bottom: 10px; "> |
|||
<div > |
|||
<div style="width:75px;height:75px;background:#CE2D48; border-radius:100%;float: left;text-align: left;"> <a href="https://www.cybrosys.com/odoo/industries/ecommerce-website/" target="_blank"> <img src="https://www.cybrosys.com/images/odoo-index-industry-5.png" alt="Odoo Industry" style=" border-radius: 100%;width:100%;"/> </a> </div> |
|||
</div> |
|||
<div style="width:70%;float:left;"> |
|||
<h3 class="oe_slogan" style=" text-align: left;font-size: 14px;font-weight:800;width: auto;margin: 0;margin-top: 14px;color: #000 !important;margin-top: 5px;opacity: 1 !important;line-height: 17px;float: left;margin-top: 0px;margin-left: 16px;"> <a href="https://www.cybrosys.com/odoo/industries/ecommerce-website/" target="_blank" style="list-style: none; color:#000; text-decoration: none; font-family: 'Montserrat',sans-serif;"> E-commerce & Website</a> </h3> |
|||
<h3 class="oe_slogan" style=" text-align: left;font-size: 12px;width: auto;margin: 0;margin-top:5px;color: #000 !important;margin-top: 5px;opacity: 1 !important;line-height: 17px;float: left;margin-top: 5px;margin-left: 16px; font-family: 'Montserrat',sans-serif;"> Mobile friendly, awe-inspiring product pages. </h3> |
|||
</div> |
|||
</div> |
|||
<div class="col-md-4 col-sm-6 col-xs-12" style=" margin-bottom: 10px; "> |
|||
<div > |
|||
<div style="width:75px;height:75px;background:#CE2D48; border-radius:100%;float: left;text-align: left;"> <a href="https://www.cybrosys.com/odoo/industries/hotel-management-erp/" target="_blank"> <img src="https://www.cybrosys.com/images/odoo-index-industry-6.png" alt="Odoo Industry" style=" border-radius: 100%;width:100%;"/> </a> </div> |
|||
</div> |
|||
<div style="width:70%;float:left;"> |
|||
<h3 class="oe_slogan" style=" text-align: left;font-size: 14px;font-weight:800;width: auto;margin: 0;margin-top: 14px;color: #000 !important;margin-top: 5px;opacity: 1 !important;line-height: 17px;float: left;margin-top: 4px;margin-left: 16px;"> <a href="https://www.cybrosys.com/odoo/industries/hotel-management-erp/" target="_blank" style="list-style: none; color:#000; text-decoration: none; font-family: 'Montserrat',sans-serif;"> Hotel Management</a> </h3> |
|||
<h3 class="oe_slogan" style=" text-align: left;font-size: 12px;width: auto;margin: 0;margin-top:5px;color: #000 !important;margin-top: 5px;opacity: 1 !important;line-height: 17px;float: left;margin-top: 5px;margin-left: 16px; font-family: 'Montserrat',sans-serif;"> An all-inclusive hotel management application. </h3> |
|||
</div> |
|||
</div> |
|||
<div class="col-md-4 col-sm-6 col-xs-12" style=" margin-bottom: 10px; "> |
|||
<div > |
|||
<div style="width:75px;height:75px;background:#CE2D48; border-radius:100%;float: left;text-align: left;"> <a href="https://www.cybrosys.com/odoo/industries/education-erp-software/" target="_blank"> <img src="https://www.cybrosys.com/images/odoo-index-industry-7.png" alt="Odoo Industry" style=" border-radius: 100%;width:100%;"/> </a> </div> |
|||
</div> |
|||
<div style="width:70%;float:left;"> |
|||
<h3 class="oe_slogan" style=" text-align: left;font-size: 14px;font-weight:800;width: auto;margin: 0;margin-top: 14px;color: #000 !important;margin-top: 5px;opacity: 1 !important;line-height: 17px;float: left;margin-top: 4px;margin-left: 16px;"> <a href="https://www.cybrosys.com/odoo/industries/education-erp-software/" target="_blank" style="list-style: none; color:#000; text-decoration: none; font-family: 'Montserrat',sans-serif;"> Education</a> </h3> |
|||
<h3 class="oe_slogan" style=" text-align: left;font-size: 12px;width: auto;margin: 0;margin-top:5px;color: #000 !important;margin-top: 5px;opacity: 1 !important;line-height: 17px;float: left;margin-top: 5px;margin-left: 16px; font-family: 'Montserrat',sans-serif;"> A Collaborative platform for educational management. </h3> |
|||
</div> |
|||
</div> |
|||
<div class="col-md-4 col-sm-6 col-xs-12" style=" margin-bottom: 10px; "> |
|||
<div > |
|||
<div style="width:75px;height:75px;background:#CE2D48; border-radius:100%;float: left;text-align: left;"> <a href="https://www.cybrosys.com/odoo/industries/service-management/" target="_blank"> <img src="https://www.cybrosys.com/images/odoo-index-industry-8.png" alt="Odoo Industry" style=" border-radius: 100%;width:100%;"/> </a> </div> |
|||
</div> |
|||
<div style="width:70%;float:left;"> |
|||
<h3 class="oe_slogan" style=" text-align: left;font-size: 14px;font-weight:800;width: auto;margin: 0;margin-top: 14px;color: #000 !important;margin-top: 5px;opacity: 1 !important;line-height: 17px;float: left;margin-top: 4px;margin-left: 16px;"> <a href="https://www.cybrosys.com/odoo/industries/service-management/" target="_blank" style="list-style: none; color:#000; text-decoration: none; font-family: 'Montserrat',sans-serif;"> Service Management</a> </h3> |
|||
<h3 class="oe_slogan" style=" text-align: left;font-size: 12px;width: auto;margin: 0;margin-top:5px;color: #000 !important;margin-top: 5px;opacity: 1 !important;line-height: 17px;float: left;margin-top: 5px;margin-left: 16px; font-family: 'Montserrat',sans-serif;"> Keep track of services and invoice accordingly. </h3> |
|||
</div> |
|||
</div> |
|||
</div> |
|||
</div> |
|||
</div> |
|||
</section> |
|||
|
|||
|
|||
|
|||
<section class="oe_container" style="padding: 0% 0% 6% 0%;"> |
|||
<center> |
|||
<div class="col-md-12" style="margin: auto !important; |
|||
width: 70%; |
|||
padding: 30px;"> |
|||
<h2 style="font-weight: 600;text-align: center;width: 100%;">Need Any Help?</h2> |
|||
<hr style="margin-top: 0px;margin-bottom: 2%;border: 0;text-align: center;border-top: 3px solid #d21c22;width: 5%;"> |
|||
|
|||
<h4 style="font-size:16px;"> If you have anything to share with us based on your use of this module, please let us know. We are ready to offer our support. </h4> |
|||
<div class="col-md-6" style="float:left; padding:20px;"> |
|||
<h4><i class="fa fa-envelope"></i>Email us </h4> |
|||
<p>odoo@cybrosys.com / info@cybrosys.com</p> |
|||
|
|||
</div> |
|||
<div class="col-md-6" style="float:left; padding:20px;"> |
|||
<h4><i class="fa fa-phone"></i> Contact Us </h4> |
|||
<a href="https://www.cybrosys.com/contact/" target="_blank"> www.cybrosys.com</a> |
|||
</div> |
|||
</div> |
|||
|
|||
</center> |
|||
</section> |
|||
|
|||
|
|||
<section class="oe_container" style="padding: 0% 0% 6% 0%;"> |
|||
<div class="oe_slogan" style="margin-bottom: 0px;"> |
|||
<div style=" display: flex; justify-content: center; flex-wrap: wrap; "> |
|||
|
|||
|
|||
|
|||
|
|||
</div> |
|||
<br> |
|||
<img src="https://www.cybrosys.com/images/logo.png" style="width: 190px; margin-bottom: 25px;margin-top: 30px;" class="center-block"> |
|||
<div style=" display: flex; justify-content: center; flex-wrap: wrap; "> <a href="https://twitter.com/cybrosys" target="_blank"><i class="fa fa-2x fa-twitter" style="color:white;background: #00a0d1;width:35px;height: 35px;padding-top: 7px;font-size: 21px;margin-right: 6px;border-radius: 100%;"></i></a> |
|||
</td> |
|||
<a href="https://www.linkedin.com/company/cybrosys-technologies-pvt-ltd" target="_blank"><i class="fa fa-2x fa-linkedin" style="color:white;background: #31a3d6;width:35px;height: 35px;padding-top: 7px;font-size: 21px;margin-right: 6px;border-radius: 100%;"></i></a> |
|||
</td> |
|||
<a href="https://www.facebook.com/cybrosystechnologies" target="_blank"><i class="fa fa-2x fa-facebook" style="color:white;background: #3b5998;width:35px; height: 35px;padding-top: 7px;font-size: 21px;margin-right: 6px;border-radius: 100%;"></i></a> |
|||
</td> |
|||
|
|||
<a href="https://in.pinterest.com/cybrosys" target="_blank"><i class="fa fa-2x fa-pinterest" style="color:white;background: #ac0f18;width:35px;height: 35px;padding-top: 7px;font-size: 21px;margin-right: 6px;border-radius: 100%;"></i></a> |
|||
</td> |
|||
</div> |
|||
</div> |
|||
</section> |
|||
</div> |
|||
|
@ -0,0 +1,13 @@ |
|||
<?xml version="1.0" encoding="utf-8"?> |
|||
<odoo> |
|||
<data> |
|||
<report |
|||
id="action_print_receipt" |
|||
string="Receipts" |
|||
model="account.move" |
|||
report_type="qweb-pdf" |
|||
name="print_voucher_receipts.print_voucher_receipt" |
|||
file="print_voucher_receipts.print_voucher_receipt" |
|||
/> |
|||
</data> |
|||
</odoo> |
@ -0,0 +1,189 @@ |
|||
<?xml version="1.0" encoding="utf-8"?> |
|||
<odoo> |
|||
<template id="print_voucher_receipt"> |
|||
<t t-call="web.html_container"> |
|||
<t t-call="web.external_layout"> |
|||
<div class="page"> |
|||
<div align="right"> |
|||
<t t-set="address"> |
|||
<address t-field="data.partner_id" |
|||
t-options='{"widget": "contact", "fields": ["address", "name"], "no_marker": True}'/> |
|||
<div t-if="data.partner_id.vat" class="mt16"> |
|||
<t t-esc="data.company_id.country_id.vat_label or 'Tax ID'"/>: |
|||
<span t-field="data.partner_id.vat"/> |
|||
</div> |
|||
</t> |
|||
</div> |
|||
<br/> |
|||
<h3 t-if="data.type == 'out_receipt' and data.state == 'posted'">Sales Receipt |
|||
<span t-field="data.name"/> |
|||
</h3> |
|||
<h3 t-if="data.type == 'out_receipt'and data.state == 'draft'">Draft Sales Receipt |
|||
<span t-field="data.name"/> |
|||
</h3> |
|||
<h3 t-if="data.type == 'in_receipt' and data.state == 'posted'">Purchase Receipt |
|||
<span t-field="data.name"/> |
|||
</h3> |
|||
<h3 t-if="data.type == 'in_receipt' and data.state == 'draft'">Draft Purchase Receipt |
|||
<span t-field="data.name"/> |
|||
</h3> |
|||
<br/> |
|||
<div id="informations" class="row mt32 mb32"> |
|||
<div class="col-auto mw-100 mb-2" t-if="data.ref" name="reference"> |
|||
<label t-if="data.type == 'out_receipt'"> |
|||
<b>Invoice Reference:</b> |
|||
</label> |
|||
<label t-if="data.type == 'in_receipt'"> |
|||
<b>Bill Reference:</b> |
|||
</label> |
|||
<p class="m-0" t-field="data.ref"/> |
|||
</div> |
|||
|
|||
<div class="col-auto mw-100 mb-2" t-if="data.invoice_date" name="date"> |
|||
<label t-if="data.type == 'out_receipt'"> |
|||
<b>Invoice Date:</b> |
|||
</label> |
|||
<label t-if="data.type == 'in_receipt'"> |
|||
<b>Bill Date:</b> |
|||
</label> |
|||
<p class="m-0" t-field="data.invoice_date"/> |
|||
</div> |
|||
|
|||
<div class="col-auto mw-100 mb-2" t-if="data.date and data.type == 'in_receipt'" name="date"> |
|||
<label t-if="data.type == 'out_receipt'"> |
|||
<b>Accounting Date:</b> |
|||
</label> |
|||
<label t-if="data.type == 'in_receipt'"> |
|||
<b>Accounting Date:</b> |
|||
</label> |
|||
<p class="m-0" t-field="data.date"/> |
|||
</div> |
|||
|
|||
<div class="col-auto mw-100 mb-2" t-if="data.invoice_date_due" name="invoice_date_due"> |
|||
<label t-if="data.type == 'out_receipt'"> |
|||
<b>Due Date:</b> |
|||
</label> |
|||
<label t-if="data.type == 'in_receipt'"> |
|||
<b>Due Date:</b> |
|||
</label> |
|||
<p class="m-0" t-field="data.invoice_date_due"/> |
|||
</div> |
|||
</div> |
|||
|
|||
<table border="2" class="table" cellpadding="10"> |
|||
<t t-set="current_subtotal" t-value="0"/> |
|||
<tbody> |
|||
<tr> |
|||
<th>Product</th> |
|||
<th>Label</th> |
|||
<th>Quantity</th> |
|||
<th>Unit Price</th> |
|||
<th>Tax</th> |
|||
<th>Amount</th> |
|||
</tr> |
|||
<t t-foreach="data.invoice_line_ids" t-as="t"> |
|||
<t t-set="current_subtotal" t-value="current_subtotal + t.price_subtotal" |
|||
groups="account.group_show_line_subtotals_tax_excluded"/> |
|||
<t t-set="current_subtotal" t-value="current_subtotal + t.price_subtotal" |
|||
groups="account.group_show_line_subtotals_tax_included"/> |
|||
<tr> |
|||
<td> |
|||
<t t-esc="t.product_id.name"/> |
|||
</td> |
|||
<td> |
|||
<t t-esc="t.name"/> |
|||
</td> |
|||
<td> |
|||
<t t-esc="t.quantity"/> |
|||
</td> |
|||
<td> |
|||
<t t-esc="t.price_unit"/> |
|||
</td> |
|||
<td> |
|||
<t t-esc="t.tax_ids.name"/> |
|||
</td> |
|||
<td> |
|||
<t t-esc="t.price_subtotal"/> |
|||
</td> |
|||
</tr> |
|||
|
|||
</t> |
|||
</tbody> |
|||
</table> |
|||
<div class="clearfix"> |
|||
<div id="total" class="row"> |
|||
<div t-attf-class="#{'col-4' if report_type != 'html' else 'col-sm-7 col-md-5'} ml-auto"> |
|||
<table class="table table-sm;page-break-inside: avoid;"> |
|||
<tr class="border-black o_subtotal" style=""> |
|||
<td> |
|||
<strong>Subtotal</strong> |
|||
</td> |
|||
<td class="text-right"> |
|||
<span t-field="data.amount_untaxed"/> |
|||
</td> |
|||
</tr> |
|||
<t t-foreach="data.amount_by_group" t-as="amount_by_group"> |
|||
<tr style=""> |
|||
<t t-if="len(data.line_ids.filtered(lambda line: line.tax_line_id)) == 1 and data.amount_untaxed == amount_by_group[2]"> |
|||
<td> |
|||
<span t-esc="amount_by_group[0]"/> |
|||
</td> |
|||
<td class="text-right o_price_total"> |
|||
<span t-esc="amount_by_group[3]"/> |
|||
</td> |
|||
</t> |
|||
<t t-else=""> |
|||
<td> |
|||
<span t-esc="amount_by_group[0]"/> |
|||
<span>&nbsp; |
|||
<span>on</span> |
|||
<t t-esc="amount_by_group[4]"/> |
|||
</span> |
|||
</td> |
|||
<td class="text-right o_price_total"> |
|||
<span t-esc="amount_by_group[3]"/> |
|||
</td> |
|||
</t> |
|||
</tr> |
|||
</t> |
|||
<tr class="border-black o_total"> |
|||
<td> |
|||
<strong>Total</strong> |
|||
</td> |
|||
<td class="text-right"> |
|||
<span t-field="data.amount_total"/> |
|||
</td> |
|||
</tr> |
|||
<tr class="border-black"> |
|||
<td> |
|||
<strong>Amount Due</strong> |
|||
</td> |
|||
<td class="text-right"> |
|||
<span t-field="data.amount_residual"/> |
|||
</td> |
|||
</tr> |
|||
</table> |
|||
</div> |
|||
</div> |
|||
</div> |
|||
|
|||
<p t-if="data.name"> |
|||
Please use the following communication for your payment : |
|||
<b> |
|||
<span t-field="data.name"/> |
|||
</b> |
|||
</p> |
|||
<p id="total_in_words" class="mb16"> |
|||
<strong>Total (In Words):</strong> |
|||
<span t-field="data.amount_total_words"/> |
|||
</p> |
|||
|
|||
<p t-if="data.invoice_payment_term_id" name="invoice_payment_term_id"> |
|||
Payment terms: |
|||
<span t-field="data.invoice_payment_term_id"/> |
|||
</p> |
|||
</div> |
|||
</t> |
|||
</t> |
|||
</template> |
|||
</odoo> |
@ -0,0 +1,32 @@ |
|||
Product Brand in eCommerce |
|||
========================== |
|||
|
|||
Installation |
|||
============ |
|||
- www.odoo.com/documentation/14.0/setup/install.html |
|||
- Install our custom addon |
|||
|
|||
License |
|||
======= |
|||
GNU AFFERO GENERAL PUBLIC LICENSE, Version 3 (AGPLv3) |
|||
(http://www.gnu.org/licenses/agpl.html) |
|||
|
|||
Bug Tracker |
|||
=========== |
|||
Bugs are tracked on GitHub Issues. In case of trouble, please check there if your issue has already been reported. |
|||
|
|||
Credits |
|||
======= |
|||
* Cybrosys Techno Solutions <https://www.cybrosys.com> |
|||
|
|||
|
|||
Developer: Afras Habis - odoo@cybrosys.com |
|||
V14 Muhammed Nafih - odoo@cybrosys.com |
|||
|
|||
Maintainer |
|||
---------- |
|||
|
|||
This module is maintained by Cybrosys Technologies. |
|||
|
|||
For support and more information, please visit https://www.cybrosys.com. |
|||
|
@ -0,0 +1,22 @@ |
|||
# -*- coding: utf-8 -*- |
|||
################################################################################### |
|||
# |
|||
# Cybrosys Technologies Pvt. Ltd. |
|||
# Copyright (C) 2019-TODAY Cybrosys Technologies(<https://www.cybrosys.com>). |
|||
# |
|||
# This program is free software: you can modify |
|||
# it under the terms of the GNU Affero General Public License (AGPL) as |
|||
# published by the Free Software Foundation, either version 3 of the |
|||
# License, or (at your option) any later version. |
|||
# |
|||
# 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 Affero General Public License for more details. |
|||
# |
|||
# You should have received a copy of the GNU Affero General Public License |
|||
# along with this program. If not, see <https://www.gnu.org/licenses/>. |
|||
# |
|||
################################################################################### |
|||
|
|||
from . import controllers |
@ -0,0 +1,42 @@ |
|||
# -*- coding: utf-8 -*- |
|||
################################################################################### |
|||
# |
|||
# Cybrosys Technologies Pvt. Ltd. |
|||
# Copyright (C) 2020-TODAY Cybrosys Technologies(<https://www.cybrosys.com>). |
|||
# |
|||
# This program is free software: you can modify |
|||
# it under the terms of the GNU Affero General Public License (AGPL) as |
|||
# published by the Free Software Foundation, either version 3 of the |
|||
# License, or (at your option) any later version. |
|||
# |
|||
# 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 Affero General Public License for more details. |
|||
# |
|||
# You should have received a copy of the GNU Affero General Public License |
|||
# along with this program. If not, see <https://www.gnu.org/licenses/>. |
|||
# |
|||
################################################################################### |
|||
|
|||
{ |
|||
'name': 'Product Brand in eCommerce', |
|||
'version': '14.0.1.0.0', |
|||
'category': 'eCommerce', |
|||
'summary': 'Product Brand in eCommerce', |
|||
'description': 'Product Brand in eCommerce', |
|||
'author': 'Cybrosys Techno Solutions', |
|||
'company': 'Cybrosys Techno Solutions', |
|||
'maintainer': 'Cybrosys Techno Solutions', |
|||
'images': ['static/description/banner.png'], |
|||
'website': 'https://www.cybrosys.com', |
|||
'depends': ['product_brand_sale','website_sale'], |
|||
'data': [ |
|||
'views/template.xml', |
|||
], |
|||
'license': 'AGPL-3', |
|||
'installable': True, |
|||
'auto_install': False, |
|||
'application': False, |
|||
|
|||
} |
@ -0,0 +1,22 @@ |
|||
# -*- coding: utf-8 -*- |
|||
################################################################################### |
|||
# |
|||
# Cybrosys Technologies Pvt. Ltd. |
|||
# Copyright (C) 2019-TODAY Cybrosys Technologies(<https://www.cybrosys.com>). |
|||
# |
|||
# This program is free software: you can modify |
|||
# it under the terms of the GNU Affero General Public License (AGPL) as |
|||
# published by the Free Software Foundation, either version 3 of the |
|||
# License, or (at your option) any later version. |
|||
# |
|||
# 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 Affero General Public License for more details. |
|||
# |
|||
# You should have received a copy of the GNU Affero General Public License |
|||
# along with this program. If not, see <https://www.gnu.org/licenses/>. |
|||
# |
|||
################################################################################### |
|||
|
|||
from . import main |
@ -0,0 +1,251 @@ |
|||
# -*- coding: utf-8 -*- |
|||
################################################################################### |
|||
# |
|||
# Cybrosys Technologies Pvt. Ltd. |
|||
# Copyright (C) 2019-TODAY Cybrosys Technologies(<https://www.cybrosys.com>). |
|||
# |
|||
# This program is free software: you can modify |
|||
# it under the terms of the GNU Affero General Public License (AGPL) as |
|||
# published by the Free Software Foundation, either version 3 of the |
|||
# License, or (at your option) any later version. |
|||
# |
|||
# 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 Affero General Public License for more details. |
|||
# |
|||
# You should have received a copy of the GNU Affero General Public License |
|||
# along with this program. If not, see <https://www.gnu.org/licenses/>. |
|||
# |
|||
################################################################################### |
|||
|
|||
import json |
|||
import logging |
|||
from datetime import datetime |
|||
from werkzeug.exceptions import Forbidden, NotFound |
|||
|
|||
from odoo import fields, http, tools, _ |
|||
from odoo.http import request |
|||
from odoo.addons.base.models.ir_qweb_fields import nl2br |
|||
from odoo.addons.http_routing.models.ir_http import slug |
|||
from odoo.addons.payment.controllers.portal import PaymentProcessing |
|||
from odoo.addons.website.controllers.main import QueryURL |
|||
from odoo.addons.website.models.ir_http import sitemap_qs2dom |
|||
from odoo.exceptions import ValidationError |
|||
from odoo.addons.website.controllers.main import Website |
|||
from odoo.addons.website_sale.controllers.main import WebsiteSale |
|||
from odoo.osv import expression |
|||
|
|||
_logger = logging.getLogger(__name__) |
|||
|
|||
|
|||
class TableCompute(object): |
|||
|
|||
def __init__(self): |
|||
self.table = {} |
|||
|
|||
def _check_place(self, posx, posy, sizex, sizey, ppr): |
|||
res = True |
|||
for y in range(sizey): |
|||
for x in range(sizex): |
|||
if posx + x >= ppr: |
|||
res = False |
|||
break |
|||
row = self.table.setdefault(posy + y, {}) |
|||
if row.setdefault(posx + x) is not None: |
|||
res = False |
|||
break |
|||
for x in range(ppr): |
|||
self.table[posy + y].setdefault(x, None) |
|||
return res |
|||
|
|||
def process(self, products, ppg=20, ppr=4): |
|||
# Compute products positions on the grid |
|||
minpos = 0 |
|||
index = 0 |
|||
maxy = 0 |
|||
x = 0 |
|||
for p in products: |
|||
x = min(max(p.website_size_x, 1), ppr) |
|||
y = min(max(p.website_size_y, 1), ppr) |
|||
if index >= ppg: |
|||
x = y = 1 |
|||
|
|||
pos = minpos |
|||
while not self._check_place(pos % ppr, pos // ppr, x, y, ppr): |
|||
pos += 1 |
|||
# if 21st products (index 20) and the last line is full (ppr products in it), break |
|||
# (pos + 1.0) / ppr is the line where the product would be inserted |
|||
# maxy is the number of existing lines |
|||
# + 1.0 is because pos begins at 0, thus pos 20 is actually the 21st block |
|||
# and to force python to not round the division operation |
|||
if index >= ppg and ((pos + 1.0) // ppr) > maxy: |
|||
break |
|||
|
|||
if x == 1 and y == 1: # simple heuristic for CPU optimization |
|||
minpos = pos // ppr |
|||
|
|||
for y2 in range(y): |
|||
for x2 in range(x): |
|||
self.table[(pos // ppr) + y2][(pos % ppr) + x2] = False |
|||
self.table[pos // ppr][pos % ppr] = { |
|||
'product': p, 'x': x, 'y': y, |
|||
'ribbon': p.website_ribbon_id, |
|||
} |
|||
if index <= ppg: |
|||
maxy = max(maxy, y + (pos // ppr)) |
|||
index += 1 |
|||
|
|||
# Format table according to HTML needs |
|||
rows = sorted(self.table.items()) |
|||
rows = [r[1] for r in rows] |
|||
for col in range(len(rows)): |
|||
cols = sorted(rows[col].items()) |
|||
x += len(cols) |
|||
rows[col] = [r[1] for r in cols if r[1]] |
|||
|
|||
return rows |
|||
|
|||
|
|||
class WebsiteSales(WebsiteSale): |
|||
@http.route([ |
|||
'''/shop''', |
|||
'''/shop/page/<int:page>''', |
|||
'''/shop/category/<model("product.public.category"):category>''', |
|||
'''/shop/category/<model("product.public.category"):categorys>/page/<int:page>''', |
|||
'''/shop/brand/<model("product.brand"):brand>''', |
|||
], type='http', auth="public", website=True) |
|||
def shop(self, page=0, category=None, search='', ppg=False, brand=None, **post): |
|||
add_qty = int(post.get('add_qty', 1)) |
|||
compute_brand = brand |
|||
Category = request.env['product.public.category'] |
|||
if category: |
|||
category = Category.search([('id', '=', int(category))], limit=1) |
|||
if not category or not category.can_access_from_current_website(): |
|||
raise NotFound() |
|||
else: |
|||
category = Category |
|||
|
|||
Brand = request.env['product.brand'] |
|||
if not brand: |
|||
brand = Brand |
|||
|
|||
if ppg: |
|||
try: |
|||
ppg = int(ppg) |
|||
post['ppg'] = ppg |
|||
except ValueError: |
|||
ppg = False |
|||
if not ppg: |
|||
ppg = request.env['website'].get_current_website().shop_ppg or 20 |
|||
|
|||
ppr = request.env['website'].get_current_website().shop_ppr or 4 |
|||
|
|||
attrib_list = request.httprequest.args.getlist('attrib') |
|||
attrib_values = [[int(x) for x in v.split("-")] for v in attrib_list if v] |
|||
attributes_ids = {v[0] for v in attrib_values} |
|||
attrib_set = {v[1] for v in attrib_values} |
|||
|
|||
domain = self._get_search_domain(search, category, attrib_values) |
|||
|
|||
keep = QueryURL('/shop', category=category and int(category), search=search, attrib=attrib_list, |
|||
order=post.get('order')) |
|||
|
|||
pricelist_context, pricelist = self._get_pricelist_context() |
|||
|
|||
request.context = dict(request.context, pricelist=pricelist.id, partner=request.env.user.partner_id) |
|||
|
|||
url = "/shop" |
|||
if search: |
|||
post["search"] = search |
|||
if attrib_list: |
|||
post['attrib'] = attrib_list |
|||
|
|||
Product = request.env['product.template'].with_context(bin_size=True) |
|||
|
|||
search_product = Product.search(domain) |
|||
website_domain = request.website.website_domain() |
|||
categs_domain = [('parent_id', '=', False)] + website_domain |
|||
if search: |
|||
search_categories = Category.search( |
|||
[('product_tmpl_ids', 'in', search_product.ids)] + website_domain).parents_and_self |
|||
categs_domain.append(('id', 'in', search_categories.ids)) |
|||
else: |
|||
search_categories = Category |
|||
categs = Category.search(categs_domain) |
|||
|
|||
if category: |
|||
url = "/shop/category/%s" % slug(category) |
|||
|
|||
product_count = len(search_product) |
|||
pager = request.website.pager(url=url, total=product_count, page=page, step=ppg, scope=7, url_args=post) |
|||
products = Product.search(domain, limit=ppg, offset=pager['offset'], order=self._get_search_order(post)) |
|||
print(products) |
|||
|
|||
ProductAttribute = request.env['product.attribute'] |
|||
if products: |
|||
# get all products without limit |
|||
attributes = ProductAttribute.search([('product_tmpl_ids', 'in', search_product.ids)]) |
|||
else: |
|||
attributes = ProductAttribute.browse(attributes_ids) |
|||
|
|||
layout_mode = request.session.get('website_sale_shop_layout_mode') |
|||
if not layout_mode: |
|||
if request.website.viewref('website_sale.products_list_view').active: |
|||
layout_mode = 'list' |
|||
else: |
|||
layout_mode = 'grid' |
|||
Brand = request.env['product.brand'].search([]) |
|||
if compute_brand: |
|||
products_brand = request.env['product.template'].search( |
|||
['&', ('brand_id', '=', brand.id), ('sale_ok', '=', True)]) |
|||
product_brand_count = len(products_brand) |
|||
pager_brand = request.website.pager(url=url, total=product_brand_count, page=page, step=ppg, scope=7, |
|||
url_args=post) |
|||
values = { |
|||
'search': search, |
|||
'category': category, |
|||
'brand': brand, |
|||
'attrib_values': attrib_values, |
|||
'attrib_set': attrib_set, |
|||
'pager': pager_brand, |
|||
'pricelist': pricelist, |
|||
'add_qty': add_qty, |
|||
'products': products_brand, |
|||
'search_count': product_brand_count, # common for all searchbox |
|||
'bins': TableCompute().process(products_brand, ppg, ppr), |
|||
'ppg': ppg, |
|||
'ppr': ppr, |
|||
'categories': categs, |
|||
'attributes': attributes, |
|||
'keep': keep, |
|||
'search_categories_ids': search_categories.ids, |
|||
'layout_mode': layout_mode, |
|||
'brands': Brand, |
|||
} |
|||
return request.render("website_sale.products", values) |
|||
else: |
|||
values = { |
|||
'brand': brand, |
|||
'search': search, |
|||
'category': category, |
|||
'attrib_values': attrib_values, |
|||
'attrib_set': attrib_set, |
|||
'pager': pager, |
|||
'pricelist': pricelist, |
|||
'add_qty': add_qty, |
|||
'products': products, |
|||
'search_count': product_count, # common for all searchbox |
|||
'bins': TableCompute().process(products, ppg, ppr), |
|||
'ppg': ppg, |
|||
'ppr': ppr, |
|||
'categories': categs, |
|||
'attributes': attributes, |
|||
'keep': keep, |
|||
'search_categories_ids': search_categories.ids, |
|||
'layout_mode': layout_mode, |
|||
'brands': Brand, |
|||
} |
|||
if category: |
|||
values['main_object'] = category |
|||
return request.render("website_sale.products", values) |
@ -0,0 +1,4 @@ |
|||
## Module <product_brand_ecommerce> |
|||
|
|||
#### 31.10.2020 |
|||
#### Version 14.0.1.0.0 |
After Width: | Height: | Size: 86 KiB |
After Width: | Height: | Size: 18 KiB |
After Width: | Height: | Size: 70 KiB |
After Width: | Height: | Size: 85 KiB |
After Width: | Height: | Size: 66 KiB |
After Width: | Height: | Size: 64 KiB |
After Width: | Height: | Size: 151 KiB |
After Width: | Height: | Size: 138 KiB |
After Width: | Height: | Size: 15 KiB |
After Width: | Height: | Size: 51 KiB |
After Width: | Height: | Size: 282 KiB |
After Width: | Height: | Size: 229 KiB |
After Width: | Height: | Size: 60 KiB |
@ -0,0 +1,309 @@ |
|||
<div class="row" style="margin: 0;position: relative;color: #000;background-position: center;background: #ffffff;border-bottom: 1px solid #e4e4e4;text-align: center; margin: auto; display: flex;justify-content: center;"> <a href="https://www.cybrosys.com/" target="_blank"><img src="images/cybrosys.png" style=" width: 293px; padding: 1rem 0rem; margin: auto" alt="cybrosys-logo"></a> </div> |
|||
<div class="row" style="margin:75px 0;position: relative;color: #000;background-position: center;background: #ffffff;border-bottom: 1px solid #e4e4e4; padding-bottom: 30px;"> |
|||
<div class="col-md-7 col-sm-12 col-xs-12" style="padding: 0px"> |
|||
<div style=" margin: 0 0 0px;padding: 20px 0 10;font-size: 23px;line-height: 35px;font-weight: 400;color: #000;border-top: 1px solid rgba(255,255,255,0.1);border-bottom: 1px solid rgba(255,255,255,0.11);text-align: left;"> |
|||
<h1 style="font-size: 39px;font-weight: 600;margin: 0px !important;">Product Brand in eCommerce</h1> |
|||
</div> |
|||
<h2 style="font-weight: 600;font-size: 1.8rem;margin-top: 15px;">Key Highlights</h2> |
|||
<ul style=" padding: 0 1px; list-style: none; "> |
|||
<li style="display: flex;align-items: center;padding: 8px 0;font-size: 18px;"><i class="fa fa-check-circle-o" style="width:40px; color:#07B700"></i>Easily Manage Product Brands</li> |
|||
</ul> |
|||
</div> |
|||
<!-- <div class="col-md-5 col-sm-12 col-xs-12"> <img src="images/task_timer.gif" class="img-responsive" alt=""> </div> --> |
|||
</div> |
|||
<div> |
|||
<section class="oe_container" style="padding: 1rem 0rem 1rem; background-color: #ffffff !important;"> |
|||
<div class="row py-4 px-3"> |
|||
<div class="w-100" style="padding-top:30px;padding-bottom:45px;border-radius: 10px;"> |
|||
<ul role="tablist" class="nav nav-pills justify-content-center" data-tabs="tabs" id="pills-tab" style="border: none;background: unset;"> |
|||
<li class="nav-item mr-1 mb-3" style="font-size: 1.05rem;font-weight: 400;transition: all .15s ease;color: #d31c22;background-color: #d31c22;box-shadow: 0 4px 6px rgba(50,50,93,.11), 0 1px 3px rgba(0,0,0,.08);border: 0;font-family: 'Open Sans',sans-serif;width: 140px;border-radius: 0.30rem;"> <a id="pills-home-tab" data-toggle="pill" href="#pills-home" role="tab" aria-controls="pills-home" aria-selected="true" class="nav-link active show" style="color: #000000;line-height: 33px;border: 0;border-radius: .25rem;font-weight: 400;text-align: center; |
|||
color: #fff;">Overview </a> </li> |
|||
<li class="nav-item mr-1 mb-3" style="font-size: 1.05rem;font-weight: 400;transition: all .15s ease;color: #d31c22;background-color: #d31c22;box-shadow: 0 4px 6px rgba(50,50,93,.11), 0 1px 3px rgba(0,0,0,.08);border: 0;font-family: 'Open Sans',sans-serif;width: 140px;border-radius: 0.30rem;"> <a id="pills-home-tab" data-toggle="pill" href="#pills-home1" role="tab" aria-controls="pills-home" aria-selected="true" class="nav-link " style="color: #000000;line-height: 33px;border: 0;border-radius: .25rem;font-weight: 400; text-align: center; |
|||
color: #fff;" >Features </a> </li> |
|||
<li class="nav-item mr-1 mb-3" style="font-size: 1.05rem;font-weight: 400;transition: all .15s ease;color: #ffffff;background-color: #d31c22;box-shadow: 0 4px 6px rgba(50,50,93,.11), 0 1px 3px rgba(0,0,0,.08);border: 0;font-family: 'Open Sans',sans-serif;width: 140px;border-radius: 0.30rem;"> <a class="nav-link" id="pills-profile-tab" data-toggle="pill" href="#pills-profile" role="tab" aria-controls="pills-profile" aria-selected="false" style="color: #000000;line-height: 33px;border: 0;border-radius: .25rem;font-weight: 400; text-align: center; |
|||
color: #fff;">Screenshots </a> </li> |
|||
<li class="nav-item mr-1 mb-3" style="font-size: 1.05rem;font-weight: 400;transition: all .15s ease;color: #ffffff;background-color: #d31c22;box-shadow: 0 4px 6px rgba(50,50,93,.11), 0 1px 3px rgba(0,0,0,.08);border: 0;font-family: 'Open Sans',sans-serif;width: 140px;border-radius: 0.30rem;"> <a class="nav-link" id="pills-profile-tab" data-toggle="pill" href="#pills-video" role="tab" aria-controls="pills-profile" aria-selected="false" style="color: #000000;line-height: 33px;border: 0;border-radius: .25rem;font-weight: 400; text-align: center; |
|||
color: #fff;">Video </a> </li> |
|||
</ul> |
|||
<div class="tab-content" id="pills-tabContent" |
|||
style="padding-top: 30px; padding-bottom: 30px; padding: 30px;"> |
|||
<div class="px-3 pt-1 tab-pane fade active show" id="pills-home" role="tabpanel" aria-labelledby=" |
|||
pills-home-tab"> |
|||
<!-- Overview--> |
|||
<h2 style="font-weight: 600;text-align: center;width: 100%;">Overview</h2> |
|||
<hr style="margin-top: 0px;margin-bottom: 2%;border: 0;text-align: center;border-top: 3px solid #d21c22;width: 5%;"> |
|||
<h3 class="oe_slogan" style="text-align: center;font-size: 19px;width: 100%;margin: 0;margin-top: 14px;color: #000 !important;opacity: 1 !important;line-height: 31px;font-weight: 400;letter-spacing: .5px;margin-bottom: 21px;"> |
|||
This module allows the odoo users to filter by product’s brand in eCommerce. . |
|||
</h3> |
|||
</div> |
|||
<div class="px-3 pt-1 tab-pane fade " id="pills-home1" role="tabpanel" aria-labelledby=" |
|||
pills-home-tab"> |
|||
<!-- feature tab--> |
|||
<h2 style="font-weight: 600;text-align: center;width: 100%;">Product Brand</h2> |
|||
<hr style="margin-top: 0px;margin-bottom: 2%;border: 0;text-align: center;border-top: 3px solid #d21c22;width: 5%;"> |
|||
<ul> |
|||
<p class="mb8" style="font-family: Roboto;color: #000;list-style-type: square;font-size: 19px;line-height: 50px; background-color: #3a34380d;padding-left: 20px;border-radius: 7px;list-style: none;"> |
|||
<i class="fa fa-check-circle-o" style="width:40px; color:#07B700"></i>Activate Product Brand Filter. |
|||
</p> |
|||
</ul> |
|||
<ul> |
|||
<p class="mb8" style="font-family: Roboto;color: #000;list-style-type: square;font-size: 19px;line-height: 50px; background-color: #3a34380d;padding-left: 20px;border-radius: 7px;list-style: none;"> |
|||
<i class="fa fa-check-circle-o" style="width:40px; color:#07B700"></i>Product Brand Filter in eCommerce. |
|||
</p> |
|||
</ul> |
|||
<ul> |
|||
<p class="mb8" style="font-family: Roboto;color: #000;list-style-type: square;font-size: 19px;line-height: 50px; background-color: #3a34380d;padding-left: 20px;border-radius: 7px;list-style: none;"> |
|||
<i class="fa fa-check-circle-o" style="width:40px; color:#07B700"></i>Product Brand in Pivot view. |
|||
</p> |
|||
</ul> |
|||
</div> |
|||
<!-- Screenshot tab--> |
|||
<div class="px-3 tab-pane fade" id="pills-profile" role="tabpanel" aria-labelledby="pills-profile-tab" > |
|||
<div class="tab-pane"> |
|||
<h2 style="font-weight: 600;text-align: center;width: 100%;">Screenshots</h2> |
|||
<hr style="margin-top: 0px;margin-bottom: 2%;border: 0;text-align: center;border-top: 3px solid #d21c22;width: 5%;"> |
|||
<div> |
|||
<section class="oe_container"> |
|||
<div id="demo" class="row carousel slide mb32" data-ride="carousel"> |
|||
<div class="carousel-inner"> |
|||
<div class="carousel-item active" style="min-height: 0px;"> |
|||
<div class="col-xs-12 col-sm-12 col-md-12 mb16 mt16" style="float: left;"> |
|||
<h3 class="alert" style="font-weight:400;color: #091E42;background: #fff;text-align: left;border-radius: 0; font-size: 18px;"> <i class="fa fa-check-circle-o" style="width:40px; color:#07B700"></i> Activate Product Brand Filter</h3> |
|||
<div style=""> <img class="img img-responsive center-block" style="border-top-left-radius: 10px;border-top-right-radius: 10px;" src="images/productbrand4.png"> </div> |
|||
</div> |
|||
</div> |
|||
|
|||
<div class="carousel-item" style="min-height: 0px;"> |
|||
<div class="col-xs-12 col-sm-12 col-md-12 mb16 mt16" style="float: left;"> |
|||
<h3 class="alert" style="font-weight:400;color: #091E42;background: #fff;text-align: left;border-radius: 0; font-size: 18px;"> <i class="fa fa-check-circle-o" style="width:40px; color:#07B700"></i> Product Brand Filter in eCommerce</h3> |
|||
<div style=""> <img class="img img-responsive center-block" style="border-top-left-radius: 10px;border-top-right-radius: 10px;" src="images/productbrand5.png"> </div> |
|||
</div> |
|||
</div> |
|||
|
|||
<div class="carousel-item" style="min-height: 0px;"> |
|||
<div class="col-xs-12 col-sm-12 col-md-12 mb16 mt16" style="float: left;"> |
|||
<h3 class="mb32 alert" style="font-weight:400;color: #091E42;background: #fff;text-align: left;border-radius: 0; font-size: 18px; "> <i class="fa fa-check-circle-o" style="width:40px; color:#07B700"></i> Product Brand in Pivot view</h3> |
|||
<div style=""> <img class="img img-responsive center-block" style="border-top-left-radius: 10px;border-top-right-radius: 10px;" src="images/productbrande.png"> </div> |
|||
</div> |
|||
</div> |
|||
<a class="carousel-control-prev" href="#demo" data-slide="prev" style="left:-25px;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="#demo" data-slide="next" style="right:-25px;width: 35px;color: #000;"> <span class="carousel-control-next-icon"><i class="fa fa-chevron-right" style="font-size:24px"></i></span> </a> |
|||
</div> |
|||
</section> |
|||
</div> |
|||
</div> |
|||
</div> |
|||
<div class="px-3 pt-1 tab-pane fade" id="pills-video" role="tabpanel" aria-labelledby=" |
|||
pills-home-tab"> |
|||
<!-- Video--> |
|||
<h2 style="font-weight: 600;text-align: center;width: 100%;">Video</h2> |
|||
<hr style="margin-top: 0px;margin-bottom: 2%;border: 0;text-align: center;border-top: 3px solid #d21c22;width: 5%;"> |
|||
<center> |
|||
<p>Product Brand Manager</p> |
|||
<!--<a href="https://www.youtube.com/watch?v=57QWXrMYe84&feature=youtu.be" target="_blank"> <img src="addon-youtube.png" style="width:80%;"></a>--> |
|||
<div class="s_panel_video" data-video-id="7PFB7FpMFyM?rel=0" style="cursor:pointer;"> |
|||
<img class="img-fluid s_tooltip_tabs_tooltip_image s_figure_link pb0" src="images/task_timer_youtube.png" alt="Cybrosys Cover Video" style="max-width:100%;"> |
|||
</div> |
|||
</center> |
|||
</div> |
|||
<!-- faq tab--> |
|||
<div class="px-2 px-lg-4 pt-3 tab-pane fade" id="pills-contact" role="tabpanel" aria-labelledby="pills-contact-tab"> |
|||
<ul class="list-unstyled"> |
|||
</ul> |
|||
</div> |
|||
</div> |
|||
</div> |
|||
</div> |
|||
</section> |
|||
<section class="oe_container" style="padding: 2rem 3rem 1rem;"> |
|||
<h2 style="font-weight: 600;text-align: center;margin-bottom: 25px;width: 100%;">Suggested Products</h2> |
|||
<hr style="margin-top: 0px;margin-bottom: 2%;border: 0;text-align: center;border-top: 3px solid #d21c22;width: 5%;"> |
|||
<div id="demo1" class="row carousel slide" data-ride="carousel"> |
|||
<!-- The slideshow --> |
|||
<div class="carousel-inner"> |
|||
<div class="carousel-item active" style="min-height: 0px;"> |
|||
<div class="col-xs-12 col-sm-4 col-md-4 mb16 mt16" style="float: left;"> |
|||
<a href="https://apps.odoo.com/apps/modules/13.0/sale_discount_total/" target="_blank"> |
|||
<div style="box-shadow: 0 15px 35px rgba(50, 50, 93, 0.1), 0 5px 15px rgba(0, 0, 0, 0.07);border-radius: 10px;"> <img class="img img-responsive center-block" style="border-top-left-radius: 10px;border-top-right-radius: 10px;" src="images/1.jpeg"> </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/12.0/sale_promotion/" target="_blank"> |
|||
<div style="box-shadow: 0 15px 35px rgba(50, 50, 93, 0.1), 0 5px 15px rgba(0, 0, 0, 0.07);border-radius: 10px;"> <img class="img img-responsive center-block" style="border-top-left-radius: 10px;border-top-right-radius: 10px;" src="images/2.jpeg"> </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/13.0/export_stockinfo_xls/" target="_blank"> |
|||
<div style="box-shadow: 0 15px 35px rgba(50, 50, 93, 0.1), 0 5px 15px rgba(0, 0, 0, 0.07);border-radius: 10px;"> <img class="img img-responsive center-block" style="border-top-left-radius: 10px;border-top-right-radius: 10px;" src="images/3.jpeg"> </div> |
|||
</a> |
|||
</div> |
|||
</div> |
|||
<div class="carousel-item" style="min-height: 0px;"> |
|||
<div class="col-xs-12 col-sm-4 col-md-4 mb16 mt16" style="float: left;"> |
|||
<a href="https://apps.odoo.com/apps/modules/12.0/website_sale_advanced_search/" target="_blank"> |
|||
<div style="box-shadow: 0 15px 35px rgba(50, 50, 93, 0.1), 0 5px 15px rgba(0, 0, 0, 0.07);border-radius: 10px;"> <img class="img img-responsive center-block" style="border-top-left-radius: 10px;border-top-right-radius: 10px;" src="images/4.jpeg"> </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/12.0/task_deadline_reminder/" target="_blank"> |
|||
<div style="box-shadow: 0 15px 35px rgba(50, 50, 93, 0.1), 0 5px 15px rgba(0, 0, 0, 0.07);border-radius: 10px;"> <img class="img img-responsive center-block" style="border-top-left-radius: 10px;border-top-right-radius: 10px;" src="images/5.jpeg"> </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/13.0/barcode_scanning_sale_purchase/" target="_blank"> |
|||
<div style="box-shadow: 0 15px 35px rgba(50, 50, 93, 0.1), 0 5px 15px rgba(0, 0, 0, 0.07);border-radius: 10px;"> <img class="img img-responsive center-block" style="border-top-left-radius: 10px;border-top-right-radius: 10px;" src="images/6.jpeg"> </div> |
|||
</a> |
|||
</div> |
|||
</div> |
|||
</div> |
|||
<!-- Left and right controls --> |
|||
<a class="carousel-control-prev" href="#demo1" data-slide="prev" style="left:-25px;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="right:-25px;width: 35px;color: #000;"> <span class="carousel-control-next-icon"><i class="fa fa-chevron-right" style="font-size:24px"></i></span> </a> |
|||
</div> |
|||
</section> |
|||
<section class="row" style="padding: 2rem 3rem 1rem;margin:0px"> |
|||
<h2 style="font-weight: 600;margin-bottom: 20px;text-align: center;width: 100%;">Our Service</h2> |
|||
<hr style="margin-top: 0px;margin-bottom: 2%;border: 0;text-align: center;border-top: 3px solid #d21c22;width: 5%;"> |
|||
<div class="row" style=" display: flex; justify-content: center; flex-wrap: wrap;width: 100%; "> |
|||
<!-- <div style="display:flex;padding-top: 20px;justify-content: space-between;"> --> |
|||
<div class="col-md-2 col-sm-6 col-xs-12"> |
|||
<div style="width:75px;height:75px;background:#fff; border-radius:100%;margin: auto;"> <a href="https://www.cybrosys.com/odoo-customization-and-installation/" target="_blank"> <img src="https://www.cybrosys.com/images/odoo-customization.png" style="width: 100%;border-radius: 100%;"/> </a> </div> |
|||
<h3 class="oe_slogan" style="font-weight: 800;text-align: center;font-size: 14px;width: 100%;margin: 0;margin-top: 14px;color: #000 !important;margin-top: 5px;opacity: 1 !important;line-height: 17px;"> <a href="https://www.cybrosys.com/odoo-customization-and-installation/" target="_blank" style="list-style: none; color:#000; text-decoration: none; font-family: 'Montserrat',sans-serif;"> Odoo Customization </a> </h3> |
|||
</div> |
|||
<div class="col-md-2 col-sm-6 col-xs-12"> |
|||
<div style="width:75px;height:75px;background:#fff; border-radius:100%;margin: auto;"> <a href="https://www.cybrosys.com/odoo-erp-implementation/" target="_blank"> <img src="https://www.cybrosys.com/images/odoo-erp-implementation.png" style="width: 100%;border-radius: 100%;"/> </a> </div> |
|||
<h3 class="oe_slogan" style="font-weight: 800;text-align: center;font-size: 14px;width: 100%;margin: 0;margin-top: 14px;color: #000 !important;margin-top: 5px;opacity: 1 !important;line-height: 17px;"> <a href="https://www.cybrosys.com/odoo-erp-implementation/" target="_blank" style="list-style: none; color:#000; text-decoration: none; font-family: 'Montserrat',sans-serif;"> Odoo Implementation </a> </h3> |
|||
</div> |
|||
<div class="col-md-2 col-sm-6 col-xs-12"> |
|||
<div style="width:75px;height:75px;background:#fff; border-radius:100%;margin: auto;"> <a href="https://www.cybrosys.com/odoo-erp-integration/" target="_blank"> <img src="https://www.cybrosys.com/images/odoo-erp-integration.png" style="width: 100%;border-radius: 100%;"/> </a> </div> |
|||
<h3 class="oe_slogan" style="font-weight: 800;text-align: center;font-size: 14px;width: 100%;margin: 0;margin-top: 14px;color: #000 !important;margin-top: 5px;opacity: 1 !important;line-height: 17px;"> <a href="https://www.cybrosys.com/odoo-erp-integration/" target="_blank" style="list-style: none; color:#000; text-decoration: none; font-family: 'Montserrat',sans-serif;"> Odoo Integration </a> </h3> |
|||
</div> |
|||
<div class="col-md-2 col-sm-6 col-xs-12"> |
|||
<div style="width:75px;height:75px;background:#fff; border-radius:100%;margin: auto;"> <a href="https://www.cybrosys.com/odoo-erp-support/" target="_blank"> <img src="https://www.cybrosys.com/images/odoo-erp-support.png" style="width: 100%;border-radius: 100%;"/> </a> </div> |
|||
<h3 class="oe_slogan" style="font-weight: 800;text-align: center;font-size: 14px;width: 100%;margin: 0;margin-top: 14px;color: #000 !important;margin-top: 5px;opacity: 1 !important;line-height: 17px;"> <a href="https://www.cybrosys.com/odoo-erp-support/" target="_blank" style="list-style: none; color:#000; text-decoration: none; font-family: 'Montserrat',sans-serif;"> Odoo Support</a> </h3> |
|||
</div> |
|||
<div class="col-md-2 col-sm-6 col-xs-12"> |
|||
<div style="width:75px;height:75px;background:#fff; border-radius:100%;margin: auto;"> <a href="https://www.cybrosys.com/hire-odoo-developer/" target="_blank"> <img src="https://www.cybrosys.com/images/hire-odoo-developer.png" style="width: 100%;border-radius: 100%;"/> </a> </div> |
|||
<h3 class="oe_slogan" style="font-weight: 800;text-align: center;font-size: 14px;width: 100%;margin: 0;margin-top: 14px;color: #000 !important;margin-top: 5px;opacity: 1 !important;line-height: 17px;"> <a href="https://www.cybrosys.com/hire-odoo-developer/" target="_blank" style="list-style: none; color:#000; text-decoration: none; font-family: 'Montserrat',sans-serif;"> Hire Odoo Developers</a> </h3> |
|||
</a> |
|||
</div> |
|||
<!-- </div> --> |
|||
</div> |
|||
</section> |
|||
<section class="row" style="padding: 2rem 3rem 1rem;margin:0px"> |
|||
<div class="row" style="margin: 0"> |
|||
<h2 style="font-weight: 600;margin-bottom: 20px;text-align: center;width: 100%;">Our Industries</h2> |
|||
<hr style="margin-top: 0px;margin-bottom: 2%;border: 0;text-align: center;border-top: 3px solid #d21c22;width: 5%;"> |
|||
<!-- <div style="display:flex;justify-content: space-between;flex-wrap:wrap;"> --> |
|||
<div class="row" style="width: 100%"> |
|||
<div class="col-md-4 col-sm-6 col-xs-12" style=" margin-bottom: 10px; "> |
|||
<div > |
|||
<div style="width:75px;height:75px;background:#CE2D48; border-radius:100%;float: left;text-align: left;"> <a href="https://www.cybrosys.com/odoo/industries/best-trading-erp/" target="_blank"> <img src="https://www.cybrosys.com/images/odoo-index-industry-1.png" alt="Odoo Industry" style=" border-radius: 100%;width:100%;"/> </a> </div> |
|||
</div> |
|||
<div style="width:70%;float:left;"> |
|||
<h3 class="oe_slogan" style=" text-align: left;font-size: 14px;font-weight:800;width: auto;margin: 0;margin-top: 14px;color: #000 !important;margin-top: 5px;opacity: 1 !important;line-height: 17px;float: left;margin-top: 4px;margin-left: 16px;"> <a href="https://www.cybrosys.com/odoo/industries/best-trading-erp/" target="_blank" style="list-style: none; color:#000; text-decoration: none;font-family: 'Montserrat',sans-serif;"> Trading </a> </h3> |
|||
<h3 class="oe_slogan" style=" text-align: left;font-size: 12px;width: auto;margin: 0;margin-top:5px;color: #000 !important;margin-top: 5px;opacity: 1 !important;line-height: 17px;float: left;margin-top: 5px;margin-left: 16px; font-family: 'Montserrat',sans-serif;"> Easily procure and sell your products. </h3> |
|||
</div> |
|||
</div> |
|||
<div class="col-md-4 col-sm-6 col-xs-12" style=" margin-bottom: 10px; "> |
|||
<div > |
|||
<div style="width:75px;height:75px;background:#CE2D48; border-radius:100%;float: left;text-align: left;"> <a href="https://www.cybrosys.com/odoo/industries/manufacturing-erp-software/" target="_blank"> <img src="https://www.cybrosys.com/images/odoo-index-industry-2.png" alt="Odoo Industry" style=" border-radius: 100%;width:100%;"/> </a> </div> |
|||
</div> |
|||
<div style="width:70%;float:left;" style=" margin-bottom: 10px; "> |
|||
<h3 class="oe_slogan" style=" text-align: left;font-size: 14px;font-weight:800;width: auto;margin: 0;margin-top: 14px;color: #000 !important;margin-top: 5px;opacity: 1 !important;line-height: 17px;float: left;margin-top: 4px;margin-left: 16px;"> <a href="https://www.cybrosys.com/odoo/industries/manufacturing-erp-software/" target="_blank" style="list-style: none; color:#000; text-decoration: none;font-family: 'Montserrat',sans-serif;"> Manufacturing</a> </h3> |
|||
<h3 class="oe_slogan" style=" text-align: left;font-size: 12px;width: auto;margin: 0;margin-top:5px;color: #000 !important;margin-top: 5px;opacity: 1 !important;line-height: 17px;float: left;margin-top: 5px;margin-left: 16px;font-family: 'Montserrat',sans-serif;"> Plan, track and schedule your operations. </h3> |
|||
</div> |
|||
</div> |
|||
<div class="col-md-4 col-sm-6 col-xs-12" style=" margin-bottom: 10px; "> |
|||
<div > |
|||
<div style="width:75px;height:75px;background:#CE2D48; border-radius:100%;float: left;text-align: left;"> <a href="https://www.cybrosys.com/odoo/industries/restaurant-management/" target="_blank"> <img src="https://www.cybrosys.com/images/odoo-index-industry-3.png" alt="Odoo Industry" style=" border-radius: 100%;width:100%;"/> </a> </div> |
|||
</div> |
|||
<div style="width:70%;float:left;"> |
|||
<h3 class="oe_slogan" style=" text-align: left;font-size: 14px;font-weight:800;width: auto;margin: 0;margin-top: 14px;color: #000 !important;margin-top: 5px;opacity: 1 !important;line-height: 17px;float: left;margin-top: 4px;margin-left: 16px;"> <a href="https://www.cybrosys.com/odoo/industries/restaurant-management/" target="_blank" style="list-style: none; color:#000; text-decoration: none;font-family: 'Montserrat',sans-serif;"> Restaurant</a> </h3> |
|||
<h3 class="oe_slogan" style=" text-align: left;font-size: 12px;width: auto;margin: 0;margin-top:5px;color: #000 !important;margin-top: 5px;opacity: 1 !important;line-height: 17px;float: left;margin-top: 5px;margin-left: 16px;font-family: 'Montserrat',sans-serif;"> Run your bar or restaurant methodical. </h3> |
|||
</div> |
|||
</div> |
|||
<div class="col-md-4 col-sm-6 col-xs-12" style=" margin-bottom: 10px; "> |
|||
<div > |
|||
<div style="width:75px;height:75px;background:#CE2D48; border-radius:100%;float: left;text-align: left;"> <a href="https://www.cybrosys.com/odoo/industries/pos/" target="_blank"> <img src="https://www.cybrosys.com/images/odoo-index-industry-4.png" alt="Odoo Industry" style=" border-radius: 100%;width:100%;"/> </a> </div> |
|||
</div> |
|||
<div style="width:70%;float:left;"> |
|||
<h3 class="oe_slogan" style=" text-align: left;font-size: 14px;font-weight:800;width: auto;margin: 0;margin-top: 14px;color: #000 !important;margin-top: 5px;opacity: 1 !important;line-height: 17px;float: left;margin-top: 4px;margin-left: 16px;"> <a href="https://www.cybrosys.com/odoo/industries/pos/" target="_blank" style="list-style: none; color:#000; text-decoration: none;font-family: 'Montserrat',sans-serif;"> POS</a> </h3> |
|||
<h3 class="oe_slogan" style=" text-align: left;font-size: 12px;width: auto;margin: 0;margin-top:5px;color: #000 !important;margin-top: 5px;opacity: 1 !important;line-height: 17px;float: left;margin-top: 5px;margin-left: 16px;font-family: 'Montserrat',sans-serif;"> Easy configuring and convivial selling. </h3> |
|||
</div> |
|||
</div> |
|||
<div class="col-md-4 col-sm-6 col-xs-12" style=" margin-bottom: 10px; "> |
|||
<div > |
|||
<div style="width:75px;height:75px;background:#CE2D48; border-radius:100%;float: left;text-align: left;"> <a href="https://www.cybrosys.com/odoo/industries/ecommerce-website/" target="_blank"> <img src="https://www.cybrosys.com/images/odoo-index-industry-5.png" alt="Odoo Industry" style=" border-radius: 100%;width:100%;"/> </a> </div> |
|||
</div> |
|||
<div style="width:70%;float:left;"> |
|||
<h3 class="oe_slogan" style=" text-align: left;font-size: 14px;font-weight:800;width: auto;margin: 0;margin-top: 14px;color: #000 !important;margin-top: 5px;opacity: 1 !important;line-height: 17px;float: left;margin-top: 0px;margin-left: 16px;"> <a href="https://www.cybrosys.com/odoo/industries/ecommerce-website/" target="_blank" style="list-style: none; color:#000; text-decoration: none; font-family: 'Montserrat',sans-serif;"> E-commerce & Website</a> </h3> |
|||
<h3 class="oe_slogan" style=" text-align: left;font-size: 12px;width: auto;margin: 0;margin-top:5px;color: #000 !important;margin-top: 5px;opacity: 1 !important;line-height: 17px;float: left;margin-top: 5px;margin-left: 16px; font-family: 'Montserrat',sans-serif;"> Mobile friendly, awe-inspiring product pages. </h3> |
|||
</div> |
|||
</div> |
|||
<div class="col-md-4 col-sm-6 col-xs-12" style=" margin-bottom: 10px; "> |
|||
<div > |
|||
<div style="width:75px;height:75px;background:#CE2D48; border-radius:100%;float: left;text-align: left;"> <a href="https://www.cybrosys.com/odoo/industries/hotel-management-erp/" target="_blank"> <img src="https://www.cybrosys.com/images/odoo-index-industry-6.png" alt="Odoo Industry" style=" border-radius: 100%;width:100%;"/> </a> </div> |
|||
</div> |
|||
<div style="width:70%;float:left;"> |
|||
<h3 class="oe_slogan" style=" text-align: left;font-size: 14px;font-weight:800;width: auto;margin: 0;margin-top: 14px;color: #000 !important;margin-top: 5px;opacity: 1 !important;line-height: 17px;float: left;margin-top: 4px;margin-left: 16px;"> <a href="https://www.cybrosys.com/odoo/industries/hotel-management-erp/" target="_blank" style="list-style: none; color:#000; text-decoration: none; font-family: 'Montserrat',sans-serif;"> Hotel Management</a> </h3> |
|||
<h3 class="oe_slogan" style=" text-align: left;font-size: 12px;width: auto;margin: 0;margin-top:5px;color: #000 !important;margin-top: 5px;opacity: 1 !important;line-height: 17px;float: left;margin-top: 5px;margin-left: 16px; font-family: 'Montserrat',sans-serif;"> An all-inclusive hotel management application. </h3> |
|||
</div> |
|||
</div> |
|||
<div class="col-md-4 col-sm-6 col-xs-12" style=" margin-bottom: 10px; "> |
|||
<div > |
|||
<div style="width:75px;height:75px;background:#CE2D48; border-radius:100%;float: left;text-align: left;"> <a href="https://www.cybrosys.com/odoo/industries/education-erp-software/" target="_blank"> <img src="https://www.cybrosys.com/images/odoo-index-industry-7.png" alt="Odoo Industry" style=" border-radius: 100%;width:100%;"/> </a> </div> |
|||
</div> |
|||
<div style="width:70%;float:left;"> |
|||
<h3 class="oe_slogan" style=" text-align: left;font-size: 14px;font-weight:800;width: auto;margin: 0;margin-top: 14px;color: #000 !important;margin-top: 5px;opacity: 1 !important;line-height: 17px;float: left;margin-top: 4px;margin-left: 16px;"> <a href="https://www.cybrosys.com/odoo/industries/education-erp-software/" target="_blank" style="list-style: none; color:#000; text-decoration: none; font-family: 'Montserrat',sans-serif;"> Education</a> </h3> |
|||
<h3 class="oe_slogan" style=" text-align: left;font-size: 12px;width: auto;margin: 0;margin-top:5px;color: #000 !important;margin-top: 5px;opacity: 1 !important;line-height: 17px;float: left;margin-top: 5px;margin-left: 16px; font-family: 'Montserrat',sans-serif;"> A Collaborative platform for educational management. </h3> |
|||
</div> |
|||
</div> |
|||
<div class="col-md-4 col-sm-6 col-xs-12" style=" margin-bottom: 10px; "> |
|||
<div > |
|||
<div style="width:75px;height:75px;background:#CE2D48; border-radius:100%;float: left;text-align: left;"> <a href="https://www.cybrosys.com/odoo/industries/service-management/" target="_blank"> <img src="https://www.cybrosys.com/images/odoo-index-industry-8.png" alt="Odoo Industry" style=" border-radius: 100%;width:100%;"/> </a> </div> |
|||
</div> |
|||
<div style="width:70%;float:left;"> |
|||
<h3 class="oe_slogan" style=" text-align: left;font-size: 14px;font-weight:800;width: auto;margin: 0;margin-top: 14px;color: #000 !important;margin-top: 5px;opacity: 1 !important;line-height: 17px;float: left;margin-top: 4px;margin-left: 16px;"> <a href="https://www.cybrosys.com/odoo/industries/service-management/" target="_blank" style="list-style: none; color:#000; text-decoration: none; font-family: 'Montserrat',sans-serif;"> Service Management</a> </h3> |
|||
<h3 class="oe_slogan" style=" text-align: left;font-size: 12px;width: auto;margin: 0;margin-top:5px;color: #000 !important;margin-top: 5px;opacity: 1 !important;line-height: 17px;float: left;margin-top: 5px;margin-left: 16px; font-family: 'Montserrat',sans-serif;"> Keep track of services and invoice accordingly. </h3> |
|||
</div> |
|||
</div> |
|||
</div> |
|||
</div> |
|||
</div> |
|||
</section> |
|||
<section class="oe_container" style="padding: 0% 0% 6% 0%;"> |
|||
<center> |
|||
<div class="col-md-12" style="margin: auto !important; |
|||
width: 70%; |
|||
padding: 30px;"> |
|||
<h2 style="font-weight: 600;text-align: center;width: 100%;">Need Any Help?</h2> |
|||
<hr style="margin-top: 0px;margin-bottom: 2%;border: 0;text-align: center;border-top: 3px solid #d21c22;width: 5%;"> |
|||
<h4 style="font-size:16px;"> If you have anything to share with us based on your use of this module, please let us know. We are ready to offer our support. </h4> |
|||
<div class="col-md-6" style="float:left; padding:20px;"> |
|||
<h4><i class="fa fa-envelope"></i>Email us </h4> |
|||
<p>odoo@cybrosys.com / info@cybrosys.com</p> |
|||
</div> |
|||
<div class="col-md-6" style="float:left; padding:20px;"> |
|||
<h4><i class="fa fa-phone"></i> Contact Us </h4> |
|||
<a href="https://www.cybrosys.com/contact/" target="_blank"> www.cybrosys.com</a> |
|||
</div> |
|||
</div> |
|||
</center> |
|||
</section> |
|||
<section class="oe_container" style="padding: 0% 0% 6% 0%;"> |
|||
<div class="oe_slogan" style="margin-bottom: 0px;"> |
|||
<div style=" display: flex; justify-content: center; flex-wrap: wrap; "> |
|||
</div> |
|||
<br> |
|||
<img src="https://www.cybrosys.com/images/logo.png" style="width: 190px; margin-bottom: 25px;margin-top: 30px;" class="center-block"> |
|||
<div style=" display: flex; justify-content: center; flex-wrap: wrap; "> <a href="https://twitter.com/cybrosys" target="_blank"><i class="fa fa-2x fa-twitter" style="color:white;background: #00a0d1;width:35px;height: 35px;padding-top: 7px;font-size: 21px;margin-right: 6px;border-radius: 100%;"></i></a> |
|||
</td> |
|||
<a href="https://www.linkedin.com/company/cybrosys-technologies-pvt-ltd" target="_blank"><i class="fa fa-2x fa-linkedin" style="color:white;background: #31a3d6;width:35px;height: 35px;padding-top: 7px;font-size: 21px;margin-right: 6px;border-radius: 100%;"></i></a> |
|||
</td> |
|||
<a href="https://www.facebook.com/cybrosystechnologies" target="_blank"><i class="fa fa-2x fa-facebook" style="color:white;background: #3b5998;width:35px; height: 35px;padding-top: 7px;font-size: 21px;margin-right: 6px;border-radius: 100%;"></i></a> |
|||
</td> |
|||
<a href="https://in.pinterest.com/cybrosys" target="_blank"><i class="fa fa-2x fa-pinterest" style="color:white;background: #ac0f18;width:35px;height: 35px;padding-top: 7px;font-size: 21px;margin-right: 6px;border-radius: 100%;"></i></a> |
|||
</td> |
|||
</div> |
|||
</div> |
|||
</section> |
|||
</div> |
@ -0,0 +1,31 @@ |
|||
<odoo> |
|||
<template id="brands_recursive" name="Category list"> |
|||
<li class="nav-item"> |
|||
<a t-att-href="keep('/shop/brand/' + slug(c), brand=0)" t-attf-class="nav-link #{'active' if c.id==brand.id else ''}"> |
|||
<span t-field="c.name"/> |
|||
</a> |
|||
</li> |
|||
</template> |
|||
|
|||
<template id="products_categories" inherit_id="website_sale.products" active="False" customize_show="True" name="Product Brand Filter"> |
|||
<xpath expr="//div[@id='products_grid_before']" position="before"> |
|||
<t t-set="enable_left_column" t-value="True"/> |
|||
</xpath> |
|||
<xpath expr="//div[@id='products_grid_before']" position="inside"> |
|||
<button type="button" class="btn btn-link d-lg-none" |
|||
data-target="#wsale_products_brands_collapse" data-toggle="collapse"> |
|||
Show Brands |
|||
</button> |
|||
<div class="collapse d-lg-block" id="wsale_products_brands_collapse"> |
|||
<ul class="nav nav-pills flex-column mb-2"> |
|||
<li class="nav-item"> |
|||
<a t-att-href="keep('/shop', brand=0)" t-attf-class="nav-link #{'' if brand else 'active'} o_not_editable">All Brands</a> |
|||
</li> |
|||
<t t-foreach="brands" t-as="c"> |
|||
<t t-call="product_brand_ecommerce.brands_recursive" /> |
|||
</t> |
|||
</ul> |
|||
</div> |
|||
</xpath> |
|||
</template> |
|||
</odoo> |
@ -0,0 +1,32 @@ |
|||
Product Brand in Invoicing |
|||
========================== |
|||
|
|||
Installation |
|||
============ |
|||
- www.odoo.com/documentation/14.0/setup/install.html |
|||
- Install our custom addon |
|||
|
|||
License |
|||
======= |
|||
GNU AFFERO GENERAL PUBLIC LICENSE, Version 3 (AGPLv3) |
|||
(http://www.gnu.org/licenses/agpl.html) |
|||
|
|||
Bug Tracker |
|||
=========== |
|||
Bugs are tracked on GitHub Issues. In case of trouble, please check there if your issue has already been reported. |
|||
|
|||
Credits |
|||
======= |
|||
* Cybrosys Techno Solutions <https://www.cybrosys.com> |
|||
|
|||
|
|||
Developer: Afras Habis - odoo@cybrosys.com |
|||
Version 14 Muhammed Nafih - odoo@cybrosys.com |
|||
|
|||
Maintainer |
|||
---------- |
|||
|
|||
This module is maintained by Cybrosys Technologies. |
|||
|
|||
For support and more information, please visit https://www.cybrosys.com. |
|||
|
@ -0,0 +1,22 @@ |
|||
# -*- coding: utf-8 -*- |
|||
################################################################################### |
|||
# |
|||
# Cybrosys Technologies Pvt. Ltd. |
|||
# |
|||
# Copyright (C) 2019-TODAY Cybrosys Technologies(<https://www.cybrosys.com>). |
|||
# This program is free software: you can modify |
|||
# it under the terms of the GNU Affero General Public License (AGPL) as |
|||
# published by the Free Software Foundation, either version 3 of the |
|||
# License, or (at your option) any later version. |
|||
# |
|||
# 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 Affero General Public License for more details. |
|||
# |
|||
# You should have received a copy of the GNU Affero General Public License |
|||
# along with this program. If not, see <https://www.gnu.org/licenses/>. |
|||
# |
|||
################################################################################### |
|||
|
|||
from . import models |
@ -0,0 +1,43 @@ |
|||
# -*- coding: utf-8 -*- |
|||
|
|||
################################################################################### |
|||
# |
|||
# Cybrosys Technologies Pvt. Ltd. |
|||
# |
|||
# Copyright (C) 2020-TODAY Cybrosys Technologies(<https://www.cybrosys.com>). |
|||
# This program is free software: you can modify |
|||
# it under the terms of the GNU Affero General Public License (AGPL) as |
|||
# published by the Free Software Foundation, either version 3 of the |
|||
# License, or (at your option) any later version. |
|||
# |
|||
# 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 Affero General Public License for more details. |
|||
# |
|||
# You should have received a copy of the GNU Affero General Public License |
|||
# along with this program. If not, see <https://www.gnu.org/licenses/>. |
|||
# |
|||
################################################################################### |
|||
{ |
|||
'name': 'Product Brand in Invoicing', |
|||
'version': '14.0.1.0.0', |
|||
'category': 'Accounting', |
|||
'summary': 'Product Brand in Invoicing', |
|||
'description': 'Product Brand in Invoicing, brand, odoo 13', |
|||
'author': 'Cybrosys Techno Solutions', |
|||
'company': 'Cybrosys Techno Solutions', |
|||
'maintainer': 'Cybrosys Techno Solutions', |
|||
'images': ['static/description/banner.png'], |
|||
'website': 'https://www.cybrosys.com', |
|||
'depends': ['account',], |
|||
'data': [ |
|||
'views/brand_views.xml', |
|||
'security/ir.model.access.csv', |
|||
], |
|||
'license': 'AGPL-3', |
|||
'installable': True, |
|||
'auto_install': False, |
|||
'application': False, |
|||
|
|||
} |
@ -0,0 +1,5 @@ |
|||
## Module <product_brand_invoicing> |
|||
|
|||
#### 31.10.2020 |
|||
#### Version 14.0.1.0.0 |
|||
#### ADD |
@ -0,0 +1 @@ |
|||
from . import brand |
@ -0,0 +1,59 @@ |
|||
# -*- coding: utf-8 -*- |
|||
################################################################################### |
|||
# |
|||
# Cybrosys Technologies Pvt. Ltd. |
|||
# |
|||
# Copyright (C) 2019-TODAY Cybrosys Technologies(<https://www.cybrosys.com>). |
|||
# This program is free software: you can modify |
|||
# it under the terms of the GNU Affero General Public License (AGPL) as |
|||
# published by the Free Software Foundation, either version 3 of the |
|||
# License, or (at your option) any later version. |
|||
# |
|||
# 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 Affero General Public License for more details. |
|||
# |
|||
# You should have received a copy of the GNU Affero General Public License |
|||
# along with this program. If not, see <https://www.gnu.org/licenses/>. |
|||
# |
|||
################################################################################### |
|||
|
|||
from odoo import models, fields, api, tools |
|||
|
|||
|
|||
class ProductBrand(models.Model): |
|||
_inherit = 'product.template' |
|||
|
|||
brand_id = fields.Many2one('product.brand', string='Brand') |
|||
|
|||
|
|||
class BrandProduct(models.Model): |
|||
_name = 'product.brand' |
|||
|
|||
name = fields.Char(String="Name") |
|||
brand_image = fields.Binary() |
|||
member_ids = fields.One2many('product.template', 'brand_id') |
|||
product_count = fields.Char(String='Product Count', compute='get_count_products', store=True) |
|||
|
|||
@api.depends('member_ids') |
|||
def get_count_products(self): |
|||
self.product_count = len(self.member_ids) |
|||
|
|||
|
|||
class BrandPivotInvoicing(models.Model): |
|||
_inherit = "account.invoice.report" |
|||
|
|||
brand_id = fields.Many2one('product.brand', string='Brand') |
|||
|
|||
def _select(self): |
|||
res = super(BrandPivotInvoicing, self)._select() |
|||
query = res.split('template.categ_id AS product_categ_id,', 1) |
|||
res = query[0] + 'template.categ_id as product_categ_id,template.brand_id as brand_id,' + query[1] |
|||
return res |
|||
|
|||
def _group_by(self): |
|||
res = super(BrandPivotInvoicing, self)._group_by() |
|||
query = res.split('template.categ_id,', 1) |
|||
res = query[0] + 'template.categ_id,template.brand_id,' + query[1] |
|||
return res |
|
After Width: | Height: | Size: 72 KiB |
After Width: | Height: | Size: 20 KiB |
After Width: | Height: | Size: 70 KiB |
After Width: | Height: | Size: 85 KiB |
After Width: | Height: | Size: 66 KiB |
After Width: | Height: | Size: 64 KiB |
After Width: | Height: | Size: 151 KiB |
After Width: | Height: | Size: 138 KiB |
After Width: | Height: | Size: 110 KiB |