Browse Source

Jan 15 : [ADD] Initial Commit 'sale_recurring'

pull/313/head
RisvanaCybro 1 year ago
parent
commit
58d8aa8a2b
  1. 47
      sale_recurring/README.rst
  2. 22
      sale_recurring/__init__.py
  3. 46
      sale_recurring/__manifest__.py
  4. 20
      sale_recurring/data/ir_cron_data.xml
  5. 12
      sale_recurring/data/ir_sequence_data.xml
  6. 7
      sale_recurring/doc/RELEASE_NOTES.md
  7. 24
      sale_recurring/models/__init__.py
  8. 31
      sale_recurring/models/sale_order.py
  9. 159
      sale_recurring/models/sale_recurring.py
  10. 42
      sale_recurring/models/sale_recurring_line.py
  11. 3
      sale_recurring/security/ir.model.access.csv
  12. BIN
      sale_recurring/static/description/assets/icons/check.png
  13. BIN
      sale_recurring/static/description/assets/icons/chevron.png
  14. BIN
      sale_recurring/static/description/assets/icons/cogs.png
  15. BIN
      sale_recurring/static/description/assets/icons/consultation.png
  16. BIN
      sale_recurring/static/description/assets/icons/ecom-black.png
  17. BIN
      sale_recurring/static/description/assets/icons/education-black.png
  18. BIN
      sale_recurring/static/description/assets/icons/hotel-black.png
  19. BIN
      sale_recurring/static/description/assets/icons/license.png
  20. BIN
      sale_recurring/static/description/assets/icons/lifebuoy.png
  21. BIN
      sale_recurring/static/description/assets/icons/manufacturing-black.png
  22. BIN
      sale_recurring/static/description/assets/icons/pos-black.png
  23. BIN
      sale_recurring/static/description/assets/icons/puzzle.png
  24. BIN
      sale_recurring/static/description/assets/icons/restaurant-black.png
  25. BIN
      sale_recurring/static/description/assets/icons/service-black.png
  26. BIN
      sale_recurring/static/description/assets/icons/trading-black.png
  27. BIN
      sale_recurring/static/description/assets/icons/training.png
  28. BIN
      sale_recurring/static/description/assets/icons/update.png
  29. BIN
      sale_recurring/static/description/assets/icons/user.png
  30. BIN
      sale_recurring/static/description/assets/icons/wrench.png
  31. BIN
      sale_recurring/static/description/assets/misc/Cybrosys R.png
  32. BIN
      sale_recurring/static/description/assets/misc/categories.png
  33. BIN
      sale_recurring/static/description/assets/misc/check-box.png
  34. BIN
      sale_recurring/static/description/assets/misc/compass.png
  35. BIN
      sale_recurring/static/description/assets/misc/corporate.png
  36. BIN
      sale_recurring/static/description/assets/misc/customer-support.png
  37. BIN
      sale_recurring/static/description/assets/misc/cybrosys-logo.png
  38. BIN
      sale_recurring/static/description/assets/misc/features.png
  39. BIN
      sale_recurring/static/description/assets/misc/logo.png
  40. BIN
      sale_recurring/static/description/assets/misc/pictures.png
  41. BIN
      sale_recurring/static/description/assets/misc/pie-chart.png
  42. BIN
      sale_recurring/static/description/assets/misc/right-arrow.png
  43. BIN
      sale_recurring/static/description/assets/misc/star.png
  44. BIN
      sale_recurring/static/description/assets/misc/support.png
  45. BIN
      sale_recurring/static/description/assets/misc/whatsapp.png
  46. BIN
      sale_recurring/static/description/assets/modules/1.png
  47. BIN
      sale_recurring/static/description/assets/modules/2.png
  48. BIN
      sale_recurring/static/description/assets/modules/3.jpg
  49. BIN
      sale_recurring/static/description/assets/modules/4.jpg
  50. BIN
      sale_recurring/static/description/assets/modules/5.png
  51. BIN
      sale_recurring/static/description/assets/modules/6.png
  52. BIN
      sale_recurring/static/description/assets/screenshots/hero.gif
  53. BIN
      sale_recurring/static/description/assets/screenshots/sale1.png
  54. BIN
      sale_recurring/static/description/assets/screenshots/sale10.png
  55. BIN
      sale_recurring/static/description/assets/screenshots/sale11.png
  56. BIN
      sale_recurring/static/description/assets/screenshots/sale12.png
  57. BIN
      sale_recurring/static/description/assets/screenshots/sale2.png
  58. BIN
      sale_recurring/static/description/assets/screenshots/sale3.png
  59. BIN
      sale_recurring/static/description/assets/screenshots/sale4.png
  60. BIN
      sale_recurring/static/description/assets/screenshots/sale5.png
  61. BIN
      sale_recurring/static/description/assets/screenshots/sale6.png
  62. BIN
      sale_recurring/static/description/assets/screenshots/sale7.png
  63. BIN
      sale_recurring/static/description/assets/screenshots/sale8.png
  64. BIN
      sale_recurring/static/description/assets/screenshots/sale9.png
  65. BIN
      sale_recurring/static/description/banner.jpg
  66. BIN
      sale_recurring/static/description/icon.png
  67. 853
      sale_recurring/static/description/index.html
  68. 14
      sale_recurring/views/sale_order_views.xml
  69. 159
      sale_recurring/views/sale_recurring_views.xml

47
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 <https://cybrosys.com/>`__
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 <https://cybrosys.com/>`__
Further information
===================
HTML Description: `<static/description/index.html>`__

22
sale_recurring/__init__.py

@ -0,0 +1,22 @@
# -*- coding: utf-8 -*-
###############################################################################
#
# Cybrosys Technologies Pvt. Ltd.
#
# Copyright (C) 2024-TODAY Cybrosys Technologies(<https://www.cybrosys.com>)
# 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 <http://www.gnu.org/licenses/>.
#
###############################################################################
from . import models

46
sale_recurring/__manifest__.py

@ -0,0 +1,46 @@
# -*- coding: utf-8 -*-
###############################################################################
#
# Cybrosys Technologies Pvt. Ltd.
#
# Copyright (C) 2024-TODAY Cybrosys Technologies(<https://www.cybrosys.com>)
# 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 <http://www.gnu.org/licenses/>.
#
###############################################################################
{
'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,
}

20
sale_recurring/data/ir_cron_data.xml

@ -0,0 +1,20 @@
<?xml version="1.0" encoding="utf-8"?>
<odoo>
<data noupdate="1">
<!-- Cron job for Sale Recurring-->
<record forcecreate="True"
id="ir_cron_create_sale_order_scheduler_action"
model="ir.cron">
<field name="name">Sale Recurring</field>
<field name="model_id" ref="model_sale_recurring"/>
<field name="state">code</field>
<field name="code">model.cron_sale_order_creation()</field>
<field name="user_id" ref="base.user_root"/>
<field name="interval_number">1</field>
<field name="interval_type">days</field>
<field name="numbercall">-1</field>
<field eval="False" name="doall"/>
<field name="active" eval="True"/>
</record>
</data>
</odoo>

12
sale_recurring/data/ir_sequence_data.xml

@ -0,0 +1,12 @@
<?xml version="1.0" encoding="UTF-8" ?>
<odoo>
<data noupdate="1">
<!-- Sale recurring sequence creation template-->
<record id="sequence_order" model="ir.sequence">
<field name="name">Sequence Order</field>
<field name="code">sequence.order</field>
<field name="prefix">SR</field>
<field name="padding">3</field>
</record>
</data>
</odoo>

7
sale_recurring/doc/RELEASE_NOTES.md

@ -0,0 +1,7 @@
## Module <sale_recurring>
#### 11.01.2024
#### Version 17.0.1.0.0
#### ADD
- Initial Commit for Sale Recurring

24
sale_recurring/models/__init__.py

@ -0,0 +1,24 @@
# -*- coding: utf-8 -*-
###############################################################################
#
# Cybrosys Technologies Pvt. Ltd.
#
# Copyright (C) 2024-TODAY Cybrosys Technologies(<https://www.cybrosys.com>)
# 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 <http://www.gnu.org/licenses/>.
#
###############################################################################
from . import sale_order
from . import sale_recurring
from . import sale_recurring_line

31
sale_recurring/models/sale_order.py

@ -0,0 +1,31 @@
# -*- coding: utf-8 -*-
###############################################################################
#
# Cybrosys Technologies Pvt. Ltd.
#
# Copyright (C) 2024-TODAY Cybrosys Technologies(<https://www.cybrosys.com>)
# 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 <http://www.gnu.org/licenses/>.
#
###############################################################################
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')

159
sale_recurring/models/sale_recurring.py

@ -0,0 +1,159 @@
# -*- coding: utf-8 -*-
###############################################################################
#
# Cybrosys Technologies Pvt. Ltd.
#
# Copyright (C) 2024-TODAY Cybrosys Technologies(<https://www.cybrosys.com>)
# 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 <http://www.gnu.org/licenses/>.
#
###############################################################################
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

42
sale_recurring/models/sale_recurring_line.py

@ -0,0 +1,42 @@
# -*- coding: utf-8 -*-
###############################################################################
#
# Cybrosys Technologies Pvt. Ltd.
#
# Copyright (C) 2024-TODAY Cybrosys Technologies(<https://www.cybrosys.com>)
# 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 <http://www.gnu.org/licenses/>.
#
###############################################################################
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')

3
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
1 id name model_id:id group_id:id perm_read perm_write perm_create perm_unlink
2 access_sale_recurring_user access.sale.recurring.user model_sale_recurring base.group_user 1 1 1 1
3 access_sale_recurring_line_user access.sale.recurring.line.user model_sale_recurring_line base.group_user 1 1 1 1

BIN
sale_recurring/static/description/assets/icons/check.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.6 KiB

BIN
sale_recurring/static/description/assets/icons/chevron.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 310 B

BIN
sale_recurring/static/description/assets/icons/cogs.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 KiB

BIN
sale_recurring/static/description/assets/icons/consultation.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.4 KiB

BIN
sale_recurring/static/description/assets/icons/ecom-black.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 576 B

BIN
sale_recurring/static/description/assets/icons/education-black.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 733 B

BIN
sale_recurring/static/description/assets/icons/hotel-black.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 911 B

BIN
sale_recurring/static/description/assets/icons/license.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

BIN
sale_recurring/static/description/assets/icons/lifebuoy.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 KiB

BIN
sale_recurring/static/description/assets/icons/manufacturing-black.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 673 B

BIN
sale_recurring/static/description/assets/icons/pos-black.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 878 B

BIN
sale_recurring/static/description/assets/icons/puzzle.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 653 B

BIN
sale_recurring/static/description/assets/icons/restaurant-black.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 905 B

BIN
sale_recurring/static/description/assets/icons/service-black.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 839 B

BIN
sale_recurring/static/description/assets/icons/trading-black.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 427 B

BIN
sale_recurring/static/description/assets/icons/training.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 627 B

BIN
sale_recurring/static/description/assets/icons/update.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 KiB

BIN
sale_recurring/static/description/assets/icons/user.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 988 B

BIN
sale_recurring/static/description/assets/icons/wrench.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 KiB

BIN
sale_recurring/static/description/assets/misc/Cybrosys R.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 80 KiB

BIN
sale_recurring/static/description/assets/misc/categories.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.5 KiB

BIN
sale_recurring/static/description/assets/misc/check-box.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

BIN
sale_recurring/static/description/assets/misc/compass.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.9 KiB

BIN
sale_recurring/static/description/assets/misc/corporate.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

BIN
sale_recurring/static/description/assets/misc/customer-support.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.1 KiB

BIN
sale_recurring/static/description/assets/misc/cybrosys-logo.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.4 KiB

BIN
sale_recurring/static/description/assets/misc/features.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 589 B

BIN
sale_recurring/static/description/assets/misc/logo.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.4 KiB

BIN
sale_recurring/static/description/assets/misc/pictures.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.7 KiB

BIN
sale_recurring/static/description/assets/misc/pie-chart.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.3 KiB

BIN
sale_recurring/static/description/assets/misc/right-arrow.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 967 B

BIN
sale_recurring/static/description/assets/misc/star.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.6 KiB

BIN
sale_recurring/static/description/assets/misc/support.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.8 KiB

BIN
sale_recurring/static/description/assets/misc/whatsapp.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.0 KiB

BIN
sale_recurring/static/description/assets/modules/1.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 86 KiB

BIN
sale_recurring/static/description/assets/modules/2.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 49 KiB

BIN
sale_recurring/static/description/assets/modules/3.jpg

Binary file not shown.

After

Width:  |  Height:  |  Size: 82 KiB

BIN
sale_recurring/static/description/assets/modules/4.jpg

Binary file not shown.

After

Width:  |  Height:  |  Size: 90 KiB

BIN
sale_recurring/static/description/assets/modules/5.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 49 KiB

BIN
sale_recurring/static/description/assets/modules/6.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 46 KiB

BIN
sale_recurring/static/description/assets/screenshots/hero.gif

Binary file not shown.

After

Width:  |  Height:  |  Size: 324 KiB

BIN
sale_recurring/static/description/assets/screenshots/sale1.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 57 KiB

BIN
sale_recurring/static/description/assets/screenshots/sale10.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 84 KiB

BIN
sale_recurring/static/description/assets/screenshots/sale11.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 80 KiB

BIN
sale_recurring/static/description/assets/screenshots/sale12.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 80 KiB

BIN
sale_recurring/static/description/assets/screenshots/sale2.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 68 KiB

BIN
sale_recurring/static/description/assets/screenshots/sale3.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 90 KiB

BIN
sale_recurring/static/description/assets/screenshots/sale4.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 89 KiB

BIN
sale_recurring/static/description/assets/screenshots/sale5.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 137 KiB

BIN
sale_recurring/static/description/assets/screenshots/sale6.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 64 KiB

BIN
sale_recurring/static/description/assets/screenshots/sale7.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 91 KiB

BIN
sale_recurring/static/description/assets/screenshots/sale8.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 90 KiB

BIN
sale_recurring/static/description/assets/screenshots/sale9.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 87 KiB

BIN
sale_recurring/static/description/banner.jpg

Binary file not shown.

After

Width:  |  Height:  |  Size: 79 KiB

BIN
sale_recurring/static/description/icon.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 24 KiB

853
sale_recurring/static/description/index.html

@ -0,0 +1,853 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Odoo App 3 Index</title>
<!-- Bootstrap CSS -->
<link rel="stylesheet"
href="https://cdn.jsdelivr.net/npm/bootstrap@4.0.0/dist/css/bootstrap.min.css"
integrity="sha384-Gn5384xqQ1aoWXA+058RXPxPg6fy4IWvTNh0E263XmFcJlSAwiGgFAW/dAiS6JXm"
crossorigin="anonymous">
<link rel="stylesheet"
href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.2.1/css/all.min.css">
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap"
rel="stylesheet">
</head>
<body>
<section>
<div class="container"
style="font-family: 'Inter', sans-serif !important;background-color: #fff !important;">
<div class="row">
<div class="col-sm-12 col-md-12 col-lg-12 d-flex justify-content-between flex-wrap align-items-sm-center"
style="border-bottom:1px solid rgba(0, 0, 0, 0.22)">
<div class="my-3">
<img src="assets/misc/Cybrosys R.png"
style="width:auto !important; height:40px !important">
</div>
<div class="my-3 d-flex align-items-center">
<div class="text-center"
style="background-color:#017E84 !important;font-size: 0.8rem !important; color:#fff !important; font-weight:500 !important; padding:4px !important; margin:0 3px !important; border-radius:50px !important; min-width: 120px !important;">
Community
</div>
<div class="text-center"
style="background-color:#875A7B !important; color:#fff !important;font-size: 0.8rem !important; font-weight:500 !important; padding:4px !important; margin:0 3px !important; border-radius:50px !important;min-width: 120px !important;">
Enterprise
</div>
<div class="text-center"
style="background-color:#7C7BAD !important; color:#fff !important;font-size: 0.8rem !important; font-weight:500 !important; padding:4px !important; margin:0 3px !important; border-radius:50px !important; min-width: 120px !important;">
Odoo.sh
</div>
</div>
</div>
</div>
<div class="row">
<div class="col-sm-12 col-md-12 col-lg-12 text-center d-flex align-items-center flex-column"
style="margin: 80px 0px !important;">
<h1 style="font-size: 2.8rem;font-weight: 700; color:
#1A202C;">
Sale Recurring</h1>
<p class="my-3 mb-4"
style="max-width: 80%; font-weight: 400 !important; line-height: 32px; color: #718096;">
Create Sale Orders Automatically Based on the Recurring Orders
</p>
<div style="width: 80%; margin-top: 3rem;">
<img src="assets/screenshots/hero.gif"
class="img-responsive" width="100%" height="auto">
</div>
</div>
</div>
<div class="container mt-5 mb-5">
<div class="col-lg-12 d-flex flex-column justify-content-center align-items-center mt-4">
<p class="m-0"
style="font-weight: 600; font-size: 24px; color:#714b67 !important">
Key Highlights
</p>
</div>
<div class="row py-4">
<div class="col-md-6 col-sm-12 p-3">
<div class="d-flex h-100" style="padding: 30px;border-radius: 12px;
background: #FFF;
box-shadow: 1px 2px 3px 0px rgba(0, 0, 0, 0.25); ">
<div style="width: 36px; height: 36px; border-radius: 50%; background: #714B67;
display: flex; justify-content: center; align-items: center;
margin-right: 10px; flex-shrink: 0;">
<i class="fa-solid fa-star "
style="color: #fff;font-size:14px;"></i>
</div>
<div>
<p style="color: #1A202C;font-weight: 600;
font-size: 1.2rem; margin-bottom: 2px;">
Create Recurring Orders manually</p>
</div>
</div>
</div>
<div class="col-md-6 col-sm-12 p-3">
<div class="d-flex h-100" style="padding: 30px;border-radius: 12px;
background: #FFF;
box-shadow: 1px 2px 3px 0px rgba(0, 0, 0, 0.25); ">
<div style="width: 36px; height: 36px; border-radius: 50%; background: #714B67;
display: flex; justify-content: center; align-items: center;
margin-right: 10px; flex-shrink: 0;">
<i class="fa-solid fa-star "
style="color: #fff;font-size:14px;"></i>
</div>
<div>
<p style="color: #1A202C;font-weight: 600;
font-size: 1.2rem; margin-bottom: 2px;">
Create Sale Orders based on the Recurring Orders</p>
</div>
</div>
</div>
<div class="col-md-6 col-sm-12 p-3">
<div class="d-flex h-100" style="padding: 30px;border-radius: 12px;
background: #FFF;
box-shadow: 1px 2px 3px 0px rgba(0, 0, 0, 0.25); ">
<div style="width: 36px; height: 36px; border-radius: 50%; background: #714B67;
display: flex; justify-content: center; align-items: center;
margin-right: 10px; flex-shrink: 0;">
<i class="fa-solid fa-star "
style="color: #fff;font-size:14px;"></i>
</div>
<div>
<p style="color: #1A202C;font-weight: 600;
font-size: 1.2rem; margin-bottom: 2px;">
Expire the Recurring Orders automatically.</p>
</div>
</div>
</div>
<div class="col-md-6 col-sm-12 p-3">
<div class="d-flex h-100" style="padding: 30px;border-radius: 12px;
background: #FFF;
box-shadow: 1px 2px 3px 0px rgba(0, 0, 0, 0.25); ">
<div style="width: 36px; height: 36px; border-radius: 50%; background: #714B67;
display: flex; justify-content: center; align-items: center;
margin-right: 10px; flex-shrink: 0; ">
<i class="fa-solid fa-star "
style="color: #fff;font-size:14px;"></i>
</div>
<div>
<p style="color: #1A202C;font-weight: 600;
font-size: 1.2rem; margin-bottom: 2px;">
Filter and Group by the Recurring Orders</p>
</div>
</div>
</div>
</div>
</div>
<div class="container rounded">
<ul class="nav nav-tabs d-flex"
style="width: fit-content;margin: 0 auto;gap: 1rem;">
<li class="col text-center py-2 text-nowrap "
style="color: #fff; background-color: #714B67;border-radius: 6px 6px 0px 0px;">
<a
class="active show" data-toggle="tab" href="#tab1"
style="color: #fff;font-weight: 500; background-color: #714B67; text-decoration: none;">
<i class="fa-regular fa-image pr-2"
style="color: #fff;"></i>
Screenshots</a></li>
<li class="col text-center py-2 text-nowrap "
style="color: #fff; background-color: #714B67;border-radius: 6px 6px 0px 0px;">
<a
data-toggle="tab" href="#tab2"
style="color: #fff;font-weight: 500; text-decoration: none;"><i
class="fa-solid fa-star pr-2"
style="color: #fff;"></i>Features</a></li>
<li class="col text-center py-2 text-nowrap "
style="color: #fff; background-color: #714B67;border-radius: 6px 6px 0px 0px;">
<a
data-toggle="tab" href="#tab3"
style="color: #fff;font-weight: 500; text-decoration: none; background-color: #714B67;"><i
class="fa-solid fa-book-open pr-2"
style="color: #fff;"></i>Released Notes</a></li>
</ul>
<div class="tab-content"
style="background-color: rgba(121, 113, 119, 0.04);">
<div id="tab1" class="tab-pane fade in active show">
<div class="col-lg-12 py-2"
style="padding: 1rem 4rem !important;">
<div
style="border: 1px solid #d8d6d6; border-radius: 4px; background: #fff; box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);">
<div class="row justify-content-center p-3 w-100 m-0">
<img src="assets/screenshots/sale1.png"
class="img-responsive" width="100%"
height="auto">
</div>
<div class="px-3">
<h4 class="mt-2"
style=" font-weight:600 !important; color:#282F33 !important; font-size:1.3rem !important">
Go to Sales module => select Orders => Open Recurring Orders.</h4>
</div>
</div>
</div>
<div class="col-lg-12 py-2"
style="padding: 1rem 4rem !important;">
<div
style="border: 1px solid #d8d6d6; border-radius: 4px; background: #fff; box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);">
<div class="row justify-content-center p-3 w-100 m-0">
<img src="assets/screenshots/sale2.png"
class="img-responsive" width="100%"
height="auto">
</div>
<div class="px-3">
<h4 class="mt-2"
style=" font-weight:600 !important; color:#282F33 !important; font-size:1.3rem !important">
Form view of Recurring Orders.</h4>
<p>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</p>
</div>
</div>
</div>
<div class="col-lg-12 py-2"
style="padding: 1rem 4rem !important;">
<div
style="border: 1px solid #d8d6d6; border-radius: 4px; background: #fff; box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);">
<div class="row justify-content-center p-3 w-100 m-0">
<img src="assets/screenshots/sale3.png"
class="img-responsive" width="100%"
height="auto">
</div>
<div class="px-3">
<h4 class="mt-2"
style=" font-weight:600 !important; color:#282F33 !important; font-size:1.3rem !important">
Easily we can Cancel or Archive Recurring Orders.</h4>
</div>
</div>
</div>
<div class="col-lg-12 py-2"
style="padding: 1rem 4rem !important;">
<div
style="border: 1px solid #d8d6d6; border-radius: 4px; background: #fff; box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);">
<div class="row justify-content-center p-3 w-100 m-0">
<img src="assets/screenshots/sale4.png"
class="img-responsive" width="100%"
height="auto">
</div>
<div class="px-3">
<h4 class="mt-2"
style=" font-weight:600 !important; color:#282F33 !important; font-size:1.3rem !important">
Create Quotations manually</h4>
</div>
</div>
</div>
<div class="col-lg-12 py-2"
style="padding: 1rem 4rem !important;">
<div
style="border: 1px solid #d8d6d6; border-radius: 4px; background: #fff; box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);">
<div class="row justify-content-center p-3 w-100 m-0">
<img src="assets/screenshots/sale5.png"
class="img-responsive" width="100%"
height="auto">
</div>
<div class="px-3">
<h4 class="mt-2"
style=" font-weight:600 !important; color:#282F33 !important; font-size:1.3rem !important">
Created Quotation.</h4>
<p>
Can see the recurring order from the created quotation.
</p>
</div>
</div>
</div>
<div class="col-lg-12 py-2"
style="padding: 1rem 4rem !important;">
<div
style="border: 1px solid #d8d6d6; border-radius: 4px; background: #fff; box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);">
<div class="row justify-content-center p-3 w-100 m-0">
<img src="assets/screenshots/sale6.png"
class="img-responsive" width="100%"
height="auto">
</div>
<div class="px-3">
<h4 class="mt-2"
style=" font-weight:600 !important; color:#282F33 !important; font-size:1.3rem !important">
Create Sale Orders automatically.</h4>
<p>By using this cron function which will create Sale Orders automatically.</p>
</div>
</div>
</div>
<div class="col-lg-12 py-2"
style="padding: 1rem 4rem !important;">
<div
style="border: 1px solid #d8d6d6; border-radius: 4px; background: #fff; box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);">
<div class="row justify-content-center p-3 w-100 m-0">
<img src="assets/screenshots/sale7.png"
class="img-responsive" width="100%"
height="auto">
</div>
<div class="px-3">
<h4 class="mt-2"
style=" font-weight:600 !important; color:#282F33 !important; font-size:1.3rem !important">
Which will create the Quotations based on the start date automatically.</h4>
</div>
</div>
</div>
<div class="col-lg-12 py-2"
style="padding: 1rem 4rem !important;">
<div
style="border: 1px solid #d8d6d6; border-radius: 4px; background: #fff; box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);">
<div class="row justify-content-center p-3 w-100 m-0">
<img src="assets/screenshots/sale8.png"
class="img-responsive" width="100%"
height="auto">
</div>
<div class="px-3">
<h4 class="mt-2"
style=" font-weight:600 !important; color:#282F33 !important; font-size:1.3rem !important">
If we confirm the created Sale Order we can view it on the smart button of recurring
order.</h4>
</div>
</div>
</div>
<div class="col-lg-12 py-2"
style="padding: 1rem 4rem !important;">
<div
style="border: 1px solid #d8d6d6; border-radius: 4px; background: #fff; box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);">
<div class="row justify-content-center p-3 w-100 m-0">
<img src="assets/screenshots/sale9.png"
class="img-responsive" width="100%"
height="auto">
</div>
<div class="px-3">
<h4 class="mt-2"
style=" font-weight:600 !important; color:#282F33 !important; font-size:1.3rem !important">
If the End Date is less than the current date which will automatically moved to
Expired state.</h4>
</div>
</div>
</div>
<div class="col-lg-12 py-2"
style="padding: 1rem 4rem !important;">
<div
style="border: 1px solid #d8d6d6; border-radius: 4px; background: #fff; box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);">
<div class="row justify-content-center p-3 w-100 m-0">
<img src="assets/screenshots/sale10.png"
class="img-responsive" width="100%"
height="auto">
</div>
<div class="px-3">
<h4 class="mt-2"
style=" font-weight:600 !important; color:#282F33 !important; font-size:1.3rem !important">
If the 'Stop After' is not specified, it will create the Sale orders
continuously.</h4>
</div>
</div>
</div>
<div class="col-lg-12 py-2"
style="padding: 1rem 4rem !important;">
<div
style="border: 1px solid #d8d6d6; border-radius: 4px; background: #fff; box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);">
<div class="row justify-content-center p-3 w-100 m-0">
<img src="assets/screenshots/sale11.png"
class="img-responsive" width="100%"
height="auto">
</div>
<div class="px-3">
<h4 class="mt-2"
style=" font-weight:600 !important; color:#282F33 !important; font-size:1.3rem !important">
Filter option in Recurring Orders.</h4>
</div>
</div>
</div>
<div class="col-lg-12 py-2"
style="padding: 1rem 4rem !important;">
<div
style="border: 1px solid #d8d6d6; border-radius: 4px; background: #fff; box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);">
<div class="row justify-content-center p-3 w-100 m-0">
<img src="assets/screenshots/sale12.png"
class="img-responsive" width="100%"
height="auto">
</div>
<div class="px-3">
<h4 class="mt-2"
style=" font-weight:600 !important; color:#282F33 !important; font-size:1.3rem !important">
Group By option in Recurring Orders.</h4>
</div>
</div>
</div>
</div>
<div id="tab2" class="tab-pane fade">
<div class="col-mg-12" style="padding: 1rem 4rem;">
<ul style="list-style: none; padding: 1rem 0;font-weight: 500;">
<li class="py-3"
style="font-weight: 500;background-color: #fff; border-radius: 4px; padding: 1rem; margin-bottom: 1rem; box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);">
<span style="margin-right: 12px;"><img
src="assets/misc/star.png"
alt=""
width="16px"></span>EasilyCreate Recurring Orders manually.
</li>
<li class="py-3"
style="font-weight: 500;background-color: #fff; border-radius: 4px; padding: 1rem; margin-bottom: 1rem; box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);">
<span style="margin-right: 12px;"><img
src="assets/misc/star.png"
alt=""
width="16px"></span>Create Sale Orders automatically based on the Recurring
Orders.
</li>
<li class="py-3"
style="font-weight: 500;background-color: #fff; border-radius: 4px; padding: 1rem; margin-bottom: 1rem; box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);">
<span style="margin-right: 12px;"><img
src="assets/misc/star.png"
alt=""
width="16px"></span>Expire the Recurring Orders automatically.
</li>
</ul>
</div>
</div>
<div id="tab3" class="tab-pane fade">
<div class="col-mg-12 active" style="padding: 1rem 4rem;">
<div class="py-3"
style="font-weight: 500;background-color: #fff; border-radius: 4px; padding: 1rem; box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);">
<div class="d-flex mb-3"
style="font-size: 0.8rem; font-weight: 500;"><span>Version
17.0.1.0.0</span><span
class="px-2">|</span><span
style="color: #714B67;font-weight: 600;">Released on:11 January 2024</span>
</div>
<p class="m-0"
style=" color:#718096!important; font-size:1rem !important;line-height: 28px;">
Initial Commit for Sale Recurring.</p>
</div>
</div>
</div>
</div>
</div>
<div class="container mt-5">
<div class="col-lg-12 d-flex flex-column justify-content-center align-items-center mt-5">
<p class="m-0"
style="font-weight: 600; font-size: 24px; color:#000 !important">
Related Products</p>
</div>
</div>
<div id="myCarousel" class="carousel slide py-3" data-ride="carousel">
<div class="carousel-inner">
<div class="carousel-item active">
<div class="row p-4">
<div class="col">
<div class="p-3">
<a href="https://apps.odoo.com/apps/modules/17.0/sale_report_advanced/"
style="color: #000; text-decoration: none;">
<div style="border:1px solid #CBCBCB !important;border-radius: 4px;">
<div style="width: 300px; ">
<img src="assets/modules/1.png"
alt="" width="100%"
height="auto">
<p class="text-center pt-2 text-black font-weight-bold">
Advanced Sales Reports </p>
</div>
</div>
</a>
</div>
</div>
<div class="col">
<div class="p-3">
<a href="https://apps.odoo.com/apps/modules/17.0/top_selling_product_report/"
style="color: #000; text-decoration: none;">
<div style="border:1px solid #CBCBCB !important;border-radius: 4px;">
<div style="width: 300px; ">
<img src="assets/modules/2.png"
alt="" width="100%"
height="auto">
<p class="text-center pt-2 text-black font-weight-bold">
Top/Least Selling Product Report </p>
</div>
</div>
</a>
</div>
</div>
<div class="col">
<div class="p-3">
<a href="https://apps.odoo.com/apps/modules/17.0/product_discount_limit/"
style="color: #000; text-decoration: none;">
<div style="border:1px solid #CBCBCB !important;border-radius: 4px;">
<div style="width: 300px; ">
<img src="assets/modules/3.jpg"
alt="" width="100%"
height="auto">
<p class="text-center pt-2 text-black font-weight-bold">
Product Discount Limit </p>
</div>
</div>
</a>
</div>
</div>
</div>
</div>
<div class="carousel-item">
<div class="row p-4">
<div class="col">
<div class="p-3">
<a href="https://apps.odoo.com/apps/modules/17.0/multiple_reference_per_product/"
style="color: #000; text-decoration: none;">
<div style="border:1px solid #CBCBCB !important;border-radius: 4px;">
<div style="width: 300px; ">
<img src="assets/modules/4.jpg"
alt="" width="100%"
height="auto">
<p class="text-center pt-2 text-black font-weight-bold">
Multiple Reference Per Product </p>
</div>
</div>
</a>
</div>
</div>
<div class="col">
<div class="p-3">
<a href="https://apps.odoo.com/apps/modules/17.0/inventory_barcode_scanning/"
style="color: #000; text-decoration: none;">
<div style="border:1px solid #CBCBCB !important;border-radius: 4px;">
<div style="width: 300px;">
<img src="assets/modules/5.png"
alt="" width="100%"
height="auto">
<p class="text-center pt-2 text-black font-weight-bold">
Barcode Scanning In Inventory </p>
</div>
</div>
</a>
</div>
</div>
<div class="col">
<div class="p-3">
<a href="https://apps.odoo.com/apps/modules/17.0/export_stockinfo_xls/"
style="color: #000; text-decoration: none;">
<div style="border:1px solid #CBCBCB !important;border-radius: 4px;">
<div style="width: 300px;">
<img src="assets/modules/6.png"
alt="" width="100%"
height="auto">
<p class="text-center pt-2 text-black font-weight-bold">
Export Product Stock in Excel </p>
</div>
</div>
</a>
</div>
</div>
</div>
</div>
</div>
<a class="carousel-control-prev" href="#myCarousel"
data-slide="prev" style="width: 35px; color: #000;">
<span class="carousel-control-prev-icon">
<i class="fa fa-chevron-left"
style="font-size: 24px;"></i>
</span>
</a>
<a class="carousel-control-next" href="#myCarousel"
data-slide="next" style="width: 35px; color: #000;">
<span class="carousel-control-next-icon">
<i class="fa fa-chevron-right"
style="font-size: 24px;"></i>
</span>
</a>
</div>
<div class="container mt-5">
<div class="col-lg-12 d-flex flex-column justify-content-center align-items-center mt-4">
<p class="m-0"
style="font-weight: 600; font-size: 24px; color:#000 !important">
Our Services</p>
</div>
</div>
<div class="container my-5">
<div class="row py-3">
<div class="col-md-4 col-sm-6 px-4 py-4">
<div
style="background-color: #fff; padding: 25px; text-align: center; box-shadow: rgba(0, 0, 0, 0.1) 0px 1px 3px 0px, rgba(0, 0, 0, 0.06) 0px 1px 2px 0px; position: relative;border-radius: 4px;">
<div style="position: absolute; top: 0%; left: 50%; transform: translate(-50%, -50%);">
<div style="background-color:#13EA36 ; border-radius: 50%; padding: 15px; width: 68px;
height: 68px; display: inline-block; box-shadow:0px 4px 4px rgba(0, 0, 0, 0.25);">
<img src="assets/icons/cogs.png"
alt="service-icon" width="38px"
height="auto">
</div>
</div>
<p style="margin-top: 20px; font-weight: bold;">Odoo
Customization</p>
</div>
</div>
<div class="col-md-4 col-sm-6 px-4 py-4">
<div style="background-color: #fff; padding: 25px; text-align: center; box-shadow: rgba(0, 0, 0, 0.1) 0px 1px 3px 0px, rgba(0, 0, 0, 0.06) 0px 1px 2px 0px; position: relative;border-radius: 4px;">
<div style="position: absolute; top: 0%; left: 50%; transform: translate(-50%, -50%);">
<div style="background-color:#DBC711; border-radius: 50%; padding: 15px; width: 68px;
height: 68px; display: inline-block; box-shadow:0px 4px 4px rgba(0, 0, 0, 0.25);">
<img src="assets/icons/wrench.png"
alt="service-icon" width="38px"
height="auto">
</div>
</div>
<p style="margin-top: 20px; font-weight: bold;">Odoo
Implementation</p>
</div>
</div>
<div class="col-md-4 col-sm-6 px-4 py-4">
<div
style="background-color: #fff; padding: 25px; text-align: center; box-shadow: rgba(0, 0, 0, 0.1) 0px 1px 3px 0px, rgba(0, 0, 0, 0.06) 0px 1px 2px 0px; position: relative; border-radius: 4px;">
<div style="position: absolute; top: 0%; left: 50%; transform: translate(-50%, -50%);">
<div style="background-color:#FF6B6B ; border-radius: 50%; padding: 15px; width: 68px;
height: 68px; display: inline-block; box-shadow:0px 4px 4px rgba(0, 0, 0, 0.25);">
<img src="assets/icons/lifebuoy.png"
alt="service-icon" width="38px"
height="auto">
</div>
</div>
<p style="margin-top: 20px; font-weight: bold;">Odoo
Support</p>
</div>
</div>
<div class="col-md-4 col-sm-6 px-4 py-4">
<div
style="background-color: #fff; padding: 25px; text-align: center; box-shadow: rgba(0, 0, 0, 0.1) 0px 1px 3px 0px, rgba(0, 0, 0, 0.06) 0px 1px 2px 0px; position: relative; border-radius: 4px;">
<div style="position: absolute; top: 0%; left: 50%; transform: translate(-50%, -50%);">
<div style="background-color:#FFA801 ; border-radius: 50%; padding: 15px; width: 68px;
height: 68px; display: inline-block; box-shadow:0px 4px 4px rgba(0, 0, 0, 0.25);">
<img src="assets/icons/user.png"
alt="service-icon" width="38px"
height="auto">
</div>
</div>
<p style="margin-top: 20px; font-weight: bold;">Hire
Odoo Developer</p>
</div>
</div>
<div class="col-md-4 col-sm-6 px-4 py-4">
<div
style="background-color: #fff; padding: 25px; text-align: center; box-shadow: rgba(0, 0, 0, 0.1) 0px 1px 3px 0px, rgba(0, 0, 0, 0.06) 0px 1px 2px 0px; position: relative; border-radius: 4px;">
<div style="position: absolute; top: 0%; left: 50%; transform: translate(-50%, -50%);">
<div style="background-color:#54A0FF; border-radius: 50%; padding: 15px; width: 68px;
height: 68px; display: inline-block; box-shadow:0px 4px 4px rgba(0, 0, 0, 0.25);">
<img src="assets/icons/puzzle.png"
alt="service-icon" width="38px"
height="auto">
</div>
</div>
<p style="margin-top: 20px; font-weight: bold;">Odoo
Integration</p>
</div>
</div>
<div class="col-md-4 col-sm-6 px-4 py-4">
<div
style="background-color: #fff; padding: 25px; text-align: center; box-shadow: rgba(0, 0, 0, 0.1) 0px 1px 3px 0px, rgba(0, 0, 0, 0.06) 0px 1px 2px 0px; position: relative;border-radius: 4px;">
<div style="position: absolute; top: 0%; left: 50%; transform: translate(-50%, -50%);">
<div style="background-color:#6D7680 ; border-radius: 50%; padding: 15px; width: 68px;
height: 68px; display: inline-block; box-shadow:0px 4px 4px rgba(0, 0, 0, 0.25);">
<img src="assets/icons/update.png"
alt="service-icon" width="38px"
height="auto">
</div>
</div>
<p style="margin-top: 20px; font-weight: bold;">Odoo
Migration</p>
</div>
</div>
<div class="col-md-4 col-sm-6 px-4 py-4">
<div
style="background-color: #fff; padding: 25px; text-align: center; box-shadow: rgba(0, 0, 0, 0.1) 0px 1px 3px 0px, rgba(0, 0, 0, 0.06) 0px 1px 2px 0px; position: relative;border-radius: 4px;">
<div style="position: absolute; top: 0%; left: 50%; transform: translate(-50%, -50%);">
<div style="background-color:#786FA6 ; border-radius: 50%; padding: 15px; width: 68px;
height: 68px; display: inline-block; box-shadow:0px 4px 4px rgba(0, 0, 0, 0.25);">
<img src="assets/icons/consultation.png"
alt="service-icon" width="38px"
height="auto">
</div>
</div>
<p style="margin-top: 20px; font-weight: bold;">Odoo
Consultancy</p>
</div>
</div>
<div class="col-md-4 col-sm-6 px-4 py-4">
<div
style="background-color: #fff; padding: 25px; text-align: center; box-shadow: rgba(0, 0, 0, 0.1) 0px 1px 3px 0px, rgba(0, 0, 0, 0.06) 0px 1px 2px 0px;position: relative;border-radius: 4px;">
<div style="position: absolute; top: 0%; left: 50%; transform: translate(-50%, -50%);">
<div style="background-color:#F8A5C2 ; border-radius: 50%; padding: 15px; width: 68px;
height: 68px; display: inline-block; box-shadow:0px 4px 4px rgba(0, 0, 0, 0.25);">
<img src="assets/icons/training.png"
alt="service-icon" width="38px"
height="auto">
</div>
</div>
<p style="margin-top: 20px; font-weight: bold;">Odoo
Implementation</p>
</div>
</div>
<div class="col-md-4 col-sm-6 px-4 py-4">
<div
style="background-color: #fff; padding: 25px; text-align: center; box-shadow: rgba(0, 0, 0, 0.1) 0px 1px 3px 0px, rgba(0, 0, 0, 0.06) 0px 1px 2px 0px; position: relative;border-radius: 4px;">
<div style="position: absolute; top: 0%; left: 50%; transform: translate(-50%, -50%);">
<div style="background-color:#E6BE26; border-radius: 50%; padding: 15px; width: 68px;
height: 68px; display: inline-block; box-shadow:0px 4px 4px rgba(0, 0, 0, 0.25);">
<img src="assets/icons/license.png"
alt="service-icon" width="38px"
height="auto">
</div>
</div>
<p style="margin-top: 20px; font-weight: bold;">Odoo
Licensing Consultancy</p>
</div>
</div>
</div>
</div>
<div class="container mt-5">
<div class="col-lg-12 d-flex flex-column justify-content-center align-items-center mt-4">
<p class="m-0"
style="font-weight: 600; font-size: 24px; color:#000 !important">
Our Industries</p>
</div>
</div>
<div class="container">
<div class="row my-5 py-4">
<div class="col-md-3 col-sm-6 p-0">
<div class="d-flex flex-column h-100 "
style="border-right: 1px solid rgb(209, 209, 209); border-bottom: 1px solid rgb(209, 209, 209); padding: 30px; box-shadow: 6px 0 10px rgba(228, 227, 227, 0.373);">
<img src="assets/icons/trading-black.png" width="42px"
height="auto" alt="">
<p style="color: #714B67;font-weight: 600; margin-top: 10px;
font-size: 1.2rem; margin-bottom: 2px;">Trading</p>
<p>Easily procure and sell your products</p>
</div>
</div>
<div class="col-md-3 col-sm-6 p-0">
<div class="d-flex flex-column h-100"
style="border-right: 1px solid rgb(209, 209, 209);border-bottom: 1px solid rgb(209, 209, 209); padding: 30px;">
<img src="assets/icons/pos-black.png" width="42px"
height="auto" alt="">
<p style="color: #714B67;font-weight: 600; margin-top: 10px;
font-size: 1.2rem; margin-bottom: 2px;">POS</p>
<p>Easy configuration and convivial experience</p>
</div>
</div>
<div class="col-md-3 col-sm-6 p-0">
<div class="d-flex flex-column h-100"
style="border-right: 1px solid rgb(209, 209, 209);border-bottom: 1px solid rgba(0, 0, 0, 0.2); padding: 30px; box-shadow: 0 5px 10px rgba(228, 227, 227, 0.373)">
<img src="assets/icons/education-black.png" width="42px"
height="auto" alt="">
<p style="color: #714B67;font-weight: 600; margin-top: 10px;
font-size: 1.2rem; margin-bottom: 2px;">
Education</p>
<p>A platform for educational management</p>
</div>
</div>
<div class="col-md-3 col-sm-6 p-0">
<div class="d-flex flex-column h-100"
style="border-bottom: 1px solid rgb(209, 209, 209); padding: 30px; ">
<img src="assets/icons/manufacturing-black.png"
width="42px" height="auto" alt="">
<p style="color: #714B67;font-weight: 600; margin-top: 10px;
font-size: 1.2rem; margin-bottom: 2px;">
Manufacturing</p>
<p>Plan, track and schedule your operations</p>
</div>
</div>
<div class="col-md-3 col-sm-6 p-0">
<div class="d-flex flex-column h-100"
style="border-right: 1px solid rgb(209, 209, 209); padding: 30px;">
<img src="assets/icons/ecom-black.png" width="42px"
height="auto" alt="">
<p style="color: #714B67;font-weight: 600; margin-top: 10px;
font-size: 1.2rem; margin-bottom: 2px;">E-commerce &
Website</p>
<p>Mobile friendly, awe-inspiring product pages</p>
</div>
</div>
<div class="col-md-3 col-sm-6 p-0">
<div class="d-flex flex-column h-100"
style="border-right: 1px solid rgb(209, 209, 209); padding: 30px;box-shadow: 0 -5px 10px rgba(228, 227, 227, 0.373);">
<img src="assets/icons/service-black.png" width="42px"
height="auto" alt="">
<p style="color: #714B67;font-weight: 600; margin-top: 10px;
font-size: 1.2rem; margin-bottom: 2px;">Service
Management</p>
<p>Keep track of services and invoice</p>
</div>
</div>
<div class="col-md-3 col-sm-6 p-0">
<div class="d-flex flex-column h-100"
style="border-right: 1px solid rgb(209, 209, 209); padding: 30px; ">
<img src="assets/icons/restaurant-black.png"
width="42px" height="auto" alt="">
<p style="color: #714B67;font-weight: 600; margin-top: 10px;
font-size: 1.2rem; margin-bottom: 2px;">
Restaurant</p>
<p>Run your bar or restaurant methodically</p>
</div>
</div>
<div class="col-md-3 col-sm-6 p-0">
<div class="d-flex flex-column h-100"
style=" padding: 30px;box-shadow: -5px 0 10px rgba(228, 227, 227, 0.373);">
<img src="assets/icons/hotel-black.png" width="42px"
height="auto" alt="">
<p style="color: #714B67;font-weight: 600; margin-top: 10px;
font-size: 1.2rem; margin-bottom: 2px;">Hotel
Management</p>
<p>An all-inclusive hotel management application</p>
</div>
</div>
</div>
</div>
<div class="container mt-5">
<div class="col-lg-12 d-flex flex-column justify-content-center align-items-center mt-5">
<p class="m-0"
style="font-weight: 600; font-size: 24px; color:#000 !important">
Support</p>
</div>
</div>
<div class="container my-5">
<div class="row" style="background-color: #FFFAFE;">
<div class="col-md-6 pb-4 d-flex align-items-center justify-content-center"
style="border-right: 1px solid #D9D9D9;">
<div style="padding: 30px;">
<div class="d-flex align-items-center">
<img src="assets/misc/support (1) 1.svg" alt=""
width="60px" style="margin-right: 12px;">
<div style="padding: 0px 8px;">
<span
style="color: #714B67;font-size: 24px;font-weight: 600;padding-bottom: 1rem;">Need
Help?</span>
<p class="m-0" style="color:#718096;">Got
questions or need help? Get in touch.</p>
<div style="font-weight: 400;"><span><img
src="assets/misc/support-email.svg"
alt=""
width="18px"
style="filter: invert(1);margin-right: 0.8rem;"></span>odoo@cybrosys.com
</div>
</div>
</div>
</div>
</div>
<div class="col-md-6 pb-4 d-flex align-items-center justify-content-center">
<div style="padding: 30px;">
<div class="d-flex align-items-center">
<img src="assets/misc/whatsapp 1.svg" alt=""
width="60px" style="margin-right: 12px;">
<div>
<span style="color: #714B67;font-size: 24px;font-weight: 600;">WhatsApp</span>
<p class="m-0" style="color:#718096;">Say hi to
us on WhatsApp!</p>
<div style="font-weight: 400; font-size: 16px;"><span><img
src="assets/misc/phone.svg"
alt="" width="14px"
style="filter: invert(1); margin-right: 0.8rem;"></span>+91
99456767686
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</section>
<!-- Optional JavaScript -->
<!-- jQuery first, then Popper.js, then Bootstrap JS -->
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.5.1/jquery.min.js"></script>
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/4.5.2/js/bootstrap.min.js"></script>
</body>
</html>

14
sale_recurring/views/sale_order_views.xml

@ -0,0 +1,14 @@
<?xml version="1.0" encoding="UTF-8"?>
<odoo>
<!-- Add a field in the sale.order to know about which recurring order it came from -->
<record id="view_order_form" model="ir.ui.view">
<field name="name">sale.order.view.form.inherit.sale.recurring</field>
<field name="model">sale.order</field>
<field name="inherit_id" ref="sale.view_order_form"/>
<field name="arch" type="xml">
<xpath expr="//field[@name='tag_ids']" position="after">
<field name="recurring_order_id"/>
</xpath>
</field>
</record>
</odoo>

159
sale_recurring/views/sale_recurring_views.xml

@ -0,0 +1,159 @@
<?xml version="1.0" encoding="UTF-8" ?>
<odoo>
<!-- To show some fields in the list view-->
<record id="sale_recurring_view_tree" model="ir.ui.view">
<field name="name">sale.recurring.view.tree</field>
<field name="model">sale.recurring</field>
<field name="arch" type="xml">
<tree string="Channel">
<field name="name"/>
<field name="partner_id"/>
<field name="start_date"/>
<field name="end_date"/>
</tree>
</field>
</record>
<!--Add fields to the form view for creating recurring order-->
<record id='sale_recurring_view_form' model='ir.ui.view'>
<field name="name">sale.recurring.view.form</field>
<field name="model">sale.recurring</field>
<field name="arch" type="xml">
<form string="Sale Recurring">
<header>
<button name="action_create_sale_order"
string="Create Sale Order"
class="oe_highlight" type="object"
invisible="state != 'running' or active == False"/>
<button string="Cancel" type="object"
class="btn-secondary"
name="action_cancel_recurring_order"
invisible="state == 'cancelled'"/>
<button string="Archive" type="object"
class="btn-secondary"
name="action_archive_orders"
invisible="active == False"/>
<button string="Unarchive" type="object"
class="btn-secondary"
name="action_unarchive_orders"
invisible="active == True"/>
<button string="Renew" type="object"
class="btn-secondary"
name="action_renew"
invisible="state == 'running'"/>
<field name="state" widget="statusbar"
class="o_field_statusbar"
statusbar_visible="running,expired,cancelled"
force_save="1"/>
</header>
<sheet>
<div name="button_box" position="inside">
<button class="oe_stat_button" type="object"
name="action_get_sale_orders">
<field name="total_sale_order" string="Sale Orders"
widget="statinfo"/>
</button>
<button class="oe_stat_button" type="object"
name="action_get_sale_quotations">
<field name="total_sale_quotation"
string="Quotations"
widget="statinfo"/>
</button>
<field name="active" widget="boolean_button"
options='{"terminology": "archive"}'
invisible="1"/>
</div>
<h1>
<field name="name" readonly="1"/>
</h1>
<group>
<group>
<field name="title"/>
<field name="partner_id"/>
</group>
<group>
<field name="start_date"
readonly="state == 'expired'"/>
<field name="end_date" force_save="1"/>
<label for="stop_after"/>
<div>
<field name="stop_after" class="oe_inline"
style="vertical-align:baseline"
readonly="state == 'expired'"/>
days
</div>
</group>
</group>
<notebook>
<page string="Order Line">
<field name="order_line_ids">
<tree editable="bottom">
<field name="product_id"/>
<field name="name"/>
<field name="product_uom_qty"/>
<field name="price_unit"/>
</tree>
</field>
</page>
</notebook>
</sheet>
<div class="oe_chatter">
<field name="message_follower_ids"
widget="mail_followers"/>
<field name="message_ids" widget="mail_thread"/>
</div>
</form>
</field>
</record>
<!-- To search the records from the tree view, based on state and date-->
<record id="sale_recurring_view_search" model="ir.ui.view">
<field name="name">sale.recurring.view.search</field>
<field name="model">sale.recurring</field>
<field name="arch" type="xml">
<search string="Sale Recurring">
<field name="name"/>
<filter string="Inactive" name="active"
domain="[('active', '=', False)]"/>
<filter string="Running" name="state"
domain="[('state', '=', 'running')]"/>
<filter string="Expired" name="state"
domain="[('state', '=', 'expired')]"/>
<filter string="Cancelled" name="state"
domain="[('state', '=', 'cancelled')]"/>
<filter string="Start Date" name="start_date"
date="start_date"/>
<filter string="End Date" name="end_date" date="end_date"/>
<group string="Group By">
<filter string="Customer"
name="partner_id"
context="{'group_by':'partner_id'}"/>
<filter string="Start Date"
name="start_date"
context="{'group_by':'start_date'}"/>
<filter string="End Date" name="end_date"
context="{'group_by':'end_date'}"/>
<filter string="Status" name="state"
context="{'group_by':'state'}"/>
</group>
</search>
</field>
</record>
<!-- ir.actions.act_window-->
<record id="sale_recurring_action" model="ir.actions.act_window">
<field name="name">Recurring Orders</field>
<field name="res_model">sale.recurring</field>
<field name="view_mode">tree,form</field>
<field name="help" type="html">
<p class="oe_view_nocontent_create">
Click to Create a New Record.
</p>
</field>
</record>
<!-- To show the menu under Orders-->
<menuitem
id="sale_recurring_menu"
name="Recurring Orders"
action="sale_recurring_action"
parent="sale.sale_order_menu"
sequence="25"/>
</odoo>
Loading…
Cancel
Save