diff --git a/sale_report_format_editor/README.rst b/sale_report_format_editor/README.rst new file mode 100644 index 000000000..f167c16b9 --- /dev/null +++ b/sale_report_format_editor/README.rst @@ -0,0 +1,48 @@ +.. image:: https://img.shields.io/badge/license-LGPL--3-green.svg + :target: https://www.gnu.org/licenses/lgpl-3.0-standalone.html + :alt: License: LGPL-3 + +Sale Report Format Editor +========================= +* The module assists in customizing sale report layouts in Odoo 17. + +Configuration +============= +* No additional configurations needed + +Company +------- +* `Cybrosys Techno Solutions `__ + +License +------- +General Public License, Version 3 (LGPL v3). +(https://www.gnu.org/licenses/lgpl-3.0-standalone.html) + +Credits +------- +* Developers: (V17) Swathy K S + (V16) Raneesha MK + (V15) Jibin + Contact: odoo@cybrosys.com + +Contacts +-------- +* Mail Contact : odoo@cybrosys.com +* Website : https://cybrosys.com + +Bug Tracker +----------- +Bugs are tracked on GitHub Issues. In case of trouble, please check there if your issue has already been reported. + +Maintainer +========== +.. image:: https://cybrosys.com/images/logo.png + :target: https://cybrosys.com +This module is maintained by Cybrosys Technologies. + +For support and more information, please visit `Our Website `__ + +Further information +=================== +HTML Description: ``__ diff --git a/sale_report_format_editor/__init__.py b/sale_report_format_editor/__init__.py new file mode 100644 index 000000000..fd9a03f79 --- /dev/null +++ b/sale_report_format_editor/__init__.py @@ -0,0 +1,22 @@ +# -*- coding: utf-8 -*- +############################################################################## +# +# Cybrosys Technologies Pvt. Ltd. +# +# Copyright (C) 2024-TODAY Cybrosys Technologies() +# Author: Swathy K S (odoo@cybrosys.com) +# +# 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 models diff --git a/sale_report_format_editor/__manifest__.py b/sale_report_format_editor/__manifest__.py new file mode 100644 index 000000000..a0f39bb33 --- /dev/null +++ b/sale_report_format_editor/__manifest__.py @@ -0,0 +1,60 @@ +# -*- coding: utf-8 -*- +############################################################################## +# +# Cybrosys Technologies Pvt. Ltd. +# +# Copyright (C) 2024-TODAY Cybrosys Technologies() +# Author: Swathy K S (odoo@cybrosys.com) +# +# 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': 'Sale Report Format Editor', + 'version': '17.0.1.0.0', + 'category': 'Sales', + 'summary': 'Sale Report Format Editor For Configuring the Sale Report ' + 'Templates', + 'description': 'In the Sale Format Editor App, We can configure the sale ' + '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', + 'author': 'Cybrosys Techno Solutions', + 'company': 'Cybrosys Techno Solutions', + 'maintainer': 'Cybrosys Techno Solutions', + 'website': 'https://www.cybrosys.com', + 'depends': ['sale_management'], + 'data': [ + 'security/ir.model.access.csv', + 'data/doc_layout_data.xml', + 'report/report_sale_templates.xml', + 'report/sale_normal_templates.xml', + 'report/sale_modern_templates.xml', + 'report/sale_old_templates.xml', + 'report/preview_layout_report_templates.xml', + 'views/doc_layout_views.xml', + 'views/custom_external_layout_templates.xml', + 'views/base_document_layout_views.xml', + 'views/default_preview_templates.xml', + 'views/normal_preview_templates.xml', + 'views/modern_preview_templates.xml', + 'views/old_preview_templates.xml', + ], + 'images': [ + 'static/description/banner.jpg' + ], + 'license': 'LGPL-3', + 'installable': True, + 'auto_install': False, + 'application': False, +} diff --git a/sale_report_format_editor/data/doc_layout_data.xml b/sale_report_format_editor/data/doc_layout_data.xml new file mode 100644 index 000000000..78922f53e --- /dev/null +++ b/sale_report_format_editor/data/doc_layout_data.xml @@ -0,0 +1,32 @@ + + + + + + Modern + #732673 + #ffffff + #000000 + #000000 + right + right + left + #808080 + True + True + + + Standard + #ff7733 + #ffffff + #000000 + #000000 + left + left + right + #808080 + True + True + + + diff --git a/sale_report_format_editor/doc/RELEASE_NOTES.md b/sale_report_format_editor/doc/RELEASE_NOTES.md new file mode 100644 index 000000000..d15594f8d --- /dev/null +++ b/sale_report_format_editor/doc/RELEASE_NOTES.md @@ -0,0 +1,6 @@ +## Module + +#### 17.01.2024 +#### Version 17.0.1.0.0 +#### ADD +- Initial commit for Sale Report Format Editor diff --git a/sale_report_format_editor/models/__init__.py b/sale_report_format_editor/models/__init__.py new file mode 100644 index 000000000..8d4b8408d --- /dev/null +++ b/sale_report_format_editor/models/__init__.py @@ -0,0 +1,25 @@ +# -*- coding: utf-8 -*- +############################################################################## +# +# Cybrosys Technologies Pvt. Ltd. +# +# Copyright (C) 2024-TODAY Cybrosys Technologies() +# Author: Swathy K S (odoo@cybrosys.com) +# +# 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 base_document_layout +from . import doc_layout +from . import res_company +from . import sale_order diff --git a/sale_report_format_editor/models/base_document_layout.py b/sale_report_format_editor/models/base_document_layout.py new file mode 100644 index 000000000..db0e52c60 --- /dev/null +++ b/sale_report_format_editor/models/base_document_layout.py @@ -0,0 +1,79 @@ +# -*- coding: utf-8 -*- +############################################################################## +# +# Cybrosys Technologies Pvt. Ltd. +# +# Copyright (C) 2024-TODAY Cybrosys Technologies() +# Author: Swathy K S (odoo@cybrosys.com) +# +# 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 api, fields, models + + +class BaseDocumentLayout(models.TransientModel): + """Inheriting the base document layout model to add some fields""" + _inherit = 'base.document.layout' + + base_layout = fields.Selection(related='company_id.base_layout', + string="Base Layout", readonly=False, + help="Base layout of current company") + document_layout_id = fields.Many2one( + related='company_id.document_layout_id', string="Sale Document Layout", + readonly=False, help="Sale Document layout of company") + watermark = fields.Boolean(string='Watermark', + help="Enable if you want show " + "watermark on report") + watermark_show = fields.Selection( + [('logo', 'Company Logo'), ('name', 'Company Name')], + default='logo', string="Watermark Show", help="Types of Watermark") + + @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 of selected base layouts to + display on the wizards """ + 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( + 'sale_report_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( + 'sale_report_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( + 'sale_report_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( + 'sale_report_format_editor.report_preview_old', + {'company': wizard, 'preview_css': preview_css, }) + else: + wizard.preview = False + else: + wizard.preview = False diff --git a/sale_report_format_editor/models/doc_layout.py b/sale_report_format_editor/models/doc_layout.py new file mode 100644 index 000000000..eb5f74e37 --- /dev/null +++ b/sale_report_format_editor/models/doc_layout.py @@ -0,0 +1,82 @@ +# -*- coding: utf-8 -*- +############################################################################## +# +# Cybrosys Technologies Pvt. Ltd. +# +# Copyright (C) 2024-TODAY Cybrosys Technologies() +# Author: Swathy K S (odoo@cybrosys.com) +# +# 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 fields, models + + +class DocLayout(models.Model): + """Used for designing the document template of sale""" + _name = "doc.layout" + _description = 'Layout Customization' + + name = fields.Char(string="Name", help="Name of the Layout") + base_color = fields.Char(string="Base Color", + help="Background color for the invoice") + heading_text_color = fields.Char(string="Heading Text Color", + help="Text color for headings") + text_color = fields.Char(string="Text Color", help="Text color of items") + customer_text_color = fields.Char(string="Customer Text Color", + help="Customer address text color") + company_text_color = fields.Char(string="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(string='Sales person', default=True, + help="Display sale person of the sale") + description = fields.Boolean(string='Description', default=True, + help="Display product description") + tax_value = fields.Boolean(string='Tax', help="Applied tax of order line") + reference = fields.Boolean(string='Customer Reference', + help="Display customer reference of the sale") + tagline_position = fields.Selection( + selection=[('left', 'Left'), ('right', 'Right')], + string="Tagline Position", default='right', + help="Company Tagline position") + source = fields.Boolean(string='Source', + help="Display source document of the sale") + address = fields.Boolean(string='Address', + help="Display customer address") + city = fields.Boolean(string='City', + help="Display city of customer address") + country = fields.Boolean(string='Country', + help="Display country of customer address") + company_id = fields.Many2one('res.company', string='Company', + help="Current Company", + default=lambda self: self.env.company) + vat = fields.Boolean(string='VAT', default=True, + help='Customer vat id') + watermark = fields.Boolean(string='Watermark', help="Watermark on report", + related='company_id.watermark', + readonly=False) + watermark_show = fields.Selection( + [('logo', 'Company Logo'), ('name', 'Company Name')], + default='logo', string="Watermark Show", help="Watermark types", + related='company_id.watermark_show', readonly=False) diff --git a/sale_report_format_editor/models/res_company.py b/sale_report_format_editor/models/res_company.py new file mode 100644 index 000000000..58945e58e --- /dev/null +++ b/sale_report_format_editor/models/res_company.py @@ -0,0 +1,42 @@ +# -*- coding: utf-8 -*- +############################################################################## +# +# Cybrosys Technologies Pvt. Ltd. +# +# Copyright (C) 2024-TODAY Cybrosys Technologies() +# Author: Swathy K S (odoo@cybrosys.com) +# +# 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 + + +class ResCompany(models.Model): + """Inheriting the res company model for adding sale document + layout details""" + _inherit = 'res.company' + + base_layout = fields.Selection( + [('default', 'Default'), ('modern', 'Modern'), + ('normal', 'Normal'), ('old', 'Old Standard'), + ], string="Sale Document Layout", default="default", + help="Sale document base layout types") + document_layout_id = fields.Many2one("doc.layout", + string="Sale Layout Configuration", + help="Configuration of sale " + "document layout") + watermark = fields.Boolean(string='Watermark', help="Watermark on report") + watermark_show = fields.Selection( + [('logo', 'Company Logo'), ('name', 'Company Name')], + default='logo', string="Watermark Show", help="Types of Watermark") diff --git a/sale_report_format_editor/models/sale_order.py b/sale_report_format_editor/models/sale_order.py new file mode 100644 index 000000000..397d57462 --- /dev/null +++ b/sale_report_format_editor/models/sale_order.py @@ -0,0 +1,39 @@ +# -*- coding: utf-8 -*- +############################################################################## +# +# Cybrosys Technologies Pvt. Ltd. +# +# Copyright (C) 2024-TODAY Cybrosys Technologies() +# Author: Swathy K S (odoo@cybrosys.com) +# +# 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 fields, models + + +class SaleOrder(models.Model): + """Inheriting the sale order model and added the base layout and + a relational field to doc layout model""" + _inherit = 'sale.order' + + base_layout = fields.Selection( + [('normal', 'Normal'), ('modern', 'Modern'), + ('old', 'Old Standard'), + ('default', 'Default')], + default="default", + string="Sale Document Layout", help="Type of sale document layout") + theme_id = fields.Many2one('doc.layout', + string="Sale Layout Configuration", + help="Configuration of sale document layout", + related='company_id.document_layout_id') diff --git a/sale_report_format_editor/report/preview_layout_report_templates.xml b/sale_report_format_editor/report/preview_layout_report_templates.xml new file mode 100644 index 000000000..c5e498911 --- /dev/null +++ b/sale_report_format_editor/report/preview_layout_report_templates.xml @@ -0,0 +1,23 @@ + + + + + diff --git a/sale_report_format_editor/report/report_sale_templates.xml b/sale_report_format_editor/report/report_sale_templates.xml new file mode 100644 index 000000000..8b165b75e --- /dev/null +++ b/sale_report_format_editor/report/report_sale_templates.xml @@ -0,0 +1,50 @@ + + + + + + + diff --git a/sale_report_format_editor/report/sale_modern_templates.xml b/sale_report_format_editor/report/sale_modern_templates.xml new file mode 100644 index 000000000..b0d2bb5ed --- /dev/null +++ b/sale_report_format_editor/report/sale_modern_templates.xml @@ -0,0 +1,312 @@ + + + + + diff --git a/sale_report_format_editor/report/sale_normal_templates.xml b/sale_report_format_editor/report/sale_normal_templates.xml new file mode 100644 index 000000000..1b5d119e7 --- /dev/null +++ b/sale_report_format_editor/report/sale_normal_templates.xml @@ -0,0 +1,312 @@ + + + + + diff --git a/sale_report_format_editor/report/sale_old_templates.xml b/sale_report_format_editor/report/sale_old_templates.xml new file mode 100644 index 000000000..f982d334a --- /dev/null +++ b/sale_report_format_editor/report/sale_old_templates.xml @@ -0,0 +1,310 @@ + + + + + diff --git a/sale_report_format_editor/security/ir.model.access.csv b/sale_report_format_editor/security/ir.model.access.csv new file mode 100644 index 000000000..e1a2ed5ab --- /dev/null +++ b/sale_report_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_doc_layout_user,access.doc.layout.user,model_doc_layout,base.group_user,1,1,1,1 diff --git a/sale_report_format_editor/static/description/assets/icons/capture (1).png b/sale_report_format_editor/static/description/assets/icons/capture (1).png new file mode 100644 index 000000000..8824deafc Binary files /dev/null and b/sale_report_format_editor/static/description/assets/icons/capture (1).png differ diff --git a/sale_report_format_editor/static/description/assets/icons/check.png b/sale_report_format_editor/static/description/assets/icons/check.png new file mode 100644 index 000000000..c8e85f51d Binary files /dev/null and b/sale_report_format_editor/static/description/assets/icons/check.png differ diff --git a/sale_report_format_editor/static/description/assets/icons/chevron.png b/sale_report_format_editor/static/description/assets/icons/chevron.png new file mode 100644 index 000000000..2089293d6 Binary files /dev/null and b/sale_report_format_editor/static/description/assets/icons/chevron.png differ diff --git a/sale_report_format_editor/static/description/assets/icons/cogs.png b/sale_report_format_editor/static/description/assets/icons/cogs.png new file mode 100644 index 000000000..95d0bad62 Binary files /dev/null and b/sale_report_format_editor/static/description/assets/icons/cogs.png differ diff --git a/sale_report_format_editor/static/description/assets/icons/consultation.png b/sale_report_format_editor/static/description/assets/icons/consultation.png new file mode 100644 index 000000000..8319d4baa Binary files /dev/null and b/sale_report_format_editor/static/description/assets/icons/consultation.png differ diff --git a/sale_report_format_editor/static/description/assets/icons/ecom-black.png b/sale_report_format_editor/static/description/assets/icons/ecom-black.png new file mode 100644 index 000000000..a9385ff13 Binary files /dev/null and b/sale_report_format_editor/static/description/assets/icons/ecom-black.png differ diff --git a/sale_report_format_editor/static/description/assets/icons/education-black.png b/sale_report_format_editor/static/description/assets/icons/education-black.png new file mode 100644 index 000000000..3eb09b27b Binary files /dev/null and b/sale_report_format_editor/static/description/assets/icons/education-black.png differ diff --git a/sale_report_format_editor/static/description/assets/icons/hotel-black.png b/sale_report_format_editor/static/description/assets/icons/hotel-black.png new file mode 100644 index 000000000..130f613be Binary files /dev/null and b/sale_report_format_editor/static/description/assets/icons/hotel-black.png differ diff --git a/sale_report_format_editor/static/description/assets/icons/img.png b/sale_report_format_editor/static/description/assets/icons/img.png new file mode 100644 index 000000000..70197f477 Binary files /dev/null and b/sale_report_format_editor/static/description/assets/icons/img.png differ diff --git a/sale_report_format_editor/static/description/assets/icons/license.png b/sale_report_format_editor/static/description/assets/icons/license.png new file mode 100644 index 000000000..a5869797e Binary files /dev/null and b/sale_report_format_editor/static/description/assets/icons/license.png differ diff --git a/sale_report_format_editor/static/description/assets/icons/lifebuoy.png b/sale_report_format_editor/static/description/assets/icons/lifebuoy.png new file mode 100644 index 000000000..658d56ccc Binary files /dev/null and b/sale_report_format_editor/static/description/assets/icons/lifebuoy.png differ diff --git a/sale_report_format_editor/static/description/assets/icons/manufacturing-black.png b/sale_report_format_editor/static/description/assets/icons/manufacturing-black.png new file mode 100644 index 000000000..697eb0e9f Binary files /dev/null and b/sale_report_format_editor/static/description/assets/icons/manufacturing-black.png differ diff --git a/sale_report_format_editor/static/description/assets/icons/photo-capture.png b/sale_report_format_editor/static/description/assets/icons/photo-capture.png new file mode 100644 index 000000000..06c111758 Binary files /dev/null and b/sale_report_format_editor/static/description/assets/icons/photo-capture.png differ diff --git a/sale_report_format_editor/static/description/assets/icons/pos-black.png b/sale_report_format_editor/static/description/assets/icons/pos-black.png new file mode 100644 index 000000000..97c0f90c1 Binary files /dev/null and b/sale_report_format_editor/static/description/assets/icons/pos-black.png differ diff --git a/sale_report_format_editor/static/description/assets/icons/puzzle.png b/sale_report_format_editor/static/description/assets/icons/puzzle.png new file mode 100644 index 000000000..65cf854e7 Binary files /dev/null and b/sale_report_format_editor/static/description/assets/icons/puzzle.png differ diff --git a/sale_report_format_editor/static/description/assets/icons/restaurant-black.png b/sale_report_format_editor/static/description/assets/icons/restaurant-black.png new file mode 100644 index 000000000..4a35eb939 Binary files /dev/null and b/sale_report_format_editor/static/description/assets/icons/restaurant-black.png differ diff --git a/sale_report_format_editor/static/description/assets/icons/service-black.png b/sale_report_format_editor/static/description/assets/icons/service-black.png new file mode 100644 index 000000000..301ab51cb Binary files /dev/null and b/sale_report_format_editor/static/description/assets/icons/service-black.png differ diff --git a/sale_report_format_editor/static/description/assets/icons/trading-black.png b/sale_report_format_editor/static/description/assets/icons/trading-black.png new file mode 100644 index 000000000..9398ba2f1 Binary files /dev/null and b/sale_report_format_editor/static/description/assets/icons/trading-black.png differ diff --git a/sale_report_format_editor/static/description/assets/icons/training.png b/sale_report_format_editor/static/description/assets/icons/training.png new file mode 100644 index 000000000..884ca024d Binary files /dev/null and b/sale_report_format_editor/static/description/assets/icons/training.png differ diff --git a/sale_report_format_editor/static/description/assets/icons/update.png b/sale_report_format_editor/static/description/assets/icons/update.png new file mode 100644 index 000000000..ecbc5a01a Binary files /dev/null and b/sale_report_format_editor/static/description/assets/icons/update.png differ diff --git a/sale_report_format_editor/static/description/assets/icons/user.png b/sale_report_format_editor/static/description/assets/icons/user.png new file mode 100644 index 000000000..6ffb23d9f Binary files /dev/null and b/sale_report_format_editor/static/description/assets/icons/user.png differ diff --git a/sale_report_format_editor/static/description/assets/icons/wrench.png b/sale_report_format_editor/static/description/assets/icons/wrench.png new file mode 100644 index 000000000..6c04dea0f Binary files /dev/null and b/sale_report_format_editor/static/description/assets/icons/wrench.png differ diff --git a/sale_report_format_editor/static/description/assets/misc/Cybrosys R.png b/sale_report_format_editor/static/description/assets/misc/Cybrosys R.png new file mode 100644 index 000000000..da4058087 Binary files /dev/null and b/sale_report_format_editor/static/description/assets/misc/Cybrosys R.png differ diff --git a/sale_report_format_editor/static/description/assets/misc/email.svg b/sale_report_format_editor/static/description/assets/misc/email.svg new file mode 100644 index 000000000..15291cdc3 --- /dev/null +++ b/sale_report_format_editor/static/description/assets/misc/email.svg @@ -0,0 +1,33 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/sale_report_format_editor/static/description/assets/misc/phone.svg b/sale_report_format_editor/static/description/assets/misc/phone.svg new file mode 100644 index 000000000..b7bd7f251 --- /dev/null +++ b/sale_report_format_editor/static/description/assets/misc/phone.svg @@ -0,0 +1,3 @@ + + + diff --git a/sale_report_format_editor/static/description/assets/misc/star (1) 2.svg b/sale_report_format_editor/static/description/assets/misc/star (1) 2.svg new file mode 100644 index 000000000..5ae9f507a --- /dev/null +++ b/sale_report_format_editor/static/description/assets/misc/star (1) 2.svg @@ -0,0 +1,9 @@ + + + + + + + + + diff --git a/sale_report_format_editor/static/description/assets/misc/support (1) 1.svg b/sale_report_format_editor/static/description/assets/misc/support (1) 1.svg new file mode 100644 index 000000000..7d37a8f30 --- /dev/null +++ b/sale_report_format_editor/static/description/assets/misc/support (1) 1.svg @@ -0,0 +1,9 @@ + + + + + + + + + diff --git a/sale_report_format_editor/static/description/assets/misc/support-email.svg b/sale_report_format_editor/static/description/assets/misc/support-email.svg new file mode 100644 index 000000000..eb70370d6 --- /dev/null +++ b/sale_report_format_editor/static/description/assets/misc/support-email.svg @@ -0,0 +1,6 @@ + + + + + + diff --git a/sale_report_format_editor/static/description/assets/misc/tick-mark.svg b/sale_report_format_editor/static/description/assets/misc/tick-mark.svg new file mode 100644 index 000000000..2dbb40187 --- /dev/null +++ b/sale_report_format_editor/static/description/assets/misc/tick-mark.svg @@ -0,0 +1,17 @@ + + + + + + + + + + + + + + + + + diff --git a/sale_report_format_editor/static/description/assets/misc/whatsapp 1.svg b/sale_report_format_editor/static/description/assets/misc/whatsapp 1.svg new file mode 100644 index 000000000..0bfaf8fc6 --- /dev/null +++ b/sale_report_format_editor/static/description/assets/misc/whatsapp 1.svg @@ -0,0 +1,9 @@ + + + + + + + + + diff --git a/sale_report_format_editor/static/description/assets/misc/whatsapp.svg b/sale_report_format_editor/static/description/assets/misc/whatsapp.svg new file mode 100644 index 000000000..b618aea1d --- /dev/null +++ b/sale_report_format_editor/static/description/assets/misc/whatsapp.svg @@ -0,0 +1,33 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/sale_report_format_editor/static/description/assets/modules/1.png b/sale_report_format_editor/static/description/assets/modules/1.png new file mode 100644 index 000000000..603ca1b7b Binary files /dev/null and b/sale_report_format_editor/static/description/assets/modules/1.png differ diff --git a/sale_report_format_editor/static/description/assets/modules/2.png b/sale_report_format_editor/static/description/assets/modules/2.png new file mode 100644 index 000000000..01cccbb08 Binary files /dev/null and b/sale_report_format_editor/static/description/assets/modules/2.png differ diff --git a/sale_report_format_editor/static/description/assets/modules/3.png b/sale_report_format_editor/static/description/assets/modules/3.png new file mode 100644 index 000000000..7563c66e8 Binary files /dev/null and b/sale_report_format_editor/static/description/assets/modules/3.png differ diff --git a/sale_report_format_editor/static/description/assets/modules/4.png b/sale_report_format_editor/static/description/assets/modules/4.png new file mode 100644 index 000000000..5d7d75f06 Binary files /dev/null and b/sale_report_format_editor/static/description/assets/modules/4.png differ diff --git a/sale_report_format_editor/static/description/assets/modules/5.png b/sale_report_format_editor/static/description/assets/modules/5.png new file mode 100644 index 000000000..d3ed455f5 Binary files /dev/null and b/sale_report_format_editor/static/description/assets/modules/5.png differ diff --git a/sale_report_format_editor/static/description/assets/modules/6.png b/sale_report_format_editor/static/description/assets/modules/6.png new file mode 100644 index 000000000..575c8592f Binary files /dev/null and b/sale_report_format_editor/static/description/assets/modules/6.png differ diff --git a/sale_report_format_editor/static/description/assets/screenshots/1.png b/sale_report_format_editor/static/description/assets/screenshots/1.png new file mode 100644 index 000000000..9c9a44d8a Binary files /dev/null and b/sale_report_format_editor/static/description/assets/screenshots/1.png differ diff --git a/sale_report_format_editor/static/description/assets/screenshots/2.png b/sale_report_format_editor/static/description/assets/screenshots/2.png new file mode 100644 index 000000000..45b349684 Binary files /dev/null and b/sale_report_format_editor/static/description/assets/screenshots/2.png differ diff --git a/sale_report_format_editor/static/description/assets/screenshots/3.png b/sale_report_format_editor/static/description/assets/screenshots/3.png new file mode 100644 index 000000000..ecb4f54e5 Binary files /dev/null and b/sale_report_format_editor/static/description/assets/screenshots/3.png differ diff --git a/sale_report_format_editor/static/description/assets/screenshots/4.png b/sale_report_format_editor/static/description/assets/screenshots/4.png new file mode 100644 index 000000000..160d29974 Binary files /dev/null and b/sale_report_format_editor/static/description/assets/screenshots/4.png differ diff --git a/sale_report_format_editor/static/description/assets/screenshots/5.png b/sale_report_format_editor/static/description/assets/screenshots/5.png new file mode 100644 index 000000000..194713417 Binary files /dev/null and b/sale_report_format_editor/static/description/assets/screenshots/5.png differ diff --git a/sale_report_format_editor/static/description/assets/screenshots/6.png b/sale_report_format_editor/static/description/assets/screenshots/6.png new file mode 100644 index 000000000..4ee7f863d Binary files /dev/null and b/sale_report_format_editor/static/description/assets/screenshots/6.png differ diff --git a/sale_report_format_editor/static/description/assets/screenshots/hero.gif b/sale_report_format_editor/static/description/assets/screenshots/hero.gif new file mode 100644 index 000000000..bb7576dfa Binary files /dev/null and b/sale_report_format_editor/static/description/assets/screenshots/hero.gif differ diff --git a/sale_report_format_editor/static/description/banner.jpg b/sale_report_format_editor/static/description/banner.jpg new file mode 100644 index 000000000..416ef68dc Binary files /dev/null and b/sale_report_format_editor/static/description/banner.jpg differ diff --git a/sale_report_format_editor/static/description/icon.png b/sale_report_format_editor/static/description/icon.png new file mode 100644 index 000000000..1f42eb487 Binary files /dev/null and b/sale_report_format_editor/static/description/icon.png differ diff --git a/sale_report_format_editor/static/description/index.html b/sale_report_format_editor/static/description/index.html new file mode 100644 index 000000000..0bd4e766b --- /dev/null +++ b/sale_report_format_editor/static/description/index.html @@ -0,0 +1,589 @@ + + + + + + + Odoo App 3 Index + + + + + + + + +
+
+
+
+
+ +
+
+
+ Community +
+
+ Enterprise +
+
+ Odoo.sh +
+
+
+
+
+
+

+ Sale Report Format Editor

+

+ A Module For Configuring the Sale Order Report Templates +

+
+ +
+
+
+
+
+

Key Highlights +

+
+
+
+
+
+ +
+
+

Edit the theme.

+

Easily can change the theme. +

+
+
+
+
+
+
+ +
+
+

Community & Enterprise Support

+

Available in Odoo 17.0 Community and Enterprise. +

+
+
+
+
+
+
+ +
+
+

Add company logo or Name watermark

+

Can be set watermark or company name +

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

+ From Configure your document layout settings, + the user can select and configure the sales document layout.

+
+
+
+
+
+
+ +
+
+

+ User can configure the Customer and Company Positions, Text Color and Sale Details.

+
+
+
+
+

Print Sale Order

+
+
+ +
+
+
+
+

Normal Template

+
+
+ +
+
+
+
+

Modern Template

+
+
+ +
+
+
+
+

+ Old Standard Template

+
+
+ +
+
+
+
+
+
+
    +
  • + Configure the layout. +
  • +
  • + Configure the position of fields. +
  • +
  • + Edit the theme. +
  • + +
+
+
+
+
+
+
Version + 17.0.1.0.0|Released on:17th November 2024 +
+

+ + Initial Commit for Sale Report Format Editor.

+
+
+
+
+
+
+
+

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/sale_report_format_editor/views/base_document_layout_views.xml b/sale_report_format_editor/views/base_document_layout_views.xml new file mode 100644 index 000000000..219ac581d --- /dev/null +++ b/sale_report_format_editor/views/base_document_layout_views.xml @@ -0,0 +1,17 @@ + + + + + + base.document.layout.view.form.inherit.sale.report.format.editor + + base.document.layout + + + + + + + + + diff --git a/sale_report_format_editor/views/custom_external_layout_templates.xml b/sale_report_format_editor/views/custom_external_layout_templates.xml new file mode 100644 index 000000000..d64057677 --- /dev/null +++ b/sale_report_format_editor/views/custom_external_layout_templates.xml @@ -0,0 +1,424 @@ + + + + + + + + + + + + + + + + + + diff --git a/sale_report_format_editor/views/default_preview_templates.xml b/sale_report_format_editor/views/default_preview_templates.xml new file mode 100644 index 000000000..9b5a661ef --- /dev/null +++ b/sale_report_format_editor/views/default_preview_templates.xml @@ -0,0 +1,179 @@ + + + + + diff --git a/sale_report_format_editor/views/doc_layout_views.xml b/sale_report_format_editor/views/doc_layout_views.xml new file mode 100644 index 000000000..364a32705 --- /dev/null +++ b/sale_report_format_editor/views/doc_layout_views.xml @@ -0,0 +1,59 @@ + + + + + doc.layout.view.form + doc.layout + +
+ +
+

+ +

+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+
+
+
diff --git a/sale_report_format_editor/views/modern_preview_templates.xml b/sale_report_format_editor/views/modern_preview_templates.xml new file mode 100644 index 000000000..c5e61e5a6 --- /dev/null +++ b/sale_report_format_editor/views/modern_preview_templates.xml @@ -0,0 +1,206 @@ + + + + + diff --git a/sale_report_format_editor/views/normal_preview_templates.xml b/sale_report_format_editor/views/normal_preview_templates.xml new file mode 100644 index 000000000..017c886f5 --- /dev/null +++ b/sale_report_format_editor/views/normal_preview_templates.xml @@ -0,0 +1,248 @@ + + + + + diff --git a/sale_report_format_editor/views/old_preview_templates.xml b/sale_report_format_editor/views/old_preview_templates.xml new file mode 100644 index 000000000..c5e1b58b8 --- /dev/null +++ b/sale_report_format_editor/views/old_preview_templates.xml @@ -0,0 +1,242 @@ + + + + +