diff --git a/sale_report_format_editor/README.rst b/sale_report_format_editor/README.rst new file mode 100644 index 000000000..96ddad457 --- /dev/null +++ b/sale_report_format_editor/README.rst @@ -0,0 +1,47 @@ +.. 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 16. + +Configuration +============= +* No additional configurations needed + +Company +------- +* `Cybrosys Techno Solutions `__ + +License +------- +GNU LESSER GENERAL PUBLIC LICENSE (LGPL v3) +(https://www.gnu.org/licenses/lgpl-3.0-standalone.html) + +Credits +------- +* Developers: (V16) Raneesha MK, Contact: odoo@cybrosys.com + (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..28a6c8c9a --- /dev/null +++ b/sale_report_format_editor/__init__.py @@ -0,0 +1,22 @@ +# -*- coding: utf-8 -*- +############################################################################## +# +# Cybrosys Technologies Pvt. Ltd. +# +# Copyright (C) 2023-TODAY Cybrosys Technologies() +# Author: Raneesha MK (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..828c66dbe --- /dev/null +++ b/sale_report_format_editor/__manifest__.py @@ -0,0 +1,57 @@ +# -*- coding: utf-8 -*- +############################################################################## +# +# Cybrosys Technologies Pvt. Ltd. +# +# Copyright (C) 2023-TODAY Cybrosys Technologies() +# Author: Raneesha MK (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': '16.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': True, +} 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..ad935a5ee --- /dev/null +++ b/sale_report_format_editor/doc/RELEASE_NOTES.md @@ -0,0 +1,6 @@ +## Module + +#### 27.09.2023 +#### Version 16.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..6db1a5f0c --- /dev/null +++ b/sale_report_format_editor/models/__init__.py @@ -0,0 +1,25 @@ +# -*- coding: utf-8 -*- +############################################################################## +# +# Cybrosys Technologies Pvt. Ltd. +# +# Copyright (C) 2023-TODAY Cybrosys Technologies() +# Author: Raneesha MK (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..9be1f93e7 --- /dev/null +++ b/sale_report_format_editor/models/base_document_layout.py @@ -0,0 +1,78 @@ +# -*- coding: utf-8 -*- +############################################################################## +# +# Cybrosys Technologies Pvt. Ltd. +# +# Copyright (C) 2023-TODAY Cybrosys Technologies() +# Author: Raneesha MK (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..cf8ad988b --- /dev/null +++ b/sale_report_format_editor/models/doc_layout.py @@ -0,0 +1,82 @@ +# -*- coding: utf-8 -*- +############################################################################## +# +# Cybrosys Technologies Pvt. Ltd. +# +# Copyright (C) 2023-TODAY Cybrosys Technologies() +# Author: Raneesha MK (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..23e30e974 --- /dev/null +++ b/sale_report_format_editor/models/res_company.py @@ -0,0 +1,42 @@ +# -*- coding: utf-8 -*- +############################################################################## +# +# Cybrosys Technologies Pvt. Ltd. +# +# Copyright (C) 2023-TODAY Cybrosys Technologies() +# Author: Raneesha MK (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..28701df5a --- /dev/null +++ b/sale_report_format_editor/models/sale_order.py @@ -0,0 +1,37 @@ +# -*- coding: utf-8 -*- +############################################################################## +# +# Cybrosys Technologies Pvt. Ltd. +# +# Copyright (C) 2023-TODAY Cybrosys Technologies() +# Author: Raneesha MK (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')], defualt="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..b34915c06 --- /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..c489760a2 --- /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..1b6787b98 --- /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..f1fd810a7 --- /dev/null +++ b/sale_report_format_editor/report/sale_old_templates.xml @@ -0,0 +1,309 @@ + + + + + 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/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/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/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/categories.png b/sale_report_format_editor/static/description/assets/misc/categories.png new file mode 100644 index 000000000..bedf1e0b1 Binary files /dev/null and b/sale_report_format_editor/static/description/assets/misc/categories.png differ diff --git a/sale_report_format_editor/static/description/assets/misc/check-box.png b/sale_report_format_editor/static/description/assets/misc/check-box.png new file mode 100644 index 000000000..42caf24b9 Binary files /dev/null and b/sale_report_format_editor/static/description/assets/misc/check-box.png differ diff --git a/sale_report_format_editor/static/description/assets/misc/compass.png b/sale_report_format_editor/static/description/assets/misc/compass.png new file mode 100644 index 000000000..d5fed8faa Binary files /dev/null and b/sale_report_format_editor/static/description/assets/misc/compass.png differ diff --git a/sale_report_format_editor/static/description/assets/misc/corporate.png b/sale_report_format_editor/static/description/assets/misc/corporate.png new file mode 100644 index 000000000..2eb13edbf Binary files /dev/null and b/sale_report_format_editor/static/description/assets/misc/corporate.png differ diff --git a/sale_report_format_editor/static/description/assets/misc/customer-support.png b/sale_report_format_editor/static/description/assets/misc/customer-support.png new file mode 100644 index 000000000..79efc72ed Binary files /dev/null and b/sale_report_format_editor/static/description/assets/misc/customer-support.png differ diff --git a/sale_report_format_editor/static/description/assets/misc/cybrosys-logo.png b/sale_report_format_editor/static/description/assets/misc/cybrosys-logo.png new file mode 100644 index 000000000..cc3cc0ccf Binary files /dev/null and b/sale_report_format_editor/static/description/assets/misc/cybrosys-logo.png differ diff --git a/sale_report_format_editor/static/description/assets/misc/features.png b/sale_report_format_editor/static/description/assets/misc/features.png new file mode 100644 index 000000000..b41769f77 Binary files /dev/null and b/sale_report_format_editor/static/description/assets/misc/features.png differ diff --git a/sale_report_format_editor/static/description/assets/misc/logo.png b/sale_report_format_editor/static/description/assets/misc/logo.png new file mode 100644 index 000000000..478462d3e Binary files /dev/null and b/sale_report_format_editor/static/description/assets/misc/logo.png differ diff --git a/sale_report_format_editor/static/description/assets/misc/pictures.png b/sale_report_format_editor/static/description/assets/misc/pictures.png new file mode 100644 index 000000000..56d255fe9 Binary files /dev/null and b/sale_report_format_editor/static/description/assets/misc/pictures.png differ diff --git a/sale_report_format_editor/static/description/assets/misc/pie-chart.png b/sale_report_format_editor/static/description/assets/misc/pie-chart.png new file mode 100644 index 000000000..426e05244 Binary files /dev/null and b/sale_report_format_editor/static/description/assets/misc/pie-chart.png differ diff --git a/sale_report_format_editor/static/description/assets/misc/right-arrow.png b/sale_report_format_editor/static/description/assets/misc/right-arrow.png new file mode 100644 index 000000000..730984a06 Binary files /dev/null and b/sale_report_format_editor/static/description/assets/misc/right-arrow.png differ diff --git a/sale_report_format_editor/static/description/assets/misc/star.png b/sale_report_format_editor/static/description/assets/misc/star.png new file mode 100644 index 000000000..2eb9ab29f Binary files /dev/null and b/sale_report_format_editor/static/description/assets/misc/star.png differ diff --git a/sale_report_format_editor/static/description/assets/misc/support.png b/sale_report_format_editor/static/description/assets/misc/support.png new file mode 100644 index 000000000..4f18b8b82 Binary files /dev/null and b/sale_report_format_editor/static/description/assets/misc/support.png differ diff --git a/sale_report_format_editor/static/description/assets/misc/whatsapp.png b/sale_report_format_editor/static/description/assets/misc/whatsapp.png new file mode 100644 index 000000000..d513a5356 Binary files /dev/null and b/sale_report_format_editor/static/description/assets/misc/whatsapp.png differ diff --git a/sale_report_format_editor/static/description/assets/modules/m1.png b/sale_report_format_editor/static/description/assets/modules/m1.png new file mode 100644 index 000000000..47bf7d5ec Binary files /dev/null and b/sale_report_format_editor/static/description/assets/modules/m1.png differ diff --git a/sale_report_format_editor/static/description/assets/modules/m2.png b/sale_report_format_editor/static/description/assets/modules/m2.png new file mode 100644 index 000000000..f6020a481 Binary files /dev/null and b/sale_report_format_editor/static/description/assets/modules/m2.png differ diff --git a/sale_report_format_editor/static/description/assets/modules/m3.png b/sale_report_format_editor/static/description/assets/modules/m3.png new file mode 100644 index 000000000..8658f1826 Binary files /dev/null and b/sale_report_format_editor/static/description/assets/modules/m3.png differ diff --git a/sale_report_format_editor/static/description/assets/modules/m4.png b/sale_report_format_editor/static/description/assets/modules/m4.png new file mode 100644 index 000000000..ac15216fb Binary files /dev/null and b/sale_report_format_editor/static/description/assets/modules/m4.png differ diff --git a/sale_report_format_editor/static/description/assets/modules/m5.png b/sale_report_format_editor/static/description/assets/modules/m5.png new file mode 100644 index 000000000..6c2bec15c Binary files /dev/null and b/sale_report_format_editor/static/description/assets/modules/m5.png differ diff --git a/sale_report_format_editor/static/description/assets/modules/m6.png b/sale_report_format_editor/static/description/assets/modules/m6.png new file mode 100644 index 000000000..f764937d0 Binary files /dev/null and b/sale_report_format_editor/static/description/assets/modules/m6.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..481be29d0 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..c31e41104 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..3fa2b7b3d 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..34d2587c9 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..08407c059 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/S1.png b/sale_report_format_editor/static/description/assets/screenshots/S1.png new file mode 100644 index 000000000..869f59135 Binary files /dev/null and b/sale_report_format_editor/static/description/assets/screenshots/S1.png differ diff --git a/sale_report_format_editor/static/description/assets/screenshots/v16-hero.gif b/sale_report_format_editor/static/description/assets/screenshots/v16-hero.gif new file mode 100644 index 000000000..a7dee3ed7 Binary files /dev/null and b/sale_report_format_editor/static/description/assets/screenshots/v16-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..c00686e77 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..8201a929f 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..e6b96e35c --- /dev/null +++ b/sale_report_format_editor/static/description/index.html @@ -0,0 +1,669 @@ +
+ +
+ +
+
+ Community +
+
+ Enterprise +
+
+ Odoo.sh +
+
+
+ + + +
+
+
+

+ Sale Report Format Editor

+

+ A Module For Configuring the Sale Order Report + Templates

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

+ Explore This + Module

+
+ + + + +
+
+ +
+

+ Overview +

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

+ Features +

+
+
+
+

+ Features +

+
+
+
+ +
+
+

+ Configure the layout

+
+
+
+
+ +
+
+

+ Configure the position of fields

+
+
+
+
+ +
+
+

+ Hide option for the sale fields

+
+
+
+
+ +
+
+

+ Edit the theme

+
+
+
+
+ +
+
+

+ Add company logo or Name watermark

+
+
+
+ + +
+
+ +
+

+ Screenshots +

+
+
+
+
+

+ Document Layout Configuration

+

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

+ +
+
+

+ Sale Layout + Configuration +

+

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

+ +
+
+

+ Print Sale Order

+ +
+
+

+ Normal Template

+ +
+
+

+ Modern Template

+ +
+ +
+

+ Old Standard Template

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

+ Related + Products +

+
+
+ +
+ + +
+
+ +
+

+ Our Services +

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

+ Our + Industries +

+
+
+
+
+
+ +
+ Trading +
+

+ Easily procure + and + sell your products

+
+
+
+
+ +
+ POS +
+

+ Easy + configuration + and convivial experience

+
+
+
+
+ +
+ Education +
+

+ A platform for + educational management

+
+
+
+
+ +
+ Manufacturing +
+

+ Plan, track and + schedule your operations

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

+ Mobile + friendly, + awe-inspiring product pages

+
+
+
+
+ +
+ Service Management +
+

+ Keep track of + services and invoice

+
+
+
+
+ +
+ Restaurant +
+

+ Run your bar or + restaurant methodically

+
+
+
+
+ +
+ Hotel Management +
+

+ An + all-inclusive + hotel management application

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

+ Support +

+
+
+
+
+
+
+ +
+
+

Need Help?

+

Got questions or need help? + Get in touch.

+ +

+ odoo@cybrosys.com

+
+
+
+
+
+
+
+ +
+
+

WhatsApp

+

Say hi to us on WhatsApp!

+ +

+ +91 86068 + 27707

+
+
+
+
+
+
+
+ +
+
+
+ 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..7e4bf174e --- /dev/null +++ b/sale_report_format_editor/views/base_document_layout_views.xml @@ -0,0 +1,18 @@ + + + + + + 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..e414bf247 --- /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 @@ + + + + +