Browse Source

[ADD] Initial Commit 'mobile_service_shop'

pull/164/head
Ajmal Cybro 5 years ago
parent
commit
017ac2b216
  1. 34
      mobile_service_shop/README.rst
  2. 24
      mobile_service_shop/__init__.py
  3. 50
      mobile_service_shop/__manifest__.py
  4. 23
      mobile_service_shop/data/mobile_service_data.xml
  5. 24
      mobile_service_shop/data/mobile_service_email_template.xml
  6. 7
      mobile_service_shop/doc/RELEASE_NOTES.md
  7. 25
      mobile_service_shop/models/__init__.py
  8. 376
      mobile_service_shop/models/mobile_service.py
  9. 36
      mobile_service_shop/models/product.py
  10. 91
      mobile_service_shop/models/product_order_line.py
  11. 46
      mobile_service_shop/models/service_ticket.py
  12. 12
      mobile_service_shop/reports/mobile_service_ticket.xml
  13. 83
      mobile_service_shop/reports/service_ticket_template.xml
  14. 15
      mobile_service_shop/security/ir.model.access.csv
  15. 36
      mobile_service_shop/security/security.xml
  16. BIN
      mobile_service_shop/static/description/banner.png
  17. BIN
      mobile_service_shop/static/description/icon.png
  18. BIN
      mobile_service_shop/static/description/images/Brand.png
  19. BIN
      mobile_service_shop/static/description/images/a1.png
  20. BIN
      mobile_service_shop/static/description/images/a2.png
  21. BIN
      mobile_service_shop/static/description/images/advanced_stock.png
  22. BIN
      mobile_service_shop/static/description/images/all service rq.png
  23. BIN
      mobile_service_shop/static/description/images/banner.png
  24. BIN
      mobile_service_shop/static/description/images/barcode_scanning.jpeg
  25. BIN
      mobile_service_shop/static/description/images/checked.png
  26. BIN
      mobile_service_shop/static/description/images/complaint templates.png
  27. BIN
      mobile_service_shop/static/description/images/complaint types.png
  28. BIN
      mobile_service_shop/static/description/images/cybrosys.png
  29. BIN
      mobile_service_shop/static/description/images/email.png
  30. BIN
      mobile_service_shop/static/description/images/export.jpeg
  31. BIN
      mobile_service_shop/static/description/images/inventory_valuation.png
  32. BIN
      mobile_service_shop/static/description/images/invoice line.png
  33. BIN
      mobile_service_shop/static/description/images/invoice.png
  34. BIN
      mobile_service_shop/static/description/images/invoice_payment.png
  35. BIN
      mobile_service_shop/static/description/images/l1.png
  36. BIN
      mobile_service_shop/static/description/images/mobile.png
  37. BIN
      mobile_service_shop/static/description/images/models.png
  38. BIN
      mobile_service_shop/static/description/images/new service rq.png
  39. BIN
      mobile_service_shop/static/description/images/o1.png
  40. BIN
      mobile_service_shop/static/description/images/o2.png
  41. BIN
      mobile_service_shop/static/description/images/o3.png
  42. BIN
      mobile_service_shop/static/description/images/parts.png
  43. BIN
      mobile_service_shop/static/description/images/post stock moves.png
  44. BIN
      mobile_service_shop/static/description/images/print tkt.png
  45. BIN
      mobile_service_shop/static/description/images/product part.png
  46. BIN
      mobile_service_shop/static/description/images/product_barcode.png
  47. BIN
      mobile_service_shop/static/description/images/s1.png
  48. BIN
      mobile_service_shop/static/description/images/s2.png
  49. BIN
      mobile_service_shop/static/description/images/service request.png
  50. BIN
      mobile_service_shop/static/description/images/service ticket.png
  51. BIN
      mobile_service_shop/static/description/images/stock_ageing.jpeg
  52. BIN
      mobile_service_shop/static/description/images/task_timer_youtube.png
  53. BIN
      mobile_service_shop/static/description/images/terms&conditions.png
  54. 468
      mobile_service_shop/static/description/index.html
  55. 45
      mobile_service_shop/views/brand.xml
  56. 82
      mobile_service_shop/views/brand_models.xml
  57. 45
      mobile_service_shop/views/complaint_template.xml
  58. 47
      mobile_service_shop/views/complaint_type.xml
  59. 307
      mobile_service_shop/views/mobile_service_views.xml
  60. 68
      mobile_service_shop/views/product_template.xml
  61. 44
      mobile_service_shop/views/terms_and_condition.xml
  62. 23
      mobile_service_shop/wizard/__init__.py
  63. 157
      mobile_service_shop/wizard/mobile_create_invoice.py
  64. 38
      mobile_service_shop/wizard/mobile_create_invoice_views.xml

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

50
mobile_service_shop/__manifest__.py

@ -0,0 +1,50 @@
# -*- 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/>.
#
#############################################################################
{
'name': 'Mobile Service Management',
'version': '14.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'],
'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 14.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

376
mobile_service_shop/models/mobile_service.py

@ -0,0 +1,376 @@
# -*- 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.get_object_reference('mobile_service_shop', 'email_template_mobile_service')[1]
except ValueError:
template_id = False
try:
compose_form_id = ir_model_data.get_object_reference('mail', 'email_compose_message_wizard_form')[1]
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):
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/banner.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 165 KiB

BIN
mobile_service_shop/static/description/icon.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 25 KiB

BIN
mobile_service_shop/static/description/images/Brand.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 35 KiB

BIN
mobile_service_shop/static/description/images/a1.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 53 KiB

BIN
mobile_service_shop/static/description/images/a2.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 70 KiB

BIN
mobile_service_shop/static/description/images/advanced_stock.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 113 KiB

BIN
mobile_service_shop/static/description/images/all service rq.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 127 KiB

BIN
mobile_service_shop/static/description/images/banner.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 138 KiB

BIN
mobile_service_shop/static/description/images/barcode_scanning.jpeg

Binary file not shown.

After

Width:  |  Height:  |  Size: 138 KiB

BIN
mobile_service_shop/static/description/images/checked.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 15 KiB

BIN
mobile_service_shop/static/description/images/complaint templates.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 56 KiB

BIN
mobile_service_shop/static/description/images/complaint types.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 42 KiB

BIN
mobile_service_shop/static/description/images/cybrosys.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 51 KiB

BIN
mobile_service_shop/static/description/images/email.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 105 KiB

BIN
mobile_service_shop/static/description/images/export.jpeg

Binary file not shown.

After

Width:  |  Height:  |  Size: 66 KiB

BIN
mobile_service_shop/static/description/images/inventory_valuation.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 102 KiB

BIN
mobile_service_shop/static/description/images/invoice line.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 105 KiB

BIN
mobile_service_shop/static/description/images/invoice.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 72 KiB

BIN
mobile_service_shop/static/description/images/invoice_payment.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 85 KiB

BIN
mobile_service_shop/static/description/images/l1.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 34 KiB

BIN
mobile_service_shop/static/description/images/mobile.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 52 KiB

BIN
mobile_service_shop/static/description/images/models.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 80 KiB

BIN
mobile_service_shop/static/description/images/new service rq.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 76 KiB

BIN
mobile_service_shop/static/description/images/o1.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 46 KiB

BIN
mobile_service_shop/static/description/images/o2.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 53 KiB

BIN
mobile_service_shop/static/description/images/o3.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 29 KiB

BIN
mobile_service_shop/static/description/images/parts.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 47 KiB

BIN
mobile_service_shop/static/description/images/post stock moves.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 71 KiB

BIN
mobile_service_shop/static/description/images/print tkt.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 68 KiB

BIN
mobile_service_shop/static/description/images/product part.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 52 KiB

BIN
mobile_service_shop/static/description/images/product_barcode.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 112 KiB

BIN
mobile_service_shop/static/description/images/s1.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 40 KiB

BIN
mobile_service_shop/static/description/images/s2.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 36 KiB

BIN
mobile_service_shop/static/description/images/service request.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 84 KiB

BIN
mobile_service_shop/static/description/images/service ticket.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 32 KiB

BIN
mobile_service_shop/static/description/images/stock_ageing.jpeg

Binary file not shown.

After

Width:  |  Height:  |  Size: 115 KiB

BIN
mobile_service_shop/static/description/images/task_timer_youtube.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 88 KiB

BIN
mobile_service_shop/static/description/images/terms&conditions.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 53 KiB

468
mobile_service_shop/static/description/index.html

@ -0,0 +1,468 @@
<div class="row" style="margin: 0;position: relative;color: #000;background-position: center;background: #ffffff;border-bottom: 1px solid #e4e4e4;text-align: center; margin: auto; display: flex;justify-content: center;"> <a href="https://www.cybrosys.com/" target="_blank"><img src="images/cybrosys.png" style=" width: 293px; padding: 1rem 0rem; margin: auto" alt="cybrosys-logo"></a> </div>
<div class="row" style="margin:75px 0;position: relative;color: #000;background-position: center;background: #ffffff;border-bottom: 1px solid #e4e4e4; padding-bottom: 30px;">
<div class="col-md-7 col-sm-12 col-xs-12" style="padding: 0px">
<div style=" margin: 0 0 0px;padding: 20px 0 10;font-size: 23px;line-height: 35px;font-weight: 400;color: #000;border-top: 1px solid rgba(255,255,255,0.1);border-bottom: 1px solid rgba(255,255,255,0.11);text-align: left;">
<h1 style="font-size: 39px;font-weight: 600;margin: 0px !important;">Mobile Service Management </h1>
<h3 style="font-size: 21px;margin-top: 8px;position: relative;">This module helps in managing mobile service shop daily activities. </h3>
</div>
<h2 style="font-weight: 600;font-size: 1.8rem;margin-top: 15px;">Key Highlights</h2>
<ul style=" padding: 0 1px; list-style: none; ">
<li style="display: flex;align-items: center;padding: 8px 0;font-size: 18px;"><i class="fa fa-check-circle-o" style="width:40px; color:#07B700"></i> Service request creation. </li>
<li style="display: flex;align-items: center;padding: 8px 0;font-size: 18px;"><i class="fa fa-check-circle-o" style="width:40px; color:#07B700"></i> Assigning service request to technicians. </li>
<li style="display: flex;align-items: center;padding: 8px 0;font-size: 18px;"><i class="fa fa-check-circle-o" style="width:40px; color:#07B700"></i> Mobile service ticket generation. </li>
<li style="display: flex;align-items: center;padding: 8px 0;font-size: 18px;"><i class="fa fa-check-circle-o" style="width:40px; color:#07B700"></i> Tracking the service status.</li>
<li style="display: flex;align-items: center;padding: 8px 0;font-size: 18px;"><i class="fa fa-check-circle-o" style="width:40px; color:#07B700"></i> Integrated with accounting and sales module. </li>
<li style="display: flex;align-items: center;padding: 8px 0;font-size: 18px;"><i class="fa fa-check-circle-o" style="width:40px; color:#07B700"></i> Multi-level access rights. </li>
<li style="display: flex;align-items: center;padding: 8px 0;font-size: 18px;"><i class="fa fa-check-circle-o" style="width:40px; color:#07B700"></i> Mobile complaint templates. </li>
<li style="display: flex;align-items: center;padding: 8px 0;font-size: 18px;"><i class="fa fa-check-circle-o" style="width:40px; color:#07B700"></i> Invoice for parts usage and service charges. </li>
<li style="display: flex;align-items: center;padding: 8px 0;font-size: 18px;"><i class="fa fa-check-circle-o" style="width:40px; color:#07B700"></i> Email notifications to customer. </li>
<li style="display: flex;align-items: center;padding: 8px 0;font-size: 18px;"><i class="fa fa-check-circle-o" style="width:40px; color:#07B700"></i> Parts inventory. </li>
<li style="display: flex;align-items: center;padding: 8px 0;font-size: 18px;"><i class="fa fa-check-circle-o" style="width:40px; color:#07B700"></i> Flexible for further customization. </li>
</ul>
</div>
<div class="col-md-5 col-sm-12 col-xs-12"><img src="images/mobile.png" class="img-responsive" alt=""></div>
</div>
<div>
<section class="oe_container" style="padding: 1rem 0rem 1rem; background-color: #ffffff !important;">
<div class="row py-4 px-3">
<div class="w-100" style="padding-top:30px;padding-bottom:45px;border-radius: 10px;">
<ul role="tablist" class="nav nav-pills justify-content-center" data-tabs="tabs" id="pills-tab" style="border: none;background: unset;">
<li class="nav-item mr-1 mb-3" style="font-size: 1.05rem;font-weight: 400;transition: all .15s ease;color: #d31c22;background-color: #d31c22;box-shadow: 0 4px 6px rgba(50,50,93,.11), 0 1px 3px rgba(0,0,0,.08);border: 0;font-family: 'Open Sans',sans-serif;width: 140px;border-radius: 0.30rem;"> <a id="pills-home-tab" data-toggle="pill" href="#pills-home" role="tab" aria-controls="pills-home" aria-selected="true" class="nav-link active show" style="color: #000000;line-height: 33px;border: 0;border-radius: .25rem;font-weight: 400;text-align: center;
color: #fff;">Overview </a> </li>
<li class="nav-item mr-1 mb-3" style="font-size: 1.05rem;font-weight: 400;transition: all .15s ease;color: #ffffff;background-color: #d31c22;box-shadow: 0 4px 6px rgba(50,50,93,.11), 0 1px 3px rgba(0,0,0,.08);border: 0;font-family: 'Open Sans',sans-serif;width: 140px;border-radius: 0.30rem;"> <a class="nav-link" id="pills-profile-tab" data-toggle="pill" href="#pills-video" role="tab" aria-controls="pills-profile" aria-selected="false" style="color: #000000;line-height: 33px;border: 0;border-radius: .25rem;font-weight: 400; text-align: center;
color: #fff;">Configuration</a> </li>
<li class="nav-item mr-1 mb-3" style="font-size: 1.05rem;font-weight: 400;transition: all .15s ease;color: #d31c22;background-color: #d31c22;box-shadow: 0 4px 6px rgba(50,50,93,.11), 0 1px 3px rgba(0,0,0,.08);border: 0;font-family: 'Open Sans',sans-serif;width: 140px;border-radius: 0.30rem;"> <a id="pills-home-tab" data-toggle="pill" href="#pills-home1" role="tab" aria-controls="pills-home" aria-selected="true" class="nav-link " style="color: #000000;line-height: 33px;border: 0;border-radius: .25rem;font-weight: 400; text-align: center;
color: #fff;" >Features </a> </li>
<li class="nav-item mr-1 mb-3" style="font-size: 1.05rem;font-weight: 400;transition: all .15s ease;color: #ffffff;background-color: #d31c22;box-shadow: 0 4px 6px rgba(50,50,93,.11), 0 1px 3px rgba(0,0,0,.08);border: 0;font-family: 'Open Sans',sans-serif;width: 140px;border-radius: 0.30rem;"> <a class="nav-link" id="pills-profile-tab" data-toggle="pill" href="#pills-profile" role="tab" aria-controls="pills-profile" aria-selected="false" style="color: #000000;line-height: 33px;border: 0;border-radius: .25rem;font-weight: 400; text-align: center;
color: #fff;">Screenshots </a> </li>
</ul>
<div class="tab-content" id="pills-tabContent"
style="padding-top: 30px; padding-bottom: 30px; padding: 30px;">
<div class="px-3 pt-1 tab-pane fade active show" id="pills-home" role="tabpanel" aria-labelledby="
pills-home-tab">
<!-- Overview-->
<h2 style="font-weight: 600;text-align: center;width: 100%;">Overview</h2>
<hr style="margin-top: 0px;margin-bottom: 2%;border: 0;text-align: center;border-top: 3px solid #d21c22;width: 5%;">
<h3 class="oe_slogan" style="text-align: center;font-size: 19px;width: 100%;margin: 0;margin-top: 14px;color: #000 !important;opacity: 1 !important;line-height: 31px;font-weight: 400;letter-spacing: .5px;margin-bottom: 21px;">
TThis 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.
</h3>
</div>
<div class="px-3 pt-1 tab-pane fade" id="pills-video" role="tabpanel" aria-labelledby="
pills-home-tab">
<h2 style="font-weight: 600;text-align: center;width: 100%;">Access Rights </h2>
<hr style="margin-top: 0px;margin-bottom: 2%;border: 0;text-align: center;border-top: 3px solid #d21c22;width: 5%;">
<ul>
<p class="mb8" style="font-family: Roboto;color: #000;list-style-type: square;font-size: 19px;line-height: 50px; background-color: #3a34380d;padding-left: 20px;border-radius: 7px;list-style: none;">
<i class="fa fa-check-circle-o" style="width:40px; color:#07B700"></i><b> Manager </b>:- Manager has the complete access over the mobile shop management.</p>
</p>
<p class="mb8" style="font-family: Roboto;color: #000;list-style-type: square;font-size: 19px;line-height: 50px; background-color: #3a34380d;padding-left: 20px;border-radius: 7px;list-style: none;">
<i class="fa fa-check-circle-o" style="width:40px; color:#07B700"></i><b>Mobile Technician </b>:- Mobile Technician can read and write service requests and also update the parts usage.
</p>
</ul>
</div>
<div class="px-3 pt-1 tab-pane fade " id="pills-home1" role="tabpanel" aria-labelledby="
pills-home-tab">
<!-- feature tab-->
<h2 style="font-weight: 600;text-align: center;width: 100%;">Mobile Service Management </h2>
<hr style="margin-top: 0px;margin-bottom: 2%;border: 0;text-align: center;border-top: 3px solid #d21c22;width: 5%;">
<ul>
<p class="mb8" style="font-family: Roboto;color: #000;list-style-type: square;font-size: 19px;line-height: 50px; background-color: #3a34380d;padding-left: 20px;border-radius: 7px;list-style: none;">
<i class="fa fa-check-circle-o" style="width:40px; color:#07B700"></i> Service request creation.
</p>
<p class="mb8" style="font-family: Roboto;color: #000;list-style-type: square;font-size: 19px;line-height: 50px; background-color: #3a34380d;padding-left: 20px;border-radius: 7px;list-style: none;">
<i class="fa fa-check-circle-o" style="width:40px; color:#07B700"></i> Assigning service request to technicians.
</p>
<p class="mb8" style="font-family: Roboto;color: #000;list-style-type: square;font-size: 19px;line-height: 50px; background-color: #3a34380d;padding-left: 20px;border-radius: 7px;list-style: none;">
<i class="fa fa-check-circle-o" style="width:40px; color:#07B700"></i> Mobile service ticket generation.
</p>
<p class="mb8" style="font-family: Roboto;color: #000;list-style-type: square;font-size: 19px;line-height: 50px; background-color: #3a34380d;padding-left: 20px;border-radius: 7px;list-style: none;">
<i class="fa fa-check-circle-o" style="width:40px; color:#07B700"></i> Tracking the service status.
</p>
<p class="mb8" style="font-family: Roboto;color: #000;list-style-type: square;font-size: 19px;line-height: 50px; background-color: #3a34380d;padding-left: 20px;border-radius: 7px;list-style: none;">
<i class="fa fa-check-circle-o" style="width:40px; color:#07B700"></i> Integrated with accounting and sales module.
</p>
<p class="mb8" style="font-family: Roboto;color: #000;list-style-type: square;font-size: 19px;line-height: 50px; background-color: #3a34380d;padding-left: 20px;border-radius: 7px;list-style: none;">
<i class="fa fa-check-circle-o" style="width:40px; color:#07B700"></i> Multi-level access rights
</p>
<p class="mb8" style="font-family: Roboto;color: #000;list-style-type: square;font-size: 19px;line-height: 50px; background-color: #3a34380d;padding-left: 20px;border-radius: 7px;list-style: none;">
<i class="fa fa-check-circle-o" style="width:40px; color:#07B700"></i> Mobile complaint templates.
</p>
<p class="mb8" style="font-family: Roboto;color: #000;list-style-type: square;font-size: 19px;line-height: 50px; background-color: #3a34380d;padding-left: 20px;border-radius: 7px;list-style: none;">
<i class="fa fa-check-circle-o" style="width:40px; color:#07B700"></i> Invoice for parts usage and service charges.
</p>
<p class="mb8" style="font-family: Roboto;color: #000;list-style-type: square;font-size: 19px;line-height: 50px; background-color: #3a34380d;padding-left: 20px;border-radius: 7px;list-style: none;">
<i class="fa fa-check-circle-o" style="width:40px; color:#07B700"></i> Email notifications to customer.
</p>
<p class="mb8" style="font-family: Roboto;color: #000;list-style-type: square;font-size: 19px;line-height: 50px; background-color: #3a34380d;padding-left: 20px;border-radius: 7px;list-style: none;">
<i class="fa fa-check-circle-o" style="width:40px; color:#07B700"></i> Parts inventory.
</p>
<p class="mb8" style="font-family: Roboto;color: #000;list-style-type: square;font-size: 19px;line-height: 50px; background-color: #3a34380d;padding-left: 20px;border-radius: 7px;list-style: none;">
<i class="fa fa-check-circle-o" style="width:40px; color:#07B700"></i> Flexible for further customization.
</p>
</ul>
</div>
<!-- Screenshot tab-->
<div class="px-3 tab-pane fade" id="pills-profile" role="tabpanel" aria-labelledby="pills-profile-tab" >
<div class="tab-pane">
<h2 style="font-weight: 600;text-align: center;width: 100%;">Screenshots</h2>
<hr style="margin-top: 0px;margin-bottom: 2%;border: 0;text-align: center;border-top: 3px solid #d21c22;width: 5%;">
<section class="oe_container">
<div id="demo" class="row carousel slide mb32" data-ride="carousel">
<div class="carousel-inner">
<div class="carousel-item active" style="min-height: 0px;">
<div class="col-xs-12 col-sm-12 col-md-12 mb16 mt16" style="float: left;">
<h3 class="alert" style="font-weight:400;color: #091E42;background: #fff;text-align: left;border-radius: 0; font-size: 18px;"> <i class="fa fa-check-circle-o" style="width:40px; color:#07B700"></i>Mobile Service Shop </h3>
<p> 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>
<div style=""> <img class="img img-responsive center-block" style="border-top-left-radius: 10px;border-top-right-radius: 10px;" src="images/all service rq.png"> </div>
</div>
</div>
<div class="carousel-item " style="min-height: 0px;">
<div class="col-xs-12 col-sm-12 col-md-12 mb16 mt16" style="float: left;">
<h3 class="alert" style="font-weight:400;color: #091E42;background: #fff;text-align: left;border-radius: 0; font-size: 18px;"> <i class="fa fa-check-circle-o" style="width:40px; color:#07B700"></i> Mobile Service -> Service Request -> Create</h3>
<p> 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>
<div style=""> <img class="img img-responsive center-block" style="border-top-left-radius: 10px;border-top-right-radius: 10px;" src="images/new service rq.png"> </div>
</div>
</div>
<div class="carousel-item " style="min-height: 0px;">
<div class="col-xs-12 col-sm-12 col-mdGenerating tickets for service request.-12 mb16 mt16" style="float: left;">
<h3 class="alert" style="font-weight:400;color: #091E42;background: #fff;text-align: left;border-radius: 0; font-size: 18px;"> <i class="fa fa-check-circle-o" style="width:40px; color:#07B700"></i> Service Tickets </h3>
<p> <b> Generating tickets for service request. </b> </p>
<p>Here you can create tickets for service requests by using the 'Print Ticket' button. </p>
<div style=""> <img class="img img-responsive center-block" style="border-top-left-radius: 10px;border-top-right-radius: 10px;" src="images/print tkt.png"> </div>
<p> Service ticket will be generated as follows, </p>
<div style=""> <img class="img img-responsive center-block" style="border-top-left-radius: 10px;border-top-right-radius: 10px;" src="images/service ticket.png"> </div>
</div>
</div>
<div class="carousel-item " style="min-height: 0px;">
<div class="col-xs-12 col-sm-12 col-mdGenerating tickets for service request.-12 mb16 mt16" style="float: left;">
<h3 class="alert" style="font-weight:400;color: #091E42;background: #fff;text-align: left;border-radius: 0; font-size: 18px;"> <i class="fa fa-check-circle-o" style="width:40px; color:#07B700"></i> Parts Inventory </h3>
<p> <b> Mobile parts inventory </b> </p>
<p> Here you see the mobile parts used for service processing. </p>
<div style=""> <img class="img img-responsive center-block" style="border-top-left-radius: 10px;border-top-right-radius: 10px;" src="images/parts.png"> </div>
<p> Product will be only visible in the parts inventory if 'is a mobile part' is checked.
You can provide the brand, model and color details from here. </p>
<div style=""> <img class="img img-responsive center-block" style="border-top-left-radius: 10px;border-top-right-radius: 10px;" src="images/product part.png"> </div>
</div>
</div>
<div class="carousel-item " style="min-height: 0px;">
<div class="col-xs-12 col-sm-12 col-mdGenerating tickets for service request.-12 mb16 mt16" style="float: left;">
<h3 class="alert" style="font-weight:400;color: #091E42;background: #fff;text-align: left;border-radius: 0; font-size: 18px;"> <i class="fa fa-check-circle-o" style="width:40px; color:#07B700"></i> Service Invoice </h3>
<p> <b> Invoice for service requests</b> </p>
<p> Here you can create invoices for service requests. </p>
<div style=""> <img class="img img-responsive center-block" style="border-top-left-radius: 10px;border-top-right-radius: 10px;" src="images/invoice.png"> </div>
<p> Invoice can be created based on advance or full amount. </p>
<div style=""> <img class="img img-responsive center-block" style="border-top-left-radius: 10px;border-top-right-radius: 10px;" src="images/invoice_payment.png"> </div>
<p> The parts used during the service process will be automatically added to the invoice line.</p>
<div style=""> <img class="img img-responsive center-block" style="border-top-left-radius: 10px;border-top-right-radius: 10px;" src="images/invoice line.png"> </div>
</div>
</div>
<div class="carousel-item " style="min-height: 0px;">
<div class="col-xs-12 col-sm-12 col-mdGenerating tickets for service request.-12 mb16 mt16" style="float: left;">
<h3 class="alert" style="font-weight:400;color: #091E42;background: #fff;text-align: left;border-radius: 0; font-size: 18px;"> <i class="fa fa-check-circle-o" style="width:40px; color:#07B700"></i> Post Stock moves </h3>
<p>No need to create stock moves for parts usage manually. 'Post Stock Moves' will generate stock for the parts usage.</p>
<div style=""> <img class="img img-responsive center-block" style="border-top-left-radius: 10px;border-top-right-radius: 10px;" src="images/post stock moves.png"> </div>
</div>
</div>
<div class="carousel-item " style="min-height: 0px;">
<div class="col-xs-12 col-sm-12 col-mdGenerating tickets for service request.-12 mb16 mt16" style="float: left;">
<h3 class="alert" style="font-weight:400;color: #091E42;background: #fff;text-align: left;border-radius: 0; font-size: 18px;"> <i class="fa fa-check-circle-o" style="width:40px; color:#07B700"></i> Email Notification </h3>
<p> The system will send email notification to the customer for each stage in the service request. <i> Note:- You should configure outgoing and incoming e-mail settings from your Odoo for email service.</i> </p>
<div style=""> <img class="img img-responsive center-block" style="border-top-left-radius: 10px;border-top-right-radius: 10px;" src="images/email.png"> </div>
</div>
</div>
<div class="carousel-item " style="min-height: 0px;">
<div class="col-xs-12 col-sm-12 col-mdGenerating tickets for service request.-12 mb16 mt16" style="float: left;">
<h3 class="alert" style="font-weight:400;color: #091E42;background: #fff;text-align: left;border-radius: 0; font-size: 18px;"> <i class="fa fa-check-circle-o" style="width:40px; color:#07B700"></i> Brands Configuration </h3>
<p> Create mobile brands which is used in service request creation. </p>
<p><b> Mobile Service -> Configuration -> Brands</b></p>
<div style=""> <img class="img img-responsive center-block" style="border-top-left-radius: 10px;border-top-right-radius: 10px;" src="images/Brand.png"> </div>
</div>
</div>
<div class="carousel-item " style="min-height: 0px;">
<div class="col-xs-12 col-sm-12 col-mdGenerating tickets for service request.-12 mb16 mt16" style="float: left;">
<h3 class="alert" style="font-weight:400;color: #091E42;background: #fff;text-align: left;border-radius: 0; font-size: 18px;"> <i class="fa fa-check-circle-o" style="width:40px; color:#07B700"></i> Models Configuration </h3>
<p> You can also create models for different mobile brands from </p>
<p><b>Mobile Service -> Configuration -> Models</b></p>
<div style=""> <img class="img img-responsive center-block" style="border-top-left-radius: 10px;border-top-right-radius: 10px;" src="images/models.png"> </div>
</div>
</div>
<div class="carousel-item " style="min-height: 0px;">
<div class="col-xs-12 col-sm-12 col-mdGenerating tickets for service request.-12 mb16 mt16" style="float: left;">
<h3 class="alert" style="font-weight:400;color: #091E42;background: #fff;text-align: left;border-radius: 0; font-size: 18px;"> <i class="fa fa-check-circle-o" style="width:40px; color:#07B700"></i> Complaint Types </h3>
<p> You can create different complaint types from </p>
<p><b> Mobile Service -> Configuration -> Complaint Types</b></p>
<div style=""> <img class="img img-responsive center-block" style="border-top-left-radius: 10px;border-top-right-radius: 10px;" src="images/complaint types.png"> </div>
</div>
</div>
<div class="carousel-item " style="min-height: 0px;">
<div class="col-xs-12 col-sm-12 col-mdGenerating tickets for service request.-12 mb16 mt16" style="float: left;">
<h3 class="alert" style="font-weight:400;color: #091E42;background: #fff;text-align: left;border-radius: 0; font-size: 18px;"> <i class="fa fa-check-circle-o" style="width:40px; color:#07B700"></i> Complaint Templates </h3>
<p> Complaint Templates can be created from </p>
<p><b> Mobile Service -> Configuration -> Complaint Templates</b></p>
<div style=""> <img class="img img-responsive center-block" style="border-top-left-radius: 10px;border-top-right-radius: 10px;" src="images/complaint templates.png"> </div>
<p> You can select different complaint templates from the 'Complaints' page while creating service requests. </p>
<div style=""> <img class="img img-responsive center-block" style="border-top-left-radius: 10px;border-top-right-radius: 10px;" src="images/service request.png"> </div>
</div>
</div>
<div class="carousel-item " style="min-height: 0px;">
<div class="col-xs-12 col-sm-12 col-mdGenerating tickets for service request.-12 mb16 mt16" style="float: left;">
<h3 class="alert" style="font-weight:400;color: #091E42;background: #fff;text-align: left;border-radius: 0; font-size: 18px;"> <i class="fa fa-check-circle-o" style="width:40px; color:#07B700"></i> Terms and conditions </h3>
<p> Terms and conditions for service request can be added from,
<b> Mobile Service -> Configuration -> Terms and Conditions </b> which will be added to the service tickets.</p>
<div style=""> <img class="img img-responsive center-block" style="border-top-left-radius: 10px;border-top-right-radius: 10px;" src="images/terms&conditions.png"> </div>
</div>
</div>
<div class="carousel-item " style="min-height: 0px;">
<div class="col-xs-12 col-sm-12 col-mdGenerating tickets for service request.-12 mb16 mt16" style="float: left;">
<h3 class="alert" style="font-weight:400;color: #091E42;background: #fff;text-align: left;border-radius: 0; font-size: 18px;"> <i class="fa fa-check-circle-o" style="width:40px; color:#07B700"></i> Mobile Service Management Pro </h3>
<p> An extended version of the module is also available in odoo apps.</p>
<p><b><strong> Features </strong></b></p>
<ul>
<li> Device details from IMEI number. </li>
<li> Customized pivot report.</li>
<li> Mobile service request report </li>
<li> Parts usage report. </li>
<li> Complaint Type report. </li>
</ul>
<p> Mobile Service Management Pro is an extended version of the module 'Mobile Service Management' Using the module application, manager can seamlessly acquire the brand, model and manufacturing details of the device using the IMEI number. In addition, it helps in saving your time and analyzing the service shop via varied generated reports. The reports include service report, parts usage report, complaint type report and customized pivot report.</p>
<p> You can download the pro version of this app from <b>Mobile Service Management Pro</b></p>
</div>
</div>
</div>
</div>
<a class="carousel-control-prev" href="#demo" 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="#demo" 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>
</section>
</div>
</div>
</div>
<!-- faq tab-->
<div class="px-2 px-lg-4 pt-3 tab-pane fade" id="pills-contact" role="tabpanel" aria-labelledby="pills-contact-tab">
<ul class="list-unstyled">
</ul>
</div>
</div>
</div>
</div>
</section>
<section class="oe_container" style="padding: 2rem 3rem 1rem;">
<h2 style="font-weight: 600;text-align: center;margin-bottom: 25px;width: 100%;">Suggested Products</h2>
<hr style="margin-top: 0px;margin-bottom: 2%;border: 0;text-align: center;border-top: 3px solid #d21c22;width: 5%;">
<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/13.0/product_barcode/" target="_blank">
<div style="box-shadow: 0 15px 35px rgba(50, 50, 93, 0.1), 0 5px 15px rgba(0, 0, 0, 0.07);border-radius: 10px;"> <img class="img img-responsive center-block" style="border-top-left-radius: 10px;border-top-right-radius: 10px;" src="images/product_barcode.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/13.0/barcode_scanning_sale_purchase/" target="_blank">
<div style="box-shadow: 0 15px 35px rgba(50, 50, 93, 0.1), 0 5px 15px rgba(0, 0, 0, 0.07);border-radius: 10px;"> <img class="img img-responsive center-block" style="border-top-left-radius: 10px;border-top-right-radius: 10px;" src="images/barcode_scanning.jpeg"> </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/13.0/stock_move_report/" target="_blank">
<div style="box-shadow: 0 15px 35px rgba(50, 50, 93, 0.1), 0 5px 15px rgba(0, 0, 0, 0.07);border-radius: 10px;"> <img class="img img-responsive center-block" style="border-top-left-radius: 10px;border-top-right-radius: 10px;" src="images/advanced_stock.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/12.0/product_ageing_report/" target="_blank">
<div style="box-shadow: 0 15px 35px rgba(50, 50, 93, 0.1), 0 5px 15px rgba(0, 0, 0, 0.07);border-radius: 10px;"> <img class="img img-responsive center-block" style="border-top-left-radius: 10px;border-top-right-radius: 10px;" src="images/stock_ageing.jpeg"> </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/13.0/stock_valuation_report/" target="_blank">
<div style="box-shadow: 0 15px 35px rgba(50, 50, 93, 0.1), 0 5px 15px rgba(0, 0, 0, 0.07);border-radius: 10px;"> <img class="img img-responsive center-block" style="border-top-left-radius: 10px;border-top-right-radius: 10px;" src="images/inventory_valuation.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/13.0/export_stockinfo_xls/" target="_blank">
<div style="box-shadow: 0 15px 35px rgba(50, 50, 93, 0.1), 0 5px 15px rgba(0, 0, 0, 0.07);border-radius: 10px;"> <img class="img img-responsive center-block" style="border-top-left-radius: 10px;border-top-right-radius: 10px;" src="images/export.jpeg"> </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>
</section>
<section class="row" style="padding: 2rem 3rem 1rem;margin:0px">
<h2 style="font-weight: 600;margin-bottom: 20px;text-align: center;width: 100%;">Our Service</h2>
<hr style="margin-top: 0px;margin-bottom: 2%;border: 0;text-align: center;border-top: 3px solid #d21c22;width: 5%;">
<div class="row" style=" display: flex; justify-content: center; flex-wrap: wrap;width: 100%; ">
<!-- <div style="display:flex;padding-top: 20px;justify-content: space-between;"> -->
<div class="col-md-2 col-sm-6 col-xs-12">
<div style="width:75px;height:75px;background:#fff; border-radius:100%;margin: auto;"> <a href="https://www.cybrosys.com/odoo-customization-and-installation/" target="_blank"> <img src="https://www.cybrosys.com/images/odoo-customization.png" style="width: 100%;border-radius: 100%;"/> </a> </div>
<h3 class="oe_slogan" style="font-weight: 800;text-align: center;font-size: 14px;width: 100%;margin: 0;margin-top: 14px;color: #000 !important;margin-top: 5px;opacity: 1 !important;line-height: 17px;"> <a href="https://www.cybrosys.com/odoo-customization-and-installation/" target="_blank" style="list-style: none; color:#000; text-decoration: none; font-family: 'Montserrat',sans-serif;"> Odoo Customization </a> </h3>
</div>
<div class="col-md-2 col-sm-6 col-xs-12">
<div style="width:75px;height:75px;background:#fff; border-radius:100%;margin: auto;"> <a href="https://www.cybrosys.com/odoo-erp-implementation/" target="_blank"> <img src="https://www.cybrosys.com/images/odoo-erp-implementation.png" style="width: 100%;border-radius: 100%;"/> </a> </div>
<h3 class="oe_slogan" style="font-weight: 800;text-align: center;font-size: 14px;width: 100%;margin: 0;margin-top: 14px;color: #000 !important;margin-top: 5px;opacity: 1 !important;line-height: 17px;"> <a href="https://www.cybrosys.com/odoo-erp-implementation/" target="_blank" style="list-style: none; color:#000; text-decoration: none; font-family: 'Montserrat',sans-serif;"> Odoo Implementation </a> </h3>
</div>
<div class="col-md-2 col-sm-6 col-xs-12">
<div style="width:75px;height:75px;background:#fff; border-radius:100%;margin: auto;"> <a href="https://www.cybrosys.com/odoo-erp-integration/" target="_blank"> <img src="https://www.cybrosys.com/images/odoo-erp-integration.png" style="width: 100%;border-radius: 100%;"/> </a> </div>
<h3 class="oe_slogan" style="font-weight: 800;text-align: center;font-size: 14px;width: 100%;margin: 0;margin-top: 14px;color: #000 !important;margin-top: 5px;opacity: 1 !important;line-height: 17px;"> <a href="https://www.cybrosys.com/odoo-erp-integration/" target="_blank" style="list-style: none; color:#000; text-decoration: none; font-family: 'Montserrat',sans-serif;"> Odoo Integration </a> </h3>
</div>
<div class="col-md-2 col-sm-6 col-xs-12">
<div style="width:75px;height:75px;background:#fff; border-radius:100%;margin: auto;"> <a href="https://www.cybrosys.com/odoo-erp-support/" target="_blank"> <img src="https://www.cybrosys.com/images/odoo-erp-support.png" style="width: 100%;border-radius: 100%;"/> </a> </div>
<h3 class="oe_slogan" style="font-weight: 800;text-align: center;font-size: 14px;width: 100%;margin: 0;margin-top: 14px;color: #000 !important;margin-top: 5px;opacity: 1 !important;line-height: 17px;"> <a href="https://www.cybrosys.com/odoo-erp-support/" target="_blank" style="list-style: none; color:#000; text-decoration: none; font-family: 'Montserrat',sans-serif;"> Odoo Support</a> </h3>
</div>
<div class="col-md-2 col-sm-6 col-xs-12">
<div style="width:75px;height:75px;background:#fff; border-radius:100%;margin: auto;"> <a href="https://www.cybrosys.com/hire-odoo-developer/" target="_blank"> <img src="https://www.cybrosys.com/images/hire-odoo-developer.png" style="width: 100%;border-radius: 100%;"/> </a> </div>
<h3 class="oe_slogan" style="font-weight: 800;text-align: center;font-size: 14px;width: 100%;margin: 0;margin-top: 14px;color: #000 !important;margin-top: 5px;opacity: 1 !important;line-height: 17px;"> <a href="https://www.cybrosys.com/hire-odoo-developer/" target="_blank" style="list-style: none; color:#000; text-decoration: none; font-family: 'Montserrat',sans-serif;"> Hire Odoo Developers</a> </h3>
</a>
</div>
<!-- </div> -->
</div>
</section>
<section class="row" style="padding: 2rem 3rem 1rem;margin:0px">
<div class="row" style="margin: 0">
<h2 style="font-weight: 600;margin-bottom: 20px;text-align: center;width: 100%;">Our Industries</h2>
<hr style="margin-top: 0px;margin-bottom: 2%;border: 0;text-align: center;border-top: 3px solid #d21c22;width: 5%;">
<!-- <div style="display:flex;justify-content: space-between;flex-wrap:wrap;"> -->
<div class="row" style="width: 100%">
<div class="col-md-4 col-sm-6 col-xs-12" style=" margin-bottom: 10px; ">
<div >
<div style="width:75px;height:75px;background:#CE2D48; border-radius:100%;float: left;text-align: left;"> <a href="https://www.cybrosys.com/odoo/industries/best-trading-erp/" target="_blank"> <img src="https://www.cybrosys.com/images/odoo-index-industry-1.png" alt="Odoo Industry" style=" border-radius: 100%;width:100%;"/> </a> </div>
</div>
<div style="width:70%;float:left;">
<h3 class="oe_slogan" style=" text-align: left;font-size: 14px;font-weight:800;width: auto;margin: 0;margin-top: 14px;color: #000 !important;margin-top: 5px;opacity: 1 !important;line-height: 17px;float: left;margin-top: 4px;margin-left: 16px;"> <a href="https://www.cybrosys.com/odoo/industries/best-trading-erp/" target="_blank" style="list-style: none; color:#000; text-decoration: none;font-family: 'Montserrat',sans-serif;"> Trading </a> </h3>
<h3 class="oe_slogan" style=" text-align: left;font-size: 12px;width: auto;margin: 0;margin-top:5px;color: #000 !important;margin-top: 5px;opacity: 1 !important;line-height: 17px;float: left;margin-top: 5px;margin-left: 16px; font-family: 'Montserrat',sans-serif;"> Easily procure and sell your products. </h3>
</div>
</div>
<div class="col-md-4 col-sm-6 col-xs-12" style=" margin-bottom: 10px; ">
<div >
<div style="width:75px;height:75px;background:#CE2D48; border-radius:100%;float: left;text-align: left;"> <a href="https://www.cybrosys.com/odoo/industries/manufacturing-erp-software/" target="_blank"> <img src="https://www.cybrosys.com/images/odoo-index-industry-2.png" alt="Odoo Industry" style=" border-radius: 100%;width:100%;"/> </a> </div>
</div>
<div style="width:70%;float:left;" style=" margin-bottom: 10px; ">
<h3 class="oe_slogan" style=" text-align: left;font-size: 14px;font-weight:800;width: auto;margin: 0;margin-top: 14px;color: #000 !important;margin-top: 5px;opacity: 1 !important;line-height: 17px;float: left;margin-top: 4px;margin-left: 16px;"> <a href="https://www.cybrosys.com/odoo/industries/manufacturing-erp-software/" target="_blank" style="list-style: none; color:#000; text-decoration: none;font-family: 'Montserrat',sans-serif;"> Manufacturing</a> </h3>
<h3 class="oe_slogan" style=" text-align: left;font-size: 12px;width: auto;margin: 0;margin-top:5px;color: #000 !important;margin-top: 5px;opacity: 1 !important;line-height: 17px;float: left;margin-top: 5px;margin-left: 16px;font-family: 'Montserrat',sans-serif;"> Plan, track and schedule your operations. </h3>
</div>
</div>
<div class="col-md-4 col-sm-6 col-xs-12" style=" margin-bottom: 10px; ">
<div >
<div style="width:75px;height:75px;background:#CE2D48; border-radius:100%;float: left;text-align: left;"> <a href="https://www.cybrosys.com/odoo/industries/restaurant-management/" target="_blank"> <img src="https://www.cybrosys.com/images/odoo-index-industry-3.png" alt="Odoo Industry" style=" border-radius: 100%;width:100%;"/> </a> </div>
</div>
<div style="width:70%;float:left;">
<h3 class="oe_slogan" style=" text-align: left;font-size: 14px;font-weight:800;width: auto;margin: 0;margin-top: 14px;color: #000 !important;margin-top: 5px;opacity: 1 !important;line-height: 17px;float: left;margin-top: 4px;margin-left: 16px;"> <a href="https://www.cybrosys.com/odoo/industries/restaurant-management/" target="_blank" style="list-style: none; color:#000; text-decoration: none;font-family: 'Montserrat',sans-serif;"> Restaurant</a> </h3>
<h3 class="oe_slogan" style=" text-align: left;font-size: 12px;width: auto;margin: 0;margin-top:5px;color: #000 !important;margin-top: 5px;opacity: 1 !important;line-height: 17px;float: left;margin-top: 5px;margin-left: 16px;font-family: 'Montserrat',sans-serif;"> Run your bar or restaurant methodical. </h3>
</div>
</div>
<div class="col-md-4 col-sm-6 col-xs-12" style=" margin-bottom: 10px; ">
<div >
<div style="width:75px;height:75px;background:#CE2D48; border-radius:100%;float: left;text-align: left;"> <a href="https://www.cybrosys.com/odoo/industries/pos/" target="_blank"> <img src="https://www.cybrosys.com/images/odoo-index-industry-4.png" alt="Odoo Industry" style=" border-radius: 100%;width:100%;"/> </a> </div>
</div>
<div style="width:70%;float:left;">
<h3 class="oe_slogan" style=" text-align: left;font-size: 14px;font-weight:800;width: auto;margin: 0;margin-top: 14px;color: #000 !important;margin-top: 5px;opacity: 1 !important;line-height: 17px;float: left;margin-top: 4px;margin-left: 16px;"> <a href="https://www.cybrosys.com/odoo/industries/pos/" target="_blank" style="list-style: none; color:#000; text-decoration: none;font-family: 'Montserrat',sans-serif;"> POS</a> </h3>
<h3 class="oe_slogan" style=" text-align: left;font-size: 12px;width: auto;margin: 0;margin-top:5px;color: #000 !important;margin-top: 5px;opacity: 1 !important;line-height: 17px;float: left;margin-top: 5px;margin-left: 16px;font-family: 'Montserrat',sans-serif;"> Easy configuring and convivial selling. </h3>
</div>
</div>
<div class="col-md-4 col-sm-6 col-xs-12" style=" margin-bottom: 10px; ">
<div >
<div style="width:75px;height:75px;background:#CE2D48; border-radius:100%;float: left;text-align: left;"> <a href="https://www.cybrosys.com/odoo/industries/ecommerce-website/" target="_blank"> <img src="https://www.cybrosys.com/images/odoo-index-industry-5.png" alt="Odoo Industry" style=" border-radius: 100%;width:100%;"/> </a> </div>
</div>
<div style="width:70%;float:left;">
<h3 class="oe_slogan" style=" text-align: left;font-size: 14px;font-weight:800;width: auto;margin: 0;margin-top: 14px;color: #000 !important;margin-top: 5px;opacity: 1 !important;line-height: 17px;float: left;margin-top: 0px;margin-left: 16px;"> <a href="https://www.cybrosys.com/odoo/industries/ecommerce-website/" target="_blank" style="list-style: none; color:#000; text-decoration: none; font-family: 'Montserrat',sans-serif;"> E-commerce & Website</a> </h3>
<h3 class="oe_slogan" style=" text-align: left;font-size: 12px;width: auto;margin: 0;margin-top:5px;color: #000 !important;margin-top: 5px;opacity: 1 !important;line-height: 17px;float: left;margin-top: 5px;margin-left: 16px; font-family: 'Montserrat',sans-serif;"> Mobile friendly, awe-inspiring product pages. </h3>
</div>
</div>
<div class="col-md-4 col-sm-6 col-xs-12" style=" margin-bottom: 10px; ">
<div >
<div style="width:75px;height:75px;background:#CE2D48; border-radius:100%;float: left;text-align: left;"> <a href="https://www.cybrosys.com/odoo/industries/hotel-management-erp/" target="_blank"> <img src="https://www.cybrosys.com/images/odoo-index-industry-6.png" alt="Odoo Industry" style=" border-radius: 100%;width:100%;"/> </a> </div>
</div>
<div style="width:70%;float:left;">
<h3 class="oe_slogan" style=" text-align: left;font-size: 14px;font-weight:800;width: auto;margin: 0;margin-top: 14px;color: #000 !important;margin-top: 5px;opacity: 1 !important;line-height: 17px;float: left;margin-top: 4px;margin-left: 16px;"> <a href="https://www.cybrosys.com/odoo/industries/hotel-management-erp/" target="_blank" style="list-style: none; color:#000; text-decoration: none; font-family: 'Montserrat',sans-serif;"> Hotel Management</a> </h3>
<h3 class="oe_slogan" style=" text-align: left;font-size: 12px;width: auto;margin: 0;margin-top:5px;color: #000 !important;margin-top: 5px;opacity: 1 !important;line-height: 17px;float: left;margin-top: 5px;margin-left: 16px; font-family: 'Montserrat',sans-serif;"> An all-inclusive hotel management application. </h3>
</div>
</div>
<div class="col-md-4 col-sm-6 col-xs-12" style=" margin-bottom: 10px; ">
<div >
<div style="width:75px;height:75px;background:#CE2D48; border-radius:100%;float: left;text-align: left;"> <a href="https://www.cybrosys.com/odoo/industries/education-erp-software/" target="_blank"> <img src="https://www.cybrosys.com/images/odoo-index-industry-7.png" alt="Odoo Industry" style=" border-radius: 100%;width:100%;"/> </a> </div>
</div>
<div style="width:70%;float:left;">
<h3 class="oe_slogan" style=" text-align: left;font-size: 14px;font-weight:800;width: auto;margin: 0;margin-top: 14px;color: #000 !important;margin-top: 5px;opacity: 1 !important;line-height: 17px;float: left;margin-top: 4px;margin-left: 16px;"> <a href="https://www.cybrosys.com/odoo/industries/education-erp-software/" target="_blank" style="list-style: none; color:#000; text-decoration: none; font-family: 'Montserrat',sans-serif;"> Education</a> </h3>
<h3 class="oe_slogan" style=" text-align: left;font-size: 12px;width: auto;margin: 0;margin-top:5px;color: #000 !important;margin-top: 5px;opacity: 1 !important;line-height: 17px;float: left;margin-top: 5px;margin-left: 16px; font-family: 'Montserrat',sans-serif;"> A Collaborative platform for educational management. </h3>
</div>
</div>
<div class="col-md-4 col-sm-6 col-xs-12" style=" margin-bottom: 10px; ">
<div >
<div style="width:75px;height:75px;background:#CE2D48; border-radius:100%;float: left;text-align: left;"> <a href="https://www.cybrosys.com/odoo/industries/service-management/" target="_blank"> <img src="https://www.cybrosys.com/images/odoo-index-industry-8.png" alt="Odoo Industry" style=" border-radius: 100%;width:100%;"/> </a> </div>
</div>
<div style="width:70%;float:left;">
<h3 class="oe_slogan" style=" text-align: left;font-size: 14px;font-weight:800;width: auto;margin: 0;margin-top: 14px;color: #000 !important;margin-top: 5px;opacity: 1 !important;line-height: 17px;float: left;margin-top: 4px;margin-left: 16px;"> <a href="https://www.cybrosys.com/odoo/industries/service-management/" target="_blank" style="list-style: none; color:#000; text-decoration: none; font-family: 'Montserrat',sans-serif;"> Service Management</a> </h3>
<h3 class="oe_slogan" style=" text-align: left;font-size: 12px;width: auto;margin: 0;margin-top:5px;color: #000 !important;margin-top: 5px;opacity: 1 !important;line-height: 17px;float: left;margin-top: 5px;margin-left: 16px; font-family: 'Montserrat',sans-serif;"> Keep track of services and invoice accordingly. </h3>
</div>
</div>
</div>
</div>
</div>
</section>
<section class="oe_container" style="padding: 0% 0% 6% 0%;">
<center>
<div class="col-md-12" style="margin: auto !important;
width: 70%;
padding: 30px;">
<h2 style="font-weight: 600;text-align: center;width: 100%;">Need Any Help?</h2>
<hr style="margin-top: 0px;margin-bottom: 2%;border: 0;text-align: center;border-top: 3px solid #d21c22;width: 5%;">
<h4 style="font-size:16px;"> If you have anything to share with us based on your use of this module, please let us know. We are ready to offer our support. </h4>
<div class="col-md-6" style="float:left; padding:20px;">
<h4><i class="fa fa-envelope"></i>Email us </h4>
<p>odoo@cybrosys.com / info@cybrosys.com</p>
</div>
<div class="col-md-6" style="float:left; padding:20px;">
<h4><i class="fa fa-phone"></i> Contact Us </h4>
<a href="https://www.cybrosys.com/contact/" target="_blank"> www.cybrosys.com</a>
</div>
</div>
</center>
</section>
<section class="oe_container" style="padding: 0% 0% 6% 0%;">
<div class="oe_slogan" style="margin-bottom: 0px;">
<div style=" display: flex; justify-content: center; flex-wrap: wrap; ">
</div>
<br>
<img src="https://www.cybrosys.com/images/logo.png" style="width: 190px; margin-bottom: 25px;margin-top: 30px;" class="center-block">
<div style=" display: flex; justify-content: center; flex-wrap: wrap; "> <a href="https://twitter.com/cybrosys" target="_blank"><i class="fa fa-2x fa-twitter" style="color:white;background: #00a0d1;width:35px;height: 35px;padding-top: 7px;font-size: 21px;margin-right: 6px;border-radius: 100%;"></i></a>
</td>
<a href="https://www.linkedin.com/company/cybrosys-technologies-pvt-ltd" target="_blank"><i class="fa fa-2x fa-linkedin" style="color:white;background: #31a3d6;width:35px;height: 35px;padding-top: 7px;font-size: 21px;margin-right: 6px;border-radius: 100%;"></i></a>
</td>
<a href="https://www.facebook.com/cybrosystechnologies" target="_blank"><i class="fa fa-2x fa-facebook" style="color:white;background: #3b5998;width:35px; height: 35px;padding-top: 7px;font-size: 21px;margin-right: 6px;border-radius: 100%;"></i></a>
</td>
<a href="https://in.pinterest.com/cybrosys" target="_blank"><i class="fa fa-2x fa-pinterest" style="color:white;background: #ac0f18;width:35px;height: 35px;padding-top: 7px;font-size: 21px;margin-right: 6px;border-radius: 100%;"></i></a>
</td>
</div>
</div>
</section>
</div>

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>

82
mobile_service_shop/views/brand_models.xml

@ -0,0 +1,82 @@
<odoo>
<data>
<record id="mobile_brand_model_form_view" model="ir.ui.view">
<field name="name">mobile.brand.model.form</field>
<field name="model">brand.model</field>
<field name="arch" type="xml">
<form string="Brand Model">
<sheet>
<field name="image_medium" widget='image' class="oe_avatar"/>
<group>
<group>
<field name="mobile_brand_name"/>
<field name="mobile_brand_models"/>
</group>
</group>
</sheet>
</form>
</field>
</record>
<record id="mobile_brand_model_view_kanban" model="ir.ui.view">
<field name="name">mobile.service.kanban</field>
<field name="model">brand.model</field>
<field name="arch" type="xml">
<kanban>
<field name="image_medium"/>
<field name="id"/>
<progressbar field="activity_state" colors="{&quot;planned&quot;: &quot;success&quot;, &quot;today&quot;: &quot;warning&quot;, &quot;overdue&quot;: &quot;danger&quot;}"/>
<templates>
<t t-name="kanban-box">
<div class="oe_kanban_global_click">
<div class="o_kanban_image">
<img t-att-src="kanban_image('brand.model', 'image_medium', record.id.raw_value)" alt="Product" class="o_image_64_contain"/>
</div>
<div class="oe_kanban_details">
<strong class="o_kanban_record_title">
<field name="mobile_brand_name"/>
</strong>
</div>
<div name="tags"/>
<ul>
<li> model: <field name="mobile_brand_models"/></li>
</ul>
<div name="tags"/>
</div>
</t>
</templates>
</kanban>
</field>
</record>
<record id="mobile_brand_model_tree_view" model="ir.ui.view">
<field name="name">mobile.brand.model.tree</field>
<field name="model">brand.model</field>
<field name="arch" type="xml">
<tree>
<field name="mobile_brand_name"/>
<field name="mobile_brand_models"/>
<field name="image_medium" widget='image' class="Your_custom_class"/>
</tree>
</field>
</record>
<record id="action_mobile_brand_models" model="ir.actions.act_window">
<field name="name">Models</field>
<field name="res_model">brand.model</field>
<field name="view_mode">kanban,tree,form</field>
<field name="help" type="html">
<p class="o_view_nocontent_empty_folder">
Click to Create a New Record.
</p>
</field>
</record>
<menuitem action="action_mobile_brand_models" id="mobile_service_shop_conf3"
parent="mobile_service_shop_configuration"
name="Models" sequence="2"/>
</data>
</odoo>

45
mobile_service_shop/views/complaint_template.xml

@ -0,0 +1,45 @@
<odoo>
<data>
<record id="mobile_complaint_template_form_view" model="ir.ui.view">
<field name="name">mobile.complaint.template.form</field>
<field name="model">mobile.complaint.description</field>
<field name="arch" type="xml">
<form string="Complaint Template">
<sheet>
<group>
<field name="complaint_type_template"/>
<field name="description"/>
</group>
</sheet>
</form>
</field>
</record>
<record id="mobile_complaint_template_tree_view" model="ir.ui.view">
<field name="name">mobile.complaint.type.tree</field>
<field name="model">mobile.complaint.description</field>
<field name="arch" type="xml">
<tree>
<field name="complaint_type_template"/>
<field name="description"/>
</tree>
</field>
</record>
<record id="action_mobile_complaint_template" model="ir.actions.act_window">
<field name="name">Complaint Types</field>
<field name="res_model">mobile.complaint.description</field>
<field name="view_mode">tree,form</field>
<field name="view_id" ref="mobile_complaint_template_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_complaint_template" id="mobile_service_shop_conf6" parent="mobile_service_shop_configuration"
name="Complaint Templates" sequence="3"/>
</data>
</odoo>

47
mobile_service_shop/views/complaint_type.xml

@ -0,0 +1,47 @@
<odoo>
<data>
<record id="mobile_complaint_type_form_view" model="ir.ui.view">
<field name="name">mobile.complaint.type.form</field>
<field name="model">mobile.complaint</field>
<field name="arch" type="xml">
<form string="Complaint Type">
<sheet>
<group>
<group>
<field name="complaint_type"/>
</group>
</group>
</sheet>
</form>
</field>
</record>
<record id="mobile_complaint_type_tree_view" model="ir.ui.view">
<field name="name">mobile.complaint.type.tree</field>
<field name="model">mobile.complaint</field>
<field name="arch" type="xml">
<tree>
<field name="complaint_type"/>
</tree>
</field>
</record>
<record id="action_mobile_complaint_type" model="ir.actions.act_window">
<field name="name">Complaint Types</field>
<field name="res_model">mobile.complaint</field>
<field name="view_mode">tree,form</field>
<field name="view_id" ref="mobile_complaint_type_tree_view"/>
<field name="help" type="html">
<p class="oe_view_nocontent_create">
Click to Create a New Record.
</p>
</field>
</record>
<menuitem action="mobile_service_shop.action_mobile_complaint_type" id="mobile_service_shop_conf2"
parent="mobile_service_shop_configuration"
name="Complaint Type" sequence="3"/>
</data>
</odoo>

307
mobile_service_shop/views/mobile_service_views.xml

@ -0,0 +1,307 @@
<odoo>
<data>
<template id="assets_backend" inherit_id="web.assets_backend">
<xpath expr="." position="inside">
<style>
.Your_custom_class { height: 80px; width: 80px; overflow:hidden;}
.openerp .oe_form .oe_form_field_image img { max-width:80px; max-height: 80px; }
</style>
</xpath>
</template>
<record id="mobile_service_sequence" model="ir.sequence">
<field name="name">Service Code</field>
<field name="code">mobile.service</field>
<field name="prefix">SERV/</field>
<field eval="4" name="padding"/>
<!-- <field eval="False" name="mobile_brand_models"/>-->
<field name="company_id" eval="False"/>
</record>
<record id="mobile_service_request_search_view" model="ir.ui.view">
<field name="name">service.request.search1</field>
<field name="model">mobile.service</field>
<field name="arch" type="xml">
<search string="Search in requests">
<field name="person_name" widget="res_partner_many2one"
context="{'res_partner_search_mode': 'customer'}"/>
<field name="contact_no"/>
<field name="technician_name"/>
<field name="imei_no"/>
<field name="return_date"/>
<field name="service_state"/>
<filter string="Returned" name="Service Status" domain="[('service_state', '=', 'returned')]"/>
<filter string="Draft" name="Service Status" domain="[('service_state', '=', 'draft')]"/>
<filter string="Not Solved" name="Service Status" domain="[('service_state', '=', 'not_solved')]"/>
<separator/>
<group expand="0" string="Group By">
<filter string="Service State" name="service_state" domain="[]"
context="{'group_by': 'service_state'}"/>
<filter string="Technician" name="technician" domain="[]"
context="{'group_by': 'technician_name'}"/>
</group>
</search>
</field>
</record>
<record id="mobile_service_request_form_view" model="ir.ui.view">
<field name="name">mobile.service.request.form</field>
<field name="model">mobile.service</field>
<field name="arch" type="xml">
<form string="Mobile Shop">
<header>
<button string="Assign to technician" type="object" name="approve"
class="oe_highlight"
attrs="{'invisible': [('service_state','not in',('draft'))]}"
groups="mobile_service_shop.mobile_service_group_manager"/>
<button string="Completed" type="object" name="complete"
class="oe_highlight"
attrs="{'invisible': [('service_state','not in',('assigned'))]}"/>
<button string="Return advance" type="object" name="return_advance"
class="oe_highlight"
attrs="{'invisible': [('service_state','not in',('not_solved'))]}"
groups="mobile_service_shop.mobile_service_group_manager"/>
<button name="action_invoice_create_wizard" string="Create Invoice"
attrs="{'invisible': [('service_state','not in',('completed', 'assigned'))]}"
type="object" class="oe_highlight"
groups="mobile_service_shop.mobile_service_group_manager"/>
<button name="action_post_stock" string="Post Stock moves"
attrs="{'invisible': [('service_state','not in',('completed', 'assigned'))]}"
type="object" class="oe_highlight"
groups="mobile_service_shop.mobile_service_group_manager"/>
<button string="Return to customer" type="object" name="return_to"
attrs="{'invisible': [('service_state','not in',('completed'))]}"
groups="mobile_service_shop.mobile_service_group_manager"/>
<button string="Not Solved" type="object" name="not_solved"
attrs="{'invisible': [('service_state','not in',('assigned'))]}"/>
<button name="get_ticket" string="Print Ticket" type="object" class="oe_highlight"
groups="mobile_service_shop.mobile_service_group_manager"/>
<button name="action_send_mail" string="Send email" type="object"
attrs="{'invisible': [('service_state','=',('draft'))]}"
groups="mobile_service_shop.mobile_service_group_manager"/>
<field name="service_state" widget="statusbar" statusbar_visible="draft,returned,not_solved"/>
</header>
<sheet>
<div class="oe_button_box" name="button_box">
<button name='action_view_invoice' class="oe_stat_button" type="object" icon="fa-money"
attrs="{'invisible': [('service_state','=',('draft'))]}">
<field string="Invoice" name="invoice_count" widget="statinfo"/>
</button>
</div>
<div class="oe_title">
<h1>
<field name="name" readonly="1"/>
</h1>
</div>
<group>
<div>
<field name="is_in_warranty"
attrs="{'readonly': [('service_state','in',('returned','not_solved'))]}"/>
<label for="is_in_warranty"/>
<field name="re_repair"
attrs="{'readonly': [('service_state','in',('returned','not_solved'))]}"/>
<label for="re_repair"/>
</div>
</group>
<group>
<group>
<field name="person_name" widget="res_partner_many2one"
context="{'res_partner_search_mode': 'customer'}" style="width:50%;"
attrs="{'readonly': [('service_state','not in',('draft'))]}"/>
<field name="contact_no" style="width:50%;"
attrs="{'readonly': [('service_state','in',('returned','not_solved'))]}"/>
<field name="email_id" style="width:50%;"
attrs="{'readonly': [('service_state','in',('returned','not_solved'))]}"/>
<label for="street" string="Address"/>
<div class="o_address_format">
<field name="street" placeholder="Street..." class="o_address_street"/>
<field name="street2" placeholder="Street 2..." class="o_address_street"/>
<field name="city" placeholder="City" class="o_address_city"/>
<field name="state_id" class="o_address_state" placeholder="State"
options='{"no_open": True}'/>
<field name="zip" placeholder="ZIP" class="o_address_zip"/>
<field name="country_id" placeholder="Country" class="o_address_country"
options='{"no_open": True, "no_create": True}'/>
</div>
</group>
<group>
<label for="brand_name"/>
<div class="o_row">
<field name="brand_name" placeholder="Brand name"
attrs="{'readonly': [('service_state','not in',('draft'))]}"/>
<field name="model_name" placeholder="Model name"
attrs="{'readonly': [('service_state','not in',('draft'))]}"/>
</div>
<field name="date_request" style="width:50%;"
attrs="{'readonly': [('service_state','not in',('draft'))]}"/>
<field name="return_date" style="width:50%;"
attrs="{'readonly': [('service_state','in',('returned','not_solved'))]}"/>
<field name="technician_name" style="width:50%;"
attrs="{'readonly': [('service_state','not in',('draft'))]}"/>
<field name="picking_count" invisible="1"/>
</group>
</group>
<notebook>
<page string="Description">
<group>
<group>
<field name="imei_no" style="width:50%;" colspan="1"
attrs="{'readonly': [('service_state','not in',('draft'))]}"/>
<field name="warranty_number" style="width:50%;" attrs="{'readonly': [('service_state','not in',('draft'))],
'required': [('is_in_warranty', '=', True)], 'invisible': [('is_in_warranty', '!=', True)]}"/>
</group>
<group>
<field name="internal_notes"
placeholder="Notes used internally (eg: device password)"
attrs="{'readonly': [('service_state','in',('returned','not_solved'))]}"/>
</group>
</group>
</page>
<page string="Complaints">
<field name="complaints_tree" mode="tree"
attrs="{'readonly': [('service_state','in',('returned','not_solved'))]}">
<tree string="Complaints" editable="bottom">
<field name="complaint_type_tree"/>
<field name="description_tree"/>
</tree>
<form>
<field name="complaint_type_tree"/>
<field name="description_tree"/>
</form>
</field>
</page>
<page string="Parts Usage">
<field name="product_order_line" mode="tree"
attrs="{'readonly': [('service_state','in',('returned','not_solved'))]}">
<tree string="Complaints" editable="bottom">
<field name="product_id"/>
<field name="product_uom_qty"/>
<field name="product_uom"/>
<field name="price_unit"/>
<field name="qty_stock_move"/>
<field name="qty_invoiced"/>
<field name="part_price"/>
</tree>
<form>
<field name="product_id"/>
<field name="product_uom_qty"/>
</form>
</field>
</page>
</notebook>
</sheet>
<div class="oe_chatter">
<field name="message_follower_ids" widget="mail_followers"/>
<field name="message_ids" widget="mail_thread"/>
</div>
</form>
</field>
</record>
<record id="service_request_view_kanban" model="ir.ui.view">
<field name="name">mobile.service.kanban</field>
<field name="model">mobile.service</field>
<field name="arch" type="xml">
<kanban class="o_kanban_small_column">
<field name="image_medium"/>
<field name="id"/>
<templates>
<t t-name="kanban-box">
<div class="oe_kanban_card oe_kanban_global_click">
<div class="o_kanban_image">
<img t-att-alt="product.name" t-att-src="kanban_image('mobile.service', 'image_medium', record.id.raw_value)"/>
</div>
<div class="oe_kanban_content">
<div>
<strong class="o_kanban_record_title">
<field name="name"/>
</strong>
</div>
<div class="text-muted o_kanban_record_subtitle">
<field name="person_name" widget="res_partner_many2one"
context="{'res_partner_search_mode': 'customer'}"/>
<br/>
<field name="service_state"/>
</div>
</div>
<div class="oe_clear"></div>
</div>
</t>
</templates>
</kanban>
</field>
</record>
<record id="mobile_service_graph" model="ir.ui.view">
<field name="name">mobile.service.graph</field>
<field name="model">mobile.service</field>
<field name="arch" type="xml">
<graph string="Service Graph">
<field name="technician_name" type="row"/>
</graph>
</field>
</record>
<record id="mobile_service_request_tree_view" model="ir.ui.view">
<field name="name">mobile.service.request.tree</field>
<field name="model">mobile.service</field>
<field name="arch" type="xml">
<tree decoration-danger="service_state == 'not_solved'" decoration-muted="service_state=='returned'"
default_order="name desc">
<field name="name"/>
<field name="person_name"/>
<field name="contact_no"/>
<field name="brand_name"/>
<field name="model_name"/>
<field name="imei_no"/>
<field name="image_medium" widget='image' class="Your_custom_class"/>
<field name="technician_name"/>
<field name="return_date"/>
<field name="service_state"/>
</tree>
</field>
</record>
<record id="action_mobile_service_request" model="ir.actions.act_window">
<field name="name">Service Request</field>
<field name="res_model">mobile.service</field>
<field name="view_mode">tree,form,kanban,pivot,graph</field>
<field name="search_view_id" ref="mobile_service_request_search_view"/>
<field name="view_id" ref="mobile_service_request_tree_view"/>
<field name="help" type="html">
<p class="oe_view_nocontent_create">
Click to Create a New Record.
</p>
</field>
</record>
<menuitem id="mobile_service_main_menu" web_icon="mobile_service_shop,static/description/web-icon.png"
name="Mobile Service" sequence="20"/>
<menuitem id="mobile_service_shop_menu" parent="mobile_service_main_menu" sequence="20"/>
<menuitem action="action_mobile_service_request" id="mobile_service_shop_menu2"
parent="mobile_service_main_menu"
name="Service Request" sequence="1"/>
<menuitem id="mobile_service_shop_configuration" parent="mobile_service_main_menu"
name="Configuration" sequence="3"/>
</data>
</odoo>

68
mobile_service_shop/views/product_template.xml

@ -0,0 +1,68 @@
<odoo>
<data>
<record id="mobile_service_products_parts" model="ir.ui.view">
<field name="name">product.parts.form.view</field>
<field name="model">product.template</field>
<field name="inherit_id" ref="product.product_template_form_view"/>
<field name="arch" type="xml">
<xpath expr="//div[@name='options']" position="inside">
<field name="is_a_parts"/>
<label for="is_a_parts"/>
</xpath>
<xpath expr="//page[@name='general_information']" position="after">
<page string="Parts details" attrs="{'invisible': [('is_a_parts', '=', False)]}">
<group>
<group>
<field name="brand_name" attrs="{'required': [('is_a_parts', '=', True)]}"/>
<field name="model_name" attrs="{'required': [('is_a_parts', '=', True)]}"/>
</group>
<group>
<field name="model_colour"/>
<field name="extra_descriptions"/>
</group>
</group>
</page>
</xpath>
</field>
</record>
<record id="view_product_name_kanban" model="ir.ui.view">
<field name="name">product.template.product.kanban</field>
<field name="model">product.template</field>
<field name="inherit_id" ref="product.product_template_kanban_view"/>
<field name="arch" type="xml">
<xpath expr="//kanban/templates/t/div/div[@class='oe_kanban_details']/strong[1]/field[@name='name']"
position="after">
<strong>
<field name="brand_name"/>
<field name="model_name"/>
</strong>
</xpath>
</field>
</record>
<record id="product_template_action_product" model="ir.actions.act_window">
<field name="name">Products</field>
<field name="type">ir.actions.act_window</field>
<field name="res_model">product.product</field>
<field name="view_mode">kanban,tree,form</field>
<field name="context">{"search_default_consumable":1, 'default_type': 'product'}</field>
<field name="domain">[('is_a_parts', '=', True)]</field>
<field name="help" type="html">
<p class="oe_view_nocontent_create">
Click to define a new product.
</p>
</field>
</record>
<menuitem action="product_template_action_product" id="mobile_service_shop_parts" parent="mobile_service_main_menu"
name="Parts inventory" sequence="2"/>
</data>
</odoo>

44
mobile_service_shop/views/terms_and_condition.xml

@ -0,0 +1,44 @@
<odoo>
<data>
<record id="mobile_terms_and_conditions_form_view" model="ir.ui.view">
<field name="name">mobile.terms.and.conditions.form</field>
<field name="model">terms.conditions</field>
<field name="arch" type="xml">
<form string="Complaint Type">
<sheet>
<group>
<field name="terms_conditions"/>
</group>
</sheet>
</form>
</field>
</record>
<record id="mobile_terms_and_conditions_tree_view" model="ir.ui.view">
<field name="name">mobile.terms.and.conditions.tree</field>
<field name="model">terms.conditions</field>
<field name="arch" type="xml">
<tree>
<field name="terms_conditions"/>
</tree>
</field>
</record>
<record id="action_mobile_terms_and_conditions" model="ir.actions.act_window">
<field name="name">Terms and Conditions</field>
<field name="res_model">terms.conditions</field>
<field name="view_mode">tree,form</field>
<field name="view_id" ref="mobile_terms_and_conditions_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_terms_and_conditions" id="mobile_service_shop_conf5"
parent="mobile_service_shop_configuration"
name="Terms and Conditions" sequence="4"/>
</data>
</odoo>

23
mobile_service_shop/wizard/__init__.py

@ -0,0 +1,23 @@
# -*- 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_create_invoice

157
mobile_service_shop/wizard/mobile_create_invoice.py

@ -0,0 +1,157 @@
# -*- 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 api, fields, models, _
from odoo.exceptions import Warning, UserError
from odoo.exceptions import UserError, ValidationError
class MobileServiceInvoice(models.Model):
_name = 'mobile.invoice'
advance_payment_method = fields.Selection([('advance', 'Advance'), ('full_amount', 'Full amount')],
string='Invoice method', default='advance')
amount = fields.Integer(string='Amount')
number = fields.Char(string='Service Id')
def action_invoice_create(self):
active_id = self._context.get('active_id')
service_id = self.env['mobile.service'].search([('id', '=', active_id)])
if not service_id.env['product.product'].search([("name", "=", "Mobile Service Advance")]):
vals = self._prepare_advance_product()
self.env['product.product'].create(vals)
if not service_id.env['product.product'].search([("name", "=", "Mobile Service Charge")]):
vals1 = self._prepare_service_product()
self.env['product.product'].create(vals1)
service_id.first_invoice_created = True
inv_obj = self.env['account.move']
inv_line_obj = self.env['account.move.line']
supplier = service_id.person_name
inv_data = {
'move_type': 'out_invoice',
'ref': supplier.name,
'partner_id': supplier.id,
'currency_id': service_id.company_id.currency_id.id,
'journal_id': service_id.journal_type.id,
'invoice_origin': service_id.name,
'company_id': service_id.company_id.id,
}
inv_id = inv_obj.create(inv_data)
service_id.first_payment_inv = inv_id.id
self.number = service_id.name
if self.advance_payment_method != 'advance':
product_id = service_id.env['product.product'].search([("name", "=", "Mobile Service Charge")])
else:
product_id = service_id.env['product.product'].search([("name", "=", "Mobile Service Advance")])
if product_id.property_account_income_id.id:
income_account = product_id.property_account_income_id.id
elif product_id.categ_id.property_account_income_categ_id.id:
income_account = product_id.categ_id.property_account_income_categ_id.id
else:
raise UserError('Please define income account for this product: "%s" (id:%d).' %
(product_id.name, product_id.id))
flag = 0
if self.amount:
flag = 1
inv_line_data = [(0, 0, {
'name': product_id.name,
'price_unit': self.amount,
'quantity': 1,
'credit': self.amount,
'debit': 0,
'account_id': income_account,
'product_id': product_id.id,
'move_id': inv_id.id,
})]
inv_id.write({
'invoice_line_ids': inv_line_data})
inv_id._recompute_payment_terms_lines()
sale_order_product = self.env['product.order.line'].search([('product_order_id', '=', service_id.name)])
for line_data in sale_order_product:
qty = line_data.product_uom_qty - line_data.qty_invoiced
if line_data.product_uom_qty < line_data.qty_invoiced:
raise UserError(_('Used quantity is less than invoiced quantity'))
uom_id = line_data.product_id.product_tmpl_id.uom_id
if qty > 0:
flag = 1
price = line_data.product_id.list_price
inv_line_data = [(0, 0, {
'name': line_data.product_id.name,
'price_unit': price,
'quantity': qty,
'product_uom_id': uom_id.id,
'credit': price,
'debit': 0,
'account_id': income_account,
'product_id': line_data.product_id.id,
'move_id': inv_id.id,
})]
inv_id.write({
'invoice_line_ids': inv_line_data})
line_data.qty_invoiced = line_data.qty_invoiced + qty
inv_id._recompute_payment_terms_lines()
inv_id.post()
if flag != 1:
raise UserError(_('Nothing to create invoice'))
imd = service_id.env['ir.model.data']
action = imd.xmlid_to_object('account.action_move_out_invoice_type')
list_view_id = imd.xmlid_to_res_id('account.view_move_tree')
form_view_id = imd.xmlid_to_res_id('account.view_move_form')
result = {
'name': action.name,
'help': action.help,
'type': 'ir.actions.act_window',
'views': [[list_view_id, 'tree'], [form_view_id, 'form'], [False, 'graph'], [False, 'kanban'],
[False, 'calendar'], [False, 'pivot']],
'target': action.target,
'context': action.context,
'res_model': 'account.move',
}
if len(inv_id) > 1:
result['domain'] = "[('id','in',%s)]" % inv_id.ids
elif len(inv_id) == 1:
result['views'] = [(form_view_id, 'form')]
result['res_id'] = inv_id.ids[0]
else:
result = {'type': 'ir.actions.act_window_close'}
return result
def _prepare_advance_product(self):
return {
'name': 'Mobile Service Advance',
'type': 'service',
'invoice_policy': 'order',
'company_id': False,
}
def _prepare_service_product(self):
return {
'name': 'Mobile Service Charge',
'type': 'service',
'invoice_policy': 'order',
'company_id': False,
}

38
mobile_service_shop/wizard/mobile_create_invoice_views.xml

@ -0,0 +1,38 @@
<odoo>
<record id="view_mobile_create_inv" model="ir.ui.view">
<field name="name">Create Invoice</field>
<field name="model">mobile.invoice</field>
<field name="arch" type="xml">
<form string="Invoice Service Order">
<p class="oe_grey">
Invoices will be created in draft so that you can review
them before validation.
</p>
<group>
<field name="advance_payment_method" class="oe_inline" widget="radio" />
<label for="amount"/>
<div>
<field name="amount"
class="oe_inline" widget="monetary"/>
</div>
</group>
<footer>
<button name="action_invoice_create" string="Create Invoices" type="object"
class="btn-primary"/>
<button string="Cancel" class="btn-default" special="cancel"/>
</footer>
</form>
</field>
</record>
<record id="action_mobile_service_inv" model="ir.actions.act_window">
<field name="name">Create Invoice</field>
<field name="type">ir.actions.act_window</field>
<field name="res_model">mobile.invoice</field>
<field name="view_mode">form</field>
<field name="target">new</field>
<!-- <field name="binding_model_id" ref="mobile_service_request_form_view" />-->
<field name="view_id" ref="view_mobile_create_inv"/>
</record>
</odoo>
Loading…
Cancel
Save