Browse Source

[ADD] Initial Commit

pull/195/head
Ajmal Cybro 4 years ago
parent
commit
e3a4395760
  1. 54
      login_user_detail/README.rst
  2. 23
      login_user_detail/__init__.py
  3. 41
      login_user_detail/__manifest__.py
  4. 6
      login_user_detail/doc/RELEASE_NOTES.md
  5. 23
      login_user_detail/models/__init__.py
  6. 53
      login_user_detail/models/login_user_details.py
  7. 2
      login_user_detail/security/ir.model.access.csv
  8. BIN
      login_user_detail/static/description/assets/icons/check.png
  9. BIN
      login_user_detail/static/description/assets/icons/chevron.png
  10. BIN
      login_user_detail/static/description/assets/icons/cogs.png
  11. BIN
      login_user_detail/static/description/assets/icons/consultation.png
  12. BIN
      login_user_detail/static/description/assets/icons/ecom-black.png
  13. BIN
      login_user_detail/static/description/assets/icons/education-black.png
  14. BIN
      login_user_detail/static/description/assets/icons/hotel-black.png
  15. BIN
      login_user_detail/static/description/assets/icons/license.png
  16. BIN
      login_user_detail/static/description/assets/icons/lifebuoy.png
  17. BIN
      login_user_detail/static/description/assets/icons/manufacturing-black.png
  18. BIN
      login_user_detail/static/description/assets/icons/pos-black.png
  19. BIN
      login_user_detail/static/description/assets/icons/puzzle.png
  20. BIN
      login_user_detail/static/description/assets/icons/restaurant-black.png
  21. BIN
      login_user_detail/static/description/assets/icons/service-black.png
  22. BIN
      login_user_detail/static/description/assets/icons/trading-black.png
  23. BIN
      login_user_detail/static/description/assets/icons/training.png
  24. BIN
      login_user_detail/static/description/assets/icons/update.png
  25. BIN
      login_user_detail/static/description/assets/icons/user.png
  26. BIN
      login_user_detail/static/description/assets/icons/wrench.png
  27. BIN
      login_user_detail/static/description/assets/modules/approval_image.png
  28. BIN
      login_user_detail/static/description/assets/modules/dynamic_image.png
  29. BIN
      login_user_detail/static/description/assets/modules/list_view_image.png
  30. BIN
      login_user_detail/static/description/assets/modules/multiple_ref_image.png
  31. BIN
      login_user_detail/static/description/assets/modules/print_image.png
  32. BIN
      login_user_detail/static/description/assets/modules/product_return_image.png
  33. BIN
      login_user_detail/static/description/assets/screenshots/hero.png
  34. BIN
      login_user_detail/static/description/assets/screenshots/screenshot1.png
  35. BIN
      login_user_detail/static/description/banner.png
  36. BIN
      login_user_detail/static/description/cybro_logo.png
  37. BIN
      login_user_detail/static/description/cybrosys-login-user-details.png
  38. BIN
      login_user_detail/static/description/icon.png
  39. 524
      login_user_detail/static/description/index.html
  40. BIN
      login_user_detail/static/description/login.png
  41. 42
      login_user_detail/views/login_user_views.xml
  42. 34
      mobile_service_shop/README.rst
  43. 24
      mobile_service_shop/__init__.py
  44. 56
      mobile_service_shop/__manifest__.py
  45. 23
      mobile_service_shop/data/mobile_service_data.xml
  46. 24
      mobile_service_shop/data/mobile_service_email_template.xml
  47. 7
      mobile_service_shop/doc/RELEASE_NOTES.md
  48. 25
      mobile_service_shop/models/__init__.py
  49. 402
      mobile_service_shop/models/mobile_service.py
  50. 36
      mobile_service_shop/models/product.py
  51. 91
      mobile_service_shop/models/product_order_line.py
  52. 46
      mobile_service_shop/models/service_ticket.py
  53. 12
      mobile_service_shop/reports/mobile_service_ticket.xml
  54. 83
      mobile_service_shop/reports/service_ticket_template.xml
  55. 15
      mobile_service_shop/security/ir.model.access.csv
  56. 36
      mobile_service_shop/security/security.xml
  57. BIN
      mobile_service_shop/static/description/assets/icons/check.png
  58. BIN
      mobile_service_shop/static/description/assets/icons/chevron.png
  59. BIN
      mobile_service_shop/static/description/assets/icons/cogs.png
  60. BIN
      mobile_service_shop/static/description/assets/icons/consultation.png
  61. BIN
      mobile_service_shop/static/description/assets/icons/ecom-black.png
  62. BIN
      mobile_service_shop/static/description/assets/icons/education-black.png
  63. BIN
      mobile_service_shop/static/description/assets/icons/hotel-black.png
  64. BIN
      mobile_service_shop/static/description/assets/icons/license.png
  65. BIN
      mobile_service_shop/static/description/assets/icons/lifebuoy.png
  66. BIN
      mobile_service_shop/static/description/assets/icons/logo.png
  67. BIN
      mobile_service_shop/static/description/assets/icons/manufacturing-black.png
  68. BIN
      mobile_service_shop/static/description/assets/icons/pos-black.png
  69. BIN
      mobile_service_shop/static/description/assets/icons/puzzle.png
  70. BIN
      mobile_service_shop/static/description/assets/icons/restaurant-black.png
  71. BIN
      mobile_service_shop/static/description/assets/icons/service-black.png
  72. BIN
      mobile_service_shop/static/description/assets/icons/trading-black.png
  73. BIN
      mobile_service_shop/static/description/assets/icons/training.png
  74. BIN
      mobile_service_shop/static/description/assets/icons/update.png
  75. BIN
      mobile_service_shop/static/description/assets/icons/user.png
  76. BIN
      mobile_service_shop/static/description/assets/icons/wrench.png
  77. BIN
      mobile_service_shop/static/description/assets/modules/approval_image.png
  78. BIN
      mobile_service_shop/static/description/assets/modules/budget_image.png
  79. BIN
      mobile_service_shop/static/description/assets/modules/export_image.png
  80. BIN
      mobile_service_shop/static/description/assets/modules/magento_image.png
  81. BIN
      mobile_service_shop/static/description/assets/modules/mobile_service_shop_pro.png
  82. BIN
      mobile_service_shop/static/description/assets/modules/pos_image.png
  83. BIN
      mobile_service_shop/static/description/assets/modules/shopify_image.png
  84. BIN
      mobile_service_shop/static/description/assets/screenshots/hero.png
  85. BIN
      mobile_service_shop/static/description/assets/screenshots/mobile-1.png
  86. BIN
      mobile_service_shop/static/description/assets/screenshots/mobile-10.png
  87. BIN
      mobile_service_shop/static/description/assets/screenshots/mobile-11.png
  88. BIN
      mobile_service_shop/static/description/assets/screenshots/mobile-2.png
  89. BIN
      mobile_service_shop/static/description/assets/screenshots/mobile-3.png
  90. BIN
      mobile_service_shop/static/description/assets/screenshots/mobile-4.png
  91. BIN
      mobile_service_shop/static/description/assets/screenshots/mobile-5.png
  92. BIN
      mobile_service_shop/static/description/assets/screenshots/mobile-6.png
  93. BIN
      mobile_service_shop/static/description/assets/screenshots/mobile-7.png
  94. BIN
      mobile_service_shop/static/description/assets/screenshots/mobile-8.png
  95. BIN
      mobile_service_shop/static/description/assets/screenshots/mobile-9.png
  96. BIN
      mobile_service_shop/static/description/banner.png
  97. BIN
      mobile_service_shop/static/description/icon.png
  98. 849
      mobile_service_shop/static/description/index.html
  99. 6
      mobile_service_shop/static/src/css/mobile_service.css
  100. 45
      mobile_service_shop/views/brand.xml

54
login_user_detail/README.rst

@ -0,0 +1,54 @@
.. image:: https://img.shields.io/badge/licence-AGPL--1-blue.svg
:target: http://www.gnu.org/licenses/agpl-3.0-standalone.html
:alt: License: AGPL-3
User Log Details
================
This module developed to record login details of user.
Installation
============
Just select it from available modules to install it, there is no need to extra installations.
Configuration
=============
Nothing to configure.
Company
-------
* `Cybrosys Techno Solutions <https://cybrosys.com/>`__
Credits
-------
* Developer:
Saritha @ cybrosys
Muhammad P @ cybrosys
Noorjahan P @ cybrosys
Contacts
--------
* Mail Contact : odoo@cybrosys.com
* Website : https://cybrosys.com
Bug Tracker
-----------
Bugs are tracked on GitHub Issues. In case of trouble, please check there if your issue has already been reported.
Maintainer
==========
.. image:: https://cybrosys.com/images/logo.png
:target: https://cybrosys.com
This module is maintained by Cybrosys Technologies.
For support and more information, please visit `Our Website <https://cybrosys.com/>`__
Further information
===================
HTML Description: `<static/description/index.html>`__

23
login_user_detail/__init__.py

@ -0,0 +1,23 @@
# -*- coding: utf-8 -*-
#############################################################################
#
# Cybrosys Technologies Pvt. Ltd.
#
# Copyright (C) 2019-TODAY Cybrosys Technologies(<https://www.cybrosys.com>).
# Author: Your Name (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

41
login_user_detail/__manifest__.py

@ -0,0 +1,41 @@
# -*- coding: utf-8 -*-
#############################################################################
#
# Cybrosys Technologies Pvt. Ltd.
#
# Copyright (C) 2020-TODAY Cybrosys Technologies(<https://www.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': "User Log Details",
'version': '15.0.1.0.0',
'summary': """Login User Details & IP Address""",
'description': """This module records login information of user""",
'author': "Cybrosys Techno Solutions ",
'company': "Cybrosys Techno Solutions ",
'maintainer': 'Cybrosys Techno Solutions',
'website': "https://www.cybrosys.com",
'category': 'Tools',
'depends': ['base'],
'license': 'AGPL-3',
'data': [
'security/ir.model.access.csv',
'views/login_user_views.xml'],
'demo': [],
'images': ['static/description/banner.png'],
'installable': True,
'auto_install': False,
}

6
login_user_detail/doc/RELEASE_NOTES.md

@ -0,0 +1,6 @@
## Module <login_user_detail>
#### 08.10.2020
#### Version 15.0.1.0.0
#### ADD
- Initial Commit for login_user_details

23
login_user_detail/models/__init__.py

@ -0,0 +1,23 @@
# -*- coding: utf-8 -*-
#############################################################################
#
# Cybrosys Technologies Pvt. Ltd.
#
# Copyright (C) 2019-TODAY Cybrosys Technologies(<https://www.cybrosys.com>).
# Author: Your Name (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 login_user_details

53
login_user_detail/models/login_user_details.py

@ -0,0 +1,53 @@
# -*- coding: utf-8 -*-
#############################################################################
#
# Cybrosys Technologies Pvt. Ltd.
#
# Copyright (C) 2019-TODAY Cybrosys Technologies(<https://www.cybrosys.com>).
# Author: Your Name (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/>.
#
#############################################################################
import logging
from itertools import chain
from odoo.http import request
from odoo import models, fields, api
_logger = logging.getLogger(__name__)
USER_PRIVATE_FIELDS = ['password']
concat = chain.from_iterable
class LoginUserDetail(models.Model):
_inherit = 'res.users'
@api.model
def _check_credentials(self, password, user_agent_env):
result = super(LoginUserDetail, self)._check_credentials(password, user_agent_env)
ip_address = request.httprequest.environ['REMOTE_ADDR']
vals = {'name': self.name,
'ip_address': ip_address
}
self.env['login.detail'].sudo().create(vals)
return result
class LoginUpdate(models.Model):
_name = 'login.detail'
_description = 'Login Details'
name = fields.Char(string="User Name")
date_time = fields.Datetime(string="Login Date And Time", default=lambda self: fields.datetime.now())
ip_address = fields.Char(string="IP Address")

2
login_user_detail/security/ir.model.access.csv

@ -0,0 +1,2 @@
id,name,model_id:id,group_id:id,perm_read,perm_write,perm_create,perm_unlink
access_login_user_detail,login_user_detail_login_detail,model_login_detail,,1,1,1,1
1 id name model_id:id group_id:id perm_read perm_write perm_create perm_unlink
2 access_login_user_detail login_user_detail_login_detail model_login_detail 1 1 1 1

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

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.6 KiB

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

Binary file not shown.

After

Width:  |  Height:  |  Size: 310 B

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

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 KiB

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

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.4 KiB

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

Binary file not shown.

After

Width:  |  Height:  |  Size: 576 B

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

Binary file not shown.

After

Width:  |  Height:  |  Size: 733 B

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

Binary file not shown.

After

Width:  |  Height:  |  Size: 911 B

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

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

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

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 KiB

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

Binary file not shown.

After

Width:  |  Height:  |  Size: 673 B

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

Binary file not shown.

After

Width:  |  Height:  |  Size: 878 B

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

Binary file not shown.

After

Width:  |  Height:  |  Size: 653 B

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

Binary file not shown.

After

Width:  |  Height:  |  Size: 905 B

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

Binary file not shown.

After

Width:  |  Height:  |  Size: 839 B

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

Binary file not shown.

After

Width:  |  Height:  |  Size: 427 B

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

Binary file not shown.

After

Width:  |  Height:  |  Size: 627 B

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

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 KiB

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

Binary file not shown.

After

Width:  |  Height:  |  Size: 988 B

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

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 KiB

BIN
login_user_detail/static/description/assets/modules/approval_image.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 51 KiB

BIN
login_user_detail/static/description/assets/modules/dynamic_image.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 58 KiB

BIN
login_user_detail/static/description/assets/modules/list_view_image.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 58 KiB

BIN
login_user_detail/static/description/assets/modules/multiple_ref_image.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 59 KiB

BIN
login_user_detail/static/description/assets/modules/print_image.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 59 KiB

BIN
login_user_detail/static/description/assets/modules/product_return_image.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 58 KiB

BIN
login_user_detail/static/description/assets/screenshots/hero.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 83 KiB

BIN
login_user_detail/static/description/assets/screenshots/screenshot1.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 77 KiB

BIN
login_user_detail/static/description/banner.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 56 KiB

BIN
login_user_detail/static/description/cybro_logo.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 50 KiB

BIN
login_user_detail/static/description/cybrosys-login-user-details.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 117 KiB

BIN
login_user_detail/static/description/icon.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 15 KiB

524
login_user_detail/static/description/index.html

@ -0,0 +1,524 @@
<div class="container" style="padding: 4rem 1.5rem !important">
<div class="row" style="height: 900px !important;">
<div class="col-sm-12 col-md-12 col-lg-12"
style="padding: 4rem 1rem !important; background-color: #714B67 !important; height: 600px !important; border-radius: 20px !important;">
<h1
style="font-family: 'Montserrat', sans-serif !important; font-weight: 600 !important; color: #FFFFFF !important; font-size: 3.5rem !important; text-align: center !important;">
User Log Details</h1>
<p
style="font-family: 'Montserrat', sans-serif !important; font-weight: 300 !important; color: #FFFFFF !important; font-size: 1.4rem !important; text-align: center !important;">
User Log Details, Record login date, IP Address of login user.
</p>
<img src="./assets/screenshots/hero.png" class="img-responsive" width="100%" height="auto" />
</div>
</div>
<div class="row">
<div class="col-md-12" style="border-bottom: 1px solid #d5d5d5 !important; margin-bottom: 2rem !important">
<h2
style="font-family: 'Montserrat', sans-serif !important; font-weight: 600 !important; color: #714B67 !important; font-size: 1.5rem !important;">
<i class="fa fa-compass mr-2"></i>Explore this module
</h2>
</div>
<div class="col-md-6">
<a href="#overview" style="text-decoration: none !important;">
<div class="row"
style="background-color: #f5f2f5 !important; border-radius: 10px !important; margin: 1rem !important; padding: 1.5em !important; height: 100px !important;">
<div class="col-8">
<h3
style="font-family: 'Montserrat', sans-serif !important; font-weight: 600 !important; color: #714B67 !important; font-size: 1.2rem !important;">
Overview</h3>
<p
style="font-family: 'Roboto', sans-serif !important; font-weight: 400 !important; color: #714B67 !important; font-size: 0.9rem !important;">
Learn more about this module</p>
</div>
<div class="col-4 text-right d-flex justify-content-end align-items-center">
<i class="fa fa-chevron-right" style="color: #714B67 !important;"></i>
</div>
</div>
</a>
</div>
<div class="col-md-6">
<a href="#features" style="text-decoration: none !important;">
<div class="row"
style="background-color: #f5f2f5 !important; border-radius: 10px !important; margin: 1rem !important; padding: 1.5em !important; height: 100px !important;">
<div class="col-8">
<h3
style="font-family: 'Montserrat', sans-serif !important; font-weight: 600 !important; color: #714B67 !important; font-size: 1.2rem !important;">
Features</h3>
<p
style="font-family: 'Roboto', sans-serif !important; font-weight: 400 !important; color: #714B67 !important; font-size: 0.9rem !important;">
View features of this module</p>
</div>
<div class="col-4 text-right d-flex justify-content-end align-items-center">
<i class="fa fa-chevron-right" style="color: #714B67 !important;"></i>
</div>
</div>
</a>
</div>
<div class="col-md-6">
<a href="#screenshots" style="text-decoration: none !important;">
<div class="row"
style="background-color: #f5f2f5 !important; border-radius: 10px !important; margin: 1rem !important; padding: 1.5em !important; height: 100px !important;">
<div class="col-8">
<h3
style="font-family: 'Montserrat', sans-serif !important; font-weight: 600 !important; color: #714B67 !important; font-size: 1.2rem !important;">
Screenshots</h3>
<p
style="font-family: 'Roboto', sans-serif !important; font-weight: 400 !important; color: #714B67 !important; font-size: 0.9rem !important;">
See key screenshots of this module</p>
</div>
<div class="col-4 text-right d-flex justify-content-end align-items-center">
<i class="fa fa-chevron-right" style="color: #714B67 !important;"></i>
</div>
</div>
</a>
</div>
</div>
<div class="row" id="overview">
<div class="col-md-12" style="border-bottom: 1px solid #d5d5d5 !important; margin: 2rem 0 !important">
<h2
style="font-family: 'Montserrat', sans-serif !important; font-weight: 600 !important; color: #714B67 !important; font-size: 1.5rem !important;">
<i class="fa fa-pie-chart mr-2"></i>Overview
</h2>
</div>
<div class="col-mg-12 pl-3">
<p
style="font-family: 'Roboto', sans-serif !important; font-weight: 400 !important; color: #282F33 !important; font-size: 1rem !important; line-height: 30px !important;">
User Log Details, Record login date,IP Address of login user.
</p>
</div>
</div>
<div class="row" id="features">
<div class="col-md-12" style="border-bottom: 1px solid #d5d5d5 !important; margin: 2rem 0 !important">
<h2
style="font-family: 'Montserrat', sans-serif !important; font-weight: 600 !important; color: #714B67 !important; font-size: 1.5rem !important;">
<i class="fa fa-star mr-2"></i>Features
</h2>
</div>
<div class="col-md-6 pl-3 py-3 d-flex">
<div>
<img src="assets/icons/check.png">
</div>
<div>
<h4
style="font-family: 'Roboto', sans-serif !important; font-weight: 600 !important; color: #282F33 !important; font-size: 1.3rem !important;">
User Log Details</h4>
<p
style="font-family: 'Roboto', sans-serif !important; font-weight: 400 !important; color: #282F33 !important; font-size: 1rem !important;">
View user log details, login date &amp; IP address.</p>
</div>
</div>
</div>
<div class="row" id="screenshots">
<div class="col-md-12" style="border-bottom: 1px solid #d5d5d5 !important; margin: 2rem 0 !important">
<h2
style="font-family: 'Montserrat', sans-serif !important; font-weight: 600 !important; color: #714B67 !important; font-size: 1.5rem !important;">
<i class="fa fa-image mr-2"></i>Screenshots
</h2>
</div>
<div class="col-lg-12 my-2">
<h4 class="mt-2"
style="font-family: 'Roboto', sans-serif !important; font-weight: 600 !important; color: #282F33 !important; font-size: 1.3rem !important;">
Login Details</h4>
<p
style="font-family: 'Roboto', sans-serif !important; font-weight: 400 !important; color: #282F33 !important; font-size: 1rem !important;">
View login details such as user name, IP address, date and time.</p>
<img src="assets/screenshots/screenshot1.png" class="img-responsive img-thumbnail border" width="100%"
height="auto" />
</div>
</div>
<!-- SUGGESTED PRODUCTS -->
<div class="row">
<div class="col-lg-12 d-flex flex-column justify-content-center"
style="text-align: center; padding: 2.5rem 1rem !important;">
<h2 style="color: #212529 !important;">Suggested Products</h2>
<hr
style="border: 3px solid #714B67 !important; background-color: #714B67 !important; width: 80px !important; margin-bottom: 2rem !important;" />
<div id="demo1" class="row carousel slide" data-ride="carousel">
<!-- The slideshow -->
<div class="carousel-inner">
<div class="carousel-item active" style="min-height:0px">
<div class="col-xs-12 col-sm-4 col-md-4 mb16 mt16" style="float:left">
<a href="https://apps.odoo.com/apps/modules/14.0/dynamic_accounts_report/" target="_blank">
<div style="border-radius:10px">
<img class="img img-responsive center-block"
style="border-top-left-radius:10px; border-top-right-radius:10px"
src="./assets/modules/dynamic_image.png">
</div>
</a>
</div>
<div class="col-xs-12 col-sm-4 col-md-4 mb16 mt16" style="float:left">
<a href="https://apps.odoo.com/apps/modules/14.0/product_return_pos/" target="_blank">
<div style="border-radius:10px">
<img class="img img-responsive center-block"
style="border-top-left-radius:10px; border-top-right-radius:10px"
src="./assets/modules/product_return_image.png">
</div>
</a>
</div>
<div class="col-xs-12 col-sm-4 col-md-4 mb16 mt16" style="float:left">
<a href="https://apps.odoo.com/apps/modules/14.0/product_approval_management/"
target="_blank">
<div style="border-radius:10px">
<img class="img img-responsive center-block"
style="border-top-left-radius:10px; border-top-right-radius:10px"
src="./assets/modules/approval_image.png">
</div>
</a>
</div>
</div>
<div class="carousel-item" style="min-height:0px">
<div class="col-xs-12 col-sm-4 col-md-4 mb16 mt16" style="float:left">
<a href="https://apps.odoo.com/apps/modules/14.0/mrp_work_order_print/" target="_blank">
<div style="border-radius:10px">
<img class="img img-responsive center-block"
style="border-top-left-radius:10px; border-top-right-radius:10px"
src="./assets/modules/print_image.png">
</div>
</a>
</div>
<div class="col-xs-12 col-sm-4 col-md-4 mb16 mt16" style="float:left">
<a href="https://apps.odoo.com/apps/modules/14.0/list_view_sticky_header/" target="_blank">
<div style="border-radius:10px">
<img class="img img-responsive center-block"
style="border-top-left-radius:10px; border-top-right-radius:10px"
src="./assets/modules/list_view_image.png">
</div>
</a>
</div>
<div class="col-xs-12 col-sm-4 col-md-4 mb16 mt16" style="float:left">
<a href="https://apps.odoo.com/apps/modules/14.0/multiple_reference_per_product/"
target="_blank">
<div style="border-radius:10px">
<img class="img img-responsive center-block"
style="border-top-left-radius:10px; border-top-right-radius:10px"
src="./assets/modules/multiple_ref_image.png">
</div>
</a>
</div>
</div>
</div>
<!-- Left and right controls -->
<a class="carousel-control-prev" href="#demo1" data-slide="prev"
style="left:-25px;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="#demo1" data-slide="next"
style="right:-25px;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>
</div>
<!-- END OF SUGGESTED PRODUCTS -->
<!-- OUR SERVICES -->
<section class="container" style="margin-top: 6rem !important;">
<div class="row">
<div class="col-lg-12 d-flex flex-column justify-content-center align-items-center">
<h2 style="color: #212529 !important;">Our Services</h2>
<hr
style="border: 3px solid #714B67 !important; background-color: #714B67 !important; width: 80px !important; margin-bottom: 2rem !important;" />
</div>
<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"
style="background-color: #1dd1a1 !important; border-radius: 15px !important; height: 80px; width: 80px;">
<img src="assets/icons/cogs.png" class="img-responsive" height="48px" width="48px">
</div>
<h6 class="text-center" style="font-family: Montserrat, 'sans-serif' !important; font-weight: bold;">
Odoo
Customization</h6>
</div>
<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"
style="background-color: #ff6b6b !important; border-radius: 15px !important; height: 80px; width: 80px;">
<img src="assets/icons/wrench.png" class="img-responsive" height="48px" width="48px">
</div>
<h6 class="text-center" style="font-family: Montserrat, 'sans-serif' !important; font-weight: bold;">
Odoo
Implementation</h6>
</div>
<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"
style="background-color: #6462CD !important; border-radius: 15px !important; height: 80px; width: 80px;">
<img src="assets/icons/lifebuoy.png" class="img-responsive" height="48px" width="48px">
</div>
<h6 class="text-center" style="font-family: Montserrat, 'sans-serif' !important; font-weight: bold;">
Odoo
Support</h6>
</div>
<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"
style="background-color: #ffa801 !important; border-radius: 15px !important; height: 80px; width: 80px;">
<img src="assets/icons/user.png" class="img-responsive" height="48px" width="48px">
</div>
<h6 class="text-center" style="font-family: Montserrat, 'sans-serif' !important; font-weight: bold;">
Hire
Odoo
Developer</h6>
</div>
<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"
style="background-color: #54a0ff !important; border-radius: 15px !important; height: 80px; width: 80px;">
<img src="assets/icons/puzzle.png" class="img-responsive" height="48px" width="48px">
</div>
<h6 class="text-center" style="font-family: Montserrat, 'sans-serif' !important; font-weight: bold;">
Odoo
Integration</h6>
</div>
<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"
style="background-color: #6d7680 !important; border-radius: 15px !important; height: 80px; width: 80px;">
<img src="assets/icons/update.png" class="img-responsive" height="48px" width="48px">
</div>
<h6 class="text-center" style="font-family: Montserrat, 'sans-serif' !important; font-weight: bold;">
Odoo
Migration</h6>
</div>
<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"
style="background-color: #786fa6 !important; border-radius: 15px !important; height: 80px; width: 80px;">
<img src="assets/icons/consultation.png" class="img-responsive" height="48px" width="48px">
</div>
<h6 class="text-center" style="font-family: Montserrat, 'sans-serif' !important; font-weight: bold;">
Odoo
Consultancy</h6>
</div>
<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"
style="background-color: #f8a5c2 !important; border-radius: 15px !important; height: 80px; width: 80px;">
<img src="assets/icons/training.png" class="img-responsive" height="48px" width="48px">
</div>
<h6 class="text-center" style="font-family: Montserrat, 'sans-serif' !important; font-weight: bold;">
Odoo
Implementation</h6>
</div>
<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"
style="background-color: #e6be26 !important; border-radius: 15px !important; height: 80px; width: 80px;">
<img src="assets/icons/license.png" class="img-responsive" height="48px" width="48px">
</div>
<h6 class="text-center" style="font-family: Montserrat, 'sans-serif' !important; font-weight: bold;">
Odoo
Licensing Consultancy</h6>
</div>
</div>
</section>
<!-- END OF END OF OUR SERVICES -->
<!-- OUR INDUSTRIES -->
<section class="container" style="margin-top: 6rem !important;">
<div class="row">
<div class="col-lg-12 d-flex flex-column justify-content-center align-items-center">
<h2 style="color: #212529 !important;">Our Industries</h2>
<hr
style="border: 3px solid #714B67 !important; background-color: #714B67 !important; width: 80px !important; margin-bottom: 2rem !important;" />
</div>
<div class="col-lg-3">
<div class="my-4 d-flex flex-column justify-content-center"
style="background-color: #f6f8f9 !important; border-radius: 10px; padding: 2rem !important; height: 250px !important;">
<img src="./assets/icons/trading-black.png" class="img-responsive mb-3" height="48px" width="48px">
<h5
style="font-family: Montserrat, sans-serif !important; color: #000 !important; font-weight: bold;">
Trading
</h5>
<p style="font-family: Montserrat, sans-serif !important; font-size: 0.9rem !important;">
Easily procure
and
sell your products</p>
</div>
</div>
<div class="col-lg-3">
<div class="my-4 d-flex flex-column justify-content-center"
style="background-color: #f6f8f9 !important; border-radius: 10px; padding: 2rem !important; height: 250px !important;">
<img src="./assets/icons/pos-black.png" class="img-responsive mb-3" height="48px" width="48px">
<h5
style="font-family: Montserrat, sans-serif !important; color: #000 !important; font-weight: bold;">
POS
</h5>
<p style="font-family: Montserrat, sans-serif !important; font-size: 0.9rem !important;">
Easy
configuration
and convivial experience</p>
</div>
</div>
<div class="col-lg-3">
<div class="my-4 d-flex flex-column justify-content-center"
style="background-color: #f6f8f9 !important; border-radius: 10px; padding: 2rem !important; height: 250px !important;">
<img src="./assets/icons/education-black.png" class="img-responsive mb-3" height="48px"
width="48px">
<h5
style="font-family: Montserrat, sans-serif !important; color: #000 !important; font-weight: bold;">
Education
</h5>
<p style="font-family: Montserrat, sans-serif !important; font-size: 0.9rem !important;">
A platform for
educational management</p>
</div>
</div>
<div class="col-lg-3">
<div class="my-4 d-flex flex-column justify-content-center"
style="background-color: #f6f8f9 !important; border-radius: 10px; padding: 2rem !important; height: 250px !important;">
<img src="./assets/icons/manufacturing-black.png" class="img-responsive mb-3" height="48px"
width="48px">
<h5
style="font-family: Montserrat, sans-serif !important; color: #000 !important; font-weight: bold;">
Manufacturing
</h5>
<p style="font-family: Montserrat, sans-serif !important; font-size: 0.9rem !important;">
Plan, track and
schedule your operations</p>
</div>
</div>
<div class="col-lg-3">
<div class="my-4 d-flex flex-column justify-content-center"
style="background-color: #f6f8f9 !important; border-radius: 10px; padding: 2rem !important; height: 250px !important;">
<img src="./assets/icons/ecom-black.png" class="img-responsive mb-3" height="48px" width="48px">
<h5
style="font-family: Montserrat, sans-serif !important; color: #000 !important; font-weight: bold;">
E-commerce &amp; Website
</h5>
<p style="font-family: Montserrat, sans-serif !important; font-size: 0.9rem !important;">
Mobile
friendly,
awe-inspiring product pages</p>
</div>
</div>
<div class="col-lg-3">
<div class="my-4 d-flex flex-column justify-content-center"
style="background-color: #f6f8f9 !important; border-radius: 10px; padding: 2rem !important; height: 250px !important;">
<img src="./assets/icons/service-black.png" class="img-responsive mb-3" height="48px" width="48px">
<h5
style="font-family: Montserrat, sans-serif !important; color: #000 !important; font-weight: bold;">
Service Management
</h5>
<p style="font-family: Montserrat, sans-serif !important; font-size: 0.9rem !important;">
Keep track of
services and invoice</p>
</div>
</div>
<div class="col-lg-3">
<div class="my-4 d-flex flex-column justify-content-center"
style="background-color: #f6f8f9 !important; border-radius: 10px; padding: 2rem !important; height: 250px !important;">
<img src="./assets/icons/restaurant-black.png" class="img-responsive mb-3" height="48px"
width="48px">
<h5
style="font-family: Montserrat, sans-serif !important; color: #000 !important; font-weight: bold;">
Restaurant
</h5>
<p style="font-family: Montserrat, sans-serif !important; font-size: 0.9rem !important;">
Run your bar or
restaurant methodically</p>
</div>
</div>
<div class="col-lg-3">
<div class="my-4 d-flex flex-column justify-content-center"
style="background-color: #f6f8f9 !important; border-radius: 10px; padding: 2rem !important; height: 250px !important;">
<img src="./assets/icons/hotel-black.png" class="img-responsive mb-3" height="48px" width="48px">
<h5
style="font-family: Montserrat, sans-serif !important; color: #000 !important; font-weight: bold;">
Hotel Management
</h5>
<p style="font-family: Montserrat, sans-serif !important; font-size: 0.9rem !important;">
An
all-inclusive
hotel management application</p>
</div>
</div>
</div>
</section>
<!-- END OF END OF OUR INDUSTRIES -->
<!-- FOOTER -->
<!-- Footer Section -->
<section class="container" style="margin: 5rem auto 2rem;">
<div class="row" style="max-width:1540px;">
<div class="col-lg-12 d-flex flex-column justify-content-center align-items-center">
<h2 style="color: #212529 !important;">Need Help?</h2>
<hr
style="border: 3px solid #714B67 !important; background-color: #714B67 !important; width: 80px !important; margin-bottom: 2rem !important;" />
</div>
</div>
<!-- Contact Cards -->
<div class="row d-flex justify-content-center align-items-center"
style="max-width:1540px; margin: 0 auto 2rem auto;">
<div class="col-lg-12" style="padding: 0rem 3rem 2rem; border-radius: 10px; margin-right: 3rem; ">
<div class="row mt-4">
<div class="col-lg-4">
<a href="mailto:odoo@cybrosys.com" target="_blank" class="btn btn-block mb-2 deep_hover"
style="text-decoration: none; background-color: #4d4d4d; color: #FFF; border-radius: 4px;"><i
class="fa fa-envelope mr-2"></i>odoo@cybrosys.com</a>
</div>
<div class="col-lg-4">
<a href="https://api.whatsapp.com/send?phone=918606827707" target="_blank"
class="btn btn-block mb-2 deep_hover"
style="text-decoration: none; background-color: #25D366; color: #FFF; border-radius: 4px;"><i
class="fa fa-whatsapp mr-2"></i>WhatsApp</a>
</div>
<div class="col-lg-4">
<a href="mailto:info@cybrosys.com" target="_blank" class="btn btn-block deep_hover"
style="text-decoration: none; background-color: #4d4d4d; color: #FFF; border-radius: 4px;"><i
class="fa fa-envelope mr-2"></i>info@cybrosys.com</a>
</div>
</div>
</div>
</div>
<!-- End of Contact Cards -->
</section>
<!-- Footer -->
<section class="oe_container" style="padding: 2rem 3rem 1rem;">
<div class="row" style="max-width:1540px; margin: 0 auto; margin-right: 3rem; ">
<!-- Logo -->
<div class="col-lg-12 d-flex justify-content-center align-items-center" style="margin-top: 3rem;">
<img src="https://www.cybrosys.com/images/logo.png" width="200px" height="auto" />
</div>
<!-- End of Logo -->
<div class="col-lg-12">
<hr
style="margin-top: 3rem;background: linear-gradient(90deg, rgba(2,0,36,0) 0%, rgba(229,229,229,1) 33%, rgba(229,229,229,1) 58%, rgba(0,212,255,0) 100%); height: 2px; border-style: none;">
<!-- End of Footer Section -->
</div>
</div>
</section>
<!-- END OF FOOTER -->
</div>

BIN
login_user_detail/static/description/login.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 117 KiB

42
login_user_detail/views/login_user_views.xml

@ -0,0 +1,42 @@
<?xml version="1.0" encoding="utf-8"?>
<odoo>
<data>
<record model="ir.ui.view" id="login_user_detail_form_view">
<field name="name">Login User Details</field>
<field name="model">login.detail</field>
<field name="arch" type="xml">
<form>
<sheet>
<group>
<field name="name"/>
<field name="date_time"/>
<field name="ip_address"/>
</group>
</sheet>
</form>
</field>
</record>
<record model="ir.ui.view" id="login_user_detail_tree_view">
<field name="name">Login User Details</field>
<field name="model">login.detail</field>
<field name="arch" type="xml">
<tree>
<field name="name"/>
<field name="date_time"/>
<field name="ip_address"/>
</tree>
</field>
</record>
<record model="ir.actions.act_window" id="login_user_detail_action_window">
<field name="name">Login User Details</field>
<field name="res_model">login.detail</field>
<field name="view_mode">tree,form</field>
</record>
<menuitem name="Login Details" id="login_user_detail.menu_1_list" parent="base.menu_users"
action="login_user_detail_action_window"/>
</data>
</odoo>

34
mobile_service_shop/README.rst

@ -0,0 +1,34 @@
Mobile Service Management
=========================
Module for mobile service shop daily activities
Configuration
=============
* No additional configurations needed
Company
-------
* `Cybrosys Techno Solutions <https://cybrosys.com/>`__
Credits
-------
* Developers: Milind Mohan @ Cybrosys, odoo@cybrosys.com
Mohammed Shahil M P @cybrosys, 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>`__

24
mobile_service_shop/__init__.py

@ -0,0 +1,24 @@
# -*- coding: utf-8 -*-
#############################################################################
#
# Cybrosys Technologies Pvt. Ltd.
#
# Copyright (C) 2019-TODAY Cybrosys Technologies(<https://www.cybrosys.com>).
# Author: Milind Mohan @ Cybrosys, (odoo@cybrosys.com)
# Mohammed Shahil M P @ Cybrosys, (odoo@cybrosys.com)
# You can modify it under the terms of the GNU LESSER
# GENERAL PUBLIC LICENSE (LGPL v3), Version 3.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU LESSER GENERAL PUBLIC LICENSE (LGPL v3) for more details.
#
# You should have received a copy of the GNU AFFERO GENERAL PUBLIC LICENSE
# (AGPL v3) along with this program.
# If not, see <http://www.gnu.org/licenses/>.
#
#############################################################################
from . import models
from . import wizard

56
mobile_service_shop/__manifest__.py

@ -0,0 +1,56 @@
# -*- coding: utf-8 -*-
#############################################################################
#
# Cybrosys Technologies Pvt. Ltd.
#
# Copyright (C) 2019-TODAY Cybrosys Technologies(<https://www.cybrosys.com>).
# Author: Milind Mohan @ Cybrosys, (odoo@cybrosys.com)
# Mohammed Shahil M P @ Cybrosys, (odoo@cybrosys.com)
# Noorjahan @ Cybrosys, (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': 'Mobile Service Management',
'version': '15.0.1.0.0',
'summary': 'Module for managing mobile service shop daily activities.',
'category': 'Industries',
'author': 'Cybrosys Techno Solutions',
'company': 'Cybrosys Techno Solutions',
'website': 'https://www.cybrosys.com',
'depends': ['base', 'stock_account', 'mail', 'product', 'account'],
'data': ['security/security.xml',
'security/ir.model.access.csv',
'views/mobile_service_views.xml',
'views/product_template.xml',
'views/terms_and_condition.xml',
'views/complaint_template.xml',
'views/complaint_type.xml',
'views/brand_models.xml',
'views/brand.xml',
'wizard/mobile_create_invoice_views.xml',
'reports/mobile_service_ticket.xml',
'reports/service_ticket_template.xml',
'data/mobile_service_data.xml',
'data/mobile_service_email_template.xml'],
'images': ['static/description/banner.png'],
'assets': {
'web.assets_backend': [
'mobile_service_shop/static/src/css/mobile_service.css',
],
},
'installable': True,
'application': True,
'auto_install': False,
'license': 'LGPL-3',
}

23
mobile_service_shop/data/mobile_service_data.xml

@ -0,0 +1,23 @@
<?xml version="1.0" encoding="utf-8"?>
<odoo>
<data noupdate="1">
<record model="account.journal" id="mobile_service_journal">
<field name="name">Mobile Service</field>
<field name="type">sale</field>
<field name="code">SERV</field>
<field name="active">TRUE</field>
</record>
<record model="product.template" id="mobile_service_product">
<field name="name">Mobile Service Charge</field>
<field name="type">service</field>
<!-- <field name="invoice_policy">order</field>-->
</record>
<record model="product.template" id="mobile_service_advance_product">
<field name="name">Mobile Service Advance</field>
<field name="type">service</field>
<!-- <field name="invoice_policy">order</field>-->
</record>
</data>
</odoo>

24
mobile_service_shop/data/mobile_service_email_template.xml

@ -0,0 +1,24 @@
<?xml version="1.0" encoding="utf-8"?>
<odoo>
<data noupdate="1">
<!--Email template -->
<record id="email_template_mobile_service" model="mail.template">
<field name="name">Service Status Email</field>
<field name="model_id" ref="mobile_service_shop.model_mobile_service"/>
<field name="email_from">${(object.user_id.email |safe}</field>
<field name="email_to" >${object.person_name.email |safe}</field>
<field name="subject">Ref ${object.name or 'n/a' }</field>
<field name="auto_delete" eval="True"/>
<field name="lang">${object.person_name.lang}</field>
<field name="body_html"><![CDATA[
<p>Dear ${object.person_name.name},</p>
<p>Your service request for ${object.brand_name.brand_name or 'n/a' } (${object.model_name.mobile_brand_models or 'n/a' }) with reference no <b>${object.name or 'n/a' }</b> has been processed to <b>${object.service_state or 'n/a' }</b> stage.</p>
<p>If you have any questions, please let us know.</p>
<p>Best regards,</p>]]>
</field>
</record>
</data>
</odoo>

7
mobile_service_shop/doc/RELEASE_NOTES.md

@ -0,0 +1,7 @@
## Module <mobile_service_shop>
#### 05.10.2020
#### Version 15.0.1.0.0
#### ADD
Initial Commit.

25
mobile_service_shop/models/__init__.py

@ -0,0 +1,25 @@
# -*- coding: utf-8 -*-
#############################################################################
#
# Cybrosys Technologies Pvt. Ltd.
#
# Copyright (C) 2019-TODAY Cybrosys Technologies(<https://www.cybrosys.com>).
# Author: Milind Mohan @ Cybrosys, (odoo@cybrosys.com)
# Mohammed Shahil M P @ Cybrosys, (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 mobile_service
from . import service_ticket
from . import product_order_line
from . import product

402
mobile_service_shop/models/mobile_service.py

@ -0,0 +1,402 @@
# -*- coding: utf-8 -*-
#############################################################################
#
# Cybrosys Technologies Pvt. Ltd.
#
# Copyright (C) 2019-TODAY Cybrosys Technologies(<https://www.cybrosys.com>).
# Author: Milind Mohan @ Cybrosys, (odoo@cybrosys.com)
# Mohammed Shahil M P @ Cybrosys, (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 datetime, date, timedelta
from odoo import models, fields, api, _
from odoo.exceptions import Warning, UserError
import pytz
class MobileServiceShop(models.Model):
_name = 'mobile.service'
_rec_name = 'name'
_inherit = ['mail.thread', 'mail.activity.mixin']
name = fields.Char(string='Service Number', copy=False, default="New")
person_name = fields.Many2one('res.partner', string="Customer Name", required=True)
contact_no = fields.Char(related='person_name.mobile', string="Contact Number")
email_id = fields.Char(related='person_name.email', string="Email")
street = fields.Char(related='person_name.street', string="Address")
street2 = fields.Char(related='person_name.street2', string="Address")
city = fields.Char(related='person_name.city', string="Address")
state_id = fields.Many2one(related='person_name.state_id', string="Address")
zip = fields.Char(related='person_name.zip', string="Address")
country_id = fields.Many2one(related='person_name.country_id', string="Address")
brand_name = fields.Many2one('mobile.brand', string="Mobile Brand")
is_in_warranty = fields.Boolean(
'In Warranty', default=False,
help="Specify if the product is in warranty.")
warranty_number = fields.Char(string="Warranty No ", help="warranty details")
re_repair = fields.Boolean(
'Re-repair', default=False,
help="Re-repairing.")
imei_no = fields.Char(string="IMEI Number")
model_name = fields.Many2one('brand.model', string="Model", domain="[('mobile_brand_name','=',brand_name)]")
image_medium = fields.Binary(related='model_name.image_medium', store=True, attachment=True)
date_request = fields.Date(string="Requested date", default=fields.Date.context_today)
return_date = fields.Date(string="Return date", required=True)
technician_name = fields.Many2one('res.users', string="Technician Name",
default=lambda self: self.env.user, required=True)
service_state = fields.Selection([('draft', 'Draft'), ('assigned', 'Assigned'),
('completed', 'Completed'), ('returned', 'Returned'),
('not_solved', 'Not solved')],
string='Service Status', default='draft', track_visibility='always')
complaints_tree = fields.One2many('mobile.complaint.tree', 'complaint_id', string='Complaints Tree')
product_order_line = fields.One2many('product.order.line', 'product_order_id', string='Parts Order Lines')
internal_notes = fields.Text(string="Internal notes")
invoice_count = fields.Integer(compute='_invoice_count', string='# Invoice', copy=False)
invoice_ids = fields.Many2many("account.move", string='Invoices', compute="_get_invoiced", readonly=True,
copy=False)
first_payment_inv = fields.Many2one('account.move', copy=False)
first_invoice_created = fields.Boolean(string="First Invoice Created", invisible=True, copy=False)
journal_type = fields.Many2one('account.journal', 'Journal', invisible=True,
default=lambda self: self.env['account.journal'].search([('code', '=', 'SERV')]))
company_id = fields.Many2one('res.company', 'Company',
default=lambda self: self.env['res.company']._company_default_get('mobile.service'))
@api.model
def _default_picking_transfer(self):
type_obj = self.env['stock.picking.type']
company_id = self.env.context.get('company_id') or self.env.user.company_id.id
types = type_obj.search([('code', '=', 'outgoing'), ('warehouse_id.company_id', '=', company_id)], limit=1)
if not types:
types = type_obj.search([('code', '=', 'outgoing'), ('warehouse_id', '=', False)])
return types[:4]
stock_picking_id = fields.Many2one('stock.picking', string="Picking Id")
picking_transfer_id = fields.Many2one('stock.picking.type', 'Deliver To', required=True,
default=_default_picking_transfer,
help="This will determine picking type of outgoing shipment")
picking_count = fields.Integer()
@api.onchange('return_date')
def check_date(self):
if self.return_date != False:
return_date_string = datetime.strptime(str(self.return_date), "%Y-%m-%d")
request_date_string = datetime.strptime(str(self.date_request), "%Y-%m-%d")
if return_date_string < request_date_string:
raise UserError("Return date should be greater than requested date")
def approve(self):
self.service_state = 'assigned'
def complete(self):
self.service_state = 'completed'
def return_to(self):
self.service_state = 'returned'
def not_solved(self):
self.service_state = 'not_solved'
def action_send_mail(self):
'''
This function opens a window to compose an email, with the edi sale template message loaded by default
'''
self.ensure_one()
ir_model_data = self.env['ir.model.data']
try:
template_id = ir_model_data._xmlid_lookup('mobile_service_shop.email_template_mobile_service')[2]
except ValueError:
template_id = False
try:
compose_form_id = ir_model_data._xmlid_lookup('mail.email_compose_message_wizard_form')[2]
except ValueError:
compose_form_id = False
ctx = {
'default_model': 'mobile.service',
'default_res_id': self.ids[0],
'default_use_template': bool(template_id),
'default_template_id': template_id,
'default_composition_mode': 'comment',
}
return {
'name': _('Compose Email'),
'type': 'ir.actions.act_window',
'view_mode': 'form',
'res_model': 'mail.compose.message',
'views': [(compose_form_id, 'form')],
'view_id': compose_form_id,
'target': 'new',
'context': ctx,
}
def return_advance(self):
inv_obj = self.env['account.move'].search([('invoice_origin', '=', self.name)])
inv_ids = []
for each in inv_obj:
inv_ids.append(each.id)
view_id = self.env.ref('account.view_move_form').id
if inv_ids:
if len(inv_ids) <= 1:
value = {
'view_mode': 'form',
'res_model': 'account.move',
'view_id': view_id,
'type': 'ir.actions.act_window',
'name': 'Invoice',
'res_id': inv_ids and inv_ids[0]
}
else:
value = {
'domain': str([('id', 'in', inv_ids)]),
'view_mode': 'tree,form',
'res_model': 'account.move',
'view_id': False,
'type': 'ir.actions.act_window',
'name': 'Invoice',
'res_id': inv_ids
}
return value
else:
raise UserError("No invoice created")
def _invoice_count(self):
invoice_ids = self.env['account.move'].search([('invoice_origin', '=', self.name)])
self.invoice_count = len(invoice_ids)
@api.model
def create(self, vals):
print(self.env.user.company_id)
if 'company_id' in vals:
vals['name'] = self.env['ir.sequence'].with_context(force_company=self.env.user.company_id.id).next_by_code(
'mobile.service') or _('New')
else:
vals['name'] = self.env['ir.sequence'].next_by_code('mobile.service') or _('New')
vals['service_state'] = 'draft'
return super(MobileServiceShop, self).create(vals)
def unlink(self):
for i in self:
if i.service_state != 'draft':
raise UserError(_('You cannot delete an assigned service request'))
return super(MobileServiceShop, self).unlink()
def action_invoice_create_wizard(self):
return {
'name': _('Create Invoice'),
'view_mode': 'form',
'res_model': 'mobile.invoice',
'type': 'ir.actions.act_window',
'target': 'new'
}
def action_post_stock(self):
flag = 0
for order in self.product_order_line:
if order.product_uom_qty > order.qty_stock_move:
flag = 1
pick = {
'picking_type_id': self.picking_transfer_id.id,
'partner_id': self.person_name.id,
'origin': self.name,
'location_dest_id': self.person_name.property_stock_customer.id,
'location_id': self.picking_transfer_id.default_location_src_id.id,
}
picking = self.env['stock.picking'].create(pick)
self.stock_picking_id = picking.id
self.picking_count = len(picking)
moves = order.filtered(
lambda r: r.product_id.type in ['product', 'consu'])._create_stock_moves_transfer(picking)
move_ids = moves._action_confirm()
move_ids._action_assign()
if order.product_uom_qty < order.qty_stock_move:
raise UserError(_('Used quantity is less than quantity stock move posted. '))
if flag != 1:
raise UserError(_('Nothing to post stock move'))
if flag != 1:
raise UserError(_('Nothing to post stock move'))
def action_view_invoice(self):
self.ensure_one()
ctx = dict(
create=False,
)
action = {
'name': _("Invoices"),
'type': 'ir.actions.act_window',
'res_model': 'account.move',
'target': 'current',
'context': ctx
}
invoice_ids = self.env['account.move'].search([('invoice_origin', '=', self.name)])
inv_ids = []
for each in invoice_ids:
inv_ids.append(each.id)
if len(invoice_ids) == 1:
invoice = inv_ids and inv_ids[0]
action['res_id'] = invoice
action['view_mode'] = 'form'
action['views'] = [
(self.env.ref('account.view_move_form').id, 'form')]
else:
action['view_mode'] = 'tree,form'
action['domain'] = [('id', 'in', inv_ids)]
return action
# inv_obj = self.env['account.move'].search([('invoice_origin', '=', self.name)])
# inv_ids = []
# for each in inv_obj:
# inv_ids.append(each.id)
# view_id = self.env.ref('account.view_move_form').id
# ctx = dict(
# create=False,
# )
# if inv_ids:
# if len(inv_ids) <= 1:
# value = {
# 'view_mode': 'form',
# 'res_model': 'account.move',
# 'view_id': view_id,
# 'type': 'ir.actions.act_window',
# 'name': 'Invoice',
# 'context': ctx,
# 'res_id': inv_ids and inv_ids[0]
# }
# else:
# value = {
# 'domain': str([('id', 'in', inv_ids)]),
# 'view_mode': 'tree,form',
# 'res_model': 'account.move',
# 'view_id': False,
# 'type': 'ir.actions.act_window',
# 'context': ctx,
# 'name': 'Invoice',
# 'res_id': inv_ids
# }
#
# return value
def get_ticket(self):
self.ensure_one()
user = self.env['res.users'].browse(self.env.uid)
if user.tz:
tz = pytz.timezone(user.tz)
time = pytz.utc.localize(datetime.now()).astimezone(tz)
date_today = time.strftime("%Y-%m-%d %H:%M %p")
else:
date_today = datetime.strftime(datetime.now(), "%Y-%m-%d %I:%M:%S %p")
complaint_text = ""
description_text = ""
complaint_id = self.env['mobile.complaint.tree'].search([('complaint_id', '=', self.id)])
if complaint_id:
for obj in complaint_id:
complaint = obj.complaint_type_tree
description = obj.description_tree
complaint_text = complaint.complaint_type + ", " + complaint_text
if description.description:
description_text = description.description + ", " + description_text
else:
for obj in complaint_id:
complaint = obj.complaint_type_tree
complaint_text = complaint.complaint_type + ", " + complaint_text
data = {
'ids': self.ids,
'model': self._name,
'date_today': date_today,
'date_request': self.date_request,
'date_return': self.return_date,
'sev_id': self.name,
'warranty': self.is_in_warranty,
'customer_name': self.person_name.name,
'imei_no': self.imei_no,
'technician': self.technician_name.name,
'complaint_types': complaint_text,
'complaint_description': description_text,
'mobile_brand': self.brand_name.brand_name,
'model_name': self.model_name.mobile_brand_models,
}
return self.env.ref('mobile_service_shop.mobile_service_ticket').report_action(self, data=data)
class MobileBrand(models.Model):
_name = 'mobile.brand'
_rec_name = 'brand_name'
brand_name = fields.Char(string="Mobile Brand", required=True)
class MobileComplaintType(models.Model):
_name = 'mobile.complaint'
_rec_name = 'complaint_type'
complaint_type = fields.Char(string="Complaint Type", required=True)
class MobileComplaintTypeTemplate(models.Model):
_name = 'mobile.complaint.description'
_rec_name = 'description'
complaint_type_template = fields.Many2one('mobile.complaint', string="Complaint Type Template", required=True)
description = fields.Text(string="Complaint Description")
class MobileComplaintTree(models.Model):
_name = 'mobile.complaint.tree'
_rec_name = 'complaint_type_tree'
complaint_id = fields.Many2one('mobile.service')
complaint_type_tree = fields.Many2one('mobile.complaint', string="Category", required=True)
description_tree = fields.Many2one('mobile.complaint.description', string="Description",
domain="[('complaint_type_template','=',complaint_type_tree)]")
class MobileBrandModels(models.Model):
_name = 'brand.model'
_rec_name = 'mobile_brand_models'
mobile_brand_name = fields.Many2one('mobile.brand', string="Mobile Brand", required=True)
mobile_brand_models = fields.Char(string="Model Name", required=True)
image_medium = fields.Binary(string='image', store=True, attachment=True)
class MobileServiceTermsAndConditions(models.Model):
_name = 'terms.conditions'
_rec_name = 'terms_id'
terms_id = fields.Char(String="Terms and condition", compute="_find_id")
terms_conditions = fields.Text(string="Terms and Conditions")
def _find_id(self):
self.terms_id = self.id or ''

36
mobile_service_shop/models/product.py

@ -0,0 +1,36 @@
# -*- coding: utf-8 -*-
#############################################################################
#
# Cybrosys Technologies Pvt. Ltd.
#
# Copyright (C) 2019-TODAY Cybrosys Technologies(<https://www.cybrosys.com>).
# Author: Milind Mohan @ Cybrosys, (odoo@cybrosys.com)
# Mohammed Shahil M P @ Cybrosys, (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 models, fields, api, _
class ProductProduct(models.Model):
_inherit = 'product.template'
is_a_parts = fields.Boolean(
'Is a Mobile Part', default=False,
help="Specify if the product is a mobile part or not.")
brand_name = fields.Many2one('mobile.brand', String="Brand", help="Select a mobile brand for the part")
model_name = fields.Many2one('brand.model', String="Model Name", domain="[('mobile_brand_name','=',brand_name)]",
help="Select a model for the part")
model_colour = fields.Char(string="Colour", help="colour for the part")
extra_descriptions = fields.Text(string="Note")

91
mobile_service_shop/models/product_order_line.py

@ -0,0 +1,91 @@
# -*- coding: utf-8 -*-
#############################################################################
#
# Cybrosys Technologies Pvt. Ltd.
#
# Copyright (C) 2019-TODAY Cybrosys Technologies(<https://www.cybrosys.com>).
# Author: Milind Mohan @ Cybrosys, (odoo@cybrosys.com)
# Mohammed Shahil M P @ Cybrosys, (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 models, fields, api, _
class ProductOrderLine(models.Model):
_name = 'product.order.line'
product_order_id = fields.Many2one('mobile.service')
product_id = fields.Many2one('product.product', string='Product',
domain="[('is_a_parts','=', True)]", required=True)
product_uom_qty = fields.Float(string='Used Quantity', default=1.0, required=True)
price_unit = fields.Float(string='Unit Price', default=0.0, required=True)
qty_invoiced = fields.Float(string='Invoiced qty', readonly=True)
qty_stock_move = fields.Float(string='Stock Move Posted Qty', readonly=True)
part_price = fields.Char(compute='_compute_amount', string='Price', readonly=True, store=True)
product_uom = fields.Char(string='Unit of Measure', required=True)
@api.onchange('product_id')
def change_prod(self):
self.ensure_one()
if self.product_id:
product_template_obj = self.product_id.product_tmpl_id
self.price_unit = product_template_obj.list_price
self.product_uom = product_template_obj.uom_id.name
@api.depends('product_uom_qty', 'product_id')
def _compute_amount(self):
"""
Compute the amount
"""
for line in self:
price = line.price_unit * line.product_uom_qty
line.update({
'part_price': price,
})
def _create_stock_moves_transfer(self, picking):
moves = self.env['stock.move']
done = self.env['stock.move'].browse()
if self.product_id.product_tmpl_id.type != 'service':
price_unit = self.price_unit
template = {
'name': self.product_id.product_tmpl_id.name or '',
'product_id': self.product_id.id,
'product_uom': self.product_id.product_tmpl_id.uom_id.id,
'location_id': picking.picking_type_id.default_location_src_id.id,
'location_dest_id': self.product_order_id.person_name.property_stock_customer.id,
'picking_id': picking.id,
'move_dest_ids': False,
'state': 'draft',
'company_id': self.product_order_id.company_id.id,
'price_unit': price_unit,
'picking_type_id': picking.picking_type_id.id,
'route_ids': 1 and [
(6, 0, [x.id for x in self.env['stock.location.route'].search([('id', 'in', (2, 3))])])] or [],
'warehouse_id': picking.picking_type_id.warehouse_id.id,
}
qty = self.product_uom_qty - self.qty_stock_move
print(qty)
diff_quantity = qty
tmp = template.copy()
tmp.update({
'product_uom_qty': diff_quantity,
})
template['product_uom_qty'] = diff_quantity
done += moves.create(template)
self.qty_stock_move = self.qty_stock_move + qty
return done

46
mobile_service_shop/models/service_ticket.py

@ -0,0 +1,46 @@
# -*- coding: utf-8 -*-
#############################################################################
#
# Cybrosys Technologies Pvt. Ltd.
#
# Copyright (C) 2019-TODAY Cybrosys Technologies(<https://www.cybrosys.com>).
# Author: Milind Mohan @ Cybrosys, (odoo@cybrosys.com)
# Mohammed Shahil M P @ Cybrosys, (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 models, api
class StockMoveReport(models.AbstractModel):
_name = 'report.mobile_service_shop.mobile_service_ticket_template'
@api.model
def _get_report_values(self, docids, data):
terms = self.env['terms.conditions'].search([])
return {
'date_today': data['date_today'],
'date_request': data['date_request'],
'date_return': data['date_return'],
'sev_id': data['sev_id'],
'imei_no': data['imei_no'],
'technician': data['technician'],
'complaint_types': data['complaint_types'],
'complaint_description': data['complaint_description'],
'mobile_brand': data['mobile_brand'],
'model_name': data['model_name'],
'customer_name': data['customer_name'],
'warranty': data['warranty'],
'terms': terms,
}

12
mobile_service_shop/reports/mobile_service_ticket.xml

@ -0,0 +1,12 @@
<?xml version="1.0" encoding="UTF-8"?>
<odoo>
<data>
<record id="mobile_service_ticket" model="ir.actions.report">
<field name="name">Mobile Service Ticket</field>
<field name="model">mobile.service</field>
<field name="report_type">qweb-pdf</field>
<field name="report_name">mobile_service_shop.mobile_service_ticket_template</field>
<field name="report_file">mobile_service_shop.mobile_service_ticket_template</field>
</record>
</data>
</odoo>

83
mobile_service_shop/reports/service_ticket_template.xml

@ -0,0 +1,83 @@
<?xml version="1.0" encoding="utf-8"?>
<odoo>
<template id="mobile_service_ticket_template">
<t t-call="web.external_layout">
<t t-call="web.html_container">
<div class="row">
<br/>
<div style="margin-bottom:30px; text-align:center;margin-left:35%;margin-top:2%;">
<h1>Service Ticket</h1>
</div>
<div class="col-xs-6" style="margin-top:10%; margin-left:-55%;">
<table style="width:100%;">
<tbody style="line-height:2">
<tr>
<td><strong>Ref no&#160;</strong></td><td>&#160;:&#160;</td>
<td><strong>&#160;<span style="font-size:16px; font-weight:2px;" t-esc="sev_id"/></strong></td>
</tr>
<tr>
<td><strong>Customer name&#160;</strong></td><td>&#160;:&#160;</td>
<td>&#160;<span t-esc="customer_name"/></td>
</tr>
</tbody>
</table>
</div>
<div class="col-xs-6" style="margin-top:10%; margin-left:15%;">
<table style="width:100%;">
<tbody style="line-height:2">
<tr>
<td style="margin-right:10%;"><strong>Requested date&#160;</strong></td><td>&#160;:&#160;</td>
<td>&#160;<span t-esc="date_request"/></td>
</tr>
<tr>
<td style="margin-right:10%;"><strong>Return date&#160;</strong></td><td>&#160;:&#160;</td>
<td>&#160;<span t-esc="date_return"/></td>
</tr>
</tbody>
</table>
</div>
<div class="col-xs-12" style="margin-top:20%;margin-left:-68%;"><h4>Device details</h4></div>
<table style="margin-top:25%;margin-left:-16%;width:95%;border:1px solid black;line-height:2;text-align:center;">
<thead style="background-color:#c9cacc;font-size:15px;">
<tr>
<td>Sl no.</td>
<td>Device brand</td>
<td>Model name</td>
<td>IMEI</td>
<td>Complaints</td>
<td>Description</td>
</tr>
</thead>
<tbody>
<tr>
<td>1</td>
<td><t t-esc="mobile_brand"/></td>
<td><t t-esc="model_name"/></td>
<td><t t-esc="imei_no"/></td>
<td><t t-esc="complaint_types"/></td>
<td><t t-esc="complaint_description"/></td>
</tr>
</tbody>
</table>
</div>
<div style="margin-top:10px;">
<t t-if="warranty==True">
<span>The device is in warranty range !!</span>
</t>
</div>
<div style="margin-top:30px;">
<h5><strong>Terms and Conditions</strong></h5>
<t t-foreach="terms" t-as="term">
<span><t t-esc="term.terms_conditions"/><br/></span>
</t>
</div>
<div style="margin-top:200px;">
<span>Keep this ticket safely for future reference.</span><br/>
<span>Issue Date :</span> <t t-esc="date_today"/>
</div>
</t>
</t>
</template>
</odoo>

15
mobile_service_shop/security/ir.model.access.csv

@ -0,0 +1,15 @@
id,name,model_id:id,group_id:id,perm_read,perm_write,perm_create,perm_unlink
access_mobile_service_shop_mobile_service_shop,access.mobile_service_shop.mobile_service_shop,model_mobile_service,mobile_service_group_executer,1,1,0,0
access_mobile_service_shop_mobile_service_shop11,access.mobile_service_shop.mobile_service_shop11,model_mobile_complaint,mobile_service_group_executer,1,0,0,0
access_mobile_service_shop_mobile_service_shop22,access.mobile_service_shop.mobile_service_shop22,model_mobile_service,mobile_service_group_manager,1,1,1,1
access_mobile_service_shop_mobile_service_shop33,access.mobile_service_shop.mobile_service_shop33,model_mobile_brand,mobile_service_group_manager,1,1,1,1
access_mobile_service_shop_mobile_service_shop44,access.mobile_service_shop.mobile_service_shop44,model_brand_model,mobile_service_group_manager,1,1,1,1
access_mobile_service_shop_mobile_service_shop66,access.mobile_service_shop.mobile_service_shop66,model_mobile_complaint,mobile_service_group_manager,1,1,1,1
access_mobile_service_shop_mobile_service_shop88,access.mobile_service_shop.mobile_service_shop88,model_product_template,mobile_service_group_manager,1,1,1,1
access_mobile_service_shop_mobile_service_shop99,access.mobile_service_shop.mobile_service_shop99,model_mobile_complaint_tree,mobile_service_group_executer,1,1,1,0
access_mobile_service_shop_mobile_service_shop111,access.mobile_service_shop.mobile_service_shop111,model_mobile_complaint_description,mobile_service_group_manager,1,1,1,1
access_mobile_service_shop_mobile_service_shop112,access.mobile_service_shop.mobile_service_shop112,model_terms_conditions,mobile_service_group_manager,1,1,1,1
access_mobile_service_shop_mobile_service_shop113,access.mobile_service_shop.mobile_service_shop113,model_mobile_complaint_tree,mobile_service_group_manager,1,1,1,1
access_mobile_service_shop_mobile_service_shop114,access.mobile_service_shop.mobile_service_shop114,model_mobile_complaint_description,mobile_service_group_executer,1,1,0,0
access_mobile_service_shop_mobile_service_shop115,access.mobile_service_shop.mobile_service_shop115,model_product_order_line,mobile_service_group_executer,1,1,1,1
access_mobile_service_shop_mobile_service_shop116,access.mobile_service_shop.mobile_service_shop116,model_mobile_invoice,mobile_service_group_manager,1,1,1,1
1 id name model_id:id group_id:id perm_read perm_write perm_create perm_unlink
2 access_mobile_service_shop_mobile_service_shop access.mobile_service_shop.mobile_service_shop model_mobile_service mobile_service_group_executer 1 1 0 0
3 access_mobile_service_shop_mobile_service_shop11 access.mobile_service_shop.mobile_service_shop11 model_mobile_complaint mobile_service_group_executer 1 0 0 0
4 access_mobile_service_shop_mobile_service_shop22 access.mobile_service_shop.mobile_service_shop22 model_mobile_service mobile_service_group_manager 1 1 1 1
5 access_mobile_service_shop_mobile_service_shop33 access.mobile_service_shop.mobile_service_shop33 model_mobile_brand mobile_service_group_manager 1 1 1 1
6 access_mobile_service_shop_mobile_service_shop44 access.mobile_service_shop.mobile_service_shop44 model_brand_model mobile_service_group_manager 1 1 1 1
7 access_mobile_service_shop_mobile_service_shop66 access.mobile_service_shop.mobile_service_shop66 model_mobile_complaint mobile_service_group_manager 1 1 1 1
8 access_mobile_service_shop_mobile_service_shop88 access.mobile_service_shop.mobile_service_shop88 model_product_template mobile_service_group_manager 1 1 1 1
9 access_mobile_service_shop_mobile_service_shop99 access.mobile_service_shop.mobile_service_shop99 model_mobile_complaint_tree mobile_service_group_executer 1 1 1 0
10 access_mobile_service_shop_mobile_service_shop111 access.mobile_service_shop.mobile_service_shop111 model_mobile_complaint_description mobile_service_group_manager 1 1 1 1
11 access_mobile_service_shop_mobile_service_shop112 access.mobile_service_shop.mobile_service_shop112 model_terms_conditions mobile_service_group_manager 1 1 1 1
12 access_mobile_service_shop_mobile_service_shop113 access.mobile_service_shop.mobile_service_shop113 model_mobile_complaint_tree mobile_service_group_manager 1 1 1 1
13 access_mobile_service_shop_mobile_service_shop114 access.mobile_service_shop.mobile_service_shop114 model_mobile_complaint_description mobile_service_group_executer 1 1 0 0
14 access_mobile_service_shop_mobile_service_shop115 access.mobile_service_shop.mobile_service_shop115 model_product_order_line mobile_service_group_executer 1 1 1 1
15 access_mobile_service_shop_mobile_service_shop116 access.mobile_service_shop.mobile_service_shop116 model_mobile_invoice mobile_service_group_manager 1 1 1 1

36
mobile_service_shop/security/security.xml

@ -0,0 +1,36 @@
<?xml version="1.0" encoding="UTF-8"?>
<odoo>
<record id="mobile_service_execute" model="ir.module.category">
<field name="name">Mobile Service</field>
<field name="sequence">5</field>
</record>
<record id="mobile_service_group_executer" model="res.groups">
<field name="name">Mobile Technician</field>
<field name="implied_ids" eval="[(4, ref('base.group_user'))]"/>
<field name="category_id" ref="mobile_service_execute"/>
</record>
<record id="mobile_service_group_manager" model="res.groups">
<field name="name">Manager</field>
<field name="implied_ids" eval="[(4, ref('mobile_service_group_executer'))]"/>
<field name="category_id" ref="mobile_service_execute"/>
<field name="users" eval="[(4, ref('base.user_admin')), (4, ref('base.user_root'))]"/>
</record>
<record id="mobile_service_tech_rules" model="ir.rule">
<field name="name">Mobile Service rule</field>
<field name="model_id" ref="model_mobile_service" />
<field name="domain_force">[('technician_name','=',user.id),('service_state','!=','draft'), ('company_id','=',user.company_id.id)]</field>
<field name="groups" eval="[(4,ref('mobile_service_group_executer'))]"/>
</record>
<record id="mobile_service_rule_manager" model="ir.rule">
<field name="name">Mobile Service Manager rule</field>
<field name="model_id" ref="model_mobile_service" />
<field name="domain_force">[('company_id','=',user.company_id.id)]</field>
<field name="groups" eval="[(4,ref('mobile_service_group_manager'))]"/>
</record>
</odoo>

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

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.6 KiB

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

Binary file not shown.

After

Width:  |  Height:  |  Size: 310 B

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

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 KiB

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

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.4 KiB

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

Binary file not shown.

After

Width:  |  Height:  |  Size: 576 B

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

Binary file not shown.

After

Width:  |  Height:  |  Size: 733 B

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

Binary file not shown.

After

Width:  |  Height:  |  Size: 911 B

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

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

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

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 KiB

BIN
mobile_service_shop/static/description/assets/icons/logo.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.4 KiB

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

Binary file not shown.

After

Width:  |  Height:  |  Size: 673 B

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

Binary file not shown.

After

Width:  |  Height:  |  Size: 878 B

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

Binary file not shown.

After

Width:  |  Height:  |  Size: 653 B

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

Binary file not shown.

After

Width:  |  Height:  |  Size: 905 B

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

Binary file not shown.

After

Width:  |  Height:  |  Size: 839 B

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

Binary file not shown.

After

Width:  |  Height:  |  Size: 427 B

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

Binary file not shown.

After

Width:  |  Height:  |  Size: 627 B

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

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 KiB

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

Binary file not shown.

After

Width:  |  Height:  |  Size: 988 B

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

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 KiB

BIN
mobile_service_shop/static/description/assets/modules/approval_image.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 51 KiB

BIN
mobile_service_shop/static/description/assets/modules/budget_image.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 61 KiB

BIN
mobile_service_shop/static/description/assets/modules/export_image.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 60 KiB

BIN
mobile_service_shop/static/description/assets/modules/magento_image.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 59 KiB

BIN
mobile_service_shop/static/description/assets/modules/mobile_service_shop_pro.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 90 KiB

BIN
mobile_service_shop/static/description/assets/modules/pos_image.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 52 KiB

BIN
mobile_service_shop/static/description/assets/modules/shopify_image.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 54 KiB

BIN
mobile_service_shop/static/description/assets/screenshots/hero.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 150 KiB

BIN
mobile_service_shop/static/description/assets/screenshots/mobile-1.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 127 KiB

BIN
mobile_service_shop/static/description/assets/screenshots/mobile-10.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 42 KiB

BIN
mobile_service_shop/static/description/assets/screenshots/mobile-11.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 53 KiB

BIN
mobile_service_shop/static/description/assets/screenshots/mobile-2.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 76 KiB

BIN
mobile_service_shop/static/description/assets/screenshots/mobile-3.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 68 KiB

BIN
mobile_service_shop/static/description/assets/screenshots/mobile-4.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 47 KiB

BIN
mobile_service_shop/static/description/assets/screenshots/mobile-5.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 72 KiB

BIN
mobile_service_shop/static/description/assets/screenshots/mobile-6.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 71 KiB

BIN
mobile_service_shop/static/description/assets/screenshots/mobile-7.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 105 KiB

BIN
mobile_service_shop/static/description/assets/screenshots/mobile-8.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 35 KiB

BIN
mobile_service_shop/static/description/assets/screenshots/mobile-9.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 80 KiB

BIN
mobile_service_shop/static/description/banner.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 59 KiB

BIN
mobile_service_shop/static/description/icon.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 16 KiB

849
mobile_service_shop/static/description/index.html

@ -0,0 +1,849 @@
<div class="container" style="padding: 1rem !important; margin-bottom: 1rem !important;">
<div class="row">
<div class="col-sm-12 col-md-12 col-lg-12 d-flex justify-content-between"
style="border-bottom: 1px solid #d5d5d5;">
<div class="my-3">
<img src="./assets/icons/logo.png" style="width: auto !important; height: 40px !important;">
</div>
<div class="my-3 d-flex align-items-center">
<div
style="background-color: #7C7BAD !important; color: #fff !important; font-weight: 600 !important; padding: 5px 15px 8px !important; margin: 0 5px !important;">
<i class="fa fa-check mr-1"></i>Community
</div>
<div
style="background-color: #875A7B !important; color: #fff !important; font-weight: 600 !important; padding: 5px 15px 8px !important; margin: 0 5px !important;">
<i class="fa fa-check mr-1"></i>Enterprise
</div>
</div>
</div>
</div>
</div>
<div class="container" style="padding: 0rem 1.5rem 4rem !important">
<div class="row" style="height: 900px !important;">
<div class="col-sm-12 col-md-12 col-lg-12"
style="padding: 4rem 1rem !important; background-color: #714B67 !important; height: 600px !important; border-radius: 20px !important;">
<h1
style="font-family: 'Montserrat', sans-serif !important; font-weight: 600 !important; color: #FFFFFF !important; font-size: 3.5rem !important; text-align: center !important;">
Mobile Service Management</h1>
<p
style="font-family: 'Montserrat', sans-serif !important; font-weight: 300 !important; color: #FFFFFF !important; font-size: 1.4rem !important; text-align: center !important;">
This module helps in managing mobile service shop daily activities.
</p>
<img src="./assets/screenshots/hero.png" class="img-responsive" width="100%" height="auto" />
</div>
</div>
<div class="row">
<div class="col-md-12" style="border-bottom: 1px solid #d5d5d5 !important; margin-bottom: 2rem !important">
<h2
style="font-family: 'Montserrat', sans-serif !important; font-weight: 600 !important; color: #714B67 !important; font-size: 1.5rem !important;">
<i class="fa fa-compass mr-2"></i>Explore this module
</h2>
</div>
<div class="col-md-6">
<a href="#overview" style="text-decoration: none !important;">
<div class="row"
style="background-color: #f5f2f5 !important; border-radius: 10px !important; margin: 1rem !important; padding: 1.5em !important; height: 100px !important;">
<div class="col-8">
<h3
style="font-family: 'Montserrat', sans-serif !important; font-weight: 600 !important; color: #714B67 !important; font-size: 1.2rem !important;">
Overview</h3>
<p
style="font-family: 'Roboto', sans-serif !important; font-weight: 400 !important; color: #714B67 !important; font-size: 0.9rem !important;">
Learn more about this module</p>
</div>
<div class="col-4 text-right d-flex justify-content-end align-items-center">
<i class="fa fa-chevron-right" style="color: #714B67 !important;"></i>
</div>
</div>
</a>
</div>
<div class="col-md-6">
<a href="#access" style="text-decoration: none !important;">
<div class="row"
style="background-color: #f5f2f5 !important; border-radius: 10px !important; margin: 1rem !important; padding: 1.5em !important; height: 100px !important;">
<div class="col-8">
<h3
style="font-family: 'Montserrat', sans-serif !important; font-weight: 600 !important; color: #714B67 !important; font-size: 1.2rem !important;">
Access Rights</h3>
<p
style="font-family: 'Roboto', sans-serif !important; font-weight: 400 !important; color: #714B67 !important; font-size: 0.9rem !important;">
Learn about access rights of this module</p>
</div>
<div class="col-4 text-right d-flex justify-content-end align-items-center">
<i class="fa fa-chevron-right" style="color: #714B67 !important;"></i>
</div>
</div>
</a>
</div>
<div class="col-md-6">
<a href="#features" style="text-decoration: none !important;">
<div class="row"
style="background-color: #f5f2f5 !important; border-radius: 10px !important; margin: 1rem !important; padding: 1.5em !important; height: 100px !important;">
<div class="col-8">
<h3
style="font-family: 'Montserrat', sans-serif !important; font-weight: 600 !important; color: #714B67 !important; font-size: 1.2rem !important;">
Features</h3>
<p
style="font-family: 'Roboto', sans-serif !important; font-weight: 400 !important; color: #714B67 !important; font-size: 0.9rem !important;">
View features of this module</p>
</div>
<div class="col-4 text-right d-flex justify-content-end align-items-center">
<i class="fa fa-chevron-right" style="color: #714B67 !important;"></i>
</div>
</div>
</a>
</div>
<div class="col-md-6">
<a href="#screenshots" style="text-decoration: none !important;">
<div class="row"
style="background-color: #f5f2f5 !important; border-radius: 10px !important; margin: 1rem !important; padding: 1.5em !important; height: 100px !important;">
<div class="col-8">
<h3
style="font-family: 'Montserrat', sans-serif !important; font-weight: 600 !important; color: #714B67 !important; font-size: 1.2rem !important;">
Screenshots</h3>
<p
style="font-family: 'Roboto', sans-serif !important; font-weight: 400 !important; color: #714B67 !important; font-size: 0.9rem !important;">
See key screenshots of this module</p>
</div>
<div class="col-4 text-right d-flex justify-content-end align-items-center">
<i class="fa fa-chevron-right" style="color: #714B67 !important;"></i>
</div>
</div>
</a>
</div>
</div>
<div class="row" id="overview">
<div class="col-md-12" style="border-bottom: 1px solid #d5d5d5 !important; margin: 2rem 0 !important">
<h2
style="font-family: 'Montserrat', sans-serif !important; font-weight: 600 !important; color: #714B67 !important; font-size: 1.5rem !important;">
<i class="fa fa-pie-chart mr-2"></i>Overview
</h2>
</div>
<div class="col-mg-12 pl-3">
<p
style="font-family: 'Roboto', sans-serif !important; font-weight: 400 !important; color: #282F33 !important; font-size: 1rem !important; line-height: 30px !important;">
This module is exclusively designed for the mobile service shop for managing their daily activities
inside the service center. The module comes integrated with accounting and inventory modules
maximizing the efficiency. It comes embedded with features such as adding complaint templates,
making it a much user-friendly application. The module also helps in generating service tickets in
the workplace.</p>
</div>
</div>
<div class="row" id="access">
<div class="col-md-12" style="border-bottom: 1px solid #d5d5d5 !important; margin: 2rem 0 !important">
<h2
style="font-family: 'Montserrat', sans-serif !important; font-weight: 600 !important; color: #714B67 !important; font-size: 1.5rem !important;">
<i class="fa fa-cogs mr-2"></i>Access Rights
</h2>
</div>
<div class="col-md-6 pl-3 d-flex">
<div>
<img src="assets/icons/check.png">
</div>
<div>
<h4
style="font-family: 'Roboto', sans-serif !important; font-weight: 600 !important; color: #282F33 !important; font-size: 1.3rem !important;">
Manager </h4>
<p
style="font-family: 'Roboto', sans-serif !important; font-weight: 400 !important; color: #282F33 !important; font-size: 1rem !important;">
Manager has the complete access over the mobile shop management.</p>
</div>
</div>
<div class="col-md-6 pl-3 d-flex">
<div>
<img src="assets/icons/check.png">
</div>
<div>
<h4
style="font-family: 'Roboto', sans-serif !important; font-weight: 600 !important; color: #282F33 !important; font-size: 1.3rem !important;">
Mobile Technician </h4>
<p
style="font-family: 'Roboto', sans-serif !important; font-weight: 400 !important; color: #282F33 !important; font-size: 1rem !important;">
Mobile Technician can read and write service requests and also update the parts usage.</p>
</div>
</div>
</div>
<div class="row" id="features">
<div class="col-md-12" style="border-bottom: 1px solid #d5d5d5 !important; margin: 2rem 0 !important">
<h2
style="font-family: 'Montserrat', sans-serif !important; font-weight: 600 !important; color: #714B67 !important; font-size: 1.5rem !important;">
<i class="fa fa-star mr-2"></i>Features
</h2>
</div>
<div class="col-md-6 pl-3 py-3 d-flex">
<div>
<img src="assets/icons/check.png">
</div>
<div>
<h4
style="font-family: 'Roboto', sans-serif !important; font-weight: 600 !important; color: #282F33 !important; font-size: 1.3rem !important;">
Service request creation.</h4>
</div>
</div>
<div class="col-md-6 pl-3 py-3 d-flex">
<div>
<img src="assets/icons/check.png">
</div>
<div>
<h4
style="font-family: 'Roboto', sans-serif !important; font-weight: 600 !important; color: #282F33 !important; font-size: 1.3rem !important;">
Assigning service request to technicians</h4>
</div>
</div>
<div class="col-md-6 pl-3 py-3 d-flex">
<div>
<img src="assets/icons/check.png">
</div>
<div>
<h4
style="font-family: 'Roboto', sans-serif !important; font-weight: 600 !important; color: #282F33 !important; font-size: 1.3rem !important;">
Mobile service ticket generation</h4>
</div>
</div>
<div class="col-md-6 pl-3 py-3 d-flex">
<div>
<img src="assets/icons/check.png">
</div>
<div>
<h4
style="font-family: 'Roboto', sans-serif !important; font-weight: 600 !important; color: #282F33 !important; font-size: 1.3rem !important;">
Tracking the service status</h4>
</div>
</div>
<div class="col-md-6 pl-3 py-3 d-flex">
<div>
<img src="assets/icons/check.png">
</div>
<div>
<h4
style="font-family: 'Roboto', sans-serif !important; font-weight: 600 !important; color: #282F33 !important; font-size: 1.3rem !important;">
Integrated with accounting and sales module</h4>
</div>
</div>
<div class="col-md-6 pl-3 py-3 d-flex">
<div>
<img src="assets/icons/check.png">
</div>
<div>
<h4
style="font-family: 'Roboto', sans-serif !important; font-weight: 600 !important; color: #282F33 !important; font-size: 1.3rem !important;">
Multi-level access rights</h4>
</div>
</div>
<div class="col-md-6 pl-3 py-3 d-flex">
<div>
<img src="assets/icons/check.png">
</div>
<div>
<h4
style="font-family: 'Roboto', sans-serif !important; font-weight: 600 !important; color: #282F33 !important; font-size: 1.3rem !important;">
Mobile complaint templates</h4>
</div>
</div>
<div class="col-md-6 pl-3 py-3 d-flex">
<div>
<img src="assets/icons/check.png">
</div>
<div>
<h4
style="font-family: 'Roboto', sans-serif !important; font-weight: 600 !important; color: #282F33 !important; font-size: 1.3rem !important;">
Invoice for parts usage and service charges</h4>
</div>
</div>
<div class="col-md-6 pl-3 py-3 d-flex">
<div>
<img src="assets/icons/check.png">
</div>
<div>
<h4
style="font-family: 'Roboto', sans-serif !important; font-weight: 600 !important; color: #282F33 !important; font-size: 1.3rem !important;">
Email notifications to customer</h4>
</div>
</div>
<div class="col-md-6 pl-3 py-3 d-flex">
<div>
<img src="assets/icons/check.png">
</div>
<div>
<h4
style="font-family: 'Roboto', sans-serif !important; font-weight: 600 !important; color: #282F33 !important; font-size: 1.3rem !important;">
Parts inventory</h4>
</div>
</div>
<div class="col-md-6 pl-3 py-3 d-flex">
<div>
<img src="assets/icons/check.png">
</div>
<div>
<h4
style="font-family: 'Roboto', sans-serif !important; font-weight: 600 !important; color: #282F33 !important; font-size: 1.3rem !important;">
Flexible for further customization</h4>
</div>
</div>
</div>
<div class="row" id="screenshots">
<div class="col-md-12" style="border-bottom: 1px solid #d5d5d5 !important; margin: 2rem 0 !important">
<h2
style="font-family: 'Montserrat', sans-serif !important; font-weight: 600 !important; color: #714B67 !important; font-size: 1.5rem !important;">
<i class="fa fa-image mr-2"></i>Screenshots
</h2>
</div>
<div class="col-lg-12 my-2">
<h4 class="mt-2"
style="font-family: 'Roboto', sans-serif !important; font-weight: 600 !important; color: #282F33 !important; font-size: 1.3rem !important;">
Mobile Service Shop</h4>
<p
style="font-family: 'Roboto', sans-serif !important; font-weight: 400 !important; color: #282F33 !important; font-size: 1rem !important;">
When you install the module, an extra menu named Mobile Service is created. Here you can see the
service requests and thereafter configure your mobile service shop.</p>
<img src="assets/screenshots/mobile-1.png" class="img-responsive img-thumbnail border" width="100%"
height="auto" />
</div>
<div class="col-lg-12 my-3">
<h4 class="mt-3"
style="font-family: 'Roboto', sans-serif !important; font-weight: 600 !important; color: #282F33 !important; font-size: 1.3rem !important;">
Mobile Service -> Service Request -> Create</h4>
<p
style="font-family: 'Roboto', sans-serif !important; font-weight: 400 !important; color: #282F33 !important; font-size: 1rem !important;">
This is the service request creation form. Service request can be created according to the device
brand and model. One can assign the technician, service request, provide with warranty details,
customer details, IMEI no, request and return dates etc.
</p>
<img src="assets/screenshots/mobile-2.png" class="img-responsive img-thumbnail border" width="100%"
height="auto" />
</div>
<div class="col-lg-12 my-3">
<h4 class="mt-3"
style="font-family: 'Roboto', sans-serif !important; font-weight: 600 !important; color: #282F33 !important; font-size: 1.3rem !important;">
Generating tickets for service request.</h4>
<p
style="font-family: 'Roboto', sans-serif !important; font-weight: 400 !important; color: #282F33 !important; font-size: 1rem !important;">
Here you can create tickets for service requests by using the 'Print Ticket' button.
</p>
<img src="assets/screenshots/mobile-3.png" class="img-responsive img-thumbnail border" width="100%"
height="auto" />
</div>
<div class="col-lg-12 my-3">
<h4 class="mt-3"
style="font-family: 'Roboto', sans-serif !important; font-weight: 600 !important; color: #282F33 !important; font-size: 1.3rem !important;">
Mobile parts inventory</h4>
<p
style="font-family: 'Roboto', sans-serif !important; font-weight: 400 !important; color: #282F33 !important; font-size: 1rem !important;">
Here you see the mobile parts used for service processing.
</p>
<img src="assets/screenshots/mobile-4.png" class="img-responsive img-thumbnail border" width="100%"
height="auto" />
</div>
<div class="col-lg-12 my-3">
<h4 class="mt-3"
style="font-family: 'Roboto', sans-serif !important; font-weight: 600 !important; color: #282F33 !important; font-size: 1.3rem !important;">
Invoice for service requests</h4>
<p
style="font-family: 'Roboto', sans-serif !important; font-weight: 400 !important; color: #282F33 !important; font-size: 1rem !important;">
Here you can create invoices for service requests.
</p>
<img src="assets/screenshots/mobile-5.png" class="img-responsive img-thumbnail border" width="100%"
height="auto" />
</div>
<div class="col-lg-12 my-3">
<h4 class="mt-3"
style="font-family: 'Roboto', sans-serif !important; font-weight: 600 !important; color: #282F33 !important; font-size: 1.3rem !important;">
Post Stock moves</h4>
<p
style="font-family: 'Roboto', sans-serif !important; font-weight: 400 !important; color: #282F33 !important; font-size: 1rem !important;">
No need to create stock moves for parts usage manually. 'Post Stock Moves' will generate stock for
the parts usage.
</p>
<img src="assets/screenshots/mobile-6.png" class="img-responsive img-thumbnail border" width="100%"
height="auto" />
</div>
<div class="col-lg-12 my-3">
<h4 class="mt-3"
style="font-family: 'Roboto', sans-serif !important; font-weight: 600 !important; color: #282F33 !important; font-size: 1.3rem !important;">
Email Notification</h4>
<p
style="font-family: 'Roboto', sans-serif !important; font-weight: 400 !important; color: #282F33 !important; font-size: 1rem !important;">
The system will send email notification to the customer for each stage in the service request.
Note:- You should configure outgoing and incoming e-mail settings from your Odoo for email service
</p>
<img src="assets/screenshots/mobile-7.png" class="img-responsive img-thumbnail border" width="100%"
height="auto" />
</div>
<div class="col-lg-12 my-3">
<h4 class="mt-3"
style="font-family: 'Roboto', sans-serif !important; font-weight: 600 !important; color: #282F33 !important; font-size: 1.3rem !important;">
Brands Configuration</h4>
<p
style="font-family: 'Roboto', sans-serif !important; font-weight: 400 !important; color: #282F33 !important; font-size: 1rem !important;">
Create mobile brands which is used in service request creation. Mobile Service -> Configuration ->
Brands
</p>
<img src="assets/screenshots/mobile-8.png" class="img-responsive img-thumbnail border" width="100%"
height="auto" />
</div>
<div class="col-lg-12 my-3">
<h4 class="mt-3"
style="font-family: 'Roboto', sans-serif !important; font-weight: 600 !important; color: #282F33 !important; font-size: 1.3rem !important;">
Models Configuration</h4>
<p
style="font-family: 'Roboto', sans-serif !important; font-weight: 400 !important; color: #282F33 !important; font-size: 1rem !important;">
You can also create models for different mobile brands from. Mobile Service -> Configuration ->
Models
</p>
<img src="assets/screenshots/mobile-9.png" class="img-responsive img-thumbnail border" width="100%"
height="auto" />
</div>
<div class="col-lg-12 my-3">
<h4 class="mt-3"
style="font-family: 'Roboto', sans-serif !important; font-weight: 600 !important; color: #282F33 !important; font-size: 1.3rem !important;">
Complaint Types</h4>
<p
style="font-family: 'Roboto', sans-serif !important; font-weight: 400 !important; color: #282F33 !important; font-size: 1rem !important;">
You can create different complaint types from. Mobile Service -> Configuration -> Complaint Types
</p>
<img src="assets/screenshots/mobile-10.png" class="img-responsive img-thumbnail border" width="100%"
height="auto" />
</div>
<div class="col-lg-12 my-3">
<h4 class="mt-3"
style="font-family: 'Roboto', sans-serif !important; font-weight: 600 !important; color: #282F33 !important; font-size: 1.3rem !important;">
Complaint Templates</h4>
<p
style="font-family: 'Roboto', sans-serif !important; font-weight: 400 !important; color: #282F33 !important; font-size: 1rem !important;">
Complaint Templates can be created from. Mobile Service -> Configuration -> Complaint Templates
</p>
<img src="assets/screenshots/mobile-11.png" class="img-responsive img-thumbnail border" width="100%"
height="auto" />
</div>
</div>
<!-- SUGGESTED PRODUCTS -->
<div class="row">
<div class="col-lg-12 d-flex flex-column justify-content-center"
style="text-align: center; padding: 2.5rem 1rem !important;">
<h2 style="color: #212529 !important;">Suggested Products</h2>
<hr
style="border: 3px solid #714B67 !important; background-color: #714B67 !important; width: 80px !important; margin-bottom: 2rem !important;" />
<div id="demo1" class="row carousel slide" data-ride="carousel">
<!-- The slideshow -->
<div class="carousel-inner">
<div class="carousel-item active" style="min-height:0px">
<div class="col-xs-12 col-sm-4 col-md-4 mb16 mt16" style="float:left">
<a href="https://apps.odoo.com/apps/modules/14.0/mobile_service_shop_pro/" target="_blank">
<div style="border-radius:10px">
<img class="img img-responsive center-block"
style="border-top-left-radius:10px; border-top-right-radius:10px"
src="./assets/modules/mobile_service_shop_pro.png">
</div>
</a>
</div>
<div class="col-xs-12 col-sm-4 col-md-4 mb16 mt16" style="float:left">
<a href="https://apps.odoo.com/apps/modules/14.0/dashboard_pos/" target="_blank">
<div style="border-radius:10px">
<img class="img img-responsive center-block"
style="border-top-left-radius:10px; border-top-right-radius:10px"
src="./assets/modules/pos_image.png">
</div>
</a>
</div>
<div class="col-xs-12 col-sm-4 col-md-4 mb16 mt16" style="float:left">
<a href="https://apps.odoo.com/apps/modules/14.0/product_approval_management/"
target="_blank">
<div style="border-radius:10px">
<img class="img img-responsive center-block"
style="border-top-left-radius:10px; border-top-right-radius:10px"
src="./assets/modules/approval_image.png">
</div>
</a>
</div>
</div>
<div class="carousel-item" style="min-height:0px">
<div class="col-xs-12 col-sm-4 col-md-4 mb16 mt16" style="float:left">
<a href="https://apps.odoo.com/apps/modules/14.0/base_account_budget/" target="_blank">
<div style="border-radius:10px">
<img class="img img-responsive center-block"
style="border-top-left-radius:10px; border-top-right-radius:10px"
src="./assets/modules/budget_image.png">
</div>
</a>
</div>
<div class="col-xs-12 col-sm-4 col-md-4 mb16 mt16" style="float:left">
<a href="https://apps.odoo.com/apps/modules/14.0/shopify_odoo_connector/" target="_blank">
<div style="border-radius:10px">
<img class="img img-responsive center-block"
style="border-top-left-radius:10px; border-top-right-radius:10px"
src="./assets/modules/shopify_image.png">
</div>
</a>
</div>
<div class="col-xs-12 col-sm-4 col-md-4 mb16 mt16" style="float:left">
<a href="https://apps.odoo.com/apps/modules/14.0/odoo11_magento2/" target="_blank">
<div style="border-radius:10px">
<img class="img img-responsive center-block"
style="border-top-left-radius:10px; border-top-right-radius:10px"
src="./assets/modules/magento_image.png">
</div>
</a>
</div>
</div>
</div>
<!-- Left and right controls -->
<a class="carousel-control-prev" href="#demo1" data-slide="prev"
style="left:-25px;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="#demo1" data-slide="next"
style="right:-25px;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>
</div>
<!-- END OF SUGGESTED PRODUCTS -->
<!-- OUR SERVICES -->
<section class="container" style="margin-top: 6rem !important;">
<div class="row">
<div class="col-lg-12 d-flex flex-column justify-content-center align-items-center">
<h2 style="color: #212529 !important;">Our Services</h2>
<hr
style="border: 3px solid #714B67 !important; background-color: #714B67 !important; width: 80px !important; margin-bottom: 2rem !important;" />
</div>
<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"
style="background-color: #1dd1a1 !important; border-radius: 15px !important; height: 80px; width: 80px;">
<img src="assets/icons/cogs.png" class="img-responsive" height="48px" width="48px">
</div>
<h6 class="text-center" style="font-family: Montserrat, 'sans-serif' !important; font-weight: bold;">
Odoo
Customization</h6>
</div>
<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"
style="background-color: #ff6b6b !important; border-radius: 15px !important; height: 80px; width: 80px;">
<img src="assets/icons/wrench.png" class="img-responsive" height="48px" width="48px">
</div>
<h6 class="text-center" style="font-family: Montserrat, 'sans-serif' !important; font-weight: bold;">
Odoo
Implementation</h6>
</div>
<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"
style="background-color: #6462CD !important; border-radius: 15px !important; height: 80px; width: 80px;">
<img src="assets/icons/lifebuoy.png" class="img-responsive" height="48px" width="48px">
</div>
<h6 class="text-center" style="font-family: Montserrat, 'sans-serif' !important; font-weight: bold;">
Odoo
Support</h6>
</div>
<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"
style="background-color: #ffa801 !important; border-radius: 15px !important; height: 80px; width: 80px;">
<img src="assets/icons/user.png" class="img-responsive" height="48px" width="48px">
</div>
<h6 class="text-center" style="font-family: Montserrat, 'sans-serif' !important; font-weight: bold;">
Hire
Odoo
Developer</h6>
</div>
<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"
style="background-color: #54a0ff !important; border-radius: 15px !important; height: 80px; width: 80px;">
<img src="assets/icons/puzzle.png" class="img-responsive" height="48px" width="48px">
</div>
<h6 class="text-center" style="font-family: Montserrat, 'sans-serif' !important; font-weight: bold;">
Odoo
Integration</h6>
</div>
<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"
style="background-color: #6d7680 !important; border-radius: 15px !important; height: 80px; width: 80px;">
<img src="assets/icons/update.png" class="img-responsive" height="48px" width="48px">
</div>
<h6 class="text-center" style="font-family: Montserrat, 'sans-serif' !important; font-weight: bold;">
Odoo
Migration</h6>
</div>
<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"
style="background-color: #786fa6 !important; border-radius: 15px !important; height: 80px; width: 80px;">
<img src="assets/icons/consultation.png" class="img-responsive" height="48px" width="48px">
</div>
<h6 class="text-center" style="font-family: Montserrat, 'sans-serif' !important; font-weight: bold;">
Odoo
Consultancy</h6>
</div>
<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"
style="background-color: #f8a5c2 !important; border-radius: 15px !important; height: 80px; width: 80px;">
<img src="assets/icons/training.png" class="img-responsive" height="48px" width="48px">
</div>
<h6 class="text-center" style="font-family: Montserrat, 'sans-serif' !important; font-weight: bold;">
Odoo
Implementation</h6>
</div>
<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"
style="background-color: #e6be26 !important; border-radius: 15px !important; height: 80px; width: 80px;">
<img src="assets/icons/license.png" class="img-responsive" height="48px" width="48px">
</div>
<h6 class="text-center" style="font-family: Montserrat, 'sans-serif' !important; font-weight: bold;">
Odoo
Licensing Consultancy</h6>
</div>
</div>
</section>
<!-- END OF END OF OUR SERVICES -->
<!-- OUR INDUSTRIES -->
<section class="container" style="margin-top: 6rem !important;">
<div class="row">
<div class="col-lg-12 d-flex flex-column justify-content-center align-items-center">
<h2 style="color: #212529 !important;">Our Industries</h2>
<hr
style="border: 3px solid #714B67 !important; background-color: #714B67 !important; width: 80px !important; margin-bottom: 2rem !important;" />
</div>
<div class="col-lg-3">
<div class="my-4 d-flex flex-column justify-content-center"
style="background-color: #f6f8f9 !important; border-radius: 10px; padding: 2rem !important; height: 250px !important;">
<img src="./assets/icons/trading-black.png" class="img-responsive mb-3" height="48px" width="48px">
<h5
style="font-family: Montserrat, sans-serif !important; color: #000 !important; font-weight: bold;">
Trading
</h5>
<p style="font-family: Montserrat, sans-serif !important; font-size: 0.9rem !important;">
Easily procure
and
sell your products</p>
</div>
</div>
<div class="col-lg-3">
<div class="my-4 d-flex flex-column justify-content-center"
style="background-color: #f6f8f9 !important; border-radius: 10px; padding: 2rem !important; height: 250px !important;">
<img src="./assets/icons/pos-black.png" class="img-responsive mb-3" height="48px" width="48px">
<h5
style="font-family: Montserrat, sans-serif !important; color: #000 !important; font-weight: bold;">
POS
</h5>
<p style="font-family: Montserrat, sans-serif !important; font-size: 0.9rem !important;">
Easy
configuration
and convivial experience</p>
</div>
</div>
<div class="col-lg-3">
<div class="my-4 d-flex flex-column justify-content-center"
style="background-color: #f6f8f9 !important; border-radius: 10px; padding: 2rem !important; height: 250px !important;">
<img src="./assets/icons/education-black.png" class="img-responsive mb-3" height="48px"
width="48px">
<h5
style="font-family: Montserrat, sans-serif !important; color: #000 !important; font-weight: bold;">
Education
</h5>
<p style="font-family: Montserrat, sans-serif !important; font-size: 0.9rem !important;">
A platform for
educational management</p>
</div>
</div>
<div class="col-lg-3">
<div class="my-4 d-flex flex-column justify-content-center"
style="background-color: #f6f8f9 !important; border-radius: 10px; padding: 2rem !important; height: 250px !important;">
<img src="./assets/icons/manufacturing-black.png" class="img-responsive mb-3" height="48px"
width="48px">
<h5
style="font-family: Montserrat, sans-serif !important; color: #000 !important; font-weight: bold;">
Manufacturing
</h5>
<p style="font-family: Montserrat, sans-serif !important; font-size: 0.9rem !important;">
Plan, track and
schedule your operations</p>
</div>
</div>
<div class="col-lg-3">
<div class="my-4 d-flex flex-column justify-content-center"
style="background-color: #f6f8f9 !important; border-radius: 10px; padding: 2rem !important; height: 250px !important;">
<img src="./assets/icons/ecom-black.png" class="img-responsive mb-3" height="48px" width="48px">
<h5
style="font-family: Montserrat, sans-serif !important; color: #000 !important; font-weight: bold;">
E-commerce &amp; Website
</h5>
<p style="font-family: Montserrat, sans-serif !important; font-size: 0.9rem !important;">
Mobile
friendly,
awe-inspiring product pages</p>
</div>
</div>
<div class="col-lg-3">
<div class="my-4 d-flex flex-column justify-content-center"
style="background-color: #f6f8f9 !important; border-radius: 10px; padding: 2rem !important; height: 250px !important;">
<img src="./assets/icons/service-black.png" class="img-responsive mb-3" height="48px" width="48px">
<h5
style="font-family: Montserrat, sans-serif !important; color: #000 !important; font-weight: bold;">
Service Management
</h5>
<p style="font-family: Montserrat, sans-serif !important; font-size: 0.9rem !important;">
Keep track of
services and invoice</p>
</div>
</div>
<div class="col-lg-3">
<div class="my-4 d-flex flex-column justify-content-center"
style="background-color: #f6f8f9 !important; border-radius: 10px; padding: 2rem !important; height: 250px !important;">
<img src="./assets/icons/restaurant-black.png" class="img-responsive mb-3" height="48px"
width="48px">
<h5
style="font-family: Montserrat, sans-serif !important; color: #000 !important; font-weight: bold;">
Restaurant
</h5>
<p style="font-family: Montserrat, sans-serif !important; font-size: 0.9rem !important;">
Run your bar or
restaurant methodically</p>
</div>
</div>
<div class="col-lg-3">
<div class="my-4 d-flex flex-column justify-content-center"
style="background-color: #f6f8f9 !important; border-radius: 10px; padding: 2rem !important; height: 250px !important;">
<img src="./assets/icons/hotel-black.png" class="img-responsive mb-3" height="48px" width="48px">
<h5
style="font-family: Montserrat, sans-serif !important; color: #000 !important; font-weight: bold;">
Hotel Management
</h5>
<p style="font-family: Montserrat, sans-serif !important; font-size: 0.9rem !important;">
An
all-inclusive
hotel management application</p>
</div>
</div>
</div>
</section>
<!-- END OF END OF OUR INDUSTRIES -->
<!-- FOOTER -->
<!-- Footer Section -->
<section class="container" style="margin: 5rem auto 2rem;">
<div class="row" style="max-width:1540px;">
<div class="col-lg-12 d-flex flex-column justify-content-center align-items-center">
<h2 style="color: #212529 !important;">Need Help?</h2>
<hr
style="border: 3px solid #714B67 !important; background-color: #714B67 !important; width: 80px !important; margin-bottom: 2rem !important;" />
</div>
</div>
<!-- Contact Cards -->
<div class="row d-flex justify-content-center align-items-center"
style="max-width:1540px; margin: 0 auto 2rem auto;">
<div class="col-lg-12" style="padding: 0rem 3rem 2rem; border-radius: 10px; margin-right: 3rem; ">
<div class="row mt-4">
<div class="col-lg-6">
<a href="mailto:odoo@cybrosys.com" target="_blank" class="btn btn-block mb-2 deep_hover"
style="text-decoration: none; background-color: #4d4d4d; color: #FFF; border-radius: 4px;"><i
class="fa fa-envelope mr-2"></i>odoo@cybrosys.com</a>
</div>
<div class="col-lg-6">
<a href="https://api.whatsapp.com/send?phone=918606827707" target="_blank"
class="btn btn-block mb-2 deep_hover"
style="text-decoration: none; background-color: #25D366; color: #FFF; border-radius: 4px;"><i
class="fa fa-whatsapp mr-2"></i>WhatsApp</a>
</div>
</div>
</div>
</div>
<!-- End of Contact Cards -->
</section>
<!-- Footer -->
<section class="oe_container" style="padding: 2rem 3rem 1rem;">
<div class="row" style="max-width:1540px; margin: 0 auto; margin-right: 3rem; ">
<!-- Logo -->
<div class="col-lg-12 d-flex justify-content-center align-items-center" style="margin-top: 3rem;">
<img src="https://www.cybrosys.com/images/logo.png" width="200px" height="auto" />
</div>
<!-- End of Logo -->
<div class="col-lg-12">
<hr
style="margin-top: 3rem;background: linear-gradient(90deg, rgba(2,0,36,0) 0%, rgba(229,229,229,1) 33%, rgba(229,229,229,1) 58%, rgba(0,212,255,0) 100%); height: 2px; border-style: none;">
<!-- End of Footer Section -->
</div>
</div>
</section>
<!-- END OF FOOTER -->
</div>

6
mobile_service_shop/static/src/css/mobile_service.css

@ -0,0 +1,6 @@
.Your_custom_class {
height: 80px; width: 80px; overflow:hidden;
}
.openerp .oe_form .oe_form_field_image img {
max-width:80px; max-height: 80px;
}

45
mobile_service_shop/views/brand.xml

@ -0,0 +1,45 @@
<odoo>
<data>
<record id="mobile_brand_form_view" model="ir.ui.view">
<field name="name">mobile.brand.form</field>
<field name="model">mobile.brand</field>
<field name="arch" type="xml">
<form string="Brand">
<sheet>
<group>
<group>
<field name="brand_name"/>
</group>
</group>
</sheet>
</form>
</field>
</record>
<record id="mobile_brand_tree_view" model="ir.ui.view">
<field name="name">mobile.brand.tree</field>
<field name="model">mobile.brand</field>
<field name="arch" type="xml">
<tree>
<field name="brand_name"/>
</tree>
</field>
</record>
<record id="action_mobile_brand" model="ir.actions.act_window">
<field name="name">Brand</field>
<field name="res_model">mobile.brand</field>
<field name="view_mode">tree,form</field>
<field name="view_id" ref="mobile_brand_tree_view"/>
<field name="help" type="html">
<p class="oe_view_nocontent_create">
Click to Create a New Record.
</p>
</field>
</record>
<menuitem action="action_mobile_brand" id="mobile_service_shop_conf1" parent="mobile_service_shop_configuration"
name="Brand" sequence="1"/>
</data>
</odoo>

Some files were not shown because too many files changed in this diff

Loading…
Cancel
Save