diff --git a/sale_recurring/README.rst b/sale_recurring/README.rst new file mode 100644 index 000000000..a28fd1b36 --- /dev/null +++ b/sale_recurring/README.rst @@ -0,0 +1,47 @@ +.. 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 + +Sale Recurring +============== +* Create sale orders automatically based on recurring orders module for Odoo 17. + +Configuration +============= +- No additional configuration is required + +License +------- +General Public License, Version 3 (AGPL v3). +(https://www.gnu.org/licenses/agpl-3.0-standalone.html) + +Company +------- +* `Cybrosys Techno Solutions `__ + +Credits +------- +* Developer: (V17) Mufeeda Shirin + (V16) Sruthi MK + Contact : odoo@cybrosys.com + +Contacts +-------- +* Mail Contact : odoo@cybrosys.com + +Bug Tracker +----------- +Bugs are tracked on GitHub Issues. In case of trouble, please check there if your issue has already been reported. + +Maintainer +========== +.. image:: https://cybrosys.com/images/logo.png + :target: https://cybrosys.com + +This module is maintained by Cybrosys Technologies. + +For support and more information, please visit `Our Website `__ + +Further information +=================== +HTML Description: ``__ diff --git a/sale_recurring/__init__.py b/sale_recurring/__init__.py new file mode 100644 index 000000000..2ad5188e6 --- /dev/null +++ b/sale_recurring/__init__.py @@ -0,0 +1,22 @@ +# -*- coding: utf-8 -*- +############################################################################### +# +# Cybrosys Technologies Pvt. Ltd. +# +# Copyright (C) 2024-TODAY Cybrosys Technologies() +# Author: Cybrosys Techno Solutions (odoo@cybrosys.com) +# +# 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/sale_recurring/__manifest__.py b/sale_recurring/__manifest__.py new file mode 100644 index 000000000..73f26a8cf --- /dev/null +++ b/sale_recurring/__manifest__.py @@ -0,0 +1,46 @@ +# -*- coding: utf-8 -*- +############################################################################### +# +# Cybrosys Technologies Pvt. Ltd. +# +# Copyright (C) 2024-TODAY Cybrosys Technologies() +# Author: Cybrosys Techno Solutions (odoo@cybrosys.com) +# +# 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': 'Sale Recurring', + 'version': '17.0.1.0.0', + 'category': 'Sales', + 'summary': 'Automatic sale order creation based on recurring orders', + 'description': 'This module is helps to create sale orders automatically ' + 'based on the recurring orders.', + 'author': 'Cybrosys Techno solutions', + 'company': 'Cybrosys Techno Solutions', + 'maintainer': 'Cybrosys Techno Solutions', + 'website': 'https://www.cybrosys.com', + 'depends': ['account', 'sale_management'], + 'data': [ + 'data/ir_sequence_data.xml', + 'data/ir_cron_data.xml', + 'security/ir.model.access.csv', + 'views/sale_recurring_views.xml', + 'views/sale_order_views.xml' + ], + 'images': ['static/description/banner.jpg'], + 'license': 'AGPL-3', + 'installable': True, + 'application': False, + 'auto_install': False, +} diff --git a/sale_recurring/data/ir_cron_data.xml b/sale_recurring/data/ir_cron_data.xml new file mode 100644 index 000000000..70fbf94e6 --- /dev/null +++ b/sale_recurring/data/ir_cron_data.xml @@ -0,0 +1,20 @@ + + + + + + Sale Recurring + + code + model.cron_sale_order_creation() + + 1 + days + -1 + + + + + diff --git a/sale_recurring/data/ir_sequence_data.xml b/sale_recurring/data/ir_sequence_data.xml new file mode 100644 index 000000000..4a2e5a0a5 --- /dev/null +++ b/sale_recurring/data/ir_sequence_data.xml @@ -0,0 +1,12 @@ + + + + + + Sequence Order + sequence.order + SR + 3 + + + diff --git a/sale_recurring/doc/RELEASE_NOTES.md b/sale_recurring/doc/RELEASE_NOTES.md new file mode 100644 index 000000000..587161269 --- /dev/null +++ b/sale_recurring/doc/RELEASE_NOTES.md @@ -0,0 +1,7 @@ +## Module + +#### 11.01.2024 +#### Version 17.0.1.0.0 +#### ADD + +- Initial Commit for Sale Recurring diff --git a/sale_recurring/models/__init__.py b/sale_recurring/models/__init__.py new file mode 100644 index 000000000..db4c42a1d --- /dev/null +++ b/sale_recurring/models/__init__.py @@ -0,0 +1,24 @@ +# -*- coding: utf-8 -*- +############################################################################### +# +# Cybrosys Technologies Pvt. Ltd. +# +# Copyright (C) 2024-TODAY Cybrosys Technologies() +# Author: Cybrosys Techno Solutions (odoo@cybrosys.com) +# +# 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 sale_order +from . import sale_recurring +from . import sale_recurring_line diff --git a/sale_recurring/models/sale_order.py b/sale_recurring/models/sale_order.py new file mode 100644 index 000000000..d2cd4ce26 --- /dev/null +++ b/sale_recurring/models/sale_order.py @@ -0,0 +1,31 @@ +# -*- coding: utf-8 -*- +############################################################################### +# +# Cybrosys Technologies Pvt. Ltd. +# +# Copyright (C) 2024-TODAY Cybrosys Technologies() +# Author: Cybrosys Techno Solutions (odoo@cybrosys.com) +# +# 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): + """Inheriting SaleOrder to add a new field for recurring orders""" + _inherit = 'sale.order' + + recurring_order_id = fields.Many2one('sale.recurring', + string='Recurring Order', + help='Sale recurring order details') diff --git a/sale_recurring/models/sale_recurring.py b/sale_recurring/models/sale_recurring.py new file mode 100644 index 000000000..7ccdb4530 --- /dev/null +++ b/sale_recurring/models/sale_recurring.py @@ -0,0 +1,159 @@ +# -*- coding: utf-8 -*- +############################################################################### +# +# Cybrosys Technologies Pvt. Ltd. +# +# Copyright (C) 2024-TODAY Cybrosys Technologies() +# Author: Cybrosys Techno Solutions (odoo@cybrosys.com) +# +# 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 datetime import timedelta +from odoo import api, fields, models + + +class SaleRecurring(models.Model): + """Helps to create a recurring sale order""" + _name = 'sale.recurring' + _description = 'Sale Order Recurring' + _inherit = ['mail.thread', 'mail.activity.mixin'] + + name = fields.Char(string="Name", readonly=True, copy=False, default='New', + help="Sequence of recurring order") + title = fields.Char(string='Title', help="Name of the order") + partner_id = fields.Many2one('res.partner', string='Customer', + required=True, + help="Customer name") + start_date = fields.Date(string='Start Date', required=True, + help=" Start the sale order creation based on the" + " start date") + stop_after = fields.Integer(string='Stop After', + help='Total days to end the sale order' + ' creation') + end_date = fields.Date(string='End Date', readonly=True, + help='Stop the sale order creation based on ' + 'the end date', tracking=True) + state = fields.Selection(selection=[('running', 'Running'), + ('expired', 'Expired'), + ('cancelled', 'Cancelled')], + string='Status', copy=False, default='running', + help='State of recurring order', tracking=True) + total_sale_order = fields.Integer(string="Total SO", + compute='_compute_total_sale_order', + help='Count of total sale orders') + total_sale_quotation = fields.Integer( + string="Total RFQ", + compute='_compute_total_sale_quotation', + help='Count of total quotations') + active = fields.Boolean(default=True, string='Active', + help='If unchecked, it will allow you to hide the' + ' recurring order without removing it.', + tracking=True) + order_line_ids = fields.One2many('sale.recurring.line', 'order_id', + string="Order lines", + help='To store recurring order datas') + + @api.model + def create(self, vals): + """Sequence creation of recurring order.""" + vals['name'] = self.env['ir.sequence'].next_by_code('sequence.order') + return super(SaleRecurring, self).create(vals) + + @api.onchange('stop_after', 'start_date') + def _onchange_start_date(self): + """Update end date based on the start_date and stop_after""" + self.end_date = 0 + if self.stop_after > 0: + self.end_date = self.start_date + timedelta(days=self.stop_after) + + def action_create_sale_order(self): + """Create sale order from the created sale recurring""" + line_vals = [fields.Command.create({'product_id': rec.product_id.id, + 'product_uom_qty': rec.product_uom_qty, + 'price_unit': rec.price_unit, + 'name': rec.name}) for rec in + self.order_line_ids] + if line_vals: + self.env['sale.order'].sudo().create({ + 'partner_id': self.partner_id.id, + 'recurring_order_id': self.id, + 'order_line': line_vals + }) + + def action_cancel_recurring_order(self): + """Cancel recurring orders if not necessary""" + self.state = 'cancelled' + + def action_renew(self): + """Renew the recurring order if they are cancelled.""" + self.state = 'running' + + def cron_sale_order_creation(self): + """Create sale orders automatically while checking the conditions + of start date and end date""" + recurring_data = self.env['sale.recurring'].search([]) + for rec in recurring_data: + if rec.end_date and rec.end_date < fields.Date.today(): + rec.state = 'expired' + if rec.state == 'running': + if rec.end_date and rec.start_date <= fields.Date.today() <= rec.end_date: + rec.action_create_sale_order() + elif rec.start_date <= fields.Date.today(): + rec.action_create_sale_order() + + def action_get_sale_orders(self): + """Get total sale orders in sale recurring smart button""" + return { + 'type': 'ir.actions.act_window', + 'name': 'reservation', + 'view_mode': 'tree,form', + 'res_model': 'sale.order', + 'domain': [('recurring_order_id', '=', self.id), + ('state', '=', 'sale')], + } + + def action_get_sale_quotations(self): + """Get total sale quotations in sale recurring smart button""" + return { + 'type': 'ir.actions.act_window', + 'name': 'reservation', + 'view_mode': 'tree,form', + 'res_model': 'sale.order', + 'domain': [('recurring_order_id', '=', self.id), + ('state', 'in', ['draft', 'sent'])], + } + + def _compute_total_sale_order(self): + """Compute total number of sale orders""" + for record in self: + record.total_sale_order = self.env[ + 'sale.order'].search_count( + [('recurring_order_id', '=', record.id), + ('state', '=', 'sale')]) + + def _compute_total_sale_quotation(self): + """Compute total number of quotations.""" + for record in self: + record.total_sale_quotation = self.env[ + 'sale.order'].search_count( + [('recurring_order_id', '=', record.id), + ('state', 'in', ['draft', 'sent'])]) + + def action_archive_orders(self): + """Archive recurring orders""" + self.active = False + + def action_unarchive_orders(self): + """Un archive recurring orders""" + self.active = True diff --git a/sale_recurring/models/sale_recurring_line.py b/sale_recurring/models/sale_recurring_line.py new file mode 100644 index 000000000..30df427e8 --- /dev/null +++ b/sale_recurring/models/sale_recurring_line.py @@ -0,0 +1,42 @@ +# -*- coding: utf-8 -*- +############################################################################### +# +# Cybrosys Technologies Pvt. Ltd. +# +# Copyright (C) 2024-TODAY Cybrosys Technologies() +# Author: Cybrosys Techno Solutions (odoo@cybrosys.com) +# +# 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 SaleRecurringLine(models.Model): + """SaleRecurringLine class represents a recurring order line""" + _name = 'sale.recurring.line' + _description = 'Recurring Line' + + product_id = fields.Many2one('product.product', string='Product', + required=True, + help='Select a product for which the sale' + ' recurring will be used') + name = fields.Char(string='Description', related='product_id.name', + help='Name of the product') + price_unit = fields.Float(string='Price', + related='product_id.list_price', + help='Product price') + product_uom_qty = fields.Float(string='Quantity', default=1, + help='Total number of quantity') + order_id = fields.Many2one('sale.recurring', string="Order", + help='Order details') diff --git a/sale_recurring/security/ir.model.access.csv b/sale_recurring/security/ir.model.access.csv new file mode 100644 index 000000000..061de52f6 --- /dev/null +++ b/sale_recurring/security/ir.model.access.csv @@ -0,0 +1,3 @@ +id,name,model_id:id,group_id:id,perm_read,perm_write,perm_create,perm_unlink +access_sale_recurring_user,access.sale.recurring.user,model_sale_recurring,base.group_user,1,1,1,1 +access_sale_recurring_line_user,access.sale.recurring.line.user,model_sale_recurring_line,base.group_user,1,1,1,1 diff --git a/sale_recurring/static/description/assets/icons/check.png b/sale_recurring/static/description/assets/icons/check.png new file mode 100644 index 000000000..c8e85f51d Binary files /dev/null and b/sale_recurring/static/description/assets/icons/check.png differ diff --git a/sale_recurring/static/description/assets/icons/chevron.png b/sale_recurring/static/description/assets/icons/chevron.png new file mode 100644 index 000000000..2089293d6 Binary files /dev/null and b/sale_recurring/static/description/assets/icons/chevron.png differ diff --git a/sale_recurring/static/description/assets/icons/cogs.png b/sale_recurring/static/description/assets/icons/cogs.png new file mode 100644 index 000000000..95d0bad62 Binary files /dev/null and b/sale_recurring/static/description/assets/icons/cogs.png differ diff --git a/sale_recurring/static/description/assets/icons/consultation.png b/sale_recurring/static/description/assets/icons/consultation.png new file mode 100644 index 000000000..8319d4baa Binary files /dev/null and b/sale_recurring/static/description/assets/icons/consultation.png differ diff --git a/sale_recurring/static/description/assets/icons/ecom-black.png b/sale_recurring/static/description/assets/icons/ecom-black.png new file mode 100644 index 000000000..a9385ff13 Binary files /dev/null and b/sale_recurring/static/description/assets/icons/ecom-black.png differ diff --git a/sale_recurring/static/description/assets/icons/education-black.png b/sale_recurring/static/description/assets/icons/education-black.png new file mode 100644 index 000000000..3eb09b27b Binary files /dev/null and b/sale_recurring/static/description/assets/icons/education-black.png differ diff --git a/sale_recurring/static/description/assets/icons/hotel-black.png b/sale_recurring/static/description/assets/icons/hotel-black.png new file mode 100644 index 000000000..130f613be Binary files /dev/null and b/sale_recurring/static/description/assets/icons/hotel-black.png differ diff --git a/sale_recurring/static/description/assets/icons/license.png b/sale_recurring/static/description/assets/icons/license.png new file mode 100644 index 000000000..a5869797e Binary files /dev/null and b/sale_recurring/static/description/assets/icons/license.png differ diff --git a/sale_recurring/static/description/assets/icons/lifebuoy.png b/sale_recurring/static/description/assets/icons/lifebuoy.png new file mode 100644 index 000000000..658d56ccc Binary files /dev/null and b/sale_recurring/static/description/assets/icons/lifebuoy.png differ diff --git a/sale_recurring/static/description/assets/icons/manufacturing-black.png b/sale_recurring/static/description/assets/icons/manufacturing-black.png new file mode 100644 index 000000000..697eb0e9f Binary files /dev/null and b/sale_recurring/static/description/assets/icons/manufacturing-black.png differ diff --git a/sale_recurring/static/description/assets/icons/pos-black.png b/sale_recurring/static/description/assets/icons/pos-black.png new file mode 100644 index 000000000..97c0f90c1 Binary files /dev/null and b/sale_recurring/static/description/assets/icons/pos-black.png differ diff --git a/sale_recurring/static/description/assets/icons/puzzle.png b/sale_recurring/static/description/assets/icons/puzzle.png new file mode 100644 index 000000000..65cf854e7 Binary files /dev/null and b/sale_recurring/static/description/assets/icons/puzzle.png differ diff --git a/sale_recurring/static/description/assets/icons/restaurant-black.png b/sale_recurring/static/description/assets/icons/restaurant-black.png new file mode 100644 index 000000000..4a35eb939 Binary files /dev/null and b/sale_recurring/static/description/assets/icons/restaurant-black.png differ diff --git a/sale_recurring/static/description/assets/icons/service-black.png b/sale_recurring/static/description/assets/icons/service-black.png new file mode 100644 index 000000000..301ab51cb Binary files /dev/null and b/sale_recurring/static/description/assets/icons/service-black.png differ diff --git a/sale_recurring/static/description/assets/icons/trading-black.png b/sale_recurring/static/description/assets/icons/trading-black.png new file mode 100644 index 000000000..9398ba2f1 Binary files /dev/null and b/sale_recurring/static/description/assets/icons/trading-black.png differ diff --git a/sale_recurring/static/description/assets/icons/training.png b/sale_recurring/static/description/assets/icons/training.png new file mode 100644 index 000000000..884ca024d Binary files /dev/null and b/sale_recurring/static/description/assets/icons/training.png differ diff --git a/sale_recurring/static/description/assets/icons/update.png b/sale_recurring/static/description/assets/icons/update.png new file mode 100644 index 000000000..ecbc5a01a Binary files /dev/null and b/sale_recurring/static/description/assets/icons/update.png differ diff --git a/sale_recurring/static/description/assets/icons/user.png b/sale_recurring/static/description/assets/icons/user.png new file mode 100644 index 000000000..6ffb23d9f Binary files /dev/null and b/sale_recurring/static/description/assets/icons/user.png differ diff --git a/sale_recurring/static/description/assets/icons/wrench.png b/sale_recurring/static/description/assets/icons/wrench.png new file mode 100644 index 000000000..6c04dea0f Binary files /dev/null and b/sale_recurring/static/description/assets/icons/wrench.png differ diff --git a/sale_recurring/static/description/assets/misc/Cybrosys R.png b/sale_recurring/static/description/assets/misc/Cybrosys R.png new file mode 100644 index 000000000..da4058087 Binary files /dev/null and b/sale_recurring/static/description/assets/misc/Cybrosys R.png differ diff --git a/sale_recurring/static/description/assets/misc/categories.png b/sale_recurring/static/description/assets/misc/categories.png new file mode 100644 index 000000000..bedf1e0b1 Binary files /dev/null and b/sale_recurring/static/description/assets/misc/categories.png differ diff --git a/sale_recurring/static/description/assets/misc/check-box.png b/sale_recurring/static/description/assets/misc/check-box.png new file mode 100644 index 000000000..42caf24b9 Binary files /dev/null and b/sale_recurring/static/description/assets/misc/check-box.png differ diff --git a/sale_recurring/static/description/assets/misc/compass.png b/sale_recurring/static/description/assets/misc/compass.png new file mode 100644 index 000000000..d5fed8faa Binary files /dev/null and b/sale_recurring/static/description/assets/misc/compass.png differ diff --git a/sale_recurring/static/description/assets/misc/corporate.png b/sale_recurring/static/description/assets/misc/corporate.png new file mode 100644 index 000000000..2eb13edbf Binary files /dev/null and b/sale_recurring/static/description/assets/misc/corporate.png differ diff --git a/sale_recurring/static/description/assets/misc/customer-support.png b/sale_recurring/static/description/assets/misc/customer-support.png new file mode 100644 index 000000000..79efc72ed Binary files /dev/null and b/sale_recurring/static/description/assets/misc/customer-support.png differ diff --git a/sale_recurring/static/description/assets/misc/cybrosys-logo.png b/sale_recurring/static/description/assets/misc/cybrosys-logo.png new file mode 100644 index 000000000..cc3cc0ccf Binary files /dev/null and b/sale_recurring/static/description/assets/misc/cybrosys-logo.png differ diff --git a/sale_recurring/static/description/assets/misc/features.png b/sale_recurring/static/description/assets/misc/features.png new file mode 100644 index 000000000..b41769f77 Binary files /dev/null and b/sale_recurring/static/description/assets/misc/features.png differ diff --git a/sale_recurring/static/description/assets/misc/logo.png b/sale_recurring/static/description/assets/misc/logo.png new file mode 100644 index 000000000..478462d3e Binary files /dev/null and b/sale_recurring/static/description/assets/misc/logo.png differ diff --git a/sale_recurring/static/description/assets/misc/pictures.png b/sale_recurring/static/description/assets/misc/pictures.png new file mode 100644 index 000000000..56d255fe9 Binary files /dev/null and b/sale_recurring/static/description/assets/misc/pictures.png differ diff --git a/sale_recurring/static/description/assets/misc/pie-chart.png b/sale_recurring/static/description/assets/misc/pie-chart.png new file mode 100644 index 000000000..426e05244 Binary files /dev/null and b/sale_recurring/static/description/assets/misc/pie-chart.png differ diff --git a/sale_recurring/static/description/assets/misc/right-arrow.png b/sale_recurring/static/description/assets/misc/right-arrow.png new file mode 100644 index 000000000..730984a06 Binary files /dev/null and b/sale_recurring/static/description/assets/misc/right-arrow.png differ diff --git a/sale_recurring/static/description/assets/misc/star.png b/sale_recurring/static/description/assets/misc/star.png new file mode 100644 index 000000000..2eb9ab29f Binary files /dev/null and b/sale_recurring/static/description/assets/misc/star.png differ diff --git a/sale_recurring/static/description/assets/misc/support.png b/sale_recurring/static/description/assets/misc/support.png new file mode 100644 index 000000000..4f18b8b82 Binary files /dev/null and b/sale_recurring/static/description/assets/misc/support.png differ diff --git a/sale_recurring/static/description/assets/misc/whatsapp.png b/sale_recurring/static/description/assets/misc/whatsapp.png new file mode 100644 index 000000000..d513a5356 Binary files /dev/null and b/sale_recurring/static/description/assets/misc/whatsapp.png differ diff --git a/sale_recurring/static/description/assets/modules/1.png b/sale_recurring/static/description/assets/modules/1.png new file mode 100644 index 000000000..612be4b77 Binary files /dev/null and b/sale_recurring/static/description/assets/modules/1.png differ diff --git a/sale_recurring/static/description/assets/modules/2.png b/sale_recurring/static/description/assets/modules/2.png new file mode 100644 index 000000000..0dea4f332 Binary files /dev/null and b/sale_recurring/static/description/assets/modules/2.png differ diff --git a/sale_recurring/static/description/assets/modules/3.jpg b/sale_recurring/static/description/assets/modules/3.jpg new file mode 100644 index 000000000..5ae24843e Binary files /dev/null and b/sale_recurring/static/description/assets/modules/3.jpg differ diff --git a/sale_recurring/static/description/assets/modules/4.jpg b/sale_recurring/static/description/assets/modules/4.jpg new file mode 100644 index 000000000..115e1eee1 Binary files /dev/null and b/sale_recurring/static/description/assets/modules/4.jpg differ diff --git a/sale_recurring/static/description/assets/modules/5.png b/sale_recurring/static/description/assets/modules/5.png new file mode 100644 index 000000000..cb17cf612 Binary files /dev/null and b/sale_recurring/static/description/assets/modules/5.png differ diff --git a/sale_recurring/static/description/assets/modules/6.png b/sale_recurring/static/description/assets/modules/6.png new file mode 100644 index 000000000..a0ac2d840 Binary files /dev/null and b/sale_recurring/static/description/assets/modules/6.png differ diff --git a/sale_recurring/static/description/assets/screenshots/hero.gif b/sale_recurring/static/description/assets/screenshots/hero.gif new file mode 100644 index 000000000..ae1388263 Binary files /dev/null and b/sale_recurring/static/description/assets/screenshots/hero.gif differ diff --git a/sale_recurring/static/description/assets/screenshots/sale1.png b/sale_recurring/static/description/assets/screenshots/sale1.png new file mode 100644 index 000000000..792687b3f Binary files /dev/null and b/sale_recurring/static/description/assets/screenshots/sale1.png differ diff --git a/sale_recurring/static/description/assets/screenshots/sale10.png b/sale_recurring/static/description/assets/screenshots/sale10.png new file mode 100644 index 000000000..f0279c946 Binary files /dev/null and b/sale_recurring/static/description/assets/screenshots/sale10.png differ diff --git a/sale_recurring/static/description/assets/screenshots/sale11.png b/sale_recurring/static/description/assets/screenshots/sale11.png new file mode 100644 index 000000000..6206bf261 Binary files /dev/null and b/sale_recurring/static/description/assets/screenshots/sale11.png differ diff --git a/sale_recurring/static/description/assets/screenshots/sale12.png b/sale_recurring/static/description/assets/screenshots/sale12.png new file mode 100644 index 000000000..507e592b4 Binary files /dev/null and b/sale_recurring/static/description/assets/screenshots/sale12.png differ diff --git a/sale_recurring/static/description/assets/screenshots/sale2.png b/sale_recurring/static/description/assets/screenshots/sale2.png new file mode 100644 index 000000000..6a70cca13 Binary files /dev/null and b/sale_recurring/static/description/assets/screenshots/sale2.png differ diff --git a/sale_recurring/static/description/assets/screenshots/sale3.png b/sale_recurring/static/description/assets/screenshots/sale3.png new file mode 100644 index 000000000..bb0ed1a50 Binary files /dev/null and b/sale_recurring/static/description/assets/screenshots/sale3.png differ diff --git a/sale_recurring/static/description/assets/screenshots/sale4.png b/sale_recurring/static/description/assets/screenshots/sale4.png new file mode 100644 index 000000000..a2358a397 Binary files /dev/null and b/sale_recurring/static/description/assets/screenshots/sale4.png differ diff --git a/sale_recurring/static/description/assets/screenshots/sale5.png b/sale_recurring/static/description/assets/screenshots/sale5.png new file mode 100644 index 000000000..0d9cd5f3f Binary files /dev/null and b/sale_recurring/static/description/assets/screenshots/sale5.png differ diff --git a/sale_recurring/static/description/assets/screenshots/sale6.png b/sale_recurring/static/description/assets/screenshots/sale6.png new file mode 100644 index 000000000..21cfec009 Binary files /dev/null and b/sale_recurring/static/description/assets/screenshots/sale6.png differ diff --git a/sale_recurring/static/description/assets/screenshots/sale7.png b/sale_recurring/static/description/assets/screenshots/sale7.png new file mode 100644 index 000000000..d5c30b937 Binary files /dev/null and b/sale_recurring/static/description/assets/screenshots/sale7.png differ diff --git a/sale_recurring/static/description/assets/screenshots/sale8.png b/sale_recurring/static/description/assets/screenshots/sale8.png new file mode 100644 index 000000000..6654b3863 Binary files /dev/null and b/sale_recurring/static/description/assets/screenshots/sale8.png differ diff --git a/sale_recurring/static/description/assets/screenshots/sale9.png b/sale_recurring/static/description/assets/screenshots/sale9.png new file mode 100644 index 000000000..7c18bd2c2 Binary files /dev/null and b/sale_recurring/static/description/assets/screenshots/sale9.png differ diff --git a/sale_recurring/static/description/banner.jpg b/sale_recurring/static/description/banner.jpg new file mode 100644 index 000000000..e19e7ab11 Binary files /dev/null and b/sale_recurring/static/description/banner.jpg differ diff --git a/sale_recurring/static/description/icon.png b/sale_recurring/static/description/icon.png new file mode 100644 index 000000000..4adc83f28 Binary files /dev/null and b/sale_recurring/static/description/icon.png differ diff --git a/sale_recurring/static/description/index.html b/sale_recurring/static/description/index.html new file mode 100644 index 000000000..61066efcb --- /dev/null +++ b/sale_recurring/static/description/index.html @@ -0,0 +1,853 @@ + + + + + + + Odoo App 3 Index + + + + + + + + +
+
+
+
+
+ +
+
+
+ Community +
+
+ Enterprise +
+
+ Odoo.sh +
+
+
+
+
+
+

+ Sale Recurring

+

+ Create Sale Orders Automatically Based on the Recurring Orders +

+
+ +
+
+
+
+
+

+ Key Highlights +

+
+
+
+
+
+ +
+
+

+ Create Recurring Orders manually

+
+
+
+
+
+
+ +
+
+

+ Create Sale Orders based on the Recurring Orders

+
+
+
+
+
+
+ +
+
+

+ Expire the Recurring Orders automatically.

+
+
+
+
+
+
+ +
+
+

+ Filter and Group by the Recurring Orders

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

+ Go to Sales module => select Orders => Open Recurring Orders.

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

+ Form view of Recurring Orders.

+

Only we can create the Sale Order if the state is in Running and Un-archive, + Also we can see the total Sale Orders and Quotations in smart button

+
+
+
+
+
+
+ +
+
+

+ Easily we can Cancel or Archive Recurring Orders.

+
+
+
+
+
+
+ +
+
+

+ Create Quotations manually

+
+
+
+
+
+
+ +
+
+

+ Created Quotation.

+

+ Can see the recurring order from the created quotation. +

+
+
+
+
+
+
+ +
+
+

+ Create Sale Orders automatically.

+

By using this cron function which will create Sale Orders automatically.

+
+
+
+
+
+
+ +
+
+

+ Which will create the Quotations based on the start date automatically.

+
+
+
+
+
+
+ +
+
+

+ If we confirm the created Sale Order we can view it on the smart button of recurring + order.

+
+
+
+
+
+
+ +
+
+

+ If the End Date is less than the current date which will automatically moved to + Expired state.

+
+
+
+
+
+
+ +
+
+

+ If the 'Stop After' is not specified, it will create the Sale orders + continuously.

+
+
+
+
+
+
+ +
+
+

+ Filter option in Recurring Orders.

+
+
+
+
+
+
+ +
+
+

+ Group By option in Recurring Orders.

+
+
+
+
+
+
+
    +
  • + EasilyCreate Recurring Orders manually. +
  • +
  • + Create Sale Orders automatically based on the Recurring + Orders. +
  • +
  • + Expire the Recurring Orders automatically. +
  • +
+
+
+
+
+
+
Version + 17.0.1.0.0|Released on:11 January 2024 +
+

+ Initial Commit for Sale Recurring.

+
+
+
+
+
+
+
+

+ Related Products

+
+
+ +
+
+

+ Our Services

+ +
+
+
+
+
+
+
+
+ service-icon +
+
+

Odoo + Customization

+
+
+
+
+
+
+ service-icon +
+
+

Odoo + Implementation

+
+
+
+
+
+
+ service-icon +
+
+

Odoo + Support

+
+
+
+
+
+
+ service-icon +
+
+

Hire + Odoo Developer

+
+
+
+
+ +
+
+ service-icon +
+
+

Odoo + Integration

+
+
+
+
+
+
+ service-icon +
+
+

Odoo + Migration

+
+
+
+
+
+
+ service-icon +
+
+

Odoo + Consultancy

+
+
+
+
+
+
+ service-icon +
+
+

Odoo + Implementation

+
+
+
+
+
+
+ service-icon +
+
+

Odoo + Licensing Consultancy

+
+
+
+
+
+
+

+ Our Industries

+ +
+
+
+
+
+
+ +

Trading

+

Easily procure and sell your products

+
+
+
+
+ +

POS

+

Easy configuration and convivial experience

+
+
+
+
+ +

+ Education

+

A platform for educational management

+
+
+
+
+ +

+ Manufacturing

+

Plan, track and schedule your operations

+
+
+
+
+ +

E-commerce & + Website

+

Mobile friendly, awe-inspiring product pages

+
+
+
+
+ +

Service + Management

+

Keep track of services and invoice

+
+
+
+
+ +

+ Restaurant

+

Run your bar or restaurant methodically

+
+
+
+
+ +

Hotel + Management

+

An all-inclusive hotel management application

+
+
+
+
+
+
+

+ Support

+
+
+
+
+
+
+
+ +
+ Need + Help? +

Got + questions or need help? Get in touch.

+
odoo@cybrosys.com +
+
+
+
+
+
+
+
+ +
+ WhatsApp +

Say hi to + us on WhatsApp!

+
+91 + 99456767686 +
+
+
+
+
+
+
+
+
+ + + + + + diff --git a/sale_recurring/views/sale_order_views.xml b/sale_recurring/views/sale_order_views.xml new file mode 100644 index 000000000..5308325bc --- /dev/null +++ b/sale_recurring/views/sale_order_views.xml @@ -0,0 +1,14 @@ + + + + + sale.order.view.form.inherit.sale.recurring + sale.order + + + + + + + + diff --git a/sale_recurring/views/sale_recurring_views.xml b/sale_recurring/views/sale_recurring_views.xml new file mode 100644 index 000000000..24a277a17 --- /dev/null +++ b/sale_recurring/views/sale_recurring_views.xml @@ -0,0 +1,159 @@ + + + + + sale.recurring.view.tree + sale.recurring + + + + + + + + + + + + sale.recurring.view.form + sale.recurring + +
+
+
+ +
+ + + +
+

+ +

+ + + + + + + + + + + + + + + + + + + + + + + +
+
+ + +
+
+
+
+ + + sale.recurring.view.search + sale.recurring + + + + + + + + + + + + + + + + + + + + + Recurring Orders + sale.recurring + tree,form + +

+ Click to Create a New Record. +

+
+
+ + +