@ -0,0 +1,40 @@ |
|||
Advanced VAT Invoice |
|||
========================= |
|||
* Configure VAT Invoice |
|||
|
|||
Installation |
|||
============ |
|||
- www.odoo.com/documentation/12.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: |
|||
Athira PS @Cybrosys |
|||
|
|||
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) 2022-TODAY Cybrosys Technologies(<https://www.cybrosys.com>). |
|||
# Author: Cybrosys Techno Solutions(<https://www.cybrosys.com>)) |
|||
# |
|||
# This program is under the terms of the Odoo Proprietary License v1.0 (OPL-1) |
|||
# It is forbidden to publish, distribute, sublicense, or sell copies of the Software |
|||
# or modified copies of the Software. |
|||
# |
|||
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR |
|||
# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, |
|||
# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. |
|||
# IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, |
|||
# DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, |
|||
# ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER |
|||
# DEALINGS IN THE SOFTWARE. |
|||
# |
|||
######################################################################################## |
|||
|
|||
from . import models |
@ -0,0 +1,46 @@ |
|||
# -*- coding: utf-8 -*- |
|||
###################################################################################### |
|||
# |
|||
# Cybrosys Technologies Pvt. Ltd. |
|||
# |
|||
# Copyright (C) 2022-TODAY Cybrosys Technologies(<https://www.cybrosys.com>). |
|||
# Author: Cybrosys Techno Solutions(<https://www.cybrosys.com>)) |
|||
# |
|||
# This program is under the terms of the Odoo Proprietary License v1.0 (OPL-1) |
|||
# It is forbidden to publish, distribute, sublicense, or sell copies of the Software |
|||
# or modified copies of the Software. |
|||
# |
|||
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR |
|||
# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, |
|||
# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. |
|||
# IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, |
|||
# DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, |
|||
# ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER |
|||
# DEALINGS IN THE SOFTWARE. |
|||
# |
|||
######################################################################################## |
|||
|
|||
{ |
|||
'name': 'Saudi VAT Invoice /Saudi Electronic Invoice', |
|||
'version': '16.0.1.0.0', |
|||
'summary': 'Saudi VAT Invoice /Saudi E-Invoice /Saudi Electronic Invoice', |
|||
'description': 'Saudi VAT Invoice /Saudi E-Invoice /Saudi Electronic Invoice', |
|||
'author': 'Cybrosys Techno Solutions', |
|||
'maintainer': 'Cybrosys Techno Solutions', |
|||
'company': 'Cybrosys Techno Solutions', |
|||
'website': 'https://www.cybrosys.com', |
|||
'depends': ['base', 'account'], |
|||
'images': ['static/description/banner.png'], |
|||
'data': [ |
|||
'views/qr_config.xml', |
|||
'views/qrcode_in_invoices.xml', |
|||
'report/invoice_pdf.xml', |
|||
'report/vat_invoice_report_template.xml', |
|||
'views/vat_invoice_in_action.xml', |
|||
'report/simplified_tax_report_template.xml' |
|||
], |
|||
'installable': True, |
|||
'application': False, |
|||
'auto_install': False, |
|||
'license': 'AGPL-3', |
|||
} |
@ -0,0 +1,6 @@ |
|||
## Module <advanced_vat_invoice> |
|||
|
|||
#### 29.11.2022 |
|||
#### Version 16.0.1.0.0 |
|||
##### ADD |
|||
- Initial commit |
@ -0,0 +1,24 @@ |
|||
# -*- coding: utf-8 -*- |
|||
###################################################################################### |
|||
# |
|||
# Cybrosys Technologies Pvt. Ltd. |
|||
# |
|||
# Copyright (C) 2022-TODAY Cybrosys Technologies(<https://www.cybrosys.com>). |
|||
# Author: Cybrosys Techno Solutions(<https://www.cybrosys.com>)) |
|||
# |
|||
# This program is under the terms of the Odoo Proprietary License v1.0 (OPL-1) |
|||
# It is forbidden to publish, distribute, sublicense, or sell copies of the Software |
|||
# or modified copies of the Software. |
|||
# |
|||
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR |
|||
# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, |
|||
# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. |
|||
# IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, |
|||
# DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, |
|||
# ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER |
|||
# DEALINGS IN THE SOFTWARE. |
|||
# |
|||
######################################################################################## |
|||
|
|||
from . import qr_config |
|||
from . import qrcode_in_invoices |
@ -0,0 +1,48 @@ |
|||
# -*- coding: utf-8 -*- |
|||
###################################################################################### |
|||
# |
|||
# Cybrosys Technologies Pvt. Ltd. |
|||
# |
|||
# Copyright (C) 2022-TODAY Cybrosys Technologies(<https://www.cybrosys.com>). |
|||
# Author: Cybrosys Techno Solutions(<https://www.cybrosys.com>)) |
|||
# |
|||
# This program is under the terms of the Odoo Proprietary License v1.0 (OPL-1) |
|||
# It is forbidden to publish, distribute, sublicense, or sell copies of the Software |
|||
# or modified copies of the Software. |
|||
# |
|||
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR |
|||
# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, |
|||
# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. |
|||
# IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, |
|||
# DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, |
|||
# ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER |
|||
# DEALINGS IN THE SOFTWARE. |
|||
# |
|||
######################################################################################## |
|||
|
|||
from odoo import fields, models, api |
|||
|
|||
|
|||
class QRCode(models.TransientModel): |
|||
_inherit = 'res.config.settings' |
|||
|
|||
generate_qr = fields.Selection( |
|||
[('automatically', 'Generate QR Code when invoice validate/post'), ('manually', 'Manually Generate')]) |
|||
is_qr = fields.Boolean("QR Code Generation Configuration") |
|||
|
|||
@api.model |
|||
def get_values(self): |
|||
res = super(QRCode, self).get_values() |
|||
res.update( |
|||
generate_qr=self.env['ir.config_parameter'].sudo().get_param('advanced_vat_invoice.generate_qr'), |
|||
is_qr=self.env['ir.config_parameter'].sudo().get_param('advanced_vat_invoice.is_qr'), |
|||
) |
|||
return res |
|||
|
|||
def set_values(self): |
|||
super(QRCode, self).set_values() |
|||
param = self.env['ir.config_parameter'].sudo() |
|||
generate_qr = self.generate_qr and self.generate_qr or False |
|||
is_qr = self.is_qr and self.is_qr or False |
|||
param.set_param('advanced_vat_invoice.generate_qr', generate_qr) |
|||
param.set_param('advanced_vat_invoice.is_qr', is_qr) |
@ -0,0 +1,132 @@ |
|||
# -*- coding: utf-8 -*- |
|||
###################################################################################### |
|||
# |
|||
# Cybrosys Technologies Pvt. Ltd. |
|||
# |
|||
# Copyright (C) 2022-TODAY Cybrosys Technologies(<https://www.cybrosys.com>). |
|||
# Author: Cybrosys Techno Solutions(<https://www.cybrosys.com>)) |
|||
# |
|||
# This program is under the terms of the Odoo Proprietary License v1.0 (OPL-1) |
|||
# It is forbidden to publish, distribute, sublicense, or sell copies of the Software |
|||
# or modified copies of the Software. |
|||
# |
|||
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR |
|||
# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, |
|||
# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. |
|||
# IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, |
|||
# DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, |
|||
# ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER |
|||
# DEALINGS IN THE SOFTWARE. |
|||
# |
|||
######################################################################################## |
|||
|
|||
from odoo import fields, models, api, _ |
|||
|
|||
try: |
|||
import qrcode |
|||
except ImportError: |
|||
qrcode = None |
|||
try: |
|||
import base64 |
|||
except ImportError: |
|||
base64 = None |
|||
from io import BytesIO |
|||
import binascii |
|||
import pytz |
|||
from odoo.exceptions import UserError |
|||
from odoo.tools.pycompat import to_text |
|||
from odoo.tools import float_is_zero, float_compare, DEFAULT_SERVER_DATETIME_FORMAT |
|||
|
|||
|
|||
class InheritAccountMove(models.Model): |
|||
_inherit = 'account.move' |
|||
|
|||
qr = fields.Binary("QR Code", compute='generate_qrcode', store=True) |
|||
|
|||
def timezone(self, userdate): |
|||
|
|||
tz_name = self.env.context.get('tz') or self.env.user.tz |
|||
contex_tz = pytz.timezone(tz_name) |
|||
date_time = pytz.utc.localize(userdate).astimezone(contex_tz) |
|||
return date_time.strftime(DEFAULT_SERVER_DATETIME_FORMAT) |
|||
|
|||
def string_hexa(self, value): |
|||
if value: |
|||
string = str(value) |
|||
string_bytes = string.encode("UTF-8") |
|||
encoded_hex_value = binascii.hexlify(string_bytes) |
|||
hex_value = encoded_hex_value.decode("UTF-8") |
|||
return hex_value |
|||
|
|||
def hexa(self, tag, length, value): |
|||
if tag and length and value: |
|||
hex_string = self.string_hexa(value) |
|||
length = int(len(hex_string) / 2) |
|||
conversion_table = ['0', '1', '2', '3', '4', '5', '6', '7', '8', '9', 'a', 'b', 'c', 'd', 'e', 'f'] |
|||
hexadecimal = '' |
|||
while (length > 0): |
|||
remainder = length % 16 |
|||
hexadecimal = conversion_table[remainder] + hexadecimal |
|||
length = length // 16 |
|||
if len(hexadecimal) == 1: |
|||
hexadecimal = "0" + hexadecimal |
|||
return tag + hexadecimal + hex_string |
|||
|
|||
def qr_code_data(self): |
|||
sellername = str(self.company_id.name) |
|||
seller_vat_no = self.company_id.vat or '' |
|||
seller_hex = self.hexa("01", "0c", sellername) |
|||
vat_hex = self.hexa("02", "0f", seller_vat_no) or "" |
|||
time_stamp = self.timezone(self.create_date) |
|||
date_hex = self.hexa("03", "14", time_stamp) |
|||
total_with_vat_hex = self.hexa("04", "0a", str(round(self.amount_total, 2))) |
|||
total_vat_hex = self.hexa("05", "09", str(round(self.amount_tax, 2))) |
|||
qr_hex = seller_hex + vat_hex + date_hex + total_with_vat_hex + total_vat_hex |
|||
encoded_base64_bytes = base64.b64encode(bytes.fromhex(qr_hex)).decode() |
|||
return encoded_base64_bytes |
|||
|
|||
@api.depends('state') |
|||
def generate_qrcode(self): |
|||
param = self.env['ir.config_parameter'].sudo() |
|||
qr_code = param.get_param('advanced_vat_invoice.generate_qr') |
|||
for rec in self: |
|||
if rec.state == 'posted': |
|||
if qrcode and base64: |
|||
if qr_code == 'automatically': |
|||
qr = qrcode.QRCode( |
|||
version=4, |
|||
error_correction=qrcode.constants.ERROR_CORRECT_L, |
|||
box_size=4, |
|||
border=1, |
|||
) |
|||
qr.add_data(self._origin.qr_code_data()) |
|||
qr.make(fit=True) |
|||
img = qr.make_image() |
|||
temp = BytesIO() |
|||
img.save(temp, format="PNG") |
|||
qr_image = base64.b64encode(temp.getvalue()) |
|||
rec.qr = qr_image |
|||
else: |
|||
raise UserError(_('Necessary Requirements To Run This Operation Is Not Satisfied')) |
|||
|
|||
def generate_qr_button(self): |
|||
param = self.env['ir.config_parameter'].sudo() |
|||
qr_code = param.get_param('advanced_vat_invoice.generate_qr') |
|||
for rec in self: |
|||
if qrcode and base64: |
|||
if qr_code == 'manually': |
|||
qr = qrcode.QRCode( |
|||
version=4, |
|||
error_correction=qrcode.constants.ERROR_CORRECT_L, |
|||
box_size=4, |
|||
border=1, |
|||
) |
|||
qr.add_data(self.qr_code_data()) |
|||
qr.make(fit=True) |
|||
img = qr.make_image() |
|||
temp = BytesIO() |
|||
img.save(temp, format="PNG") |
|||
qr_image = base64.b64encode(temp.getvalue()) |
|||
rec.qr = qr_image |
|||
else: |
|||
raise UserError(_('Necessary Requirements To Run This Operation Is Not Satisfied')) |
@ -0,0 +1,22 @@ |
|||
<?xml version="1.0" encoding="utf-8"?> |
|||
<odoo> |
|||
<record id="action_report_vat_report" model="ir.actions.report"> |
|||
<field name="name">VAT Invoice</field> |
|||
<field name="model">account.move</field> |
|||
<field name="report_type">qweb-pdf</field> |
|||
<field name="report_name">advanced_vat_invoice.vat_template</field> |
|||
<field name="report_file">advanced_vat_invoice.vat_template</field> |
|||
<field name="binding_model_id" eval="False"/> |
|||
<field name="binding_type">report</field> |
|||
</record> |
|||
|
|||
<record id="action_report_simplified_report" model="ir.actions.report"> |
|||
<field name="name">Simplified Tax</field> |
|||
<field name="model">account.move</field> |
|||
<field name="report_type">qweb-pdf</field> |
|||
<field name="report_name">advanced_vat_invoice.simplified_tax_template</field> |
|||
<field name="report_file">advanced_vat_invoice.simplified_tax_template</field> |
|||
<field name="binding_model_id" eval="False"/> |
|||
<field name="binding_type">report</field> |
|||
</record> |
|||
</odoo> |
@ -0,0 +1,127 @@ |
|||
<?xml version="1.0" encoding="utf-8"?> |
|||
<odoo> |
|||
<data> |
|||
<template id="simplified_tax_template"> |
|||
<t t-call="web.html_container"> |
|||
<t t-call="web.external_layout"> |
|||
<t t-foreach="docs" t-as="doc"> |
|||
<div class="page"> |
|||
<h4> |
|||
<center> |
|||
<span class="text-right">فاتورة ضريبية مبسطة</span> |
|||
<br/> |
|||
<span>Simplified Tax Invoice</span> |
|||
</center> |
|||
</h4> |
|||
</div> |
|||
<br/> |
|||
<div> |
|||
<div style="float:left !important;"> |
|||
<span>Invoice Number :</span> |
|||
<t t-esc="doc.name"></t> |
|||
<br/> |
|||
<span>Issue Date:</span> |
|||
<t t-esc="doc.invoice_date"/> |
|||
</div> |
|||
|
|||
<div style="float:right !important;"> |
|||
<img t-attf-src="data:image/png;base64, {{doc.qr}}"/> |
|||
</div> |
|||
</div> |
|||
<br/> |
|||
|
|||
<table style="border:2pt solid grey;width:100%;color:black;" class="table-condensed"> |
|||
<thead> |
|||
<tr style="background-color:#DCDCDC"> |
|||
<td width="40%" style="border:2pt solid grey;text-align:center;padding:2pt;"> |
|||
Description |
|||
<br/> |
|||
<span class="description">تفاصيل السلع أو الخدمات</span> |
|||
</td> |
|||
<td width="20%" style="border:2pt solid grey;text-align:center;padding:2pt;"> |
|||
Unit Price |
|||
<br/> |
|||
<span class="unit_price">سعر الوحدة</span> |
|||
</td> |
|||
<td width="20%" |
|||
style="border:2pt solid grey;text-align:center;padding:2pt;width:7%"> |
|||
Quantity |
|||
<br/> |
|||
<span class="qty"/> |
|||
الكمية |
|||
</td> |
|||
<td width="20%" style="border:2pt solid grey;text-align:center;padding:2pt;"> |
|||
Total |
|||
<br/> |
|||
(excl.vat) |
|||
<br/> |
|||
<span class="total">المجموع (شامل ضريبة القيمة المضافة)</span> |
|||
</td> |
|||
</tr> |
|||
</thead> |
|||
<t t-set="tax_total" t-value="0"/> |
|||
<tbody class="invoice_line"> |
|||
<tr t-foreach="doc.invoice_line_ids" t-as="line"> |
|||
<t t-set="line_tax_total" t-value="0"/> |
|||
<t t-foreach="line.tax_ids" t-as="tax"> |
|||
<t t-set="tax_total" t-value="tax_total + line.price_subtotal* tax.amount/100"/> |
|||
<t t-set="line_tax_total" t-value="line_tax_total + tax.amount"/> |
|||
</t> |
|||
<td style="border-right:2pt solid grey;text-align:center;padding:3pt"> |
|||
<span t-field="line.name"/> |
|||
<br/> |
|||
</td> |
|||
<td style="border-right:2pt solid grey;text-align:center;padding:3pt"> |
|||
<span t-field="line.price_unit" t-options='{" widget": "monetary", " |
|||
display_currency": doc.currency_id}'/> |
|||
</td> |
|||
<td style="border-right:2pt solid grey;text-align:center;padding:3pt"> |
|||
<span t-esc="'%.2f %s '%(line.quantity,line.product_uom_id.name)"/> |
|||
</td> |
|||
<td style="border-right:2pt solid grey;text-align:center;padding:3pt"> |
|||
<span t-field="line.price_subtotal" t-options='{" widget": "monetary", " |
|||
display_currency": doc.currency_id}'/> |
|||
</td> |
|||
</tr> |
|||
</tbody> |
|||
</table> |
|||
<br/> |
|||
|
|||
<table style="border:2pt solid grey;width:100%;color:black;" |
|||
class="table table-bordered table-sm"> |
|||
<thead> |
|||
<tr> |
|||
<td width="40%" style="font-weight: bold;text-align:left;padding:2pt">Total Taxable |
|||
Amount (excl. VAT) |
|||
</td> |
|||
<td class="amount" width="40%" style="text-align:right;padding:2pt">إجمالي المبلغ |
|||
الخاضع للضريبة (غير شامل ضريبة القيمة المضافة) |
|||
</td> |
|||
<td width="40%" style="text-align:right;padding:2pt" class="text-right"> |
|||
<span t-esc="doc.amount_untaxed"/> |
|||
</td> |
|||
</tr> |
|||
<tr> |
|||
<td style="font-weight: bold;text-align:left;padding:3pt">Total VAT</td> |
|||
<td class="total" style="text-align:right;padding:3pt">مجموع ضريبة القيمة المضافة |
|||
</td> |
|||
<td style="text-align:right;padding:3pt" class="text-right"> |
|||
<span t-esc="tax_total"/> |
|||
</td> |
|||
</tr> |
|||
<tr> |
|||
<td style="font-weight: bold;text-align:left;padding:3pt">Amount Due</td> |
|||
<td class="due" style="text-align:right;padding:3pt">اجمالي المبلغ المستحق</td> |
|||
<td style="text-align:right;padding:3pt" class="text-right"> |
|||
<span t-esc="doc.amount_residual"/> |
|||
</td> |
|||
</tr> |
|||
</thead> |
|||
</table> |
|||
<br/> |
|||
</t> |
|||
</t> |
|||
</t> |
|||
</template> |
|||
</data> |
|||
</odoo> |
@ -0,0 +1,352 @@ |
|||
<?xml version="1.0" encoding="utf-8"?> |
|||
<odoo> |
|||
<data> |
|||
<template id="vat_template"> |
|||
<t t-call="web.html_container"> |
|||
<t t-call="web.external_layout"> |
|||
<t t-foreach="docs" t-as="doc"> |
|||
<div class="page"> |
|||
<h4> |
|||
<center> |
|||
<span class="text-right">فاتورة ضريبية مبسطة</span> |
|||
<br/> |
|||
<span>VAT Invoice</span> |
|||
</center> |
|||
</h4> |
|||
</div> |
|||
<div> |
|||
<table> |
|||
<tr style="border:2pt solid grey;"> |
|||
<td width="16%"> |
|||
<span/>Invoice Number |
|||
</td> |
|||
<td width="16%"> |
|||
<span>رقم الفاتورة</span> |
|||
</td> |
|||
<td width="16%"> |
|||
<t t-esc="doc.name"/> |
|||
</td> |
|||
</tr> |
|||
<br/> |
|||
</table> |
|||
</div> |
|||
<br/> |
|||
<div class="row mt32 mb32"> |
|||
<div class="col-9" style="color:black; "> |
|||
<table style="border:2pt solid grey;width:100%;padding:10pt;color:black;" |
|||
class="table table-bordered table-sm"> |
|||
<tr> |
|||
<td style="font-weight:bold; width:25%;">Invoice Issue Date:</td> |
|||
<td class="issue" style="width:25%; text-align:right;">رقم الفاتورة</td> |
|||
<td style="width:30%; text-align:center;"> |
|||
<t t-esc="doc.invoice_date"/> |
|||
</td> |
|||
</tr> |
|||
<tr> |
|||
<td style="font-weight:bold; width:25%;">Due Date:</td> |
|||
<td class="due" style="width:25%; text-align:right;">تاريخ الاستحقاق</td> |
|||
<td style="width:30%; text-align:center;"> |
|||
<t t-esc="doc.invoice_payment_term_id.name"></t> |
|||
</td> |
|||
</tr> |
|||
</table> |
|||
<br/> |
|||
</div> |
|||
<div class="col-3" style="margin-top: -8pt; padding-left:30pt;"> |
|||
<img t-attf-src="data:image/png;base64, {{doc.qr}}"/> |
|||
</div> |
|||
</div><br/> |
|||
|
|||
<table style="border:2pt solid grey;width:100%;color:black; margin-top:0pt; color:black;" |
|||
class="table-condensed"> |
|||
<thead> |
|||
<tr style="background-color:#DCDCDC"> |
|||
<td width="15%" style="border:2pt solid grey;text-align:center;padding:2pt; "> |
|||
seller |
|||
</td> |
|||
<td width="15%" style="border:2pt solid grey;text-align:center;padding:2pt;"> |
|||
تاجر |
|||
</td> |
|||
<td width="20%" style="border:2pt solid grey;text-align:center;padding:2pt;"> |
|||
</td> |
|||
<td width="15%" style="border:2pt solid grey;text-align:center;padding:2pt; "> |
|||
Buyer |
|||
</td> |
|||
<td width="15%" style="border:2pt solid grey;text-align:center;padding:2pt; "> |
|||
مشتر |
|||
</td> |
|||
<td width="20%" style="border:2pt solid grey;text-align:center;padding:2pt;"> |
|||
</td> |
|||
</tr> |
|||
</thead> |
|||
<tr> |
|||
<td style="border:2pt solid grey;text-align:center;padding:2pt;"> |
|||
Name: |
|||
</td> |
|||
<td width="15%" style="border:2pt solid grey;text-align:center;padding:2pt;"> |
|||
اسم |
|||
</td> |
|||
<td style="border:2pt solid grey;text-align:center;padding:2pt;"> |
|||
<t t-esc="doc.company_id.name"/> |
|||
</td> |
|||
<td style="border:2pt solid grey;text-align:center;padding:2pt;"> |
|||
<span>Name:</span> |
|||
</td> |
|||
<td width="15%" style="border:2pt solid grey;text-align:center;padding:2pt;"> |
|||
اسم |
|||
</td> |
|||
<td style="border:2pt solid grey;text-align:center;padding:2pt;"> |
|||
<t t-esc="doc.partner_id.name"></t> |
|||
</td> |
|||
</tr> |
|||
<tr> |
|||
<td style="border:2pt solid grey;text-align:center;padding:2pt;"> |
|||
Street Name: |
|||
</td> |
|||
<td style="border:2pt solid grey;text-align:center;padding:2pt;"> |
|||
اسم الشارع |
|||
</td> |
|||
<td style="border:2pt solid grey;text-align:center;padding:2pt;"> |
|||
<t t-esc="doc.company_id.street"></t> |
|||
</td> |
|||
<td style="border:2pt solid grey;text-align:center;padding:2pt;"> |
|||
Street Name: |
|||
</td> |
|||
<td style="border:2pt solid grey;text-align:center;padding:2pt;"> |
|||
اسم الشارع |
|||
</td> |
|||
<td style="border:2pt solid grey;text-align:center;padding:2pt;"> |
|||
<t t-esc="doc.partner_id.street"></t> |
|||
</td> |
|||
</tr> |
|||
<tr> |
|||
<td style="border:2pt solid grey;text-align:center; width:10%;padding:2pt"> |
|||
District: |
|||
</td> |
|||
<td style="border:2pt solid grey;text-align:center;padding:2pt;"> |
|||
منطقة |
|||
</td> |
|||
<td style="border:2pt solid grey;text-align:center;padding:2pt;"> |
|||
<t t-esc="doc.company_id.city"></t> |
|||
</td> |
|||
<td style="border:2pt solid grey;text-align:center;padding:2pt;"> |
|||
District: |
|||
</td> |
|||
<td style="border:2pt solid grey;text-align:center;padding:2pt;"> |
|||
منطقة |
|||
</td> |
|||
<td style="border:2pt solid grey;text-align:center;padding:2pt;"> |
|||
<t t-esc="doc.partner_id.city"></t> |
|||
</td> |
|||
</tr> |
|||
<tr> |
|||
<td style="border:2pt solid grey;text-align:center;padding:2pt;width:8%"> |
|||
State: |
|||
</td> |
|||
<td style="border:2pt solid grey;text-align:center;padding:2pt;"> |
|||
حالة |
|||
</td> |
|||
<td style="border:2pt solid grey;text-align:center;padding:2pt;"> |
|||
<t t-esc="doc.company_id.state_id.name"></t> |
|||
</td> |
|||
<td style="border:2pt solid grey;text-align:center;padding:2pt;"> |
|||
State: |
|||
</td> |
|||
<td style="border:2pt solid grey;text-align:center;padding:2pt;"> |
|||
حالة |
|||
</td> |
|||
<td style="border:2pt solid grey;text-align:center;padding:2pt;"> |
|||
<t t-esc="doc.partner_id.state_id.name"></t> |
|||
</td> |
|||
</tr> |
|||
<tr> |
|||
<td style="border:2pt solid grey;text-align:center; width:10%;padding:2pt"> |
|||
Country: |
|||
</td> |
|||
<td style="border:2pt solid grey;text-align:center;padding:2pt;"> |
|||
بلد |
|||
</td> |
|||
<td style="border:2pt solid grey;text-align:center;padding:2pt;"> |
|||
<t t-esc="doc.company_id.country_id.name"></t> |
|||
</td> |
|||
<td style="border:2pt solid grey;text-align:center;padding:2pt;"> |
|||
Country: |
|||
</td> |
|||
<td style="border:2pt solid grey;text-align:center;padding:2pt;"> |
|||
بلد |
|||
</td> |
|||
<td style="border:2pt solid grey;text-align:center;padding:2pt;"> |
|||
<t t-esc="doc.partner_id.country_id.name"></t> |
|||
</td> |
|||
</tr> |
|||
<tr> |
|||
<td style="border:2pt solid grey;text-align:center;padding:2pt;"> |
|||
PIN Code: |
|||
</td> |
|||
<td style="border:2pt solid grey;text-align:center;padding:2pt;"> |
|||
الرمز البريدي |
|||
</td> |
|||
<td style="border:2pt solid grey;text-align:center;padding:2pt;"> |
|||
<t t-esc="doc.company_id.zip"></t> |
|||
</td> |
|||
|
|||
<td style="border:2pt solid grey;text-align:center;padding:2pt;"> |
|||
PIN Code: |
|||
</td> |
|||
<td style="border:2pt solid grey;text-align:center;padding:2pt;"> |
|||
الرمز البريدي |
|||
</td> |
|||
<td style="border:2pt solid grey;text-align:center;padding:2pt;"> |
|||
<t t-esc="doc.partner_id.zip"></t> |
|||
</td> |
|||
</tr> |
|||
<tr> |
|||
<td style="border:2pt solid grey;text-align:center;padding:2pt;"> |
|||
Phone Number: |
|||
</td> |
|||
<td style="border:2pt solid grey;text-align:center;padding:2pt;"> |
|||
رقم الهاتف |
|||
</td> |
|||
<td style="border:2pt solid grey;text-align:center;padding:2pt;"> |
|||
<t t-esc="doc.company_id.phone"></t> |
|||
</td> |
|||
<td style="border:2pt solid grey;text-align:center;padding:2pt;"> |
|||
Phone Number: |
|||
</td> |
|||
<td style="border:2pt solid grey;text-align:center;padding:2pt;"> |
|||
رقم الهاتف |
|||
</td> |
|||
<td style="border:2pt solid grey;text-align:center;padding:2pt;"> |
|||
<t t-esc="doc.partner_id.phone"></t> |
|||
</td> |
|||
</tr> |
|||
<tr> |
|||
<td style="border:2pt solid grey;text-align:center;padding:2pt;"> |
|||
VAT Number: |
|||
</td> |
|||
<td style="border:2pt solid grey;text-align:center;padding:2pt;"> |
|||
ظريبه الشراء |
|||
</td> |
|||
<td style="border:2pt solid grey;text-align:center;padding:2pt;"> |
|||
<t t-esc="doc.company_id.vat"></t> |
|||
</td> |
|||
<td style="border:2pt solid grey;text-align:center;padding:2pt;"> |
|||
VAT Number: |
|||
</td> |
|||
<td style="border:2pt solid grey;text-align:center;padding:2pt;"> |
|||
ظريبه الشراء |
|||
</td> |
|||
<td style="border:2pt solid grey;text-align:center;padding:2pt;"> |
|||
<t t-esc="doc.partner_id.vat"></t> |
|||
</td> |
|||
</tr> |
|||
</table> |
|||
<br/> |
|||
<table style="border:2pt solid grey;width:100%; height: 23px;color:black; margin-top:10pt;" |
|||
class="table-condensed table-sm"> |
|||
<tr> |
|||
<td style="padding:2pt;margin:0pt;font-weight: bold;text-align:center;"> |
|||
<span class="text-right arabic">Order Line Items/البنود</span> |
|||
</td> |
|||
</tr> |
|||
</table> |
|||
<table style="border:2pt solid grey;width:100%;color:black; margin-top:0pt; color:black;" |
|||
class="table-condensed"> |
|||
<thead> |
|||
<tr style="background-color:#DCDCDC"> |
|||
<td width="20%" style="border:2pt solid grey;text-align:center;padding:2pt; "> |
|||
product Name |
|||
<br/> |
|||
<span class="product">تفاصيل السلع أو الخدمات</span> |
|||
</td> |
|||
<td style="border:2pt solid grey;text-align:center;padding:2pt;"> |
|||
Unit Price |
|||
<br/> |
|||
<span class="price">سعر الوحدة</span> |
|||
</td> |
|||
<td style="border:2pt solid grey;text-align:center;padding:2pt;width:7%"> |
|||
Quantity |
|||
<br/> |
|||
<span class="qty">الكمية</span> |
|||
</td> |
|||
<td style="border:2pt solid grey;text-align:center;padding:2pt;"> |
|||
Tax Amount |
|||
<br/> |
|||
<span class="tax">المبلغ الخاضع للضريبة</span> |
|||
</td> |
|||
<td style="border:2pt solid grey;text-align:center; width:10%;padding:2pt"> |
|||
Discount Price |
|||
<br/> |
|||
<span class="discount">خصومات</span> |
|||
</td> |
|||
<td style="border:2pt solid grey;text-align:center;padding:2pt;width:8%"> |
|||
Tax Rate |
|||
<br/> |
|||
<span class="tax_rate">نسبة الضريبة</span> |
|||
</td> |
|||
<td style="border:2pt solid grey;text-align:center; width:10%;padding:2pt"> |
|||
Tax Amount |
|||
<br/> |
|||
<span class="amount">مبلغ الضريبة</span> |
|||
</td> |
|||
<td style="border:2pt solid grey;text-align:center;padding:2pt;"> |
|||
Subtotal |
|||
<br/> |
|||
(excl.vat) |
|||
<br/> |
|||
<span class="sub_total">المجموع (شامل ضريبة القيمة المضافة)</span> |
|||
</td> |
|||
</tr> |
|||
</thead> |
|||
<t t-set="tax_total" t-value="0"/> |
|||
<t t-set="discount_total" t-value="0"/> |
|||
<tbody class="invoice_line"> |
|||
<tr t-foreach="doc.invoice_line_ids" t-as="line"> |
|||
<t t-set="line_tax_total" t-value="0"/> |
|||
<t t-foreach="line.tax_ids" t-as="tax"> |
|||
<t t-set="tax_total" |
|||
t-value="tax_total + line.price_subtotal* tax.amount/100"/> |
|||
<t t-set="line_tax_total" |
|||
t-value="line_tax_total + tax.amount"/> |
|||
</t> |
|||
<t t-set="discount_total" |
|||
t-value="discount_total + ((line.price_unit * line.quantity) - line.price_subtotal)"/> |
|||
<td style="border-right:2pt solid grey;padding:3pt"> |
|||
<span t-field="line.name"/> |
|||
<br/> |
|||
</td> |
|||
<td style="border-right:2pt solid grey;text-align:right;padding:3pt"> |
|||
<span t-field="line.price_unit"/> |
|||
</td> |
|||
<td style="border-right:2pt solid grey;text-align:center;padding:3pt"> |
|||
<span t-esc="'%.2f %s '%(line.quantity,line.product_uom_id.name)"/> |
|||
</td> |
|||
<td style="padding:2pt;border-right:2pt solid grey;text-align:right;"> |
|||
<sapn t-esc="line.price_unit * line.quantity"/> |
|||
</td> |
|||
<td style="border-right:2pt solid grey;text-align:right;padding:3pt;"> |
|||
<span t-field="line.discount"/>% |
|||
</td> |
|||
<td style="border-right:2pt solid grey;padding:2pt;text-align:center;"> |
|||
<t t-foreach="line.tax_ids" t-as="tax"> |
|||
<span t-esc="'%.2f'%(tax.amount)"/>% |
|||
</t> |
|||
<span t-if="not line.tax_ids">0.0 %</span> |
|||
</td> |
|||
<td style="padding:2pt;border-right:2pt solid grey;text-align:right;"> |
|||
<t t-set="line_tax_total" |
|||
t-value="line.price_subtotal*line_tax_total/100"/> |
|||
<sapn t-esc="line_tax_total"/> |
|||
</td> |
|||
<td style="border-right:2pt solid grey;text-align:right;padding:3pt"> |
|||
<span t-field="line.price_subtotal"/> |
|||
</td> |
|||
</tr> |
|||
</tbody> |
|||
</table> |
|||
</t> |
|||
</t> |
|||
</t> |
|||
</template> |
|||
</data> |
|||
</odoo> |
|
After Width: | Height: | Size: 3.6 KiB |
After Width: | Height: | Size: 310 B |
After Width: | Height: | Size: 1.3 KiB |
After Width: | Height: | Size: 1.4 KiB |
After Width: | Height: | Size: 576 B |
After Width: | Height: | Size: 733 B |
After Width: | Height: | Size: 911 B |
After Width: | Height: | Size: 1.1 KiB |
After Width: | Height: | Size: 1.2 KiB |
After Width: | Height: | Size: 673 B |
After Width: | Height: | Size: 878 B |
After Width: | Height: | Size: 653 B |
After Width: | Height: | Size: 905 B |
After Width: | Height: | Size: 839 B |
After Width: | Height: | Size: 427 B |
After Width: | Height: | Size: 627 B |
After Width: | Height: | Size: 1.2 KiB |
After Width: | Height: | Size: 988 B |
After Width: | Height: | Size: 1.2 KiB |
After Width: | Height: | Size: 1.5 KiB |
After Width: | Height: | Size: 1.1 KiB |
After Width: | Height: | Size: 1.9 KiB |
After Width: | Height: | Size: 1.1 KiB |
After Width: | Height: | Size: 2.1 KiB |
After Width: | Height: | Size: 4.4 KiB |
After Width: | Height: | Size: 589 B |
After Width: | Height: | Size: 3.4 KiB |
After Width: | Height: | Size: 1.7 KiB |
After Width: | Height: | Size: 2.3 KiB |
After Width: | Height: | Size: 967 B |
After Width: | Height: | Size: 1.6 KiB |
After Width: | Height: | Size: 3.8 KiB |
After Width: | Height: | Size: 5.0 KiB |
After Width: | Height: | Size: 60 KiB |
After Width: | Height: | Size: 56 KiB |
After Width: | Height: | Size: 56 KiB |
After Width: | Height: | Size: 59 KiB |
After Width: | Height: | Size: 1.8 MiB |
After Width: | Height: | Size: 57 KiB |
After Width: | Height: | Size: 199 KiB |
After Width: | Height: | Size: 184 KiB |
After Width: | Height: | Size: 247 KiB |
After Width: | Height: | Size: 86 KiB |
After Width: | Height: | Size: 228 KiB |
After Width: | Height: | Size: 227 KiB |
After Width: | Height: | Size: 236 KiB |
After Width: | Height: | Size: 105 KiB |
After Width: | Height: | Size: 17 KiB |
After Width: | Height: | Size: 2.3 KiB |
@ -0,0 +1,554 @@ |
|||
<div style="background-color: #714B67; min-height: 600px; width: 100%; padding: 15px; position: relative;"> |
|||
<!-- TITLE BAR --> |
|||
<div |
|||
style="border-bottom: 1px solid #875A7B; padding: 15px; display: flex; justify-content: space-between; align-items: center;"> |
|||
<img src="assets/misc/cybrosys-logo.png" width="42" height="42" style="width: 42px; height: 42px;" /> |
|||
<div> |
|||
<div style="color: #7C7BAD; font-size: 14px; font-family: 'Montserrat', sans-serif; font-weight: bold; background-color: white; display: inline-block; padding: 3px 10px; border-radius: 50px;" |
|||
class="mr-2"> |
|||
<i class="fa fa-check mr-1"></i>Community |
|||
</div> |
|||
<div style="color: #875A7B; font-size: 14px; font-family: 'Montserrat', sans-serif; font-weight: bold; background-color: white; display: inline-block; padding: 3px 10px; border-radius: 50px;" |
|||
class="mr-2"> |
|||
<i class="fa fa-check mr-1"></i>Enterprise |
|||
</div> |
|||
<div style="color: #017E84; font-size: 14px; font-family: 'Montserrat', sans-serif; font-weight: bold; background-color: white; display: inline-block; padding: 3px 10px; border-radius: 50px;" |
|||
class="mr-2"> |
|||
<i class="fa fa-check mr-1"></i>Odoo.sh |
|||
</div> |
|||
</div> |
|||
</div> |
|||
<!-- END OF TITLE BAR --> |
|||
|
|||
<!-- APP HERO --> |
|||
<h1 style="color: #FFFFFF; font-weight: bolder; font-size: 50px; text-align: center; margin-top: 50px;">Advanced VAT Invoice /Saudi Electronic Invoice</h1> |
|||
<p style="color:#FFFFFF; padding: 8px 15px; text-align: center; font-size: 24px;">Saudi VAT Invoice /Saudi E-Invoice /Saudi Electronic Invoice</p> |
|||
<!-- END OF APP HERO --> |
|||
<img src="assets/screenshots/hero.gif" |
|||
style="width: 75%; height: auto; position: absolute; margin-left: auto; margin-right: auto; top: 45%; left: 12%; right: auto;" /> |
|||
|
|||
</div> |
|||
|
|||
<!-- NAVIGATION SECTION --> |
|||
<div class="d-flex align-items-center" style="border-bottom: 2px solid #714B67; padding: 15px 0px; margin-top: 300px;"> |
|||
<div class="d-flex justify-content-center align-items-center mr-2" |
|||
style="background-color: #F5F5F5; border-radius: 0px; width: 40px; height: 40px;"> |
|||
<img src="assets/misc/compass.png" /> |
|||
</div> |
|||
<h2 class="mt-2" style="font-family: 'Montserrat', sans-serif; font-size: 24px; font-weight: bold;">Explore This |
|||
Module</h2> |
|||
</div> |
|||
<div class="row my-4" style="font-family: 'Montserrat', sans-serif;"> |
|||
<div class="col-sm-12 col-md-6 my-3"> |
|||
<a href="#overview"> |
|||
<div class="d-flex justify-content-between align-items-center" |
|||
style="background-color: #f5f5f5; padding: 30px; width: 100%;"> |
|||
<div> |
|||
<span style="color: #714B67; font-size: 24px; font-weight: 500; display: block;">Overview</span> |
|||
<span |
|||
style="color: #714B67; font-size: 16px; font-weight: 400; color:#282F33; display: block;">Learn |
|||
more about this |
|||
module</span> |
|||
</div> |
|||
<img src="assets/misc/right-arrow.png" width="36" height="36" /> |
|||
</div> |
|||
</a> |
|||
</div> |
|||
<div class="col-sm-12 col-md-6 my-3"> |
|||
<a href="#features"> |
|||
<div class="d-flex justify-content-between align-items-center" |
|||
style="background-color: #f5f5f5; padding: 30px; width: 100%;"> |
|||
<div> |
|||
<span style="color: #714B67; font-size: 24px; font-weight: 500; display: block;">Features</span> |
|||
<span |
|||
style="color: #714B67; font-size: 16px; font-weight: 400; color:#282F33; display: block;">View |
|||
features of this |
|||
module</span> |
|||
</div> |
|||
<img src="assets/misc/right-arrow.png" width="36" height="36" /> |
|||
</div> |
|||
</a> |
|||
</div> |
|||
<div class="col-sm-12 col-md-6 my-3"> |
|||
<a href="#screenshots"> |
|||
<div class="d-flex justify-content-between align-items-center" |
|||
style="background-color: #f5f5f5; padding: 30px; width: 100%;"> |
|||
<div> |
|||
<span style="color: #714B67; font-size: 24px; font-weight: 500; display: block;">Screenshots</span> |
|||
<span |
|||
style="color: #714B67; font-size: 16px; font-weight: 400; color:#282F33; display: block;">View |
|||
screenshots for this |
|||
module</span> |
|||
</div> |
|||
<img src="assets/misc/right-arrow.png" width="36" height="36" /> |
|||
</div> |
|||
</a> |
|||
</div> |
|||
</div> |
|||
<!-- END OF NAVIGATION SECTION --> |
|||
|
|||
<!-- OVERVIEW SECTION --> |
|||
<div class="d-flex align-items-center" style="border-bottom: 2px solid #714B67; padding: 15px 0px;" id="overview"> |
|||
<div class="d-flex justify-content-center align-items-center mr-2" |
|||
style="background-color: #F5F5F5; border-radius: 0px; width: 40px; height: 40px;"> |
|||
<img src="assets/misc/pie-chart.png" /> |
|||
</div> |
|||
<h2 class="mt-2" style="font-family: 'Montserrat', sans-serif; font-size: 24px; font-weight: bold;">Overview |
|||
</h2> |
|||
</div> |
|||
<div class="row" style="font-family: 'Montserrat', sans-serif; font-weight: 400; font-size: 14px; line-height: 200%;"> |
|||
<div class="col-sm-12 py-4"> |
|||
Advanced Saudi VAT Invoice module is an advanced way of creating Saudi VAT invoice report in pdf format . |
|||
This module helps the user to download VAT invoice report and also able to scan the qr code and display the details. |
|||
</div> |
|||
</div> |
|||
<!-- END OF OVERVIEW SECTION --> |
|||
|
|||
<!-- FEATURES SECTION --> |
|||
<div class="d-flex align-items-center" style="border-bottom: 2px solid #714B67; padding: 15px 0px;" id="features"> |
|||
<div class="d-flex justify-content-center align-items-center mr-2" |
|||
style="background-color: #F5F5F5; border-radius: 0px; width: 40px; height: 40px;"> |
|||
<img src="assets/misc/features.png" /> |
|||
</div> |
|||
<h2 class="mt-2" style="font-family: 'Montserrat', sans-serif; font-size: 24px; font-weight: bold;">Features |
|||
</h2> |
|||
</div> |
|||
<div class="row" style="font-family: 'Montserrat', sans-serif; font-weight: 400; font-size: 14px; line-height: 200%;"> |
|||
<div class="col-sm-12 col-md-6"> |
|||
<div class="d-flex align-items-center" style="margin-top: 40px; margin-bottom: 40px"> |
|||
<img src="assets/misc/check-box.png" class="mr-2" /> |
|||
<span style="font-family: 'Montserrat', sans-serif; font-size: 18px; font-weight: bold;">Create VAT invoice report manually or automatically.</span> |
|||
</div> |
|||
<div class="d-flex align-items-center" style="margin-top: 30px; margin-bottom: 30px"> |
|||
<img src="assets/misc/check-box.png" class="mr-2" /> |
|||
<span style="font-family: 'Montserrat', sans-serif; font-size: 18px; font-weight: bold;">Download VAT invoice report and also Simplified Tax invoice report.</span> |
|||
</div> |
|||
<div class="d-flex align-items-center" style="margin-top: 30px; margin-bottom: 30px"> |
|||
<img src="assets/misc/check-box.png" class="mr-2" /> |
|||
<span style="font-family: 'Montserrat', sans-serif; font-size: 18px; font-weight: bold;">Can view the details while scanning the QR.</span> |
|||
</div> |
|||
</div> |
|||
</div> |
|||
<!-- END OF FEATURES SECTION --> |
|||
|
|||
<!-- SCREENSHOTS SECTION --> |
|||
<div class="d-flex align-items-center" style="border-bottom: 2px solid #714B67; padding: 15px 0px;" id="screenshots"> |
|||
<div class="d-flex justify-content-center align-items-center mr-2" |
|||
style="background-color: #F5F5F5; border-radius: 0px; width: 40px; height: 40px;"> |
|||
<img src="assets/misc/pictures.png" /> |
|||
</div> |
|||
<h2 class="mt-2" style="font-family: 'Montserrat', sans-serif; font-size: 24px; font-weight: bold;">Screenshots |
|||
</h2> |
|||
</div> |
|||
<div class="row"> |
|||
<div class="col-sm-12"> |
|||
|
|||
<div style="display: block; margin: 30px auto;"> |
|||
<h3 style="font-family: 'Montserrat', sans-serif; font-size: 18px; font-weight: bold;">Accounting --> Configuration --> Settings --> QR Code</h3> |
|||
<p style="font-weight: 400; font-family: 'Montserrat', sans-serif; font-size: 14px;">Select any one among the QR code Generation method.</p> |
|||
<img src="assets/screenshots/S1.png" class="img-thumbnail"> |
|||
</div> |
|||
|
|||
<div style="display: block; margin: 30px auto;"> |
|||
<h3 style="font-family: 'Montserrat', sans-serif; font-size: 18px; font-weight: bold;">If we choose Manually,QR code generate manually after click on the Generate QR button.</h3> |
|||
<img src="assets/screenshots/v2.png" class="img-thumbnail"> |
|||
</div> |
|||
|
|||
<div style="display: block; margin: 30px auto;"> |
|||
<h3 style="font-family: 'Montserrat', sans-serif; font-size: 18px; font-weight: bold;">If we choose Automatically , QR code generate automatically after the invoice is being posted.</h3> |
|||
<img src="assets/screenshots/v1.png" class="img-thumbnail"> |
|||
</div> |
|||
|
|||
<div style="display: block; margin: 30px auto;"> |
|||
<h3 style="font-family: 'Montserrat', sans-serif; font-size: 18px; font-weight: bold;">Can download VAT invoice report and Simplified Tax invoice report from print button,here we can display all details in Arabic language.</h3> |
|||
<img src="assets/screenshots/v3.png" class="img-thumbnail"> |
|||
</div> |
|||
|
|||
<div style="display: block; margin: 30px auto;"> |
|||
<img src="assets/screenshots/S4.png" class="img-thumbnail"> |
|||
</div> |
|||
|
|||
<div style="display: block; margin: 30px auto;"> |
|||
<img src="assets/screenshots/v4.png" class="img-thumbnail"> |
|||
</div> |
|||
|
|||
|
|||
<div style="display: block; margin: 30px auto;"> |
|||
<h3 style="font-family: 'Montserrat', sans-serif; font-size: 18px; font-weight: bold;">Encoded QR Code Scan Result.</h3> |
|||
<img src="assets/screenshots/s7 .png" class="img-thumbnail"> |
|||
</div> |
|||
|
|||
</div> |
|||
</div> |
|||
<!-- END OF SCREENSHOTS SECTION --> |
|||
|
|||
<!-- RELATED PRODUCTS --> |
|||
<div class="d-flex align-items-center" style="border-bottom: 2px solid #714B67; padding: 15px 0px;"> |
|||
<div class="d-flex justify-content-center align-items-center mr-2" |
|||
style="background-color: #F5F5F5; border-radius: 0px; width: 40px; height: 40px;"> |
|||
<img src="assets/misc/categories.png" /> |
|||
</div> |
|||
<h2 class="mt-2" style="font-family: 'Montserrat', sans-serif; font-size: 24px; font-weight: bold;">Related |
|||
Products |
|||
</h2> |
|||
</div> |
|||
<div class="row"> |
|||
<div class="col-sm-12"> |
|||
<div id="demo1" class="row carousel slide" data-ride="carousel"> |
|||
<!-- The slideshow --> |
|||
<div class="carousel-inner" style="padding: 30px;"> |
|||
<div class="carousel-item" style="min-height: 198.656px;"> |
|||
<div class="col-xs-12 col-sm-4 col-md-4 mb16 mt16" style="float:left"> |
|||
<a href="https://apps.odoo.com/apps/modules/15.0/dynamic_accounts_report/" target="_blank"> |
|||
<div style="border-radius:10px"> |
|||
<img class="img img-responsive center-block" style="border-radius: 0px;" |
|||
src="assets/modules/1.png"> |
|||
</div> |
|||
</a> |
|||
</div> |
|||
<div class="col-xs-12 col-sm-4 col-md-4 mb16 mt16" style="float:left"> |
|||
<a href="https://apps.odoo.com/apps/modules/15.0/custom_gantt_view/" target="_blank"> |
|||
<div style="border-radius:10px"> |
|||
<img class="img img-responsive center-block" style="border-radius: 0px;" |
|||
src="assets/modules/2.png"> |
|||
</div> |
|||
</a> |
|||
</div> |
|||
<div class="col-xs-12 col-sm-4 col-md-4 mb16 mt16" style="float:left"> |
|||
<a href="https://apps.odoo.com/apps/modules/15.0/project_custom_gantt/" target="_blank"> |
|||
<div style="border-radius:10px"> |
|||
<img class="img img-responsive center-block" style="border-radius: 0px;" |
|||
src="assets/modules/3.png"> |
|||
</div> |
|||
</a> |
|||
</div> |
|||
</div> |
|||
<div class="carousel-item active" style="min-height: 198.656px;"> |
|||
<div class="col-xs-12 col-sm-4 col-md-4 mb16 mt16" style="float:left"> |
|||
<a href="https://apps.odoo.com/apps/modules/15.0/account_reports_xlsx/" target="_blank"> |
|||
<div style="border-radius:10px"> |
|||
<img class="img img-responsive center-block" style="border-radius: 0px;" |
|||
src="assets/modules/4.png"> |
|||
</div> |
|||
</a> |
|||
</div> |
|||
<div class="col-xs-12 col-sm-4 col-md-4 mb16 mt16" style="float:left"> |
|||
<a href="https://apps.odoo.com/apps/modules/15.0/base_accounting_kit/" target="_blank"> |
|||
<div style="border-radius:10px"> |
|||
<img class="img img-responsive center-block" style="border-radius: 0px;" |
|||
src="assets/modules/5.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/15.0/hr_payroll_community/" target="_blank"> |
|||
<div style="border-radius:10px"> |
|||
<img class="img img-responsive center-block" style="border-radius: 0px;" |
|||
src="assets/modules/6.png"> |
|||
</div> |
|||
</a> |
|||
</div> |
|||
</div> |
|||
</div> |
|||
<!-- Left and right controls --> |
|||
<a class="carousel-control-prev" href="#demo1" data-slide="prev" style="width:35px; color:#000"> <span |
|||
class="carousel-control-prev-icon"><i class="fa fa-chevron-left" style="font-size:24px"></i></span> |
|||
</a> <a class="carousel-control-next" href="#demo1" data-slide="next" style="width:35px; color:#000"> |
|||
<span class="carousel-control-next-icon"><i class="fa fa-chevron-right" |
|||
style="font-size:24px"></i></span> |
|||
</a> |
|||
</div> |
|||
</div> |
|||
</div> |
|||
<!-- END OF RELATED PRODUCTS --> |
|||
|
|||
<!-- OUR SERVICES --> |
|||
|
|||
<div class="d-flex align-items-center" style="border-bottom: 2px solid #714B67; padding: 15px 0px;"> |
|||
<div class="d-flex justify-content-center align-items-center mr-2" |
|||
style="background-color: #F5F5F5; border-radius: 0px; width: 40px; height: 40px;"> |
|||
<img src="assets/misc/star.png" /> |
|||
</div> |
|||
<h2 class="mt-2" style="font-family: 'Montserrat', sans-serif; font-size: 24px; font-weight: bold;">Our Services |
|||
</h2> |
|||
</div> |
|||
|
|||
<div class="container my-5"> |
|||
<div class="row"> |
|||
<div class="col-lg-4 d-flex flex-column justify-content-center align-items-center my-4"> |
|||
<div class="d-flex justify-content-center align-items-center mx-3 my-3" |
|||
style="background-color: #1dd1a1 !important; border-radius: 15px !important; height: 80px; width: 80px;"> |
|||
<img src="assets/icons/cogs.png" class="img-responsive" height="48px" width="48px"> |
|||
</div> |
|||
<h6 class="text-center" style="font-family: Montserrat, 'sans-serif' !important; font-weight: bold;"> |
|||
Odoo |
|||
Customization</h6> |
|||
</div> |
|||
|
|||
<div class="col-lg-4 d-flex flex-column justify-content-center align-items-center my-4"> |
|||
<div class="d-flex justify-content-center align-items-center mx-3 my-3" |
|||
style="background-color: #ff6b6b !important; border-radius: 15px !important; height: 80px; width: 80px;"> |
|||
<img src="assets/icons/wrench.png" class="img-responsive" height="48px" width="48px"> |
|||
</div> |
|||
<h6 class="text-center" style="font-family: Montserrat, 'sans-serif' !important; font-weight: bold;"> |
|||
Odoo |
|||
Implementation</h6> |
|||
</div> |
|||
|
|||
<div class="col-lg-4 d-flex flex-column justify-content-center align-items-center my-4"> |
|||
<div class="d-flex justify-content-center align-items-center mx-3 my-3" |
|||
style="background-color: #6462CD !important; border-radius: 15px !important; height: 80px; width: 80px;"> |
|||
<img src="assets/icons/lifebuoy.png" class="img-responsive" height="48px" width="48px"> |
|||
</div> |
|||
<h6 class="text-center" style="font-family: Montserrat, 'sans-serif' !important; font-weight: bold;"> |
|||
Odoo |
|||
Support</h6> |
|||
</div> |
|||
|
|||
|
|||
<div class="col-lg-4 d-flex flex-column justify-content-center align-items-center my-4"> |
|||
<div class="d-flex justify-content-center align-items-center mx-3 my-3" |
|||
style="background-color: #ffa801 !important; border-radius: 15px !important; height: 80px; width: 80px;"> |
|||
<img src="assets/icons/user.png" class="img-responsive" height="48px" width="48px"> |
|||
</div> |
|||
<h6 class="text-center" style="font-family: Montserrat, 'sans-serif' !important; font-weight: bold;"> |
|||
Hire |
|||
Odoo |
|||
Developer</h6> |
|||
</div> |
|||
|
|||
<div class="col-lg-4 d-flex flex-column justify-content-center align-items-center my-4"> |
|||
<div class="d-flex justify-content-center align-items-center mx-3 my-3" |
|||
style="background-color: #54a0ff !important; border-radius: 15px !important; height: 80px; width: 80px;"> |
|||
<img src="assets/icons/puzzle.png" class="img-responsive" height="48px" width="48px"> |
|||
</div> |
|||
<h6 class="text-center" style="font-family: Montserrat, 'sans-serif' !important; font-weight: bold;"> |
|||
Odoo |
|||
Integration</h6> |
|||
</div> |
|||
|
|||
<div class="col-lg-4 d-flex flex-column justify-content-center align-items-center my-4"> |
|||
<div class="d-flex justify-content-center align-items-center mx-3 my-3" |
|||
style="background-color: #6d7680 !important; border-radius: 15px !important; height: 80px; width: 80px;"> |
|||
<img src="assets/icons/update.png" class="img-responsive" height="48px" width="48px"> |
|||
</div> |
|||
<h6 class="text-center" style="font-family: Montserrat, 'sans-serif' !important; font-weight: bold;"> |
|||
Odoo |
|||
Migration</h6> |
|||
</div> |
|||
|
|||
|
|||
<div class="col-lg-4 d-flex flex-column justify-content-center align-items-center my-4"> |
|||
<div class="d-flex justify-content-center align-items-center mx-3 my-3" |
|||
style="background-color: #786fa6 !important; border-radius: 15px !important; height: 80px; width: 80px;"> |
|||
<img src="assets/icons/consultation.png" class="img-responsive" height="48px" width="48px"> |
|||
</div> |
|||
<h6 class="text-center" style="font-family: Montserrat, 'sans-serif' !important; font-weight: bold;"> |
|||
Odoo |
|||
Consultancy</h6> |
|||
</div> |
|||
|
|||
<div class="col-lg-4 d-flex flex-column justify-content-center align-items-center my-4"> |
|||
<div class="d-flex justify-content-center align-items-center mx-3 my-3" |
|||
style="background-color: #f8a5c2 !important; border-radius: 15px !important; height: 80px; width: 80px;"> |
|||
<img src="assets/icons/training.png" class="img-responsive" height="48px" width="48px"> |
|||
</div> |
|||
<h6 class="text-center" style="font-family: Montserrat, 'sans-serif' !important; font-weight: bold;"> |
|||
Odoo |
|||
Implementation</h6> |
|||
</div> |
|||
|
|||
<div class="col-lg-4 d-flex flex-column justify-content-center align-items-center my-4"> |
|||
<div class="d-flex justify-content-center align-items-center mx-3 my-3" |
|||
style="background-color: #e6be26 !important; border-radius: 15px !important; height: 80px; width: 80px;"> |
|||
<img src="assets/icons/license.png" class="img-responsive" height="48px" width="48px"> |
|||
</div> |
|||
<h6 class="text-center" style="font-family: Montserrat, 'sans-serif' !important; font-weight: bold;"> |
|||
Odoo |
|||
Licensing Consultancy</h6> |
|||
</div> |
|||
</div> |
|||
|
|||
</div> |
|||
|
|||
<!-- END OF END OF OUR SERVICES --> |
|||
|
|||
<!-- OUR INDUSTRIES --> |
|||
|
|||
<div class="d-flex align-items-center" style="border-bottom: 2px solid #714B67; padding: 15px 0px;"> |
|||
<div class="d-flex justify-content-center align-items-center mr-2" |
|||
style="background-color: #F5F5F5; border-radius: 0px; width: 40px; height: 40px;"> |
|||
<img src="assets/misc/corporate.png" /> |
|||
</div> |
|||
<h2 class="mt-2" style="font-family: 'Montserrat', sans-serif; font-size: 24px; font-weight: bold;">Our |
|||
Industries |
|||
</h2> |
|||
</div> |
|||
|
|||
<div class="container my-5"> |
|||
<div class="row"> |
|||
<div class="col-lg-3"> |
|||
<div class="my-4 d-flex flex-column justify-content-center" |
|||
style="background-color: #f6f8f9 !important; border-radius: 0px; padding: 2rem !important; height: 250px !important;"> |
|||
<img src="assets/icons/trading-black.png" class="img-responsive mb-3" height="48px" width="48px"> |
|||
<h5 style="font-family: Montserrat, sans-serif !important; color: #000 !important; font-weight: bold;"> |
|||
Trading |
|||
</h5> |
|||
<p style="font-family: Montserrat, sans-serif !important; font-size: 0.9rem !important;"> |
|||
Easily procure |
|||
and |
|||
sell your products</p> |
|||
</div> |
|||
</div> |
|||
|
|||
<div class="col-lg-3"> |
|||
<div class="my-4 d-flex flex-column justify-content-center" |
|||
style="background-color: #f6f8f9 !important; border-radius: 0px; padding: 2rem !important; height: 250px !important;"> |
|||
<img src="assets/icons/pos-black.png" class="img-responsive mb-3" height="48px" width="48px"> |
|||
<h5 style="font-family: Montserrat, sans-serif !important; color: #000 !important; font-weight: bold;"> |
|||
POS |
|||
</h5> |
|||
<p style="font-family: Montserrat, sans-serif !important; font-size: 0.9rem !important;"> |
|||
Easy |
|||
configuration |
|||
and convivial experience</p> |
|||
</div> |
|||
</div> |
|||
|
|||
<div class="col-lg-3"> |
|||
<div class="my-4 d-flex flex-column justify-content-center" |
|||
style="background-color: #f6f8f9 !important; border-radius: 0px; padding: 2rem !important; height: 250px !important;"> |
|||
<img src="assets/icons/education-black.png" class="img-responsive mb-3" height="48px" width="48px"> |
|||
<h5 style="font-family: Montserrat, sans-serif !important; color: #000 !important; font-weight: bold;"> |
|||
Education |
|||
</h5> |
|||
<p style="font-family: Montserrat, sans-serif !important; font-size: 0.9rem !important;"> |
|||
A platform for |
|||
educational management</p> |
|||
</div> |
|||
</div> |
|||
|
|||
<div class="col-lg-3"> |
|||
<div class="my-4 d-flex flex-column justify-content-center" |
|||
style="background-color: #f6f8f9 !important; border-radius: 0px; padding: 2rem !important; height: 250px !important;"> |
|||
<img src="assets/icons/manufacturing-black.png" class="img-responsive mb-3" height="48px" |
|||
width="48px"> |
|||
<h5 style="font-family: Montserrat, sans-serif !important; color: #000 !important; font-weight: bold;"> |
|||
Manufacturing |
|||
</h5> |
|||
<p style="font-family: Montserrat, sans-serif !important; font-size: 0.9rem !important;"> |
|||
Plan, track and |
|||
schedule your operations</p> |
|||
</div> |
|||
</div> |
|||
|
|||
<div class="col-lg-3"> |
|||
<div class="my-4 d-flex flex-column justify-content-center" |
|||
style="background-color: #f6f8f9 !important; border-radius: 0px; padding: 2rem !important; height: 250px !important;"> |
|||
<img src="assets/icons/ecom-black.png" class="img-responsive mb-3" height="48px" width="48px"> |
|||
<h5 style="font-family: Montserrat, sans-serif !important; color: #000 !important; font-weight: bold;"> |
|||
E-commerce & Website |
|||
</h5> |
|||
<p style="font-family: Montserrat, sans-serif !important; font-size: 0.9rem !important;"> |
|||
Mobile |
|||
friendly, |
|||
awe-inspiring product pages</p> |
|||
</div> |
|||
</div> |
|||
|
|||
<div class="col-lg-3"> |
|||
<div class="my-4 d-flex flex-column justify-content-center" |
|||
style="background-color: #f6f8f9 !important; border-radius: 0px; padding: 2rem !important; height: 250px !important;"> |
|||
<img src="assets/icons/service-black.png" class="img-responsive mb-3" height="48px" width="48px"> |
|||
<h5 style="font-family: Montserrat, sans-serif !important; color: #000 !important; font-weight: bold;"> |
|||
Service Management |
|||
</h5> |
|||
<p style="font-family: Montserrat, sans-serif !important; font-size: 0.9rem !important;"> |
|||
Keep track of |
|||
services and invoice</p> |
|||
</div> |
|||
</div> |
|||
|
|||
<div class="col-lg-3"> |
|||
<div class="my-4 d-flex flex-column justify-content-center" |
|||
style="background-color: #f6f8f9 !important; border-radius: 0px; padding: 2rem !important; height: 250px !important;"> |
|||
<img src="assets/icons/restaurant-black.png" class="img-responsive mb-3" height="48px" width="48px"> |
|||
<h5 style="font-family: Montserrat, sans-serif !important; color: #000 !important; font-weight: bold;"> |
|||
Restaurant |
|||
</h5> |
|||
<p style="font-family: Montserrat, sans-serif !important; font-size: 0.9rem !important;"> |
|||
Run your bar or |
|||
restaurant methodically</p> |
|||
</div> |
|||
</div> |
|||
|
|||
<div class="col-lg-3"> |
|||
<div class="my-4 d-flex flex-column justify-content-center" |
|||
style="background-color: #f6f8f9 !important; border-radius: 0px; padding: 2rem !important; height: 250px !important;"> |
|||
<img src="assets/icons/hotel-black.png" class="img-responsive mb-3" height="48px" width="48px"> |
|||
<h5 style="font-family: Montserrat, sans-serif !important; color: #000 !important; font-weight: bold;"> |
|||
Hotel Management |
|||
</h5> |
|||
<p style="font-family: Montserrat, sans-serif !important; font-size: 0.9rem !important;"> |
|||
An |
|||
all-inclusive |
|||
hotel management application</p> |
|||
</div> |
|||
</div> |
|||
</div> |
|||
</div> |
|||
|
|||
<!-- END OF END OF OUR INDUSTRIES --> |
|||
|
|||
<!-- SUPPORT --> |
|||
<div class="d-flex align-items-center" style="border-bottom: 2px solid #714B67; padding: 15px 0px;"> |
|||
<div class="d-flex justify-content-center align-items-center mr-2" |
|||
style="background-color: #F5F5F5; border-radius: 0px; width: 40px; height: 40px;"> |
|||
<img src="assets/misc/customer-support.png" /> |
|||
</div> |
|||
<h2 class="mt-2" style="font-family: 'Montserrat', sans-serif; font-size: 24px; font-weight: bold;">Support |
|||
</h2> |
|||
</div> |
|||
<div class="container mt-5"> |
|||
<div class="row"> |
|||
<div class="col-sm-12 col-md-6"> |
|||
<div style="background-color: #F6F8F9; padding: 30px; display: flex; align-items: center;"> |
|||
<div class="mr-4" |
|||
style="background-color: #714B67; display: inline-block; height: 70px; width: 70px; display: flex; align-items: center; justify-content: center;"> |
|||
<img src="assets/misc/support.png" height="48" width="48" style="width: 42px; height: 42px;" /> |
|||
</div> |
|||
<div> |
|||
<h4>Need Help?</h4> |
|||
<p style="line-height: 100%;">Got questions or need help? Get in touch.</p> |
|||
<a href="mailto:odoo@cybrosys.com"> |
|||
<p style="font-weight: 400; font-size: 28px; line-height: 80%; color: #714B67;"> |
|||
odoo@cybrosys.com</p> |
|||
</a> |
|||
</div> |
|||
</div> |
|||
</div> |
|||
<div class="col-sm-12 col-md-6"> |
|||
<div style="background-color: #F6F8F9; padding: 30px; display: flex; align-items: center;"> |
|||
<div class="mr-4" |
|||
style="background-color: #2AC44D; display: inline-block; height: 70px; width: 70px; display: flex; align-items: center; justify-content: center;"> |
|||
<img src="assets/misc/whatsapp.png" height="52" width="52" style="width: 52px; height: 52px;" /> |
|||
</div> |
|||
<div> |
|||
<h4>WhatsApp</h4> |
|||
<p style="line-height: 100%;">Say hi to us on WhatsApp!</p> |
|||
<a href="https://api.whatsapp.com/send?phone=918606827707"> |
|||
<p style="font-weight: 400; font-size: 28px; line-height: 80%; color: #714B67;">+91 86068 |
|||
27707</p> |
|||
</a> |
|||
</div> |
|||
</div> |
|||
</div> |
|||
</div> |
|||
<div class="row"> |
|||
<div class="col-sm-12 my-5 d-flex justify-content-center align-items-center"> |
|||
<img src="assets/misc/logo.png" width="144" height="31" |
|||
style="width:144px; height: 31px; margin-top: 40px;" /> |
|||
</div> |
|||
</div> |
|||
</div> |
|||
<!-- END OF SUPPORT --> |
@ -0,0 +1,30 @@ |
|||
<?xml version="1.0" encoding="utf-8"?> |
|||
<odoo> |
|||
<record id="setting_inherit" model="ir.ui.view"> |
|||
<field name="name">accounting.setting.form.inherit</field> |
|||
<field name="model">res.config.settings</field> |
|||
<field name="inherit_id" ref="account.res_config_settings_view_form"/> |
|||
<field name="arch" type="xml"> |
|||
<xpath expr="//div[@id='account_vendor_bills']" position="after"> |
|||
<h2>QR CODE</h2> |
|||
<div class="row mt16 o_settings_container" id="account_qr"> |
|||
<div class="col-xs-12 col-md-6 o_setting_box" id="show_qr"> |
|||
<div class="o_setting_left_pane"> |
|||
<field name="is_qr" widget="upgrade_boolean"/> |
|||
</div> |
|||
<div class="o_setting_right_pane" name="is_qr_right"> |
|||
<label for="is_qr"/> |
|||
<div class="text-muted"> |
|||
QR Code Generation Method |
|||
</div> |
|||
<br/> |
|||
<div id="qr_code" class="content-group"> |
|||
<field name="generate_qr" widget="radio" attrs="{'invisible': [('is_qr', '=', False)]}"/> |
|||
</div> |
|||
</div> |
|||
</div> |
|||
</div> |
|||
</xpath> |
|||
</field> |
|||
</record> |
|||
</odoo> |
@ -0,0 +1,23 @@ |
|||
<?xml version="1.0" encoding="utf-8"?> |
|||
<odoo> |
|||
<record id="invoice_view_form" model="ir.ui.view"> |
|||
<field name="name">res.invoice.form.inherit</field> |
|||
<field name="model">account.move</field> |
|||
<field name="inherit_id" ref="account.view_move_form"/> |
|||
<field name="arch" type="xml"> |
|||
<xpath expr="//notebook/page[@id='other_tab']" position="after"> |
|||
<page string="QR Code"> |
|||
<group> |
|||
<group> |
|||
<label for="qr"/> |
|||
<field name="qr" widget='image' nolabel="1" attrs="{'invisible': [('state', '!=', 'posted')]}"/> |
|||
</group> |
|||
</group> |
|||
</page> |
|||
</xpath> |
|||
<xpath expr="header" position="inside"> |
|||
<button name="generate_qr_button" string="Generate QR" type="object"/> |
|||
</xpath> |
|||
</field> |
|||
</record> |
|||
</odoo> |
@ -0,0 +1,25 @@ |
|||
<?xml version="1.0" encoding="UTF-8" ?> |
|||
<odoo> |
|||
<record id="action_vat_invoice" model="ir.actions.report"> |
|||
<field name="name">VAT Invoice</field> |
|||
<field name="model">account.move</field> |
|||
<field name="report_type">qweb-pdf</field> |
|||
<field name="report_name">advanced_vat_invoice.vat_template</field> |
|||
<field name="report_file">advanced_vat_invoice.vat_template</field> |
|||
<field name="print_report_name">(object._get_report_base_filename())</field> |
|||
<field name="binding_model_id" ref="model_account_move"/> |
|||
<field name="binding_type">report</field> |
|||
</record> |
|||
|
|||
<record id="action_tax_invoice" model="ir.actions.report"> |
|||
<field name="name">Simplified Tax invoice</field> |
|||
<field name="model">account.move</field> |
|||
<field name="report_type">qweb-pdf</field> |
|||
<field name="report_name">advanced_vat_invoice.simplified_tax_template</field> |
|||
<field name="report_file">advanced_vat_invoice.simplified_tax_template</field> |
|||
<field name="print_report_name">(object._get_report_base_filename())</field> |
|||
<field name="binding_model_id" ref="model_account_move"/> |
|||
<field name="binding_type">report</field> |
|||
</record> |
|||
|
|||
</odoo> |