Browse Source

Sep 13 [FIX] : Bug Fixed 'account_restrict_journal'

pull/277/head
AjmalCybro 2 years ago
parent
commit
7dd4ed86c9
  1. 6
      account_restrict_journal/README.rst
  2. 13
      account_restrict_journal/__manifest__.py
  3. 5
      account_restrict_journal/doc/RELEASE_NOTES.md
  4. 2
      account_restrict_journal/models/__init__.py
  5. 53
      account_restrict_journal/models/account_move.py
  6. 62
      account_restrict_journal/models/account_payment_register.py
  7. 11
      account_restrict_journal/models/res_users.py
  8. 1
      account_restrict_journal/security/account_journal_security.xml
  9. 17
      account_restrict_journal/security/ir_rule.xml
  10. BIN
      account_restrict_journal/static/description/assets/modules/2.png
  11. BIN
      account_restrict_journal/static/description/assets/modules/3.png
  12. BIN
      account_restrict_journal/static/description/assets/modules/4.png
  13. BIN
      account_restrict_journal/static/description/assets/modules/6.png
  14. BIN
      account_restrict_journal/static/description/assets/screenshots/1.png
  15. BIN
      account_restrict_journal/static/description/assets/screenshots/10.png
  16. BIN
      account_restrict_journal/static/description/assets/screenshots/11.png
  17. BIN
      account_restrict_journal/static/description/assets/screenshots/12.png
  18. BIN
      account_restrict_journal/static/description/assets/screenshots/2.png
  19. BIN
      account_restrict_journal/static/description/assets/screenshots/3.png
  20. BIN
      account_restrict_journal/static/description/assets/screenshots/4.png
  21. BIN
      account_restrict_journal/static/description/assets/screenshots/5.png
  22. BIN
      account_restrict_journal/static/description/assets/screenshots/6.png
  23. BIN
      account_restrict_journal/static/description/assets/screenshots/7.png
  24. BIN
      account_restrict_journal/static/description/assets/screenshots/8.png
  25. BIN
      account_restrict_journal/static/description/assets/screenshots/9.png
  26. BIN
      account_restrict_journal/static/description/assets/screenshots/account_journal_restriction_01.png
  27. BIN
      account_restrict_journal/static/description/assets/screenshots/account_journal_restriction_02.png
  28. BIN
      account_restrict_journal/static/description/assets/screenshots/account_journal_restriction_03.png
  29. BIN
      account_restrict_journal/static/description/assets/screenshots/account_journal_restriction_04.png
  30. BIN
      account_restrict_journal/static/description/assets/screenshots/account_journal_restriction_05.png
  31. BIN
      account_restrict_journal/static/description/assets/screenshots/account_journal_restriction_06.png
  32. BIN
      account_restrict_journal/static/description/assets/screenshots/account_journal_restriction_07.png
  33. BIN
      account_restrict_journal/static/description/assets/screenshots/hero.gif
  34. BIN
      account_restrict_journal/static/description/assets/screenshots/hero_gif.gif
  35. BIN
      account_restrict_journal/static/description/assets/screenshots/im1.png
  36. BIN
      account_restrict_journal/static/description/assets/screenshots/im2.png
  37. 406
      account_restrict_journal/static/description/index.html
  38. 16
      account_restrict_journal/views/account_move_views.xml
  39. 6
      account_restrict_journal/views/res_users_views.xml

6
account_restrict_journal/README.rst

@ -1,5 +1,5 @@
.. image:: https://img.shields.io/badge/licence-LGPL--3-blue.svg
:target: http://www.gnu.org/licenses/lgpl-3.0-standalone.html
:target: https://www.gnu.org/licenses/lgpl-3.0-standalone.html
:alt: License: LGPL-3
Restrict Journal for Users
@ -17,11 +17,11 @@ Company
License
-------
General Public License, Version 3 (LGPL v3).
(https://www.odoo.com/documentation/user/16.0/legal/licenses/licenses.html)
(https://www.gnu.org/licenses/lgpl-3.0-standalone.html)
Credits
-------
Developer: Sreeshanth V S @cybrosys, Contact: odoo@cybrosys.com
Developer: (V16) Sreeshanth V S @cybrosys, Contact: odoo@cybrosys.com
Contacts
--------

13
account_restrict_journal/__manifest__.py

@ -21,20 +21,21 @@
#############################################################################
{
'name': "Restrict Journal for Users",
"description": """ Restrict account journal for the
specific users to access allowed journals only""",
"summary": "User can select only allowed journals",
"version": "16.0.2.1.1",
"category": "Accounting",
"version": "16.0.1.0.0",
"summary": "User can select only allowed journals",
"description": """ Restrict account journal for the specific users to
access allowed journals only""",
'author': 'Cybrosys Techno Solutions',
'company': 'Cybrosys Techno Solutions',
'maintainer': 'Cybrosys Techno Solutions',
'website': "https://www.cybrosys.com",
'depends': ['account', 'base'],
'depends': ['base', 'base_accounting_kit'],
'data': [
'security/account_journal_security.xml',
'security/ir_rule.xml',
'views/res_users_views.xml'
'views/res_users_views.xml',
'views/account_move_views.xml'
],
'images': [
'static/description/banner.png'],

5
account_restrict_journal/doc/RELEASE_NOTES.md

@ -4,3 +4,8 @@
#### Version 16.0.1.0.0
#### ADD
- Initial commit for Restrict Journal for Users
#### 11.09.2023
#### Version 16.0.2.1.1
#### UPDT
- Bug Fix and Change Functionality

2
account_restrict_journal/models/__init__.py

@ -19,4 +19,6 @@
# If not, see <http://www.gnu.org/licenses/>.
#
#############################################################################
from . import account_move
from . import account_payment_register
from . import res_users

53
account_restrict_journal/models/account_move.py

@ -0,0 +1,53 @@
# -*- coding: utf-8 -*-
#############################################################################
#
# Cybrosys Technologies Pvt. Ltd.
#
# Copyright (C) 2023-TODAY Cybrosys Technologies(<https://www.cybrosys.com>)
# Author: Cybrosys Techno Solutions(<https://www.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 api, fields, models, _
from odoo.exceptions import ValidationError
class AccountMove(models.Model):
"""Inherited model for checking the journal type in account.move."""
_inherit = 'account.move'
check_journal = fields.Boolean(string="Check Journal",
help="Compute field for check the current "
"record's journal type ",
compute="_compute_journal")
def _compute_journal(self):
"""Compute field for showing validation error for restricted journal's
records"""
self.check_journal = True
for rec in self.line_ids:
if rec.full_reconcile_id:
payment = self.env['account.payment.register'].search(
[('id', '=', rec.full_reconcile_id.id)])
if payment.journal_id.id in self.env.user.journal_ids.ids:
raise ValidationError(_('Restricted journals found.'))
if self.journal_id.id in self.env.user.journal_ids.ids:
raise ValidationError(_('Restricted journals found.'))
@api.onchange('partner_id')
def _onchange_partner_id(self):
"""Function for hiding restricted journals from account.move."""
if self.journal_id.id in self.env.user.journal_ids.ids:
self.journal_id = False
return super(AccountMove, self)._onchange_partner_id()

62
account_restrict_journal/models/account_payment_register.py

@ -0,0 +1,62 @@
# -*- coding: utf-8 -*-
#############################################################################
#
# Cybrosys Technologies Pvt. Ltd.
#
# Copyright (C) 2023-TODAY Cybrosys Technologies(<https://www.cybrosys.com>)
# Author: Cybrosys Techno Solutions(<https://www.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 api, models
class AccountPaymentRegister(models.TransientModel):
""" Adding allowed journal in functionality"""
_inherit = 'account.payment.register'
@api.depends('payment_type', 'company_id', 'can_edit_wizard')
def _compute_available_journal_ids(self):
"""
Check all available journals on register payment.
"""
for wizard in self:
if wizard.can_edit_wizard:
batch = wizard._get_batches()[0]
wizard.available_journal_ids = wizard._get_batch_available_journals(
batch)
else:
wizard.available_journal_ids = self.env[
'account.journal'].search(
[('company_id', '=', wizard.company_id.id),
('type', 'in', ('bank', 'cash')),
('id', 'not in', self.env.user.journal_ids.ids)])
@api.model
def _get_batch_available_journals(self, batch_result):
""" Helper to compute the available journals based on the batch.
:param batch_result: A batch returned by '_get_batches'.
:return: A recordset of account.journal.
"""
payment_type = batch_result['payment_values']['payment_type']
company = batch_result['lines'].company_id
journals = self.env['account.journal'].search(
[('company_id', '=', company.id), ('type', 'in', ('bank', 'cash')),
('id', 'not in', self.env.user.journal_ids.ids)])
if payment_type == 'inbound':
return journals.filtered('inbound_payment_method_line_ids')
else:
return journals.filtered('outbound_payment_method_line_ids')

11
account_restrict_journal/models/res_users.py

@ -27,8 +27,17 @@ class ResUsers(models.Model):
_inherit = 'res.users'
check_user = fields.Boolean(string="Check", compute='_compute_check_user',
help="Check the field is true or false")
journal_ids = fields.Many2many(
'account.journal',
string='Allowed Journals',
string='Restricted Journals',
help='Only the selected journal will be visible'
' to the particular user')
def _compute_check_user(self):
"""Function for viewing the page for restrict journal users."""
self.check_user = False
if (self.env.ref('account_restrict_journal.user_allowed_journal').id in
self.groups_id.mapped('id')):
self.check_user = True

1
account_restrict_journal/security/account_journal_security.xml

@ -1,5 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<odoo>
<!-- New user group created for journal restriction-->
<record id="user_allowed_journal" model="res.groups">
<field name="name">Restrict Journals</field>
<field name="category_id" ref="base.module_category_usability"/>

17
account_restrict_journal/security/ir_rule.xml

@ -1,9 +1,24 @@
<?xml version="1.0" encoding="utf-8"?>
<odoo>
<!-- Created new record rule for created user group-->
<record id="account_journal_rule_users" model="ir.rule">
<field name="name">Account Journal Restrict on Users</field>
<field name="model_id" ref="account.model_account_journal"/>
<field name="domain_force">[('id','in', user.journal_ids.ids)]
<field name="domain_force">[('id','not in', user.journal_ids.ids)]
</field>
<field name="groups"
eval="[(4, ref('account_restrict_journal.user_allowed_journal'))]"/>
<field name="perm_read" eval="True"/>
<field name="perm_write" eval="True"/>
<field name="perm_create" eval="True"/>
<field name="perm_unlink" eval="True"/>
<field name="active"
eval="True"/>
</record>
<record id="account_payment_rule_users" model="ir.rule">
<field name="name">Account Payment Restrict on Users</field>
<field name="model_id" ref="account.model_account_payment"/>
<field name="domain_force">[('journal_id','not in', user.journal_ids.ids)]
</field>
<field name="groups"
eval="[(4, ref('account_restrict_journal.user_allowed_journal'))]"/>

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

Binary file not shown.

Before

Width:  |  Height:  |  Size: 87 KiB

After

Width:  |  Height:  |  Size: 86 KiB

BIN
account_restrict_journal/static/description/assets/modules/3.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 82 KiB

After

Width:  |  Height:  |  Size: 79 KiB

BIN
account_restrict_journal/static/description/assets/modules/4.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 18 KiB

After

Width:  |  Height:  |  Size: 87 KiB

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

Binary file not shown.

Before

Width:  |  Height:  |  Size: 81 KiB

After

Width:  |  Height:  |  Size: 80 KiB

BIN
account_restrict_journal/static/description/assets/screenshots/1.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 110 KiB

BIN
account_restrict_journal/static/description/assets/screenshots/10.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 87 KiB

BIN
account_restrict_journal/static/description/assets/screenshots/11.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 100 KiB

BIN
account_restrict_journal/static/description/assets/screenshots/12.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 68 KiB

BIN
account_restrict_journal/static/description/assets/screenshots/2.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 86 KiB

BIN
account_restrict_journal/static/description/assets/screenshots/3.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 61 KiB

BIN
account_restrict_journal/static/description/assets/screenshots/4.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 112 KiB

BIN
account_restrict_journal/static/description/assets/screenshots/5.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 122 KiB

BIN
account_restrict_journal/static/description/assets/screenshots/6.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 138 KiB

BIN
account_restrict_journal/static/description/assets/screenshots/7.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 119 KiB

BIN
account_restrict_journal/static/description/assets/screenshots/8.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 117 KiB

BIN
account_restrict_journal/static/description/assets/screenshots/9.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 93 KiB

BIN
account_restrict_journal/static/description/assets/screenshots/account_journal_restriction_01.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 152 KiB

BIN
account_restrict_journal/static/description/assets/screenshots/account_journal_restriction_02.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 133 KiB

BIN
account_restrict_journal/static/description/assets/screenshots/account_journal_restriction_03.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 86 KiB

BIN
account_restrict_journal/static/description/assets/screenshots/account_journal_restriction_04.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 174 KiB

BIN
account_restrict_journal/static/description/assets/screenshots/account_journal_restriction_05.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 112 KiB

BIN
account_restrict_journal/static/description/assets/screenshots/account_journal_restriction_06.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 142 KiB

BIN
account_restrict_journal/static/description/assets/screenshots/account_journal_restriction_07.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 107 KiB

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

Binary file not shown.

Before

Width:  |  Height:  |  Size: 236 KiB

BIN
account_restrict_journal/static/description/assets/screenshots/hero_gif.gif

Binary file not shown.

After

Width:  |  Height:  |  Size: 250 KiB

BIN
account_restrict_journal/static/description/assets/screenshots/im1.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 94 KiB

BIN
account_restrict_journal/static/description/assets/screenshots/im2.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 87 KiB

406
account_restrict_journal/static/description/index.html

@ -2,14 +2,14 @@
<!-- TITLE BAR -->
<div class="d-flex align-items-center justify-content-between"
style="border-bottom: 1px solid #875A7B; padding: 15px; display: flex; justify-content: space-between; align-items: center;">
<img src="assets/misc/cybrosys-logo.png" width="42" height="42" style="width: 42px; height: 42px;" />
<img src="assets/misc/cybrosys-logo.png" width="42" height="42"
style="width: 42px; height: 42px;"/>
<div>
<div
style="color: #7C7BAD; font-size: 14px; font-family: 'Montserrat', sans-serif; font-weight: bold; background-color: white; display: inline-block; padding: 3px 10px; border-radius: 50px;"
class="mr-2">
<i class="fa fa-check mr-1"></i>Community
</div>
<div
style="color: #7C7BAD; font-size: 14px; font-family: 'Montserrat', sans-serif; font-weight: bold; background-color: white; display: inline-block; padding: 3px 10px; border-radius: 50px;"
class="mr-2">
@ -22,24 +22,29 @@
<div class="row">
<div class="col-sm-12 col-md-12 col-lg-12">
<!-- APP HERO -->
<h1 style="color: #FFFFFF; font-weight: bolder; font-size: 50px; text-align: center; margin-top: 50px;"> Restrict Journal for Users
<h1 style="color: #FFFFFF; font-weight: bolder; font-size: 50px; text-align: center; margin-top: 50px;">
Restrict Journal for Users
</h1>
<p style="color:#FFFFFF; padding: 8px 15px; text-align: center; font-size: 24px;">Journal entry restriction for users</p>
<p style="color:#FFFFFF; padding: 8px 15px; text-align: center; font-size: 24px;">
Journal Entry Restriction for Users</p>
<!-- END OF APP HERO -->
<img src="assets/screenshots/hero.gif" class="img-responsive"
style="width: 100%; margin-left: auto; margin-right: auto;" />
<img src="assets/screenshots/hero_gif.gif" class="img-responsive"
style="width: 100%; margin-left: auto; margin-right: auto;"/>
</div>
</div>
</div>
</div>
<!-- NAVIGATION SECTION -->
<div class="d-flex align-items-center" style="border-bottom: 2px solid #714B67; padding: 15px 0px; margin-top: 300px;">
<div class="d-flex align-items-center"
style="border-bottom: 2px solid #714B67; padding: 15px 0px; margin-top: 300px;">
<div class="d-flex justify-content-center align-items-center mr-2"
style="background-color: #F5F5F5; border-radius: 0px; width: 40px; height: 40px;">
<img src="assets/misc/compass.png" />
<img src="assets/misc/compass.png"/>
</div>
<h2 class="mt-2" style="font-family: 'Montserrat', sans-serif; font-size: 24px; font-weight: bold;">Explore This
<h2 class="mt-2"
style="font-family: 'Montserrat', sans-serif; font-size: 24px; font-weight: bold;">
Explore This
Module</h2>
</div>
<div class="row my-4" style="font-family: 'Montserrat', sans-serif;">
@ -53,7 +58,7 @@
more about this
module</span>
</div>
<img src="assets/misc/right-arrow.png" width="36" height="36" />
<img src="assets/misc/right-arrow.png" width="36" height="36"/>
</div>
</a>
</div>
@ -67,7 +72,7 @@
features of this
module</span>
</div>
<img src="assets/misc/right-arrow.png" width="36" height="36" />
<img src="assets/misc/right-arrow.png" width="36" height="36"/>
</div>
</a>
</div>
@ -81,7 +86,7 @@
screenshots for this
module</span>
</div>
<img src="assets/misc/right-arrow.png" width="36" height="36" />
<img src="assets/misc/right-arrow.png" width="36" height="36"/>
</div>
</a>
</div>
@ -89,147 +94,205 @@
<!-- END OF NAVIGATION SECTION -->
<!-- OVERVIEW SECTION -->
<div class="d-flex align-items-center" style="border-bottom: 2px solid #714B67; padding: 15px 0px;" id="overview">
<div class="d-flex align-items-center"
style="border-bottom: 2px solid #714B67; padding: 15px 0px;" id="overview">
<div class="d-flex justify-content-center align-items-center mr-2"
style="background-color: #F5F5F5; border-radius: 0px; width: 40px; height: 40px;">
<img src="assets/misc/pie-chart.png" />
<img src="assets/misc/pie-chart.png"/>
</div>
<h2 class="mt-2" style="font-family: 'Montserrat', sans-serif; font-size: 24px; font-weight: bold;">Overview
<h2 class="mt-2"
style="font-family: 'Montserrat', sans-serif; font-size: 24px; font-weight: bold;">
Overview
</h2>
</div>
<div class="row" style="font-family: 'Montserrat', sans-serif; font-weight: 400; font-size: 14px; line-height: 200%;">
<div class="row"
style="font-family: 'Montserrat', sans-serif; font-weight: 400; font-size: 14px; line-height: 200%;">
<div class="col-sm-12 py-4">
This module is helps you to restrict account journal for the specific users.So that users can only access the allowed journals
This module helps you to restrict account journal for the specific
users. So that users can only access the journals which are not
restricted.
</div>
</div>
<!-- END OF OVERVIEW SECTION -->
<!-- FEATURES SECTION -->
<div class="d-flex align-items-center" style="border-bottom: 2px solid #714B67; padding: 15px 0px;" id="features">
<div class="d-flex align-items-center"
style="border-bottom: 2px solid #714B67; padding: 15px 0px;" id="features">
<div class="d-flex justify-content-center align-items-center mr-2"
style="background-color: #F5F5F5; border-radius: 0px; width: 40px; height: 40px;">
<img src="assets/misc/features.png" />
<img src="assets/misc/features.png"/>
</div>
<h2 class="mt-2" style="font-family: 'Montserrat', sans-serif; font-size: 24px; font-weight: bold;">Features
<h2 class="mt-2"
style="font-family: 'Montserrat', sans-serif; font-size: 24px; font-weight: bold;">
Features
</h2>
</div>
<div class="row" style="font-family: 'Montserrat', sans-serif; font-weight: 400; font-size: 14px; line-height: 200%;">
<div class="col-sm-12 col-md-6">
<div class="d-flex align-items-center" style="margin-top: 30px; margin-bottom: 30px">
<img src="assets/misc/check-box.png" class="mr-2" />
<span style="font-family: 'Montserrat', sans-serif; font-size: 18px; font-weight: bold;">Restrict journal for users</span>
</div>
<div class="d-flex align-items-center" style="margin-top: 30px; margin-bottom: 30px">
<img src="assets/misc/check-box.png" class="mr-2" />
<span style="font-family: 'Montserrat', sans-serif; font-size: 18px; font-weight: bold;">Users can access only allowed journals</span>
</div>
<div class="d-flex align-items-center" style="margin-top: 30px; margin-bottom: 30px">
<img src="assets/misc/check-box.png" class="mr-2" />
<span style="font-family: 'Montserrat', sans-serif; font-size: 18px; font-weight: bold;">Filter the profit based on the required date</span>
</div>
</div>
<div class="row"
style="font-family: 'Montserrat', sans-serif; font-weight: 400; font-size: 14px; line-height: 200%;">
<div class="col-sm-12 col-md-6">
<div class="d-flex align-items-center" style="margin-top: 30px; margin-bottom: 30px">
<img src="assets/misc/check-box.png" class="mr-2" />
<div class="d-flex align-items-center"
style="margin-top: 30px; margin-bottom: 30px">
<img src="assets/misc/check-box.png" class="mr-2"/>
<span style="font-family: 'Montserrat', sans-serif; font-size: 18px; font-weight: bold;">Restrict journals for users</span>
</div>
<div class="d-flex align-items-center"
style="margin-top: 30px; margin-bottom: 30px">
<img src="assets/misc/check-box.png" class="mr-2"/>
<span style="font-family: 'Montserrat', sans-serif; font-size: 18px; font-weight: bold;">Users can access the journals which are not restricted</span>
</div>
<div class="d-flex align-items-center"
style="margin-top: 30px; margin-bottom: 30px">
<img src="assets/misc/check-box.png" class="mr-2"/>
<span style="font-family: 'Montserrat', sans-serif; font-size: 18px; font-weight: bold;">Available in Odoo 16.0
Community & Enterprise.</span>
</div>
<div class="d-flex align-items-center" style="margin-top: 30px; margin-bottom: 30px">
<img src="assets/misc/check-box.png" class="mr-2" />
<span style="font-family: 'Montserrat', sans-serif; font-size: 18px; font-weight: bold;">Easy way to get report based on dates </span>
</div>
</div>
</div>
<!-- END OF FEATURES SECTION -->
<!-- SCREENSHOTS SECTION -->
<div class="d-flex align-items-center" style="border-bottom: 2px solid #714B67; padding: 15px 0px;" id="screenshots">
<div class="d-flex align-items-center"
style="border-bottom: 2px solid #714B67; padding: 15px 0px;"
id="screenshots">
<div class="d-flex justify-content-center align-items-center mr-2"
style="background-color: #F5F5F5; border-radius: 0px; width: 40px; height: 40px;">
<img src="assets/misc/pictures.png" />
<img src="assets/misc/pictures.png"/>
</div>
<h2 class="mt-2" style="font-family: 'Montserrat', sans-serif; font-size: 24px; font-weight: bold;">Screenshots
<h2 class="mt-2"
style="font-family: 'Montserrat', sans-serif; font-size: 24px; font-weight: bold;">
Screenshots
</h2>
</div>
<div class="row">
<div class="col-sm-12">
<div style="display: block; margin: 30px auto;">
<h3 style="font-family: 'Montserrat', sans-serif; font-size: 18px; font-weight: bold;">Add user group under user
<h3 style="font-family: 'Montserrat', sans-serif; font-size: 18px; font-weight: bold;">
Add user group under user
</h3>
<p style="font-weight: 400; font-family: 'Montserrat', sans-serif; font-size: 14px;">Go to Settings -> Users
<p style="font-weight: 400; font-family: 'Montserrat', sans-serif; font-size: 14px;">
Go to Settings -> Users
->
You can see a checkbox to enable restrict journal
You can see a checkbox to enable Restrict Journals, after enabling this a page will be visible.
</p>
<img src="assets/screenshots/account_journal_restriction_01.png" class="img-thumbnail">
<img src="assets/screenshots/im1.png" class="img-thumbnail">
</div>
<div style="display: block; margin: 30px auto;">
<h3 style="font-family: 'Montserrat', sans-serif; font-size: 18px; font-weight: bold;">Select Allowed Journal
<h3 style="font-family: 'Montserrat', sans-serif; font-size: 18px; font-weight: bold;">
Select Restricted Journals
</h3>
<p style="font-weight: 400; font-family: 'Montserrat', sans-serif; font-size: 14px;">Go to Settings -> Users
<p style="font-weight: 400; font-family: 'Montserrat', sans-serif; font-size: 14px;">
Go to Settings -> Users
->
You can see new page Allowed Journal where you can select allowed journal </p>
<img src="assets/screenshots/account_journal_restriction_02.png" class="img-thumbnail">
You can see new page Restricted Journal, where you can select
Restricted Journals </p>
<img src="assets/screenshots/im2.png" class="img-thumbnail">
</div>
<div style="display: block; margin: 30px auto;">
<h3 style="font-family: 'Montserrat', sans-serif; font-size: 18px; font-weight: bold;">Journal view
<h3 style="font-family: 'Montserrat', sans-serif; font-size: 18px; font-weight: bold;">
Journal View on User
</h3>
<p style="font-weight: 400; font-family: 'Montserrat', sans-serif; font-size: 14px;">Go to Account -> Configuration ->Journal
<p style="font-weight: 400; font-family: 'Montserrat', sans-serif; font-size: 14px;">
Log in with the user and go to Account -> Configuration
->Journal
->
You can only see the selected journals
You can't see the restricted journals here.
</p>
<img src="assets/screenshots/account_journal_restriction_03.png" class="img-thumbnail">
<img src="assets/screenshots/3.png" class="img-thumbnail">
</div>
<div style="display: block; margin: 30px auto;">
<h3 style="font-family: 'Montserrat', sans-serif; font-size: 18px; font-weight: bold;">Journal Selection in Register Payment
<h3 style="font-family: 'Montserrat', sans-serif; font-size: 18px; font-weight: bold;">
Restricted Journal is Hidden
</h3>
<p style="font-weight: 400; font-family: 'Montserrat', sans-serif; font-size: 14px;">Create and confirm an invoice and click on Register Payment
Only selected journal will be visible here
<p style="font-weight: 400; font-family: 'Montserrat', sans-serif; font-size: 14px;">
We already restricted Customer Invoices for user, so the journal
is hidden on invoice creation. Without using any journal item we
can't create any records here.
</p>
<img src="assets/screenshots/account_journal_restriction_04.png" class="img-thumbnail">
<img src="assets/screenshots/4.png" class="img-thumbnail">
</div>
<div style="display: block; margin: 30px auto;">
<h3 style="font-family: 'Montserrat', sans-serif; font-size: 18px; font-weight: bold;">Journal Selection on Payment
<h3 style="font-family: 'Montserrat', sans-serif; font-size: 18px; font-weight: bold;">
Journal Selection
</h3>
<p style="font-weight: 400; font-family: 'Montserrat', sans-serif; font-size: 14px;">Go to Account -> vendor/customer -> Payment
Only allowed journal can be select for that user
<p style="font-weight: 400; font-family: 'Montserrat', sans-serif; font-size: 14px;">
Also have other journal related to the journal type as Sale on
Journals, so we can select it from the selection field and
create new record.
</p>
<img src="assets/screenshots/account_journal_restriction_05.png" class="img-thumbnail">
<img src="assets/screenshots/5.png" class="img-thumbnail">
</div>
<div style="display: block; margin: 30px auto;">
<h3 style="font-family: 'Montserrat', sans-serif; font-size: 18px; font-weight: bold;">Remove user groups
<h3 style="font-family: 'Montserrat', sans-serif; font-size: 18px; font-weight: bold;">
Create Record and Register Payment
</h3>
<p style="font-weight: 400; font-family: 'Montserrat', sans-serif; font-size: 14px;">Go to Settings -> Users
Uncheck the restrict user option
<p style="font-weight: 400; font-family: 'Montserrat', sans-serif; font-size: 14px;">
We can CONFIRM the order and can do the REGISTER PAYMENT. On the
popup window, the Bank Journal is hidden and only see the Cash
Journal here.
</p>
<img src="assets/screenshots/account_journal_restriction_06.png" class="img-thumbnail">
<img src="assets/screenshots/7.png" class="img-thumbnail">
</div>
<div style="display: block; margin: 30px auto;">
<h3 style="font-family: 'Montserrat', sans-serif; font-size: 18px; font-weight: bold;">Account journal without restriction
<p style="font-weight: 400; font-family: 'Montserrat', sans-serif; font-size: 14px;">
On the list view we can see the all invoices.
</p>
<img src="assets/screenshots/8.png" class="img-thumbnail">
</div>
<div style="display: block; margin: 30px auto;">
<h3 style="font-family: 'Montserrat', sans-serif; font-size: 18px; font-weight: bold;">
Validation Error for Restricted Journal Records
</h3>
<p style="font-weight: 400; font-family: 'Montserrat', sans-serif; font-size: 14px;">Go to Account -> Configuration ->Journal
We can see all journal without any restriction
<p style="font-weight: 400; font-family: 'Montserrat', sans-serif; font-size: 14px;">
A Validation Error will be shown for the records with restricted
journals.
</p>
<img src="assets/screenshots/account_journal_restriction_07.png" class="img-thumbnail">
<img src="assets/screenshots/9.png" class="img-thumbnail">
</div>
<div style="display: block; margin: 30px auto;">
<h3 style="font-family: 'Montserrat', sans-serif; font-size: 18px; font-weight: bold;">
Journal Selection on Payment
</h3>
<p style="font-weight: 400; font-family: 'Montserrat', sans-serif; font-size: 14px;">
Go to Account -> Vendors/Customers -> Payment restricted
journals can't access for that user
</p>
<img src="assets/screenshots/10.png" class="img-thumbnail">
</div>
<div style="display: block; margin: 30px auto;">
<h3 style="font-family: 'Montserrat', sans-serif; font-size: 18px; font-weight: bold;">
Remove User Groups
</h3>
<p style="font-weight: 400; font-family: 'Montserrat', sans-serif; font-size: 14px;">
Go to Settings -> Uncheck the Restrict Journals option from users
</p>
<img src="assets/screenshots/11.png" class="img-thumbnail">
</div>
<h3 style="font-family: 'Montserrat', sans-serif; font-size: 18px; font-weight: bold;">
Account Journals without Restriction
</h3>
<p style="font-weight: 400; font-family: 'Montserrat', sans-serif; font-size: 14px;">
Log in to the user and go to Account -> Configuration ->Journals We can see all journal
without any restriction </p>
<img src="assets/screenshots/12.png" class="img-thumbnail">
</div>
</div>
<!-- END OF SCREENSHOTS SECTION -->
<!-- RELATED PRODUCTS -->
<div class="d-flex align-items-center" style="border-bottom: 2px solid #714B67; padding: 15px 0px;">
<div class="d-flex align-items-center"
style="border-bottom: 2px solid #714B67; padding: 15px 0px;">
<div class="d-flex justify-content-center align-items-center mr-2"
style="background-color: #F5F5F5; border-radius: 0px; width: 40px; height: 40px;">
<img src="assets/misc/categories.png" />
<img src="assets/misc/categories.png"/>
</div>
<h2 class="mt-2" style="font-family: 'Montserrat', sans-serif; font-size: 24px; font-weight: bold;">Related
<h2 class="mt-2"
style="font-family: 'Montserrat', sans-serif; font-size: 24px; font-weight: bold;">
Related
Products
</h2>
</div>
@ -239,47 +302,72 @@
<!-- The slideshow -->
<div class="carousel-inner" style="padding: 30px;">
<div class="carousel-item" style="min-height: 198.656px;">
<div class="col-xs-12 col-sm-4 col-md-4 mb16 mt16" style="float:left">
<a href="https://apps.odoo.com/apps/modules/16.0/dynamic_accounts_report/" target="_blank">
<div class="col-xs-12 col-sm-4 col-md-4 mb16 mt16"
style="float:left">
<a href="https://apps.odoo.com/apps/modules/16.0/dynamic_accounts_report/"
target="_blank">
<div style="border-radius:10px">
<img class="img img-responsive center-block" style="border-radius: 0px;" src="assets/modules/1.png">
<img class="img img-responsive center-block"
style="border-radius: 0px;"
src="assets/modules/1.png">
</div>
</a>
</div>
<div class="col-xs-12 col-sm-4 col-md-4 mb16 mt16" style="float:left">
<a href="https://apps.odoo.com/apps/modules/16.0/product_brand_purchase/" target="_blank">
<div class="col-xs-12 col-sm-4 col-md-4 mb16 mt16"
style="float:left">
<a href="https://apps.odoo.com/apps/modules/16.0/sequence_for_journal/#"
target="_blank">
<div style="border-radius:10px">
<img class="img img-responsive center-block" style="border-radius: 0px;" src="assets/modules/2.png">
<img class="img img-responsive center-block"
style="border-radius: 0px;"
src="assets/modules/2.png">
</div>
</a>
</div>
<div class="col-xs-12 col-sm-4 col-md-4 mb16 mt16" style="float:left">
<a href="https://apps.odoo.com/apps/modules/16.0/sale_product_image/" target="_blank">
<div class="col-xs-12 col-sm-4 col-md-4 mb16 mt16"
style="float:left">
<a href="https://apps.odoo.com/apps/modules/16.0/base_account_budget/#"
target="_blank">
<div style="border-radius:10px">
<img class="img img-responsive center-block" style="border-radius: 0px;" src="assets/modules/3.png">
<img class="img img-responsive center-block"
style="border-radius: 0px;"
src="assets/modules/3.png">
</div>
</a>
</div>
</div>
<div class="carousel-item active" style="min-height: 198.656px;">
<div class="col-xs-12 col-sm-4 col-md-4 mb16 mt16" style="float:left">
<a href="https://apps.odoo.com/apps/modules/16.0/odoo_sale_order_line_views/#" target="_blank">
<div class="carousel-item active"
style="min-height: 198.656px;">
<div class="col-xs-12 col-sm-4 col-md-4 mb16 mt16"
style="float:left">
<a href="https://apps.odoo.com/apps/modules/16.0/total_payable_receivable/#"
target="_blank">
<div style="border-radius:10px">
<img class="img img-responsive center-block" style="border-radius: 0px;" src="assets/modules/4.png">
<img class="img img-responsive center-block"
style="border-radius: 0px;"
src="assets/modules/4.png">
</div>
</a>
</div>
<div class="col-xs-12 col-sm-4 col-md-4 mb16 mt16" style="float:left">
<a href="https://apps.odoo.com/apps/modules/16.0/base_accounting_kit/#" target="_blank">
<div class="col-xs-12 col-sm-4 col-md-4 mb16 mt16"
style="float:left">
<a href="https://apps.odoo.com/apps/modules/16.0/base_accounting_kit/#"
target="_blank">
<div style="border-radius:10px">
<img class="img img-responsive center-block" style="border-radius: 0px;" src="assets/modules/5.gif">
<img class="img img-responsive center-block"
style="border-radius: 0px;"
src="assets/modules/5.gif">
</div>
</a>
</div>
<div class="col-xs-12 col-sm-4 col-md-4 mb16 mt16" style="float:left">
<a href="https://apps.odoo.com/apps/modules/16.0/hr_payroll_community/" target="_blank">
<div class="col-xs-12 col-sm-4 col-md-4 mb16 mt16"
style="float:left">
<a href="https://apps.odoo.com/apps/modules/16.0/account_payment_approval/"
target="_blank">
<div style="border-radius:10px">
<img class="img img-responsive center-block" style="border-radius: 0px;" src="assets/modules/6.png">
<img class="img img-responsive center-block"
style="border-radius: 0px;"
src="assets/modules/6.png">
</div>
</a>
</div>
@ -292,12 +380,15 @@
<!-- OUR SERVICES -->
<div class="d-flex align-items-center" style="border-bottom: 2px solid #714B67; padding: 15px 0px;">
<div class="d-flex align-items-center"
style="border-bottom: 2px solid #714B67; padding: 15px 0px;">
<div class="d-flex justify-content-center align-items-center mr-2"
style="background-color: #F5F5F5; border-radius: 0px; width: 40px; height: 40px;">
<img src="assets/misc/star.png" />
<img src="assets/misc/star.png"/>
</div>
<h2 class="mt-2" style="font-family: 'Montserrat', sans-serif; font-size: 24px; font-weight: bold;">Our Services
<h2 class="mt-2"
style="font-family: 'Montserrat', sans-serif; font-size: 24px; font-weight: bold;">
Our Services
</h2>
</div>
@ -306,9 +397,11 @@
<div class="col-lg-4 d-flex flex-column justify-content-center align-items-center my-4">
<div class="d-flex justify-content-center align-items-center mx-3 my-3"
style="background-color: #1dd1a1 !important; border-radius: 15px !important; height: 80px; width: 80px;">
<img src="assets/icons/cogs.png" class="img-responsive" height="48px" width="48px">
<img src="assets/icons/cogs.png" class="img-responsive"
height="48px" width="48px">
</div>
<h6 class="text-center" style="font-family: Montserrat, 'sans-serif' !important; font-weight: bold;">
<h6 class="text-center"
style="font-family: Montserrat, 'sans-serif' !important; font-weight: bold;">
Odoo
Customization</h6>
</div>
@ -316,9 +409,11 @@
<div class="col-lg-4 d-flex flex-column justify-content-center align-items-center my-4">
<div class="d-flex justify-content-center align-items-center mx-3 my-3"
style="background-color: #ff6b6b !important; border-radius: 15px !important; height: 80px; width: 80px;">
<img src="assets/icons/wrench.png" class="img-responsive" height="48px" width="48px">
<img src="assets/icons/wrench.png" class="img-responsive"
height="48px" width="48px">
</div>
<h6 class="text-center" style="font-family: Montserrat, 'sans-serif' !important; font-weight: bold;">
<h6 class="text-center"
style="font-family: Montserrat, 'sans-serif' !important; font-weight: bold;">
Odoo
Implementation</h6>
</div>
@ -326,9 +421,11 @@
<div class="col-lg-4 d-flex flex-column justify-content-center align-items-center my-4">
<div class="d-flex justify-content-center align-items-center mx-3 my-3"
style="background-color: #6462CD !important; border-radius: 15px !important; height: 80px; width: 80px;">
<img src="assets/icons/lifebuoy.png" class="img-responsive" height="48px" width="48px">
<img src="assets/icons/lifebuoy.png" class="img-responsive"
height="48px" width="48px">
</div>
<h6 class="text-center" style="font-family: Montserrat, 'sans-serif' !important; font-weight: bold;">
<h6 class="text-center"
style="font-family: Montserrat, 'sans-serif' !important; font-weight: bold;">
Odoo
Support</h6>
</div>
@ -337,9 +434,11 @@
<div class="col-lg-4 d-flex flex-column justify-content-center align-items-center my-4">
<div class="d-flex justify-content-center align-items-center mx-3 my-3"
style="background-color: #ffa801 !important; border-radius: 15px !important; height: 80px; width: 80px;">
<img src="assets/icons/user.png" class="img-responsive" height="48px" width="48px">
<img src="assets/icons/user.png" class="img-responsive"
height="48px" width="48px">
</div>
<h6 class="text-center" style="font-family: Montserrat, 'sans-serif' !important; font-weight: bold;">
<h6 class="text-center"
style="font-family: Montserrat, 'sans-serif' !important; font-weight: bold;">
Hire
Odoo
Developer</h6>
@ -348,9 +447,11 @@
<div class="col-lg-4 d-flex flex-column justify-content-center align-items-center my-4">
<div class="d-flex justify-content-center align-items-center mx-3 my-3"
style="background-color: #54a0ff !important; border-radius: 15px !important; height: 80px; width: 80px;">
<img src="assets/icons/puzzle.png" class="img-responsive" height="48px" width="48px">
<img src="assets/icons/puzzle.png" class="img-responsive"
height="48px" width="48px">
</div>
<h6 class="text-center" style="font-family: Montserrat, 'sans-serif' !important; font-weight: bold;">
<h6 class="text-center"
style="font-family: Montserrat, 'sans-serif' !important; font-weight: bold;">
Odoo
Integration</h6>
</div>
@ -358,9 +459,11 @@
<div class="col-lg-4 d-flex flex-column justify-content-center align-items-center my-4">
<div class="d-flex justify-content-center align-items-center mx-3 my-3"
style="background-color: #6d7680 !important; border-radius: 15px !important; height: 80px; width: 80px;">
<img src="assets/icons/update.png" class="img-responsive" height="48px" width="48px">
<img src="assets/icons/update.png" class="img-responsive"
height="48px" width="48px">
</div>
<h6 class="text-center" style="font-family: Montserrat, 'sans-serif' !important; font-weight: bold;">
<h6 class="text-center"
style="font-family: Montserrat, 'sans-serif' !important; font-weight: bold;">
Odoo
Migration</h6>
</div>
@ -369,9 +472,11 @@
<div class="col-lg-4 d-flex flex-column justify-content-center align-items-center my-4">
<div class="d-flex justify-content-center align-items-center mx-3 my-3"
style="background-color: #786fa6 !important; border-radius: 15px !important; height: 80px; width: 80px;">
<img src="assets/icons/consultation.png" class="img-responsive" height="48px" width="48px">
<img src="assets/icons/consultation.png" class="img-responsive"
height="48px" width="48px">
</div>
<h6 class="text-center" style="font-family: Montserrat, 'sans-serif' !important; font-weight: bold;">
<h6 class="text-center"
style="font-family: Montserrat, 'sans-serif' !important; font-weight: bold;">
Odoo
Consultancy</h6>
</div>
@ -379,9 +484,11 @@
<div class="col-lg-4 d-flex flex-column justify-content-center align-items-center my-4">
<div class="d-flex justify-content-center align-items-center mx-3 my-3"
style="background-color: #f8a5c2 !important; border-radius: 15px !important; height: 80px; width: 80px;">
<img src="assets/icons/training.png" class="img-responsive" height="48px" width="48px">
<img src="assets/icons/training.png" class="img-responsive"
height="48px" width="48px">
</div>
<h6 class="text-center" style="font-family: Montserrat, 'sans-serif' !important; font-weight: bold;">
<h6 class="text-center"
style="font-family: Montserrat, 'sans-serif' !important; font-weight: bold;">
Odoo
Implementation</h6>
</div>
@ -389,9 +496,11 @@
<div class="col-lg-4 d-flex flex-column justify-content-center align-items-center my-4">
<div class="d-flex justify-content-center align-items-center mx-3 my-3"
style="background-color: #e6be26 !important; border-radius: 15px !important; height: 80px; width: 80px;">
<img src="assets/icons/license.png" class="img-responsive" height="48px" width="48px">
<img src="assets/icons/license.png" class="img-responsive"
height="48px" width="48px">
</div>
<h6 class="text-center" style="font-family: Montserrat, 'sans-serif' !important; font-weight: bold;">
<h6 class="text-center"
style="font-family: Montserrat, 'sans-serif' !important; font-weight: bold;">
Odoo
Licensing Consultancy</h6>
</div>
@ -399,16 +508,19 @@
</div>
<!-- END OF END OF OUR SERVICES -->
<!-- END OF OUR SERVICES -->
<!-- OUR INDUSTRIES -->
<div class="d-flex align-items-center" style="border-bottom: 2px solid #714B67; padding: 15px 0px;">
<div class="d-flex align-items-center"
style="border-bottom: 2px solid #714B67; padding: 15px 0px;">
<div class="d-flex justify-content-center align-items-center mr-2"
style="background-color: #F5F5F5; border-radius: 0px; width: 40px; height: 40px;">
<img src="assets/misc/corporate.png" />
<img src="assets/misc/corporate.png"/>
</div>
<h2 class="mt-2" style="font-family: 'Montserrat', sans-serif; font-size: 24px; font-weight: bold;">Our
<h2 class="mt-2"
style="font-family: 'Montserrat', sans-serif; font-size: 24px; font-weight: bold;">
Our
Industries
</h2>
</div>
@ -418,7 +530,8 @@
<div class="col-lg-3">
<div class="my-4 d-flex flex-column justify-content-center"
style="background-color: #f6f8f9 !important; border-radius: 0px; padding: 2rem !important; height: 250px !important;">
<img src="assets/icons/trading-black.png" class="img-responsive mb-3" height="48px" width="48px">
<img src="assets/icons/trading-black.png"
class="img-responsive mb-3" height="48px" width="48px">
<h5 style="font-family: Montserrat, sans-serif !important; color: #000 !important; font-weight: bold;">
Trading
</h5>
@ -432,7 +545,8 @@
<div class="col-lg-3">
<div class="my-4 d-flex flex-column justify-content-center"
style="background-color: #f6f8f9 !important; border-radius: 0px; padding: 2rem !important; height: 250px !important;">
<img src="assets/icons/pos-black.png" class="img-responsive mb-3" height="48px" width="48px">
<img src="assets/icons/pos-black.png"
class="img-responsive mb-3" height="48px" width="48px">
<h5 style="font-family: Montserrat, sans-serif !important; color: #000 !important; font-weight: bold;">
POS
</h5>
@ -446,7 +560,8 @@
<div class="col-lg-3">
<div class="my-4 d-flex flex-column justify-content-center"
style="background-color: #f6f8f9 !important; border-radius: 0px; padding: 2rem !important; height: 250px !important;">
<img src="assets/icons/education-black.png" class="img-responsive mb-3" height="48px" width="48px">
<img src="assets/icons/education-black.png"
class="img-responsive mb-3" height="48px" width="48px">
<h5 style="font-family: Montserrat, sans-serif !important; color: #000 !important; font-weight: bold;">
Education
</h5>
@ -459,7 +574,8 @@
<div class="col-lg-3">
<div class="my-4 d-flex flex-column justify-content-center"
style="background-color: #f6f8f9 !important; border-radius: 0px; padding: 2rem !important; height: 250px !important;">
<img src="assets/icons/manufacturing-black.png" class="img-responsive mb-3" height="48px" width="48px">
<img src="assets/icons/manufacturing-black.png"
class="img-responsive mb-3" height="48px" width="48px">
<h5 style="font-family: Montserrat, sans-serif !important; color: #000 !important; font-weight: bold;">
Manufacturing
</h5>
@ -472,7 +588,8 @@
<div class="col-lg-3">
<div class="my-4 d-flex flex-column justify-content-center"
style="background-color: #f6f8f9 !important; border-radius: 0px; padding: 2rem !important; height: 250px !important;">
<img src="assets/icons/ecom-black.png" class="img-responsive mb-3" height="48px" width="48px">
<img src="assets/icons/ecom-black.png"
class="img-responsive mb-3" height="48px" width="48px">
<h5 style="font-family: Montserrat, sans-serif !important; color: #000 !important; font-weight: bold;">
E-commerce &amp; Website
</h5>
@ -486,7 +603,8 @@
<div class="col-lg-3">
<div class="my-4 d-flex flex-column justify-content-center"
style="background-color: #f6f8f9 !important; border-radius: 0px; padding: 2rem !important; height: 250px !important;">
<img src="assets/icons/service-black.png" class="img-responsive mb-3" height="48px" width="48px">
<img src="assets/icons/service-black.png"
class="img-responsive mb-3" height="48px" width="48px">
<h5 style="font-family: Montserrat, sans-serif !important; color: #000 !important; font-weight: bold;">
Service Management
</h5>
@ -499,7 +617,8 @@
<div class="col-lg-3">
<div class="my-4 d-flex flex-column justify-content-center"
style="background-color: #f6f8f9 !important; border-radius: 0px; padding: 2rem !important; height: 250px !important;">
<img src="assets/icons/restaurant-black.png" class="img-responsive mb-3" height="48px" width="48px">
<img src="assets/icons/restaurant-black.png"
class="img-responsive mb-3" height="48px" width="48px">
<h5 style="font-family: Montserrat, sans-serif !important; color: #000 !important; font-weight: bold;">
Restaurant
</h5>
@ -512,7 +631,8 @@
<div class="col-lg-3">
<div class="my-4 d-flex flex-column justify-content-center"
style="background-color: #f6f8f9 !important; border-radius: 0px; padding: 2rem !important; height: 250px !important;">
<img src="assets/icons/hotel-black.png" class="img-responsive mb-3" height="48px" width="48px">
<img src="assets/icons/hotel-black.png"
class="img-responsive mb-3" height="48px" width="48px">
<h5 style="font-family: Montserrat, sans-serif !important; color: #000 !important; font-weight: bold;">
Hotel Management
</h5>
@ -525,15 +645,18 @@
</div>
</div>
<!-- END OF END OF OUR INDUSTRIES -->
<!-- END OF OUR INDUSTRIES -->
<!-- SUPPORT -->
<div class="d-flex align-items-center" style="border-bottom: 2px solid #714B67; padding: 15px 0px;">
<div class="d-flex align-items-center"
style="border-bottom: 2px solid #714B67; padding: 15px 0px;">
<div class="d-flex justify-content-center align-items-center mr-2"
style="background-color: #F5F5F5; border-radius: 0px; width: 40px; height: 40px;">
<img src="assets/misc/customer-support.png" />
<img src="assets/misc/customer-support.png"/>
</div>
<h2 class="mt-2" style="font-family: 'Montserrat', sans-serif; font-size: 24px; font-weight: bold;">Support
<h2 class="mt-2"
style="font-family: 'Montserrat', sans-serif; font-size: 24px; font-weight: bold;">
Support
</h2>
</div>
<div class="container mt-5">
@ -542,11 +665,13 @@
<div style="background-color: #F6F8F9; padding: 30px; display: flex; align-items: center;">
<div class="mr-4 d-flex justify-content-center align-items-center"
style="background-color: #714B67; display: inline-block; height: 70px; width: 70px; display: flex; align-items: center; justify-content: center;">
<img src="assets/misc/support.png" height="48" width="48" style="width: 42px; height: 42px;" />
<img src="assets/misc/support.png" height="48" width="48"
style="width: 42px; height: 42px;"/>
</div>
<div>
<h4>Need Help?</h4>
<p style="line-height: 100%;">Got questions or need help? Get in touch.</p>
<p style="line-height: 100%;">Got questions or need help?
Get in touch.</p>
<a href="mailto:odoo@cybrosys.com">
<p style="font-weight: 400; font-size: 28px; line-height: 80%; color: #714B67;">
odoo@cybrosys.com</p>
@ -558,13 +683,15 @@
<div style="background-color: #F6F8F9; padding: 30px; display: flex; align-items: center;">
<div class="mr-4 d-flex justify-content-center align-items-center"
style="background-color: #2AC44D; display: inline-block; height: 70px; width: 70px; display: flex; align-items: center; justify-content: center;">
<img src="assets/misc/whatsapp.png" height="52" width="52" style="width: 52px; height: 52px;" />
<img src="assets/misc/whatsapp.png" height="52" width="52"
style="width: 52px; height: 52px;"/>
</div>
<div>
<h4>WhatsApp</h4>
<p style="line-height: 100%;">Say hi to us on WhatsApp!</p>
<a href="https://api.whatsapp.com/send?phone=918606827707">
<p style="font-weight: 400; font-size: 28px; line-height: 80%; color: #714B67;">+91 86068
<p style="font-weight: 400; font-size: 28px; line-height: 80%; color: #714B67;">
+91 86068
27707</p>
</a>
</div>
@ -573,7 +700,8 @@
</div>
<div class="row">
<div class="col-sm-12 my-5 d-flex justify-content-center align-items-center">
<img src="assets/misc/logo.png" width="144" height="31" style="width:144px; height: 31px; margin-top: 40px;" />
<img src="assets/misc/logo.png" width="144" height="31"
style="width:144px; height: 31px; margin-top: 40px;"/>
</div>
</div>
</div>

16
account_restrict_journal/views/account_move_views.xml

@ -0,0 +1,16 @@
<?xml version="1.0" encoding="utf-8"?>
<odoo>
<!-- Added fields for check journal type -->
<record id="view_move_form" model="ir.ui.view">
<field name="name">account.move.form.inherit.account.restrict.journal
</field>
<field name="model">account.move</field>
<field name="mode">extension</field>
<field name="inherit_id" ref="account.view_move_form"/>
<field name="arch" type="xml">
<xpath expr="//field[@name='currency_id']" position="after">
<field name="check_journal" invisible="1"/>
</xpath>
</field>
</record>
</odoo>

6
account_restrict_journal/views/res_users_views.xml

@ -2,15 +2,17 @@
<odoo>
<!-- Added fields for accessible journals -->
<record id="view_users_form" model="ir.ui.view">
<field name="name">view.users.form.inherit.account.restrict.journal</field>
<field name="name">res.users.form.inherit.account.restrict.journal
</field>
<field name="model">res.users</field>
<field name="mode">extension</field>
<field name="inherit_id" ref="base.view_users_form"/>
<field name="arch" type="xml">
<xpath expr="//page[@name='security']" position="after">
<page name="account_journal" string="Allowed Journal">
<page name="account_journal" string="Restricted Journal" attrs="{'invisible': [('check_user','=', False)]}">
<group>
<field name="journal_ids" widget="many2many_tags"/>
<field name="check_user" invisible="1"/>
</group>
</page>
</xpath>

Loading…
Cancel
Save