diff --git a/advanced_vat_invoice/README.rst b/advanced_vat_invoice/README.rst new file mode 100644 index 000000000..c7ed5d184 --- /dev/null +++ b/advanced_vat_invoice/README.rst @@ -0,0 +1,50 @@ +.. 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 + +Advanced VAT Invoice +==================== +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: (V16) Athira P S , + (V17) Gayathri V +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..32628c0f2 --- /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: Gayathri V (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..c38bbbc16 --- /dev/null +++ b/advanced_vat_invoice/__manifest__.py @@ -0,0 +1,47 @@ +# -*- coding: utf-8 -*- +############################################################################### +# +# Cybrosys Technologies Pvt. Ltd. +# +# Copyright (C) 2024-TODAY Cybrosys Technologies(). +# Author: Gayathri V (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': '17.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': ['account','account_payment'], + '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.jpg'], + '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..353913926 --- /dev/null +++ b/advanced_vat_invoice/doc/RELEASE_NOTES.md @@ -0,0 +1,7 @@ +## Module + +#### 06.01.2024 +#### Version 17.0.1.0.0 +##### ADD + +- Initial Commit for Advanced VAT Invoice diff --git a/advanced_vat_invoice/models/__init__.py b/advanced_vat_invoice/models/__init__.py new file mode 100644 index 000000000..73c126615 --- /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: Gayathri V (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..e0a2a0c6c --- /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: Gayathri V(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..0dcec98ee --- /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: Gayathri V (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..46eddb948 --- /dev/null +++ b/advanced_vat_invoice/report/simplified_tax_report_templates.xml @@ -0,0 +1,158 @@ + + + + + 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/capture (1).png b/advanced_vat_invoice/static/description/assets/icons/capture (1).png new file mode 100644 index 000000000..8824deafc Binary files /dev/null and b/advanced_vat_invoice/static/description/assets/icons/capture (1).png differ 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/img.png b/advanced_vat_invoice/static/description/assets/icons/img.png new file mode 100644 index 000000000..70197f477 Binary files /dev/null and b/advanced_vat_invoice/static/description/assets/icons/img.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/photo-capture.png b/advanced_vat_invoice/static/description/assets/icons/photo-capture.png new file mode 100644 index 000000000..06c111758 Binary files /dev/null and b/advanced_vat_invoice/static/description/assets/icons/photo-capture.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/Cybrosys R.png b/advanced_vat_invoice/static/description/assets/misc/Cybrosys R.png new file mode 100644 index 000000000..da4058087 Binary files /dev/null and b/advanced_vat_invoice/static/description/assets/misc/Cybrosys R.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/email.svg b/advanced_vat_invoice/static/description/assets/misc/email.svg new file mode 100644 index 000000000..15291cdc3 --- /dev/null +++ b/advanced_vat_invoice/static/description/assets/misc/email.svg @@ -0,0 +1,33 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 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/phone.svg b/advanced_vat_invoice/static/description/assets/misc/phone.svg new file mode 100644 index 000000000..b7bd7f251 --- /dev/null +++ b/advanced_vat_invoice/static/description/assets/misc/phone.svg @@ -0,0 +1,3 @@ + + + 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 (1) 2.svg b/advanced_vat_invoice/static/description/assets/misc/star (1) 2.svg new file mode 100644 index 000000000..5ae9f507a --- /dev/null +++ b/advanced_vat_invoice/static/description/assets/misc/star (1) 2.svg @@ -0,0 +1,9 @@ + + + + + + + + + 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 (1) 1.svg b/advanced_vat_invoice/static/description/assets/misc/support (1) 1.svg new file mode 100644 index 000000000..7d37a8f30 --- /dev/null +++ b/advanced_vat_invoice/static/description/assets/misc/support (1) 1.svg @@ -0,0 +1,9 @@ + + + + + + + + + diff --git a/advanced_vat_invoice/static/description/assets/misc/support-email.svg b/advanced_vat_invoice/static/description/assets/misc/support-email.svg new file mode 100644 index 000000000..eb70370d6 --- /dev/null +++ b/advanced_vat_invoice/static/description/assets/misc/support-email.svg @@ -0,0 +1,6 @@ + + + + + + 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/tick-mark.svg b/advanced_vat_invoice/static/description/assets/misc/tick-mark.svg new file mode 100644 index 000000000..2dbb40187 --- /dev/null +++ b/advanced_vat_invoice/static/description/assets/misc/tick-mark.svg @@ -0,0 +1,17 @@ + + + + + + + + + + + + + + + + + diff --git a/advanced_vat_invoice/static/description/assets/misc/whatsapp 1.svg b/advanced_vat_invoice/static/description/assets/misc/whatsapp 1.svg new file mode 100644 index 000000000..0bfaf8fc6 --- /dev/null +++ b/advanced_vat_invoice/static/description/assets/misc/whatsapp 1.svg @@ -0,0 +1,9 @@ + + + + + + + + + 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/misc/whatsapp.svg b/advanced_vat_invoice/static/description/assets/misc/whatsapp.svg new file mode 100644 index 000000000..b618aea1d --- /dev/null +++ b/advanced_vat_invoice/static/description/assets/misc/whatsapp.svg @@ -0,0 +1,33 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 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..ba1058c42 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..6949185dd 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..4e506f79b 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..e78427938 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.gif b/advanced_vat_invoice/static/description/assets/modules/5.gif new file mode 100644 index 000000000..2a5f8e659 Binary files /dev/null and b/advanced_vat_invoice/static/description/assets/modules/5.gif 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 100755 index 000000000..272ec20f9 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..7d5c3154f 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..2d233304d 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..ac0f94741 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..44d62f86a 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..3cd22ef55 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..fa86c59a1 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..1e6833d13 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..3d171963e 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.jpg b/advanced_vat_invoice/static/description/banner.jpg new file mode 100644 index 000000000..c8197bf06 Binary files /dev/null and b/advanced_vat_invoice/static/description/banner.jpg 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..cdae4f801 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..ecf0fa0ce --- /dev/null +++ b/advanced_vat_invoice/static/description/index.html @@ -0,0 +1,790 @@ + + + + + + + Odoo App 3 Index + + + + + + + + +
+
+
+
+
+ +
+
+
+ Community +
+
+ Enterprise +
+
+ Odoo.sh +
+
+
+
+
+
+

+ e-Invoicing For Saudi | Saudi Electronic Invoice.

+

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

+
+ +
+
+
+
+
+

+ Key Highlights +

+
+
+
+
+
+ +
+
+

+ Create VAT invoice report Manually Generate or + Generate QR Code when invoice validate/post.

+
+
+
+
+
+
+ +
+
+

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

+
+
+
+
+
+
+ +
+
+

+ Can view the details while scanning the QR.

+
+
+
+
+
+
+ +
+
+

+ Available in Odoo Community and Enterprise.

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

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

+

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

+
+
+
+
+
+
+ +
+
+

+ 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.

+
+
+
+
+
+
+ +
+
+

+ VAT invoice report.

+
+
+
+
+
+
+ +
+
+

+ Simplified Tax invoice report.

+
+
+
+
+
+
+ +
+
+

+ Install E-invoice QR Reader KSA.

+

+ Encoded QR Code Scan Result.

+
+
+
+
+
+
+
    +
  • + Available in + Odoo Community and Enterprise. +
  • +
  • + Show and Hide + Chatter. +
  • +
  • + Easy to Use and + Manage. +
  • +
+
+
+
+
+
+
Version + 17.0.1.0.0|Released on:6th Jan 2024 +
+

+ Initial Commit for e-Invoicing For Saudi | Saudi + VAT Invoice | Saudi Electronic Invoice | Saudi + Zatca.

+
+
+
+
+
+
+
+

+ Related Products

+
+
+ +
+
+

+ Our Services

+ +
+
+
+
+
+
+
+
+ service-icon +
+
+

Odoo + Customization

+
+
+
+
+
+
+ service-icon +
+
+

Odoo + Implementation

+
+
+
+
+
+
+ service-icon +
+
+

Odoo + Support

+
+
+
+
+
+
+ service-icon +
+
+

Hire + Odoo Developer

+
+
+
+
+ +
+
+ service-icon +
+
+

Odoo + Integration

+
+
+
+
+
+
+ service-icon +
+
+

Odoo + Migration

+
+
+
+
+
+
+ service-icon +
+
+

Odoo + Consultancy

+
+
+
+
+
+
+ service-icon +
+
+

Odoo + Implementation

+
+
+
+
+
+
+ service-icon +
+
+

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

+
+
+
+
+
+
+

+ Support

+
+
+
+
+
+
+
+ +
+ Need + Help? +

Got + questions or need help? Get in touch.

+
odoo@cybrosys.com +
+
+
+
+
+
+
+
+ +
+ WhatsApp +

Say hi to + us on WhatsApp!

+
+91 + 99456767686 +
+
+
+
+
+
+
+
+
+ + + + + + 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..27b93d3e7 --- /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 + + + + + + + + + + + +