diff --git a/invoice_design/README.rst b/invoice_design/README.rst new file mode 100755 index 000000000..3224a4c38 --- /dev/null +++ b/invoice_design/README.rst @@ -0,0 +1,44 @@ +.. 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, + (V18) Adarsh K, +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..b60151091 --- /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': '18.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..56f9ad2b3 --- /dev/null +++ b/invoice_design/doc/RELEASE_NOTES.md @@ -0,0 +1,6 @@ +## Module + +#### 10.09.2024 +#### Version 18.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/cybro-icon.png b/invoice_design/static/description/assets/cybro-icon.png new file mode 100644 index 000000000..06e73e11d Binary files /dev/null and b/invoice_design/static/description/assets/cybro-icon.png differ diff --git a/invoice_design/static/description/assets/cybro-odoo.png b/invoice_design/static/description/assets/cybro-odoo.png new file mode 100644 index 000000000..ed02e07a4 Binary files /dev/null and b/invoice_design/static/description/assets/cybro-odoo.png differ diff --git a/invoice_design/static/description/assets/h2.png b/invoice_design/static/description/assets/h2.png new file mode 100644 index 000000000..0bfc4707d Binary files /dev/null and b/invoice_design/static/description/assets/h2.png differ diff --git a/invoice_design/static/description/assets/icons/arrows-repeat.svg b/invoice_design/static/description/assets/icons/arrows-repeat.svg new file mode 100644 index 000000000..1d7efabc5 --- /dev/null +++ b/invoice_design/static/description/assets/icons/arrows-repeat.svg @@ -0,0 +1,10 @@ + + + + + + + + + + diff --git a/invoice_design/static/description/assets/icons/banner-1.png b/invoice_design/static/description/assets/icons/banner-1.png new file mode 100644 index 000000000..c180db172 Binary files /dev/null and b/invoice_design/static/description/assets/icons/banner-1.png differ diff --git a/invoice_design/static/description/assets/icons/banner-2.svg b/invoice_design/static/description/assets/icons/banner-2.svg new file mode 100644 index 000000000..e606d97d9 --- /dev/null +++ b/invoice_design/static/description/assets/icons/banner-2.svg @@ -0,0 +1,73 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/invoice_design/static/description/assets/icons/banner-bg.png b/invoice_design/static/description/assets/icons/banner-bg.png new file mode 100644 index 000000000..a8238d3c0 Binary files /dev/null and b/invoice_design/static/description/assets/icons/banner-bg.png differ diff --git a/invoice_design/static/description/assets/icons/banner-bg.svg b/invoice_design/static/description/assets/icons/banner-bg.svg new file mode 100644 index 000000000..b1378103e --- /dev/null +++ b/invoice_design/static/description/assets/icons/banner-bg.svg @@ -0,0 +1,9 @@ + + + + + + + + + diff --git a/invoice_design/static/description/assets/icons/banner-call.svg b/invoice_design/static/description/assets/icons/banner-call.svg new file mode 100644 index 000000000..96c687e81 --- /dev/null +++ b/invoice_design/static/description/assets/icons/banner-call.svg @@ -0,0 +1,5 @@ + + + + + diff --git a/invoice_design/static/description/assets/icons/banner-mail.svg b/invoice_design/static/description/assets/icons/banner-mail.svg new file mode 100644 index 000000000..cbf0d158d --- /dev/null +++ b/invoice_design/static/description/assets/icons/banner-mail.svg @@ -0,0 +1,5 @@ + + + + + diff --git a/invoice_design/static/description/assets/icons/banner-pattern.svg b/invoice_design/static/description/assets/icons/banner-pattern.svg new file mode 100644 index 000000000..9c1c7e101 --- /dev/null +++ b/invoice_design/static/description/assets/icons/banner-pattern.svg @@ -0,0 +1,343 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/invoice_design/static/description/assets/icons/banner-promo.svg b/invoice_design/static/description/assets/icons/banner-promo.svg new file mode 100644 index 000000000..d52791b11 --- /dev/null +++ b/invoice_design/static/description/assets/icons/banner-promo.svg @@ -0,0 +1,147 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/invoice_design/static/description/assets/icons/brand-pair.svg b/invoice_design/static/description/assets/icons/brand-pair.svg new file mode 100644 index 000000000..d8db7fc1e --- /dev/null +++ b/invoice_design/static/description/assets/icons/brand-pair.svg @@ -0,0 +1,41 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/invoice_design/static/description/assets/icons/check.png b/invoice_design/static/description/assets/icons/check.png new file mode 100644 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 100644 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/close-icon.svg b/invoice_design/static/description/assets/icons/close-icon.svg new file mode 100644 index 000000000..df8cce37a --- /dev/null +++ b/invoice_design/static/description/assets/icons/close-icon.svg @@ -0,0 +1,5 @@ + + + + + diff --git a/invoice_design/static/description/assets/icons/cogs.png b/invoice_design/static/description/assets/icons/cogs.png new file mode 100644 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/collabarate-icon.svg b/invoice_design/static/description/assets/icons/collabarate-icon.svg new file mode 100644 index 000000000..dd4e10518 --- /dev/null +++ b/invoice_design/static/description/assets/icons/collabarate-icon.svg @@ -0,0 +1,3 @@ + + + diff --git a/invoice_design/static/description/assets/icons/consultation.png b/invoice_design/static/description/assets/icons/consultation.png new file mode 100644 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/cybro-logo.png b/invoice_design/static/description/assets/icons/cybro-logo.png new file mode 100644 index 000000000..ff4b78220 Binary files /dev/null and b/invoice_design/static/description/assets/icons/cybro-logo.png differ diff --git a/invoice_design/static/description/assets/icons/down.svg b/invoice_design/static/description/assets/icons/down.svg new file mode 100644 index 000000000..f21c36271 --- /dev/null +++ b/invoice_design/static/description/assets/icons/down.svg @@ -0,0 +1 @@ + \ No newline at end of file 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 100644 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 100644 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/faq.png b/invoice_design/static/description/assets/icons/faq.png new file mode 100644 index 000000000..4250b5b81 Binary files /dev/null and b/invoice_design/static/description/assets/icons/faq.png differ diff --git a/invoice_design/static/description/assets/icons/feature-icon.svg b/invoice_design/static/description/assets/icons/feature-icon.svg new file mode 100644 index 000000000..fa0ea6850 --- /dev/null +++ b/invoice_design/static/description/assets/icons/feature-icon.svg @@ -0,0 +1,10 @@ + + + + + + + + + + diff --git a/invoice_design/static/description/assets/icons/feature.png b/invoice_design/static/description/assets/icons/feature.png new file mode 100644 index 000000000..ac7a785c0 Binary files /dev/null and b/invoice_design/static/description/assets/icons/feature.png differ diff --git a/invoice_design/static/description/assets/icons/gear.svg b/invoice_design/static/description/assets/icons/gear.svg new file mode 100644 index 000000000..0cc66b6ea --- /dev/null +++ b/invoice_design/static/description/assets/icons/gear.svg @@ -0,0 +1,10 @@ + + + + + + + + + + diff --git a/invoice_design/static/description/assets/icons/hero.gif b/invoice_design/static/description/assets/icons/hero.gif new file mode 100644 index 000000000..22b813830 Binary files /dev/null and b/invoice_design/static/description/assets/icons/hero.gif differ diff --git a/invoice_design/static/description/assets/icons/hire-odoo.svg b/invoice_design/static/description/assets/icons/hire-odoo.svg new file mode 100644 index 000000000..e1ac089b0 --- /dev/null +++ b/invoice_design/static/description/assets/icons/hire-odoo.svg @@ -0,0 +1,12 @@ + + + + + + + + + + + + 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 100644 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 100644 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/life-ring-icon.svg b/invoice_design/static/description/assets/icons/life-ring-icon.svg new file mode 100644 index 000000000..3ae6e1d89 --- /dev/null +++ b/invoice_design/static/description/assets/icons/life-ring-icon.svg @@ -0,0 +1,13 @@ + + + + + + + + + + + + + diff --git a/invoice_design/static/description/assets/icons/lifebuoy.png b/invoice_design/static/description/assets/icons/lifebuoy.png new file mode 100644 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/mail.svg b/invoice_design/static/description/assets/icons/mail.svg new file mode 100644 index 000000000..1eedde695 --- /dev/null +++ b/invoice_design/static/description/assets/icons/mail.svg @@ -0,0 +1,3 @@ + + + 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 100644 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/notes.png b/invoice_design/static/description/assets/icons/notes.png new file mode 100644 index 000000000..ee5e95404 Binary files /dev/null and b/invoice_design/static/description/assets/icons/notes.png differ diff --git a/invoice_design/static/description/assets/icons/notification icon.svg b/invoice_design/static/description/assets/icons/notification icon.svg new file mode 100644 index 000000000..053189973 --- /dev/null +++ b/invoice_design/static/description/assets/icons/notification icon.svg @@ -0,0 +1,10 @@ + + + + + + + + + + diff --git a/invoice_design/static/description/assets/icons/odoo-consultancy.svg b/invoice_design/static/description/assets/icons/odoo-consultancy.svg new file mode 100644 index 000000000..e05f65bde --- /dev/null +++ b/invoice_design/static/description/assets/icons/odoo-consultancy.svg @@ -0,0 +1,4 @@ + + + + diff --git a/invoice_design/static/description/assets/icons/odoo-licencing.svg b/invoice_design/static/description/assets/icons/odoo-licencing.svg new file mode 100644 index 000000000..2606c88b0 --- /dev/null +++ b/invoice_design/static/description/assets/icons/odoo-licencing.svg @@ -0,0 +1,3 @@ + + + diff --git a/invoice_design/static/description/assets/icons/odoo-logo.png b/invoice_design/static/description/assets/icons/odoo-logo.png new file mode 100644 index 000000000..0e4d0eb5a Binary files /dev/null and b/invoice_design/static/description/assets/icons/odoo-logo.png differ diff --git a/invoice_design/static/description/assets/icons/patter.svg b/invoice_design/static/description/assets/icons/patter.svg new file mode 100644 index 000000000..25c9c0a8f --- /dev/null +++ b/invoice_design/static/description/assets/icons/patter.svg @@ -0,0 +1,9 @@ + + + + + + + + + diff --git a/invoice_design/static/description/assets/icons/pattern1.png b/invoice_design/static/description/assets/icons/pattern1.png new file mode 100644 index 000000000..09ab0fb2d Binary files /dev/null and b/invoice_design/static/description/assets/icons/pattern1.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 100644 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-piece-icon.svg b/invoice_design/static/description/assets/icons/puzzle-piece-icon.svg new file mode 100644 index 000000000..3e9ad9373 --- /dev/null +++ b/invoice_design/static/description/assets/icons/puzzle-piece-icon.svg @@ -0,0 +1,10 @@ + + + + + + + + + + diff --git a/invoice_design/static/description/assets/icons/puzzle.png b/invoice_design/static/description/assets/icons/puzzle.png new file mode 100644 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/replace-icon.svg b/invoice_design/static/description/assets/icons/replace-icon.svg new file mode 100644 index 000000000..d0e3a7af1 --- /dev/null +++ b/invoice_design/static/description/assets/icons/replace-icon.svg @@ -0,0 +1,10 @@ + + + + + + + + + + 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 100644 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/screenshot-main.png b/invoice_design/static/description/assets/icons/screenshot-main.png new file mode 100644 index 000000000..575f8e676 Binary files /dev/null and b/invoice_design/static/description/assets/icons/screenshot-main.png differ diff --git a/invoice_design/static/description/assets/icons/screenshot.png b/invoice_design/static/description/assets/icons/screenshot.png new file mode 100644 index 000000000..cef272529 Binary files /dev/null and b/invoice_design/static/description/assets/icons/screenshot.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 100644 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/skype-fill.svg b/invoice_design/static/description/assets/icons/skype-fill.svg new file mode 100644 index 000000000..c17423639 --- /dev/null +++ b/invoice_design/static/description/assets/icons/skype-fill.svg @@ -0,0 +1,10 @@ + + + + + + + + + + diff --git a/invoice_design/static/description/assets/icons/skype.png b/invoice_design/static/description/assets/icons/skype.png new file mode 100644 index 000000000..51b409fb3 Binary files /dev/null and b/invoice_design/static/description/assets/icons/skype.png differ diff --git a/invoice_design/static/description/assets/icons/skype.svg b/invoice_design/static/description/assets/icons/skype.svg new file mode 100644 index 000000000..df3dad39b --- /dev/null +++ b/invoice_design/static/description/assets/icons/skype.svg @@ -0,0 +1,3 @@ + + + diff --git a/invoice_design/static/description/assets/icons/star-1.svg b/invoice_design/static/description/assets/icons/star-1.svg new file mode 100644 index 000000000..7e55ab162 --- /dev/null +++ b/invoice_design/static/description/assets/icons/star-1.svg @@ -0,0 +1,53 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/invoice_design/static/description/assets/icons/star-2.svg b/invoice_design/static/description/assets/icons/star-2.svg new file mode 100644 index 000000000..5ae9f507a --- /dev/null +++ b/invoice_design/static/description/assets/icons/star-2.svg @@ -0,0 +1,9 @@ + + + + + + + + + diff --git a/invoice_design/static/description/assets/icons/support.png b/invoice_design/static/description/assets/icons/support.png new file mode 100644 index 000000000..4f18b8b82 Binary files /dev/null and b/invoice_design/static/description/assets/icons/support.png differ diff --git a/invoice_design/static/description/assets/icons/test-1 - Copy.png b/invoice_design/static/description/assets/icons/test-1 - Copy.png new file mode 100644 index 000000000..f6a902663 Binary files /dev/null and b/invoice_design/static/description/assets/icons/test-1 - Copy.png differ diff --git a/invoice_design/static/description/assets/icons/test-1.png b/invoice_design/static/description/assets/icons/test-1.png new file mode 100644 index 000000000..0908add2b Binary files /dev/null and b/invoice_design/static/description/assets/icons/test-1.png differ diff --git a/invoice_design/static/description/assets/icons/test-2.png b/invoice_design/static/description/assets/icons/test-2.png new file mode 100644 index 000000000..4671fe91e Binary files /dev/null and b/invoice_design/static/description/assets/icons/test-2.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 100644 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 100644 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/translate.svg b/invoice_design/static/description/assets/icons/translate.svg new file mode 100644 index 000000000..af9c8a1aa --- /dev/null +++ b/invoice_design/static/description/assets/icons/translate.svg @@ -0,0 +1,10 @@ + + + + + + + + + + diff --git a/invoice_design/static/description/assets/icons/update.png b/invoice_design/static/description/assets/icons/update.png new file mode 100644 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 100644 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/video.png b/invoice_design/static/description/assets/icons/video.png new file mode 100644 index 000000000..576705b17 Binary files /dev/null and b/invoice_design/static/description/assets/icons/video.png differ diff --git a/invoice_design/static/description/assets/icons/whatsapp.png b/invoice_design/static/description/assets/icons/whatsapp.png new file mode 100644 index 000000000..d513a5356 Binary files /dev/null and b/invoice_design/static/description/assets/icons/whatsapp.png differ diff --git a/invoice_design/static/description/assets/icons/wrench-icon.svg b/invoice_design/static/description/assets/icons/wrench-icon.svg new file mode 100644 index 000000000..174b5a465 --- /dev/null +++ b/invoice_design/static/description/assets/icons/wrench-icon.svg @@ -0,0 +1,10 @@ + + + + + + + + + + diff --git a/invoice_design/static/description/assets/icons/wrench.png b/invoice_design/static/description/assets/icons/wrench.png new file mode 100644 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/modules/1.gif b/invoice_design/static/description/assets/modules/1.gif new file mode 100644 index 000000000..ae3a880a2 Binary files /dev/null and b/invoice_design/static/description/assets/modules/1.gif differ diff --git a/invoice_design/static/description/assets/modules/2.gif b/invoice_design/static/description/assets/modules/2.gif new file mode 100644 index 000000000..d19e2b352 Binary files /dev/null and b/invoice_design/static/description/assets/modules/2.gif 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..8513873ea 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..3bedf7981 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..0e311ca87 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.jpg b/invoice_design/static/description/assets/modules/6.jpg new file mode 100644 index 000000000..67c7f7062 Binary files /dev/null and b/invoice_design/static/description/assets/modules/6.jpg differ diff --git a/invoice_design/static/description/assets/screenshots/ss1.png b/invoice_design/static/description/assets/screenshots/ss1.png new file mode 100644 index 000000000..faefe8915 Binary files /dev/null and b/invoice_design/static/description/assets/screenshots/ss1.png differ diff --git a/invoice_design/static/description/assets/screenshots/ss2.png b/invoice_design/static/description/assets/screenshots/ss2.png new file mode 100644 index 000000000..7796bb6c2 Binary files /dev/null and b/invoice_design/static/description/assets/screenshots/ss2.png differ diff --git a/invoice_design/static/description/assets/screenshots/ss3.png b/invoice_design/static/description/assets/screenshots/ss3.png new file mode 100644 index 000000000..d7cc2c85b Binary files /dev/null and b/invoice_design/static/description/assets/screenshots/ss3.png differ diff --git a/invoice_design/static/description/assets/screenshots/ss4.png b/invoice_design/static/description/assets/screenshots/ss4.png new file mode 100644 index 000000000..e9a3d170b Binary files /dev/null and b/invoice_design/static/description/assets/screenshots/ss4.png differ diff --git a/invoice_design/static/description/assets/screenshots/ss5.png b/invoice_design/static/description/assets/screenshots/ss5.png new file mode 100644 index 000000000..c6266ddbc Binary files /dev/null and b/invoice_design/static/description/assets/screenshots/ss5.png differ diff --git a/invoice_design/static/description/assets/y18.jpg b/invoice_design/static/description/assets/y18.jpg new file mode 100644 index 000000000..eea1714f2 Binary files /dev/null and b/invoice_design/static/description/assets/y18.jpg differ diff --git a/invoice_design/static/description/banner.jpg b/invoice_design/static/description/banner.jpg new file mode 100644 index 000000000..e30902970 Binary files /dev/null and b/invoice_design/static/description/banner.jpg differ diff --git a/invoice_design/static/description/icon.png b/invoice_design/static/description/icon.png new file mode 100644 index 000000000..86f98957a 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..51ff5be98 --- /dev/null +++ b/invoice_design/static/description/index.html @@ -0,0 +1,943 @@ + + + + + + Custom Design For Invoices + + + + + + + + + + +
+
+ + + +
+
+ Community +
+
+ Enterprise +
+ + + + +
+
+ +
+
+
+
+

+ A Module for Printing Custom Designed Invoice. +

+

Custom Design For Invoices +

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

Key + Highlights

+
+
+
+
+ +
+
+ Design your own design for invoice. +
+
+
+
+
+
+ +
+
+ Print your custom designed invoice. +
+
+
+
+
+
+ +
+
+ Available in Odoo 18.0 Enterprise and Community. +
+
+
+
+
+ +
+
+
+ Custom Design For Invoices +

+ Are you ready to make your business more + organized? +
Improve now! +

+ +
+
+ +
+
+
+ + + + +
+
+ +
+
+
+
+ acc_bg +
+ +
+
+
+
+

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

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

+ Invoices are generated in PDF format, which ensures they are easy to share, print, and store. +

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

+ Latest Release 18.0.1.0.0 +

+ + 1st October, 2024 + +
+
+
+
+
+ Add +
+
+
+
    +
  • + Initial Commit +
  • + +
+
+
+
+
+
+
+
+
+
+ + + + + + +
+

+ Our Services

+ +
+ +
+
+ .... +
+
+ +
+ + +
+
+ + + + + + diff --git a/invoice_design/views/invoice_design_views.xml b/invoice_design/views/invoice_design_views.xml new file mode 100755 index 000000000..cfd71b533 --- /dev/null +++ b/invoice_design/views/invoice_design_views.xml @@ -0,0 +1,49 @@ + + + + + Invoice Design + invoice.design + list,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 + + + +
+
+ +
+
+
+
+
+
+
+