diff --git a/sale_report_format_editor/README.rst b/sale_report_format_editor/README.rst new file mode 100644 index 000000000..af17b2f98 --- /dev/null +++ b/sale_report_format_editor/README.rst @@ -0,0 +1,42 @@ +Sale Report Format Editor +========================= +* Sale Report 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: +(v15) Jibin @ 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/sale_report_format_editor/__init__.py b/sale_report_format_editor/__init__.py new file mode 100644 index 000000000..66fae9566 --- /dev/null +++ b/sale_report_format_editor/__init__.py @@ -0,0 +1,23 @@ +# -*- coding: utf-8 -*- +############################################################################# +# +# Cybrosys Technologies Pvt. Ltd. +# +# Copyright (C) 2022-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/sale_report_format_editor/__manifest__.py b/sale_report_format_editor/__manifest__.py new file mode 100644 index 000000000..d9007d91b --- /dev/null +++ b/sale_report_format_editor/__manifest__.py @@ -0,0 +1,53 @@ +# -*- coding: utf-8 -*- +############################################################################# +# +# Cybrosys Technologies Pvt. Ltd. +# +# Copyright (C) 2022-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': 'Sale Report Format Editor', + 'version': '14.0.1.0.0', + 'category': 'Sale', + 'summary': 'Sale Report Format Editor', + 'description': """Sale Report Format Editor For Configuring the Sale Templates""", + 'author': 'Cybrosys Techno Solutions', + 'company': 'Cybrosys Techno Solutions', + 'maintainer': 'Cybrosys Techno Solutions', + 'images': ['static/description/banner.png'], + 'website': 'https://www.cybrosys.com', + 'depends': ['sale_management'], + 'data': ['security/ir.model.access.csv', + 'data/design_templates.xml', + 'views/custom_layouts.xml', + 'views/document_base_layout.xml', + 'reports/custom_sale_template.xml', + 'reports/custom_sale_template_fantacy.xml', + 'reports/custom_sale_template_old_standard.xml', + 'reports/default_sale_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/sale_report_format_editor/data/design_templates.xml b/sale_report_format_editor/data/design_templates.xml new file mode 100644 index 000000000..e6d261ec3 --- /dev/null +++ b/sale_report_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/sale_report_format_editor/doc/RELEASE_NOTES.md b/sale_report_format_editor/doc/RELEASE_NOTES.md new file mode 100644 index 000000000..3473f0d72 --- /dev/null +++ b/sale_report_format_editor/doc/RELEASE_NOTES.md @@ -0,0 +1,9 @@ +## Module + +#### 08.04.2022 + +#### Version 14.0.1.0.0 + +#### ADD + +- Initial commit for sale_report_format_editor \ No newline at end of file diff --git a/sale_report_format_editor/model/__init__.py b/sale_report_format_editor/model/__init__.py new file mode 100644 index 000000000..104393074 --- /dev/null +++ b/sale_report_format_editor/model/__init__.py @@ -0,0 +1,23 @@ +# -*- coding: utf-8 -*- +############################################################################# +# +# Cybrosys Technologies Pvt. Ltd. +# +# Copyright (C) 2022-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/sale_report_format_editor/model/document_layout.py b/sale_report_format_editor/model/document_layout.py new file mode 100644 index 000000000..fa26f7a76 --- /dev/null +++ b/sale_report_format_editor/model/document_layout.py @@ -0,0 +1,89 @@ +# -*- coding: utf-8 -*- +############################################################################# +# +# Cybrosys Technologies Pvt. Ltd. +# +# Copyright (C) 2022-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") + + company_id = fields.Many2one('res.company', string='Company', index=True, + default=lambda self: self.env.company, + ) + + watermark = fields.Boolean(string='Watermark', related='company_id.watermark', + readonly=False) + + watermark_show = fields.Selection([ + ('logo', 'Company Logo'), + ('name', 'Company Name'), + ], + default='logo', string="Watermark " + + "Show", related='company_id.watermark_show', + readonly=False) diff --git a/sale_report_format_editor/model/res_company.py b/sale_report_format_editor/model/res_company.py new file mode 100644 index 000000000..999862cb9 --- /dev/null +++ b/sale_report_format_editor/model/res_company.py @@ -0,0 +1,112 @@ +# -*- coding: utf-8 -*- +############################################################################# +# +# Cybrosys Technologies Pvt. Ltd. +# +# Copyright (C) 2022-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="Sale Document Layout", default="default") + + document_layout_id = fields.Many2one("doc.layout", + string="Sale Layout Configuration" + ) + + watermark = fields.Boolean(string='Watermark') + + watermark_show = fields.Selection([ + ('logo', 'Company Logo'), + ('name', 'Company Name'), + ], + default='logo', string="Watermark Show") + + +class TemplateInvoice(models.Model): + _inherit = 'sale.order' + + 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) + + watermark = fields.Boolean(string='Watermark') + + watermark_show = fields.Selection([ + ('logo', 'Company Logo'), + ('name', 'Company Name'), + ], + default='logo', string="Watermark Show") + + @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( + '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/reports/custom_sale_template.xml b/sale_report_format_editor/reports/custom_sale_template.xml new file mode 100644 index 000000000..846014ce1 --- /dev/null +++ b/sale_report_format_editor/reports/custom_sale_template.xml @@ -0,0 +1,405 @@ + + + + + + + + + \ No newline at end of file diff --git a/sale_report_format_editor/reports/custom_sale_template_fantacy.xml b/sale_report_format_editor/reports/custom_sale_template_fantacy.xml new file mode 100644 index 000000000..81e39b9a8 --- /dev/null +++ b/sale_report_format_editor/reports/custom_sale_template_fantacy.xml @@ -0,0 +1,424 @@ + + + + + + + \ No newline at end of file diff --git a/sale_report_format_editor/reports/custom_sale_template_old_standard.xml b/sale_report_format_editor/reports/custom_sale_template_old_standard.xml new file mode 100644 index 000000000..2735e947b --- /dev/null +++ b/sale_report_format_editor/reports/custom_sale_template_old_standard.xml @@ -0,0 +1,431 @@ + + + + + + \ No newline at end of file diff --git a/sale_report_format_editor/reports/default_sale_template.xml b/sale_report_format_editor/reports/default_sale_template.xml new file mode 100644 index 000000000..fb2fa2392 --- /dev/null +++ b/sale_report_format_editor/reports/default_sale_template.xml @@ -0,0 +1,300 @@ + + + + + + + + + + + + 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..d7804d521 --- /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_document_template,document.template,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/logo.png b/sale_report_format_editor/static/description/assets/icons/logo.png new file mode 100644 index 000000000..478462d3e Binary files /dev/null and b/sale_report_format_editor/static/description/assets/icons/logo.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/modules/budget_image.png b/sale_report_format_editor/static/description/assets/modules/budget_image.png new file mode 100644 index 000000000..fe6aa6fe4 Binary files /dev/null and b/sale_report_format_editor/static/description/assets/modules/budget_image.png differ diff --git a/sale_report_format_editor/static/description/assets/modules/credit_image.png b/sale_report_format_editor/static/description/assets/modules/credit_image.png new file mode 100644 index 000000000..a2959378f Binary files /dev/null and b/sale_report_format_editor/static/description/assets/modules/credit_image.png differ diff --git a/sale_report_format_editor/static/description/assets/modules/employee_image.png b/sale_report_format_editor/static/description/assets/modules/employee_image.png new file mode 100644 index 000000000..34cee3e01 Binary files /dev/null and b/sale_report_format_editor/static/description/assets/modules/employee_image.png differ diff --git a/sale_report_format_editor/static/description/assets/modules/export_image.png b/sale_report_format_editor/static/description/assets/modules/export_image.png new file mode 100644 index 000000000..4e4ea0e51 Binary files /dev/null and b/sale_report_format_editor/static/description/assets/modules/export_image.png differ diff --git a/sale_report_format_editor/static/description/assets/modules/gantt_image.png b/sale_report_format_editor/static/description/assets/modules/gantt_image.png new file mode 100644 index 000000000..4810fc34d Binary files /dev/null and b/sale_report_format_editor/static/description/assets/modules/gantt_image.png differ diff --git a/sale_report_format_editor/static/description/assets/modules/quotation_image.png b/sale_report_format_editor/static/description/assets/modules/quotation_image.png new file mode 100644 index 000000000..3cdb6e674 Binary files /dev/null and b/sale_report_format_editor/static/description/assets/modules/quotation_image.png differ diff --git a/sale_report_format_editor/static/description/assets/screenshots/conf.png b/sale_report_format_editor/static/description/assets/screenshots/conf.png new file mode 100644 index 000000000..88461e833 Binary files /dev/null and b/sale_report_format_editor/static/description/assets/screenshots/conf.png differ diff --git a/sale_report_format_editor/static/description/assets/screenshots/default.png b/sale_report_format_editor/static/description/assets/screenshots/default.png new file mode 100644 index 000000000..ca8eeae89 Binary files /dev/null and b/sale_report_format_editor/static/description/assets/screenshots/default.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..74af85d1c 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/assets/screenshots/layout.png b/sale_report_format_editor/static/description/assets/screenshots/layout.png new file mode 100644 index 000000000..122f0b0b0 Binary files /dev/null and b/sale_report_format_editor/static/description/assets/screenshots/layout.png differ diff --git a/sale_report_format_editor/static/description/assets/screenshots/modern.png b/sale_report_format_editor/static/description/assets/screenshots/modern.png new file mode 100644 index 000000000..dca1d507b Binary files /dev/null and b/sale_report_format_editor/static/description/assets/screenshots/modern.png differ diff --git a/sale_report_format_editor/static/description/assets/screenshots/normal.png b/sale_report_format_editor/static/description/assets/screenshots/normal.png new file mode 100644 index 000000000..ae5b67112 Binary files /dev/null and b/sale_report_format_editor/static/description/assets/screenshots/normal.png differ diff --git a/sale_report_format_editor/static/description/assets/screenshots/old_std.png b/sale_report_format_editor/static/description/assets/screenshots/old_std.png new file mode 100644 index 000000000..672092ed4 Binary files /dev/null and b/sale_report_format_editor/static/description/assets/screenshots/old_std.png differ diff --git a/sale_report_format_editor/static/description/assets/screenshots/print.png b/sale_report_format_editor/static/description/assets/screenshots/print.png new file mode 100644 index 000000000..af8f45f16 Binary files /dev/null and b/sale_report_format_editor/static/description/assets/screenshots/print.png differ diff --git a/sale_report_format_editor/static/description/banner.png b/sale_report_format_editor/static/description/banner.png new file mode 100644 index 000000000..a21d977b5 Binary files /dev/null and b/sale_report_format_editor/static/description/banner.png 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..394feb63e 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..107ee8403 --- /dev/null +++ b/sale_report_format_editor/static/description/index.html @@ -0,0 +1,640 @@ +
+
+
+
+ +
+
+
+ Community +
+
+
+
+
+ +
+
+
+

+ Sale Report Format Editor

+

+ A Module For Configuring the Sale Report Templates +

+ + +
+
+ + + + +
+
+

+ Overview +

+
+ +
+

+ In the Sale Report 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 +

+
+ +
+
+ +
+
+

+ Community

+

+ Available in Odoo 14.0 Community

+
+
+
+
+ +
+
+

+ 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 Document layout configuration in settings, user can select and configure the Sale document + layout

+ +
+ +
+

+ Sale Report Layout Configuration

+

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

+ +
+ +
+

+ Print Sale Report

+

+ Library configuration view for Member ID generation and Journals for library. +

+ +
+ + +
+

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

+
+
+
+ + +
+ +
+ + +
+ +
+ +
+ +
+
+ +
+ +
+ +
+
+ +
+
+
+ + +
\ No newline at end of file diff --git a/sale_report_format_editor/static/src/css/invoice_layout.css b/sale_report_format_editor/static/src/css/invoice_layout.css new file mode 100644 index 000000000..84139d5c3 --- /dev/null +++ b/sale_report_format_editor/static/src/css/invoice_layout.css @@ -0,0 +1,3 @@ +body{ + color:red; +} \ No newline at end of file diff --git a/sale_report_format_editor/template_view/default_template_view.xml b/sale_report_format_editor/template_view/default_template_view.xml new file mode 100644 index 000000000..4c06527fb --- /dev/null +++ b/sale_report_format_editor/template_view/default_template_view.xml @@ -0,0 +1,193 @@ + + + + + + + \ No newline at end of file diff --git a/sale_report_format_editor/template_view/modern_template_view.xml b/sale_report_format_editor/template_view/modern_template_view.xml new file mode 100644 index 000000000..992ba2099 --- /dev/null +++ b/sale_report_format_editor/template_view/modern_template_view.xml @@ -0,0 +1,216 @@ + + + + + + + \ No newline at end of file diff --git a/sale_report_format_editor/template_view/normal_template_view.xml b/sale_report_format_editor/template_view/normal_template_view.xml new file mode 100644 index 000000000..13c8be7d1 --- /dev/null +++ b/sale_report_format_editor/template_view/normal_template_view.xml @@ -0,0 +1,211 @@ + + + + + + diff --git a/sale_report_format_editor/template_view/old_template_view.xml b/sale_report_format_editor/template_view/old_template_view.xml new file mode 100644 index 000000000..ec5ac3b65 --- /dev/null +++ b/sale_report_format_editor/template_view/old_template_view.xml @@ -0,0 +1,232 @@ + + + + + + + \ No newline at end of file diff --git a/sale_report_format_editor/views/custom_layouts.xml b/sale_report_format_editor/views/custom_layouts.xml new file mode 100644 index 000000000..af3bcd30b --- /dev/null +++ b/sale_report_format_editor/views/custom_layouts.xml @@ -0,0 +1,61 @@ + + + + + document.custom.layout + doc.layout + +
+ +
+

+ +

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