diff --git a/invoice_format_editor/README.rst b/invoice_format_editor/README.rst new file mode 100644 index 000000000..7fb044466 --- /dev/null +++ b/invoice_format_editor/README.rst @@ -0,0 +1,44 @@ +Invoice Format Editor +===================== +* Invoice Format Editor for Odoo 15 community editions + +Installation +============= + - www.odoo.com/documentation/15.0/setup/install.html + - Install our custom addon + +License +------- +General Public License, Version 3 (LGPL v3). +(https://www.odoo.com/documentation/user/15.0/legal/licenses/licenses.html) + +Company +------- +* 'Cybrosys Techno Solutions `__ + +Credits +------- +* Developer: +(v14) Sonu @ Cybrosys +(v14) Dino @ Cybrosys +(v15) Midilaj V K @ Cybrosys + + +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 +========== +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_format_editor/__init__.py b/invoice_format_editor/__init__.py new file mode 100644 index 000000000..4bb88c487 --- /dev/null +++ b/invoice_format_editor/__init__.py @@ -0,0 +1,23 @@ +# -*- coding: utf-8 -*- +############################################################################# +# +# Cybrosys Technologies Pvt. Ltd. +# +# Copyright (C) 2021-TODAY Cybrosys Technologies() +# Author: Cybrosys Techno Solutions() +# +# You can modify it under the terms of the GNU LESSER +# GENERAL PUBLIC LICENSE (LGPL 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 LESSER GENERAL PUBLIC LICENSE (LGPL v3) for more details. +# +# You should have received a copy of the GNU LESSER GENERAL PUBLIC LICENSE +# (LGPL v3) along with this program. +# If not, see . +# +############################################################################# + +from . import model diff --git a/invoice_format_editor/__manifest__.py b/invoice_format_editor/__manifest__.py new file mode 100644 index 000000000..b88ecb764 --- /dev/null +++ b/invoice_format_editor/__manifest__.py @@ -0,0 +1,53 @@ +# -*- coding: utf-8 -*- +############################################################################# +# +# Cybrosys Technologies Pvt. Ltd. +# +# Copyright (C) 2021-TODAY Cybrosys Technologies() +# Author: Cybrosys Techno Solutions() +# +# You can modify it under the terms of the GNU LESSER +# GENERAL PUBLIC LICENSE (LGPL 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 LESSER GENERAL PUBLIC LICENSE (LGPL v3) for more details. +# +# You should have received a copy of the GNU LESSER GENERAL PUBLIC LICENSE +# (LGPL v3) along with this program. +# If not, see . +# +############################################################################# + +{ + 'name': 'Invoice Format Editor', + 'version': '15.0.1.0.0', + 'category': 'Accounting', + 'summary': 'Invoice Format Editor', + 'description': """Invoice Format Editor For Configuring the Invoice Templates""", + 'author': 'Cybrosys Techno Solutions', + 'company': 'Cybrosys Techno Solutions', + 'maintainer': 'Cybrosys Techno Solutions', + 'images': ['static/description/banner.png'], + 'website': 'https://www.cybrosys.com', + 'depends': ['account'], + 'data': ['security/ir.model.access.csv', + 'data/design_templates.xml', + 'views/custom_layouts.xml', + 'views/document_base_layout.xml', + 'reports/custom_invoice_template.xml', + 'reports/custom_invoice_template_fantacy.xml', + 'reports/custom_invoice_template_old_standard.xml', + 'reports/default_invoice_template.xml', + 'template_view/default_template_view.xml', + 'template_view/normal_template_view.xml', + 'template_view/modern_template_view.xml', + 'template_view/old_template_view.xml', + ], + 'license': 'LGPL-3', + 'installable': True, + 'application': True, + 'auto_install': False, + +} diff --git a/invoice_format_editor/data/design_templates.xml b/invoice_format_editor/data/design_templates.xml new file mode 100644 index 000000000..3bfe5e48a --- /dev/null +++ b/invoice_format_editor/data/design_templates.xml @@ -0,0 +1,27 @@ + + + + + Modern + #732673 + #ffffff + #000000 + #000000 + right + right + left + #808080 + + + Standard + #ff7733 + #ffffff + #000000 + #000000 + left + left + right + #808080 + + + \ No newline at end of file diff --git a/invoice_format_editor/doc/RELEASE_NOTES.md b/invoice_format_editor/doc/RELEASE_NOTES.md new file mode 100644 index 000000000..6167bf03c --- /dev/null +++ b/invoice_format_editor/doc/RELEASE_NOTES.md @@ -0,0 +1,6 @@ +## Module + +#### 20.11.2021 +#### Version 15.0.1.0.0 +#### ADD +- Initial commit for invoice_format_editor \ No newline at end of file diff --git a/invoice_format_editor/model/__init__.py b/invoice_format_editor/model/__init__.py new file mode 100644 index 000000000..67c1d90de --- /dev/null +++ b/invoice_format_editor/model/__init__.py @@ -0,0 +1,23 @@ +# -*- coding: utf-8 -*- +############################################################################# +# +# Cybrosys Technologies Pvt. Ltd. +# +# Copyright (C) 2021-TODAY Cybrosys Technologies() +# Author: Cybrosys Techno Solutions() +# +# You can modify it under the terms of the GNU LESSER +# GENERAL PUBLIC LICENSE (LGPL 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 LESSER GENERAL PUBLIC LICENSE (LGPL v3) for more details. +# +# You should have received a copy of the GNU LESSER GENERAL PUBLIC LICENSE +# (LGPL v3) along with this program. +# If not, see . +# +############################################################################# +from . import res_company +from . import document_layout diff --git a/invoice_format_editor/model/document_layout.py b/invoice_format_editor/model/document_layout.py new file mode 100644 index 000000000..c6303ce61 --- /dev/null +++ b/invoice_format_editor/model/document_layout.py @@ -0,0 +1,74 @@ +# -*- coding: utf-8 -*- +############################################################################# +# +# Cybrosys Technologies Pvt. Ltd. +# +# Copyright (C) 2021-TODAY Cybrosys Technologies() +# Author: Cybrosys Techno Solutions() +# +# You can modify it under the terms of the GNU LESSER +# GENERAL PUBLIC LICENSE (LGPL 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 LESSER GENERAL PUBLIC LICENSE (LGPL v3) for more details. +# +# You should have received a copy of the GNU LESSER GENERAL PUBLIC LICENSE +# (LGPL v3) along with this program. +# If not, see . +# +############################################################################# + +from odoo import models, fields, api + + +class AddDocumentTemplate(models.Model): + _name = "doc.layout" + _description = 'Adding the fields for customization' + _rec_name = 'name' + + name = fields.Char("Name") + + base_color = fields.Char("Base Color", + help="Background color for the invoice") + + heading_text_color = fields.Char("Heading text Color", + help="Heading Text color") + + text_color = fields.Char("Text Color", help="Text color of items") + + customer_text_color = fields.Char("Customer Text Color", + help="Customer address text color") + + company_text_color = fields.Char("Company Text Color", + help="Company address Text color") + + logo_position = fields.Selection([('left', 'Left'), ('right', 'Right')], + string="Logo Position", + help="Company logo position") + + customer_position = fields.Selection( + [('left', 'Left'), ('right', 'Right')], string="Customer position", + help="Customer address position") + + company_position = fields.Selection([('left', 'Left'), ('right', 'Right')], + string="Company Address Position", + help="Company address position") + + sales_person = fields.Boolean('Sales person', default=False, + help="Sales Person") + description = fields.Boolean('Description', default=False, + help="Description") + hsn_code = fields.Boolean('HSN Code', default=False, help="HSN code") + tax_value = fields.Boolean('Tax', default=False, help="Tax") + reference = fields.Boolean('Reference', default=False, + help="Customer Reference") + source = fields.Boolean('Source', default=False, + help="Source Document") + address = fields.Boolean('Address', default=False, + help="Address") + city = fields.Boolean('City', default=False, + help="City") + country = fields.Boolean('Country', default=False, + help="Country") diff --git a/invoice_format_editor/model/res_company.py b/invoice_format_editor/model/res_company.py new file mode 100644 index 000000000..63098167e --- /dev/null +++ b/invoice_format_editor/model/res_company.py @@ -0,0 +1,95 @@ +# -*- coding: utf-8 -*- +############################################################################# +# +# Cybrosys Technologies Pvt. Ltd. +# +# Copyright (C) 2021-TODAY Cybrosys Technologies() +# Author: Cybrosys Techno Solutions() +# +# You can modify it under the terms of the GNU LESSER +# GENERAL PUBLIC LICENSE (LGPL 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 LESSER GENERAL PUBLIC LICENSE (LGPL v3) for more details. +# +# You should have received a copy of the GNU LESSER GENERAL PUBLIC LICENSE +# (LGPL v3) along with this program. +# If not, see . +# +############################################################################# +from odoo import models, fields, api + + +class ReportCompanyTemplate(models.Model): + _inherit = 'res.company' + + base_layout = fields.Selection( + [('normal', 'Normal'), ('modern', 'Modern'), ('old', 'Old Standard'), + ('default', 'Default')], + string="Invoice Document Layout", default="default") + document_layout_id = fields.Many2one("doc.layout", + string="Invoice Layout Configuration" + ) + + +class TemplateInvoice(models.Model): + _inherit = 'account.move' + + base_layout = fields.Selection( + [('normal', 'Normal'), ('modern', 'Modern'), ('old', 'Old Standard'), + ('default', 'Default')]) + theme_id = fields.Many2one('doc.layout', + related='company_id.document_layout_id') + + +class BaseDocumentLayout(models.TransientModel): + _inherit = 'base.document.layout' + + base_layout = fields.Selection(related='company_id.base_layout', + readonly=False) + document_layout_id = fields.Many2one( + related='company_id.document_layout_id', readonly=False) + + @api.depends('report_layout_id', 'logo', 'font', 'primary_color', + 'secondary_color', 'report_header', 'report_footer', + 'base_layout', 'document_layout_id') + def _compute_preview(self): + """ compute a qweb based preview to display on the wizard """ + + styles = self._get_asset_style() + + for wizard in self: + if wizard.report_layout_id: + if wizard.base_layout == 'default': + preview_css = self._get_css_for_preview(styles, wizard.id) + ir_ui_view = wizard.env['ir.ui.view'] + wizard.preview = ir_ui_view._render_template( + 'invoice_format_editor.report_preview_default', + {'company': wizard, 'preview_css': preview_css}) + + elif wizard.base_layout == 'normal': + preview_css = self._get_css_for_preview(styles, wizard.id) + ir_ui_view = wizard.env['ir.ui.view'] + wizard.preview = ir_ui_view._render_template( + 'invoice_format_editor.report_preview_normal', + {'company': wizard, 'preview_css': preview_css, }) + + elif wizard.base_layout == 'modern': + preview_css = self._get_css_for_preview(styles, wizard.id) + ir_ui_view = wizard.env['ir.ui.view'] + wizard.preview = ir_ui_view._render_template( + 'invoice_format_editor.report_preview_modern', + {'company': wizard, 'preview_css': preview_css, }) + + elif wizard.base_layout == 'old': + preview_css = self._get_css_for_preview(styles, wizard.id) + ir_ui_view = wizard.env['ir.ui.view'] + wizard.preview = ir_ui_view._render_template( + 'invoice_format_editor.report_preview_old', + {'company': wizard, 'preview_css': preview_css, }) + else: + wizard.preview = False + else: + wizard.preview = False diff --git a/invoice_format_editor/reports/custom_invoice_template.xml b/invoice_format_editor/reports/custom_invoice_template.xml new file mode 100644 index 000000000..dff771b7c --- /dev/null +++ b/invoice_format_editor/reports/custom_invoice_template.xml @@ -0,0 +1,460 @@ + + + + + + + + \ No newline at end of file diff --git a/invoice_format_editor/reports/custom_invoice_template_fantacy.xml b/invoice_format_editor/reports/custom_invoice_template_fantacy.xml new file mode 100644 index 000000000..6b8f4556a --- /dev/null +++ b/invoice_format_editor/reports/custom_invoice_template_fantacy.xml @@ -0,0 +1,344 @@ + + + + + + + \ No newline at end of file diff --git a/invoice_format_editor/reports/custom_invoice_template_old_standard.xml b/invoice_format_editor/reports/custom_invoice_template_old_standard.xml new file mode 100644 index 000000000..b3a26d212 --- /dev/null +++ b/invoice_format_editor/reports/custom_invoice_template_old_standard.xml @@ -0,0 +1,270 @@ + + + + + + \ No newline at end of file diff --git a/invoice_format_editor/reports/default_invoice_template.xml b/invoice_format_editor/reports/default_invoice_template.xml new file mode 100644 index 000000000..46d773412 --- /dev/null +++ b/invoice_format_editor/reports/default_invoice_template.xml @@ -0,0 +1,242 @@ + + + + + + + + + + + + + + diff --git a/invoice_format_editor/security/ir.model.access.csv b/invoice_format_editor/security/ir.model.access.csv new file mode 100644 index 000000000..d7804d521 --- /dev/null +++ b/invoice_format_editor/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_document_template,document.template,model_doc_layout,base.group_user,1,1,1,1 diff --git a/invoice_format_editor/static/description/assets/icons/check.png b/invoice_format_editor/static/description/assets/icons/check.png new file mode 100644 index 000000000..c8e85f51d Binary files /dev/null and b/invoice_format_editor/static/description/assets/icons/check.png differ diff --git a/invoice_format_editor/static/description/assets/icons/chevron.png b/invoice_format_editor/static/description/assets/icons/chevron.png new file mode 100644 index 000000000..2089293d6 Binary files /dev/null and b/invoice_format_editor/static/description/assets/icons/chevron.png differ diff --git a/invoice_format_editor/static/description/assets/icons/cogs.png b/invoice_format_editor/static/description/assets/icons/cogs.png new file mode 100644 index 000000000..95d0bad62 Binary files /dev/null and b/invoice_format_editor/static/description/assets/icons/cogs.png differ diff --git a/invoice_format_editor/static/description/assets/icons/consultation.png b/invoice_format_editor/static/description/assets/icons/consultation.png new file mode 100644 index 000000000..8319d4baa Binary files /dev/null and b/invoice_format_editor/static/description/assets/icons/consultation.png differ diff --git a/invoice_format_editor/static/description/assets/icons/ecom-black.png b/invoice_format_editor/static/description/assets/icons/ecom-black.png new file mode 100644 index 000000000..a9385ff13 Binary files /dev/null and b/invoice_format_editor/static/description/assets/icons/ecom-black.png differ diff --git a/invoice_format_editor/static/description/assets/icons/education-black.png b/invoice_format_editor/static/description/assets/icons/education-black.png new file mode 100644 index 000000000..3eb09b27b Binary files /dev/null and b/invoice_format_editor/static/description/assets/icons/education-black.png differ diff --git a/invoice_format_editor/static/description/assets/icons/hotel-black.png b/invoice_format_editor/static/description/assets/icons/hotel-black.png new file mode 100644 index 000000000..130f613be Binary files /dev/null and b/invoice_format_editor/static/description/assets/icons/hotel-black.png differ diff --git a/invoice_format_editor/static/description/assets/icons/license.png b/invoice_format_editor/static/description/assets/icons/license.png new file mode 100644 index 000000000..a5869797e Binary files /dev/null and b/invoice_format_editor/static/description/assets/icons/license.png differ diff --git a/invoice_format_editor/static/description/assets/icons/lifebuoy.png b/invoice_format_editor/static/description/assets/icons/lifebuoy.png new file mode 100644 index 000000000..658d56ccc Binary files /dev/null and b/invoice_format_editor/static/description/assets/icons/lifebuoy.png differ diff --git a/invoice_format_editor/static/description/assets/icons/logo.png b/invoice_format_editor/static/description/assets/icons/logo.png new file mode 100644 index 000000000..478462d3e Binary files /dev/null and b/invoice_format_editor/static/description/assets/icons/logo.png differ diff --git a/invoice_format_editor/static/description/assets/icons/manufacturing-black.png b/invoice_format_editor/static/description/assets/icons/manufacturing-black.png new file mode 100644 index 000000000..697eb0e9f Binary files /dev/null and b/invoice_format_editor/static/description/assets/icons/manufacturing-black.png differ diff --git a/invoice_format_editor/static/description/assets/icons/pos-black.png b/invoice_format_editor/static/description/assets/icons/pos-black.png new file mode 100644 index 000000000..97c0f90c1 Binary files /dev/null and b/invoice_format_editor/static/description/assets/icons/pos-black.png differ diff --git a/invoice_format_editor/static/description/assets/icons/puzzle.png b/invoice_format_editor/static/description/assets/icons/puzzle.png new file mode 100644 index 000000000..65cf854e7 Binary files /dev/null and b/invoice_format_editor/static/description/assets/icons/puzzle.png differ diff --git a/invoice_format_editor/static/description/assets/icons/restaurant-black.png b/invoice_format_editor/static/description/assets/icons/restaurant-black.png new file mode 100644 index 000000000..4a35eb939 Binary files /dev/null and b/invoice_format_editor/static/description/assets/icons/restaurant-black.png differ diff --git a/invoice_format_editor/static/description/assets/icons/service-black.png b/invoice_format_editor/static/description/assets/icons/service-black.png new file mode 100644 index 000000000..301ab51cb Binary files /dev/null and b/invoice_format_editor/static/description/assets/icons/service-black.png differ diff --git a/invoice_format_editor/static/description/assets/icons/trading-black.png b/invoice_format_editor/static/description/assets/icons/trading-black.png new file mode 100644 index 000000000..9398ba2f1 Binary files /dev/null and b/invoice_format_editor/static/description/assets/icons/trading-black.png differ diff --git a/invoice_format_editor/static/description/assets/icons/training.png b/invoice_format_editor/static/description/assets/icons/training.png new file mode 100644 index 000000000..884ca024d Binary files /dev/null and b/invoice_format_editor/static/description/assets/icons/training.png differ diff --git a/invoice_format_editor/static/description/assets/icons/update.png b/invoice_format_editor/static/description/assets/icons/update.png new file mode 100644 index 000000000..ecbc5a01a Binary files /dev/null and b/invoice_format_editor/static/description/assets/icons/update.png differ diff --git a/invoice_format_editor/static/description/assets/icons/user.png b/invoice_format_editor/static/description/assets/icons/user.png new file mode 100644 index 000000000..6ffb23d9f Binary files /dev/null and b/invoice_format_editor/static/description/assets/icons/user.png differ diff --git a/invoice_format_editor/static/description/assets/icons/wrench.png b/invoice_format_editor/static/description/assets/icons/wrench.png new file mode 100644 index 000000000..6c04dea0f Binary files /dev/null and b/invoice_format_editor/static/description/assets/icons/wrench.png differ diff --git a/invoice_format_editor/static/description/assets/modules/budget_image.png b/invoice_format_editor/static/description/assets/modules/budget_image.png new file mode 100644 index 000000000..b50130c7d Binary files /dev/null and b/invoice_format_editor/static/description/assets/modules/budget_image.png differ diff --git a/invoice_format_editor/static/description/assets/modules/credit_image.png b/invoice_format_editor/static/description/assets/modules/credit_image.png new file mode 100644 index 000000000..3ad04ecfd Binary files /dev/null and b/invoice_format_editor/static/description/assets/modules/credit_image.png differ diff --git a/invoice_format_editor/static/description/assets/modules/employee_image.png b/invoice_format_editor/static/description/assets/modules/employee_image.png new file mode 100644 index 000000000..30ad58232 Binary files /dev/null and b/invoice_format_editor/static/description/assets/modules/employee_image.png differ diff --git a/invoice_format_editor/static/description/assets/modules/export_image.png b/invoice_format_editor/static/description/assets/modules/export_image.png new file mode 100644 index 000000000..492980ad0 Binary files /dev/null and b/invoice_format_editor/static/description/assets/modules/export_image.png differ diff --git a/invoice_format_editor/static/description/assets/modules/gantt_image.png b/invoice_format_editor/static/description/assets/modules/gantt_image.png new file mode 100644 index 000000000..1ae7cfe3b Binary files /dev/null and b/invoice_format_editor/static/description/assets/modules/gantt_image.png differ diff --git a/invoice_format_editor/static/description/assets/modules/quotation_image.png b/invoice_format_editor/static/description/assets/modules/quotation_image.png new file mode 100644 index 000000000..499b1a72f Binary files /dev/null and b/invoice_format_editor/static/description/assets/modules/quotation_image.png differ diff --git a/invoice_format_editor/static/description/assets/screenshots/hero.gif b/invoice_format_editor/static/description/assets/screenshots/hero.gif new file mode 100644 index 000000000..427b9e1bd Binary files /dev/null and b/invoice_format_editor/static/description/assets/screenshots/hero.gif differ diff --git a/invoice_format_editor/static/description/assets/screenshots/inv_format1.png b/invoice_format_editor/static/description/assets/screenshots/inv_format1.png new file mode 100644 index 000000000..84f41d13d Binary files /dev/null and b/invoice_format_editor/static/description/assets/screenshots/inv_format1.png differ diff --git a/invoice_format_editor/static/description/assets/screenshots/inv_format2.png b/invoice_format_editor/static/description/assets/screenshots/inv_format2.png new file mode 100644 index 000000000..458cbcc0f Binary files /dev/null and b/invoice_format_editor/static/description/assets/screenshots/inv_format2.png differ diff --git a/invoice_format_editor/static/description/assets/screenshots/inv_format3.png b/invoice_format_editor/static/description/assets/screenshots/inv_format3.png new file mode 100644 index 000000000..299c60d8d Binary files /dev/null and b/invoice_format_editor/static/description/assets/screenshots/inv_format3.png differ diff --git a/invoice_format_editor/static/description/assets/screenshots/inv_format4.png b/invoice_format_editor/static/description/assets/screenshots/inv_format4.png new file mode 100644 index 000000000..154e5a0af Binary files /dev/null and b/invoice_format_editor/static/description/assets/screenshots/inv_format4.png differ diff --git a/invoice_format_editor/static/description/assets/screenshots/inv_format5.png b/invoice_format_editor/static/description/assets/screenshots/inv_format5.png new file mode 100644 index 000000000..d647eab5c Binary files /dev/null and b/invoice_format_editor/static/description/assets/screenshots/inv_format5.png differ diff --git a/invoice_format_editor/static/description/assets/screenshots/inv_format6.png b/invoice_format_editor/static/description/assets/screenshots/inv_format6.png new file mode 100644 index 000000000..4846adb7c Binary files /dev/null and b/invoice_format_editor/static/description/assets/screenshots/inv_format6.png differ diff --git a/invoice_format_editor/static/description/assets/screenshots/inv_format7.png b/invoice_format_editor/static/description/assets/screenshots/inv_format7.png new file mode 100644 index 000000000..99666dc81 Binary files /dev/null and b/invoice_format_editor/static/description/assets/screenshots/inv_format7.png differ diff --git a/invoice_format_editor/static/description/banner.png b/invoice_format_editor/static/description/banner.png new file mode 100644 index 000000000..3932f4062 Binary files /dev/null and b/invoice_format_editor/static/description/banner.png differ diff --git a/invoice_format_editor/static/description/icon.png b/invoice_format_editor/static/description/icon.png new file mode 100644 index 000000000..fc9465266 Binary files /dev/null and b/invoice_format_editor/static/description/icon.png differ diff --git a/invoice_format_editor/static/description/index.html b/invoice_format_editor/static/description/index.html new file mode 100644 index 000000000..cd118e945 --- /dev/null +++ b/invoice_format_editor/static/description/index.html @@ -0,0 +1,629 @@ +
+
+
+
+ +
+
+
+ Community +
+
+ Enterprise +
+ +
+
+
+
+ +
+
+
+

+ Invoice Format Editor

+

+ A Module For Configuring the Invoice Templates +

+ +
+
+ + + +
+
+

+ Overview +

+
+ +
+

+ In the Invoice Format Editor App, We can configure the invoice fields to our own need. + There we can have 4 types of templates - Default, Normal, Modern, Old Standard. + We can also customize and hide the fields.

+
+

+ +
+ + +
+
+

+ Features +

+
+ +
+
+ +
+
+

+ Configure the layout

+
+
+ +
+
+ +
+
+

+ Configure the position of fields

+
+
+ +
+
+ +
+
+

+ Hide option for the invoice fields

+
+
+ +
+
+ +
+
+

+ Edit the theme

+
+
+ + +
+ +
+
+

+ Screenshots +

+
+
+

+ Document layout configuration

+

+ From Document layout configuration in settings, user can select and configure the invoice document + layout

+ +
+ +
+

+ Invoice Layout Configuration

+

+ User can configure the text positions, text colors and invoice fields. +

+ +
+ +
+

+ Print Invoice

+ +
+ + +
+

+ Normal Template

+ +
+ + +
+

+ Modern Template

+ +
+ + +
+

+ Old Standard Template

+ +
+ +
+

+ Default Template

+ +
+ +
+ +
+
+

Suggested Products

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

Our Services

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

Our Industries

+
+
+ +
+
+ +
+ Trading +
+

+ Easily procure + and + sell your products

+
+
+ +
+
+ +
+ POS +
+

+ Easy + configuration + and convivial experience

+
+
+ +
+
+ +
+ Education +
+

+ A platform for + educational management

+
+
+ +
+
+ +
+ Manufacturing +
+

+ Plan, track and + schedule your operations

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

+ Mobile + friendly, + awe-inspiring product pages

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

+ Keep track of + services and invoice

+
+
+ +
+
+ +
+ Restaurant +
+

+ Run your bar or + restaurant methodically

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

+ An + all-inclusive + hotel management application

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

Need Help?

+
+
+
+ + +
+ +
+ +
+ +
+ WhatsApp +
+
+
+ +
+ +
+ +
+
+ +
+ +
+ +
+
+ +
+
+
+ + +
\ No newline at end of file diff --git a/invoice_format_editor/static/src/css/invoice_layout.css b/invoice_format_editor/static/src/css/invoice_layout.css new file mode 100644 index 000000000..84139d5c3 --- /dev/null +++ b/invoice_format_editor/static/src/css/invoice_layout.css @@ -0,0 +1,3 @@ +body{ + color:red; +} \ No newline at end of file diff --git a/invoice_format_editor/template_view/default_template_view.xml b/invoice_format_editor/template_view/default_template_view.xml new file mode 100644 index 000000000..7de1381cf --- /dev/null +++ b/invoice_format_editor/template_view/default_template_view.xml @@ -0,0 +1,204 @@ + + + + + + + \ No newline at end of file diff --git a/invoice_format_editor/template_view/modern_template_view.xml b/invoice_format_editor/template_view/modern_template_view.xml new file mode 100644 index 000000000..f2722005b --- /dev/null +++ b/invoice_format_editor/template_view/modern_template_view.xml @@ -0,0 +1,233 @@ + + + + + + + \ No newline at end of file diff --git a/invoice_format_editor/template_view/normal_template_view.xml b/invoice_format_editor/template_view/normal_template_view.xml new file mode 100644 index 000000000..7d5a74fc0 --- /dev/null +++ b/invoice_format_editor/template_view/normal_template_view.xml @@ -0,0 +1,223 @@ + + + + + + diff --git a/invoice_format_editor/template_view/old_template_view.xml b/invoice_format_editor/template_view/old_template_view.xml new file mode 100644 index 000000000..faf6688e7 --- /dev/null +++ b/invoice_format_editor/template_view/old_template_view.xml @@ -0,0 +1,249 @@ + + + + + + + \ No newline at end of file diff --git a/invoice_format_editor/views/custom_layouts.xml b/invoice_format_editor/views/custom_layouts.xml new file mode 100644 index 000000000..35a4049eb --- /dev/null +++ b/invoice_format_editor/views/custom_layouts.xml @@ -0,0 +1,59 @@ + + + + + document.custom.layout + doc.layout + +
+ +
+

+ +

+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+
+
+
+
+ + diff --git a/invoice_format_editor/views/document_base_layout.xml b/invoice_format_editor/views/document_base_layout.xml new file mode 100644 index 000000000..2d41fa019 --- /dev/null +++ b/invoice_format_editor/views/document_base_layout.xml @@ -0,0 +1,17 @@ + + + + + base.layout.new + base.document.layout + + + + + + + + + + \ No newline at end of file