diff --git a/odoo_rental_sales/README.rst b/odoo_rental_sales/README.rst new file mode 100755 index 000000000..192b50057 --- /dev/null +++ b/odoo_rental_sales/README.rst @@ -0,0 +1,51 @@ +.. 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 Rental Sales +=================== +* The Odoo Rental Sales module allows businesses to create and manage rental orders, track the availability of rental products, and execute rental contracts and invoices. + +Installation +============ + - www.odoo.com/documentation/17.0/setup/install.html + - Install our custom addon + +License +------- +General Public License, Version 3 (AGPL-3). +(http://www.gnu.org/licenses/agpl-3.0-standalone.html) + +Company +------- +* `Cybrosys Techno Solutions `__ + +Credits +------- +Developer: (V16)Aswathi PN, + (v17)JANISH BABU EK + (v18)Afthab K Naufal + 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 https://www.cybrosys.com + +Further information +=================== +HTML Description: ``__ diff --git a/odoo_rental_sales/__init__.py b/odoo_rental_sales/__init__.py new file mode 100755 index 000000000..7c4a1a2d4 --- /dev/null +++ b/odoo_rental_sales/__init__.py @@ -0,0 +1,23 @@ +# -*- coding: utf-8 -*- +############################################################################# +# +# Cybrosys Technologies Pvt. Ltd. +# +# Copyright (C) 2025-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 models +from . import wizard diff --git a/odoo_rental_sales/__manifest__.py b/odoo_rental_sales/__manifest__.py new file mode 100755 index 000000000..cb6f4ee31 --- /dev/null +++ b/odoo_rental_sales/__manifest__.py @@ -0,0 +1,56 @@ +# -*- coding: utf-8 -*- +############################################################################# +# +# Cybrosys Technologies Pvt. Ltd. +# +# Copyright (C) 2025-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': 'Odoo Rental Sales', + 'version': '18.0.1.0.0', + 'category': 'Sales', + 'summary': "The module helps in rental management.", + 'description': "This module allows businesses to create rental orders, " + "track the availability of rental products, and manage rental " + "contracts and invoices.", + 'author': 'Cybrosys Techno Solutions', + 'company': 'Cybrosys Techno Solutions', + 'maintainer': 'Cybrosys Techno Solutions', + 'website': 'https://cybrosys.com', + 'depends': ['product', 'sale_management', 'base'], + 'data': [ + 'security/rental_order_contract_security.xml', + 'security/odoo_rental_sales_groups.xml', + 'security/ir.model.access.csv', + 'data/ir_sequence_data.xml', + 'data/ir_corn_data.xml', + 'wizard/rental_product_views.xml', + 'views/product_product_views.xml', + 'views/odoo_rental_sales_menus.xml', + 'views/sale_order_views.xml', + 'views/rental_order_contract_views.xml', + 'views/rental_product_category_views.xml', + 'views/rental_product_agreement_views.xml', + 'views/uom_views.xml' + ], + 'images': ['static/description/banner.jpg'], + 'license': 'AGPL-3', + 'installable': True, + 'auto_install': False, + 'application': False, +} + diff --git a/odoo_rental_sales/data/ir_corn_data.xml b/odoo_rental_sales/data/ir_corn_data.xml new file mode 100755 index 000000000..512ca20bf --- /dev/null +++ b/odoo_rental_sales/data/ir_corn_data.xml @@ -0,0 +1,15 @@ + + + + + + Rental Scheduler Recurring Activity + + code + model._contract_expiration() + + 1 + days + + + diff --git a/odoo_rental_sales/data/ir_sequence_data.xml b/odoo_rental_sales/data/ir_sequence_data.xml new file mode 100755 index 000000000..47e46607d --- /dev/null +++ b/odoo_rental_sales/data/ir_sequence_data.xml @@ -0,0 +1,21 @@ + + + + + + Order Line Sequence + sale.order.line + RO + 5 + + + + + Rental Contract Sequence + rental.order.contract + ROC + 5 + + + + diff --git a/odoo_rental_sales/doc/RELEASE_NOTES.md b/odoo_rental_sales/doc/RELEASE_NOTES.md new file mode 100755 index 000000000..9d5a01102 --- /dev/null +++ b/odoo_rental_sales/doc/RELEASE_NOTES.md @@ -0,0 +1,6 @@ +## Module + +#### 19.02.2025 +#### Version 18.0.1.0.0 +#### ADD +- Initial commit for Odoo Rental Sales diff --git a/odoo_rental_sales/models/__init__.py b/odoo_rental_sales/models/__init__.py new file mode 100755 index 000000000..81b197517 --- /dev/null +++ b/odoo_rental_sales/models/__init__.py @@ -0,0 +1,27 @@ +# -*- coding: utf-8 -*- +############################################################################# +# +# Cybrosys Technologies Pvt. Ltd. +# +# Copyright (C) 2025-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 product_product +from . import rental_order_contract +from . import rental_product_agreement +from . import rental_product_category +from . import sale_order +from . import uom diff --git a/odoo_rental_sales/models/product_product.py b/odoo_rental_sales/models/product_product.py new file mode 100755 index 000000000..f0a5816e3 --- /dev/null +++ b/odoo_rental_sales/models/product_product.py @@ -0,0 +1,38 @@ +# -*- coding: utf-8 -*- +############################################################################# +# +# Cybrosys Technologies Pvt. Ltd. +# +# Copyright (C) 2025-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 fields, models + + +class ProductProduct(models.Model): + """Created the class for inheriting the product model """ + _inherit = 'product.product' + + rental = fields.Boolean('Rental', + help="Boolean field for checking the product is rental or not") + category_id = fields.Many2one('rental.product.category', + string='Rental Category', + help="Adding rental product category") + product_agreement_id = fields.Many2one('rental.product.agreement', + string='Product Agreement', + help="Set the product agreement") + security_amount = fields.Monetary(string='Security Amount', + help='To add the Security Amount') diff --git a/odoo_rental_sales/models/rental_order_contract.py b/odoo_rental_sales/models/rental_order_contract.py new file mode 100755 index 000000000..804415b32 --- /dev/null +++ b/odoo_rental_sales/models/rental_order_contract.py @@ -0,0 +1,98 @@ +# -*- coding: utf-8 -*- +############################################################################# +# +# Cybrosys Technologies Pvt. Ltd. +# +# Copyright (C) 2025-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 api, fields, models, _ +from odoo.exceptions import UserError + + +class RentalOrderContract(models.Model): + """Created the class for creating a new model rental order contract""" + _name = "rental.order.contract" + _inherit = ['mail.thread', 'mail.activity.mixin', 'portal.mixin'] + _description = 'Rental Order Contract' + _rec_name = 'reference_no' + + reference_no = fields.Char(string='Reference', copy=False, + readonly=True, default=lambda self: _('New'), + help='Create a reference number for rental contract') + partner_id = fields.Many2one('res.partner', string='Customer', + help='To set the customer for the contract') + product_id = fields.Many2one('product.product', string='Product', + domain="[('rental', '=', True)]", + help='To add the rental product') + qty = fields.Float(string='Quantity', help='To add the quantity') + currency_id = fields.Many2one('res.currency', string="Currency", + related='company_id.currency_id', + help='To add the company currency') + unit_price = fields.Monetary(string='Unit Price', readonly=True, + help='To set the unit price') + date_start = fields.Datetime(string='Start Date', + help='To set the start date') + date_end = fields.Datetime(string='End Date', help='To set the end date') + sale_order_id = fields.Many2one('sale.order', string='Sale Order', + help='To set the corresponding sale order') + rental_order_id = fields.Many2one('sale.order.line', string='Rental Order', + help='To set the corresponding rental order', + domain=[('is_rental', '=', True)]) + company_id = fields.Many2one('res.company', required=True, + default=lambda self: self.env.company, + string='Company', + help='To set the default company') + contract_status = fields.Selection( + [('new', 'New'), ('confirmed', 'Confirmed'), ('expired', 'Expired'), + ('cancel', 'Cancelled')], string='Contract Status', + default='new', help='To add contract status') + + @api.onchange('date_start', 'date_end') + def _onchange_date_start(self): + """Checking the end date is less than start date""" + if self.date_start and self.date_end and self.date_start > self.date_end: + raise UserError( + _('The end date must be after or the same as the start date')) + + @api.model + def create(self, vals): + """Creating sequence for the rental contract""" + if vals.get('reference_no', _('New')) == _('New'): + vals['reference_no'] = self.env['ir.sequence'].next_by_code( + 'rental.order.contract') or _('New') + + return super(RentalOrderContract, self).create(vals) + + def action_confirm_contract(self): + """ Function for confirming the contract """ + self.contract_status = 'confirmed' + + def action_reset_contract(self): + """Function for reset the contract to draft""" + self.contract_status = 'new' + + def action_cancel_contract(self): + """ Function for cancel contract """ + self.contract_status = 'cancel' + + def _contract_expiration(self): + """Calculating the expiration date of the contract""" + rental_contract = self.env['rental.order.contract'].search( + [('contract_status', 'not in', ['expired', 'cancel'])]) + for rec in rental_contract: + if rec.date_end and rec.date_end.date() < fields.date.today(): + rec.contract_status = 'expired' diff --git a/odoo_rental_sales/models/rental_product_agreement.py b/odoo_rental_sales/models/rental_product_agreement.py new file mode 100755 index 000000000..4a334b0be --- /dev/null +++ b/odoo_rental_sales/models/rental_product_agreement.py @@ -0,0 +1,37 @@ +# -*- coding: utf-8 -*- +############################################################################# +# +# Cybrosys Technologies Pvt. Ltd. +# +# Copyright (C) 2025-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 fields, models + + +class RentalProductAgreement(models.Model): + """Created the class for creating the model rental product agreement""" + _name = 'rental.product.agreement' + _description = 'Rental Product Agreement' + + name = fields.Char(string='Name', required=True, + help='Name of the rental product agreement') + sequence = fields.Integer(string='Sequence', required=True, + help='Sequence of the rental product agreement') + description = fields.Text(string='Description', + help='Description of the rental product agreement') + agreement_file = fields.Binary(string='Product Agreement', + help='Agreement file of the rental product') diff --git a/odoo_rental_sales/models/rental_product_category.py b/odoo_rental_sales/models/rental_product_category.py new file mode 100755 index 000000000..6768dc841 --- /dev/null +++ b/odoo_rental_sales/models/rental_product_category.py @@ -0,0 +1,43 @@ +# -*- coding: utf-8 -*- +############################################################################# +# +# Cybrosys Technologies Pvt. Ltd. +# +# Copyright (C) 2025-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 fields, models + + +class RentalProductCategory(models.Model): + """Created the class for creating the model rental product category""" + _name = 'rental.product.category' + _description = 'Rental Product Category' + + name = fields.Char(string='Name', required=True, + help='Name of product category') + + def action_view_rental_products(self): + """Showing the products under the rental category""" + self.ensure_one() + return { + 'type': 'ir.actions.act_window', + 'name': 'Rental Products', + 'view_mode': 'tree', + 'res_model': 'product.product', + 'domain': [('category_id', '=', self.id)], + 'context': "{'create': False}" + } diff --git a/odoo_rental_sales/models/sale_order.py b/odoo_rental_sales/models/sale_order.py new file mode 100755 index 000000000..86454d29f --- /dev/null +++ b/odoo_rental_sales/models/sale_order.py @@ -0,0 +1,167 @@ +# -*- coding: utf-8 -*- +############################################################################# +# +# Cybrosys Technologies Pvt. Ltd. +# +# Copyright (C) 2025-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 api, fields, models, _ +from odoo.exceptions import UserError + + +class SaleOrder(models.Model): + """Created the class for inheriting the model sale order""" + _inherit = 'sale.order' + + rental_status = fields.Selection( + [('new', 'New'), ('confirmed', 'Confirmed'), + ('expired', 'Expired'), + ('cancel', 'Cancelled')], + default='new', help='To show the rental status', string='Rental Status') + + def action_confirm(self): + """For creating rental order contract at the time of confirm the sale order.""" + res = super(SaleOrder, self).action_confirm() + for product in self.order_line: + if product.rental: + product.is_rental = True + self.env['rental.order.contract'].create([{ + 'partner_id': self.partner_id.id, + 'product_id': product.product_id.id, + 'qty': product.product_uom_qty, + 'unit_price': product.price_unit, + 'rental_order_id': product.id, + 'sale_order_id': self.id, + }]) + return res + + +class SaleOrderLine(models.Model): + """Created the class for inheriting the model sale order line""" + _inherit = 'sale.order.line' + _rec_name = 'reference_no' + + reference_no = fields.Char(string='Reference', readonly=True, + default=lambda self: _('New'), + help='To create reference number for sale order line') + initial_contract_id = fields.Many2one('rental.order.contract', + string='Initial Contract', + help='To add initial contract') + initial_start = fields.Datetime(string='Start Date', related='initial_contract_id.date_start', + help='To add the initial contract start date') + initial_end = fields.Datetime(string='End Date', related='initial_contract_id.date_end', + help='To add initial contract end date') + initial_qty = fields.Float(string='Quantity', related='initial_contract_id.qty', + help='To add initial contract product quantity') + partner_id = fields.Many2one('res.partner', string='Partner', + help='To store the partner of the corresponding sale order') + current_contract_id = fields.Many2one('rental.order.contract', + string='Current Contract', + help='To add the current contract') + current_start = fields.Datetime(string='Start Date', related='current_contract_id.date_start', + help='To add the current contract start date') + current_end = fields.Datetime(string='End Date', related='current_contract_id.date_end', + help='To add the current contract end date') + current_qty = fields.Float(string='Quantity', related='current_contract_id.qty', + help='To add the current contract product quantity') + last_renewal_time = fields.Datetime(string='Last Renewal Time', + help='To store the last renewal time of the contract') + is_rental = fields.Boolean(string='Rental', + help='To check the sale order line contains rental product or not') + rental = fields.Boolean(string='Rental', related='product_id.rental', + help='To check the sale order line product is rental product') + current_contract_values = fields.Boolean(string='Contract Value', + compute='_compute_current_contract_values', + help='To compute the contract values') + rental_status = fields.Selection( + [('new', 'New'), ('confirmed', 'Confirmed'), + ('cancel', 'Cancelled')], + default='new', help='To show the rental status', string='Rental Status') + rental_contract_ids = fields.One2many('rental.order.contract', + 'rental_order_id', + string='Rental Contract', + help='To Shows the rental contract') + + @api.depends('rental_contract_ids') + def _compute_current_contract_values(self): + """For fetching the current contract values to the sale order line form view""" + for rec in self: + rec.current_contract_values = False + try: + recs_sorted = \ + rec.rental_contract_ids.sorted(key=lambda r: r.date_start)[0] if rec.rental_contract_ids.sorted( + key=lambda r: r.date_start) else False + rec.current_contract_values = True + for record in rec.rental_contract_ids: + if record.date_start and record.date_end: + if record.date_start.date() <= fields.date.today() <= record.date_end.date(): + rec.current_contract_id = record.id + rec.last_renewal_time = record.date_end + if recs_sorted: + rec.initial_contract_id = recs_sorted.id + except: + continue + + @api.onchange('initial_start', 'initial_end', 'current_start', 'current_end') + def _onchange_initial_start(self): + """Checking the end date is less than start date""" + if self.initial_start and self.initial_end and self.initial_start > self.initial_end: + raise UserError( + _('The end date must be after or the same as the start date')) + if self.current_start and self.current_end and self.current_start > self.current_end: + raise UserError( + _('The end date must be after or the same as the start date')) + + @api.model + def create(self, vals): + """ Function for adding reference number to the sale order line """ + if vals.get('reference_no', _('New')) == _('New'): + vals['reference_no'] = self.env['ir.sequence'].next_by_code( + 'sale.order.line') or _('New') + return super(SaleOrderLine, self).create(vals) + + def action_confirm(self): + """ Button function that confirm the order line products """ + self.rental_status = 'confirmed' + + def action_cancel(self): + """ Button function that cancel the order """ + self.rental_status = 'cancel' + + def action_renew_contract(self): + """For renewing the rental order""" + self.ensure_one() + vals = [] + if self.rental_contract_ids: + vals = [{ + 'partner_id': rec.partner_id.id, + 'product_id': rec.product_id.id, + 'rental_order_id': rec.rental_order_id.id, + 'sale_order_id': rec.sale_order_id.id, + 'qty': rec.qty, + 'unit_price': rec.unit_price, + } for rec in self.rental_contract_ids] + + contract_rec = self.env['rental.order.contract'].create(vals) + return { + 'name': _('Renew Rental Order'), + 'view_mode': 'form', + 'res_model': 'rental.order.contract', + 'type': 'ir.actions.act_window', + 'target': 'new', + 'res_id': contract_rec[0].id if contract_rec else False, + } diff --git a/odoo_rental_sales/models/uom.py b/odoo_rental_sales/models/uom.py new file mode 100755 index 000000000..df30a3b9b --- /dev/null +++ b/odoo_rental_sales/models/uom.py @@ -0,0 +1,30 @@ +# -*- coding: utf-8 -*- +############################################################################# +# +# Cybrosys Technologies Pvt. Ltd. +# +# Copyright (C) 2025-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 fields, models + + +class Uom(models.Model): + """Created the class for inheriting the model uom """ + _inherit = 'uom.uom' + + is_rental = fields.Boolean(string='Rental', + help='Check the uom is for rental product') diff --git a/odoo_rental_sales/security/ir.model.access.csv b/odoo_rental_sales/security/ir.model.access.csv new file mode 100755 index 000000000..eeaf9f46e --- /dev/null +++ b/odoo_rental_sales/security/ir.model.access.csv @@ -0,0 +1,9 @@ +id,name,model_id:id,group_id:id,perm_read,perm_write,perm_create,perm_unlink +access_rental_product_agreement_manger,access.rental.product.agreement,model_rental_product_agreement,group_rental_sales_manager,1,1,1,1 +access_rental_product_agreement_user,access.rental.product.agreement,model_rental_product_agreement,base.group_user,1,1,0,0 +access_rental_product_category_manger,access.rental.product.category,model_rental_product_category,group_rental_sales_manager,1,1,1,1 +access_rental_product_category_user,access.rental.product.category,model_rental_product_category,base.group_user,1,1,0,0 +access_rental_product_manger,access.rental.product,model_rental_product,group_rental_sales_manager,1,1,1,1 +access_rental_product_user,access.rental.product,model_rental_product,base.group_user,1,1,1,0 +access_rental_order_contract_manger,access.rental.order.contract,model_rental_order_contract,group_rental_sales_manager,1,1,1,1 +access_rental_order_contract_user,access.rental.order.contract,model_rental_order_contract,base.group_user,1,1,1,0 diff --git a/odoo_rental_sales/security/odoo_rental_sales_groups.xml b/odoo_rental_sales/security/odoo_rental_sales_groups.xml new file mode 100644 index 000000000..6845e1978 --- /dev/null +++ b/odoo_rental_sales/security/odoo_rental_sales_groups.xml @@ -0,0 +1,23 @@ + + + + + + Rental Sales + Helps you handle your rental security. + 9 + + + + User + + + + + + Rental Sales Administrator + + + + + diff --git a/odoo_rental_sales/security/rental_order_contract_security.xml b/odoo_rental_sales/security/rental_order_contract_security.xml new file mode 100755 index 000000000..be3fd50b2 --- /dev/null +++ b/odoo_rental_sales/security/rental_order_contract_security.xml @@ -0,0 +1,11 @@ + + + + + + Rental Order Contract Multi-Company + + [('company_id', 'in', company_ids)] + + + diff --git a/odoo_rental_sales/static/description/Icon.png b/odoo_rental_sales/static/description/Icon.png new file mode 100644 index 000000000..ecfec798c Binary files /dev/null and b/odoo_rental_sales/static/description/Icon.png differ diff --git a/odoo_rental_sales/static/description/assets/cybro-icon.png b/odoo_rental_sales/static/description/assets/cybro-icon.png new file mode 100644 index 000000000..06e73e11d Binary files /dev/null and b/odoo_rental_sales/static/description/assets/cybro-icon.png differ diff --git a/odoo_rental_sales/static/description/assets/cybro-odoo.png b/odoo_rental_sales/static/description/assets/cybro-odoo.png new file mode 100644 index 000000000..ed02e07a4 Binary files /dev/null and b/odoo_rental_sales/static/description/assets/cybro-odoo.png differ diff --git a/odoo_rental_sales/static/description/assets/h2.png b/odoo_rental_sales/static/description/assets/h2.png new file mode 100644 index 000000000..0bfc4707d Binary files /dev/null and b/odoo_rental_sales/static/description/assets/h2.png differ diff --git a/odoo_rental_sales/static/description/assets/icons/Gif.gif b/odoo_rental_sales/static/description/assets/icons/Gif.gif new file mode 100644 index 000000000..33143acb0 Binary files /dev/null and b/odoo_rental_sales/static/description/assets/icons/Gif.gif differ diff --git a/odoo_rental_sales/static/description/assets/icons/arrows-repeat.svg b/odoo_rental_sales/static/description/assets/icons/arrows-repeat.svg new file mode 100644 index 000000000..1d7efabc5 --- /dev/null +++ b/odoo_rental_sales/static/description/assets/icons/arrows-repeat.svg @@ -0,0 +1,10 @@ + + + + + + + + + + diff --git a/odoo_rental_sales/static/description/assets/icons/banner-1.png b/odoo_rental_sales/static/description/assets/icons/banner-1.png new file mode 100644 index 000000000..c180db172 Binary files /dev/null and b/odoo_rental_sales/static/description/assets/icons/banner-1.png differ diff --git a/odoo_rental_sales/static/description/assets/icons/banner-2.svg b/odoo_rental_sales/static/description/assets/icons/banner-2.svg new file mode 100644 index 000000000..e606d97d9 --- /dev/null +++ b/odoo_rental_sales/static/description/assets/icons/banner-2.svg @@ -0,0 +1,73 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/odoo_rental_sales/static/description/assets/icons/banner-bg.png b/odoo_rental_sales/static/description/assets/icons/banner-bg.png new file mode 100644 index 000000000..a8238d3c0 Binary files /dev/null and b/odoo_rental_sales/static/description/assets/icons/banner-bg.png differ diff --git a/odoo_rental_sales/static/description/assets/icons/banner-bg.svg b/odoo_rental_sales/static/description/assets/icons/banner-bg.svg new file mode 100644 index 000000000..b1378103e --- /dev/null +++ b/odoo_rental_sales/static/description/assets/icons/banner-bg.svg @@ -0,0 +1,9 @@ + + + + + + + + + diff --git a/odoo_rental_sales/static/description/assets/icons/banner-call.svg b/odoo_rental_sales/static/description/assets/icons/banner-call.svg new file mode 100644 index 000000000..96c687e81 --- /dev/null +++ b/odoo_rental_sales/static/description/assets/icons/banner-call.svg @@ -0,0 +1,5 @@ + + + + + diff --git a/odoo_rental_sales/static/description/assets/icons/banner-mail.svg b/odoo_rental_sales/static/description/assets/icons/banner-mail.svg new file mode 100644 index 000000000..cbf0d158d --- /dev/null +++ b/odoo_rental_sales/static/description/assets/icons/banner-mail.svg @@ -0,0 +1,5 @@ + + + + + diff --git a/odoo_rental_sales/static/description/assets/icons/banner-pattern.svg b/odoo_rental_sales/static/description/assets/icons/banner-pattern.svg new file mode 100644 index 000000000..9c1c7e101 --- /dev/null +++ b/odoo_rental_sales/static/description/assets/icons/banner-pattern.svg @@ -0,0 +1,343 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/odoo_rental_sales/static/description/assets/icons/banner-promo.svg b/odoo_rental_sales/static/description/assets/icons/banner-promo.svg new file mode 100644 index 000000000..d52791b11 --- /dev/null +++ b/odoo_rental_sales/static/description/assets/icons/banner-promo.svg @@ -0,0 +1,147 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/odoo_rental_sales/static/description/assets/icons/brand-pair.svg b/odoo_rental_sales/static/description/assets/icons/brand-pair.svg new file mode 100644 index 000000000..d8db7fc1e --- /dev/null +++ b/odoo_rental_sales/static/description/assets/icons/brand-pair.svg @@ -0,0 +1,41 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/odoo_rental_sales/static/description/assets/icons/check.png b/odoo_rental_sales/static/description/assets/icons/check.png new file mode 100644 index 000000000..c8e85f51d Binary files /dev/null and b/odoo_rental_sales/static/description/assets/icons/check.png differ diff --git a/odoo_rental_sales/static/description/assets/icons/chevron.png b/odoo_rental_sales/static/description/assets/icons/chevron.png new file mode 100644 index 000000000..2089293d6 Binary files /dev/null and b/odoo_rental_sales/static/description/assets/icons/chevron.png differ diff --git a/odoo_rental_sales/static/description/assets/icons/close-icon.svg b/odoo_rental_sales/static/description/assets/icons/close-icon.svg new file mode 100644 index 000000000..df8cce37a --- /dev/null +++ b/odoo_rental_sales/static/description/assets/icons/close-icon.svg @@ -0,0 +1,5 @@ + + + + + diff --git a/odoo_rental_sales/static/description/assets/icons/cogs.png b/odoo_rental_sales/static/description/assets/icons/cogs.png new file mode 100644 index 000000000..95d0bad62 Binary files /dev/null and b/odoo_rental_sales/static/description/assets/icons/cogs.png differ diff --git a/odoo_rental_sales/static/description/assets/icons/collabarate-icon.svg b/odoo_rental_sales/static/description/assets/icons/collabarate-icon.svg new file mode 100644 index 000000000..dd4e10518 --- /dev/null +++ b/odoo_rental_sales/static/description/assets/icons/collabarate-icon.svg @@ -0,0 +1,3 @@ + + + diff --git a/odoo_rental_sales/static/description/assets/icons/consultation.png b/odoo_rental_sales/static/description/assets/icons/consultation.png new file mode 100644 index 000000000..8319d4baa Binary files /dev/null and b/odoo_rental_sales/static/description/assets/icons/consultation.png differ diff --git a/odoo_rental_sales/static/description/assets/icons/cybro-logo.png b/odoo_rental_sales/static/description/assets/icons/cybro-logo.png new file mode 100644 index 000000000..ff4b78220 Binary files /dev/null and b/odoo_rental_sales/static/description/assets/icons/cybro-logo.png differ diff --git a/odoo_rental_sales/static/description/assets/icons/down.svg b/odoo_rental_sales/static/description/assets/icons/down.svg new file mode 100644 index 000000000..f21c36271 --- /dev/null +++ b/odoo_rental_sales/static/description/assets/icons/down.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/odoo_rental_sales/static/description/assets/icons/ecom-black.png b/odoo_rental_sales/static/description/assets/icons/ecom-black.png new file mode 100644 index 000000000..a9385ff13 Binary files /dev/null and b/odoo_rental_sales/static/description/assets/icons/ecom-black.png differ diff --git a/odoo_rental_sales/static/description/assets/icons/education-black.png b/odoo_rental_sales/static/description/assets/icons/education-black.png new file mode 100644 index 000000000..3eb09b27b Binary files /dev/null and b/odoo_rental_sales/static/description/assets/icons/education-black.png differ diff --git a/odoo_rental_sales/static/description/assets/icons/faq.png b/odoo_rental_sales/static/description/assets/icons/faq.png new file mode 100644 index 000000000..4250b5b81 Binary files /dev/null and b/odoo_rental_sales/static/description/assets/icons/faq.png differ diff --git a/odoo_rental_sales/static/description/assets/icons/feature-icon.svg b/odoo_rental_sales/static/description/assets/icons/feature-icon.svg new file mode 100644 index 000000000..fa0ea6850 --- /dev/null +++ b/odoo_rental_sales/static/description/assets/icons/feature-icon.svg @@ -0,0 +1,10 @@ + + + + + + + + + + diff --git a/odoo_rental_sales/static/description/assets/icons/feature.png b/odoo_rental_sales/static/description/assets/icons/feature.png new file mode 100644 index 000000000..ac7a785c0 Binary files /dev/null and b/odoo_rental_sales/static/description/assets/icons/feature.png differ diff --git a/odoo_rental_sales/static/description/assets/icons/gear.svg b/odoo_rental_sales/static/description/assets/icons/gear.svg new file mode 100644 index 000000000..0cc66b6ea --- /dev/null +++ b/odoo_rental_sales/static/description/assets/icons/gear.svg @@ -0,0 +1,10 @@ + + + + + + + + + + diff --git a/odoo_rental_sales/static/description/assets/icons/hire-odoo.svg b/odoo_rental_sales/static/description/assets/icons/hire-odoo.svg new file mode 100644 index 000000000..e1ac089b0 --- /dev/null +++ b/odoo_rental_sales/static/description/assets/icons/hire-odoo.svg @@ -0,0 +1,12 @@ + + + + + + + + + + + + diff --git a/odoo_rental_sales/static/description/assets/icons/hotel-black.png b/odoo_rental_sales/static/description/assets/icons/hotel-black.png new file mode 100644 index 000000000..130f613be Binary files /dev/null and b/odoo_rental_sales/static/description/assets/icons/hotel-black.png differ diff --git a/odoo_rental_sales/static/description/assets/icons/license.png b/odoo_rental_sales/static/description/assets/icons/license.png new file mode 100644 index 000000000..a5869797e Binary files /dev/null and b/odoo_rental_sales/static/description/assets/icons/license.png differ diff --git a/odoo_rental_sales/static/description/assets/icons/life-ring-icon.svg b/odoo_rental_sales/static/description/assets/icons/life-ring-icon.svg new file mode 100644 index 000000000..3ae6e1d89 --- /dev/null +++ b/odoo_rental_sales/static/description/assets/icons/life-ring-icon.svg @@ -0,0 +1,13 @@ + + + + + + + + + + + + + diff --git a/odoo_rental_sales/static/description/assets/icons/lifebuoy.png b/odoo_rental_sales/static/description/assets/icons/lifebuoy.png new file mode 100644 index 000000000..658d56ccc Binary files /dev/null and b/odoo_rental_sales/static/description/assets/icons/lifebuoy.png differ diff --git a/odoo_rental_sales/static/description/assets/icons/mail.svg b/odoo_rental_sales/static/description/assets/icons/mail.svg new file mode 100644 index 000000000..1eedde695 --- /dev/null +++ b/odoo_rental_sales/static/description/assets/icons/mail.svg @@ -0,0 +1,3 @@ + + + diff --git a/odoo_rental_sales/static/description/assets/icons/manufacturing-black.png b/odoo_rental_sales/static/description/assets/icons/manufacturing-black.png new file mode 100644 index 000000000..697eb0e9f Binary files /dev/null and b/odoo_rental_sales/static/description/assets/icons/manufacturing-black.png differ diff --git a/odoo_rental_sales/static/description/assets/icons/notes.png b/odoo_rental_sales/static/description/assets/icons/notes.png new file mode 100644 index 000000000..ee5e95404 Binary files /dev/null and b/odoo_rental_sales/static/description/assets/icons/notes.png differ diff --git a/odoo_rental_sales/static/description/assets/icons/notification icon.svg b/odoo_rental_sales/static/description/assets/icons/notification icon.svg new file mode 100644 index 000000000..053189973 --- /dev/null +++ b/odoo_rental_sales/static/description/assets/icons/notification icon.svg @@ -0,0 +1,10 @@ + + + + + + + + + + diff --git a/odoo_rental_sales/static/description/assets/icons/odoo-consultancy.svg b/odoo_rental_sales/static/description/assets/icons/odoo-consultancy.svg new file mode 100644 index 000000000..e05f65bde --- /dev/null +++ b/odoo_rental_sales/static/description/assets/icons/odoo-consultancy.svg @@ -0,0 +1,4 @@ + + + + diff --git a/odoo_rental_sales/static/description/assets/icons/odoo-licencing.svg b/odoo_rental_sales/static/description/assets/icons/odoo-licencing.svg new file mode 100644 index 000000000..2606c88b0 --- /dev/null +++ b/odoo_rental_sales/static/description/assets/icons/odoo-licencing.svg @@ -0,0 +1,3 @@ + + + diff --git a/odoo_rental_sales/static/description/assets/icons/odoo-logo.png b/odoo_rental_sales/static/description/assets/icons/odoo-logo.png new file mode 100644 index 000000000..0e4d0eb5a Binary files /dev/null and b/odoo_rental_sales/static/description/assets/icons/odoo-logo.png differ diff --git a/odoo_rental_sales/static/description/assets/icons/patter.svg b/odoo_rental_sales/static/description/assets/icons/patter.svg new file mode 100644 index 000000000..25c9c0a8f --- /dev/null +++ b/odoo_rental_sales/static/description/assets/icons/patter.svg @@ -0,0 +1,9 @@ + + + + + + + + + diff --git a/odoo_rental_sales/static/description/assets/icons/pattern1.png b/odoo_rental_sales/static/description/assets/icons/pattern1.png new file mode 100644 index 000000000..09ab0fb2d Binary files /dev/null and b/odoo_rental_sales/static/description/assets/icons/pattern1.png differ diff --git a/odoo_rental_sales/static/description/assets/icons/pos-black.png b/odoo_rental_sales/static/description/assets/icons/pos-black.png new file mode 100644 index 000000000..97c0f90c1 Binary files /dev/null and b/odoo_rental_sales/static/description/assets/icons/pos-black.png differ diff --git a/odoo_rental_sales/static/description/assets/icons/puzzle-piece-icon.svg b/odoo_rental_sales/static/description/assets/icons/puzzle-piece-icon.svg new file mode 100644 index 000000000..3e9ad9373 --- /dev/null +++ b/odoo_rental_sales/static/description/assets/icons/puzzle-piece-icon.svg @@ -0,0 +1,10 @@ + + + + + + + + + + diff --git a/odoo_rental_sales/static/description/assets/icons/puzzle.png b/odoo_rental_sales/static/description/assets/icons/puzzle.png new file mode 100644 index 000000000..65cf854e7 Binary files /dev/null and b/odoo_rental_sales/static/description/assets/icons/puzzle.png differ diff --git a/odoo_rental_sales/static/description/assets/icons/replace-icon.svg b/odoo_rental_sales/static/description/assets/icons/replace-icon.svg new file mode 100644 index 000000000..d0e3a7af1 --- /dev/null +++ b/odoo_rental_sales/static/description/assets/icons/replace-icon.svg @@ -0,0 +1,10 @@ + + + + + + + + + + diff --git a/odoo_rental_sales/static/description/assets/icons/restaurant-black.png b/odoo_rental_sales/static/description/assets/icons/restaurant-black.png new file mode 100644 index 000000000..4a35eb939 Binary files /dev/null and b/odoo_rental_sales/static/description/assets/icons/restaurant-black.png differ diff --git a/odoo_rental_sales/static/description/assets/icons/screenshot-main.png b/odoo_rental_sales/static/description/assets/icons/screenshot-main.png new file mode 100644 index 000000000..575f8e676 Binary files /dev/null and b/odoo_rental_sales/static/description/assets/icons/screenshot-main.png differ diff --git a/odoo_rental_sales/static/description/assets/icons/screenshot.png b/odoo_rental_sales/static/description/assets/icons/screenshot.png new file mode 100644 index 000000000..cef272529 Binary files /dev/null and b/odoo_rental_sales/static/description/assets/icons/screenshot.png differ diff --git a/odoo_rental_sales/static/description/assets/icons/service-black.png b/odoo_rental_sales/static/description/assets/icons/service-black.png new file mode 100644 index 000000000..301ab51cb Binary files /dev/null and b/odoo_rental_sales/static/description/assets/icons/service-black.png differ diff --git a/odoo_rental_sales/static/description/assets/icons/skype-fill.svg b/odoo_rental_sales/static/description/assets/icons/skype-fill.svg new file mode 100644 index 000000000..c17423639 --- /dev/null +++ b/odoo_rental_sales/static/description/assets/icons/skype-fill.svg @@ -0,0 +1,10 @@ + + + + + + + + + + diff --git a/odoo_rental_sales/static/description/assets/icons/skype.png b/odoo_rental_sales/static/description/assets/icons/skype.png new file mode 100644 index 000000000..51b409fb3 Binary files /dev/null and b/odoo_rental_sales/static/description/assets/icons/skype.png differ diff --git a/odoo_rental_sales/static/description/assets/icons/skype.svg b/odoo_rental_sales/static/description/assets/icons/skype.svg new file mode 100644 index 000000000..df3dad39b --- /dev/null +++ b/odoo_rental_sales/static/description/assets/icons/skype.svg @@ -0,0 +1,3 @@ + + + diff --git a/odoo_rental_sales/static/description/assets/icons/star-1.svg b/odoo_rental_sales/static/description/assets/icons/star-1.svg new file mode 100644 index 000000000..7e55ab162 --- /dev/null +++ b/odoo_rental_sales/static/description/assets/icons/star-1.svg @@ -0,0 +1,53 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/odoo_rental_sales/static/description/assets/icons/star-2.svg b/odoo_rental_sales/static/description/assets/icons/star-2.svg new file mode 100644 index 000000000..5ae9f507a --- /dev/null +++ b/odoo_rental_sales/static/description/assets/icons/star-2.svg @@ -0,0 +1,9 @@ + + + + + + + + + diff --git a/odoo_rental_sales/static/description/assets/icons/support.png b/odoo_rental_sales/static/description/assets/icons/support.png new file mode 100644 index 000000000..4f18b8b82 Binary files /dev/null and b/odoo_rental_sales/static/description/assets/icons/support.png differ diff --git a/odoo_rental_sales/static/description/assets/icons/test-1 - Copy.png b/odoo_rental_sales/static/description/assets/icons/test-1 - Copy.png new file mode 100644 index 000000000..f6a902663 Binary files /dev/null and b/odoo_rental_sales/static/description/assets/icons/test-1 - Copy.png differ diff --git a/odoo_rental_sales/static/description/assets/icons/test-1.png b/odoo_rental_sales/static/description/assets/icons/test-1.png new file mode 100644 index 000000000..0908add2b Binary files /dev/null and b/odoo_rental_sales/static/description/assets/icons/test-1.png differ diff --git a/odoo_rental_sales/static/description/assets/icons/test-2.png b/odoo_rental_sales/static/description/assets/icons/test-2.png new file mode 100644 index 000000000..4671fe91e Binary files /dev/null and b/odoo_rental_sales/static/description/assets/icons/test-2.png differ diff --git a/odoo_rental_sales/static/description/assets/icons/trading-black.png b/odoo_rental_sales/static/description/assets/icons/trading-black.png new file mode 100644 index 000000000..9398ba2f1 Binary files /dev/null and b/odoo_rental_sales/static/description/assets/icons/trading-black.png differ diff --git a/odoo_rental_sales/static/description/assets/icons/training.png b/odoo_rental_sales/static/description/assets/icons/training.png new file mode 100644 index 000000000..884ca024d Binary files /dev/null and b/odoo_rental_sales/static/description/assets/icons/training.png differ diff --git a/odoo_rental_sales/static/description/assets/icons/translate.svg b/odoo_rental_sales/static/description/assets/icons/translate.svg new file mode 100644 index 000000000..af9c8a1aa --- /dev/null +++ b/odoo_rental_sales/static/description/assets/icons/translate.svg @@ -0,0 +1,10 @@ + + + + + + + + + + diff --git a/odoo_rental_sales/static/description/assets/icons/update.png b/odoo_rental_sales/static/description/assets/icons/update.png new file mode 100644 index 000000000..ecbc5a01a Binary files /dev/null and b/odoo_rental_sales/static/description/assets/icons/update.png differ diff --git a/odoo_rental_sales/static/description/assets/icons/user.png b/odoo_rental_sales/static/description/assets/icons/user.png new file mode 100644 index 000000000..6ffb23d9f Binary files /dev/null and b/odoo_rental_sales/static/description/assets/icons/user.png differ diff --git a/odoo_rental_sales/static/description/assets/icons/video.png b/odoo_rental_sales/static/description/assets/icons/video.png new file mode 100644 index 000000000..576705b17 Binary files /dev/null and b/odoo_rental_sales/static/description/assets/icons/video.png differ diff --git a/odoo_rental_sales/static/description/assets/icons/whatsapp.png b/odoo_rental_sales/static/description/assets/icons/whatsapp.png new file mode 100644 index 000000000..d513a5356 Binary files /dev/null and b/odoo_rental_sales/static/description/assets/icons/whatsapp.png differ diff --git a/odoo_rental_sales/static/description/assets/icons/wrench-icon.svg b/odoo_rental_sales/static/description/assets/icons/wrench-icon.svg new file mode 100644 index 000000000..174b5a465 --- /dev/null +++ b/odoo_rental_sales/static/description/assets/icons/wrench-icon.svg @@ -0,0 +1,10 @@ + + + + + + + + + + diff --git a/odoo_rental_sales/static/description/assets/icons/wrench.png b/odoo_rental_sales/static/description/assets/icons/wrench.png new file mode 100644 index 000000000..6c04dea0f Binary files /dev/null and b/odoo_rental_sales/static/description/assets/icons/wrench.png differ diff --git a/odoo_rental_sales/static/description/assets/modules/3.jpg b/odoo_rental_sales/static/description/assets/modules/3.jpg new file mode 100644 index 000000000..717a00443 Binary files /dev/null and b/odoo_rental_sales/static/description/assets/modules/3.jpg differ diff --git a/odoo_rental_sales/static/description/assets/modules/4.png b/odoo_rental_sales/static/description/assets/modules/4.png new file mode 100644 index 000000000..00ebf54ad Binary files /dev/null and b/odoo_rental_sales/static/description/assets/modules/4.png differ diff --git a/odoo_rental_sales/static/description/assets/modules/5.jpg b/odoo_rental_sales/static/description/assets/modules/5.jpg new file mode 100644 index 000000000..7c67e2eec Binary files /dev/null and b/odoo_rental_sales/static/description/assets/modules/5.jpg differ diff --git a/odoo_rental_sales/static/description/assets/modules/6.gif b/odoo_rental_sales/static/description/assets/modules/6.gif new file mode 100644 index 000000000..a35ece8df Binary files /dev/null and b/odoo_rental_sales/static/description/assets/modules/6.gif differ diff --git a/odoo_rental_sales/static/description/assets/modules/s1.jpg b/odoo_rental_sales/static/description/assets/modules/s1.jpg new file mode 100644 index 000000000..cd5fffdd6 Binary files /dev/null and b/odoo_rental_sales/static/description/assets/modules/s1.jpg differ diff --git a/odoo_rental_sales/static/description/assets/modules/s2.jpg b/odoo_rental_sales/static/description/assets/modules/s2.jpg new file mode 100644 index 000000000..359fc3336 Binary files /dev/null and b/odoo_rental_sales/static/description/assets/modules/s2.jpg differ diff --git a/odoo_rental_sales/static/description/assets/modules/s3.png b/odoo_rental_sales/static/description/assets/modules/s3.png new file mode 100644 index 000000000..d8a026ab3 Binary files /dev/null and b/odoo_rental_sales/static/description/assets/modules/s3.png differ diff --git a/odoo_rental_sales/static/description/assets/screenshots/1.png b/odoo_rental_sales/static/description/assets/screenshots/1.png new file mode 100644 index 000000000..c057a4a5c Binary files /dev/null and b/odoo_rental_sales/static/description/assets/screenshots/1.png differ diff --git a/odoo_rental_sales/static/description/assets/screenshots/10.png b/odoo_rental_sales/static/description/assets/screenshots/10.png new file mode 100644 index 000000000..995908cb7 Binary files /dev/null and b/odoo_rental_sales/static/description/assets/screenshots/10.png differ diff --git a/odoo_rental_sales/static/description/assets/screenshots/2.png b/odoo_rental_sales/static/description/assets/screenshots/2.png new file mode 100644 index 000000000..e8db4e79a Binary files /dev/null and b/odoo_rental_sales/static/description/assets/screenshots/2.png differ diff --git a/odoo_rental_sales/static/description/assets/screenshots/3.png b/odoo_rental_sales/static/description/assets/screenshots/3.png new file mode 100644 index 000000000..3b75085b6 Binary files /dev/null and b/odoo_rental_sales/static/description/assets/screenshots/3.png differ diff --git a/odoo_rental_sales/static/description/assets/screenshots/4.png b/odoo_rental_sales/static/description/assets/screenshots/4.png new file mode 100644 index 000000000..802738c98 Binary files /dev/null and b/odoo_rental_sales/static/description/assets/screenshots/4.png differ diff --git a/odoo_rental_sales/static/description/assets/screenshots/5.png b/odoo_rental_sales/static/description/assets/screenshots/5.png new file mode 100644 index 000000000..eb9c2858d Binary files /dev/null and b/odoo_rental_sales/static/description/assets/screenshots/5.png differ diff --git a/odoo_rental_sales/static/description/assets/screenshots/6.png b/odoo_rental_sales/static/description/assets/screenshots/6.png new file mode 100644 index 000000000..4b3ebd20f Binary files /dev/null and b/odoo_rental_sales/static/description/assets/screenshots/6.png differ diff --git a/odoo_rental_sales/static/description/assets/screenshots/7.png b/odoo_rental_sales/static/description/assets/screenshots/7.png new file mode 100644 index 000000000..e1eec5369 Binary files /dev/null and b/odoo_rental_sales/static/description/assets/screenshots/7.png differ diff --git a/odoo_rental_sales/static/description/assets/screenshots/8.png b/odoo_rental_sales/static/description/assets/screenshots/8.png new file mode 100644 index 000000000..371799d78 Binary files /dev/null and b/odoo_rental_sales/static/description/assets/screenshots/8.png differ diff --git a/odoo_rental_sales/static/description/assets/screenshots/9.png b/odoo_rental_sales/static/description/assets/screenshots/9.png new file mode 100644 index 000000000..8b5e1e90c Binary files /dev/null and b/odoo_rental_sales/static/description/assets/screenshots/9.png differ diff --git a/odoo_rental_sales/static/description/assets/y18.jpg b/odoo_rental_sales/static/description/assets/y18.jpg new file mode 100644 index 000000000..eea1714f2 Binary files /dev/null and b/odoo_rental_sales/static/description/assets/y18.jpg differ diff --git a/odoo_rental_sales/static/description/banner.jpg b/odoo_rental_sales/static/description/banner.jpg new file mode 100644 index 000000000..3134ed2ee Binary files /dev/null and b/odoo_rental_sales/static/description/banner.jpg differ diff --git a/odoo_rental_sales/static/description/index.html b/odoo_rental_sales/static/description/index.html new file mode 100644 index 000000000..1a9a7eea8 --- /dev/null +++ b/odoo_rental_sales/static/description/index.html @@ -0,0 +1,1148 @@ + + + + + + Odoo Rental Sales + + + + + + + + + + +
+
+ + + +
+
+ Community +
+
+ Enterprise +
+ +
+
+ +
+
+
+
+

+ Helps to Manage the Rental Orders +

+

Odoo Rental Sales +

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

Key + Highlights

+
+
+
+
+ +
+
+ Community and Enterprise Support +
+

+ Available in Odoo 18.0 Community, Enterprise

+ + +
+
+
+
+
+ +
+
+ + Manage the Rental Contract and renew Contract. + +
+ +
+
+
+
+
+ +
+
+ Creating Rental Category, Rental Products, Unit of Measures. +
+ +
+
+
+
+
+ +
+
+ + User Can Manage The Rental Orders By Using This Module. +
+ +
+
+
+
+ +
+
+
+ Odoo Rental Sales +

+ Are you ready to make your business more + organized? +
Improve now! +

+ +
+
+ +
+
+
+ + + + +
+
+ +
+
+
+
+ acc_bg +
+ +
+
+
+
+

+ Add Rental Product + + +

+
+
+

+ In the Rental Sales menu, users have access to all existing Sale Orders + and can also create new Sale Orders directly from there.

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

+ +

+
+ +
+
+
+

+ On the Sale Order form there is a button labeled + 'Add Rental Product'. By clicking on that button we can add a + Rental Product on that sale order line and + confirm the sale order. +

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

+

+

+ Rental Contract. +

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

+

+

+ + Here we can see the complete details of the Rental Contract. + +

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

+

+

+ + From the Rental Order menu, we can see all Rental Orders. + +

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

+

+

+ + By selecting any Rental Order we can see complete details of that + Rental Order. + +

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

+ Rental Products. + +

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

+

+

+ + We can choose whether the product is available for Rental or not. Also, + able to add Product Agreement, Security Amount and Rental + Category for that product. + +

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

+

+

+ + From the Rental Category menu, we can create new Rental Product Categories. + +

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

+

+

+ + From the Rental Agreement menu, we can create new Rental Product Agreements. + +

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

+ Community Support

+
+
+
+
+
+
+
+ +
+

+ Login by using face recognition

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

+ Yes, any employee whose image is set in the employee profile + and is selected in the POS configuration settings can use + Face Recognition for login. +

+
+
+ +
+ +
+

+ If the system fails to recognize the employee's face, + login will not be allowed, and the employee may need to + retry after setting latest image in the Employee module. +

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

+ Latest Release 18.0.1.0.0 +

+ + 27th December, 2024 + +
+
+
+
+
+ Add +
+
+
+
    +
  • + Initial Commit +
  • + +
+
+
+
+
+
+
+
+
+
+ + + +
+

+ Related Products +

+ +
+ + +
+

+ Our Services

+ +
+ +
+
+ .... +
+
+ +
+ + +
+
+ + + + + + \ No newline at end of file diff --git a/odoo_rental_sales/views/odoo_rental_sales_menus.xml b/odoo_rental_sales/views/odoo_rental_sales_menus.xml new file mode 100755 index 000000000..a7e8549bd --- /dev/null +++ b/odoo_rental_sales/views/odoo_rental_sales_menus.xml @@ -0,0 +1,25 @@ + + + + + + + + + + diff --git a/odoo_rental_sales/views/product_product_views.xml b/odoo_rental_sales/views/product_product_views.xml new file mode 100755 index 000000000..3aafae45e --- /dev/null +++ b/odoo_rental_sales/views/product_product_views.xml @@ -0,0 +1,54 @@ + + + + + product.product.view.search.inherit.odoo.rental.sales + product.product + + + + + + + + + Rental Products + product.product + kanban,list,form + + + {"search_default_rental":1, "default_rental": True} + +

+

+
+
+ + + product.product.view.form.inherit.odoo.rental.sales + product.product + + + + + + + + + + + + + + + + + + + + + + +
diff --git a/odoo_rental_sales/views/rental_order_contract_views.xml b/odoo_rental_sales/views/rental_order_contract_views.xml new file mode 100755 index 000000000..e0a1842b4 --- /dev/null +++ b/odoo_rental_sales/views/rental_order_contract_views.xml @@ -0,0 +1,82 @@ + + + + + rental.order.contract.view.tree + rental.order.contract + + + + + + + + + + + + + + + + + + + rental.order.contract.view.form + rental.order.contract + +
+
+
+ +
+

+ +

+
+ + + + + + + + + + + + + + + + +
+ + +
+
+ + + Rental Contract + rental.order.contract + list,form + + + + +
diff --git a/odoo_rental_sales/views/rental_product_agreement_views.xml b/odoo_rental_sales/views/rental_product_agreement_views.xml new file mode 100755 index 000000000..24a89da6b --- /dev/null +++ b/odoo_rental_sales/views/rental_product_agreement_views.xml @@ -0,0 +1,42 @@ + + + + + rental.product.agreement.view.form + rental.product.agreement + +
+ + + + + + + + + + + +
+
+
+ + + Rental Product Agreement + rental.product.agreement + list,form + +

+ Create a new rental agreement +

+
+
+ + + +
diff --git a/odoo_rental_sales/views/rental_product_category_views.xml b/odoo_rental_sales/views/rental_product_category_views.xml new file mode 100755 index 000000000..66eaa245c --- /dev/null +++ b/odoo_rental_sales/views/rental_product_category_views.xml @@ -0,0 +1,40 @@ + + + + + rental.product.category.view.form + rental.product.category + +
+ +
+
+ + + + + + +
+
+
+
+ + + Rental Product Category + rental.product.category + list,form + +

+ Create a new rental product category +

+
+
+ + +
diff --git a/odoo_rental_sales/views/sale_order_views.xml b/odoo_rental_sales/views/sale_order_views.xml new file mode 100755 index 000000000..7107ca596 --- /dev/null +++ b/odoo_rental_sales/views/sale_order_views.xml @@ -0,0 +1,112 @@ + + + + + sale.order.view.form.inherit.odoo.rental.sales + sale.order + + + +