Browse Source

Mar 26: [UPDT] Manifest Updated 'auto_save_restrict'

pull/278/merge
RisvanaCybro 1 year ago
parent
commit
caf59e0d42
  1. 2
      auto_save_restrict/README.rst
  2. 42
      auto_save_restrict/__manifest__.py
  3. 3
      auto_save_restrict/doc/RELEASE_NOTES.md
  4. 436
      auto_save_restrict/static/description/index.html
  5. 4
      auto_save_restrict/static/src/js/form_controller.js
  6. 4
      auto_save_restrict/static/src/js/list_controller.js

2
auto_save_restrict/README.rst

@ -23,8 +23,6 @@ Credits
------- -------
* Developers: (V17) Developer Anurudh P, (V16) Developer Anurudh P * Developers: (V17) Developer Anurudh P, (V16) Developer Anurudh P
* Contact: odoo@cybrosys.com * Contact: odoo@cybrosys.com
Contacts Contacts
-------- --------
* Mail Contact : odoo@cybrosys.com * Mail Contact : odoo@cybrosys.com

42
auto_save_restrict/__manifest__.py

@ -20,27 +20,27 @@
# #
############################################################################# #############################################################################
{ {
"name": "Auto Save Restrict", 'name': 'Auto Save Restrict',
"version": "16.0.1.0.0", 'version': '16.0.1.0.0',
"category": "Extra Tools", 'category': 'Extra Tools',
"summary": """Restrict auto save in all models""", 'summary': """Restrict auto save in all models""",
"description": "Using this module,we can restrict autosave in all models." 'description': 'Using this module,we can restrict autosave in all models.'
"If you want to autosave, a popup will appear,and you can" 'If you want to autosave, a popup will appear,and you can '
" click OK to save.", 'click OK to save.',
"author": "Cybrosys Techno Solutions", 'author': 'Cybrosys Techno Solutions',
"company": "Cybrosys Techno Solutions", 'company': 'Cybrosys Techno Solutions',
"maintainer": "Cybrosys Techno Solutions", 'maintainer': 'Cybrosys Techno Solutions',
"website": "https://www.cybrosys.com", 'website': 'https://www.cybrosys.com',
"depends": ["base"], 'depends': ['base'],
"assets": { 'assets': {
"web.assets_backend": [ 'web.assets_backend': [
"auto_save_restrict/static/src/js/form_controller.js", 'auto_save_restrict/static/src/js/form_controller.js',
"auto_save_restrict/static/src/js/list_controller.js", 'auto_save_restrict/static/src/js/list_controller.js'
], ],
}, },
"images": ["static/description/banner.png"], 'images': ['static/description/banner.png'],
"license": "LGPL-3", 'license': 'LGPL-3',
"installable": True, 'installable': True,
"auto_install": False, 'auto_install': False,
"application": False, 'application': False,
} }

3
auto_save_restrict/doc/RELEASE_NOTES.md

@ -1,7 +1,6 @@
## Module <auto_save_restrict> ## Module <auto_save_restrict>
#### 26.03.2024 #### 25.03.2024
#### Version 16.0.1.0.0 #### Version 16.0.1.0.0
#### ADD #### ADD
- Initial commit for Auto Save Restrict - Initial commit for Auto Save Restrict

436
auto_save_restrict/static/description/index.html

@ -1,206 +1,179 @@
<div style="background-color: #714B67; min-height: 600px; width: 100%; padding: 15px; position: relative;"> <div style="background-color: #714B67; min-height: 600px; width: 100%; padding: 15px; position: relative;">
<!-- TITLE BAR --> <!-- TITLE BAR -->
<div class="d-flex align-items-center justify-content-between" <div
style="border-bottom: 1px solid #875A7B; padding: 15px; display: flex; justify-content: space-between; align-items: center;"> style="border-bottom: 1px solid #875A7B; padding: 15px; display: flex; justify-content: space-between; align-items: center;">
<img src="./assets/misc/cybrosys-logo.png" width="42" height="42" <img src="./assets/misc/cybrosys-logo.png" width="42" height="42" style="width: 42px; height: 42px;" />
style="width: 42px; height: 42px;"/>
<div> <div>
<div style="color: #7C7BAD; font-size: 14px; font-family: 'Montserrat', sans-serif; font-weight: bold; background-color: white; display: inline-block; padding: 3px 10px; border-radius: 50px;" <div style="color: #7C7BAD; font-size: 14px; font-family: 'Montserrat', sans-serif; font-weight: bold; background-color: white; display: inline-block; padding: 3px 10px; border-radius: 50px;"
class="mr-2"> class="mr-2">
<i class="fa fa-check mr-1"></i>Community <i class="fa fa-check mr-1"></i>Community
</div> </div>
<div style="color: #875A7B; font-size: 14px; font-family: 'Montserrat', sans-serif; font-weight: bold; background-color: white; display: inline-block; padding: 3px 10px; border-radius: 50px;" <div style="color: #875A7B; font-size: 14px; font-family: 'Montserrat', sans-serif; font-weight: bold; background-color: white; display: inline-block; padding: 3px 10px; border-radius: 50px;"
class="mr-2"> class="mr-2">
<i class="fa fa-check mr-1"></i>Enterprise <i class="fa fa-check mr-1"></i>Enterprise
</div> </div>
<div style="color: #017E84; font-size: 14px; font-family: 'Montserrat', sans-serif; font-weight: bold; background-color: white; display: inline-block; padding: 3px 10px; border-radius: 50px;" <div style="color: #017E84; font-size: 14px; font-family: 'Montserrat', sans-serif; font-weight: bold; background-color: white; display: inline-block; padding: 3px 10px; border-radius: 50px;"
class="mr-2"> class="mr-2">
<i class="fa fa-check mr-1"></i>Odoo.sh <i class="fa fa-check mr-1"></i>Odoo.sh
</div> </div>
</div> </div>
</div> </div>
<!-- END OF TITLE BAR --> <!-- END OF TITLE BAR -->
<div class="container">
<div class="row"> <!-- APP HERO -->
<div class="col-sm-12 col-md-12 col-lg-12"> <h1 style="color: #FFFFFF; font-weight: bolder; font-size: 50px; text-align: center; margin-top: 50px;">Auto Save Restrict</h1>
<!-- APP HERO --> <p style="color:#FFFFFF; padding: 8px 15px; text-align: center; font-size: 24px;">Allows to Restrict Auto Save.</p>
<h1 style="color: #FFFFFF; font-weight: bolder; font-size: 50px; text-align: center; margin-top: 50px;"> <!-- END OF APP HERO -->
Auto Save Restrict</h1> <img src="./assets/screenshots/hero.gif"
<p style="color:#FFFFFF; padding: 8px 15px; text-align: center; font-size: 24px;"> style="width: 75%; height: auto; position: absolute; margin-left: auto; margin-right: auto; top: 45%; left: 12%; right: auto;" />
Allows to Restrict Auto Save.</p>
<!-- END OF APP HERO -->
<img src="./assets/screenshots/hero.gif"
style="width: 100%; margin-left: auto; margin-right: auto;"/>
</div>
</div>
</div>
</div> </div>
<!-- NAVIGATION SECTION --> <!-- NAVIGATION SECTION -->
<div class="d-flex align-items-center" <div class="d-flex align-items-center" style="border-bottom: 2px solid #714B67; padding: 15px 0px; margin-top: 300px;">
style="border-bottom: 2px solid #714B67; padding: 15px 0px; margin-top: 300px;">
<div class="d-flex justify-content-center align-items-center mr-2" <div class="d-flex justify-content-center align-items-center mr-2"
style="background-color: #F5F5F5; border-radius: 0px; width: 40px; height: 40px;"> style="background-color: #F5F5F5; border-radius: 0px; width: 40px; height: 40px;">
<img src="./assets/misc/compass.png"/> <img src="./assets/misc/compass.png" />
</div> </div>
<h2 class="mt-2" <h2 class="mt-2" style="font-family: 'Montserrat', sans-serif; font-size: 24px; font-weight: bold;">Explore This
style="font-family: 'Montserrat', sans-serif; font-size: 24px; font-weight: bold;">
Explore This
Module</h2> Module</h2>
</div> </div>
<div class="row my-4" style="font-family: 'Montserrat', sans-serif;"> <div class="row my-4" style="font-family: 'Montserrat', sans-serif;">
<div class="col-sm-12 col-md-6 my-3"> <div class="col-sm-12 col-md-6 my-3">
<a href="#overview"> <a href="#overview">
<div class="d-flex justify-content-between align-items-center" <div class="d-flex justify-content-between align-items-center"
style="background-color: #f5f5f5; padding: 30px; width: 100%;"> style="background-color: #f5f5f5; padding: 30px; width: 100%;">
<div> <div>
<span style="color: #714B67; font-size: 24px; font-weight: 500; display: block;">Overview</span> <span style="color: #714B67; font-size: 24px; font-weight: 500; display: block;">Overview</span>
<span <span
style="color: #714B67; font-size: 16px; font-weight: 400; color:#282F33; display: block;">Learn style="color: #714B67; font-size: 16px; font-weight: 400; color:#282F33; display: block;">Learn
more about this more about this
module</span> module</span>
</div> </div>
<img src="./assets/misc/right-arrow.png" width="36" <img src="./assets/misc/right-arrow.png" width="36" height="36" />
height="36"/>
</div> </div>
</a> </a>
</div> </div>
<div class="col-sm-12 col-md-6 my-3"> <div class="col-sm-12 col-md-6 my-3">
<a href="#features"> <a href="#features">
<div class="d-flex justify-content-between align-items-center" <div class="d-flex justify-content-between align-items-center"
style="background-color: #f5f5f5; padding: 30px; width: 100%;"> style="background-color: #f5f5f5; padding: 30px; width: 100%;">
<div> <div>
<span style="color: #714B67; font-size: 24px; font-weight: 500; display: block;">Features</span> <span style="color: #714B67; font-size: 24px; font-weight: 500; display: block;">Features</span>
<span <span
style="color: #714B67; font-size: 16px; font-weight: 400; color:#282F33; display: block;">View style="color: #714B67; font-size: 16px; font-weight: 400; color:#282F33; display: block;">View
features of this features of this
module</span> module</span>
</div> </div>
<img src="./assets/misc/right-arrow.png" width="36" <img src="./assets/misc/right-arrow.png" width="36" height="36" />
height="36"/>
</div> </div>
</a> </a>
</div> </div>
<div class="col-sm-12 col-md-6 my-3"> <div class="col-sm-12 col-md-6 my-3">
<a href="#screenshots"> <a href="#screenshots">
<div class="d-flex justify-content-between align-items-center" <div class="d-flex justify-content-between align-items-center"
style="background-color: #f5f5f5; padding: 30px; width: 100%;"> style="background-color: #f5f5f5; padding: 30px; width: 100%;">
<div> <div>
<span style="color: #714B67; font-size: 24px; font-weight: 500; display: block;">Screenshots</span> <span style="color: #714B67; font-size: 24px; font-weight: 500; display: block;">Screenshots</span>
<span <span
style="color: #714B67; font-size: 16px; font-weight: 400; color:#282F33; display: block;">View style="color: #714B67; font-size: 16px; font-weight: 400; color:#282F33; display: block;">View
screenshots for this screenshots for this
module</span> module</span>
</div> </div>
<img src="./assets/misc/right-arrow.png" width="36" <img src="./assets/misc/right-arrow.png" width="36" height="36" />
height="36"/>
</div> </div>
</a> </a>
</div> </div>
</div> </div>
<!-- END OF NAVIGATION SECTION --> <!-- END OF NAVIGATION SECTION -->
<!-- OVERVIEW SECTION --> <!-- OVERVIEW SECTION -->
<div class="d-flex align-items-center" <div class="d-flex align-items-center" style="border-bottom: 2px solid #714B67; padding: 15px 0px;" id="overview">
style="border-bottom: 2px solid #714B67; padding: 15px 0px;"
id="overview">
<div class="d-flex justify-content-center align-items-center mr-2" <div class="d-flex justify-content-center align-items-center mr-2"
style="background-color: #F5F5F5; border-radius: 0px; width: 40px; height: 40px;"> style="background-color: #F5F5F5; border-radius: 0px; width: 40px; height: 40px;">
<img src="./assets/misc/pie-chart.png"/> <img src="./assets/misc/pie-chart.png" />
</div> </div>
<h2 class="mt-2" <h2 class="mt-2" style="font-family: 'Montserrat', sans-serif; font-size: 24px; font-weight: bold;">Overview
style="font-family: 'Montserrat', sans-serif; font-size: 24px; font-weight: bold;">
Overview
</h2> </h2>
</div> </div>
<div class="row" <div class="row" style="font-family: 'Montserrat', sans-serif; font-weight: 400; font-size: 14px; line-height: 200%;">
style="font-family: 'Montserrat', sans-serif; font-weight: 400; font-size: 14px; line-height: 200%;">
<div class="col-sm-12 py-4"> <div class="col-sm-12 py-4">
Using this module,we can restrict autosave in all models.If you want Using this module,we can restrict autosave in all models.If you want
to autosave a popup will appear and you can click OK to save. to autosave a popup will appear and you can click OK to save.
</div> </div>
</div> </div>
<!-- END OF OVERVIEW SECTION --> <!-- END OF OVERVIEW SECTION -->
<!-- FEATURES SECTION --> <!-- FEATURES SECTION -->
<div class="d-flex align-items-center" <div class="d-flex align-items-center" style="border-bottom: 2px solid #714B67; padding: 15px 0px;" id="features">
style="border-bottom: 2px solid #714B67; padding: 15px 0px;"
id="features">
<div class="d-flex justify-content-center align-items-center mr-2" <div class="d-flex justify-content-center align-items-center mr-2"
style="background-color: #F5F5F5; border-radius: 0px; width: 40px; height: 40px;"> style="background-color: #F5F5F5; border-radius: 0px; width: 40px; height: 40px;">
<img src="./assets/misc/features.png"/> <img src="./assets/misc/features.png" />
</div> </div>
<h2 class="mt-2" <h2 class="mt-2" style="font-family: 'Montserrat', sans-serif; font-size: 24px; font-weight: bold;">Features
style="font-family: 'Montserrat', sans-serif; font-size: 24px; font-weight: bold;">
Features
</h2> </h2>
</div> </div>
<div class="row" <div class="row" style="font-family: 'Montserrat', sans-serif; font-weight: 400; font-size: 14px; line-height: 200%;">
style="font-family: 'Montserrat', sans-serif; font-weight: 400; font-size: 14px; line-height: 200%;">
<div class="col-sm-12 col-md-6"> <div class="col-sm-12 col-md-6">
<div class="d-flex align-items-center" <div class="d-flex align-items-center" style="margin-top: 40px; margin-bottom: 40px">
style="margin-top: 40px; margin-bottom: 40px"> <img src="./assets/misc/check-box.png" class="mr-2" />
<img src="./assets/misc/check-box.png" class="mr-2"/>
<span style="font-family: 'Montserrat', sans-serif; font-size: 18px; font-weight: bold;">Community &amp; Enterprise Support</span> <span style="font-family: 'Montserrat', sans-serif; font-size: 18px; font-weight: bold;">Community &amp; Enterprise Support</span>
</div> </div>
<div class="d-flex align-items-center" <div class="d-flex align-items-center" style="margin-top: 30px; margin-bottom: 30px">
style="margin-top: 30px; margin-bottom: 30px"> <img src="./assets/misc/check-box.png" class="mr-2" />
<img src="./assets/misc/check-box.png" class="mr-2"/>
<span style="font-family: 'Montserrat', sans-serif; font-size: 18px; font-weight: bold;">Module allows to restrict auto save</span> <span style="font-family: 'Montserrat', sans-serif; font-size: 18px; font-weight: bold;">Module allows to restrict auto save</span>
</div> </div>
<div class="d-flex align-items-center" <div class="d-flex align-items-center" style="margin-top: 30px; margin-bottom: 30px">
style="margin-top: 30px; margin-bottom: 30px"> <img src="./assets/misc/check-box.png" class="mr-2" />
<img src="./assets/misc/check-box.png" class="mr-2"/>
<span style="font-family: 'Montserrat', sans-serif; font-size: 18px; font-weight: bold;">No additional configuration needed</span> <span style="font-family: 'Montserrat', sans-serif; font-size: 18px; font-weight: bold;">No additional configuration needed</span>
</div> </div>
</div> </div>
</div> </div>
<!-- END OF FEATURES SECTION --> <!-- END OF FEATURES SECTION -->
<!-- SCREENSHOTS SECTION --> <!-- SCREENSHOTS SECTION -->
<div class="d-flex align-items-center" <div class="d-flex align-items-center" style="border-bottom: 2px solid #714B67; padding: 15px 0px;" id="screenshots">
style="border-bottom: 2px solid #714B67; padding: 15px 0px;"
id="screenshots">
<div class="d-flex justify-content-center align-items-center mr-2" <div class="d-flex justify-content-center align-items-center mr-2"
style="background-color: #F5F5F5; border-radius: 0px; width: 40px; height: 40px;"> style="background-color: #F5F5F5; border-radius: 0px; width: 40px; height: 40px;">
<img src="./assets/misc/pictures.png"/> <img src="./assets/misc/pictures.png" />
</div> </div>
<h2 class="mt-2" <h2 class="mt-2" style="font-family: 'Montserrat', sans-serif; font-size: 24px; font-weight: bold;">Screenshots
style="font-family: 'Montserrat', sans-serif; font-size: 24px; font-weight: bold;">
Screenshots
</h2> </h2>
</div> </div>
<div class="row"> <div class="row">
<div class="col-sm-12"> <div class="col-sm-12">
<div style="display: block; margin: 30px auto;"> <div style="display: block; margin: 30px auto;">
<h3 style="font-family: 'Montserrat', sans-serif; font-size: 18px; font-weight: bold;"> <h3 style="font-family: 'Montserrat', sans-serif; font-size: 18px; font-weight: bold;">Show a popup for asking if you want to save the changes.</h3>
Show a popup for asking if you want to save the changes.</h3>
<img src="./assets/screenshots/1.png" class="img-thumbnail"> <img src="./assets/screenshots/1.png" class="img-thumbnail">
</div> </div>
<div style="display: block; margin: 30px auto;"> <div style="display: block; margin: 30px auto;">
<h3 style="font-family: 'Montserrat', sans-serif; font-size: 18px; font-weight: bold;"> <h3 style="font-family: 'Montserrat', sans-serif; font-size: 18px; font-weight: bold;">By clicking cancel it won't save</h3>
By clicking cancel it won't save</h3>
<img src="./assets/screenshots/2.png" class="img-thumbnail"> <img src="./assets/screenshots/2.png" class="img-thumbnail">
</div> </div>
<div style="display: block; margin: 30px auto;"> <div style="display: block; margin: 30px auto;">
<h3 style="font-family: 'Montserrat', sans-serif; font-size: 18px; font-weight: bold;"> <h3 style="font-family: 'Montserrat', sans-serif; font-size: 18px; font-weight: bold;">If you want to save then click ok</h3>
If you want to save then click ok</h3>
<img src="./assets/screenshots/3.png" class="img-thumbnail"> <img src="./assets/screenshots/3.png" class="img-thumbnail">
</div> </div>
<div style="display: block; margin: 30px auto;"> <div style="display: block; margin: 30px auto;">
<h3 style="font-family: 'Montserrat', sans-serif; font-size: 18px; font-weight: bold;"> <h3 style="font-family: 'Montserrat', sans-serif; font-size: 18px; font-weight: bold;">The Internal Reference will be saved automatically</h3>
The Internal Reference will be saved automatically</h3>
<img src="./assets/screenshots/4.png" class="img-thumbnail"> <img src="./assets/screenshots/4.png" class="img-thumbnail">
</div> </div>
</div> </div>
</div> </div>
<!-- END OF SCREENSHOTS SECTION --> <!-- END OF SCREENSHOTS SECTION -->
<!-- RELATED PRODUCTS --> <!-- RELATED PRODUCTS -->
<div class="d-flex align-items-center" <div class="d-flex align-items-center" style="border-bottom: 2px solid #714B67; padding: 15px 0px;">
style="border-bottom: 2px solid #714B67; padding: 15px 0px;">
<div class="d-flex justify-content-center align-items-center mr-2" <div class="d-flex justify-content-center align-items-center mr-2"
style="background-color: #F5F5F5; border-radius: 0px; width: 40px; height: 40px;"> style="background-color: #F5F5F5; border-radius: 0px; width: 40px; height: 40px;">
<img src="assets/misc/categories.png"/> <img src="./assets/misc/categories.png" />
</div> </div>
<h2 class="mt-2" <h2 class="mt-2" style="font-family: 'Montserrat', sans-serif; font-size: 24px; font-weight: bold;">Related
style="font-family: 'Montserrat', sans-serif; font-size: 24px; font-weight: bold;">
Related
Products Products
</h2> </h2>
</div> </div>
@ -210,231 +183,198 @@
<!-- The slideshow --> <!-- The slideshow -->
<div class="carousel-inner" style="padding: 30px;"> <div class="carousel-inner" style="padding: 30px;">
<div class="carousel-item" style="min-height: 198.656px;"> <div class="carousel-item" style="min-height: 198.656px;">
<div class="col-xs-12 col-sm-4 col-md-4 mb16 mt16" <div class="col-xs-12 col-sm-4 col-md-4 mb16 mt16" style="float:left">
style="float:left"> <a href="https://apps.odoo.com/apps/modules/16.0/export_stockinfo_xls/" target="_blank">
<a href="https://apps.odoo.com/apps/modules/16.0/export_stockinfo_xls/"
target="_blank">
<div style="border-radius:10px"> <div style="border-radius:10px">
<img class="img img-responsive center-block" <img class="img img-responsive center-block" style="border-radius: 0px;"
style="border-radius: 0px;" src="./assets/modules/1.png">
src="./assets/modules/1.png">
</div> </div>
</a> </a>
</div> </div>
<div class="col-xs-12 col-sm-4 col-md-4 mb16 mt16" <div class="col-xs-12 col-sm-4 col-md-4 mb16 mt16" style="float:left">
style="float:left"> <a href="https://apps.odoo.com/apps/modules/16.0/custom_gantt_view/" target="_blank">
<a href="https://apps.odoo.com/apps/modules/16.0/custom_gantt_view/"
target="_blank">
<div style="border-radius:10px"> <div style="border-radius:10px">
<img class="img img-responsive center-block" <img class="img img-responsive center-block" style="border-radius: 0px;"
style="border-radius: 0px;" src="./assets/modules/2.png">
src="./assets/modules/2.png">
</div> </div>
</a> </a>
</div> </div>
<div class="col-xs-12 col-sm-4 col-md-4 mb16 mt16" style="float:left">
<div class="col-xs-12 col-sm-4 col-md-4 mb16 mt16" <a href="https://apps.odoo.com/apps/modules/16.0/sales_credit_limit/" target="_blank">
style="float:left">
<a href="https://apps.odoo.com/apps/modules/16.0/sales_credit_limit/"
target="_blank">
<div style="border-radius:10px"> <div style="border-radius:10px">
<img class="img img-responsive center-block" <img class="img img-responsive center-block" style="border-radius: 0px;"
style="border-radius: 0px;" src="./assets/modules/3.png">
src="./assets/modules/3.png">
</div> </div>
</a> </a>
</div> </div>
</div> </div>
<div class="carousel-item active" <div class="carousel-item active" style="min-height: 198.656px;">
style="min-height: 198.656px;"> <div class="col-xs-12 col-sm-4 col-md-4 mb16 mt16" style="float:left">
<div class="col-xs-12 col-sm-4 col-md-4 mb16 mt16" <a href="https://apps.odoo.com/apps/modules/16.0/base_account_budget/" target="_blank">
style="float:left">
<a href="https://apps.odoo.com/apps/modules/16.0/base_account_budget/"
target="_blank">
<div style="border-radius:10px"> <div style="border-radius:10px">
<img class="img img-responsive center-block" <img class="img img-responsive center-block" style="border-radius: 0px;"
style="border-radius: 0px;" src="./assets/modules/4.png">
src="./assets/modules/4.png">
</div> </div>
</a> </a>
</div> </div>
<div class="col-xs-12 col-sm-4 col-md-4 mb16 mt16" <div class="col-xs-12 col-sm-4 col-md-4 mb16 mt16" style="float:left">
style="float:left"> <a href="https://apps.odoo.com/apps/modules/16.0/product_to_quotation/" target="_blank">
<a href="https://apps.odoo.com/apps/modules/16.0/product_to_quotation/"
target="_blank">
<div style="border-radius:10px"> <div style="border-radius:10px">
<img class="img img-responsive center-block" <img class="img img-responsive center-block" style="border-radius: 0px;"
style="border-radius: 0px;" src="./assets/modules/5.png">
src="./assets/modules/5.png">
</div> </div>
</a> </a>
</div> </div>
<div class="col-xs-12 col-sm-4 col-md-4 mb16 mt16" <div class="col-xs-12 col-sm-4 col-md-4 mb16 mt16" style="float:left">
style="float:left"> <a href="https://apps.odoo.com/apps/modules/16.0/employee_documents_expiry/"
<a href="https://apps.odoo.com/apps/modules/16.0/employee_documents_expiry/"
target="_blank">
<div style="border-radius:10px"> <div style="border-radius:10px">
<img class="img img-responsive center-block" <img class="img img-responsive center-block" style="border-radius: 0px;"
style="border-radius: 0px;" src="./assets/modules/6.png">
src="./assets/modules/6.png">
</div> </div>
</a> </a>
</div> </div>
</div> </div>
</div> </div>
<!-- Left and right controls --> <!-- Left and right controls -->
<a class="carousel-control-prev" href="#demo1" data-slide="prev" <a class="carousel-control-prev" href="#demo1" data-slide="prev" style="width:35px; color:#000"> <span
style="width:35px; color:#000"> <span class="carousel-control-prev-icon"><i class="fa fa-chevron-left" style="font-size:24px"></i></span>
class="carousel-control-prev-icon"><i </a> <a class="carousel-control-next" href="#demo1" data-slide="next" style="width:35px; color:#000">
class="fa fa-chevron-left" <span class="carousel-control-next-icon"><i class="fa fa-chevron-right"
style="font-size:24px"></i></span>
</a> <a class="carousel-control-next" href="#demo1"
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> style="font-size:24px"></i></span>
</a> </a>
</div> </div>
</div> </div>
</div> </div>
<!-- END OF RELATED PRODUCTS --> <!-- END OF RELATED PRODUCTS -->
<!-- OUR SERVICES --> <!-- OUR SERVICES -->
<div class="d-flex align-items-center"
style="border-bottom: 2px solid #714B67; padding: 15px 0px;"> <div class="d-flex align-items-center" style="border-bottom: 2px solid #714B67; padding: 15px 0px;">
<div class="d-flex justify-content-center align-items-center mr-2" <div class="d-flex justify-content-center align-items-center mr-2"
style="background-color: #F5F5F5; border-radius: 0px; width: 40px; height: 40px;"> style="background-color: #F5F5F5; border-radius: 0px; width: 40px; height: 40px;">
<img src="./assets/misc/star.png"/> <img src="./assets/misc/star.png" />
</div> </div>
<h2 class="mt-2" <h2 class="mt-2" style="font-family: 'Montserrat', sans-serif; font-size: 24px; font-weight: bold;">Our Services
style="font-family: 'Montserrat', sans-serif; font-size: 24px; font-weight: bold;">
Our Services
</h2> </h2>
</div> </div>
<div class="container my-5"> <div class="container my-5">
<div class="row"> <div class="row">
<div class="col-lg-4 d-flex flex-column justify-content-center align-items-center my-4"> <div class="col-lg-4 d-flex flex-column justify-content-center align-items-center my-4">
<div class="d-flex justify-content-center align-items-center mx-3 my-3" <div class="d-flex justify-content-center align-items-center mx-3 my-3"
style="background-color: #1dd1a1 !important; border-radius: 15px !important; height: 80px; width: 80px;"> style="background-color: #1dd1a1 !important; border-radius: 15px !important; height: 80px; width: 80px;">
<img src="assets/icons/cogs.png" class="img-responsive" <img src="assets/icons/cogs.png" class="img-responsive" height="48px" width="48px">
height="48px" width="48px">
</div> </div>
<h6 class="text-center" <h6 class="text-center" style="font-family: Montserrat, 'sans-serif' !important; font-weight: bold;">
style="font-family: Montserrat, 'sans-serif' !important; font-weight: bold;">
Odoo Odoo
Customization</h6> Customization</h6>
</div> </div>
<div class="col-lg-4 d-flex flex-column justify-content-center align-items-center my-4"> <div class="col-lg-4 d-flex flex-column justify-content-center align-items-center my-4">
<div class="d-flex justify-content-center align-items-center mx-3 my-3" <div class="d-flex justify-content-center align-items-center mx-3 my-3"
style="background-color: #ff6b6b !important; border-radius: 15px !important; height: 80px; width: 80px;"> style="background-color: #ff6b6b !important; border-radius: 15px !important; height: 80px; width: 80px;">
<img src="assets/icons/wrench.png" class="img-responsive" <img src="assets/icons/wrench.png" class="img-responsive" height="48px" width="48px">
height="48px" width="48px">
</div> </div>
<h6 class="text-center" <h6 class="text-center" style="font-family: Montserrat, 'sans-serif' !important; font-weight: bold;">
style="font-family: Montserrat, 'sans-serif' !important; font-weight: bold;">
Odoo Odoo
Implementation</h6> Implementation</h6>
</div> </div>
<div class="col-lg-4 d-flex flex-column justify-content-center align-items-center my-4"> <div class="col-lg-4 d-flex flex-column justify-content-center align-items-center my-4">
<div class="d-flex justify-content-center align-items-center mx-3 my-3" <div class="d-flex justify-content-center align-items-center mx-3 my-3"
style="background-color: #6462CD !important; border-radius: 15px !important; height: 80px; width: 80px;"> style="background-color: #6462CD !important; border-radius: 15px !important; height: 80px; width: 80px;">
<img src="assets/icons/lifebuoy.png" class="img-responsive" <img src="assets/icons/lifebuoy.png" class="img-responsive" height="48px" width="48px">
height="48px" width="48px">
</div> </div>
<h6 class="text-center" <h6 class="text-center" style="font-family: Montserrat, 'sans-serif' !important; font-weight: bold;">
style="font-family: Montserrat, 'sans-serif' !important; font-weight: bold;">
Odoo Odoo
Support</h6> Support</h6>
</div> </div>
<div class="col-lg-4 d-flex flex-column justify-content-center align-items-center my-4"> <div class="col-lg-4 d-flex flex-column justify-content-center align-items-center my-4">
<div class="d-flex justify-content-center align-items-center mx-3 my-3" <div class="d-flex justify-content-center align-items-center mx-3 my-3"
style="background-color: #ffa801 !important; border-radius: 15px !important; height: 80px; width: 80px;"> style="background-color: #ffa801 !important; border-radius: 15px !important; height: 80px; width: 80px;">
<img src="assets/icons/user.png" class="img-responsive" <img src="assets/icons/user.png" class="img-responsive" height="48px" width="48px">
height="48px" width="48px">
</div> </div>
<h6 class="text-center" <h6 class="text-center" style="font-family: Montserrat, 'sans-serif' !important; font-weight: bold;">
style="font-family: Montserrat, 'sans-serif' !important; font-weight: bold;">
Hire Hire
Odoo Odoo
Developer</h6> Developer</h6>
</div> </div>
<div class="col-lg-4 d-flex flex-column justify-content-center align-items-center my-4"> <div class="col-lg-4 d-flex flex-column justify-content-center align-items-center my-4">
<div class="d-flex justify-content-center align-items-center mx-3 my-3" <div class="d-flex justify-content-center align-items-center mx-3 my-3"
style="background-color: #54a0ff !important; border-radius: 15px !important; height: 80px; width: 80px;"> style="background-color: #54a0ff !important; border-radius: 15px !important; height: 80px; width: 80px;">
<img src="assets/icons/puzzle.png" class="img-responsive" <img src="assets/icons/puzzle.png" class="img-responsive" height="48px" width="48px">
height="48px" width="48px">
</div> </div>
<h6 class="text-center" <h6 class="text-center" style="font-family: Montserrat, 'sans-serif' !important; font-weight: bold;">
style="font-family: Montserrat, 'sans-serif' !important; font-weight: bold;">
Odoo Odoo
Integration</h6> Integration</h6>
</div> </div>
<div class="col-lg-4 d-flex flex-column justify-content-center align-items-center my-4"> <div class="col-lg-4 d-flex flex-column justify-content-center align-items-center my-4">
<div class="d-flex justify-content-center align-items-center mx-3 my-3" <div class="d-flex justify-content-center align-items-center mx-3 my-3"
style="background-color: #6d7680 !important; border-radius: 15px !important; height: 80px; width: 80px;"> style="background-color: #6d7680 !important; border-radius: 15px !important; height: 80px; width: 80px;">
<img src="assets/icons/update.png" class="img-responsive" <img src="assets/icons/update.png" class="img-responsive" height="48px" width="48px">
height="48px" width="48px">
</div> </div>
<h6 class="text-center" <h6 class="text-center" style="font-family: Montserrat, 'sans-serif' !important; font-weight: bold;">
style="font-family: Montserrat, 'sans-serif' !important; font-weight: bold;">
Odoo Odoo
Migration</h6> Migration</h6>
</div> </div>
<div class="col-lg-4 d-flex flex-column justify-content-center align-items-center my-4"> <div class="col-lg-4 d-flex flex-column justify-content-center align-items-center my-4">
<div class="d-flex justify-content-center align-items-center mx-3 my-3" <div class="d-flex justify-content-center align-items-center mx-3 my-3"
style="background-color: #786fa6 !important; border-radius: 15px !important; height: 80px; width: 80px;"> style="background-color: #786fa6 !important; border-radius: 15px !important; height: 80px; width: 80px;">
<img src="assets/icons/consultation.png" class="img-responsive" <img src="assets/icons/consultation.png" class="img-responsive" height="48px" width="48px">
height="48px" width="48px">
</div> </div>
<h6 class="text-center" <h6 class="text-center" style="font-family: Montserrat, 'sans-serif' !important; font-weight: bold;">
style="font-family: Montserrat, 'sans-serif' !important; font-weight: bold;">
Odoo Odoo
Consultancy</h6> Consultancy</h6>
</div> </div>
<div class="col-lg-4 d-flex flex-column justify-content-center align-items-center my-4"> <div class="col-lg-4 d-flex flex-column justify-content-center align-items-center my-4">
<div class="d-flex justify-content-center align-items-center mx-3 my-3" <div class="d-flex justify-content-center align-items-center mx-3 my-3"
style="background-color: #f8a5c2 !important; border-radius: 15px !important; height: 80px; width: 80px;"> style="background-color: #f8a5c2 !important; border-radius: 15px !important; height: 80px; width: 80px;">
<img src="assets/icons/training.png" class="img-responsive" <img src="assets/icons/training.png" class="img-responsive" height="48px" width="48px">
height="48px" width="48px">
</div> </div>
<h6 class="text-center" <h6 class="text-center" style="font-family: Montserrat, 'sans-serif' !important; font-weight: bold;">
style="font-family: Montserrat, 'sans-serif' !important; font-weight: bold;">
Odoo Odoo
Implementation</h6> Implementation</h6>
</div> </div>
<div class="col-lg-4 d-flex flex-column justify-content-center align-items-center my-4"> <div class="col-lg-4 d-flex flex-column justify-content-center align-items-center my-4">
<div class="d-flex justify-content-center align-items-center mx-3 my-3" <div class="d-flex justify-content-center align-items-center mx-3 my-3"
style="background-color: #e6be26 !important; border-radius: 15px !important; height: 80px; width: 80px;"> style="background-color: #e6be26 !important; border-radius: 15px !important; height: 80px; width: 80px;">
<img src="assets/icons/license.png" class="img-responsive" <img src="assets/icons/license.png" class="img-responsive" height="48px" width="48px">
height="48px" width="48px">
</div> </div>
<h6 class="text-center" <h6 class="text-center" style="font-family: Montserrat, 'sans-serif' !important; font-weight: bold;">
style="font-family: Montserrat, 'sans-serif' !important; font-weight: bold;">
Odoo Odoo
Licensing Consultancy</h6> Licensing Consultancy</h6>
</div> </div>
</div> </div>
</div> </div>
<!-- END OF OUR SERVICES -->
<!-- END OF END OF OUR SERVICES -->
<!-- OUR INDUSTRIES --> <!-- OUR INDUSTRIES -->
<div class="d-flex align-items-center"
style="border-bottom: 2px solid #714B67; padding: 15px 0px;"> <div class="d-flex align-items-center" style="border-bottom: 2px solid #714B67; padding: 15px 0px;">
<div class="d-flex justify-content-center align-items-center mr-2" <div class="d-flex justify-content-center align-items-center mr-2"
style="background-color: #F5F5F5; border-radius: 0px; width: 40px; height: 40px;"> style="background-color: #F5F5F5; border-radius: 0px; width: 40px; height: 40px;">
<img src="./assets/misc/corporate.png"/> <img src="./assets/misc/corporate.png" />
</div> </div>
<h2 class="mt-2" <h2 class="mt-2" style="font-family: 'Montserrat', sans-serif; font-size: 24px; font-weight: bold;">Our
style="font-family: 'Montserrat', sans-serif; font-size: 24px; font-weight: bold;">
Our
Industries Industries
</h2> </h2>
</div> </div>
<div class="container my-5"> <div class="container my-5">
<div class="row"> <div class="row">
<div class="col-lg-3"> <div class="col-lg-3">
<div class="my-4 d-flex flex-column justify-content-center" <div class="my-4 d-flex flex-column justify-content-center"
style="background-color: #f6f8f9 !important; border-radius: 0px; padding: 2rem !important; height: 250px !important;"> style="background-color: #f6f8f9 !important; border-radius: 0px; padding: 2rem !important; height: 250px !important;">
<img src="./assets/icons/trading-black.png" <img src="./assets/icons/trading-black.png" class="img-responsive mb-3" height="48px" width="48px">
class="img-responsive mb-3" height="48px" width="48px">
<h5 style="font-family: Montserrat, sans-serif !important; color: #000 !important; font-weight: bold;"> <h5 style="font-family: Montserrat, sans-serif !important; color: #000 !important; font-weight: bold;">
Trading Trading
</h5> </h5>
@ -444,11 +384,11 @@
sell your products</p> sell your products</p>
</div> </div>
</div> </div>
<div class="col-lg-3"> <div class="col-lg-3">
<div class="my-4 d-flex flex-column justify-content-center" <div class="my-4 d-flex flex-column justify-content-center"
style="background-color: #f6f8f9 !important; border-radius: 0px; padding: 2rem !important; height: 250px !important;"> style="background-color: #f6f8f9 !important; border-radius: 0px; padding: 2rem !important; height: 250px !important;">
<img src="./assets/icons/pos-black.png" <img src="./assets/icons/pos-black.png" class="img-responsive mb-3" height="48px" width="48px">
class="img-responsive mb-3" height="48px" width="48px">
<h5 style="font-family: Montserrat, sans-serif !important; color: #000 !important; font-weight: bold;"> <h5 style="font-family: Montserrat, sans-serif !important; color: #000 !important; font-weight: bold;">
POS POS
</h5> </h5>
@ -458,11 +398,11 @@
and convivial experience</p> and convivial experience</p>
</div> </div>
</div> </div>
<div class="col-lg-3"> <div class="col-lg-3">
<div class="my-4 d-flex flex-column justify-content-center" <div class="my-4 d-flex flex-column justify-content-center"
style="background-color: #f6f8f9 !important; border-radius: 0px; padding: 2rem !important; height: 250px !important;"> style="background-color: #f6f8f9 !important; border-radius: 0px; padding: 2rem !important; height: 250px !important;">
<img src="./assets/icons/education-black.png" <img src="./assets/icons/education-black.png" class="img-responsive mb-3" height="48px" width="48px">
class="img-responsive mb-3" height="48px" width="48px">
<h5 style="font-family: Montserrat, sans-serif !important; color: #000 !important; font-weight: bold;"> <h5 style="font-family: Montserrat, sans-serif !important; color: #000 !important; font-weight: bold;">
Education Education
</h5> </h5>
@ -471,12 +411,12 @@
educational management</p> educational management</p>
</div> </div>
</div> </div>
<div class="col-lg-3"> <div class="col-lg-3">
<div class="my-4 d-flex flex-column justify-content-center" <div class="my-4 d-flex flex-column justify-content-center"
style="background-color: #f6f8f9 !important; border-radius: 0px; padding: 2rem !important; height: 250px !important;"> style="background-color: #f6f8f9 !important; border-radius: 0px; padding: 2rem !important; height: 250px !important;">
<img src="./assets/icons/manufacturing-black.png" <img src="./assets/icons/manufacturing-black.png" class="img-responsive mb-3" height="48px"
class="img-responsive mb-3" height="48px" width="48px">
width="48px">
<h5 style="font-family: Montserrat, sans-serif !important; color: #000 !important; font-weight: bold;"> <h5 style="font-family: Montserrat, sans-serif !important; color: #000 !important; font-weight: bold;">
Manufacturing Manufacturing
</h5> </h5>
@ -485,11 +425,11 @@
schedule your operations</p> schedule your operations</p>
</div> </div>
</div> </div>
<div class="col-lg-3"> <div class="col-lg-3">
<div class="my-4 d-flex flex-column justify-content-center" <div class="my-4 d-flex flex-column justify-content-center"
style="background-color: #f6f8f9 !important; border-radius: 0px; padding: 2rem !important; height: 250px !important;"> style="background-color: #f6f8f9 !important; border-radius: 0px; padding: 2rem !important; height: 250px !important;">
<img src="./assets/icons/ecom-black.png" <img src="./assets/icons/ecom-black.png" class="img-responsive mb-3" height="48px" width="48px">
class="img-responsive mb-3" height="48px" width="48px">
<h5 style="font-family: Montserrat, sans-serif !important; color: #000 !important; font-weight: bold;"> <h5 style="font-family: Montserrat, sans-serif !important; color: #000 !important; font-weight: bold;">
E-commerce &amp; Website E-commerce &amp; Website
</h5> </h5>
@ -502,9 +442,8 @@
<div class="col-lg-3"> <div class="col-lg-3">
<div class="my-4 d-flex flex-column justify-content-center" <div class="my-4 d-flex flex-column justify-content-center"
style="background-color: #f6f8f9 !important; border-radius: 0px; padding: 2rem !important; height: 250px !important;"> style="background-color: #f6f8f9 !important; border-radius: 0px; padding: 2rem !important; height: 250px !important;">
<img src="./assets/icons/service-black.png" <img src="./assets/icons/service-black.png" class="img-responsive mb-3" height="48px" width="48px">
class="img-responsive mb-3" height="48px" width="48px">
<h5 style="font-family: Montserrat, sans-serif !important; color: #000 !important; font-weight: bold;"> <h5 style="font-family: Montserrat, sans-serif !important; color: #000 !important; font-weight: bold;">
Service Management Service Management
</h5> </h5>
@ -513,11 +452,11 @@
services and invoice</p> services and invoice</p>
</div> </div>
</div> </div>
<div class="col-lg-3"> <div class="col-lg-3">
<div class="my-4 d-flex flex-column justify-content-center" <div class="my-4 d-flex flex-column justify-content-center"
style="background-color: #f6f8f9 !important; border-radius: 0px; padding: 2rem !important; height: 250px !important;"> style="background-color: #f6f8f9 !important; border-radius: 0px; padding: 2rem !important; height: 250px !important;">
<img src="./assets/icons/restaurant-black.png" <img src="./assets/icons/restaurant-black.png" class="img-responsive mb-3" height="48px" width="48px">
class="img-responsive mb-3" height="48px" width="48px">
<h5 style="font-family: Montserrat, sans-serif !important; color: #000 !important; font-weight: bold;"> <h5 style="font-family: Montserrat, sans-serif !important; color: #000 !important; font-weight: bold;">
Restaurant Restaurant
</h5> </h5>
@ -526,11 +465,11 @@
restaurant methodically</p> restaurant methodically</p>
</div> </div>
</div> </div>
<div class="col-lg-3"> <div class="col-lg-3">
<div class="my-4 d-flex flex-column justify-content-center" <div class="my-4 d-flex flex-column justify-content-center"
style="background-color: #f6f8f9 !important; border-radius: 0px; padding: 2rem !important; height: 250px !important;"> style="background-color: #f6f8f9 !important; border-radius: 0px; padding: 2rem !important; height: 250px !important;">
<img src="./assets/icons/hotel-black.png" <img src="./assets/icons/hotel-black.png" class="img-responsive mb-3" height="48px" width="48px">
class="img-responsive mb-3" height="48px" width="48px">
<h5 style="font-family: Montserrat, sans-serif !important; color: #000 !important; font-weight: bold;"> <h5 style="font-family: Montserrat, sans-serif !important; color: #000 !important; font-weight: bold;">
Hotel Management Hotel Management
</h5> </h5>
@ -542,17 +481,16 @@
</div> </div>
</div> </div>
</div> </div>
<!-- END OF OUR INDUSTRIES -->
<!-- END OF END OF OUR INDUSTRIES -->
<!-- SUPPORT --> <!-- SUPPORT -->
<div class="d-flex align-items-center" <div class="d-flex align-items-center" style="border-bottom: 2px solid #714B67; padding: 15px 0px;">
style="border-bottom: 2px solid #714B67; padding: 15px 0px;">
<div class="d-flex justify-content-center align-items-center mr-2" <div class="d-flex justify-content-center align-items-center mr-2"
style="background-color: #F5F5F5; border-radius: 0px; width: 40px; height: 40px;"> style="background-color: #F5F5F5; border-radius: 0px; width: 40px; height: 40px;">
<img src="./assets/misc/customer-support.png"/> <img src="./assets/misc/customer-support.png" />
</div> </div>
<h2 class="mt-2" <h2 class="mt-2" style="font-family: 'Montserrat', sans-serif; font-size: 24px; font-weight: bold;">Support
style="font-family: 'Montserrat', sans-serif; font-size: 24px; font-weight: bold;">
Support
</h2> </h2>
</div> </div>
<div class="container mt-5"> <div class="container mt-5">
@ -560,14 +498,12 @@
<div class="col-sm-12 col-md-6"> <div class="col-sm-12 col-md-6">
<div style="background-color: #F6F8F9; padding: 30px; display: flex; align-items: center;"> <div style="background-color: #F6F8F9; padding: 30px; display: flex; align-items: center;">
<div class="mr-4" <div class="mr-4"
style="background-color: #714B67; display: inline-block; height: 70px; width: 70px; display: flex; align-items: center; justify-content: center;"> style="background-color: #714B67; display: inline-block; height: 70px; width: 70px; display: flex; align-items: center; justify-content: center;">
<img src="./assets/misc/support.png" height="48" width="48" <img src="./assets/misc/support.png" height="48" width="48" style="width: 42px; height: 42px;" />
style="width: 42px; height: 42px;"/>
</div> </div>
<div> <div>
<h4>Need Help?</h4> <h4>Need Help?</h4>
<p style="line-height: 100%;">Got questions or need help? <p style="line-height: 100%;">Got questions or need help? Get in touch.</p>
Get in touch.</p>
<a href="mailto:odoo@cybrosys.com"> <a href="mailto:odoo@cybrosys.com">
<p style="font-weight: 400; font-size: 28px; line-height: 80%; color: #714B67;"> <p style="font-weight: 400; font-size: 28px; line-height: 80%; color: #714B67;">
odoo@cybrosys.com</p> odoo@cybrosys.com</p>
@ -578,16 +514,14 @@
<div class="col-sm-12 col-md-6"> <div class="col-sm-12 col-md-6">
<div style="background-color: #F6F8F9; padding: 30px; display: flex; align-items: center;"> <div style="background-color: #F6F8F9; padding: 30px; display: flex; align-items: center;">
<div class="mr-4" <div class="mr-4"
style="background-color: #2AC44D; display: inline-block; height: 70px; width: 70px; display: flex; align-items: center; justify-content: center;"> style="background-color: #2AC44D; display: inline-block; height: 70px; width: 70px; display: flex; align-items: center; justify-content: center;">
<img src="./assets/misc/whatsapp.png" height="52" <img src="./assets/misc/whatsapp.png" height="52" width="52" style="width: 52px; height: 52px;" />
width="52" style="width: 52px; height: 52px;"/>
</div> </div>
<div> <div>
<h4>WhatsApp</h4> <h4>WhatsApp</h4>
<p style="line-height: 100%;">Say hi to us on WhatsApp!</p> <p style="line-height: 100%;">Say hi to us on WhatsApp!</p>
<a href="https://api.whatsapp.com/send?phone=918606827707"> <a href="https://api.whatsapp.com/send?phone=918606827707">
<p style="font-weight: 400; font-size: 28px; line-height: 80%; color: #714B67;"> <p style="font-weight: 400; font-size: 28px; line-height: 80%; color: #714B67;">+91 86068
+91 86068
27707</p> 27707</p>
</a> </a>
</div> </div>
@ -597,7 +531,7 @@
<div class="row"> <div class="row">
<div class="col-sm-12 my-5 d-flex justify-content-center align-items-center"> <div class="col-sm-12 my-5 d-flex justify-content-center align-items-center">
<img src="./assets/misc/logo.png" width="144" height="31" <img src="./assets/misc/logo.png" width="144" height="31"
style="width:144px; height: 31px; margin-top: 40px;"/> style="width:144px; height: 31px; margin-top: 40px;" />
</div> </div>
</div> </div>
</div> </div>

4
auto_save_restrict/static/src/js/form_controller.js

@ -12,6 +12,7 @@ patch(FormController.prototype,'FormController', {
this.beforeLeaveHook = false this.beforeLeaveHook = false
useSetupView({ useSetupView({
beforeLeave: () => this.beforeLeave(), beforeLeave: () => this.beforeLeave(),
beforeUnload: (ev) => this.beforeUnload(ev),
}); });
}, },
async beforeLeave() { async beforeLeave() {
@ -24,5 +25,8 @@ patch(FormController.prototype,'FormController', {
} }
this.beforeLeaveHook = true this.beforeLeaveHook = true
} }
},
beforeUnload: async (ev) => {
ev.preventDefault();
} }
}); });

4
auto_save_restrict/static/src/js/list_controller.js

@ -9,6 +9,7 @@ patch(ListController.prototype,'FormController', {
this._super(); this._super();
useSetupView({ useSetupView({
beforeLeave: () => this.beforeLeave(), beforeLeave: () => this.beforeLeave(),
beforeUnload: (ev) => this.beforeUnload(ev),
}); });
}, },
async beforeLeave() { async beforeLeave() {
@ -19,5 +20,8 @@ patch(ListController.prototype,'FormController', {
this.onClickDiscard(); this.onClickDiscard();
} }
} }
},
beforeUnload: async (ev) => {
ev.preventDefault();
} }
}); });

Loading…
Cancel
Save