@ -0,0 +1,49 @@ |
|||||
|
.. image:: https://img.shields.io/badge/license-LGPL--3-green.svg |
||||
|
:target: https://www.gnu.org/licenses/lgpl-3.0-standalone.html |
||||
|
:alt: License: LGPL-3 |
||||
|
|
||||
|
Pet Shop Management |
||||
|
==================== |
||||
|
This module is used to mange the pets sales and sitting services. It allows users to schedule pet sittings, which can be |
||||
|
viewed and managed from the website portal. |
||||
|
|
||||
|
Configuration |
||||
|
============= |
||||
|
* No additional configurations needed. |
||||
|
|
||||
|
License |
||||
|
------- |
||||
|
Lesser General Public License, Version 3 (LGPL v3). |
||||
|
(https://www.gnu.org/licenses/lgpl-3.0-standalone.html) |
||||
|
|
||||
|
Company |
||||
|
------- |
||||
|
* `Cybrosys Techno Solutions <https://cybrosys.com/>`__ |
||||
|
|
||||
|
Credits |
||||
|
------- |
||||
|
* Developers: (V16) Gayathri V, |
||||
|
(V17) Aysha Shalin |
||||
|
Contact: odoo@cybrosys.com |
||||
|
|
||||
|
Contacts |
||||
|
-------- |
||||
|
* Mail Contact : odoo@cybrosys.com |
||||
|
* Website : https://cybrosys.com |
||||
|
|
||||
|
Bug Tracker |
||||
|
----------- |
||||
|
Bugs are tracked on GitHub Issues. In case of trouble, please check there if your issue has already been reported. |
||||
|
|
||||
|
Maintainer |
||||
|
========== |
||||
|
.. image:: https://cybrosys.com/images/logo.png |
||||
|
:target: https://cybrosys.com |
||||
|
|
||||
|
This module is maintained by Cybrosys Technologies. |
||||
|
|
||||
|
For support and more information, please visit `Our Website <https://cybrosys.com/>`__ |
||||
|
|
||||
|
Further information |
||||
|
=================== |
||||
|
HTML Description: `<static/description/index.html>`__ |
@ -0,0 +1,24 @@ |
|||||
|
# -*- coding: utf-8 -*- |
||||
|
############################################################################## |
||||
|
# |
||||
|
# Cybrosys Technologies Pvt. Ltd. |
||||
|
# |
||||
|
# Copyright (C) 2025-TODAY Cybrosys Technologies(<https://www.cybrosys.com>) |
||||
|
# Author: Aysha Shalin (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 LESSER GENERAL PUBLIC LICENSE |
||||
|
# (LGPL v3) along with this program. |
||||
|
# If not, see <http://www.gnu.org/licenses/>. |
||||
|
# |
||||
|
############################################################################## |
||||
|
from . import controllers |
||||
|
from . import models |
||||
|
from . import wizard |
@ -0,0 +1,60 @@ |
|||||
|
# -*- coding: utf-8 -*- |
||||
|
############################################################################## |
||||
|
# |
||||
|
# Cybrosys Technologies Pvt. Ltd. |
||||
|
# |
||||
|
# Copyright (C) 2025-TODAY Cybrosys Technologies(<https://www.cybrosys.com>) |
||||
|
# Author: Aysha Shalin (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 LESSER GENERAL PUBLIC LICENSE |
||||
|
# (LGPL v3) along with this program. |
||||
|
# If not, see <http://www.gnu.org/licenses/>. |
||||
|
# |
||||
|
############################################################################## |
||||
|
{ |
||||
|
'name': 'Pet Shop Management', |
||||
|
'version': '17.0.1.0.0', |
||||
|
'category': 'Sales', |
||||
|
'summary': """This module is used to mange pet sales and sitting.""", |
||||
|
'description': """This module is used to mange the pets sales and sitting |
||||
|
services. It allows users to schedule pet sittings, which can be viewed and |
||||
|
managed from the website portal.""", |
||||
|
'author': 'Cybrosys Techno Solutions', |
||||
|
'company': 'Cybrosys Techno Solutions', |
||||
|
'maintainer': 'Cybrosys Techno Solutions', |
||||
|
'website': 'https://www.cybrosys.com', |
||||
|
'depends': ['sale_management', 'hr', 'stock', 'website'], |
||||
|
'data': [ |
||||
|
'data/ir_sequence_data.xml', |
||||
|
'security/ir.model.access.csv', |
||||
|
'security/pet_shop_management_groups.xml', |
||||
|
'security/hr_employee_security.xml', |
||||
|
'security/product_security.xml', |
||||
|
'views/sitting_schedule_views.xml', |
||||
|
'views/pet_type_views.xml', |
||||
|
'views/product_product_views.xml', |
||||
|
'views/working_shifts.xml', |
||||
|
'views/pets_portal_templates.xml', |
||||
|
'views/sittings_portal_templates.xml', |
||||
|
'views/sale_order_views.xml', |
||||
|
'views/hr_employee_views.xml', |
||||
|
'views/res_partner_views.xml', |
||||
|
'views/pet_shop_management_menu.xml', |
||||
|
'report/pet_information_template.xml', |
||||
|
'report/report.xml', |
||||
|
'wizard/pet_setting_schedule_views.xml', |
||||
|
], |
||||
|
'images': ['static/description/banner.png'], |
||||
|
'license': 'LGPL-3', |
||||
|
'installable': True, |
||||
|
'auto_install': False, |
||||
|
'application': True, |
||||
|
} |
@ -0,0 +1,23 @@ |
|||||
|
# -*- coding: utf-8 -*- |
||||
|
############################################################################## |
||||
|
# |
||||
|
# Cybrosys Technologies Pvt. Ltd. |
||||
|
# |
||||
|
# Copyright (C) 2025-TODAY Cybrosys Technologies(<https://www.cybrosys.com>) |
||||
|
# Author: Aysha Shalin (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 LESSER GENERAL PUBLIC LICENSE |
||||
|
# (LGPL v3) along with this program. |
||||
|
# If not, see <http://www.gnu.org/licenses/>. |
||||
|
# |
||||
|
############################################################################## |
||||
|
from . import pet_shop_management |
||||
|
from . import portal |
@ -0,0 +1,108 @@ |
|||||
|
# -*- coding: utf-8 -*- |
||||
|
############################################################################## |
||||
|
# |
||||
|
# Cybrosys Technologies Pvt. Ltd. |
||||
|
# |
||||
|
# Copyright (C) 2025-TODAY Cybrosys Technologies(<https://www.cybrosys.com>) |
||||
|
# Author: Aysha Shalin (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 LESSER GENERAL PUBLIC LICENSE |
||||
|
# (LGPL v3) along with this program. |
||||
|
# If not, see <http://www.gnu.org/licenses/>. |
||||
|
# |
||||
|
############################################################################## |
||||
|
from odoo import http, _ |
||||
|
from odoo.exceptions import AccessError, MissingError |
||||
|
from odoo.http import request |
||||
|
from odoo.addons.portal.controllers.portal import CustomerPortal |
||||
|
from odoo.addons.portal.controllers.portal import pager as portal_pager |
||||
|
|
||||
|
class PortalPets(CustomerPortal): |
||||
|
""" For Getting portal values """ |
||||
|
def _prepare_home_portal_values(self, counters): |
||||
|
values = super()._prepare_home_portal_values(counters) |
||||
|
if 'pets_count' in counters: |
||||
|
pets_count = request.env['product.product'].sudo().search_count( |
||||
|
self._get_pets_domain()) \ |
||||
|
if request.env['product.product'].check_access_rights('read', |
||||
|
raise_exception=False) else 0 |
||||
|
values['pets_count'] = pets_count |
||||
|
return values |
||||
|
|
||||
|
def _pets_get_page_view_values(self, pets, access_token, **kwargs): |
||||
|
""" Page view values """ |
||||
|
values = { |
||||
|
'page_name': 'Pets Information', |
||||
|
'pets': pets, |
||||
|
} |
||||
|
return self._get_page_view_values(pets, access_token, values, |
||||
|
'my_pets_history', False, **kwargs) |
||||
|
|
||||
|
def _get_pets_domain(self): |
||||
|
""" Retrieving records based on the domain """ |
||||
|
return [('is_pet', '=', True), |
||||
|
('responsible_id', '=', request.env.user.id)] |
||||
|
|
||||
|
@http.route(['/my/pets', '/my/pets/page/<int:page>'], type='http', |
||||
|
auth="user", website=True) |
||||
|
def portal_my_pets(self, page=1, date_begin=None, date_end=None, |
||||
|
sortby=None): |
||||
|
""" This is used to view the pets """ |
||||
|
values = self._prepare_portal_layout_values() |
||||
|
pet = request.env['product.product'] |
||||
|
domain = self._get_pets_domain() |
||||
|
searchbar_sortings = { |
||||
|
'date': {'label': _('Date'), 'pets': 'number desc'}, |
||||
|
} |
||||
|
if not sortby: |
||||
|
sortby = 'date' |
||||
|
pets_count = pet.search_count(domain) |
||||
|
pager = portal_pager( |
||||
|
url="/my/pets", |
||||
|
url_args={'date_begin': date_begin, 'date_end': date_end, |
||||
|
'sortby': sortby}, |
||||
|
total=pets_count, |
||||
|
page=page, |
||||
|
step=self._items_per_page |
||||
|
) |
||||
|
pets = pet.search(domain, limit=self._items_per_page, |
||||
|
offset=pager['offset']) |
||||
|
request.session['my_pets_history'] = pets.ids[:100] |
||||
|
values.update({ |
||||
|
'date': date_begin, |
||||
|
'pets': pets, |
||||
|
'page_name': 'pets', |
||||
|
'pager': pager, |
||||
|
'default_url': '/my/pets', |
||||
|
'searchbar_sortings': searchbar_sortings, |
||||
|
'sortby': sortby, |
||||
|
}) |
||||
|
return request.render("pet_shop_management.portal_my_pets", values) |
||||
|
|
||||
|
@http.route(['/my/pets/<int:pets_id>'], type='http', auth="public", |
||||
|
website=True) |
||||
|
def portal_my_pets_detail(self, pets_id, access_token=None, |
||||
|
report_type=None, download=False, **kw): |
||||
|
""" Detail information of the pets """ |
||||
|
try: |
||||
|
pets_sudo = self._document_check_access('product.product', pets_id, |
||||
|
access_token) |
||||
|
except (AccessError, MissingError): |
||||
|
return request.redirect('/my') |
||||
|
if report_type in ('html', 'pdf', 'text'): |
||||
|
return self._show_report(model=pets_sudo, |
||||
|
report_type=report_type, |
||||
|
report_ref='pet_shop_management' |
||||
|
'.view_product_product_form', |
||||
|
download=download) |
||||
|
values = self._pets_get_page_view_values(pets_sudo, access_token, |
||||
|
**kw) |
||||
|
return request.render("pet_shop_management.portal_pets_page", values) |
@ -0,0 +1,90 @@ |
|||||
|
# -*- coding: utf-8 -*- |
||||
|
############################################################################## |
||||
|
# |
||||
|
# Cybrosys Technologies Pvt. Ltd. |
||||
|
# |
||||
|
# Copyright (C) 2025-TODAY Cybrosys Technologies(<https://www.cybrosys.com>) |
||||
|
# Author: Aysha Shalin (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 LESSER GENERAL PUBLIC LICENSE |
||||
|
# (LGPL v3) along with this program. |
||||
|
# If not, see <http://www.gnu.org/licenses/>. |
||||
|
# |
||||
|
############################################################################## |
||||
|
from datetime import date |
||||
|
from odoo import http, _ |
||||
|
from odoo.http import request |
||||
|
from odoo.addons.portal.controllers.portal import CustomerPortal |
||||
|
from odoo.addons.portal.controllers.portal import pager as portal_pager |
||||
|
|
||||
|
class PortalSittingsSchedules(CustomerPortal): |
||||
|
""" This class is used to gets the sitting portal values """ |
||||
|
def _prepare_home_portal_values(self, counters): |
||||
|
""" Preparing portal values for sittings """ |
||||
|
values = super()._prepare_home_portal_values(counters) |
||||
|
if 'sittings_count' in counters: |
||||
|
sittings_count = request.env[ |
||||
|
'sitting.schedule'].sudo().search_count( |
||||
|
self._get_sittings_domain()) \ |
||||
|
if request.env['sitting.schedule'].check_access_rights('read', |
||||
|
raise_exception=False) else 0 |
||||
|
values['sittings_count'] = sittings_count |
||||
|
return values |
||||
|
|
||||
|
def _sittings_get_page_view_values(self, sittings, access_token, **kwargs): |
||||
|
""" This is used to view the sittings page """ |
||||
|
values = { |
||||
|
'page_name': 'sittings', |
||||
|
'sittings': sittings, |
||||
|
} |
||||
|
return self._get_page_view_values(sittings, access_token, values, |
||||
|
'my_sittings_history', False, |
||||
|
**kwargs) |
||||
|
|
||||
|
def _get_sittings_domain(self): |
||||
|
""" Function for domain condition """ |
||||
|
return [('end_date', '>=', date.today())] |
||||
|
|
||||
|
@http.route(['/my/sittings', '/my/sittings/page/<int:page>'], type='http', |
||||
|
auth="user", website=True) |
||||
|
def portal_my_sittings(self, page=1, date_begin=None, date_end=None, |
||||
|
sortby=None): |
||||
|
""" This is used to display the sittings values """ |
||||
|
values = self._prepare_portal_layout_values() |
||||
|
sitting = request.env['sitting.schedule'] |
||||
|
domain = self._get_sittings_domain() |
||||
|
searchbar_sortings = { |
||||
|
'date': {'label': _('Date'), 'sittings': 'number desc'}, |
||||
|
} |
||||
|
if not sortby: |
||||
|
sortby = 'date' |
||||
|
sittings_count = sitting.search_count(domain) |
||||
|
pager = portal_pager( |
||||
|
url="/my/sitting", |
||||
|
url_args={'date_begin': date_begin, 'date_end': date_end, |
||||
|
'sortby': sortby}, |
||||
|
total=sittings_count, |
||||
|
page=page, |
||||
|
step=self._items_per_page |
||||
|
) |
||||
|
sittings = sitting.search(domain, limit=self._items_per_page, |
||||
|
offset=pager['offset']) |
||||
|
request.session['my_sittings_history'] = sittings.ids[:100] |
||||
|
values.update({ |
||||
|
'date': date_begin, |
||||
|
'sittings': sittings, |
||||
|
'page_name': 'sittings', |
||||
|
'pager': pager, |
||||
|
'default_url': '/my/sittings', |
||||
|
'searchbar_sortings': searchbar_sortings, |
||||
|
'sortby': sortby, |
||||
|
}) |
||||
|
return request.render("pet_shop_management.portal_my_sittings", values) |
@ -0,0 +1,14 @@ |
|||||
|
<?xml version="1.0" encoding="utf-8"?> |
||||
|
<odoo> |
||||
|
<data noupdate="1"> |
||||
|
<!-- Sequence for pet shop --> |
||||
|
<record id="pet_shop_pet_seq" model="ir.sequence"> |
||||
|
<field name="name">Pet Sequence</field> |
||||
|
<field name="code">pet.sequence</field> |
||||
|
<field name="prefix">PS/PT/</field> |
||||
|
<field name="padding">3</field> |
||||
|
<field name="number_next">1</field> |
||||
|
<field name="number_increment">1</field> |
||||
|
</record> |
||||
|
</data> |
||||
|
</odoo> |
@ -0,0 +1,6 @@ |
|||||
|
## Module <pet_shop_management> |
||||
|
|
||||
|
#### 07.01.2025 |
||||
|
#### Version 17.0.1.0.0 |
||||
|
##### ADD |
||||
|
- Initial commit for Pet Shop Management |
@ -0,0 +1,29 @@ |
|||||
|
# -*- coding: utf-8 -*- |
||||
|
############################################################################## |
||||
|
# |
||||
|
# Cybrosys Technologies Pvt. Ltd. |
||||
|
# |
||||
|
# Copyright (C) 2025-TODAY Cybrosys Technologies(<https://www.cybrosys.com>) |
||||
|
# Author: Aysha Shalin (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 LESSER GENERAL PUBLIC LICENSE |
||||
|
# (LGPL v3) along with this program. |
||||
|
# If not, see <http://www.gnu.org/licenses/>. |
||||
|
# |
||||
|
############################################################################## |
||||
|
from . import hr_employee |
||||
|
from . import pet_type |
||||
|
from . import pet_vaccines |
||||
|
from . import product_product |
||||
|
from . import report_pet_shop_management_report_pet_information |
||||
|
from . import sale_order |
||||
|
from . import sitting_schedule |
||||
|
from . import working_time |
@ -0,0 +1,32 @@ |
|||||
|
# -*- coding: utf-8 -*- |
||||
|
############################################################################## |
||||
|
# |
||||
|
# Cybrosys Technologies Pvt. Ltd. |
||||
|
# |
||||
|
# Copyright (C) 2025-TODAY Cybrosys Technologies(<https://www.cybrosys.com>) |
||||
|
# Author: Aysha Shalin (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 LESSER GENERAL PUBLIC LICENSE |
||||
|
# (LGPL v3) along with this program. |
||||
|
# If not, see <http://www.gnu.org/licenses/>. |
||||
|
# |
||||
|
############################################################################## |
||||
|
from odoo import fields, models |
||||
|
|
||||
|
|
||||
|
class HrEmployee(models.Model): |
||||
|
""" Inheriting employee to identifies the walker /veterinarian """ |
||||
|
_inherit = 'hr.employee' |
||||
|
|
||||
|
is_veterinarian = fields.Boolean(string='Is Veterinarian', |
||||
|
help='Identifies as a veterinarian') |
||||
|
is_walker_sitters = fields.Boolean(string='Walker', |
||||
|
help='Identifies as a sitter') |
@ -0,0 +1,30 @@ |
|||||
|
# -*- coding: utf-8 -*- |
||||
|
############################################################################## |
||||
|
# |
||||
|
# Cybrosys Technologies Pvt. Ltd. |
||||
|
# |
||||
|
# Copyright (C) 2025-TODAY Cybrosys Technologies(<https://www.cybrosys.com>) |
||||
|
# Author: Aysha Shalin (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 LESSER GENERAL PUBLIC LICENSE |
||||
|
# (LGPL v3) along with this program. |
||||
|
# If not, see <http://www.gnu.org/licenses/>. |
||||
|
# |
||||
|
############################################################################## |
||||
|
from odoo import fields, models |
||||
|
|
||||
|
|
||||
|
class PetType(models.Model): |
||||
|
""" This is used to identify the type of pet """ |
||||
|
_name = 'pet.type' |
||||
|
_description = "Pet Type" |
||||
|
|
||||
|
name = fields.Char(string='Name', help="Name of pet type") |
@ -0,0 +1,41 @@ |
|||||
|
# -*- coding: utf-8 -*- |
||||
|
############################################################################## |
||||
|
# |
||||
|
# Cybrosys Technologies Pvt. Ltd. |
||||
|
# |
||||
|
# Copyright (C) 2025-TODAY Cybrosys Technologies(<https://www.cybrosys.com>) |
||||
|
# Author: Aysha Shalin (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 LESSER GENERAL PUBLIC LICENSE |
||||
|
# (LGPL v3) along with this program. |
||||
|
# If not, see <http://www.gnu.org/licenses/>. |
||||
|
# |
||||
|
############################################################################## |
||||
|
from odoo import fields, models |
||||
|
|
||||
|
|
||||
|
class PetVaccines(models.Model): |
||||
|
""" This is used to identify the vaccines """ |
||||
|
_name = 'pet.vaccines' |
||||
|
_rec_name = 'vaccine_name' |
||||
|
_description = "Pet Vaccines" |
||||
|
|
||||
|
pet_vaccine_id = fields.Many2one('product.product', |
||||
|
string='Vaccine', |
||||
|
help='Vaccine product id') |
||||
|
vaccine_name = fields.Char(string='Vaccine Name', |
||||
|
help='Name of the vaccine') |
||||
|
date = fields.Date(string='Date', help='Date of the Vaccination') |
||||
|
date_exp = fields.Date(string='Date Expired', help='Date of expiry') |
||||
|
veterinarian_id = fields.Many2one('hr.employee', |
||||
|
string='Veterinarian', |
||||
|
help='Veterinarian of the pet', |
||||
|
domain="[('is_veterinarian', '=', True)]") |
@ -0,0 +1,157 @@ |
|||||
|
# -*- coding: utf-8 -*- |
||||
|
############################################################################## |
||||
|
# |
||||
|
# Cybrosys Technologies Pvt. Ltd. |
||||
|
# |
||||
|
# Copyright (C) 2025-TODAY Cybrosys Technologies(<https://www.cybrosys.com>) |
||||
|
# Author: Aysha Shalin (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 LESSER GENERAL PUBLIC LICENSE |
||||
|
# (LGPL v3) along with this program. |
||||
|
# If not, see <http://www.gnu.org/licenses/>. |
||||
|
# |
||||
|
############################################################################## |
||||
|
from datetime import timedelta, date |
||||
|
from odoo import api, fields, models, _ |
||||
|
from odoo.exceptions import UserError |
||||
|
|
||||
|
|
||||
|
class Product(models.Model): |
||||
|
""" Inheriting pets as product """ |
||||
|
_inherit = 'product.product' |
||||
|
|
||||
|
is_pet = fields.Boolean(string='Is Pet', |
||||
|
help='This is used to identify the pet') |
||||
|
image_1920 = fields.Image(string="Image", help='Image of the pet', |
||||
|
compute='_compute_image_1920', |
||||
|
inverse='_set_image_1920') |
||||
|
age = fields.Float(compute='_compute_age', string='Age', |
||||
|
help='Age of the pet') |
||||
|
sex = fields.Selection([ |
||||
|
('male', 'Male'), |
||||
|
('female', 'Female'), |
||||
|
('other', 'Other') |
||||
|
], string='Sex', help='Gender of the pet') |
||||
|
dob = fields.Date(string='Date Of Birth', help='Date of birth of pet') |
||||
|
pet_type_id = fields.Many2one('pet.type', string='Pet Type', |
||||
|
help='Type of the pet') |
||||
|
color = fields.Char(string='Color', help='Color of the pet') |
||||
|
stay = fields.Char(string='Stay', help='Stay of the pet') |
||||
|
pet_seq = fields.Char(string='Pet Sequence No.', required=True, |
||||
|
copy=False, readonly=True, |
||||
|
index=True, default=lambda self: 'New', |
||||
|
help="Sequence of the pet") |
||||
|
photo_one = fields.Binary(string='Image', help='Photo of the pet') |
||||
|
photo_two = fields.Binary(string='Image', help='Additional photo of the pet') |
||||
|
photo_three = fields.Binary(string='Image', help='Alternative photo of the pet') |
||||
|
notes = fields.Text(string='Note', help="Additional notes") |
||||
|
veterinarian_id = fields.Many2one('hr.employee', |
||||
|
domain="[('is_veterinarian', '=', True)]", |
||||
|
string='Veterinarian', |
||||
|
help='Veterinarian of the pet') |
||||
|
is_contact = fields.Boolean(string='Contact if your pet has any hesitation', |
||||
|
help='To know the pets have hesitation') |
||||
|
is_allergy = fields.Boolean( |
||||
|
string='Has your pet ever had any allergic reaction to a medicine?', |
||||
|
help='To know pets have allergic reaction') |
||||
|
is_reaction = fields.Boolean( |
||||
|
string='Has your pet ever had a reaction to a vaccine?', |
||||
|
help='To know pets have reaction to the vaccine.') |
||||
|
previous_reactions = fields.Text( |
||||
|
string='Has Your pet had any previous medical or surgical problems?', |
||||
|
help='To know the pets have any surgical problems') |
||||
|
pet_place = fields.Char(string='Where did your pet come from', |
||||
|
default='Pet Store', |
||||
|
help='Place Where your pet come from') |
||||
|
pet_food = fields.Char(string='what do you feed your pet', |
||||
|
help='Name of your pet feed.') |
||||
|
is_pet_service = fields.Boolean(string='Is pet Service', |
||||
|
help="Identifies Pet as service") |
||||
|
pet_vaccines_ids = fields.One2many('pet.vaccines', |
||||
|
'pet_vaccine_id', |
||||
|
string='Pet Vaccines', |
||||
|
help='Vaccines done for the pets') |
||||
|
vaccine = fields.Binary(string='Image', help='To upload the vaccine info') |
||||
|
customer_id = fields.Many2one('res.partner', string='Customer', |
||||
|
help='Owner of the pet', |
||||
|
domain="[('type', '!=', 'private')]") |
||||
|
responsible_id = fields.Many2one('res.users', string='Scheduler User', |
||||
|
default=lambda self: self.env.user, |
||||
|
required=True, |
||||
|
help='Responsible person of the pet') |
||||
|
partner_id = fields.Many2one('res.partner', string='Partner', |
||||
|
required=True, help="Name of the partner") |
||||
|
is_sale_order = fields.Boolean(string='Sale Order', default=False) |
||||
|
month = fields.Integer(string='Month', help='If the pet is below one year', |
||||
|
compute="_compute_age") |
||||
|
|
||||
|
@api.depends('dob') |
||||
|
def _compute_age(self): |
||||
|
""" Computes pets age according to their dob """ |
||||
|
for rec in self: |
||||
|
if rec.dob: |
||||
|
rec.age = (date.today() - rec.dob) // timedelta(days=365.2425) |
||||
|
rec.month = (date.today() - rec.dob) // timedelta(days=30) |
||||
|
else: |
||||
|
rec.age = False |
||||
|
rec.month = False |
||||
|
|
||||
|
def create_sale_order(self): |
||||
|
""" Creating sale order if there exists """ |
||||
|
onhand = self.env['stock.quant'].search([ |
||||
|
('product_id', '=', self.id)]) |
||||
|
if self.is_pet: |
||||
|
if len(onhand) != 0: |
||||
|
sale = self.env['sale.order'].create({ |
||||
|
'partner_id': self.partner_id.id, |
||||
|
}) |
||||
|
sale.order_line = [(5, 0, 0)] |
||||
|
vals = { |
||||
|
'order_id': sale.id, |
||||
|
'product_id': self.id, |
||||
|
'product_template_id': self.product_tmpl_id.id, |
||||
|
'name': self.product_tmpl_id.name, |
||||
|
} |
||||
|
sale.order_line = [(0, 0, vals)] |
||||
|
else: |
||||
|
raise UserError( |
||||
|
_("Available quantity is Zero.")) |
||||
|
elif self.is_pet_service: |
||||
|
sale = self.env['sale.order'].create({ |
||||
|
'partner_id': self.partner_id.id, |
||||
|
}) |
||||
|
sale.order_line = [(5, 0, 0)] |
||||
|
vals = { |
||||
|
'order_id': sale.id, |
||||
|
'product_id': self.id, |
||||
|
'product_template_id': self.product_tmpl_id.id, |
||||
|
'name': self.product_tmpl_id.name, |
||||
|
} |
||||
|
sale.order_line = [(0, 0, vals)] |
||||
|
else: |
||||
|
raise UserError(_("Nothing to sell.")) |
||||
|
return { |
||||
|
'type': 'ir.actions.act_window', |
||||
|
'target': 'current', |
||||
|
'name': _('Create Sale'), |
||||
|
'res_id': sale.id, |
||||
|
'view_mode': 'form', |
||||
|
'res_model': 'sale.order', |
||||
|
} |
||||
|
|
||||
|
@api.model |
||||
|
def create(self, vals): |
||||
|
""" To create the sequence """ |
||||
|
if vals.get('pet_seq', 'New') == 'New': |
||||
|
vals['pet_seq'] = self.env['ir.sequence'].next_by_code( |
||||
|
'pet.sequence') or 'New' |
||||
|
result = super().create(vals) |
||||
|
return result |
@ -0,0 +1,37 @@ |
|||||
|
# -*- coding: utf-8 -*- |
||||
|
############################################################################## |
||||
|
# |
||||
|
# Cybrosys Technologies Pvt. Ltd. |
||||
|
# |
||||
|
# Copyright (C) 2025-TODAY Cybrosys Technologies(<https://www.cybrosys.com>) |
||||
|
# Author: Aysha Shalin (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 LESSER GENERAL PUBLIC LICENSE |
||||
|
# (LGPL v3) along with this program. |
||||
|
# If not, see <http://www.gnu.org/licenses/>. |
||||
|
# |
||||
|
############################################################################## |
||||
|
from odoo import models |
||||
|
|
||||
|
|
||||
|
class PetInformationReports(models.AbstractModel): |
||||
|
""" Model for printing pet information report """ |
||||
|
_name = 'report.pet_shop_management.report_pet_information' |
||||
|
|
||||
|
def _get_report_values(self, docids, data=None): |
||||
|
""" Returns the document data to report """ |
||||
|
docs = self.env['product.product'].browse(docids) |
||||
|
return { |
||||
|
'doc_ids': docids, |
||||
|
'doc_model': 'product.product', |
||||
|
'docs': docs, |
||||
|
'data': data, |
||||
|
} |
@ -0,0 +1,64 @@ |
|||||
|
# -*- coding: utf-8 -*- |
||||
|
############################################################################## |
||||
|
# |
||||
|
# Cybrosys Technologies Pvt. Ltd. |
||||
|
# |
||||
|
# Copyright (C) 2025-TODAY Cybrosys Technologies(<https://www.cybrosys.com>) |
||||
|
# Author: Aysha Shalin (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 LESSER GENERAL PUBLIC LICENSE |
||||
|
# (LGPL v3) along with this program. |
||||
|
# If not, see <http://www.gnu.org/licenses/>. |
||||
|
# |
||||
|
############################################################################## |
||||
|
from odoo import fields, models, _ |
||||
|
|
||||
|
|
||||
|
class SaleOrder(models.Model): |
||||
|
""" Model for recording Pet sittings """ |
||||
|
_inherit = 'sale.order' |
||||
|
|
||||
|
pet_sittings = fields.Boolean(default=False, string="Pet Sittings", |
||||
|
help="Identify as pet sitting.") |
||||
|
|
||||
|
def pet_sitting(self): |
||||
|
""" Sitting Schedule wizards """ |
||||
|
self.pet_sittings = True |
||||
|
return { |
||||
|
'type': 'ir.actions.act_window', |
||||
|
'target': 'new', |
||||
|
'name': _('Pet Sitting Schedule'), |
||||
|
'view_mode': 'form', |
||||
|
'res_model': 'pet.sitting.schedule', |
||||
|
'context': {'default_model_id': self.id, |
||||
|
'default_reference_id': self.id, |
||||
|
'default_schedule_description': self.name} |
||||
|
} |
||||
|
|
||||
|
def action_return_meetings(self): |
||||
|
""" Return the meetings view """ |
||||
|
return { |
||||
|
'type': 'ir.actions.act_window', |
||||
|
'target': 'current', |
||||
|
'name': _('Meetings'), |
||||
|
'view_mode': 'calendar', |
||||
|
'res_model': 'sitting.schedule' |
||||
|
} |
||||
|
|
||||
|
|
||||
|
class SaleOrderLine(models.Model): |
||||
|
""" Inheriting sale order line to add a new field """ |
||||
|
_inherit = 'sale.order.line' |
||||
|
|
||||
|
walker_sitting = fields.Many2one('hr.employee', |
||||
|
domain="[('is_walker_sitters', '=', True)]", |
||||
|
string='Walker/Sitting', |
||||
|
help='Identifies as Pet walker') |
@ -0,0 +1,47 @@ |
|||||
|
# -*- coding: utf-8 -*- |
||||
|
############################################################################## |
||||
|
# |
||||
|
# Cybrosys Technologies Pvt. Ltd. |
||||
|
# |
||||
|
# Copyright (C) 2025-TODAY Cybrosys Technologies(<https://www.cybrosys.com>) |
||||
|
# Author: Aysha Shalin (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 LESSER GENERAL PUBLIC LICENSE |
||||
|
# (LGPL v3) along with this program. |
||||
|
# If not, see <http://www.gnu.org/licenses/>. |
||||
|
# |
||||
|
############################################################################## |
||||
|
from odoo import fields, models |
||||
|
|
||||
|
|
||||
|
class SittingSchedule(models.Model): |
||||
|
""" Sitting Schedule wizards """ |
||||
|
_name = 'sitting.schedule' |
||||
|
_description = 'Sitting Schedule' |
||||
|
|
||||
|
name = fields.Char(string='Name', help="Name of the schedule") |
||||
|
number_id = fields.Many2one('sale.order', string='Number', |
||||
|
help='Sale order reference') |
||||
|
date_start = fields.Date(string='Start Date', |
||||
|
help='Start date of sitting schedule') |
||||
|
end_date = fields.Date(string='End Date', |
||||
|
help='End date of sitting schedule') |
||||
|
attendees_ids = fields.Many2many('hr.employee', |
||||
|
domain="[('is_walker_sitters', '=', True)]", |
||||
|
string='Attendees', |
||||
|
help="The attendees of the sitting " |
||||
|
"schedule") |
||||
|
pet_info_ids = fields.One2many('pet.info', |
||||
|
'info_pet_id', string='Pet info', |
||||
|
help='Information regarding the pets') |
||||
|
service_ids = fields.One2many('pet.service', |
||||
|
'service_pet_id', |
||||
|
string='Service', help='Service information') |
@ -0,0 +1,57 @@ |
|||||
|
# -*- coding: utf-8 -*- |
||||
|
############################################################################## |
||||
|
# |
||||
|
# Cybrosys Technologies Pvt. Ltd. |
||||
|
# |
||||
|
# Copyright (C) 2025-TODAY Cybrosys Technologies(<https://www.cybrosys.com>) |
||||
|
# Author: Aysha Shalin (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 LESSER GENERAL PUBLIC LICENSE |
||||
|
# (LGPL v3) along with this program. |
||||
|
# If not, see <http://www.gnu.org/licenses/>. |
||||
|
# |
||||
|
############################################################################## |
||||
|
from odoo import fields, models |
||||
|
|
||||
|
|
||||
|
class WorkTime(models.Model): |
||||
|
""" This is used to assign the working time for employees """ |
||||
|
_name = 'working.time' |
||||
|
_description = "working time" |
||||
|
|
||||
|
working_time = fields.Float(string='Working Time', |
||||
|
help='Working time of employee') |
||||
|
company_id = fields.Many2one('res.company', string='Company', |
||||
|
default=lambda self: self.env.company, |
||||
|
help='Name of the Company') |
||||
|
name = fields.Char(string='Name', help='Name of shift') |
||||
|
avg_working_hours = fields.Char(string='Average Working Hours', |
||||
|
help='Average working hours') |
||||
|
working_hours = fields.One2many('working.hours', |
||||
|
'working_id', |
||||
|
string='Working hours', |
||||
|
help='working hours') |
||||
|
|
||||
|
|
||||
|
class WorkingHours(models.Model): |
||||
|
""" Assigns the working hours """ |
||||
|
_name = 'working.hours' |
||||
|
_description = "working hours" |
||||
|
|
||||
|
name = fields.Many2one('hr.employee', |
||||
|
domain="[('is_walker_sitters', '=', True)]", |
||||
|
string='Name', help='Name of the employee') |
||||
|
working_id = fields.Many2one('working.time', string='Working time', |
||||
|
help='Working time of the employee') |
||||
|
day = fields.Char(string='Day of Week', help='Day of the week') |
||||
|
start_date = fields.Date(string='Start Date', |
||||
|
help='Start date of the shift') |
||||
|
end_date = fields.Date(string='End Date', help='End date of the shift') |
@ -0,0 +1,194 @@ |
|||||
|
<?xml version="1.0" encoding="UTF-8" ?> |
||||
|
<odoo> |
||||
|
<!-- Template for pet information report --> |
||||
|
<template id="report_pet_information"> |
||||
|
<t t-call="web.html_container"> |
||||
|
<t t-call="web.external_layout"> |
||||
|
<div class="page"> |
||||
|
<div class="oe_structure"/> |
||||
|
<div class="text-center"> |
||||
|
<h2> |
||||
|
<t t-esc="docs.name"/> |
||||
|
<t t-esc="docs.pet_seq"/> |
||||
|
</h2> |
||||
|
</div> |
||||
|
<div class="text-right"> |
||||
|
<div t-field="docs.image_1920" |
||||
|
t-options='{"widget": "image", "qweb_img_responsive": False, "style": "max-height: 208px; object-fit: cover"}'/> |
||||
|
</div> |
||||
|
<br/><br/> |
||||
|
<table class="table table-sm"> |
||||
|
<tr> |
||||
|
<td>Birth Date</td> |
||||
|
<td> |
||||
|
<t t-if="docs.dob"> |
||||
|
<t t-esc="docs.dob"/> |
||||
|
</t> |
||||
|
</td> |
||||
|
</tr> |
||||
|
<tr> |
||||
|
<td>Age</td> |
||||
|
<td> |
||||
|
<t t-if="docs.age"> |
||||
|
<t t-esc="docs.age"/> |
||||
|
</t> |
||||
|
</td> |
||||
|
</tr> |
||||
|
<tr> |
||||
|
<td>Customer</td> |
||||
|
<td> |
||||
|
<t t-if="docs.customer_id"> |
||||
|
<t t-esc="docs.customer_id.name"/> |
||||
|
</t> |
||||
|
</td> |
||||
|
</tr> |
||||
|
<tr> |
||||
|
<td>Sex</td> |
||||
|
<td> |
||||
|
<t t-if="docs.sex"> |
||||
|
<t t-esc="docs.sex"/> |
||||
|
</t> |
||||
|
</td> |
||||
|
</tr> |
||||
|
<tr> |
||||
|
<td>Pet Type</td> |
||||
|
<td> |
||||
|
<t t-if="docs.pet_type_id"> |
||||
|
<t t-esc="docs.pet_type_id.name"/> |
||||
|
</t> |
||||
|
</td> |
||||
|
</tr> |
||||
|
<tr> |
||||
|
<td>Stay</td> |
||||
|
<td> |
||||
|
<t t-if="docs.stay"> |
||||
|
<t t-esc="docs.stay"/> |
||||
|
</t> |
||||
|
</td> |
||||
|
</tr> |
||||
|
</table> |
||||
|
<div class="text-center"> |
||||
|
<h2> |
||||
|
Medical History |
||||
|
</h2> |
||||
|
</div> |
||||
|
<table class="table table-sm"> |
||||
|
<tr> |
||||
|
<td>Has your pet ever had any allergic reaction to a |
||||
|
medicine? |
||||
|
</td> |
||||
|
<td> |
||||
|
<t t-if="docs.is_allergy"> |
||||
|
<t t-esc="docs.is_allergy"/> |
||||
|
</t> |
||||
|
</td> |
||||
|
</tr> |
||||
|
<tr> |
||||
|
<td>Has your pet ever had a reaction to a vaccine? |
||||
|
</td> |
||||
|
<td> |
||||
|
<t t-if="docs.is_reaction"> |
||||
|
<t t-esc="docs.is_reaction"/> |
||||
|
</t> |
||||
|
</td> |
||||
|
</tr> |
||||
|
<tr> |
||||
|
<td>Has Your pet had any previous medical or |
||||
|
surgical problems? |
||||
|
</td> |
||||
|
<td> |
||||
|
<t t-if="docs.previous_reactions"> |
||||
|
<t t-esc="docs.previous_reactions"/> |
||||
|
</t> |
||||
|
</td> |
||||
|
</tr> |
||||
|
<tr> |
||||
|
<td>Contact if your pet has any hesitation</td> |
||||
|
<td> |
||||
|
<t t-if="docs.is_contact"> |
||||
|
<t t-esc="docs.contact"/> |
||||
|
</t> |
||||
|
</td> |
||||
|
</tr> |
||||
|
</table> |
||||
|
<div class="text-center"> |
||||
|
<h2> |
||||
|
Pet Vaccines |
||||
|
</h2> |
||||
|
</div> |
||||
|
<table class="table table-sm"> |
||||
|
<thead> |
||||
|
<th> |
||||
|
Description |
||||
|
</th> |
||||
|
<th> |
||||
|
Date |
||||
|
</th> |
||||
|
<th> |
||||
|
Expiration Date |
||||
|
</th> |
||||
|
<th> |
||||
|
Veterinarian |
||||
|
</th> |
||||
|
</thead> |
||||
|
<tbody> |
||||
|
<tr t-foreach="docs.pet_vaccines_ids" t-as="pet"> |
||||
|
<td> |
||||
|
<t t-if="pet.vaccine_name"> |
||||
|
<t t-esc="pet.vaccine_name"/> |
||||
|
</t> |
||||
|
</td> |
||||
|
<td> |
||||
|
<t t-if="pet.date"> |
||||
|
<t t-esc="pet.date"/> |
||||
|
</t> |
||||
|
</td> |
||||
|
<td> |
||||
|
<t t-if="pet.date_exp"> |
||||
|
<t t-esc="pet.date_exp"/> |
||||
|
</t> |
||||
|
</td> |
||||
|
<td> |
||||
|
<t t-if="pet.veterinarian_id"> |
||||
|
<t t-esc="pet.veterinarian_id.name"/> |
||||
|
</t> |
||||
|
</td> |
||||
|
</tr> |
||||
|
</tbody> |
||||
|
</table> |
||||
|
<div class="text-center"> |
||||
|
<h2> |
||||
|
Other Information |
||||
|
</h2> |
||||
|
</div> |
||||
|
<table class="table table-sm"> |
||||
|
<tr> |
||||
|
<td>Veterinarian</td> |
||||
|
<td> |
||||
|
<t t-if="docs.veterinarian_id"> |
||||
|
<t t-esc="docs.veterinarian_id.name"/> |
||||
|
</t> |
||||
|
</td> |
||||
|
</tr> |
||||
|
<tr> |
||||
|
<td>Where did your pet come from?</td> |
||||
|
<td> |
||||
|
<t t-if="docs.pet_place"> |
||||
|
<t t-esc="docs.pet_place"/> |
||||
|
</t> |
||||
|
</td> |
||||
|
</tr> |
||||
|
<tr> |
||||
|
<td>What do you feed your pet?</td> |
||||
|
<td> |
||||
|
<t t-if="docs.pet_food"> |
||||
|
<t t-esc="docs.pet_food"/> |
||||
|
</t> |
||||
|
</td> |
||||
|
</tr> |
||||
|
</table> |
||||
|
</div> |
||||
|
</t> |
||||
|
</t> |
||||
|
</template> |
||||
|
</odoo> |
@ -0,0 +1,13 @@ |
|||||
|
<?xml version="1.0"?> |
||||
|
<odoo> |
||||
|
<!-- Action for report --> |
||||
|
<record id="action_pet_report" model="ir.actions.report"> |
||||
|
<field name="name">Pet Information Report</field> |
||||
|
<field name="model">product.product</field> |
||||
|
<field name="report_type">qweb-pdf</field> |
||||
|
<field name="report_name">pet_shop_management.report_pet_information</field> |
||||
|
<field name="report_file">pet_shop_management.report_pet_information</field> |
||||
|
<field name="binding_model_id" ref="model_product_product"/> |
||||
|
<field name="binding_type">report</field> |
||||
|
</record> |
||||
|
</odoo> |
@ -0,0 +1,11 @@ |
|||||
|
<?xml version="1.0"?> |
||||
|
<odoo> |
||||
|
<!-- Access rights For company of employee model--> |
||||
|
<record id="hr_employee_rule_company" model="ir.rule"> |
||||
|
<field name="name">PetShop: multi-company</field> |
||||
|
<field name="model_id" ref="model_hr_employee"/> |
||||
|
<field name="domain_force"> |
||||
|
['|',('company_id','=',False),('company_id', 'in', company_ids)] |
||||
|
</field> |
||||
|
</record> |
||||
|
</odoo> |
|
@ -0,0 +1,27 @@ |
|||||
|
<?xml version="1.0"?> |
||||
|
<odoo> |
||||
|
<!-- Security groups for pet shop management --> |
||||
|
<record model="ir.module.category" id="module_pet_shop_management"> |
||||
|
<field name="name">Pet User</field> |
||||
|
<field name="description">User Can Manage Pet Information</field> |
||||
|
</record> |
||||
|
<!-- Security group for pet shop users --> |
||||
|
<record id="pet_shop_management_group_pet_user" model="res.groups"> |
||||
|
<field name="name">Pet User</field> |
||||
|
<field name="category_id" ref="module_pet_shop_management"/> |
||||
|
</record> |
||||
|
<!-- Security group for pet shop managers --> |
||||
|
<record id="pet_shop_management_group_pet_manager" model="res.groups"> |
||||
|
<field name="name">Pet Manager</field> |
||||
|
<field name="category_id" ref="module_pet_shop_management"/> |
||||
|
<field name="implied_ids" |
||||
|
eval="[(4, ref('pet_shop_management_group_pet_user'))]"/> |
||||
|
</record> |
||||
|
<!-- Security group for pet shop sale managers --> |
||||
|
<record id="pet_shop_management_group_pet_sale_manager" model="res.groups"> |
||||
|
<field name="name">Pet Sales Manager</field> |
||||
|
<field name="category_id" ref="module_pet_shop_management"/> |
||||
|
<field name="implied_ids" |
||||
|
eval="[(4, ref('pet_shop_management_group_pet_manager'))]"/> |
||||
|
</record> |
||||
|
</odoo> |
@ -0,0 +1,11 @@ |
|||||
|
<?xml version="1.0"?> |
||||
|
<odoo> |
||||
|
<!-- Access rights for company of pet model --> |
||||
|
<record id="product_rule_company" model="ir.rule"> |
||||
|
<field name="name">PetShop: multi-company</field> |
||||
|
<field name="model_id" ref="model_product_product"/> |
||||
|
<field name="domain_force"> |
||||
|
['|',('company_id','=',False),('company_id', 'in', company_ids)] |
||||
|
</field> |
||||
|
</record> |
||||
|
</odoo> |
After Width: | Height: | Size: 36 KiB |
After Width: | Height: | Size: 3.6 KiB |
After Width: | Height: | Size: 310 B |
After Width: | Height: | Size: 1.3 KiB |
After Width: | Height: | Size: 1.4 KiB |
After Width: | Height: | Size: 576 B |
After Width: | Height: | Size: 733 B |
After Width: | Height: | Size: 911 B |
After Width: | Height: | Size: 1.1 KiB |
After Width: | Height: | Size: 1.1 KiB |
After Width: | Height: | Size: 1.2 KiB |
After Width: | Height: | Size: 673 B |
After Width: | Height: | Size: 11 KiB |
After Width: | Height: | Size: 878 B |
After Width: | Height: | Size: 653 B |
After Width: | Height: | Size: 905 B |
After Width: | Height: | Size: 839 B |
After Width: | Height: | Size: 427 B |
After Width: | Height: | Size: 627 B |
After Width: | Height: | Size: 1.2 KiB |
After Width: | Height: | Size: 988 B |
After Width: | Height: | Size: 1.2 KiB |
After Width: | Height: | Size: 80 KiB |
After Width: | Height: | Size: 3.2 KiB |
After Width: | Height: | Size: 565 B |
After Width: | Height: | Size: 26 KiB |
After Width: | Height: | Size: 43 KiB |
After Width: | Height: | Size: 1.4 KiB |
After Width: | Height: | Size: 4.0 KiB |
After Width: | Height: | Size: 38 KiB |
After Width: | Height: | Size: 4.3 KiB |
After Width: | Height: | Size: 56 KiB |
After Width: | Height: | Size: 41 KiB |
After Width: | Height: | Size: 53 KiB |
After Width: | Height: | Size: 82 KiB |
After Width: | Height: | Size: 86 KiB |
After Width: | Height: | Size: 82 KiB |
After Width: | Height: | Size: 78 KiB |
After Width: | Height: | Size: 24 KiB |
After Width: | Height: | Size: 77 KiB |
After Width: | Height: | Size: 94 KiB |
After Width: | Height: | Size: 56 KiB |
After Width: | Height: | Size: 90 KiB |
After Width: | Height: | Size: 38 KiB |
After Width: | Height: | Size: 127 KiB |
After Width: | Height: | Size: 29 KiB |
After Width: | Height: | Size: 88 KiB |
After Width: | Height: | Size: 126 KiB |
After Width: | Height: | Size: 42 KiB |
After Width: | Height: | Size: 88 KiB |
After Width: | Height: | Size: 731 KiB |
After Width: | Height: | Size: 102 KiB |
After Width: | Height: | Size: 89 KiB |
After Width: | Height: | Size: 78 KiB |
After Width: | Height: | Size: 42 KiB |
After Width: | Height: | Size: 66 KiB |
After Width: | Height: | Size: 324 KiB |
After Width: | Height: | Size: 82 KiB |
After Width: | Height: | Size: 14 KiB |
After Width: | Height: | Size: 33 KiB |
After Width: | Height: | Size: 50 KiB |
After Width: | Height: | Size: 2.3 KiB |
After Width: | Height: | Size: 2.9 KiB |
After Width: | Height: | Size: 2.3 KiB |
After Width: | Height: | Size: 2.7 KiB |
After Width: | Height: | Size: 2.4 KiB |
After Width: | Height: | Size: 2.4 KiB |
After Width: | Height: | Size: 5.2 KiB |
After Width: | Height: | Size: 1.4 KiB |
@ -0,0 +1,918 @@ |
|||||
|
<!DOCTYPE html> |
||||
|
<html lang="en"> |
||||
|
<head> |
||||
|
<meta charset="UTF-8"> |
||||
|
<meta name="viewport" content="width=device-width, initial-scale=1.0"> |
||||
|
<title>Odoo App 3 Index</title> |
||||
|
<!-- Bootstrap CSS --> |
||||
|
<link rel="stylesheet" |
||||
|
href="https://cdn.jsdelivr.net/npm/bootstrap@4.0.0/dist/css/bootstrap.min.css" |
||||
|
integrity="sha384-Gn5384xqQ1aoWXA+058RXPxPg6fy4IWvTNh0E263XmFcJlSAwiGgFAW/dAiS6JXm" |
||||
|
crossorigin="anonymous"> |
||||
|
<link rel="stylesheet" |
||||
|
href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.2.1/css/all.min.css"> |
||||
|
<link rel="preconnect" href="https://fonts.googleapis.com"> |
||||
|
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin> |
||||
|
<link href="https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap" |
||||
|
rel="stylesheet"> |
||||
|
</head> |
||||
|
<body> |
||||
|
<section> |
||||
|
<div class="container" |
||||
|
style="font-family: 'Inter', sans-serif !important;background-color: #fff !important;"> |
||||
|
<div class="row"> |
||||
|
<div class="col-sm-12 col-md-12 col-lg-12 d-flex justify-content-between flex-wrap align-items-sm-center" |
||||
|
style="border-bottom:1px solid rgba(0, 0, 0, 0.22)"> |
||||
|
<div class="my-3"> |
||||
|
<img src="assets/misc/Cybrosys R.png" |
||||
|
style="width:auto !important; height:40px !important"> |
||||
|
</div> |
||||
|
<div class="my-3 d-flex align-items-center"> |
||||
|
<div class="text-center" |
||||
|
style="background-color:#017E84 !important;font-size: 0.8rem !important; color:#fff !important; font-weight:500 !important; padding:4px !important; margin:0 3px !important; border-radius:50px !important; min-width: 120px !important;"> |
||||
|
Community |
||||
|
</div> |
||||
|
<div class="text-center" |
||||
|
style="background-color:#017E84 !important;font-size: 0.8rem !important; color:#fff !important; font-weight:500 !important; padding:4px !important; margin:0 3px !important; border-radius:50px !important; min-width: 120px !important;"> |
||||
|
Enterprise |
||||
|
</div> |
||||
|
</div> |
||||
|
</div> |
||||
|
</div> |
||||
|
<div class="row"> |
||||
|
<div class="col-sm-12 col-md-12 col-lg-12 text-center d-flex align-items-center flex-column" |
||||
|
style="margin: 80px 0px !important;"> |
||||
|
<h1 style="font-size: 2.8rem;font-weight: 700; color: |
||||
|
#1A202C;"> |
||||
|
Pet Shop Management</h1> |
||||
|
<p class="my-3 mb-4" |
||||
|
style="max-width: 80%; font-weight: 400 !important; line-height: 32px; color: #718096;"> |
||||
|
This Module Helps To Manage A Pet Shop and contains Pet details . |
||||
|
</p> |
||||
|
<div style="width: 80%; margin-top: 3rem;"> |
||||
|
<img src="assets/screenshots/hero.gif" |
||||
|
class="img-responsive" width="100%" height="auto"> |
||||
|
</div> |
||||
|
</div> |
||||
|
</div> |
||||
|
<div class="container mt-5 mb-5"> |
||||
|
<div class="col-lg-12 d-flex flex-column justify-content-center align-items-center mt-4"> |
||||
|
<p class="m-0" |
||||
|
style="font-weight: 600; font-size: 24px; color:#714b67 !important"> |
||||
|
Key Highlights |
||||
|
</p> |
||||
|
</div> |
||||
|
<div class="row py-4"> |
||||
|
<div class="col-md-6 col-sm-12 p-3"> |
||||
|
<div class="d-flex h-100" style="padding: 30px;border-radius: 12px; |
||||
|
background: #FFF; |
||||
|
box-shadow: 1px 2px 3px 0px rgba(0, 0, 0, 0.25); "> |
||||
|
<div style="width: 36px; height: 36px; border-radius: 50%; background: #714B67; |
||||
|
display: flex; justify-content: center; align-items: center; |
||||
|
margin-right: 10px; flex-shrink: 0;"> |
||||
|
<i class="fa-solid fa-star " |
||||
|
style="color: #fff;font-size:14px;"></i> |
||||
|
</div> |
||||
|
<div> |
||||
|
<p style="color: #1A202C;font-weight: 600; |
||||
|
font-size: 1.2rem; margin-bottom: 2px;"> |
||||
|
Pet Management</p> |
||||
|
</div> |
||||
|
</div> |
||||
|
</div> |
||||
|
<div class="col-md-6 col-sm-12 p-3"> |
||||
|
<div class="d-flex h-100" style="padding: 30px;border-radius: 12px; |
||||
|
background: #FFF; |
||||
|
box-shadow: 1px 2px 3px 0px rgba(0, 0, 0, 0.25); "> |
||||
|
<div style="width: 36px; height: 36px; border-radius: 50%; background: #714B67; |
||||
|
display: flex; justify-content: center; align-items: center; |
||||
|
margin-right: 10px; flex-shrink: 0;"> |
||||
|
<i class="fa-solid fa-star " |
||||
|
style="color: #fff;font-size:14px;"></i> |
||||
|
</div> |
||||
|
<div> |
||||
|
<p style="color: #1A202C;font-weight: 600; |
||||
|
font-size: 1.2rem; margin-bottom: 2px;"> |
||||
|
Schedule Pet Sittings</p> |
||||
|
</div> |
||||
|
</div> |
||||
|
</div> |
||||
|
<div class="col-md-6 col-sm-12 p-3"> |
||||
|
<div class="d-flex h-100" style="padding: 30px;border-radius: 12px; |
||||
|
background: #FFF; |
||||
|
box-shadow: 1px 2px 3px 0px rgba(0, 0, 0, 0.25); "> |
||||
|
<div style="width: 36px; height: 36px; border-radius: 50%; background: #714B67; |
||||
|
display: flex; justify-content: center; align-items: center; |
||||
|
margin-right: 10px; flex-shrink: 0; "> |
||||
|
<i class="fa-solid fa-star " |
||||
|
style="color: #fff;font-size:14px;"></i> |
||||
|
</div> |
||||
|
<div> |
||||
|
<p style="color: #1A202C;font-weight: 600; |
||||
|
font-size: 1.2rem; margin-bottom: 2px;"> |
||||
|
Pet Information report</p> |
||||
|
</div> |
||||
|
</div> |
||||
|
</div> |
||||
|
</div> |
||||
|
</div> |
||||
|
<div class="container rounded"> |
||||
|
<ul class="nav nav-tabs d-flex" |
||||
|
style="width: fit-content;margin: 0 auto;gap: 1rem;"> |
||||
|
<li class="col text-center py-2 text-nowrap " |
||||
|
style="color: #fff; background-color: #714B67;border-radius: 6px 6px 0px 0px;"> |
||||
|
<a |
||||
|
class="active show" data-toggle="tab" href="#tab1" |
||||
|
style="color: #fff;font-weight: 500; background-color: #714B67; text-decoration: none;"> |
||||
|
<i class="fa-regular fa-image pr-2" |
||||
|
style="color: #fff;"></i> |
||||
|
Screenshots</a></li> |
||||
|
<li class="col text-center py-2 text-nowrap " |
||||
|
style="color: #fff; background-color: #714B67;border-radius: 6px 6px 0px 0px;"> |
||||
|
<a |
||||
|
data-toggle="tab" href="#tab2" |
||||
|
style="color: #fff;font-weight: 500; text-decoration: none;"><i |
||||
|
class="fa-solid fa-star pr-2" |
||||
|
style="color: #fff;"></i>Features</a></li> |
||||
|
<li class="col text-center py-2 text-nowrap " |
||||
|
style="color: #fff; background-color: #714B67;border-radius: 6px 6px 0px 0px;"> |
||||
|
<a |
||||
|
data-toggle="tab" href="#tab3" |
||||
|
style="color: #fff;font-weight: 500; text-decoration: none; background-color: #714B67;"><i |
||||
|
class="fa-solid fa-book-open pr-2" |
||||
|
style="color: #fff;"></i>Released Notes</a></li> |
||||
|
</ul> |
||||
|
<div class="tab-content" |
||||
|
style="background-color: rgba(121, 113, 119, 0.04);"> |
||||
|
<div id="tab1" class="tab-pane fade in active show"> |
||||
|
<div class="col-lg-12 py-2" |
||||
|
style="padding: 1rem 4rem !important;"> |
||||
|
<div |
||||
|
style="border: 1px solid #d8d6d6; border-radius: 4px; background: #fff; box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);"> |
||||
|
<div class="row justify-content-center p-3 w-100 m-0"> |
||||
|
<img src="assets/screenshots/1.png" |
||||
|
class="img-thumbnail" width="100%" |
||||
|
height="auto"> |
||||
|
</div> |
||||
|
<div class="px-3"> |
||||
|
<h4 class="mt-2" |
||||
|
style=" font-weight:600 !important; color:#282F33 !important; font-size:1.3rem !important"> |
||||
|
Set Pet Management access as Pet User, Pet Manager and Pet Sales Manager</h4> |
||||
|
</div> |
||||
|
</div> |
||||
|
</div> |
||||
|
<div class="col-lg-12 py-2" |
||||
|
style="padding: 1rem 4rem !important;"> |
||||
|
<div |
||||
|
style="border: 1px solid #d8d6d6; border-radius: 4px; background: #fff; box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);"> |
||||
|
<div class="row justify-content-center p-3 w-100 m-0"> |
||||
|
<img src="assets/screenshots/2.png" |
||||
|
class="img-thumbnail" width="100%" |
||||
|
height="auto"> |
||||
|
</div> |
||||
|
<div class="px-3"> |
||||
|
<h4 class="mt-2" |
||||
|
style=" font-weight:600 !important; color:#282F33 !important; font-size:1.3rem !important"> |
||||
|
Pet User can create Pets and Information related(User Can create).</h4> |
||||
|
</div> |
||||
|
</div> |
||||
|
</div> |
||||
|
<div class="col-lg-12 py-2" |
||||
|
style="padding: 1rem 4rem !important;"> |
||||
|
<div |
||||
|
style="border: 1px solid #d8d6d6; border-radius: 4px; background: #fff; box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);"> |
||||
|
<div class="row justify-content-center p-3 w-100 m-0"> |
||||
|
<img src="assets/screenshots/3.png" |
||||
|
class="img-thumbnail" width="100%" |
||||
|
height="auto"> |
||||
|
</div> |
||||
|
<div class="px-3"> |
||||
|
<h4 class="mt-2" |
||||
|
style=" font-weight:600 !important; color:#282F33 !important; font-size:1.3rem !important"> |
||||
|
Details of Pet(Pet User can modify).</h4> |
||||
|
</div> |
||||
|
</div> |
||||
|
</div> |
||||
|
<div class="col-lg-12 py-2" |
||||
|
style="padding: 1rem 4rem !important;"> |
||||
|
<div |
||||
|
style="border: 1px solid #d8d6d6; border-radius: 4px; background: #fff; box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);"> |
||||
|
<div class="row justify-content-center p-3 w-100 m-0"> |
||||
|
<img src="assets/screenshots/4.png" |
||||
|
class="img-responsive" width="100%" |
||||
|
height="auto"> |
||||
|
</div> |
||||
|
<div class="px-3"> |
||||
|
<h4 class="mt-2" |
||||
|
style=" font-weight:600 !important; color:#282F33 !important; font-size:1.3rem !important"> |
||||
|
Customer List (Pet Manager can see, create and modify).</h4> |
||||
|
</div> |
||||
|
</div> |
||||
|
</div> |
||||
|
<div class="col-lg-12 py-2" |
||||
|
style="padding: 1rem 4rem !important;"> |
||||
|
<div |
||||
|
style="border: 1px solid #d8d6d6; border-radius: 4px; background: #fff; box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);"> |
||||
|
<div class="row justify-content-center p-3 w-100 m-0"> |
||||
|
<img src="assets/screenshots/5.png" |
||||
|
class="img-responsive" width="100%" |
||||
|
height="auto"> |
||||
|
</div> |
||||
|
<div class="px-3"> |
||||
|
<h4 class="mt-2" |
||||
|
style=" font-weight:600 !important; color:#282F33 !important; font-size:1.3rem !important"> |
||||
|
Veterinarians of Pet (Pet Manager can |
||||
|
see, create and modify).</h4> |
||||
|
</div> |
||||
|
</div> |
||||
|
</div> |
||||
|
<div class="col-lg-12 py-2" |
||||
|
style="padding: 1rem 4rem !important;"> |
||||
|
<div |
||||
|
style="border: 1px solid #d8d6d6; border-radius: 4px; background: #fff; box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);"> |
||||
|
<div class="row justify-content-center p-3 w-100 m-0"> |
||||
|
<img src="assets/screenshots/6.png" |
||||
|
class="img-responsive" width="100%" |
||||
|
height="auto"> |
||||
|
</div> |
||||
|
<div class="px-3"> |
||||
|
<h4 class="mt-2" |
||||
|
style=" font-weight:600 !important; color:#282F33 !important; font-size:1.3rem !important"> |
||||
|
Check "Is Veterinarian?" to assign as |
||||
|
Veterinarian (Pet Manager can create and modify). |
||||
|
</h4> |
||||
|
</div> |
||||
|
</div> |
||||
|
</div> |
||||
|
<div class="col-lg-12 py-2" |
||||
|
style="padding: 1rem 4rem !important;"> |
||||
|
<div |
||||
|
style="border: 1px solid #d8d6d6; border-radius: 4px; background: #fff; box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);"> |
||||
|
<div class="row justify-content-center p-3 w-100 m-0"> |
||||
|
<img src="assets/screenshots/7.png" |
||||
|
class="img-responsive" width="100%" |
||||
|
height="auto"> |
||||
|
</div> |
||||
|
<div class="px-3"> |
||||
|
<h4 class="mt-2" |
||||
|
style=" font-weight:600 !important; color:#282F33 !important; font-size:1.3rem !important"> |
||||
|
Walker/Sitters of Pet (Pet Manager can see, |
||||
|
create and modify). Check "Is Walker?" to assign |
||||
|
walker (Pet Manager can create and modify). |
||||
|
</h4> |
||||
|
</div> |
||||
|
</div> |
||||
|
</div> |
||||
|
<div class="col-lg-12 py-2" |
||||
|
style="padding: 1rem 4rem !important;"> |
||||
|
<div |
||||
|
style="border: 1px solid #d8d6d6; border-radius: 4px; background: #fff; box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);"> |
||||
|
<div class="row justify-content-center p-3 w-100 m-0"> |
||||
|
<img src="assets/screenshots/8.png" |
||||
|
class="img-responsive" width="100%" |
||||
|
height="auto"> |
||||
|
</div> |
||||
|
<div class="px-3"> |
||||
|
<h4 class="mt-2" |
||||
|
style=" font-weight:600 !important; color:#282F33 !important; font-size:1.3rem !important"> |
||||
|
Working Times of Employees(Only Pets Manger |
||||
|
can Create and modify it).</h4> |
||||
|
</div> |
||||
|
</div> |
||||
|
</div> |
||||
|
<div class="col-lg-12 py-2" |
||||
|
style="padding: 1rem 4rem !important;"> |
||||
|
<div |
||||
|
style="border: 1px solid #d8d6d6; border-radius: 4px; background: #fff; box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);"> |
||||
|
<div class="row justify-content-center p-3 w-100 m-0"> |
||||
|
<img src="assets/screenshots/9.png" |
||||
|
class="img-responsive" width="100%" |
||||
|
height="auto"> |
||||
|
</div> |
||||
|
<div class="px-3"> |
||||
|
<h4 class="mt-2" |
||||
|
style=" font-weight:600 !important; color:#282F33 !important; font-size:1.3rem !important"> |
||||
|
Set Pet Management access Pet Sales Manager</h4> |
||||
|
</div> |
||||
|
</div> |
||||
|
</div> |
||||
|
<div class="col-lg-12 py-2" |
||||
|
style="padding: 1rem 4rem !important;"> |
||||
|
<div |
||||
|
style="border: 1px solid #d8d6d6; border-radius: 4px; background: #fff; box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);"> |
||||
|
<div class="row justify-content-center p-3 w-100 m-0"> |
||||
|
<img src="assets/screenshots/10.png" |
||||
|
class="img-responsive" width="100%" |
||||
|
height="auto"> |
||||
|
</div> |
||||
|
<div class="px-3"> |
||||
|
<h4 class="mt-2" |
||||
|
style=" font-weight:600 !important; color:#282F33 !important; font-size:1.3rem !important"> |
||||
|
Creation of Pet Types (Pet Sales Manager can create and modify it).</h4> |
||||
|
</div> |
||||
|
</div> |
||||
|
</div> |
||||
|
<div class="col-lg-12 py-2" |
||||
|
style="padding: 1rem 4rem !important;"> |
||||
|
<div |
||||
|
style="border: 1px solid #d8d6d6; border-radius: 4px; background: #fff; box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);"> |
||||
|
<div class="row justify-content-center p-3 w-100 m-0"> |
||||
|
<img src="assets/screenshots/11.png" |
||||
|
class="img-responsive" width="100%" |
||||
|
height="auto"> |
||||
|
</div> |
||||
|
<div class="px-3"> |
||||
|
<h4 class="mt-2" |
||||
|
style=" font-weight:600 !important; color:#282F33 !important; font-size:1.3rem !important"> |
||||
|
Create Booking Quotation for Pet Service (Sales Sale Manager can create and modify it).</h4> |
||||
|
</div> |
||||
|
</div> |
||||
|
</div> |
||||
|
<div class="col-lg-12 py-2" |
||||
|
style="padding: 1rem 4rem !important;"> |
||||
|
<div |
||||
|
style="border: 1px solid #d8d6d6; border-radius: 4px; background: #fff; box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);"> |
||||
|
<div class="row justify-content-center p-3 w-100 m-0"> |
||||
|
<img src="assets/screenshots/12.png" |
||||
|
class="img-responsive" width="100%" |
||||
|
height="auto"> |
||||
|
</div> |
||||
|
<div class="px-3"> |
||||
|
<h4 class="mt-2" |
||||
|
style=" font-weight:600 !important; color:#282F33 !important; font-size:1.3rem !important"> |
||||
|
Create Pet Sitting Schedule Wizard on Sales Order (Sales Manager can create and modify it).</h4> |
||||
|
</div> |
||||
|
</div> |
||||
|
</div> |
||||
|
<div class="col-lg-12 py-2" |
||||
|
style="padding: 1rem 4rem !important;"> |
||||
|
<div |
||||
|
style="border: 1px solid #d8d6d6; border-radius: 4px; background: #fff; box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);"> |
||||
|
<div class="row justify-content-center p-3 w-100 m-0"> |
||||
|
<img src="assets/screenshots/13.png" |
||||
|
class="img-responsive" width="100%" |
||||
|
height="auto"> |
||||
|
</div> |
||||
|
<div class="px-3"> |
||||
|
<h4 class="mt-2" |
||||
|
style=" font-weight:600 !important; color:#282F33 !important; font-size:1.3rem !important"> |
||||
|
Created Pet Sitting Schedule (Sales Manager can create and modify it).</h4> |
||||
|
</div> |
||||
|
</div> |
||||
|
</div> |
||||
|
<div class="col-lg-12 py-2" |
||||
|
style="padding: 1rem 4rem !important;"> |
||||
|
<div |
||||
|
style="border: 1px solid #d8d6d6; border-radius: 4px; background: #fff; box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);"> |
||||
|
<div class="row justify-content-center p-3 w-100 m-0"> |
||||
|
<img src="assets/screenshots/14.png" |
||||
|
class="img-responsive" width="100%" |
||||
|
height="auto"> |
||||
|
</div> |
||||
|
<div class="px-3"> |
||||
|
<h4 class="mt-2" |
||||
|
style=" font-weight:600 !important; color:#282F33 !important; font-size:1.3rem !important"> |
||||
|
Open Pets Information By Clicking on " Pets" (Responsible person can see it).</h4> |
||||
|
</div> |
||||
|
</div> |
||||
|
</div> |
||||
|
<div class="col-lg-12 py-2" |
||||
|
style="padding: 1rem 4rem !important;"> |
||||
|
<div |
||||
|
style="border: 1px solid #d8d6d6; border-radius: 4px; background: #fff; box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);"> |
||||
|
<div class="row justify-content-center p-3 w-100 m-0"> |
||||
|
<img src="assets/screenshots/15.png" |
||||
|
class="img-responsive" width="100%" |
||||
|
height="auto"> |
||||
|
</div> |
||||
|
<div class="px-3"> |
||||
|
<h4 class="mt-2" |
||||
|
style=" font-weight:600 !important; color:#282F33 !important; font-size:1.3rem !important"> |
||||
|
Lists Of pets.</h4> |
||||
|
</div> |
||||
|
</div> |
||||
|
</div> |
||||
|
<div class="col-lg-12 py-2" |
||||
|
style="padding: 1rem 4rem !important;"> |
||||
|
<div |
||||
|
style="border: 1px solid #d8d6d6; border-radius: 4px; background: #fff; box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);"> |
||||
|
<div class="row justify-content-center p-3 w-100 m-0"> |
||||
|
<img src="assets/screenshots/16.png" |
||||
|
class="img-responsive" width="100%" |
||||
|
height="auto"> |
||||
|
</div> |
||||
|
<div class="px-3"> |
||||
|
<h4 class="mt-2" |
||||
|
style=" font-weight:600 !important; color:#282F33 !important; font-size:1.3rem !important"> |
||||
|
Show Detail Information about Pet.</h4> |
||||
|
</div> |
||||
|
</div> |
||||
|
</div> |
||||
|
<div class="col-lg-12 py-2" |
||||
|
style="padding: 1rem 4rem !important;"> |
||||
|
<div |
||||
|
style="border: 1px solid #d8d6d6; border-radius: 4px; background: #fff; box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);"> |
||||
|
<div class="row justify-content-center p-3 w-100 m-0"> |
||||
|
<img src="assets/screenshots/17.png" |
||||
|
class="img-responsive" width="100%" |
||||
|
height="auto"> |
||||
|
</div> |
||||
|
<div class="px-3"> |
||||
|
<h4 class="mt-2" |
||||
|
style=" font-weight:600 !important; color:#282F33 !important; font-size:1.3rem !important"> |
||||
|
List of Pet Sittings and Schedules.</h4> |
||||
|
</div> |
||||
|
</div> |
||||
|
</div> |
||||
|
<div class="col-lg-12 py-2" |
||||
|
style="padding: 1rem 4rem !important;"> |
||||
|
<div |
||||
|
style="border: 1px solid #d8d6d6; border-radius: 4px; background: #fff; box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);"> |
||||
|
<div class="row justify-content-center p-3 w-100 m-0"> |
||||
|
<img src="assets/screenshots/18.png" |
||||
|
class="img-responsive" width="100%" |
||||
|
height="auto"> |
||||
|
</div> |
||||
|
<div class="row justify-content-center p-3 w-100 m-0"> |
||||
|
<img src="assets/screenshots/19.png" |
||||
|
class="img-responsive" width="100%" |
||||
|
height="auto"> |
||||
|
</div> |
||||
|
<div class="px-3"> |
||||
|
<h4 class="mt-2" |
||||
|
style=" font-weight:600 !important; color:#282F33 !important; font-size:1.3rem !important"> |
||||
|
Pet Information Report .</h4> |
||||
|
</div> |
||||
|
</div> |
||||
|
</div> |
||||
|
</div> |
||||
|
<div id="tab2" class="tab-pane fade"> |
||||
|
<div class="col-mg-12" style="padding: 1rem 4rem;"> |
||||
|
<ul style="list-style: none; padding: 1rem 0;font-weight: 500;"> |
||||
|
<li class="py-3" |
||||
|
style="font-weight: 500;background-color: #fff; border-radius: 4px; padding: 1rem; margin-bottom: 1rem; box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);"> |
||||
|
<span style="margin-right: 12px;"><img src="assets/misc/star (1) 2.svg" alt="" |
||||
|
width="16px"></span>Efficient management system for pet shops. |
||||
|
</li> |
||||
|
<li class="py-3" |
||||
|
style="font-weight: 500;background-color: #fff; border-radius: 4px; padding: 1rem; margin-bottom: 1rem; box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);"> |
||||
|
<span style="margin-right: 12px;"><img src="assets/misc/star (1) 2.svg" alt="" |
||||
|
width="16px"></span>Pet sitting scheduling feature for convenient and reliable care management. |
||||
|
</li> |
||||
|
<li class="py-3" |
||||
|
style="font-weight: 500;background-color: #fff; border-radius: 4px; padding: 1rem; margin-bottom: 1rem; box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);"> |
||||
|
<span style="margin-right: 12px;"><img src="assets/misc/star (1) 2.svg" alt="" |
||||
|
width="16px"></span>Comprehensive pet information reporting for detailed tracking and insights. |
||||
|
</li> |
||||
|
</ul> |
||||
|
</div> |
||||
|
</div> |
||||
|
<div id="tab3" class="tab-pane fade"> |
||||
|
<div class="col-mg-12 active" style="padding: 1rem 4rem;"> |
||||
|
<div class="py-3" |
||||
|
style="font-weight: 500;background-color: #fff; border-radius: 4px; padding: 1rem; box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);"> |
||||
|
<div class="d-flex mb-3" style="font-size: 0.8rem; font-weight: 500;"><span>Version |
||||
|
17.0.1.0.0</span><span class="px-2">|</span><span |
||||
|
style="color: #714B67;font-weight: 600;">Released on:06th January 2025</span> |
||||
|
</div> |
||||
|
<p class="m-0" |
||||
|
style=" color:#718096!important; font-size:1rem !important;line-height: 28px;"> |
||||
|
Initial Commit for Employee Orientation & Training.</p> |
||||
|
</div> |
||||
|
</div> |
||||
|
</div> |
||||
|
</div> |
||||
|
</div> |
||||
|
<div class="container mt-5"> |
||||
|
<div class="col-lg-12 d-flex flex-column justify-content-center align-items-center mt-5"> |
||||
|
<p class="m-0" |
||||
|
style="font-weight: 600; font-size: 24px; color:#000 !important"> |
||||
|
Related Products</p> |
||||
|
</div> |
||||
|
</div> |
||||
|
<div id="myCarousel" class="carousel slide py-3" data-ride="carousel"> |
||||
|
<div class="carousel-inner"> |
||||
|
<div class="carousel-item active"> |
||||
|
<div class="row p-4"> |
||||
|
<div class="col"> |
||||
|
<div class="p-3"> |
||||
|
<a href="https://apps.odoo.com/apps/modules/17.0/sale_report_advanced/" |
||||
|
style="color: #000; text-decoration: none;"> |
||||
|
<div style="border:1px solid #CBCBCB !important;border-radius: 4px;"> |
||||
|
<div style="width: 300px; "> |
||||
|
<img src="assets/modules/1.png" |
||||
|
alt="" width="100%" |
||||
|
height="auto"> |
||||
|
</div> |
||||
|
<p class="text-center pt-2 text-black font-weight-bold"> |
||||
|
Advanced Sales Reports</p> |
||||
|
</div> |
||||
|
</a> |
||||
|
</div> |
||||
|
</div> |
||||
|
<div class="col"> |
||||
|
<div class="p-3"> |
||||
|
<a href="https://apps.odoo.com/apps/modules/17.0/top_selling_product_report/" |
||||
|
style="color: #000; text-decoration: none;"> |
||||
|
<div style="border:1px solid #CBCBCB !important;border-radius: 4px;"> |
||||
|
<div style="width: 300px; "> |
||||
|
<img src="assets/modules/2.png" |
||||
|
alt="" width="100%" |
||||
|
height="auto"> |
||||
|
</div> |
||||
|
<p class="text-center pt-2 text-black font-weight-bold"> |
||||
|
Top/Least Selling Product Report</p> |
||||
|
</div> |
||||
|
</a> |
||||
|
</div> |
||||
|
</div> |
||||
|
<div class="col"> |
||||
|
<div class="p-3"> |
||||
|
<a href="https://apps.odoo.com/apps/modules/17.0/product_discount_limit/" |
||||
|
style="color: #000; text-decoration: none;"> |
||||
|
<div style="border:1px solid #CBCBCB !important;border-radius: 4px;"> |
||||
|
<div style="width: 300px; "> |
||||
|
<img src="assets/modules/3.png" |
||||
|
alt="" width="100%" |
||||
|
height="auto"> |
||||
|
</div> |
||||
|
<p class="text-center pt-2 text-black font-weight-bold"> |
||||
|
Product Discount Limit</p> |
||||
|
</div> |
||||
|
</a> |
||||
|
</div> |
||||
|
</div> |
||||
|
</div> |
||||
|
</div> |
||||
|
<div class="carousel-item"> |
||||
|
<div class="row p-4"> |
||||
|
<div class="col"> |
||||
|
<div class="p-3"> |
||||
|
<a href="https://apps.odoo.com/apps/modules/17.0/sale_product_image/" |
||||
|
style="color: #000; text-decoration: none;"> |
||||
|
<div style="border:1px solid #CBCBCB !important;border-radius: 4px;"> |
||||
|
<div style="width: 300px; "> |
||||
|
<img src="assets/modules/4.jpg" |
||||
|
alt="" width="100%" |
||||
|
height="auto"> |
||||
|
</div> |
||||
|
<p class="text-center pt-2 text-black font-weight-bold"> |
||||
|
Sale Order Line Images</p> |
||||
|
</div> |
||||
|
</a> |
||||
|
</div> |
||||
|
</div> |
||||
|
<div class="col"> |
||||
|
<div class="p-3"> |
||||
|
<a href="https://apps.odoo.com/apps/modules/17.0/sale_report_advanced/" |
||||
|
style="color: #000; text-decoration: none;"> |
||||
|
<div style="border:1px solid #CBCBCB !important;border-radius: 4px;"> |
||||
|
<div style="width: 300px;"> |
||||
|
<img src="assets/modules/5.jpg" |
||||
|
alt="" width="100%" |
||||
|
height="auto"> |
||||
|
</div> |
||||
|
<p class="text-center pt-2 text-black font-weight-bold"> |
||||
|
Advanced Sales Reports</p> |
||||
|
</div> |
||||
|
</a> |
||||
|
</div> |
||||
|
</div> |
||||
|
<div class="col"> |
||||
|
<div class="p-3"> |
||||
|
<a href="https://apps.odoo.com/apps/modules/17.0/section_wise_subtotal/" |
||||
|
style="color: #000; text-decoration: none;"> |
||||
|
<div style="border:1px solid #CBCBCB !important;border-radius: 4px;"> |
||||
|
<div style="width: 300px;"> |
||||
|
<img src="assets/modules/6.jpg" |
||||
|
alt="" width="100%" |
||||
|
height="auto"> |
||||
|
</div> |
||||
|
<p class="text-center pt-2 text-black font-weight-bold"> |
||||
|
Section Wise Subtotal</p> |
||||
|
</div> |
||||
|
</a> |
||||
|
</div> |
||||
|
</div> |
||||
|
</div> |
||||
|
</div> |
||||
|
</div> |
||||
|
<a class="carousel-control-prev" href="#myCarousel" |
||||
|
data-slide="prev" style="width: 35px; color: #000;"> |
||||
|
<span class="carousel-control-prev-icon"> |
||||
|
<i class="fa fa-chevron-left" |
||||
|
style="font-size: 24px;"></i> |
||||
|
</span> |
||||
|
</a> |
||||
|
<a class="carousel-control-next" href="#myCarousel" |
||||
|
data-slide="next" style="width: 35px; color: #000;"> |
||||
|
<span class="carousel-control-next-icon"> |
||||
|
<i class="fa fa-chevron-right" |
||||
|
style="font-size: 24px;"></i> |
||||
|
</span> |
||||
|
</a> |
||||
|
</div> |
||||
|
<div class="container mt-5"> |
||||
|
<div class="col-lg-12 d-flex flex-column justify-content-center align-items-center mt-4"> |
||||
|
<p class="m-0" |
||||
|
style="font-weight: 600; font-size: 24px; color:#000 !important"> |
||||
|
Our Services</p> |
||||
|
</div> |
||||
|
</div> |
||||
|
<div class="container my-5"> |
||||
|
<div class="row py-3"> |
||||
|
<div class="col-md-4 col-sm-6 px-4 py-4"> |
||||
|
<div |
||||
|
style="background-color: #fff; padding: 25px; text-align: center; box-shadow: rgba(0, 0, 0, 0.1) 0px 1px 3px 0px, rgba(0, 0, 0, 0.06) 0px 1px 2px 0px; position: relative;border-radius: 4px;"> |
||||
|
<div style="position: absolute; top: 0%; left: 50%; transform: translate(-50%, -50%);"> |
||||
|
<div style="background-color:#13EA36 ; border-radius: 50%; padding: 15px; width: 68px; |
||||
|
height: 68px; display: inline-block; box-shadow:0px 4px 4px rgba(0, 0, 0, 0.25);"> |
||||
|
<img src="assets/icons/cogs.png" |
||||
|
alt="service-icon" width="38px" |
||||
|
height="auto"> |
||||
|
</div> |
||||
|
</div> |
||||
|
<p style="margin-top: 20px; font-weight: bold;">Odoo |
||||
|
Customization</p> |
||||
|
</div> |
||||
|
</div> |
||||
|
<div class="col-md-4 col-sm-6 px-4 py-4"> |
||||
|
<div |
||||
|
style="background-color: #fff; padding: 25px; text-align: center; box-shadow: rgba(0, 0, 0, 0.1) 0px 1px 3px 0px, rgba(0, 0, 0, 0.06) 0px 1px 2px 0px; position: relative;border-radius: 4px;"> |
||||
|
<div style="position: absolute; top: 0%; left: 50%; transform: translate(-50%, -50%);"> |
||||
|
<div style="background-color:#DBC711; border-radius: 50%; padding: 15px; width: 68px; |
||||
|
height: 68px; display: inline-block; box-shadow:0px 4px 4px rgba(0, 0, 0, 0.25);"> |
||||
|
<img src="assets/icons/wrench.png" |
||||
|
alt="service-icon" width="38px" |
||||
|
height="auto"> |
||||
|
</div> |
||||
|
</div> |
||||
|
<p style="margin-top: 20px; font-weight: bold;">Odoo |
||||
|
Implementation</p> |
||||
|
</div> |
||||
|
</div> |
||||
|
<div class="col-md-4 col-sm-6 px-4 py-4"> |
||||
|
<div |
||||
|
style="background-color: #fff; padding: 25px; text-align: center; box-shadow: rgba(0, 0, 0, 0.1) 0px 1px 3px 0px, rgba(0, 0, 0, 0.06) 0px 1px 2px 0px; position: relative; border-radius: 4px;"> |
||||
|
<div style="position: absolute; top: 0%; left: 50%; transform: translate(-50%, -50%);"> |
||||
|
<div style="background-color:#FF6B6B ; border-radius: 50%; padding: 15px; width: 68px; |
||||
|
height: 68px; display: inline-block; box-shadow:0px 4px 4px rgba(0, 0, 0, 0.25);"> |
||||
|
<img src="assets/icons/lifebuoy.png" |
||||
|
alt="service-icon" width="38px" |
||||
|
height="auto"> |
||||
|
</div> |
||||
|
</div> |
||||
|
<p style="margin-top: 20px; font-weight: bold;">Odoo |
||||
|
Support</p> |
||||
|
</div> |
||||
|
</div> |
||||
|
<div class="col-md-4 col-sm-6 px-4 py-4"> |
||||
|
<div |
||||
|
style="background-color: #fff; padding: 25px; text-align: center; box-shadow: rgba(0, 0, 0, 0.1) 0px 1px 3px 0px, rgba(0, 0, 0, 0.06) 0px 1px 2px 0px; position: relative; border-radius: 4px;"> |
||||
|
<div style="position: absolute; top: 0%; left: 50%; transform: translate(-50%, -50%);"> |
||||
|
<div style="background-color:#FFA801 ; border-radius: 50%; padding: 15px; width: 68px; |
||||
|
height: 68px; display: inline-block; box-shadow:0px 4px 4px rgba(0, 0, 0, 0.25);"> |
||||
|
<img src="assets/icons/user.png" |
||||
|
alt="service-icon" width="38px" |
||||
|
height="auto"> |
||||
|
</div> |
||||
|
</div> |
||||
|
<p style="margin-top: 20px; font-weight: bold;">Hire |
||||
|
Odoo Developer</p> |
||||
|
</div> |
||||
|
</div> |
||||
|
<div class="col-md-4 col-sm-6 px-4 py-4"> |
||||
|
<div |
||||
|
style="background-color: #fff; padding: 25px; text-align: center; box-shadow: rgba(0, 0, 0, 0.1) 0px 1px 3px 0px, rgba(0, 0, 0, 0.06) 0px 1px 2px 0px; position: relative; border-radius: 4px;"> |
||||
|
|
||||
|
<div style="position: absolute; top: 0%; left: 50%; transform: translate(-50%, -50%);"> |
||||
|
<div style="background-color:#54A0FF; border-radius: 50%; padding: 15px; width: 68px; |
||||
|
height: 68px; display: inline-block; box-shadow:0px 4px 4px rgba(0, 0, 0, 0.25);"> |
||||
|
<img src="assets/icons/puzzle.png" |
||||
|
alt="service-icon" width="38px" |
||||
|
height="auto"> |
||||
|
</div> |
||||
|
</div> |
||||
|
<p style="margin-top: 20px; font-weight: bold;">Odoo |
||||
|
Integration</p> |
||||
|
</div> |
||||
|
</div> |
||||
|
<div class="col-md-4 col-sm-6 px-4 py-4"> |
||||
|
<div |
||||
|
style="background-color: #fff; padding: 25px; text-align: center; box-shadow: rgba(0, 0, 0, 0.1) 0px 1px 3px 0px, rgba(0, 0, 0, 0.06) 0px 1px 2px 0px; position: relative;border-radius: 4px;"> |
||||
|
<div style="position: absolute; top: 0%; left: 50%; transform: translate(-50%, -50%);"> |
||||
|
<div style="background-color:#6D7680 ; border-radius: 50%; padding: 15px; width: 68px; |
||||
|
height: 68px; display: inline-block; box-shadow:0px 4px 4px rgba(0, 0, 0, 0.25);"> |
||||
|
<img src="assets/icons/update.png" |
||||
|
alt="service-icon" width="38px" |
||||
|
height="auto"> |
||||
|
</div> |
||||
|
</div> |
||||
|
<p style="margin-top: 20px; font-weight: bold;">Odoo |
||||
|
Migration</p> |
||||
|
</div> |
||||
|
</div> |
||||
|
<div class="col-md-4 col-sm-6 px-4 py-4"> |
||||
|
<div |
||||
|
style="background-color: #fff; padding: 25px; text-align: center; box-shadow: rgba(0, 0, 0, 0.1) 0px 1px 3px 0px, rgba(0, 0, 0, 0.06) 0px 1px 2px 0px; position: relative;border-radius: 4px;"> |
||||
|
<div style="position: absolute; top: 0%; left: 50%; transform: translate(-50%, -50%);"> |
||||
|
<div style="background-color:#786FA6 ; border-radius: 50%; padding: 15px; width: 68px; |
||||
|
height: 68px; display: inline-block; box-shadow:0px 4px 4px rgba(0, 0, 0, 0.25);"> |
||||
|
<img src="assets/icons/consultation.png" |
||||
|
alt="service-icon" width="38px" |
||||
|
height="auto"> |
||||
|
</div> |
||||
|
</div> |
||||
|
<p style="margin-top: 20px; font-weight: bold;">Odoo |
||||
|
Consultancy</p> |
||||
|
</div> |
||||
|
</div> |
||||
|
<div class="col-md-4 col-sm-6 px-4 py-4"> |
||||
|
<div |
||||
|
style="background-color: #fff; padding: 25px; text-align: center; box-shadow: rgba(0, 0, 0, 0.1) 0px 1px 3px 0px, rgba(0, 0, 0, 0.06) 0px 1px 2px 0px;position: relative;border-radius: 4px;"> |
||||
|
<div style="position: absolute; top: 0%; left: 50%; transform: translate(-50%, -50%);"> |
||||
|
<div style="background-color:#F8A5C2 ; border-radius: 50%; padding: 15px; width: 68px; |
||||
|
height: 68px; display: inline-block; box-shadow:0px 4px 4px rgba(0, 0, 0, 0.25);"> |
||||
|
<img src="assets/icons/training.png" |
||||
|
alt="service-icon" width="38px" |
||||
|
height="auto"> |
||||
|
</div> |
||||
|
</div> |
||||
|
<p style="margin-top: 20px; font-weight: bold;">Odoo |
||||
|
Implementation</p> |
||||
|
</div> |
||||
|
</div> |
||||
|
<div class="col-md-4 col-sm-6 px-4 py-4"> |
||||
|
<div |
||||
|
style="background-color: #fff; padding: 25px; text-align: center; box-shadow: rgba(0, 0, 0, 0.1) 0px 1px 3px 0px, rgba(0, 0, 0, 0.06) 0px 1px 2px 0px; position: relative;border-radius: 4px;"> |
||||
|
<div style="position: absolute; top: 0%; left: 50%; transform: translate(-50%, -50%);"> |
||||
|
<div style="background-color:#E6BE26; border-radius: 50%; padding: 15px; width: 68px; |
||||
|
height: 68px; display: inline-block; box-shadow:0px 4px 4px rgba(0, 0, 0, 0.25);"> |
||||
|
<img src="assets/icons/license.png" |
||||
|
alt="service-icon" width="38px" |
||||
|
height="auto"> |
||||
|
</div> |
||||
|
</div> |
||||
|
<p style="margin-top: 20px; font-weight: bold;">Odoo |
||||
|
Licensing Consultancy</p> |
||||
|
</div> |
||||
|
</div> |
||||
|
</div> |
||||
|
</div> |
||||
|
<div class="container mt-5"> |
||||
|
<div class="col-lg-12 d-flex flex-column justify-content-center align-items-center mt-4"> |
||||
|
<p class="m-0" |
||||
|
style="font-weight: 600; font-size: 24px; color:#000 !important"> |
||||
|
Our Industries</p> |
||||
|
</div> |
||||
|
</div> |
||||
|
<div class="container"> |
||||
|
<div class="row my-5 py-4"> |
||||
|
<div class="col-md-3 col-sm-6 p-0"> |
||||
|
<div class="d-flex flex-column h-100 " |
||||
|
style="border-right: 1px solid rgb(209, 209, 209); border-bottom: 1px solid rgb(209, 209, 209); padding: 30px; box-shadow: 6px 0 10px rgba(228, 227, 227, 0.373);"> |
||||
|
<img src="assets/icons/trading-black.png" width="42px" |
||||
|
height="auto" alt=""> |
||||
|
<p style="color: #714B67;font-weight: 600; margin-top: 10px; |
||||
|
font-size: 1.2rem; margin-bottom: 2px;">Trading</p> |
||||
|
<p>Easily procure and sell your products</p> |
||||
|
</div> |
||||
|
</div> |
||||
|
<div class="col-md-3 col-sm-6 p-0"> |
||||
|
<div class="d-flex flex-column h-100" |
||||
|
style="border-right: 1px solid rgb(209, 209, 209);border-bottom: 1px solid rgb(209, 209, 209); padding: 30px;"> |
||||
|
<img src="assets/icons/pos-black.png" width="42px" |
||||
|
height="auto" alt=""> |
||||
|
<p style="color: #714B67;font-weight: 600; margin-top: 10px; |
||||
|
font-size: 1.2rem; margin-bottom: 2px;">POS</p> |
||||
|
<p>Easy configuration and convivial experience</p> |
||||
|
</div> |
||||
|
</div> |
||||
|
<div class="col-md-3 col-sm-6 p-0"> |
||||
|
<div class="d-flex flex-column h-100" |
||||
|
style="border-right: 1px solid rgb(209, 209, 209);border-bottom: 1px solid rgba(0, 0, 0, 0.2); padding: 30px; box-shadow: 0 5px 10px rgba(228, 227, 227, 0.373)"> |
||||
|
<img src="assets/icons/education-black.png" width="42px" |
||||
|
height="auto" alt=""> |
||||
|
<p style="color: #714B67;font-weight: 600; margin-top: 10px; |
||||
|
font-size: 1.2rem; margin-bottom: 2px;"> |
||||
|
Education</p> |
||||
|
<p>A platform for educational management</p> |
||||
|
</div> |
||||
|
</div> |
||||
|
<div class="col-md-3 col-sm-6 p-0"> |
||||
|
<div class="d-flex flex-column h-100" |
||||
|
style="border-bottom: 1px solid rgb(209, 209, 209); padding: 30px; "> |
||||
|
<img src="assets/icons/manufacturing-black.png" |
||||
|
width="42px" height="auto" alt=""> |
||||
|
<p style="color: #714B67;font-weight: 600; margin-top: 10px; |
||||
|
font-size: 1.2rem; margin-bottom: 2px;"> |
||||
|
Manufacturing</p> |
||||
|
<p>Plan, track and schedule your operations</p> |
||||
|
</div> |
||||
|
</div> |
||||
|
<div class="col-md-3 col-sm-6 p-0"> |
||||
|
<div class="d-flex flex-column h-100" |
||||
|
style="border-right: 1px solid rgb(209, 209, 209); padding: 30px;"> |
||||
|
<img src="assets/icons/ecom-black.png" width="42px" |
||||
|
height="auto" alt=""> |
||||
|
<p style="color: #714B67;font-weight: 600; margin-top: 10px; |
||||
|
font-size: 1.2rem; margin-bottom: 2px;">E-commerce & |
||||
|
Website</p> |
||||
|
<p>Mobile friendly, awe-inspiring product pages</p> |
||||
|
</div> |
||||
|
</div> |
||||
|
<div class="col-md-3 col-sm-6 p-0"> |
||||
|
<div class="d-flex flex-column h-100" |
||||
|
style="border-right: 1px solid rgb(209, 209, 209); padding: 30px;box-shadow: 0 -5px 10px rgba(228, 227, 227, 0.373);"> |
||||
|
<img src="assets/icons/service-black.png" width="42px" |
||||
|
height="auto" alt=""> |
||||
|
<p style="color: #714B67;font-weight: 600; margin-top: 10px; |
||||
|
font-size: 1.2rem; margin-bottom: 2px;">Service |
||||
|
Management</p> |
||||
|
<p>Keep track of services and invoice</p> |
||||
|
</div> |
||||
|
</div> |
||||
|
<div class="col-md-3 col-sm-6 p-0"> |
||||
|
<div class="d-flex flex-column h-100" |
||||
|
style="border-right: 1px solid rgb(209, 209, 209); padding: 30px; "> |
||||
|
<img src="assets/icons/restaurant-black.png" |
||||
|
width="42px" height="auto" alt=""> |
||||
|
<p style="color: #714B67;font-weight: 600; margin-top: 10px; |
||||
|
font-size: 1.2rem; margin-bottom: 2px;"> |
||||
|
Restaurant</p> |
||||
|
<p>Run your bar or restaurant methodically</p> |
||||
|
</div> |
||||
|
</div> |
||||
|
<div class="col-md-3 col-sm-6 p-0"> |
||||
|
<div class="d-flex flex-column h-100" |
||||
|
style=" padding: 30px;box-shadow: -5px 0 10px rgba(228, 227, 227, 0.373);"> |
||||
|
<img src="assets/icons/hotel-black.png" width="42px" |
||||
|
height="auto" alt=""> |
||||
|
<p style="color: #714B67;font-weight: 600; margin-top: 10px; |
||||
|
font-size: 1.2rem; margin-bottom: 2px;">Hotel |
||||
|
Management</p> |
||||
|
<p>An all-inclusive hotel management application</p> |
||||
|
</div> |
||||
|
</div> |
||||
|
</div> |
||||
|
</div> |
||||
|
<div class="container mt-5"> |
||||
|
<div class="col-lg-12 d-flex flex-column justify-content-center align-items-center mt-5"> |
||||
|
<p class="m-0" |
||||
|
style="font-weight: 600; font-size: 24px; color:#000 !important"> |
||||
|
Support</p> |
||||
|
</div> |
||||
|
</div> |
||||
|
<div class="container my-5"> |
||||
|
<div class="row" style="background-color: #FFFAFE;"> |
||||
|
<div class="col-md-6 pb-4 d-flex align-items-center justify-content-center" |
||||
|
style="border-right: 1px solid #D9D9D9;"> |
||||
|
<div style="padding: 30px;"> |
||||
|
<div class="d-flex align-items-center"> |
||||
|
<img src="assets/misc/support (1) 1.svg" alt="" |
||||
|
width="60px" style="margin-right: 12px;"> |
||||
|
<div style="padding: 0px 8px;"> |
||||
|
<span |
||||
|
style="color: #714B67;font-size: 24px;font-weight: 600;padding-bottom: 1rem;">Need |
||||
|
Help?</span> |
||||
|
<p class="m-0" style="color:#718096;">Got |
||||
|
questions or need help? Get in touch.</p> |
||||
|
<div style="font-weight: 400;"><span><img |
||||
|
src="assets/misc/support-email.svg" |
||||
|
alt="" |
||||
|
width="18px" |
||||
|
style="filter: invert(1);margin-right: 0.8rem;"></span>odoo@cybrosys.com |
||||
|
</div> |
||||
|
</div> |
||||
|
</div> |
||||
|
</div> |
||||
|
</div> |
||||
|
<div class="col-md-6 pb-4 d-flex align-items-center justify-content-center"> |
||||
|
<div style="padding: 30px;"> |
||||
|
<div class="d-flex align-items-center"> |
||||
|
<img src="assets/misc/whatsapp 1.svg" alt="" |
||||
|
width="60px" style="margin-right: 12px;"> |
||||
|
<div> |
||||
|
<span style="color: #714B67;font-size: 24px;font-weight: 600;">WhatsApp</span> |
||||
|
<p class="m-0" style="color:#718096;">Say hi to |
||||
|
us on WhatsApp!</p> |
||||
|
<div style="font-weight: 400; font-size: 16px;"><span><img |
||||
|
src="assets/misc/phone.svg" |
||||
|
alt="" width="14px" |
||||
|
style="filter: invert(1); margin-right: 0.8rem;"></span>+91 |
||||
|
99456767686 |
||||
|
</div> |
||||
|
</div> |
||||
|
</div> |
||||
|
</div> |
||||
|
</div> |
||||
|
</div> |
||||
|
</div> |
||||
|
</div> |
||||
|
</section> |
||||
|
<!-- Optional JavaScript --> |
||||
|
<!-- jQuery first, then Popper.js, then Bootstrap JS --> |
||||
|
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.5.1/jquery.min.js"></script> |
||||
|
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/4.5.2/js/bootstrap.min.js"></script> |
||||
|
</body> |
||||
|
</html> |
After Width: | Height: | Size: 2.1 KiB |
After Width: | Height: | Size: 1.9 KiB |
@ -0,0 +1,54 @@ |
|||||
|
<?xml version="1.0" encoding="UTF-8" ?> |
||||
|
<odoo> |
||||
|
<!-- View for veterinarian --> |
||||
|
<record id="hr_employee_action" model="ir.actions.act_window"> |
||||
|
<field name="name">Veterinarian</field> |
||||
|
<field name="res_model">hr.employee</field> |
||||
|
<field name="view_mode">kanban,tree,form,activity</field> |
||||
|
<field name="domain">[('is_veterinarian', '=', True)]</field> |
||||
|
<field name="help" type="html"> |
||||
|
<p class="o_view_nocontent_smiling_face"> |
||||
|
Add a new employee |
||||
|
</p> |
||||
|
<p> |
||||
|
With just a quick glance on the Odoo employee screen, you |
||||
|
can easily find all the information you need for each person; |
||||
|
contact data, job position, availability, etc. |
||||
|
</p> |
||||
|
</field> |
||||
|
</record> |
||||
|
<!-- View for pet walker --> |
||||
|
<record id="action_walker_sitters" model="ir.actions.act_window"> |
||||
|
<field name="name">Walker/Sitters Main Action</field> |
||||
|
<field name="res_model">hr.employee</field> |
||||
|
<field name="view_mode">kanban,tree,form,activity</field> |
||||
|
<field name="domain">[('is_walker_sitters', '=', True)]</field> |
||||
|
<field name="help" type="html"> |
||||
|
<p class="o_view_nocontent_smiling_face"> |
||||
|
Add a new employee |
||||
|
</p> |
||||
|
<p> |
||||
|
With just a quick glance on the Odoo employee screen, you |
||||
|
can easily find all the information you need for each person; |
||||
|
contact data, job position, availability, etc. |
||||
|
</p> |
||||
|
</field> |
||||
|
</record> |
||||
|
<!-- Inheriting employee to add new fields --> |
||||
|
<record id="view_employee_form" model="ir.ui.view"> |
||||
|
<field name="name">hr.employee.view.form.inherit.pet.shop.management |
||||
|
</field> |
||||
|
<field name="model">hr.employee</field> |
||||
|
<field name="inherit_id" ref="hr.view_employee_form"/> |
||||
|
<field name="arch" type="xml"> |
||||
|
<xpath expr="//field[@name='department_id']" position="after"> |
||||
|
<group> |
||||
|
<field name="is_veterinarian" |
||||
|
groups="pet_shop_management.pet_shop_management_group_pet_manager"/> |
||||
|
<field name="is_walker_sitters" |
||||
|
groups="pet_shop_management.pet_shop_management_group_pet_manager"/> |
||||
|
</group> |
||||
|
</xpath> |
||||
|
</field> |
||||
|
</record> |
||||
|
</odoo> |
@ -0,0 +1,87 @@ |
|||||
|
<?xml version="1.0" encoding="UTF-8" ?> |
||||
|
<odoo> |
||||
|
<!-- Menus for the module --> |
||||
|
<menuitem id="pet_shop_management" |
||||
|
name="Pet Shop Management" |
||||
|
web_icon="pet_shop_management,static/description/icon.png" |
||||
|
/> |
||||
|
<menuitem id="menu_pet_shop_management" |
||||
|
name="Pets" |
||||
|
parent="pet_shop_management" |
||||
|
sequence="1"/> |
||||
|
<menuitem id="pet_shop" |
||||
|
name="Pets" |
||||
|
parent="menu_pet_shop_management" |
||||
|
action="product_product_action_view_pets" |
||||
|
sequence="1"> |
||||
|
</menuitem> |
||||
|
<menuitem id="menu_pet_shop_customer" |
||||
|
name="Customer" |
||||
|
parent="pet_shop_management" |
||||
|
sequence="2"/> |
||||
|
<menuitem id="customer_on_shop" |
||||
|
name="Customers" |
||||
|
parent="menu_pet_shop_customer" |
||||
|
action="res_partner_action" |
||||
|
sequence="1"> |
||||
|
</menuitem> |
||||
|
<menuitem id="menu_pet_shop_doctor" |
||||
|
name="Veterinarian" |
||||
|
groups="pet_shop_management.pet_shop_management_group_pet_manager" |
||||
|
parent="pet_shop_management" |
||||
|
sequence="3"/> |
||||
|
<menuitem id="veterinarian_on_shop" |
||||
|
name="Veterinarian" |
||||
|
parent="menu_pet_shop_doctor" |
||||
|
action="hr_employee_action" |
||||
|
sequence="1"> |
||||
|
</menuitem> |
||||
|
<menuitem id="menu_pet_shop_walker" |
||||
|
name="Walker/Sitters" |
||||
|
parent="pet_shop_management" |
||||
|
sequence="4"/> |
||||
|
<menuitem id="walker_on_shop" |
||||
|
name="Walker/Sitters" |
||||
|
parent="menu_pet_shop_walker" |
||||
|
action="action_walker_sitters" |
||||
|
sequence="1"> |
||||
|
</menuitem> |
||||
|
<menuitem id="menu_pet_shop_service" |
||||
|
name="Services" |
||||
|
parent="pet_shop_management" |
||||
|
groups="pet_shop_management.pet_shop_management_group_pet_sale_manager" |
||||
|
sequence="5"/> |
||||
|
<menuitem id="services_on_shop" |
||||
|
name="Services" |
||||
|
parent="menu_pet_shop_service" |
||||
|
action="product_action_view_services" |
||||
|
groups="pet_shop_management.pet_shop_management_group_pet_sale_manager" |
||||
|
sequence="1"> |
||||
|
</menuitem> |
||||
|
<menuitem id="menu_pet_shop_config" |
||||
|
name="Configuration" |
||||
|
parent="pet_shop_management" |
||||
|
groups="pet_shop_management.pet_shop_management_group_pet_manager" |
||||
|
sequence="6"/> |
||||
|
<menuitem id="config_on_shop" |
||||
|
name="Working Time" |
||||
|
parent="menu_pet_shop_config" |
||||
|
action="working_time_action" |
||||
|
groups="pet_shop_management.pet_shop_management_group_pet_manager" |
||||
|
sequence="1"> |
||||
|
</menuitem> |
||||
|
<menuitem id="config_on_shop_schedule" |
||||
|
name="Sitting Schedule" |
||||
|
parent="menu_pet_shop_config" |
||||
|
action="sitting_schedule_action" |
||||
|
groups="pet_shop_management.pet_shop_management_group_pet_manager" |
||||
|
sequence="3"> |
||||
|
</menuitem> |
||||
|
<menuitem id="pet_type_on_shop" |
||||
|
name="Pet Type" |
||||
|
parent="menu_pet_shop_config" |
||||
|
action="pet_type_action" |
||||
|
groups="pet_shop_management.pet_shop_management_group_pet_sale_manager" |
||||
|
sequence="2"> |
||||
|
</menuitem> |
||||
|
</odoo> |
@ -0,0 +1,24 @@ |
|||||
|
<?xml version="1.0" encoding="UTF-8" ?> |
||||
|
<odoo> |
||||
|
<!-- Pet type action --> |
||||
|
<record id="pet_type_action" model="ir.actions.act_window"> |
||||
|
<field name="name">Pet Type</field> |
||||
|
<field name="res_model">pet.type</field> |
||||
|
<field name="view_mode">tree,form</field> |
||||
|
<field name="help" type="html"> |
||||
|
<p class="o_view_nocontent_smiling_face"> |
||||
|
Generate Pet Type |
||||
|
</p> |
||||
|
</field> |
||||
|
</record> |
||||
|
<!-- Pet type view --> |
||||
|
<record id="pet_type_view_tree" model="ir.ui.view"> |
||||
|
<field name="name">Pet Type</field> |
||||
|
<field name="model">pet.type</field> |
||||
|
<field name="arch" type="xml"> |
||||
|
<tree> |
||||
|
<field name="name"/> |
||||
|
</tree> |
||||
|
</field> |
||||
|
</record> |
||||
|
</odoo> |
@ -0,0 +1,236 @@ |
|||||
|
<?xml version="1.0" encoding="utf-8"?> |
||||
|
<odoo> |
||||
|
<!-- Breadcrumbs for pets --> |
||||
|
<template id="portal_my_home_menu_pets" |
||||
|
name="Portal layout : Pets menu entries" |
||||
|
inherit_id="portal.portal_breadcrumbs" priority="25"> |
||||
|
<xpath expr="//ol[hasclass('o_portal_submenu')]" position="inside"> |
||||
|
<li t-if="page_name == 'pets'" |
||||
|
t-attf-class="breadcrumb-item #{'active ' if not pets else ''}"> |
||||
|
<a t-if="hr_payslip" |
||||
|
t-attf-href="/my/pets?{{ keep_query() }}">Pets |
||||
|
</a> |
||||
|
<t t-else="">Pets</t> |
||||
|
</li> |
||||
|
</xpath> |
||||
|
</template> |
||||
|
<!-- Menu for pets in portal --> |
||||
|
<template id="portal_my_home_sale_pets" name="Pets" |
||||
|
customize_show="True" inherit_id="portal.portal_my_home" |
||||
|
priority="25"> |
||||
|
<xpath expr="//div[hasclass('o_portal_docs')]" position="inside"> |
||||
|
<t t-call="portal.portal_docs_entry"> |
||||
|
<t t-set="icon" t-value="'/pet_shop_management/static/src/img/pets.svg'"/> |
||||
|
<t t-set="title">Pets</t> |
||||
|
<t t-set="text">View and check created pets</t> |
||||
|
<t t-set="url" t-value="'/my/pets'"/> |
||||
|
<t t-set="placeholder_count" t-value="'pets_count'"/> |
||||
|
</t> |
||||
|
</xpath> |
||||
|
</template> |
||||
|
<!-- Template for portal view for pets information --> |
||||
|
<template id="portal_my_pets" name="My Pets"> |
||||
|
<t t-call="portal.portal_layout"> |
||||
|
<t t-set="breadcrumbs_searchbar" t-value="True"/> |
||||
|
<t t-call="portal.portal_searchbar"> |
||||
|
<t t-set="title">My Pets</t> |
||||
|
</t> |
||||
|
<t t-if="not pets"> |
||||
|
<p>There are no information available regarding pets. |
||||
|
</p> |
||||
|
</t> |
||||
|
<t t-if="pets" t-call="portal.portal_table"> |
||||
|
<thead> |
||||
|
<tr class="active"> |
||||
|
<th>Number #</th> |
||||
|
<th>Name</th> |
||||
|
<th class='d-none d-md-table-cell'>Responsible</th> |
||||
|
<th>Pet Type</th> |
||||
|
<th>Birth date</th> |
||||
|
<th>Age</th> |
||||
|
</tr> |
||||
|
</thead> |
||||
|
<tbody> |
||||
|
<t t-foreach="pets" t-as="pet"> |
||||
|
<tr> |
||||
|
<td> |
||||
|
<a t-attf-href="/my/pets/#{pet.id}?{{ keep_query() }}" |
||||
|
t-att-title="pet.pet_seq"> |
||||
|
<t t-esc="pet.pet_seq"/> |
||||
|
</a> |
||||
|
</td> |
||||
|
<td> |
||||
|
<span t-field="pet.name"/> |
||||
|
</td> |
||||
|
<td class='d-none d-md-table-cell'> |
||||
|
<span t-field="pet.responsible_id"/> |
||||
|
</td> |
||||
|
<td class="tx_status"> |
||||
|
<span t-esc='pet.pet_type_id.name'/> |
||||
|
</td> |
||||
|
<td class="tx_status"> |
||||
|
<span t-esc='pet.dob'/> |
||||
|
</td> |
||||
|
<td class="tx_status"> |
||||
|
<span t-esc='pet.age'/> |
||||
|
</td> |
||||
|
</tr> |
||||
|
</t> |
||||
|
</tbody> |
||||
|
</t> |
||||
|
</t> |
||||
|
</template> |
||||
|
<template id="portal_pets_page" name="Pets Portal Template" |
||||
|
inherit_id="portal.portal_sidebar" primary="True"> |
||||
|
<xpath expr="//div[hasclass('o_portal_sidebar')]" position="inside"> |
||||
|
<t t-set="o_portal_fullwidth_alert" |
||||
|
groups="sales_team.group_sale_salesman"> |
||||
|
<t t-call="portal.portal_back_in_edit_mode"> |
||||
|
<t t-set="url" t-value="'/my/pets/#'"/> |
||||
|
</t> |
||||
|
</t> |
||||
|
<div class="row mt16 o_portal_sale_sidebar"> |
||||
|
<div id="pets_content" |
||||
|
class="col-12 col-lg justify-content-end"> |
||||
|
<div t-attf-class="card #{'pb-5' if report_type == 'pdf' else ''}" |
||||
|
id="portal_sale_content"> |
||||
|
<div t-call="pet_shop_management.pets_portal_content"/> |
||||
|
</div> |
||||
|
</div> |
||||
|
</div> |
||||
|
</xpath> |
||||
|
</template> |
||||
|
<template id="pets_portal_content" name="Payslip Portal Content"> |
||||
|
<div id="introduction" |
||||
|
t-attf-class="pb-2 pt-3 #{'card-header bg-white' if report_type == 'pdf' else ''}"> |
||||
|
<h2 class="my-0" style="margin-left: 840px;"> |
||||
|
<t t-esc="pets.name"/> |
||||
|
</h2> |
||||
|
</div> |
||||
|
<div style="padding-left: 25px;"> |
||||
|
<div id="informations"> |
||||
|
<div class="row"> |
||||
|
<div class="mb-2 col-3"> |
||||
|
|
||||
|
<div> |
||||
|
<span> |
||||
|
<b>Number:</b> |
||||
|
</span> |
||||
|
<t t-esc="pets.pet_seq"/> |
||||
|
<span> |
||||
|
<b>Number:</b> |
||||
|
</span> |
||||
|
<t t-esc="pets.pet_seq"/> |
||||
|
<br/> |
||||
|
<span> |
||||
|
<b>Name:</b> |
||||
|
</span> |
||||
|
<t t-esc="pets.name"/> |
||||
|
<br/> |
||||
|
<span> |
||||
|
<b>Birth:</b> |
||||
|
</span> |
||||
|
<t t-esc="pets.dob"/> |
||||
|
<br/> |
||||
|
<span> |
||||
|
<b>Age:</b> |
||||
|
</span> |
||||
|
<t t-esc="pets.age"/> |
||||
|
<br/> |
||||
|
<span> |
||||
|
<b>Type:</b> |
||||
|
</span> |
||||
|
<t t-esc="pets.pet_type_id.name"/> |
||||
|
<br/> |
||||
|
<span> |
||||
|
<b>Color:</b> |
||||
|
</span> |
||||
|
<t t-esc="pets.color"/> |
||||
|
<br/> |
||||
|
<span> |
||||
|
<b>Type:</b> |
||||
|
</span> |
||||
|
<t t-esc="pets.stay"/> |
||||
|
</div> |
||||
|
</div> |
||||
|
<div style="margin-left: 813px;margin-top: -181px;width: 215px;"> |
||||
|
<span t-field="pets.image_1920" |
||||
|
t-options='{"widget": "image"}'/> |
||||
|
</div> |
||||
|
</div> |
||||
|
<br/> |
||||
|
<br/> |
||||
|
<div> |
||||
|
<h2>Medical History</h2> |
||||
|
<span>Has your pet ever had an allergic reaction to |
||||
|
medicine? |
||||
|
</span> |
||||
|
<br/> |
||||
|
<span>Has your pet ever had an allergic reaction to |
||||
|
vaccine? |
||||
|
</span> |
||||
|
<br/> |
||||
|
<span>Has your pet had any previous medical or surgical |
||||
|
problems? |
||||
|
</span> |
||||
|
<br/> |
||||
|
</div> |
||||
|
<br/> |
||||
|
<br/> |
||||
|
<div> |
||||
|
<h2>Pet Vaccines</h2> |
||||
|
<table class="table table-sm"> |
||||
|
<thead> |
||||
|
<tr> |
||||
|
<th> |
||||
|
Description |
||||
|
</th> |
||||
|
<th>Date</th> |
||||
|
<th>Expiration Date</th> |
||||
|
<th>Veterinarian</th> |
||||
|
</tr> |
||||
|
</thead> |
||||
|
<tbody> |
||||
|
<tr> |
||||
|
<td> |
||||
|
<t t-esc="pets.pet_vaccines_ids.vaccine_name"/> |
||||
|
</td> |
||||
|
<td> |
||||
|
<t t-esc="pets.pet_vaccines_ids.date"/> |
||||
|
</td> |
||||
|
<td> |
||||
|
<t t-esc="pets.pet_vaccines_ids.date_exp"/> |
||||
|
</td> |
||||
|
<t t-if="pets.pet_vaccines_ids.veterinarian_id"> |
||||
|
<td> |
||||
|
<t t-esc="pets.pet_vaccines_ids.veterinarian_id.name"/> |
||||
|
</td> |
||||
|
</t> |
||||
|
<t t-else=""> |
||||
|
<td/> |
||||
|
</t> |
||||
|
</tr> |
||||
|
</tbody> |
||||
|
</table> |
||||
|
</div> |
||||
|
<br/> |
||||
|
<br/> |
||||
|
<div> |
||||
|
<h2>Other Information</h2> |
||||
|
<t t-esc="pets.notes"/> |
||||
|
<br/> |
||||
|
<span>Contact if your pet has any hesitation</span> |
||||
|
<br/> |
||||
|
<span>Where did your pet come from?</span> |
||||
|
<br/> |
||||
|
<span>what do you feed your pet?</span> |
||||
|
<t t-esc="pets.pet_food"/> |
||||
|
<br/> |
||||
|
</div> |
||||
|
<p class="text-right"> |
||||
|
<strong>Authorized signature</strong> |
||||
|
</p> |
||||
|
</div> |
||||
|
</div> |
||||
|
</template> |
||||
|
</odoo> |
@ -0,0 +1,190 @@ |
|||||
|
<?xml version="1.0" encoding="utf-8"?> |
||||
|
<odoo> |
||||
|
<!-- Tree view of services menu --> |
||||
|
<record id="product_service_view_tree" model="ir.ui.view"> |
||||
|
<field name="name">pets.service.view.tree</field> |
||||
|
<field name="model">product.product</field> |
||||
|
<field name="inherit_id" eval="False"/> |
||||
|
<field name="arch" type="xml"> |
||||
|
<tree> |
||||
|
<field name="pet_seq"/> |
||||
|
<field name="name"/> |
||||
|
<field name="partner_id"/> |
||||
|
</tree> |
||||
|
</field> |
||||
|
</record> |
||||
|
|
||||
|
<!-- Pets view --> |
||||
|
<record id="product_product_view_form" model="ir.ui.view"> |
||||
|
<field name="name">pets.form</field> |
||||
|
<field name="model">product.product</field> |
||||
|
<field name="inherit_id" eval="False"/> |
||||
|
<field name="arch" type="xml"> |
||||
|
<form> |
||||
|
<header> |
||||
|
<button name="create_sale_order" string="Create Sale Order" |
||||
|
type="object" class="oe_primary"/> |
||||
|
</header> |
||||
|
<sheet> |
||||
|
<div class="oe_title"> |
||||
|
<label for="name"/> |
||||
|
<h1> |
||||
|
<field name="pet_seq"/> |
||||
|
</h1> |
||||
|
</div> |
||||
|
<group> |
||||
|
<group> |
||||
|
<field name="name"/> |
||||
|
<field name="partner_id"/> |
||||
|
<field name="is_pet"/> |
||||
|
<field name="is_pet_service"/> |
||||
|
</group> |
||||
|
<group> |
||||
|
<field name="image_1920" widget="image" |
||||
|
class="oe_avatar" |
||||
|
options="{'preview_image': 'image_128'}"/> |
||||
|
<field name="dob" invisible="is_pet_service"/> |
||||
|
<field name="age" |
||||
|
invisible="'age' <= 0 or is_pet_service"/> |
||||
|
<field name="month" |
||||
|
invisible="'month' <= 0 or is_pet_service"/> |
||||
|
</group> |
||||
|
<group> |
||||
|
<field name="customer_id"/> |
||||
|
<field name="responsible_id" string="Responsible"/> |
||||
|
<field name="company_id"/> |
||||
|
</group> |
||||
|
<group> |
||||
|
<field name="sex" invisible="is_pet_service"/> |
||||
|
<field name="pet_type_id" invisible="is_pet_service"/> |
||||
|
<field name="color" invisible="is_pet_service"/> |
||||
|
<field name="stay" invisible="is_pet_service"/> |
||||
|
</group> |
||||
|
</group> |
||||
|
<notebook> |
||||
|
<page string="Medical History" invisible="is_pet_service" |
||||
|
groups="pet_shop_management.pet_shop_management_group_pet_manager"> |
||||
|
<group> |
||||
|
<group> |
||||
|
<field name="veterinarian_id"/> |
||||
|
<field name="pet_place"/> |
||||
|
<field name="pet_food"/> |
||||
|
<field name="is_contact"/> |
||||
|
<field name="previous_reactions"/> |
||||
|
</group> |
||||
|
<group> |
||||
|
<field name="is_allergy"/> |
||||
|
<field name="is_reaction"/> |
||||
|
</group> |
||||
|
</group> |
||||
|
</page> |
||||
|
<page string="Vaccine History" invisible="is_pet_service" |
||||
|
groups="pet_shop_management.pet_shop_management_group_pet_manager"> |
||||
|
<group> |
||||
|
<field name="vaccine"/> |
||||
|
</group> |
||||
|
</page> |
||||
|
<page string="Pet vaccines" invisible="is_pet_service"> |
||||
|
<field name="pet_vaccines_ids"> |
||||
|
<tree editable="bottom"> |
||||
|
<field name="vaccine_name"/> |
||||
|
<field name="date"/> |
||||
|
<field name="date_exp"/> |
||||
|
<field name="veterinarian_id"/> |
||||
|
</tree> |
||||
|
</field> |
||||
|
</page> |
||||
|
<page string="Other Photos" |
||||
|
groups="pet_shop_management.pet_shop_management_group_pet_user"> |
||||
|
<group> |
||||
|
<field name="photo_one"/> |
||||
|
</group> |
||||
|
<group> |
||||
|
<field name="photo_two"/> |
||||
|
<field name="photo_three"/> |
||||
|
</group> |
||||
|
</page> |
||||
|
<page string="Other Info"> |
||||
|
<field name="notes"/> |
||||
|
</page> |
||||
|
</notebook> |
||||
|
</sheet> |
||||
|
<div class="oe_chatter"> |
||||
|
<field name="message_follower_ids" |
||||
|
options="{'open_attachments': True}"/> |
||||
|
<field name="message_ids"/> |
||||
|
</div> |
||||
|
</form> |
||||
|
</field> |
||||
|
</record> |
||||
|
|
||||
|
<!-- Action for services menu --> |
||||
|
<record id="product_action_view_services" model="ir.actions.act_window"> |
||||
|
<field name="name">Pets</field> |
||||
|
<field name="type">ir.actions.act_window</field> |
||||
|
<field name="res_model">product.product</field> |
||||
|
<field name="domain">[('is_pet_service', '=', True)]</field> |
||||
|
<field name="view_mode">kanban,form,tree</field> |
||||
|
<field name="view_ids" |
||||
|
eval="[(5, 0, 0), |
||||
|
(0, 0, {'view_mode': 'tree', 'view_id': ref('pet_shop_management.product_service_view_tree')}), |
||||
|
(0, 0, {'view_mode': 'form', 'view_id': ref('pet_shop_management.product_product_view_form')})]"/> |
||||
|
<field name="context">{'default_detailed_type': 'service'}</field> |
||||
|
<field name="help" type="html"> |
||||
|
<p class="o_view_nocontent_smiling_face"> |
||||
|
Create a new Pet |
||||
|
</p> |
||||
|
</field> |
||||
|
</record> |
||||
|
|
||||
|
<record id="product_product_view_tree" model="ir.ui.view"> |
||||
|
<field name="name">pets.tree</field> |
||||
|
<field name="model">product.product</field> |
||||
|
<field name="inherit_id" eval="False"/> |
||||
|
<field name="arch" type="xml"> |
||||
|
<tree> |
||||
|
<field name="pet_seq"/> |
||||
|
<field name="name"/> |
||||
|
<field name="dob"/> |
||||
|
<field name="stay"/> |
||||
|
</tree> |
||||
|
</field> |
||||
|
</record> |
||||
|
|
||||
|
<!-- Action for pets menu --> |
||||
|
<record id="product_product_action_view_pets" model="ir.actions.act_window"> |
||||
|
<field name="name">Pets</field> |
||||
|
<field name="type">ir.actions.act_window</field> |
||||
|
<field name="res_model">product.product</field> |
||||
|
<field name="domain">[('is_pet', '=', True)]</field> |
||||
|
<field name="view_mode">kanban,tree,form</field> |
||||
|
<field name="view_ids" |
||||
|
eval="[(5, 0, 0), |
||||
|
(0, 0, {'view_mode': 'tree', 'view_id': ref('pet_shop_management.product_product_view_tree')}), |
||||
|
(0, 0, {'view_mode': 'form', 'view_id': ref('pet_shop_management.product_product_view_form')})]"/> |
||||
|
<field name="context">{'default_detailed_type': 'product'} |
||||
|
</field> |
||||
|
<field name="help" type="html"> |
||||
|
<p class="o_view_nocontent_smiling_face"> |
||||
|
Create a Pet Service |
||||
|
</p> |
||||
|
</field> |
||||
|
</record> |
||||
|
<!-- Product inheriting to add new field--> |
||||
|
<record id="product_normal_form_view" model="ir.ui.view"> |
||||
|
<field name="name"> |
||||
|
product.product.view.form.inherit.pet.shop.management |
||||
|
</field> |
||||
|
<field name="model">product.product</field> |
||||
|
<field name="inherit_id" ref="product.product_normal_form_view"/> |
||||
|
<field name="arch" type="xml"> |
||||
|
<xpath expr="//field[@name='sale_ok']" position="before"> |
||||
|
<group> |
||||
|
<field name="is_pet" string="Is Pet"/> |
||||
|
<field name="is_pet_service" string="Is Pet Service"/> |
||||
|
<field name="customer_id"/> |
||||
|
</group> |
||||
|
</xpath> |
||||
|
</field> |
||||
|
</record> |
||||
|
</odoo> |