diff --git a/invoice_design/README.rst b/invoice_design/README.rst new file mode 100755 index 000000000..b5ee8aa82 --- /dev/null +++ b/invoice_design/README.rst @@ -0,0 +1,45 @@ +.. image:: https://img.shields.io/badge/license-AGPL--3-blue.svg + :target: https://www.gnu.org/licenses/agpl-3.0-standalone.html + :alt: License: AGPL-3 + +Custom Design For Invoices +========================== +*This module allows you to print custom designed invoice in PDF format.* + +Installation +============ +- www.odoo.com/documentation/16.0/setup/install.html +- Install our custom addon + +License +------- +AFFERO GENERAL PUBLIC LICENSE v3.0 (AGPL-3) +(https://www.gnu.org/licenses/agpl-3.0-standalone.html) + +Company +------- +* `Cybrosys Techno Solutions `__ + +Credits +------- +* Developer:(V16) Arwa V V, Contact: odoo@cybrosys.com + +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 +========== +.. 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 https://www.cybrosys.com + +Further information +=================== +HTML Description: ``__ diff --git a/invoice_design/__init__.py b/invoice_design/__init__.py new file mode 100755 index 000000000..4748c93aa --- /dev/null +++ b/invoice_design/__init__.py @@ -0,0 +1,22 @@ +# -*- coding: utf-8 -*- +############################################################################# +# +# Cybrosys Technologies Pvt. Ltd. +# +# Copyright (C) 2023-TODAY Cybrosys Technologies() +# Author: Cybrosys Techno Solutions (Contact : 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/invoice_design/__manifest__.py b/invoice_design/__manifest__.py new file mode 100755 index 000000000..45c903024 --- /dev/null +++ b/invoice_design/__manifest__.py @@ -0,0 +1,48 @@ +# -*- coding: utf-8 -*- +############################################################################# +# +# Cybrosys Technologies Pvt. Ltd. +# +# Copyright (C) 2023-TODAY Cybrosys Technologies() +# Author: Cybrosys Techno Solutions (Contact : 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': 'Custom Design For Invoices', + 'version': '16.0.1.0.0', + 'category': 'Accounting', + 'summary': """This module allows to print custom designed invoice""", + 'description': "Using this module, you can create custom design for" + "printing invoice by adding xml code of the design." + "Multiple designs can be set and changed accordingly", + 'author': 'Cybrosys Techno Solutions', + 'company': 'Cybrosys Techno Solutions', + 'maintainer': 'Cybrosys Techno Solutions', + 'website': "https://www.cybrosys.com", + 'depends': ['base', 'sale_management', 'account'], + 'data': [ + 'security/ir.model.access.csv', + 'data/invoice_design_data.xml', + 'views/invoice_design_views.xml', + 'views/res_config_settings_views.xml', + 'report/invoice_design_reports.xml', + 'report/invoice_design_templates.xml', + ], + 'images': ['static/description/banner.png'], + 'license': 'AGPL-3', + 'installable': True, + 'auto_install': False, + 'application': False, +} diff --git a/invoice_design/data/invoice_design_data.xml b/invoice_design/data/invoice_design_data.xml new file mode 100755 index 000000000..dcc2d6357 --- /dev/null +++ b/invoice_design/data/invoice_design_data.xml @@ -0,0 +1,50 @@ + + + + + + Demo Invoice Design + +

INVOICE

+

+

Date:

+

Customer:

+

Payment Term:

+ + + + + + + + + + + + + + + + + + + +
ProductQuantityUnit PriceSubtotal
+ + + + + + + +
+
+
Total Amount: + +
+ + ]]>
+
+
+
diff --git a/invoice_design/doc/RELEASE_NOTES.md b/invoice_design/doc/RELEASE_NOTES.md new file mode 100755 index 000000000..1b4c68253 --- /dev/null +++ b/invoice_design/doc/RELEASE_NOTES.md @@ -0,0 +1,6 @@ +## Module + +#### 11.01.2024 +#### Version 16.0.1.0.0 +#### ADD +- Initial commit for Custom Design For Invoices diff --git a/invoice_design/models/__init__.py b/invoice_design/models/__init__.py new file mode 100755 index 000000000..58a1be1cd --- /dev/null +++ b/invoice_design/models/__init__.py @@ -0,0 +1,24 @@ +# -*- coding: utf-8 -*- +############################################################################# +# +# Cybrosys Technologies Pvt. Ltd. +# +# Copyright (C) 2023-TODAY Cybrosys Technologies() +# Author: Cybrosys Techno Solutions (Contact : 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 invoice_design +from . import res_config_settings diff --git a/invoice_design/models/account_move.py b/invoice_design/models/account_move.py new file mode 100755 index 000000000..74fac8c99 --- /dev/null +++ b/invoice_design/models/account_move.py @@ -0,0 +1,46 @@ +# -*- coding: utf-8 -*- +############################################################################# +# +# Cybrosys Technologies Pvt. Ltd. +# +# Copyright (C) 2023-TODAY Cybrosys Technologies() +# Author: Cybrosys Techno Solutions (Contact : 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 models, _ +from odoo.exceptions import UserError + + +class AccountMove(models.Model): + """Inherits 'account.move' and added action for 'Custom Invoice' button """ + _inherit = 'account.move' + + def action_print_custom_invoice(self): + """Prints custom invoice on clicking 'Print Custom Invoice' option""" + invoice_design = self.env['ir.config_parameter'].sudo().get_param( + 'invoice_design.invoice_design') + data = { + 'key': self.env['ir.ui.view'].browse( + self.env['invoice.design'].browse( + int(invoice_design)).view_id.id).key, + 'id': self.id, + } + if self.env['ir.config_parameter'].sudo().get_param( + 'invoice_design.is_custom_invoice'): + return (self.env.ref('invoice_design.action_invoice_design'). + report_action(None, data=data)) + else: + raise UserError(_('You can print custom invoice after choosing a ' + 'custom design from configuration settings')) diff --git a/invoice_design/models/invoice_design.py b/invoice_design/models/invoice_design.py new file mode 100755 index 000000000..ab81af07d --- /dev/null +++ b/invoice_design/models/invoice_design.py @@ -0,0 +1,88 @@ +# -*- coding: utf-8 -*- +############################################################################# +# +# Cybrosys Technologies Pvt. Ltd. +# +# Copyright (C) 2023-TODAY Cybrosys Technologies() +# Author: Cybrosys Techno Solutions (Contact : 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, _ +from odoo.exceptions import UserError + + +class InvoiceDesign(models.Model): + """Details of model 'invoice.design'""" + _name = 'invoice.design' + _description = 'Invoice Design' + + name = fields.Char(string='Name', help="Name of the design") + invoice_template = fields.Text(string='Invoice XML', + help='Add your customised invoice design ' + 'here. Make sure that you add code ' + 'inside
tag. Note: You can ' + 'access data of invoice using name ' + '"invoice", ie, "invoice.name" will ' + 'give you the name of invoice ', + default='
' + '....Enter your code here...' + '
') + view_id = fields.Many2one('ir.ui.view', string="View", + help="A record will be created in ir.ui.view " + "on creating a record in invoice design. " + "Its id is stored in this field") + _sql_constraints = [('unique_name', 'UNIQUE(name)', 'Name must be unique!')] + + @api.model + def create(self, vals): + """On creating a record in 'invoice.design', a new record will be + created in 'ir.ui.view'""" + try: + view = self.env['ir.ui.view'].create({ + 'name': vals['name'], + 'type': 'qweb', + 'key': 'account.{}'.format(vals['name']), + 'arch': vals['invoice_template'], + }) + vals.update({ + 'view_id': view.id, + }) + return super(InvoiceDesign, self).create(vals) + except Exception: + raise UserError( + _('Add the template (Invoice XML) in proper format.')) + + def write(self, vals): + """On editing a record in 'invoice.design', corresponding record + created in 'ir.ui.view' will also be edited""" + try: + view = self.env['ir.ui.view'].browse(self.view_id.id) + for key in list(vals.keys()): + if key == 'name': + view.write({'name': vals['name']}) + if key == 'invoice_template': + view.write({'arch': vals['invoice_template']}) + return super(InvoiceDesign, self).write(vals) + except Exception: + raise UserError( + _('Add the template (Invoice XML) in proper format.')) + + def unlink(self): + """On deleting a record in 'invoice.design', corresponding record + created in 'ir.ui.view' will also be deleted""" + for rec in self: + view = self.env['ir.ui.view'].browse(rec.view_id.id) + view.unlink() + return super(InvoiceDesign, self).unlink() diff --git a/invoice_design/models/res_config_settings.py b/invoice_design/models/res_config_settings.py new file mode 100755 index 000000000..6efff9346 --- /dev/null +++ b/invoice_design/models/res_config_settings.py @@ -0,0 +1,38 @@ +# -*- coding: utf-8 -*- +############################################################################# +# +# Cybrosys Technologies Pvt. Ltd. +# +# Copyright (C) 2023-TODAY Cybrosys Technologies() +# Author: Cybrosys Techno Solutions (Contact : 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 fields, models + + +class ResConfigSettings(models.TransientModel): + """Inherits 'res.config.settings' and adds new fields """ + _inherit = 'res.config.settings' + + is_custom_invoice = fields.Boolean(string='Custom Invoice', + config_parameter='invoice_design.is_custom_invoice', + help="Enable to print custom invoice") + invoice_design_id = fields.Many2one('invoice.design', + string='Invoice Design', + config_parameter='invoice_design.invoice_design', + help="Choose your custom design") + invoice_template = fields.Text(related='invoice_design_id.invoice_template', + string='Receipt XML', + help='Template of the invoice design chosen') diff --git a/invoice_design/report/invoice_design_reports.xml b/invoice_design/report/invoice_design_reports.xml new file mode 100755 index 000000000..af254035d --- /dev/null +++ b/invoice_design/report/invoice_design_reports.xml @@ -0,0 +1,10 @@ + + + + + Invoice + invoice.design + qweb-pdf + invoice_design.report_invoice_design + + diff --git a/invoice_design/report/invoice_design_templates.xml b/invoice_design/report/invoice_design_templates.xml new file mode 100755 index 000000000..0b98636a5 --- /dev/null +++ b/invoice_design/report/invoice_design_templates.xml @@ -0,0 +1,13 @@ + + + + + diff --git a/invoice_design/security/ir.model.access.csv b/invoice_design/security/ir.model.access.csv new file mode 100755 index 000000000..5bf1fa28c --- /dev/null +++ b/invoice_design/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_invoice_design_user,access.invoice.design.user,model_invoice_design,base.group_user,1,1,1,1 diff --git a/invoice_design/static/description/assets/icons/check.png b/invoice_design/static/description/assets/icons/check.png new file mode 100755 index 000000000..c8e85f51d Binary files /dev/null and b/invoice_design/static/description/assets/icons/check.png differ diff --git a/invoice_design/static/description/assets/icons/chevron.png b/invoice_design/static/description/assets/icons/chevron.png new file mode 100755 index 000000000..2089293d6 Binary files /dev/null and b/invoice_design/static/description/assets/icons/chevron.png differ diff --git a/invoice_design/static/description/assets/icons/cogs.png b/invoice_design/static/description/assets/icons/cogs.png new file mode 100755 index 000000000..95d0bad62 Binary files /dev/null and b/invoice_design/static/description/assets/icons/cogs.png differ diff --git a/invoice_design/static/description/assets/icons/consultation.png b/invoice_design/static/description/assets/icons/consultation.png new file mode 100755 index 000000000..8319d4baa Binary files /dev/null and b/invoice_design/static/description/assets/icons/consultation.png differ diff --git a/invoice_design/static/description/assets/icons/ecom-black.png b/invoice_design/static/description/assets/icons/ecom-black.png new file mode 100755 index 000000000..a9385ff13 Binary files /dev/null and b/invoice_design/static/description/assets/icons/ecom-black.png differ diff --git a/invoice_design/static/description/assets/icons/education-black.png b/invoice_design/static/description/assets/icons/education-black.png new file mode 100755 index 000000000..3eb09b27b Binary files /dev/null and b/invoice_design/static/description/assets/icons/education-black.png differ diff --git a/invoice_design/static/description/assets/icons/hotel-black.png b/invoice_design/static/description/assets/icons/hotel-black.png new file mode 100755 index 000000000..130f613be Binary files /dev/null and b/invoice_design/static/description/assets/icons/hotel-black.png differ diff --git a/invoice_design/static/description/assets/icons/license.png b/invoice_design/static/description/assets/icons/license.png new file mode 100755 index 000000000..a5869797e Binary files /dev/null and b/invoice_design/static/description/assets/icons/license.png differ diff --git a/invoice_design/static/description/assets/icons/lifebuoy.png b/invoice_design/static/description/assets/icons/lifebuoy.png new file mode 100755 index 000000000..658d56ccc Binary files /dev/null and b/invoice_design/static/description/assets/icons/lifebuoy.png differ diff --git a/invoice_design/static/description/assets/icons/manufacturing-black.png b/invoice_design/static/description/assets/icons/manufacturing-black.png new file mode 100755 index 000000000..697eb0e9f Binary files /dev/null and b/invoice_design/static/description/assets/icons/manufacturing-black.png differ diff --git a/invoice_design/static/description/assets/icons/pos-black.png b/invoice_design/static/description/assets/icons/pos-black.png new file mode 100755 index 000000000..97c0f90c1 Binary files /dev/null and b/invoice_design/static/description/assets/icons/pos-black.png differ diff --git a/invoice_design/static/description/assets/icons/puzzle.png b/invoice_design/static/description/assets/icons/puzzle.png new file mode 100755 index 000000000..65cf854e7 Binary files /dev/null and b/invoice_design/static/description/assets/icons/puzzle.png differ diff --git a/invoice_design/static/description/assets/icons/restaurant-black.png b/invoice_design/static/description/assets/icons/restaurant-black.png new file mode 100755 index 000000000..4a35eb939 Binary files /dev/null and b/invoice_design/static/description/assets/icons/restaurant-black.png differ diff --git a/invoice_design/static/description/assets/icons/service-black.png b/invoice_design/static/description/assets/icons/service-black.png new file mode 100755 index 000000000..301ab51cb Binary files /dev/null and b/invoice_design/static/description/assets/icons/service-black.png differ diff --git a/invoice_design/static/description/assets/icons/trading-black.png b/invoice_design/static/description/assets/icons/trading-black.png new file mode 100755 index 000000000..9398ba2f1 Binary files /dev/null and b/invoice_design/static/description/assets/icons/trading-black.png differ diff --git a/invoice_design/static/description/assets/icons/training.png b/invoice_design/static/description/assets/icons/training.png new file mode 100755 index 000000000..884ca024d Binary files /dev/null and b/invoice_design/static/description/assets/icons/training.png differ diff --git a/invoice_design/static/description/assets/icons/update.png b/invoice_design/static/description/assets/icons/update.png new file mode 100755 index 000000000..ecbc5a01a Binary files /dev/null and b/invoice_design/static/description/assets/icons/update.png differ diff --git a/invoice_design/static/description/assets/icons/user.png b/invoice_design/static/description/assets/icons/user.png new file mode 100755 index 000000000..6ffb23d9f Binary files /dev/null and b/invoice_design/static/description/assets/icons/user.png differ diff --git a/invoice_design/static/description/assets/icons/wrench.png b/invoice_design/static/description/assets/icons/wrench.png new file mode 100755 index 000000000..6c04dea0f Binary files /dev/null and b/invoice_design/static/description/assets/icons/wrench.png differ diff --git a/invoice_design/static/description/assets/misc/categories.png b/invoice_design/static/description/assets/misc/categories.png new file mode 100755 index 000000000..bedf1e0b1 Binary files /dev/null and b/invoice_design/static/description/assets/misc/categories.png differ diff --git a/invoice_design/static/description/assets/misc/check-box.png b/invoice_design/static/description/assets/misc/check-box.png new file mode 100755 index 000000000..42caf24b9 Binary files /dev/null and b/invoice_design/static/description/assets/misc/check-box.png differ diff --git a/invoice_design/static/description/assets/misc/compass.png b/invoice_design/static/description/assets/misc/compass.png new file mode 100755 index 000000000..d5fed8faa Binary files /dev/null and b/invoice_design/static/description/assets/misc/compass.png differ diff --git a/invoice_design/static/description/assets/misc/corporate.png b/invoice_design/static/description/assets/misc/corporate.png new file mode 100755 index 000000000..2eb13edbf Binary files /dev/null and b/invoice_design/static/description/assets/misc/corporate.png differ diff --git a/invoice_design/static/description/assets/misc/customer-support.png b/invoice_design/static/description/assets/misc/customer-support.png new file mode 100755 index 000000000..79efc72ed Binary files /dev/null and b/invoice_design/static/description/assets/misc/customer-support.png differ diff --git a/invoice_design/static/description/assets/misc/cybrosys-logo.png b/invoice_design/static/description/assets/misc/cybrosys-logo.png new file mode 100755 index 000000000..cc3cc0ccf Binary files /dev/null and b/invoice_design/static/description/assets/misc/cybrosys-logo.png differ diff --git a/invoice_design/static/description/assets/misc/features.png b/invoice_design/static/description/assets/misc/features.png new file mode 100755 index 000000000..b41769f77 Binary files /dev/null and b/invoice_design/static/description/assets/misc/features.png differ diff --git a/invoice_design/static/description/assets/misc/logo.png b/invoice_design/static/description/assets/misc/logo.png new file mode 100755 index 000000000..478462d3e Binary files /dev/null and b/invoice_design/static/description/assets/misc/logo.png differ diff --git a/invoice_design/static/description/assets/misc/pictures.png b/invoice_design/static/description/assets/misc/pictures.png new file mode 100755 index 000000000..56d255fe9 Binary files /dev/null and b/invoice_design/static/description/assets/misc/pictures.png differ diff --git a/invoice_design/static/description/assets/misc/pie-chart.png b/invoice_design/static/description/assets/misc/pie-chart.png new file mode 100755 index 000000000..426e05244 Binary files /dev/null and b/invoice_design/static/description/assets/misc/pie-chart.png differ diff --git a/invoice_design/static/description/assets/misc/right-arrow.png b/invoice_design/static/description/assets/misc/right-arrow.png new file mode 100755 index 000000000..730984a06 Binary files /dev/null and b/invoice_design/static/description/assets/misc/right-arrow.png differ diff --git a/invoice_design/static/description/assets/misc/star.png b/invoice_design/static/description/assets/misc/star.png new file mode 100755 index 000000000..2eb9ab29f Binary files /dev/null and b/invoice_design/static/description/assets/misc/star.png differ diff --git a/invoice_design/static/description/assets/misc/support.png b/invoice_design/static/description/assets/misc/support.png new file mode 100755 index 000000000..4f18b8b82 Binary files /dev/null and b/invoice_design/static/description/assets/misc/support.png differ diff --git a/invoice_design/static/description/assets/misc/whatsapp.png b/invoice_design/static/description/assets/misc/whatsapp.png new file mode 100755 index 000000000..d513a5356 Binary files /dev/null and b/invoice_design/static/description/assets/misc/whatsapp.png differ diff --git a/invoice_design/static/description/assets/modules/account_line_view.png b/invoice_design/static/description/assets/modules/account_line_view.png new file mode 100755 index 000000000..03592f67a Binary files /dev/null and b/invoice_design/static/description/assets/modules/account_line_view.png differ diff --git a/invoice_design/static/description/assets/modules/account_payment_approval.png b/invoice_design/static/description/assets/modules/account_payment_approval.png new file mode 100755 index 000000000..29bcb6544 Binary files /dev/null and b/invoice_design/static/description/assets/modules/account_payment_approval.png differ diff --git a/invoice_design/static/description/assets/modules/customer_sequence.png b/invoice_design/static/description/assets/modules/customer_sequence.png new file mode 100755 index 000000000..efc2c4384 Binary files /dev/null and b/invoice_design/static/description/assets/modules/customer_sequence.png differ diff --git a/invoice_design/static/description/assets/modules/invoice_format_editor.png b/invoice_design/static/description/assets/modules/invoice_format_editor.png new file mode 100755 index 000000000..6d637752d Binary files /dev/null and b/invoice_design/static/description/assets/modules/invoice_format_editor.png differ diff --git a/invoice_design/static/description/assets/modules/invoice_multi_approval.png b/invoice_design/static/description/assets/modules/invoice_multi_approval.png new file mode 100755 index 000000000..7b0ac4b33 Binary files /dev/null and b/invoice_design/static/description/assets/modules/invoice_multi_approval.png differ diff --git a/invoice_design/static/description/assets/modules/product_brand_invoicing.png b/invoice_design/static/description/assets/modules/product_brand_invoicing.png new file mode 100755 index 000000000..b3eadb350 Binary files /dev/null and b/invoice_design/static/description/assets/modules/product_brand_invoicing.png differ diff --git a/invoice_design/static/description/assets/modules/stock_move_invoice.png b/invoice_design/static/description/assets/modules/stock_move_invoice.png new file mode 100755 index 000000000..5e0a4418d Binary files /dev/null and b/invoice_design/static/description/assets/modules/stock_move_invoice.png differ diff --git a/invoice_design/static/description/assets/screenshots/Screenshot1.png b/invoice_design/static/description/assets/screenshots/Screenshot1.png new file mode 100755 index 000000000..4bf8f3c62 Binary files /dev/null and b/invoice_design/static/description/assets/screenshots/Screenshot1.png differ diff --git a/invoice_design/static/description/assets/screenshots/Screenshot2.png b/invoice_design/static/description/assets/screenshots/Screenshot2.png new file mode 100755 index 000000000..cae7cc523 Binary files /dev/null and b/invoice_design/static/description/assets/screenshots/Screenshot2.png differ diff --git a/invoice_design/static/description/assets/screenshots/Screenshot3.png b/invoice_design/static/description/assets/screenshots/Screenshot3.png new file mode 100755 index 000000000..69f03510b Binary files /dev/null and b/invoice_design/static/description/assets/screenshots/Screenshot3.png differ diff --git a/invoice_design/static/description/assets/screenshots/Screenshot4.png b/invoice_design/static/description/assets/screenshots/Screenshot4.png new file mode 100755 index 000000000..240788943 Binary files /dev/null and b/invoice_design/static/description/assets/screenshots/Screenshot4.png differ diff --git a/invoice_design/static/description/assets/screenshots/Screenshot5.png b/invoice_design/static/description/assets/screenshots/Screenshot5.png new file mode 100755 index 000000000..6450398d9 Binary files /dev/null and b/invoice_design/static/description/assets/screenshots/Screenshot5.png differ diff --git a/invoice_design/static/description/assets/screenshots/hero.gif b/invoice_design/static/description/assets/screenshots/hero.gif new file mode 100755 index 000000000..53926f294 Binary files /dev/null and b/invoice_design/static/description/assets/screenshots/hero.gif differ diff --git a/invoice_design/static/description/banner.png b/invoice_design/static/description/banner.png new file mode 100755 index 000000000..8d8fe2d2b Binary files /dev/null and b/invoice_design/static/description/banner.png differ diff --git a/invoice_design/static/description/icon.png b/invoice_design/static/description/icon.png new file mode 100755 index 000000000..a4ff910f2 Binary files /dev/null and b/invoice_design/static/description/icon.png differ diff --git a/invoice_design/static/description/index.html b/invoice_design/static/description/index.html new file mode 100755 index 000000000..b242ffdff --- /dev/null +++ b/invoice_design/static/description/index.html @@ -0,0 +1,676 @@ +
+ +
+ +
+
+ Community +
+
+ Enterprise +
+
+ Odoo.sh +
+ +
+
+ +
+
+
+ +

+ Custom Design For Invoices

+

+ A Module for Printing + Custom Designed Invoice

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

+ Explore This + Module

+
+ + + + +
+
+ +
+

+ Overview +

+
+
+
+ This module helps to print custom designed invoice in PDF format. +
+
+ + + +
+
+ +
+

+ Features +

+
+
+
+
+ + Design your own design for invoice +
+
+ + Print your custom designed invoice. +
+
+
+
+ + Available in Odoo 16.0 Enterprise and + Community. +
+ +
+
+ + + +
+
+ +
+

+ Screenshots +

+
+
+
+ +
+

+ 'Invoice Design' Menu +

+

+ Go to Invoicing -> + Reporting + -> Invoice Design. Here, you can design template for your + custom + invoice.

+ +
+ +
+

+ Form view of 'Invoice + Design' +

+

+ Provide a name for your + design and add template inside <div> tag.

+ +
+ +
+

+ 'Custom Invoice' + option in Configuration settings +

+

+ Enable 'Custom Invoice' + option in Configuration settings and choose a design. Chosen + design will be used to print custom + invoice.

+ +
+ +
+

+ 'Print Custom Invoice' option in the Action menu +

+

+ Click on 'Print Custom Invoice' to print your custom designed invoice as + PDF

+ +
+ +
+

+ Custom Invoice Report +

+

+ This is the custom + invoice printed as per the design chosen

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

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

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

+ Support +

+
+
+
+
+
+
+ +
+
+

Need Help?

+

Got questions or need help? + Get in touch.

+ +

+ odoo@cybrosys.com

+
+
+
+
+
+
+
+ +
+
+

WhatsApp

+

Say hi to us on WhatsApp!

+ +

+ +91 86068 + 27707

+
+
+
+
+
+
+
+ +
+
+
+ \ No newline at end of file diff --git a/invoice_design/views/invoice_design_views.xml b/invoice_design/views/invoice_design_views.xml new file mode 100755 index 000000000..34b3ef781 --- /dev/null +++ b/invoice_design/views/invoice_design_views.xml @@ -0,0 +1,49 @@ + + + + + Invoice Design + invoice.design + tree,form + + + + invoice.design.view.form + invoice.design + +
+ + + + + + +
+
+
+ + + invoice.design + invoice.design.view.tree + + + + + + + + Print Custom Invoice + + + code + + action = records.action_print_custom_invoice() + + form + + +
diff --git a/invoice_design/views/res_config_settings_views.xml b/invoice_design/views/res_config_settings_views.xml new file mode 100755 index 000000000..8bb932ae5 --- /dev/null +++ b/invoice_design/views/res_config_settings_views.xml @@ -0,0 +1,42 @@ + + + + + + res.config.settings.view.form.inherit.invoice.design + + res.config.settings + + + +
+
+
+ +
+
+
+
+
+
+
+
+