diff --git a/advanced_vat_invoice/README.rst b/advanced_vat_invoice/README.rst new file mode 100644 index 000000000..4c241a942 --- /dev/null +++ b/advanced_vat_invoice/README.rst @@ -0,0 +1,52 @@ +.. image:: https://img.shields.io/badge/licence-AGPL--3-blue.svg + :target: https://www.gnu.org/licenses/agpl-3.0-standalone.html + :alt: License: AGPL-3 + +e-Invoicing For Saudi |Saudi VAT Invoice |Saudi Electronic Invoice | Saudi Zatca +================================================================================ +This module allow us to print vat invoice report and simplified tax invoice +report in arabic language and also this module have an option for generating +qr code and display invoice reports while scanning the QR code. + +License +------- +General Public License, Version 3 (AGPL v3). +https://www.gnu.org/licenses/agpl-3.0-standalone.html + +Configuration +============= +* Select QR code generation method from Configuration --> Settings --> QR Code + +Company +------- +* `Cybrosys Techno Solutions `__ + +Credits +------- +Developer: + (V15) Jumana Haseen, + (V16) Athira P S +Contact: odoo@cybrosys.com + +Contacts +-------- +* Mail Contact : odoo@cybrosys.com +* Website : https://cybrosys.com + +Bug Tracker +----------- +Bugs are tracked on GitHub Issues. In case of trouble, please check there if +your issue has already been reported. + +Maintainer +========== +.. image:: https://cybrosys.com/images/logo.png + :target: https://cybrosys.com + +This module is maintained by Cybrosys Technologies. + +For support and more information, please visit `Our Website `__ + +Further information +=================== +HTML Description: ``__ diff --git a/advanced_vat_invoice/__init__.py b/advanced_vat_invoice/__init__.py new file mode 100644 index 000000000..2b58df19f --- /dev/null +++ b/advanced_vat_invoice/__init__.py @@ -0,0 +1,22 @@ +# -*- coding: utf-8 -*- +############################################################################### +# +# Cybrosys Technologies Pvt. Ltd. +# +# Copyright (C) 2024-TODAY Cybrosys Technologies(). +# Author: Jumana Haseen (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 . + +############################################################################### +from . import models diff --git a/advanced_vat_invoice/__manifest__.py b/advanced_vat_invoice/__manifest__.py new file mode 100644 index 000000000..a35ddaeca --- /dev/null +++ b/advanced_vat_invoice/__manifest__.py @@ -0,0 +1,48 @@ +# -*- coding: utf-8 -*- +############################################################################### +# +# Cybrosys Technologies Pvt. Ltd. +# +# Copyright (C) 2024-TODAY Cybrosys Technologies(). +# Author: Jumana Haseen (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 . + +############################################################################### +{ + 'name': 'e-Invoicing For Saudi | Saudi VAT Invoice | Saudi ' + 'Electronic Invoice | Saudi Zatca', + 'version': '15.0.1.0.0', + 'category': 'Accounting', + 'summary': "Module for e-Invoicing For Saudi | Saudi VAT Invoice | Saudi " + "Electronic Invoice | Saudi Zatca", + 'description': "e-Invoicing For Saudi,Saudi VAT Invoice,Saudi Electronic " + "Invoice,Saudi Zatca,Zatca,Saudi,e-Invoicing", + 'author': 'Cybrosys Techno Solutions', + 'company': 'Cybrosys Techno Solutions', + 'maintainer': 'Cybrosys Techno Solutions', + 'website': 'https://www.cybrosys.com', + 'depends': ['base', 'account'], + 'data': [ + 'views/res_config_settings_views.xml', + 'views/account_move_views.xml', + 'report/account_move_reports.xml', + 'report/vat_invoice_report_templates.xml', + 'report/simplified_tax_report_templates.xml' + ], + 'images': ['static/description/banner.png'], + 'license': 'AGPL-3', + 'installable': True, + 'application': False, + 'auto_install': False, +} diff --git a/advanced_vat_invoice/doc/RELEASE_NOTES.md b/advanced_vat_invoice/doc/RELEASE_NOTES.md new file mode 100755 index 000000000..2e3023ef4 --- /dev/null +++ b/advanced_vat_invoice/doc/RELEASE_NOTES.md @@ -0,0 +1,8 @@ +## Module + +#### 14.05.2024 +#### Version 15.0.1.0.0 +##### ADD + +- Initial Commit for e-Invoicing For Saudi | Saudi VAT Invoice | Saudi ' + 'Electronic Invoice | Saudi Zatca diff --git a/advanced_vat_invoice/models/__init__.py b/advanced_vat_invoice/models/__init__.py new file mode 100644 index 000000000..7daa83bc9 --- /dev/null +++ b/advanced_vat_invoice/models/__init__.py @@ -0,0 +1,23 @@ +# -*- coding: utf-8 -*- +############################################################################### +# +# Cybrosys Technologies Pvt. Ltd. +# +# Copyright (C) 2024-TODAY Cybrosys Technologies(). +# Author: Jumana Haseen (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 . + +############################################################################### +from . import account_move +from . import res_config_settings diff --git a/advanced_vat_invoice/models/account_move.py b/advanced_vat_invoice/models/account_move.py new file mode 100644 index 000000000..0812d5cf3 --- /dev/null +++ b/advanced_vat_invoice/models/account_move.py @@ -0,0 +1,174 @@ +# -*- coding: utf-8 -*- +############################################################################### +# +# Cybrosys Technologies Pvt. Ltd. +# +# Copyright (C) 2024-TODAY Cybrosys Technologies(). +# Author: Jumana Haseen (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 . + +############################################################################### +from io import BytesIO +import binascii +import pytz + +from odoo import api, fields, models, _ +from odoo.exceptions import UserError +from odoo.tools import DEFAULT_SERVER_DATETIME_FORMAT + +try: + import qrcode +except ImportError: + qrcode = None +try: + import base64 +except ImportError: + base64 = None + + +class AccountMove(models.Model): + """Class for adding new button and a page in account move""" + _inherit = 'account.move' + + qr = fields.Binary(string="QR Code", compute='generate_qrcode', store=True, + help="QR code") + qr_button = fields.Boolean(string="Qr Button", compute="_compute_qr", + help="Is QR button is enable or not") + qr_page = fields.Boolean(string="Qr Page", compute="_compute_qr", + help="Is QR page is enable or not") + + @api.depends('qr_button') + def _compute_qr(self): + """Compute function for checking the value of a field in settings""" + for record in self: + qr_code = self.env['ir.config_parameter'].sudo().get_param( + 'advanced_vat_invoice.is_qr') + qr_code_generate_method = self.env[ + 'ir.config_parameter'].sudo().get_param( + 'advanced_vat_invoice.generate_qr') + record.qr_button = True if qr_code and qr_code_generate_method == 'manually' else False + record.qr_page = True if (qr_code and record.state in ['posted', + 'cancelled'] + and qr_code_generate_method == 'manually' + or qr_code_generate_method == 'automatically') \ + else False + + def timezone(self, userdate): + """Function to convert a user's date to their timezone.""" + 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): + """Convert a string to a hexadecimal representation.""" + 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): + """Generate a hex value with tag, length, and 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): + """Generate QR code data for the current record.""" + seller_name = str(self.company_id.name) + seller_vat_no = self.company_id.vat or '' + seller_hex = self.hexa("01", "0c", seller_name) + 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) + amount_total = self.currency_id._convert( + self.amount_total, + self.env.ref('base.SAR'), + self.env.company, self.invoice_date or fields.Date.today()) + total_with_vat_hex = self.hexa("04", "0a", + str(round(amount_total, 2))) + amount_tax = self.currency_id._convert( + self.amount_tax, + self.env.ref('base.SAR'), + self.env.company, self.invoice_date or fields.Date.today()) + total_vat_hex = self.hexa("05", "09", + str(round(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): + """Generate and save QR code after the invoice is posted.""" + 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): + """Manually generate and save QR code.""" + 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')) diff --git a/advanced_vat_invoice/models/res_config_settings.py b/advanced_vat_invoice/models/res_config_settings.py new file mode 100644 index 000000000..44f0cfc2a --- /dev/null +++ b/advanced_vat_invoice/models/res_config_settings.py @@ -0,0 +1,55 @@ +# -*- coding: utf-8 -*- +############################################################################### +# +# Cybrosys Technologies Pvt. Ltd. +# +# Copyright (C) 2024-TODAY Cybrosys Technologies(). +# Author: Jumana Haseen (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 . + +############################################################################### +from odoo import api, fields, models + + +class ResConfigSettings(models.TransientModel): + """Class foe adding qr code generation configuration""" + _inherit = 'res.config.settings' + + generate_qr = fields.Selection( + [('automatically', 'Generate QR Code when invoice validate/post'), + ('manually', 'Manually Generate')], string="Generate", + help="Select the way of generating QR code") + is_qr = fields.Boolean(string="QR Code", + help="QR code Generation Configuration") + + @api.model + def get_values(self): + """Get the current configuration values.""" + res = super().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): + """Set the configuration values.""" + super().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) diff --git a/advanced_vat_invoice/report/account_move_reports.xml b/advanced_vat_invoice/report/account_move_reports.xml new file mode 100644 index 000000000..b616cd8b8 --- /dev/null +++ b/advanced_vat_invoice/report/account_move_reports.xml @@ -0,0 +1,45 @@ + + + + + VAT Invoice + account.move + qweb-pdf + advanced_vat_invoice.vat_template + advanced_vat_invoice.vat_template + + report + + + + VAT Invoice + account.move + qweb-pdf + advanced_vat_invoice.vat_template + advanced_vat_invoice.vat_template + (object._get_report_base_filename()) + + report + + + + Simplified Tax + account.move + qweb-pdf + advanced_vat_invoice.simplified_tax_template + advanced_vat_invoice.simplified_tax_template + + report + + + + Simplified Tax invoice + account.move + qweb-pdf + advanced_vat_invoice.simplified_tax_template + advanced_vat_invoice.simplified_tax_template + (object._get_report_base_filename()) + + report + + diff --git a/advanced_vat_invoice/report/simplified_tax_report_templates.xml b/advanced_vat_invoice/report/simplified_tax_report_templates.xml new file mode 100644 index 000000000..af6e5f41e --- /dev/null +++ b/advanced_vat_invoice/report/simplified_tax_report_templates.xml @@ -0,0 +1,157 @@ + + + + + diff --git a/advanced_vat_invoice/report/vat_invoice_report_templates.xml b/advanced_vat_invoice/report/vat_invoice_report_templates.xml new file mode 100644 index 000000000..6f66a5626 --- /dev/null +++ b/advanced_vat_invoice/report/vat_invoice_report_templates.xml @@ -0,0 +1,378 @@ + + + + + diff --git a/advanced_vat_invoice/security/ir.model.access.csv b/advanced_vat_invoice/security/ir.model.access.csv new file mode 100644 index 000000000..d039f9a1b --- /dev/null +++ b/advanced_vat_invoice/security/ir.model.access.csv @@ -0,0 +1,2 @@ +id,name,model_id:id,group_id:id,perm_read,perm_write,perm_create,perm_unlink +access_report_saudi_vat_invoice_vat_template,access.report.saudi_vat_invoice.vat_template,model_report_saudi_vat_invoice_vat_template,base.group_user,1,1,1,1 diff --git a/advanced_vat_invoice/static/description/assets/icons/check.png b/advanced_vat_invoice/static/description/assets/icons/check.png new file mode 100644 index 000000000..c8e85f51d Binary files /dev/null and b/advanced_vat_invoice/static/description/assets/icons/check.png differ diff --git a/advanced_vat_invoice/static/description/assets/icons/chevron.png b/advanced_vat_invoice/static/description/assets/icons/chevron.png new file mode 100644 index 000000000..2089293d6 Binary files /dev/null and b/advanced_vat_invoice/static/description/assets/icons/chevron.png differ diff --git a/advanced_vat_invoice/static/description/assets/icons/cogs.png b/advanced_vat_invoice/static/description/assets/icons/cogs.png new file mode 100644 index 000000000..95d0bad62 Binary files /dev/null and b/advanced_vat_invoice/static/description/assets/icons/cogs.png differ diff --git a/advanced_vat_invoice/static/description/assets/icons/consultation.png b/advanced_vat_invoice/static/description/assets/icons/consultation.png new file mode 100644 index 000000000..8319d4baa Binary files /dev/null and b/advanced_vat_invoice/static/description/assets/icons/consultation.png differ diff --git a/advanced_vat_invoice/static/description/assets/icons/ecom-black.png b/advanced_vat_invoice/static/description/assets/icons/ecom-black.png new file mode 100644 index 000000000..a9385ff13 Binary files /dev/null and b/advanced_vat_invoice/static/description/assets/icons/ecom-black.png differ diff --git a/advanced_vat_invoice/static/description/assets/icons/education-black.png b/advanced_vat_invoice/static/description/assets/icons/education-black.png new file mode 100644 index 000000000..3eb09b27b Binary files /dev/null and b/advanced_vat_invoice/static/description/assets/icons/education-black.png differ diff --git a/advanced_vat_invoice/static/description/assets/icons/hotel-black.png b/advanced_vat_invoice/static/description/assets/icons/hotel-black.png new file mode 100644 index 000000000..130f613be Binary files /dev/null and b/advanced_vat_invoice/static/description/assets/icons/hotel-black.png differ diff --git a/advanced_vat_invoice/static/description/assets/icons/license.png b/advanced_vat_invoice/static/description/assets/icons/license.png new file mode 100644 index 000000000..a5869797e Binary files /dev/null and b/advanced_vat_invoice/static/description/assets/icons/license.png differ diff --git a/advanced_vat_invoice/static/description/assets/icons/lifebuoy.png b/advanced_vat_invoice/static/description/assets/icons/lifebuoy.png new file mode 100644 index 000000000..658d56ccc Binary files /dev/null and b/advanced_vat_invoice/static/description/assets/icons/lifebuoy.png differ diff --git a/advanced_vat_invoice/static/description/assets/icons/manufacturing-black.png b/advanced_vat_invoice/static/description/assets/icons/manufacturing-black.png new file mode 100644 index 000000000..697eb0e9f Binary files /dev/null and b/advanced_vat_invoice/static/description/assets/icons/manufacturing-black.png differ diff --git a/advanced_vat_invoice/static/description/assets/icons/pos-black.png b/advanced_vat_invoice/static/description/assets/icons/pos-black.png new file mode 100644 index 000000000..97c0f90c1 Binary files /dev/null and b/advanced_vat_invoice/static/description/assets/icons/pos-black.png differ diff --git a/advanced_vat_invoice/static/description/assets/icons/puzzle.png b/advanced_vat_invoice/static/description/assets/icons/puzzle.png new file mode 100644 index 000000000..65cf854e7 Binary files /dev/null and b/advanced_vat_invoice/static/description/assets/icons/puzzle.png differ diff --git a/advanced_vat_invoice/static/description/assets/icons/restaurant-black.png b/advanced_vat_invoice/static/description/assets/icons/restaurant-black.png new file mode 100644 index 000000000..4a35eb939 Binary files /dev/null and b/advanced_vat_invoice/static/description/assets/icons/restaurant-black.png differ diff --git a/advanced_vat_invoice/static/description/assets/icons/service-black.png b/advanced_vat_invoice/static/description/assets/icons/service-black.png new file mode 100644 index 000000000..301ab51cb Binary files /dev/null and b/advanced_vat_invoice/static/description/assets/icons/service-black.png differ diff --git a/advanced_vat_invoice/static/description/assets/icons/trading-black.png b/advanced_vat_invoice/static/description/assets/icons/trading-black.png new file mode 100644 index 000000000..9398ba2f1 Binary files /dev/null and b/advanced_vat_invoice/static/description/assets/icons/trading-black.png differ diff --git a/advanced_vat_invoice/static/description/assets/icons/training.png b/advanced_vat_invoice/static/description/assets/icons/training.png new file mode 100644 index 000000000..884ca024d Binary files /dev/null and b/advanced_vat_invoice/static/description/assets/icons/training.png differ diff --git a/advanced_vat_invoice/static/description/assets/icons/update.png b/advanced_vat_invoice/static/description/assets/icons/update.png new file mode 100644 index 000000000..ecbc5a01a Binary files /dev/null and b/advanced_vat_invoice/static/description/assets/icons/update.png differ diff --git a/advanced_vat_invoice/static/description/assets/icons/user.png b/advanced_vat_invoice/static/description/assets/icons/user.png new file mode 100644 index 000000000..6ffb23d9f Binary files /dev/null and b/advanced_vat_invoice/static/description/assets/icons/user.png differ diff --git a/advanced_vat_invoice/static/description/assets/icons/wrench.png b/advanced_vat_invoice/static/description/assets/icons/wrench.png new file mode 100644 index 000000000..6c04dea0f Binary files /dev/null and b/advanced_vat_invoice/static/description/assets/icons/wrench.png differ diff --git a/advanced_vat_invoice/static/description/assets/misc/categories.png b/advanced_vat_invoice/static/description/assets/misc/categories.png new file mode 100644 index 000000000..bedf1e0b1 Binary files /dev/null and b/advanced_vat_invoice/static/description/assets/misc/categories.png differ diff --git a/advanced_vat_invoice/static/description/assets/misc/check-box.png b/advanced_vat_invoice/static/description/assets/misc/check-box.png new file mode 100644 index 000000000..42caf24b9 Binary files /dev/null and b/advanced_vat_invoice/static/description/assets/misc/check-box.png differ diff --git a/advanced_vat_invoice/static/description/assets/misc/compass.png b/advanced_vat_invoice/static/description/assets/misc/compass.png new file mode 100644 index 000000000..d5fed8faa Binary files /dev/null and b/advanced_vat_invoice/static/description/assets/misc/compass.png differ diff --git a/advanced_vat_invoice/static/description/assets/misc/corporate.png b/advanced_vat_invoice/static/description/assets/misc/corporate.png new file mode 100644 index 000000000..2eb13edbf Binary files /dev/null and b/advanced_vat_invoice/static/description/assets/misc/corporate.png differ diff --git a/advanced_vat_invoice/static/description/assets/misc/customer-support.png b/advanced_vat_invoice/static/description/assets/misc/customer-support.png new file mode 100644 index 000000000..79efc72ed Binary files /dev/null and b/advanced_vat_invoice/static/description/assets/misc/customer-support.png differ diff --git a/advanced_vat_invoice/static/description/assets/misc/cybrosys-logo.png b/advanced_vat_invoice/static/description/assets/misc/cybrosys-logo.png new file mode 100644 index 000000000..cc3cc0ccf Binary files /dev/null and b/advanced_vat_invoice/static/description/assets/misc/cybrosys-logo.png differ diff --git a/advanced_vat_invoice/static/description/assets/misc/features.png b/advanced_vat_invoice/static/description/assets/misc/features.png new file mode 100644 index 000000000..b41769f77 Binary files /dev/null and b/advanced_vat_invoice/static/description/assets/misc/features.png differ diff --git a/advanced_vat_invoice/static/description/assets/misc/logo.png b/advanced_vat_invoice/static/description/assets/misc/logo.png new file mode 100644 index 000000000..478462d3e Binary files /dev/null and b/advanced_vat_invoice/static/description/assets/misc/logo.png differ diff --git a/advanced_vat_invoice/static/description/assets/misc/pictures.png b/advanced_vat_invoice/static/description/assets/misc/pictures.png new file mode 100644 index 000000000..56d255fe9 Binary files /dev/null and b/advanced_vat_invoice/static/description/assets/misc/pictures.png differ diff --git a/advanced_vat_invoice/static/description/assets/misc/pie-chart.png b/advanced_vat_invoice/static/description/assets/misc/pie-chart.png new file mode 100644 index 000000000..426e05244 Binary files /dev/null and b/advanced_vat_invoice/static/description/assets/misc/pie-chart.png differ diff --git a/advanced_vat_invoice/static/description/assets/misc/right-arrow.png b/advanced_vat_invoice/static/description/assets/misc/right-arrow.png new file mode 100644 index 000000000..730984a06 Binary files /dev/null and b/advanced_vat_invoice/static/description/assets/misc/right-arrow.png differ diff --git a/advanced_vat_invoice/static/description/assets/misc/star.png b/advanced_vat_invoice/static/description/assets/misc/star.png new file mode 100644 index 000000000..2eb9ab29f Binary files /dev/null and b/advanced_vat_invoice/static/description/assets/misc/star.png differ diff --git a/advanced_vat_invoice/static/description/assets/misc/support.png b/advanced_vat_invoice/static/description/assets/misc/support.png new file mode 100644 index 000000000..4f18b8b82 Binary files /dev/null and b/advanced_vat_invoice/static/description/assets/misc/support.png differ diff --git a/advanced_vat_invoice/static/description/assets/misc/whatsapp.png b/advanced_vat_invoice/static/description/assets/misc/whatsapp.png new file mode 100644 index 000000000..d513a5356 Binary files /dev/null and b/advanced_vat_invoice/static/description/assets/misc/whatsapp.png differ diff --git a/advanced_vat_invoice/static/description/assets/modules/1.png b/advanced_vat_invoice/static/description/assets/modules/1.png new file mode 100644 index 000000000..b3aead22f Binary files /dev/null and b/advanced_vat_invoice/static/description/assets/modules/1.png differ diff --git a/advanced_vat_invoice/static/description/assets/modules/2.png b/advanced_vat_invoice/static/description/assets/modules/2.png new file mode 100644 index 000000000..45690ceb7 Binary files /dev/null and b/advanced_vat_invoice/static/description/assets/modules/2.png differ diff --git a/advanced_vat_invoice/static/description/assets/modules/3.png b/advanced_vat_invoice/static/description/assets/modules/3.png new file mode 100644 index 000000000..2b3ff9ba1 Binary files /dev/null and b/advanced_vat_invoice/static/description/assets/modules/3.png differ diff --git a/advanced_vat_invoice/static/description/assets/modules/4.png b/advanced_vat_invoice/static/description/assets/modules/4.png new file mode 100644 index 000000000..d31bfc89c Binary files /dev/null and b/advanced_vat_invoice/static/description/assets/modules/4.png differ diff --git a/advanced_vat_invoice/static/description/assets/modules/5.png b/advanced_vat_invoice/static/description/assets/modules/5.png new file mode 100644 index 000000000..4ffdf7cf5 Binary files /dev/null and b/advanced_vat_invoice/static/description/assets/modules/5.png differ diff --git a/advanced_vat_invoice/static/description/assets/modules/6.png b/advanced_vat_invoice/static/description/assets/modules/6.png new file mode 100644 index 000000000..81d322f99 Binary files /dev/null and b/advanced_vat_invoice/static/description/assets/modules/6.png differ diff --git a/advanced_vat_invoice/static/description/assets/screenshots/1.png b/advanced_vat_invoice/static/description/assets/screenshots/1.png new file mode 100644 index 000000000..ec9d7faa8 Binary files /dev/null and b/advanced_vat_invoice/static/description/assets/screenshots/1.png differ diff --git a/advanced_vat_invoice/static/description/assets/screenshots/2.png b/advanced_vat_invoice/static/description/assets/screenshots/2.png new file mode 100644 index 000000000..9f8feafa7 Binary files /dev/null and b/advanced_vat_invoice/static/description/assets/screenshots/2.png differ diff --git a/advanced_vat_invoice/static/description/assets/screenshots/3.png b/advanced_vat_invoice/static/description/assets/screenshots/3.png new file mode 100644 index 000000000..a1263fd71 Binary files /dev/null and b/advanced_vat_invoice/static/description/assets/screenshots/3.png differ diff --git a/advanced_vat_invoice/static/description/assets/screenshots/4.png b/advanced_vat_invoice/static/description/assets/screenshots/4.png new file mode 100644 index 000000000..8c8285eb9 Binary files /dev/null and b/advanced_vat_invoice/static/description/assets/screenshots/4.png differ diff --git a/advanced_vat_invoice/static/description/assets/screenshots/5.png b/advanced_vat_invoice/static/description/assets/screenshots/5.png new file mode 100644 index 000000000..40ec95065 Binary files /dev/null and b/advanced_vat_invoice/static/description/assets/screenshots/5.png differ diff --git a/advanced_vat_invoice/static/description/assets/screenshots/6.png b/advanced_vat_invoice/static/description/assets/screenshots/6.png new file mode 100644 index 000000000..36cbc5012 Binary files /dev/null and b/advanced_vat_invoice/static/description/assets/screenshots/6.png differ diff --git a/advanced_vat_invoice/static/description/assets/screenshots/hero.gif b/advanced_vat_invoice/static/description/assets/screenshots/hero.gif new file mode 100644 index 000000000..326e8fe09 Binary files /dev/null and b/advanced_vat_invoice/static/description/assets/screenshots/hero.gif differ diff --git a/advanced_vat_invoice/static/description/banner.png b/advanced_vat_invoice/static/description/banner.png new file mode 100644 index 000000000..207cdfc6e Binary files /dev/null and b/advanced_vat_invoice/static/description/banner.png differ diff --git a/advanced_vat_invoice/static/description/icon.png b/advanced_vat_invoice/static/description/icon.png new file mode 100644 index 000000000..d80883ed7 Binary files /dev/null and b/advanced_vat_invoice/static/description/icon.png differ diff --git a/advanced_vat_invoice/static/description/index.html b/advanced_vat_invoice/static/description/index.html new file mode 100644 index 000000000..b1275e52c --- /dev/null +++ b/advanced_vat_invoice/static/description/index.html @@ -0,0 +1,655 @@ +
+
+
+
+ +
+
+
+ Community +
+
+ Enterprise +
+
+ Odoo.sh +
+
+
+
+
+ +
+
+
+

+ e-Invoicing For Saudi | Saudi VAT Invoice | Saudi Electronic Invoice | Saudi Zatca

+

+ Advanced Way Of Creating Saudi VAT Invoice Report in Pdf Format . +

+ +
+
+ + +
+
+

+ Overview +

+
+ +
+

+ e-Invoicing For Saudi | Saudi VAT Invoice | Saudi Electronic Invoice | Saudi Zatca 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. +

+
+

+ +
+ + +
+
+

+ Features +

+
+
+
+ +
+
+

+ Create VAT invoice report manually or automatically.

+
+
+ +
+
+ +
+
+

+ Download VAT invoice report and also Simplified Tax invoice report.

+
+
+ +
+
+ +
+
+

+ Can view the details while scanning the QR.

+
+
+
+ +
+
+

+ Screenshots +

+
+
+

+ Accounting --> Configuration --> Settings --> QR Code +

+

+ Select any one among the QR code Generation method. +

d action and + the scheduled action will run in every 1 day.

+ +
+
+

+ If we choose Manually,QR code generate manually after click on the Generate QR button. +

+ +
+
+

+ If we choose Automatically , QR code generate automatically after the invoice is being posted. +

+ +
+
+

+ Can download VAT invoice report and Simplified Tax invoice report from print button,here we can display all details in Arabic language. +

+ +
+
+

Encoded QR Code Scan Result.

+ + +
+
+ +
+
+

Suggested Products

+
+ + +
+ + + +
+
+
+

Our Services

+
+
+ +
+
+ +
+
+ Odoo + Customization
+
+ +
+
+ +
+
+ Odoo + Implementation
+
+ +
+
+ +
+
+ Odoo + Support
+
+ + +
+
+ +
+
+ Hire + Odoo + Developer
+
+ +
+
+ +
+
+ Odoo + Integration
+
+ +
+
+ +
+
+ Odoo + Migration
+
+ + +
+
+ +
+
+ Odoo + Consultancy
+
+ +
+
+ +
+
+ Odoo + Implementation
+
+ +
+
+ +
+
+ Odoo + Licensing Consultancy
+
+
+
+ + + +
+
+
+

Our Industries

+
+
+ +
+
+ +
+ Trading +
+

+ Easily procure + and + sell your products

+
+
+ +
+
+ +
+ POS +
+

+ Easy + configuration + and convivial experience

+
+
+ +
+
+ +
+ Education +
+

+ A platform for + educational management

+
+
+ +
+
+ +
+ Manufacturing +
+

+ Plan, track and + schedule your operations

+
+
+ +
+
+ +
+ E-commerce & Website +
+

+ Mobile + friendly, + awe-inspiring product pages

+
+
+ +
+
+ +
+ Service Management +
+

+ Keep track of + services and invoice

+
+
+ +
+
+ +
+ Restaurant +
+

+ Run your bar or + restaurant methodically

+
+
+ +
+
+ +
+ Hotel Management +
+

+ An + all-inclusive + hotel management application

+
+
+ +
+
+ + + + + +
+
+
+

Need Help?

+
+
+
+ + +
+ +
+ + +
+ +
+ +
+ +
+
+ +
+ +
+ +
+
+ +
+
+
+ + +
\ No newline at end of file diff --git a/advanced_vat_invoice/views/account_move_views.xml b/advanced_vat_invoice/views/account_move_views.xml new file mode 100644 index 000000000..54e688f12 --- /dev/null +++ b/advanced_vat_invoice/views/account_move_views.xml @@ -0,0 +1,32 @@ + + + + + + account.move.view.form.inherit.advanced.vat.invoice + + account.move + + + + + + + + + + + +