diff --git a/base_advanced_report_templates/README.rst b/base_advanced_report_templates/README.rst new file mode 100644 index 000000000..99376ffa9 --- /dev/null +++ b/base_advanced_report_templates/README.rst @@ -0,0 +1,46 @@ +.. image:: https://img.shields.io/badge/license-AGPL--3-blue.svg + :target: https://www.gnu.org/licenses/agpl-3.0-standalone.html + :alt: License: AGPL-3 + +Odoo Professional Report Templates +================================== +Change design of report of sale order, purchase order, invoice and stock + +Configuration +============= +* No additional configurations needed + +License +------- +General Public License, Version 3 (AGPL v3). +(https://www.gnu.org/licenses/agpl-3.0-standalone.html) + +Company +------- +* `Cybrosys Techno Solutions `__ + +Credits +------- +* Developer: (V15) Anfas Faisal K, 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/base_advanced_report_templates/__init__.py b/base_advanced_report_templates/__init__.py new file mode 100644 index 000000000..f03fb2c25 --- /dev/null +++ b/base_advanced_report_templates/__init__.py @@ -0,0 +1,22 @@ +# -*- coding: utf-8 -*- +################################################################################ +# +# Cybrosys Technologies Pvt. Ltd. +# +# Copyright (C) 2023-TODAY Cybrosys Technologies(). +# Author: Anfas Faisal K (odoo@cybrosys.info) +# +# You can modify it under the terms of the GNU AFFERO +# GENERAL PUBLIC LICENSE (AGPL v3), Version 3. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU AFFERO GENERAL PUBLIC LICENSE (AGPL v3) for more details. +# +# You should have received a copy of the GNU AFFERO GENERAL PUBLIC LICENSE +# (AGPL v3) along with this program. +# If not, see . +# +################################################################################ +from . import models diff --git a/base_advanced_report_templates/__manifest__.py b/base_advanced_report_templates/__manifest__.py new file mode 100644 index 000000000..98ddf87f6 --- /dev/null +++ b/base_advanced_report_templates/__manifest__.py @@ -0,0 +1,75 @@ +# -*- coding: utf-8 -*- +################################################################################ +# +# Cybrosys Technologies Pvt. Ltd. +# +# Copyright (C) 2023-TODAY Cybrosys Technologies(). +# Author: Anfas Faisal K (odoo@cybrosys.info) +# +# You can modify it under the terms of the GNU AFFERO +# GENERAL PUBLIC LICENSE (AGPL v3), Version 3. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU AFFERO GENERAL PUBLIC LICENSE (AGPL v3) for more details. +# +# You should have received a copy of the GNU AFFERO GENERAL PUBLIC LICENSE +# (AGPL v3) along with this program. +# If not, see . +# +################################################################################ +{ + 'name': 'Odoo Professional Report Templates', + 'version': '15.0.1.0.0', + 'category': 'Sales,Purchases,Accounting,Warehouse', + 'summary': "Change design of report of sale order, purchase order, " + "invoice and stock", + 'description': "To tailor the presentation of different reports such as " + "Sales Orders, Purchase Orders, Invoices, and Delivery " + "Orders, the process involves customizing the report " + "templates , especially for PDF reports By doing so, " + "you can personalize the design,content of these reports to" + "better suit your business needs and preferences.", + 'author': 'Cybrosys Techno Solutions', + 'company': 'Cybrosys Techno Solutions', + 'maintainer': 'Cybrosys Techno Solutions', + 'website': 'https://www.cybrosys.com', + 'depends': ['sale_management', 'account', 'stock', 'purchase'], + 'data': [ + 'security/ir.model.access.csv', + 'data/doc_layout_data.xml', + 'report/purchase_order_reports.xml', + 'report/purchase_order_traditional_templates.xml', + 'report/purchase_order_standard_templates.xml', + 'report/purchase_order_modern_templates.xml', + 'report/purchase_order_attractive_templates.xml', + 'report/sale_order_reports.xml', + 'report/sale_order_traditional_templates.xml', + 'report/sale_order_standard_templates.xml', + 'report/sale_order_modern_templates.xml', + 'report/sale_order_attractive_templates.xml', + 'report/stock_move_reports.xml', + 'report/stock_move_traditional_templates.xml', + 'report/stock_move_standard_templates.xml', + 'report/stock_move_modern_templates.xml', + 'report/stock_move_attractive_templates.xml', + 'report/account_move_reports.xml', + 'report/account_move_traditional_templates.xml', + 'report/account_move_standard_templates.xml', + 'report/account_move_modern_templates.xml', + 'report/account_move_attractive_templates.xml', + 'views/res_company_views.xml', + 'views/sale_order_views.xml', + 'views/purchase_order_views.xml', + 'views/account_move_views.xml', + 'views/stock_move_views.xml', + 'views/doc_layout_views.xml', + ], + 'images': ['static/description/banner.png'], + 'license': 'AGPL-3', + 'installable': True, + 'auto_install': False, + 'application': False, +} + diff --git a/base_advanced_report_templates/data/doc_layout_data.xml b/base_advanced_report_templates/data/doc_layout_data.xml new file mode 100644 index 000000000..2c2f64565 --- /dev/null +++ b/base_advanced_report_templates/data/doc_layout_data.xml @@ -0,0 +1,49 @@ + + + + + + Modern + #732673 + #ffffff + #000000 + #000000 + right + left + #808080 + + + + Standard + #ff7733 + #ffffff + #000000 + #000000 + left + right + #808080 + + + + Traditional + #ff7733 + #ffffff + #000000 + #000000 + left + right + #808080 + + + + Attractive + #ff7733 + #ffffff + #000000 + #000000 + left + right + #808080 + + + diff --git a/base_advanced_report_templates/doc/RELEASE_NOTES.md b/base_advanced_report_templates/doc/RELEASE_NOTES.md new file mode 100644 index 000000000..edbeb7d2e --- /dev/null +++ b/base_advanced_report_templates/doc/RELEASE_NOTES.md @@ -0,0 +1,7 @@ +## Module + +#### 23.10.2023 +#### Version 15.0.1.0.0 +##### ADD + +- Initial commit for Odoo Professional Report Templates diff --git a/base_advanced_report_templates/models/__init__.py b/base_advanced_report_templates/models/__init__.py new file mode 100644 index 000000000..5f9f7fa6d --- /dev/null +++ b/base_advanced_report_templates/models/__init__.py @@ -0,0 +1,29 @@ +# -*- coding: utf-8 -*- +################################################################################ +# +# Cybrosys Technologies Pvt. Ltd. +# +# Copyright (C) 2023-TODAY Cybrosys Technologies(). +# Author: Anfas Faisal K (odoo@cybrosys.info) +# +# You can modify it under the terms of the GNU AFFERO +# GENERAL PUBLIC LICENSE (AGPL v3), Version 3. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU AFFERO GENERAL PUBLIC LICENSE (AGPL v3) for more details. +# +# You should have received a copy of the GNU AFFERO GENERAL PUBLIC LICENSE +# (AGPL v3) along with this program. +# If not, see . +# +################################################################################ +from . import account_move +from . import base_document_layout +from . import doc_layout +from . import purchase_order +from . import res_company +from . import sale_order +from . import stock_move +from . import stock_picking diff --git a/base_advanced_report_templates/models/account_move.py b/base_advanced_report_templates/models/account_move.py new file mode 100644 index 000000000..c1771d967 --- /dev/null +++ b/base_advanced_report_templates/models/account_move.py @@ -0,0 +1,46 @@ +# -*- coding: utf-8 -*- +################################################################################ +# +# Cybrosys Technologies Pvt. Ltd. +# +# Copyright (C) 2023-TODAY Cybrosys Technologies(). +# Author: Anfas Faisal K (odoo@cybrosys.info) +# +# You can modify it under the terms of the GNU AFFERO +# GENERAL PUBLIC LICENSE (AGPL v3), Version 3. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU AFFERO GENERAL PUBLIC LICENSE (AGPL v3) for more details. +# +# You should have received a copy of the GNU AFFERO GENERAL PUBLIC LICENSE +# (AGPL v3) along with this program. +# If not, see . +# +################################################################################ +from odoo import fields, models + + +class AccountMove(models.Model): + """Extends the functionality of the account.move model in Odoo by adding a + new field. + """ + _inherit = 'account.move' + + theme_id = fields.Many2one('doc.layout', + string="Account Move Template", + related='company_id.account_document_layout_id', + help='The template to be used for this account ' + 'move.') + + +class AccountMoveLine(models.Model): + """Extends the functionality of the account.move.line model in Odoo by + adding a new field""" + _inherit = 'account.move.line' + + order_line_image = fields.Binary(string="Image", + related="product_id.image_128", + help='The image associated with the ' + 'product of the order line.') diff --git a/base_advanced_report_templates/models/base_document_layout.py b/base_advanced_report_templates/models/base_document_layout.py new file mode 100644 index 000000000..bca5b3d38 --- /dev/null +++ b/base_advanced_report_templates/models/base_document_layout.py @@ -0,0 +1,213 @@ +# -*- coding: utf-8 -*- +################################################################################ +# +# Cybrosys Technologies Pvt. Ltd. +# +# Copyright (C) 2023-TODAY Cybrosys Technologies(). +# Author: Anfas Faisal K (odoo@cybrosys.info) +# +# You can modify it under the terms of the GNU AFFERO +# GENERAL PUBLIC LICENSE (AGPL v3), Version 3. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU AFFERO GENERAL PUBLIC LICENSE (AGPL v3) for more details. +# +# You should have received a copy of the GNU AFFERO GENERAL PUBLIC LICENSE +# (AGPL v3) along with this program. +# If not, see . +# +################################################################################ +from odoo import api, fields, models + + +class BaseDocumentLayout(models.TransientModel): + """Extends the functionality of the base.document.layout model in Odoo + by adding additional fields . + + Methods: + _compute_preview: + Compute a qweb based preview to display on the wizards. + """ + _inherit = 'base.document.layout' + + sale_document_layout_id = fields.Many2one( + string="Sale Template", + related='company_id.sale_document_layout_id', + help='The report layout for sale in the company.') + purchase_document_layout_id = fields.Many2one( + string="Purchase Template", + related='company_id.purchase_document_layout_id', + help='The report layout for purchase in the company.') + account_document_layout_id = fields.Many2one( + string="Account Template", + related='company_id.account_document_layout_id', + help='The report layout for account in the company.') + stock_document_layout_id = fields.Many2one( + string="Stock Template", + related='company_id.stock_document_layout_id', + help='The report layout for inventory in the company.') + watermark = fields.Boolean(string='Watermark', + help='Enable or disable the watermark on ' + 'the documents.') + watermark_show = fields.Selection([ + ('logo', 'Company Logo'), + ('name', 'Company Name'), + ], default='logo', string="Watermark Show", + help="The option to determine what should be displayed as the " + "watermark on the documents. Select 'Company Logo' to display the " + "company's logo as the watermark,or select 'Company Name' to " + "display the company's name as the watermark.") + + @api.depends('report_layout_id', 'logo', 'font', 'primary_color', + 'secondary_color', 'report_header', 'report_footer', + 'sale_document_layout_id', + 'stock_document_layout_id', 'account_document_layout_id', + 'purchase_document_layout_id') + def _compute_preview(self): + """ Compute a qweb based preview to display on the wizards """ + styles = self._get_asset_style() + for wizard in self: + if wizard.report_layout_id and wizard.sale_document_layout_id: + if wizard.sale_document_layout_id == '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( + 'base_advanced_report_templates.' + 'report_saleorder_modern_document', + {'company': wizard, 'preview_css': preview_css}) + elif wizard.sale_document_layout_id == 'traditional': + 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( + 'base_advanced_report_templates.' + 'report_saleorder_traditional_document', + {'company': wizard, 'preview_css': preview_css, }) + elif wizard.sale_document_layout_id == 'standard': + 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( + 'base_advanced_report_templates.' + 'report_saleorder_standard_document', + {'company': wizard, 'preview_css': preview_css, }) + elif wizard.sale_document_layout_id == 'attractive': + 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( + 'base_advanced_report_templates.' + 'report_saleorder_attractive_document', + {'company': wizard, 'preview_css': preview_css, }) + else: + wizard.preview = False + if wizard.purchase_document_layout_id: + if wizard.purchase_document_layout_id == '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( + 'base_advanced_report_templates.' + 'report_purchaseorder_modern_document', + {'company': wizard, 'preview_css': preview_css}) + elif wizard.purchase_document_layout_id == 'traditional': + 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( + 'base_advanced_report_templates.' + 'report_purchaseorder_traditional_document', + {'company': wizard, 'preview_css': preview_css, }) + elif wizard.purchase_document_layout_id == 'standard': + 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( + 'base_advanced_report_templates.' + 'report_purchaseorder_standard_document', + {'company': wizard, 'preview_css': preview_css, }) + elif wizard.purchase_document_layout_id == 'attractive': + 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( + 'base_advanced_report_templates.' + 'report_purchaseorder_attractive_document', + {'company': wizard, 'preview_css': preview_css, }) + else: + wizard.preview = False + if wizard.account_document_layout_id: + if wizard.account_document_layout_id == '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( + 'base_advanced_report_templates.' + 'report_account_modern_document', + {'company': wizard, 'preview_css': preview_css}) + elif wizard.account_document_layout_id == 'traditional': + 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( + 'base_advanced_report_templates.' + 'report_account_traditional_document', + {'company': wizard, 'preview_css': preview_css, }) + elif wizard.account_document_layout_id == 'standard': + 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( + 'base_advanced_report_templates.' + 'report_account_standard_document', + {'company': wizard, 'preview_css': preview_css, }) + elif wizard.account_document_layout_id == 'attractive': + 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( + 'base_advanced_report_templates.' + 'report_account_attractive_document', + {'company': wizard, 'preview_css': preview_css, }) + else: + wizard.preview = False + if wizard.stock_document_layout_id: + if wizard.stock_document_layout_id == '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( + 'base_advanced_report_templates.' + 'report_stock_modern_document', + {'company': wizard, 'preview_css': preview_css}) + elif wizard.stock_document_layout_id == 'traditional': + 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( + 'base_advanced_report_templates.' + 'report_stock_traditional_document', + {'company': wizard, 'preview_css': preview_css, }) + elif wizard.stock_document_layout_id == 'standard': + 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( + 'base_advanced_report_templates.' + 'report_stock_standard_document', + {'company': wizard, 'preview_css': preview_css, }) + elif wizard.stock_document_layout_id == 'attractive': + 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( + 'base_advanced_report_templates.' + 'report_stock_attractive_document', + {'company': wizard, 'preview_css': preview_css, }) + else: + wizard.preview = False + else: + wizard.preview = False diff --git a/base_advanced_report_templates/models/doc_layout.py b/base_advanced_report_templates/models/doc_layout.py new file mode 100644 index 000000000..45cdb85c4 --- /dev/null +++ b/base_advanced_report_templates/models/doc_layout.py @@ -0,0 +1,57 @@ +# -*- coding: utf-8 -*- +################################################################################ +# +# Cybrosys Technologies Pvt. Ltd. +# +# Copyright (C) 2023-TODAY Cybrosys Technologies(). +# Author: Anfas Faisal K (odoo@cybrosys.info) +# +# You can modify it under the terms of the GNU AFFERO +# GENERAL PUBLIC LICENSE (AGPL v3), Version 3. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU AFFERO GENERAL PUBLIC LICENSE (AGPL v3) for more details. +# +# You should have received a copy of the GNU AFFERO GENERAL PUBLIC LICENSE +# (AGPL v3) along with this program. +# If not, see . +# +################################################################################ +from odoo import fields, models + + +class DocLayout(models.Model): + """Adding the fields for customization""" + _name = "doc.layout" + _description = 'Adding the fields for customization' + _rec_name = 'name' + + name = fields.Char(string="Name", help="Name of the Template") + base_color = fields.Char(string="Base Color", + help="Specify the background color for the " + "invoice.") + heading_text_color = fields.Char(string="Heading Text Color", + help="Specify the color of the heading " + "text.") + text_color = fields.Char(string="Text Color", help="Specify the color of " + "the text for items.") + customer_text_color = fields.Char(string="Customer Text Color", + help="Specify the color of the customer " + "address text.") + company_text_color = fields.Char(string="Company Text Color", + help="Specify the color of the company " + "address text.") + logo_position = fields.Selection([('left', 'Left'), ('right', 'Right')], + string="Logo Position", + help="Specify the position of the company " + "logo.") + company_position = fields.Selection([('left', 'Left'), ('right', 'Right')], + string="Company Address Position", + help="Specify the position of the " + "company address.") + company_id = fields.Many2one('res.company', string='Company', index=True, + default=lambda self: self.env.company, + help="Specify the company associated with this" + "document template.") diff --git a/base_advanced_report_templates/models/purchase_order.py b/base_advanced_report_templates/models/purchase_order.py new file mode 100644 index 000000000..5ca373b2c --- /dev/null +++ b/base_advanced_report_templates/models/purchase_order.py @@ -0,0 +1,45 @@ +# -*- coding: utf-8 -*- +################################################################################ +# +# Cybrosys Technologies Pvt. Ltd. +# +# Copyright (C) 2023-TODAY Cybrosys Technologies(). +# Author: Anfas Faisal K (odoo@cybrosys.info) +# +# You can modify it under the terms of the GNU AFFERO +# GENERAL PUBLIC LICENSE (AGPL v3), Version 3. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU AFFERO GENERAL PUBLIC LICENSE (AGPL v3) for more details. +# +# You should have received a copy of the GNU AFFERO GENERAL PUBLIC LICENSE +# (AGPL v3) along with this program. +# If not, see . +# +################################################################################ +from odoo import fields, models + + +class PurchaseOrder(models.Model): + """Extends the functionality of the purchase.order model in Odoo by adding a + new field. + """ + _inherit = 'purchase.order' + + theme_id = fields.Many2one('doc.layout', string="Purchase", + related='company_id.purchase_document_layout_id', + help='The template to be used for this ' + 'purchase order.') + + +class PurchaseOrderLine(models.Model): + """Extends the functionality of the purchase.order.line model in Odoo by + adding a new field.""" + _inherit = 'purchase.order.line' + + order_line_image = fields.Binary(string="Image", + related="product_id.image_128", + help='The image associated with the ' + 'product of the order line.') diff --git a/base_advanced_report_templates/models/res_company.py b/base_advanced_report_templates/models/res_company.py new file mode 100644 index 000000000..3fe4812a9 --- /dev/null +++ b/base_advanced_report_templates/models/res_company.py @@ -0,0 +1,48 @@ +# -*- coding: utf-8 -*- +################################################################################ +# +# Cybrosys Technologies Pvt. Ltd. +# +# Copyright (C) 2023-TODAY Cybrosys Technologies(). +# Author: Anfas Faisal K (odoo@cybrosys.info) +# +# You can modify it under the terms of the GNU AFFERO +# GENERAL PUBLIC LICENSE (AGPL v3), Version 3. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU AFFERO GENERAL PUBLIC LICENSE (AGPL v3) for more details. +# +# You should have received a copy of the GNU AFFERO GENERAL PUBLIC LICENSE +# (AGPL v3) along with this program. +# If not, see . +# +################################################################################ +from odoo import fields, models + + +class ResCompany(models.Model): + """ + Extends the res.company to add default report layout fields for different + modules. These fields allow specifying the default report layout for + sales, purchases, accounts, and stock related documents. + """ + _inherit = 'res.company' + + sale_document_layout_id = fields.Many2one("doc.layout", + string="Sale", + help="Default report layout " + "for sales") + purchase_document_layout_id = fields.Many2one("doc.layout", + string="Purchase", + help="Default report " + "layout for purchases") + account_document_layout_id = fields.Many2one("doc.layout", + string="Account", + help="Default report layout" + "for accounts") + stock_document_layout_id = fields.Many2one("doc.layout", + string="Stock", + help="Default report layout " + "for stock") diff --git a/base_advanced_report_templates/models/sale_order.py b/base_advanced_report_templates/models/sale_order.py new file mode 100644 index 000000000..dca4891d5 --- /dev/null +++ b/base_advanced_report_templates/models/sale_order.py @@ -0,0 +1,49 @@ +# -*- coding: utf-8 -*- +################################################################################ +# +# Cybrosys Technologies Pvt. Ltd. +# +# Copyright (C) 2023-TODAY Cybrosys Technologies(). +# Author: Anfas Faisal K (odoo@cybrosys.info) +# +# You can modify it under the terms of the GNU AFFERO +# GENERAL PUBLIC LICENSE (AGPL v3), Version 3. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU AFFERO GENERAL PUBLIC LICENSE (AGPL v3) for more details. +# +# You should have received a copy of the GNU AFFERO GENERAL PUBLIC LICENSE +# (AGPL v3) along with this program. +# If not, see . +# +################################################################################ +from odoo import fields, models + + +class SaleOrder(models.Model): + """ + Extends the functionality of the sale.order model in Odoo by adding a + new field. + """ + _inherit = 'sale.order' + + customer_image = fields.Binary(string='Image', + related='partner_id.image_1920', + help='The image associated with ' + 'the partner.') + theme_id = fields.Many2one('doc.layout', string='Sales', + related='company_id.sale_document_layout_id', + help='The template to be used for this sale.') + + +class SaleOrderLine(models.Model): + """Extends the functionality of the sale.order.line model in Odoo by adding + a new field.""" + _inherit = 'sale.order.line' + + order_line_image = fields.Binary(string="Image", + related="product_id.image_128", + help='The image associated with the ' + 'product of the order line.') diff --git a/base_advanced_report_templates/models/stock_move.py b/base_advanced_report_templates/models/stock_move.py new file mode 100644 index 000000000..e2baf9733 --- /dev/null +++ b/base_advanced_report_templates/models/stock_move.py @@ -0,0 +1,33 @@ +# -*- coding: utf-8 -*- +################################################################################ +# +# Cybrosys Technologies Pvt. Ltd. +# +# Copyright (C) 2023-TODAY Cybrosys Technologies(). +# Author: Anfas Faisal K (odoo@cybrosys.info) +# +# You can modify it under the terms of the GNU AFFERO +# GENERAL PUBLIC LICENSE (AGPL v3), Version 3. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU AFFERO GENERAL PUBLIC LICENSE (AGPL v3) for more details. +# +# You should have received a copy of the GNU AFFERO GENERAL PUBLIC LICENSE +# (AGPL v3) along with this program. +# If not, see . +# +################################################################################ +from odoo import fields, models + + +class StockMove(models.Model): + """Extends the functionality of the stock.move model in Odoo by adding a + new field.""" + _inherit = 'stock.move' + + order_line_image = fields.Binary(string="Image", + related="product_id.image_128", + help='The image associated with the ' + 'product of the order line.') diff --git a/base_advanced_report_templates/models/stock_picking.py b/base_advanced_report_templates/models/stock_picking.py new file mode 100644 index 000000000..303d68177 --- /dev/null +++ b/base_advanced_report_templates/models/stock_picking.py @@ -0,0 +1,33 @@ +# -*- coding: utf-8 -*- +################################################################################ +# +# Cybrosys Technologies Pvt. Ltd. +# +# Copyright (C) 2023-TODAY Cybrosys Technologies(). +# Author: Anfas Faisal K (odoo@cybrosys.info) +# +# You can modify it under the terms of the GNU AFFERO +# GENERAL PUBLIC LICENSE (AGPL v3), Version 3. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU AFFERO GENERAL PUBLIC LICENSE (AGPL v3) for more details. +# +# You should have received a copy of the GNU AFFERO GENERAL PUBLIC LICENSE +# (AGPL v3) along with this program. +# If not, see . +# +################################################################################ +from odoo import fields, models + + +class StockPicking(models.Model): + """Extends the functionality of the stock.picking model in Odoo by adding a + new field. + """ + _inherit = 'stock.picking' + + theme_id = fields.Many2one('doc.layout', string='Stock', + related='company_id.stock_document_layout_id', + help='The template to be used for this stock ') diff --git a/base_advanced_report_templates/report/account_move_attractive_templates.xml b/base_advanced_report_templates/report/account_move_attractive_templates.xml new file mode 100644 index 000000000..dbe405943 --- /dev/null +++ b/base_advanced_report_templates/report/account_move_attractive_templates.xml @@ -0,0 +1,361 @@ + + + + + diff --git a/base_advanced_report_templates/report/account_move_modern_templates.xml b/base_advanced_report_templates/report/account_move_modern_templates.xml new file mode 100644 index 000000000..cd85d0311 --- /dev/null +++ b/base_advanced_report_templates/report/account_move_modern_templates.xml @@ -0,0 +1,299 @@ + + + + + diff --git a/base_advanced_report_templates/report/account_move_reports.xml b/base_advanced_report_templates/report/account_move_reports.xml new file mode 100644 index 000000000..681f9a027 --- /dev/null +++ b/base_advanced_report_templates/report/account_move_reports.xml @@ -0,0 +1,17 @@ + + + + + Invoices + account.move + qweb-pdf + base_advanced_report_templates.report_invoice_custom + base_advanced_report_templates.report_invoice_custom + (object._get_report_base_filename()) + (object.state == 'posted') and ((object.name or 'INV').replace('/','_')+'.pdf') + + report + + + diff --git a/base_advanced_report_templates/report/account_move_standard_templates.xml b/base_advanced_report_templates/report/account_move_standard_templates.xml new file mode 100644 index 000000000..21dec0520 --- /dev/null +++ b/base_advanced_report_templates/report/account_move_standard_templates.xml @@ -0,0 +1,318 @@ + + + + + diff --git a/base_advanced_report_templates/report/account_move_traditional_templates.xml b/base_advanced_report_templates/report/account_move_traditional_templates.xml new file mode 100644 index 000000000..f17cac735 --- /dev/null +++ b/base_advanced_report_templates/report/account_move_traditional_templates.xml @@ -0,0 +1,280 @@ + + + + + + diff --git a/base_advanced_report_templates/report/purchase_order_attractive_templates.xml b/base_advanced_report_templates/report/purchase_order_attractive_templates.xml new file mode 100644 index 000000000..2cbf7a498 --- /dev/null +++ b/base_advanced_report_templates/report/purchase_order_attractive_templates.xml @@ -0,0 +1,199 @@ + + + + + diff --git a/base_advanced_report_templates/report/purchase_order_modern_templates.xml b/base_advanced_report_templates/report/purchase_order_modern_templates.xml new file mode 100644 index 000000000..c107b9cd0 --- /dev/null +++ b/base_advanced_report_templates/report/purchase_order_modern_templates.xml @@ -0,0 +1,233 @@ + + + + + diff --git a/base_advanced_report_templates/report/purchase_order_reports.xml b/base_advanced_report_templates/report/purchase_order_reports.xml new file mode 100644 index 000000000..a2331ad08 --- /dev/null +++ b/base_advanced_report_templates/report/purchase_order_reports.xml @@ -0,0 +1,25 @@ + + + + + Request for Quotation + purchase.order + qweb-pdf + base_advanced_report_templates.report_purchase_custom + base_advanced_report_templates.report_purchase_custom + 'Request for Quotation - %s' % (object.name) + + report + + + + Purchase Order + purchase.order + qweb-pdf + base_advanced_report_templates.report_purchase_custom + base_advanced_report_templates.report_purchase_custom + 'Request for Quotation - %s' % (object.name) + + report + + diff --git a/base_advanced_report_templates/report/purchase_order_standard_templates.xml b/base_advanced_report_templates/report/purchase_order_standard_templates.xml new file mode 100644 index 000000000..2e9802e5e --- /dev/null +++ b/base_advanced_report_templates/report/purchase_order_standard_templates.xml @@ -0,0 +1,172 @@ + + + + + diff --git a/base_advanced_report_templates/report/purchase_order_traditional_templates.xml b/base_advanced_report_templates/report/purchase_order_traditional_templates.xml new file mode 100644 index 000000000..b2e1e3c31 --- /dev/null +++ b/base_advanced_report_templates/report/purchase_order_traditional_templates.xml @@ -0,0 +1,222 @@ + + + + + + + diff --git a/base_advanced_report_templates/report/sale_order_attractive_templates.xml b/base_advanced_report_templates/report/sale_order_attractive_templates.xml new file mode 100644 index 000000000..d02a90ae7 --- /dev/null +++ b/base_advanced_report_templates/report/sale_order_attractive_templates.xml @@ -0,0 +1,225 @@ + + + + + diff --git a/base_advanced_report_templates/report/sale_order_modern_templates.xml b/base_advanced_report_templates/report/sale_order_modern_templates.xml new file mode 100644 index 000000000..9734f3f21 --- /dev/null +++ b/base_advanced_report_templates/report/sale_order_modern_templates.xml @@ -0,0 +1,244 @@ + + + + + diff --git a/base_advanced_report_templates/report/sale_order_reports.xml b/base_advanced_report_templates/report/sale_order_reports.xml new file mode 100644 index 000000000..c0a1c00df --- /dev/null +++ b/base_advanced_report_templates/report/sale_order_reports.xml @@ -0,0 +1,15 @@ + + + + + Quotation / Order + sale.order + qweb-pdf + base_advanced_report_templates.report_saleorder_custom + base_advanced_report_templates.report_saleorder + (object.state in ('draft', 'sent') and 'Quotation - %s' % (object.name)) or 'Order - %s' % (object.name) + + + report + + diff --git a/base_advanced_report_templates/report/sale_order_standard_templates.xml b/base_advanced_report_templates/report/sale_order_standard_templates.xml new file mode 100644 index 000000000..1e543e06b --- /dev/null +++ b/base_advanced_report_templates/report/sale_order_standard_templates.xml @@ -0,0 +1,207 @@ + + + + + diff --git a/base_advanced_report_templates/report/sale_order_traditional_templates.xml b/base_advanced_report_templates/report/sale_order_traditional_templates.xml new file mode 100644 index 000000000..53ee04dcd --- /dev/null +++ b/base_advanced_report_templates/report/sale_order_traditional_templates.xml @@ -0,0 +1,233 @@ + + + + + + diff --git a/base_advanced_report_templates/report/stock_move_attractive_templates.xml b/base_advanced_report_templates/report/stock_move_attractive_templates.xml new file mode 100644 index 000000000..199510019 --- /dev/null +++ b/base_advanced_report_templates/report/stock_move_attractive_templates.xml @@ -0,0 +1,265 @@ + + + + + diff --git a/base_advanced_report_templates/report/stock_move_modern_templates.xml b/base_advanced_report_templates/report/stock_move_modern_templates.xml new file mode 100644 index 000000000..0680e4519 --- /dev/null +++ b/base_advanced_report_templates/report/stock_move_modern_templates.xml @@ -0,0 +1,288 @@ + + + + + diff --git a/base_advanced_report_templates/report/stock_move_reports.xml b/base_advanced_report_templates/report/stock_move_reports.xml new file mode 100644 index 000000000..9ebca510b --- /dev/null +++ b/base_advanced_report_templates/report/stock_move_reports.xml @@ -0,0 +1,13 @@ + + + + + Delivery Slip + stock.picking + qweb-pdf + base_advanced_report_templates.report_deliveryslip_custom + base_advanced_report_templates.report_deliveryslip_custom + 'Delivery Slip - %s - %s' % (object.partner_id.name or '', object.name) + report + + diff --git a/base_advanced_report_templates/report/stock_move_standard_templates.xml b/base_advanced_report_templates/report/stock_move_standard_templates.xml new file mode 100644 index 000000000..dfba9a67d --- /dev/null +++ b/base_advanced_report_templates/report/stock_move_standard_templates.xml @@ -0,0 +1,302 @@ + + + + + diff --git a/base_advanced_report_templates/report/stock_move_traditional_templates.xml b/base_advanced_report_templates/report/stock_move_traditional_templates.xml new file mode 100644 index 000000000..a29e55ea9 --- /dev/null +++ b/base_advanced_report_templates/report/stock_move_traditional_templates.xml @@ -0,0 +1,306 @@ + + + + + + diff --git a/base_advanced_report_templates/security/ir.model.access.csv b/base_advanced_report_templates/security/ir.model.access.csv new file mode 100644 index 000000000..e1a2ed5ab --- /dev/null +++ b/base_advanced_report_templates/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/base_advanced_report_templates/static/description/assets/icons/check.png b/base_advanced_report_templates/static/description/assets/icons/check.png new file mode 100644 index 000000000..c8e85f51d Binary files /dev/null and b/base_advanced_report_templates/static/description/assets/icons/check.png differ diff --git a/base_advanced_report_templates/static/description/assets/icons/chevron.png b/base_advanced_report_templates/static/description/assets/icons/chevron.png new file mode 100644 index 000000000..2089293d6 Binary files /dev/null and b/base_advanced_report_templates/static/description/assets/icons/chevron.png differ diff --git a/base_advanced_report_templates/static/description/assets/icons/cogs.png b/base_advanced_report_templates/static/description/assets/icons/cogs.png new file mode 100644 index 000000000..95d0bad62 Binary files /dev/null and b/base_advanced_report_templates/static/description/assets/icons/cogs.png differ diff --git a/base_advanced_report_templates/static/description/assets/icons/consultation.png b/base_advanced_report_templates/static/description/assets/icons/consultation.png new file mode 100644 index 000000000..8319d4baa Binary files /dev/null and b/base_advanced_report_templates/static/description/assets/icons/consultation.png differ diff --git a/base_advanced_report_templates/static/description/assets/icons/ecom-black.png b/base_advanced_report_templates/static/description/assets/icons/ecom-black.png new file mode 100644 index 000000000..a9385ff13 Binary files /dev/null and b/base_advanced_report_templates/static/description/assets/icons/ecom-black.png differ diff --git a/base_advanced_report_templates/static/description/assets/icons/education-black.png b/base_advanced_report_templates/static/description/assets/icons/education-black.png new file mode 100644 index 000000000..3eb09b27b Binary files /dev/null and b/base_advanced_report_templates/static/description/assets/icons/education-black.png differ diff --git a/base_advanced_report_templates/static/description/assets/icons/hotel-black.png b/base_advanced_report_templates/static/description/assets/icons/hotel-black.png new file mode 100644 index 000000000..130f613be Binary files /dev/null and b/base_advanced_report_templates/static/description/assets/icons/hotel-black.png differ diff --git a/base_advanced_report_templates/static/description/assets/icons/license.png b/base_advanced_report_templates/static/description/assets/icons/license.png new file mode 100644 index 000000000..a5869797e Binary files /dev/null and b/base_advanced_report_templates/static/description/assets/icons/license.png differ diff --git a/base_advanced_report_templates/static/description/assets/icons/lifebuoy.png b/base_advanced_report_templates/static/description/assets/icons/lifebuoy.png new file mode 100644 index 000000000..658d56ccc Binary files /dev/null and b/base_advanced_report_templates/static/description/assets/icons/lifebuoy.png differ diff --git a/base_advanced_report_templates/static/description/assets/icons/manufacturing-black.png b/base_advanced_report_templates/static/description/assets/icons/manufacturing-black.png new file mode 100644 index 000000000..697eb0e9f Binary files /dev/null and b/base_advanced_report_templates/static/description/assets/icons/manufacturing-black.png differ diff --git a/base_advanced_report_templates/static/description/assets/icons/pos-black.png b/base_advanced_report_templates/static/description/assets/icons/pos-black.png new file mode 100644 index 000000000..97c0f90c1 Binary files /dev/null and b/base_advanced_report_templates/static/description/assets/icons/pos-black.png differ diff --git a/base_advanced_report_templates/static/description/assets/icons/puzzle.png b/base_advanced_report_templates/static/description/assets/icons/puzzle.png new file mode 100644 index 000000000..65cf854e7 Binary files /dev/null and b/base_advanced_report_templates/static/description/assets/icons/puzzle.png differ diff --git a/base_advanced_report_templates/static/description/assets/icons/restaurant-black.png b/base_advanced_report_templates/static/description/assets/icons/restaurant-black.png new file mode 100644 index 000000000..4a35eb939 Binary files /dev/null and b/base_advanced_report_templates/static/description/assets/icons/restaurant-black.png differ diff --git a/base_advanced_report_templates/static/description/assets/icons/service-black.png b/base_advanced_report_templates/static/description/assets/icons/service-black.png new file mode 100644 index 000000000..301ab51cb Binary files /dev/null and b/base_advanced_report_templates/static/description/assets/icons/service-black.png differ diff --git a/base_advanced_report_templates/static/description/assets/icons/trading-black.png b/base_advanced_report_templates/static/description/assets/icons/trading-black.png new file mode 100644 index 000000000..9398ba2f1 Binary files /dev/null and b/base_advanced_report_templates/static/description/assets/icons/trading-black.png differ diff --git a/base_advanced_report_templates/static/description/assets/icons/training.png b/base_advanced_report_templates/static/description/assets/icons/training.png new file mode 100644 index 000000000..884ca024d Binary files /dev/null and b/base_advanced_report_templates/static/description/assets/icons/training.png differ diff --git a/base_advanced_report_templates/static/description/assets/icons/update.png b/base_advanced_report_templates/static/description/assets/icons/update.png new file mode 100644 index 000000000..ecbc5a01a Binary files /dev/null and b/base_advanced_report_templates/static/description/assets/icons/update.png differ diff --git a/base_advanced_report_templates/static/description/assets/icons/user.png b/base_advanced_report_templates/static/description/assets/icons/user.png new file mode 100644 index 000000000..6ffb23d9f Binary files /dev/null and b/base_advanced_report_templates/static/description/assets/icons/user.png differ diff --git a/base_advanced_report_templates/static/description/assets/icons/wrench.png b/base_advanced_report_templates/static/description/assets/icons/wrench.png new file mode 100644 index 000000000..6c04dea0f Binary files /dev/null and b/base_advanced_report_templates/static/description/assets/icons/wrench.png differ diff --git a/base_advanced_report_templates/static/description/assets/misc/categories.png b/base_advanced_report_templates/static/description/assets/misc/categories.png new file mode 100644 index 000000000..bedf1e0b1 Binary files /dev/null and b/base_advanced_report_templates/static/description/assets/misc/categories.png differ diff --git a/base_advanced_report_templates/static/description/assets/misc/check-box.png b/base_advanced_report_templates/static/description/assets/misc/check-box.png new file mode 100644 index 000000000..42caf24b9 Binary files /dev/null and b/base_advanced_report_templates/static/description/assets/misc/check-box.png differ diff --git a/base_advanced_report_templates/static/description/assets/misc/compass.png b/base_advanced_report_templates/static/description/assets/misc/compass.png new file mode 100644 index 000000000..d5fed8faa Binary files /dev/null and b/base_advanced_report_templates/static/description/assets/misc/compass.png differ diff --git a/base_advanced_report_templates/static/description/assets/misc/corporate.png b/base_advanced_report_templates/static/description/assets/misc/corporate.png new file mode 100644 index 000000000..2eb13edbf Binary files /dev/null and b/base_advanced_report_templates/static/description/assets/misc/corporate.png differ diff --git a/base_advanced_report_templates/static/description/assets/misc/customer-support.png b/base_advanced_report_templates/static/description/assets/misc/customer-support.png new file mode 100644 index 000000000..79efc72ed Binary files /dev/null and b/base_advanced_report_templates/static/description/assets/misc/customer-support.png differ diff --git a/base_advanced_report_templates/static/description/assets/misc/cybrosys-logo.png b/base_advanced_report_templates/static/description/assets/misc/cybrosys-logo.png new file mode 100644 index 000000000..cc3cc0ccf Binary files /dev/null and b/base_advanced_report_templates/static/description/assets/misc/cybrosys-logo.png differ diff --git a/base_advanced_report_templates/static/description/assets/misc/features.png b/base_advanced_report_templates/static/description/assets/misc/features.png new file mode 100644 index 000000000..b41769f77 Binary files /dev/null and b/base_advanced_report_templates/static/description/assets/misc/features.png differ diff --git a/base_advanced_report_templates/static/description/assets/misc/logo.png b/base_advanced_report_templates/static/description/assets/misc/logo.png new file mode 100644 index 000000000..478462d3e Binary files /dev/null and b/base_advanced_report_templates/static/description/assets/misc/logo.png differ diff --git a/base_advanced_report_templates/static/description/assets/misc/pictures.png b/base_advanced_report_templates/static/description/assets/misc/pictures.png new file mode 100644 index 000000000..56d255fe9 Binary files /dev/null and b/base_advanced_report_templates/static/description/assets/misc/pictures.png differ diff --git a/base_advanced_report_templates/static/description/assets/misc/pie-chart.png b/base_advanced_report_templates/static/description/assets/misc/pie-chart.png new file mode 100644 index 000000000..426e05244 Binary files /dev/null and b/base_advanced_report_templates/static/description/assets/misc/pie-chart.png differ diff --git a/base_advanced_report_templates/static/description/assets/misc/right-arrow.png b/base_advanced_report_templates/static/description/assets/misc/right-arrow.png new file mode 100644 index 000000000..730984a06 Binary files /dev/null and b/base_advanced_report_templates/static/description/assets/misc/right-arrow.png differ diff --git a/base_advanced_report_templates/static/description/assets/misc/star.png b/base_advanced_report_templates/static/description/assets/misc/star.png new file mode 100644 index 000000000..2eb9ab29f Binary files /dev/null and b/base_advanced_report_templates/static/description/assets/misc/star.png differ diff --git a/base_advanced_report_templates/static/description/assets/misc/support.png b/base_advanced_report_templates/static/description/assets/misc/support.png new file mode 100644 index 000000000..4f18b8b82 Binary files /dev/null and b/base_advanced_report_templates/static/description/assets/misc/support.png differ diff --git a/base_advanced_report_templates/static/description/assets/misc/whatsapp.png b/base_advanced_report_templates/static/description/assets/misc/whatsapp.png new file mode 100644 index 000000000..d513a5356 Binary files /dev/null and b/base_advanced_report_templates/static/description/assets/misc/whatsapp.png differ diff --git a/base_advanced_report_templates/static/description/assets/modules/1.png b/base_advanced_report_templates/static/description/assets/modules/1.png new file mode 100644 index 000000000..5238bdeab Binary files /dev/null and b/base_advanced_report_templates/static/description/assets/modules/1.png differ diff --git a/base_advanced_report_templates/static/description/assets/modules/2.png b/base_advanced_report_templates/static/description/assets/modules/2.png new file mode 100644 index 000000000..1ae7cfe3b Binary files /dev/null and b/base_advanced_report_templates/static/description/assets/modules/2.png differ diff --git a/base_advanced_report_templates/static/description/assets/modules/3.png b/base_advanced_report_templates/static/description/assets/modules/3.png new file mode 100644 index 000000000..3c3ff1afb Binary files /dev/null and b/base_advanced_report_templates/static/description/assets/modules/3.png differ diff --git a/base_advanced_report_templates/static/description/assets/modules/4.png b/base_advanced_report_templates/static/description/assets/modules/4.png new file mode 100644 index 000000000..3fae4631e Binary files /dev/null and b/base_advanced_report_templates/static/description/assets/modules/4.png differ diff --git a/base_advanced_report_templates/static/description/assets/modules/5.gif b/base_advanced_report_templates/static/description/assets/modules/5.gif new file mode 100644 index 000000000..2a5f8e659 Binary files /dev/null and b/base_advanced_report_templates/static/description/assets/modules/5.gif differ diff --git a/base_advanced_report_templates/static/description/assets/modules/6.png b/base_advanced_report_templates/static/description/assets/modules/6.png new file mode 100644 index 000000000..7f2815273 Binary files /dev/null and b/base_advanced_report_templates/static/description/assets/modules/6.png differ diff --git a/base_advanced_report_templates/static/description/assets/modules/banner.png b/base_advanced_report_templates/static/description/assets/modules/banner.png new file mode 100644 index 000000000..b50130c7d Binary files /dev/null and b/base_advanced_report_templates/static/description/assets/modules/banner.png differ diff --git a/base_advanced_report_templates/static/description/assets/screenshots/enter1.png b/base_advanced_report_templates/static/description/assets/screenshots/enter1.png new file mode 100644 index 000000000..bb0a75caf Binary files /dev/null and b/base_advanced_report_templates/static/description/assets/screenshots/enter1.png differ diff --git a/base_advanced_report_templates/static/description/assets/screenshots/enter2.png b/base_advanced_report_templates/static/description/assets/screenshots/enter2.png new file mode 100644 index 000000000..b713b3ce0 Binary files /dev/null and b/base_advanced_report_templates/static/description/assets/screenshots/enter2.png differ diff --git a/base_advanced_report_templates/static/description/assets/screenshots/image10.png b/base_advanced_report_templates/static/description/assets/screenshots/image10.png new file mode 100644 index 000000000..4ea24676b Binary files /dev/null and b/base_advanced_report_templates/static/description/assets/screenshots/image10.png differ diff --git a/base_advanced_report_templates/static/description/assets/screenshots/image11.png b/base_advanced_report_templates/static/description/assets/screenshots/image11.png new file mode 100644 index 000000000..5c173352c Binary files /dev/null and b/base_advanced_report_templates/static/description/assets/screenshots/image11.png differ diff --git a/base_advanced_report_templates/static/description/assets/screenshots/image12.png b/base_advanced_report_templates/static/description/assets/screenshots/image12.png new file mode 100644 index 000000000..3906e1f73 Binary files /dev/null and b/base_advanced_report_templates/static/description/assets/screenshots/image12.png differ diff --git a/base_advanced_report_templates/static/description/assets/screenshots/image13.png b/base_advanced_report_templates/static/description/assets/screenshots/image13.png new file mode 100644 index 000000000..6c969e17d Binary files /dev/null and b/base_advanced_report_templates/static/description/assets/screenshots/image13.png differ diff --git a/base_advanced_report_templates/static/description/assets/screenshots/image14.png b/base_advanced_report_templates/static/description/assets/screenshots/image14.png new file mode 100644 index 000000000..d746d6ffd Binary files /dev/null and b/base_advanced_report_templates/static/description/assets/screenshots/image14.png differ diff --git a/base_advanced_report_templates/static/description/assets/screenshots/image15.png b/base_advanced_report_templates/static/description/assets/screenshots/image15.png new file mode 100644 index 000000000..322e7404f Binary files /dev/null and b/base_advanced_report_templates/static/description/assets/screenshots/image15.png differ diff --git a/base_advanced_report_templates/static/description/assets/screenshots/image16.png b/base_advanced_report_templates/static/description/assets/screenshots/image16.png new file mode 100644 index 000000000..e9ef24194 Binary files /dev/null and b/base_advanced_report_templates/static/description/assets/screenshots/image16.png differ diff --git a/base_advanced_report_templates/static/description/assets/screenshots/image17.png b/base_advanced_report_templates/static/description/assets/screenshots/image17.png new file mode 100644 index 000000000..35b738844 Binary files /dev/null and b/base_advanced_report_templates/static/description/assets/screenshots/image17.png differ diff --git a/base_advanced_report_templates/static/description/assets/screenshots/image3.png b/base_advanced_report_templates/static/description/assets/screenshots/image3.png new file mode 100644 index 000000000..cfccc18af Binary files /dev/null and b/base_advanced_report_templates/static/description/assets/screenshots/image3.png differ diff --git a/base_advanced_report_templates/static/description/assets/screenshots/image4.png b/base_advanced_report_templates/static/description/assets/screenshots/image4.png new file mode 100644 index 000000000..218871203 Binary files /dev/null and b/base_advanced_report_templates/static/description/assets/screenshots/image4.png differ diff --git a/base_advanced_report_templates/static/description/assets/screenshots/image5.png b/base_advanced_report_templates/static/description/assets/screenshots/image5.png new file mode 100644 index 000000000..8879545a7 Binary files /dev/null and b/base_advanced_report_templates/static/description/assets/screenshots/image5.png differ diff --git a/base_advanced_report_templates/static/description/assets/screenshots/image6.png b/base_advanced_report_templates/static/description/assets/screenshots/image6.png new file mode 100644 index 000000000..9db0fc195 Binary files /dev/null and b/base_advanced_report_templates/static/description/assets/screenshots/image6.png differ diff --git a/base_advanced_report_templates/static/description/assets/screenshots/image7.png b/base_advanced_report_templates/static/description/assets/screenshots/image7.png new file mode 100644 index 000000000..629dc3b74 Binary files /dev/null and b/base_advanced_report_templates/static/description/assets/screenshots/image7.png differ diff --git a/base_advanced_report_templates/static/description/assets/screenshots/image8.png b/base_advanced_report_templates/static/description/assets/screenshots/image8.png new file mode 100644 index 000000000..f77263980 Binary files /dev/null and b/base_advanced_report_templates/static/description/assets/screenshots/image8.png differ diff --git a/base_advanced_report_templates/static/description/assets/screenshots/image9.png b/base_advanced_report_templates/static/description/assets/screenshots/image9.png new file mode 100644 index 000000000..7f5eae5b4 Binary files /dev/null and b/base_advanced_report_templates/static/description/assets/screenshots/image9.png differ diff --git a/base_advanced_report_templates/static/description/assets/screenshots/invoices.png b/base_advanced_report_templates/static/description/assets/screenshots/invoices.png new file mode 100644 index 000000000..a349fc3a6 Binary files /dev/null and b/base_advanced_report_templates/static/description/assets/screenshots/invoices.png differ diff --git a/base_advanced_report_templates/static/description/assets/screenshots/purchase.png b/base_advanced_report_templates/static/description/assets/screenshots/purchase.png new file mode 100644 index 000000000..865c7fb57 Binary files /dev/null and b/base_advanced_report_templates/static/description/assets/screenshots/purchase.png differ diff --git a/base_advanced_report_templates/static/description/assets/screenshots/saleorderselect.png b/base_advanced_report_templates/static/description/assets/screenshots/saleorderselect.png new file mode 100644 index 000000000..763aadeca Binary files /dev/null and b/base_advanced_report_templates/static/description/assets/screenshots/saleorderselect.png differ diff --git a/base_advanced_report_templates/static/description/assets/screenshots/stock.png b/base_advanced_report_templates/static/description/assets/screenshots/stock.png new file mode 100644 index 000000000..c87f071b1 Binary files /dev/null and b/base_advanced_report_templates/static/description/assets/screenshots/stock.png differ diff --git a/base_advanced_report_templates/static/description/assets/screenshots/v15-hero.gif b/base_advanced_report_templates/static/description/assets/screenshots/v15-hero.gif new file mode 100644 index 000000000..cc8752077 Binary files /dev/null and b/base_advanced_report_templates/static/description/assets/screenshots/v15-hero.gif differ diff --git a/base_advanced_report_templates/static/description/banner.png b/base_advanced_report_templates/static/description/banner.png new file mode 100644 index 000000000..d0f3dfb74 Binary files /dev/null and b/base_advanced_report_templates/static/description/banner.png differ diff --git a/base_advanced_report_templates/static/description/icon.png b/base_advanced_report_templates/static/description/icon.png new file mode 100644 index 000000000..0f85e30be Binary files /dev/null and b/base_advanced_report_templates/static/description/icon.png differ diff --git a/base_advanced_report_templates/static/description/index.html b/base_advanced_report_templates/static/description/index.html new file mode 100644 index 000000000..3ee0151b0 --- /dev/null +++ b/base_advanced_report_templates/static/description/index.html @@ -0,0 +1,623 @@ +
+ +
+ +
+
+ Community +
+
+ Enterprise +
+
+
+ + + +

Odoo Professional Report Templates

+

Customizable Multiple Report Templates for Sale, Purchase, Invoice and Delivery. +

+ + +
+ +
+
+ +
+

Explore This + Module

+
+ + + + +
+
+ +
+

Overview

+
+
+
+ In the Odoo Professional Report Templates App, We can configure the report templates to our own need. There we can have 4 types of templates - Standard, Modern, Traditional, Attractive. We can also customize the SO,PO,Invoices and Delivery. +
+
+ + +
+
+ +
+

Features +

+
+
+
+
+ + Configure the layout +
+
+ + Configure the position of Text color,Heading,Background + +
+
+ + Configure Layout In Each Module. + +
+
+
+ + +
+
+

+ Screenshots +

+
+
+

+ Select The Configuration Layout

+

From the company form view we can select the layout type in each module.

+ +
+
+

Report Template Configuration

+

You can configure the template on the external link of the template type. +

+ +
+
+

Go to Sale Order And Click On the Print Button

+

From here you preview the sale order template designs. +

+ +
+
+

Print Sales Order Traditional Report

+ +
+
+

+ Print Sales Order Modern Report

+ +
+
+

+ Print Sales Order Standard Report

+ +
+
+

Print Sales Order Attractive Report

+ +
+
+

Go to Purchase Order And Click On the Print Button

+

From here you can preview the purchase order template designs. +

+ +
+
+

Print Purchase Order Traditional Report

+ +
+
+

Print Purchase Order Modern Report

+ +
+
+

Print Purchase Order Standard Report

+ +
+
+

Print Purchase Order Attractive report

+ +
+
+

Go to Invoices And Click On the Print Button And Select Invoices

+

From here you can preview the Invoice order template designs. +

+ +
+
+

Print Invoice Traditional Report

+ +
+
+

Print Invoice Modern Report

+ +
+
+

Print Invoice Standard Report

+ +
+ +
+

Print Invoice Attractive report

+ +
+
+

Go to Delivery Orders And Click On the Print Button And Select Delivery Slip

+

From here you can preview the Delivery order template designs. +

+ +
+
+

Print Delivery Traditional Report

+ +
+
+

Print Delivery Modern Report

+ +
+
+

Print Delivery Standard Report

+ +
+
+

Print Delivery Attractive Report

+ +
+ + +
+
+

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

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

Support +

+
+
+
+
+
+
+ +
+
+

Need Help?

+

Got questions or need help? Get in touch.

+ +

+ odoo@cybrosys.com

+
+
+
+
+
+
+
+ +
+
+

WhatsApp

+

Say hi to us on WhatsApp!

+ +

+91 86068 + 27707

+
+
+
+
+
+
+
+ +
+
+
+ +
\ No newline at end of file diff --git a/base_advanced_report_templates/views/account_move_views.xml b/base_advanced_report_templates/views/account_move_views.xml new file mode 100644 index 000000000..9475b279d --- /dev/null +++ b/base_advanced_report_templates/views/account_move_views.xml @@ -0,0 +1,18 @@ + + + + + account.move.view.form.inherit.base.advanced.report.templates + account.move + + + + + + + + + + + diff --git a/base_advanced_report_templates/views/doc_layout_views.xml b/base_advanced_report_templates/views/doc_layout_views.xml new file mode 100644 index 000000000..593806a4f --- /dev/null +++ b/base_advanced_report_templates/views/doc_layout_views.xml @@ -0,0 +1,35 @@ + + + + + doc.layout.view.form + doc.layout + +
+ +
+

+ +

+
+ + + + + + + + + + + + + +
+
+
+
+
diff --git a/base_advanced_report_templates/views/purchase_order_views.xml b/base_advanced_report_templates/views/purchase_order_views.xml new file mode 100644 index 000000000..7fb43b374 --- /dev/null +++ b/base_advanced_report_templates/views/purchase_order_views.xml @@ -0,0 +1,18 @@ + + + + + purchase.order.view.form.inherit.base.advanced.report.templates + purchase.order + + + + + + + + + + + diff --git a/base_advanced_report_templates/views/res_company_views.xml b/base_advanced_report_templates/views/res_company_views.xml new file mode 100644 index 000000000..b81fe816f --- /dev/null +++ b/base_advanced_report_templates/views/res_company_views.xml @@ -0,0 +1,17 @@ + + + + + res.company.view.form.inherit.base.advanced.report.templates + res.company + + + + + + + + + + + diff --git a/base_advanced_report_templates/views/sale_order_views.xml b/base_advanced_report_templates/views/sale_order_views.xml new file mode 100644 index 000000000..4bfd7725a --- /dev/null +++ b/base_advanced_report_templates/views/sale_order_views.xml @@ -0,0 +1,20 @@ + + + + + sale.order.view.form.inherit.base.advanced.report.templates + sale.order + + + + + + + + + + + + diff --git a/base_advanced_report_templates/views/stock_move_views.xml b/base_advanced_report_templates/views/stock_move_views.xml new file mode 100644 index 000000000..b01352335 --- /dev/null +++ b/base_advanced_report_templates/views/stock_move_views.xml @@ -0,0 +1,18 @@ + + + + + stock.picking.view.form.inherit.base.advanced.report.templates + stock.picking + + + + + + + + + + +