diff --git a/invoice_design/README.rst b/invoice_design/README.rst new file mode 100755 index 000000000..a20933b54 --- /dev/null +++ b/invoice_design/README.rst @@ -0,0 +1,43 @@ +.. 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.* + +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, + (V17) Jumana Haseen, +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..f7ee0ff65 --- /dev/null +++ b/invoice_design/__init__.py @@ -0,0 +1,22 @@ +# -*- coding: utf-8 -*- +############################################################################# +# +# Cybrosys Technologies Pvt. Ltd. +# +# Copyright (C) 2024-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..62dab347a --- /dev/null +++ b/invoice_design/__manifest__.py @@ -0,0 +1,48 @@ +# -*- coding: utf-8 -*- +############################################################################# +# +# Cybrosys Technologies Pvt. Ltd. +# +# Copyright (C) 2024-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': '17.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..9c2ede93b --- /dev/null +++ b/invoice_design/doc/RELEASE_NOTES.md @@ -0,0 +1,6 @@ +## Module + +#### 07.06.2024 +#### Version 17.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..c5362389b --- /dev/null +++ b/invoice_design/models/__init__.py @@ -0,0 +1,24 @@ +# -*- coding: utf-8 -*- +############################################################################# +# +# Cybrosys Technologies Pvt. Ltd. +# +# Copyright (C) 2024-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..9c9206105 --- /dev/null +++ b/invoice_design/models/account_move.py @@ -0,0 +1,46 @@ +# -*- coding: utf-8 -*- +############################################################################# +# +# Cybrosys Technologies Pvt. Ltd. +# +# Copyright (C) 2024-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..4d3cb83b7 --- /dev/null +++ b/invoice_design/models/invoice_design.py @@ -0,0 +1,88 @@ +# -*- coding: utf-8 -*- +############################################################################# +# +# Cybrosys Technologies Pvt. Ltd. +# +# Copyright (C) 2024-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/Cybrosys R.png b/invoice_design/static/description/assets/misc/Cybrosys R.png new file mode 100644 index 000000000..da4058087 Binary files /dev/null and b/invoice_design/static/description/assets/misc/Cybrosys R.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/1.png b/invoice_design/static/description/assets/modules/1.png new file mode 100644 index 000000000..3b8eeb890 Binary files /dev/null and b/invoice_design/static/description/assets/modules/1.png differ diff --git a/invoice_design/static/description/assets/modules/2.png b/invoice_design/static/description/assets/modules/2.png new file mode 100644 index 000000000..a94837ed5 Binary files /dev/null and b/invoice_design/static/description/assets/modules/2.png differ diff --git a/invoice_design/static/description/assets/modules/3.png b/invoice_design/static/description/assets/modules/3.png new file mode 100644 index 000000000..acbe1da4a Binary files /dev/null and b/invoice_design/static/description/assets/modules/3.png differ diff --git a/invoice_design/static/description/assets/modules/4.png b/invoice_design/static/description/assets/modules/4.png new file mode 100644 index 000000000..e136e91af Binary files /dev/null and b/invoice_design/static/description/assets/modules/4.png differ diff --git a/invoice_design/static/description/assets/modules/5.png b/invoice_design/static/description/assets/modules/5.png new file mode 100644 index 000000000..8f46c0312 Binary files /dev/null and b/invoice_design/static/description/assets/modules/5.png differ diff --git a/invoice_design/static/description/assets/modules/6.png b/invoice_design/static/description/assets/modules/6.png new file mode 100644 index 000000000..0a0b2aee7 Binary files /dev/null and b/invoice_design/static/description/assets/modules/6.png differ diff --git a/invoice_design/static/description/assets/screenshots/1.png b/invoice_design/static/description/assets/screenshots/1.png new file mode 100644 index 000000000..a5c65fdd5 Binary files /dev/null and b/invoice_design/static/description/assets/screenshots/1.png differ diff --git a/invoice_design/static/description/assets/screenshots/2.png b/invoice_design/static/description/assets/screenshots/2.png new file mode 100644 index 000000000..6c8d3624c Binary files /dev/null and b/invoice_design/static/description/assets/screenshots/2.png differ diff --git a/invoice_design/static/description/assets/screenshots/3.png b/invoice_design/static/description/assets/screenshots/3.png new file mode 100644 index 000000000..63c582dd4 Binary files /dev/null and b/invoice_design/static/description/assets/screenshots/3.png differ diff --git a/invoice_design/static/description/assets/screenshots/4.png b/invoice_design/static/description/assets/screenshots/4.png new file mode 100644 index 000000000..ccae61e8d Binary files /dev/null and b/invoice_design/static/description/assets/screenshots/4.png differ diff --git a/invoice_design/static/description/assets/screenshots/5.png b/invoice_design/static/description/assets/screenshots/5.png new file mode 100644 index 000000000..9e858800c Binary files /dev/null and b/invoice_design/static/description/assets/screenshots/5.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 100644 index 000000000..e34881bad 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 100644 index 000000000..8a28a4a49 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 100644 index 000000000..52a49b563 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 100644 index 000000000..6bcb8cae4 --- /dev/null +++ b/invoice_design/static/description/index.html @@ -0,0 +1,727 @@ + + + + + + + Invoice Format Editor + + + + + + + + +
+
+
+
+
+ +
+
+
+ Community +
+
+ Enterprise +
+
+ Odoo.sh +
+
+
+
+
+
+

+ Custom Design For Invoices

+

+ A Module for Printing + Custom Designed Invoice +

+
+ +
+
+
+
+
+

+ Key Highlights +

+
+
+
+
+
+ +
+
+

+ Design your own design for invoice

+
+
+
+
+
+
+ +
+
+

+ Print your custom designed invoice.

+
+
+
+
+
+
+ +
+
+

+ Available in Odoo 17.0 Enterprise and + Community.

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

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

+
+
+
+
+
+
+
    +
  • + Custom Design + For Invoices +
      +
    • This module helps to print custom + designed invoice in PDF format. +
    • +
    +
  • +
+
+
+
+
+
+
Version + 17.0.1.0.0|Released on:7th June 2024 +
+

+ Initial Commit for Custom Design For Invoices

+
+
+
+
+
+
+
+

+ 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/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..1f18e22bd --- /dev/null +++ b/invoice_design/views/res_config_settings_views.xml @@ -0,0 +1,41 @@ + + + + + + res.config.settings.view.form.inherit.invoice.design + + res.config.settings + + + +
+
+ +
+
+
+
+
+
+
+