Browse Source

[UPDT] Kit dashboard group added

pull/195/head
Ajmal Cybro 4 years ago
parent
commit
ed73a990f3
  1. 2
      base_accounting_kit/__manifest__.py
  2. 4
      base_accounting_kit/doc/RELEASE_NOTES.md
  3. 13
      base_accounting_kit/security/security.xml
  4. BIN
      base_accounting_kit/static/description/images/screenshots/base_accounting_kit-60.png
  5. 28
      base_accounting_kit/static/description/index.html
  6. 3
      base_accounting_kit/static/src/xml/payment_matching.xml
  7. 2
      base_accounting_kit/views/dashboard_views.xml

2
base_accounting_kit/__manifest__.py

@ -22,7 +22,7 @@
{
'name': 'Odoo 15 Full Accounting Kit',
'version': '15.0.1.0.0',
'version': '15.0.2.0.1',
'category': 'Accounting',
'live_test_url': 'https://www.youtube.com/watch?v=peAp2Tx_XIs',
'summary': """ Asset and Budget Management,

4
base_accounting_kit/doc/RELEASE_NOTES.md

@ -5,3 +5,7 @@
#### ADD
- Initial commit for Odoo 15 accounting
#### 20.11.2021
#### Version 15.0.2.0.1
#### ADD
- Added specific user group for Accounting Dashboard view.

13
base_accounting_kit/security/security.xml

@ -1,18 +1,24 @@
<?xml version="1.0" encoding="utf-8"?>
<odoo>
<data noupdate="1">
<record model="res.groups" id="group_account_dashboard">
<field name="name">Access to Accounting Dashboard</field>
</record>
<record id="account_asset_category_multi_company_rule" model="ir.rule">
<field name="name">Account Asset Category multi-company</field>
<field ref="model_account_asset_category" name="model_id"/>
<field eval="True" name="global"/>
<field name="domain_force">['|',('company_id','=',False),('company_id','child_of',[user.company_id.id])]</field>
<field name="domain_force">['|',('company_id','=',False),('company_id','child_of',[user.company_id.id])]
</field>
</record>
<record id="account_asset_asset_multi_company_rule" model="ir.rule">
<field name="name">Account Asset multi-company</field>
<field ref="model_account_asset_asset" name="model_id"/>
<field eval="True" name="global"/>
<field name="domain_force">['|',('company_id','=',False),('company_id','child_of',[user.company_id.id])]</field>
<field name="domain_force">['|',('company_id','=',False),('company_id','child_of',[user.company_id.id])]
</field>
</record>
<!-- Rename user group as Accountant -->
<record id="account.group_account_user" model="res.groups">
@ -24,7 +30,8 @@
<!-- Rename user group as Chief Accountant -->
<record id="account.group_account_manager" model="res.groups">
<field name="name">Chief Accountant</field>
<field name="implied_ids" eval="[(3, ref('account.group_account_invoice')), (4, ref('account.group_account_user'))]"/>
<field name="implied_ids"
eval="[(3, ref('account.group_account_invoice')), (4, ref('account.group_account_user'))]"/>
<field name="category_id" ref="base.module_category_accounting_accounting"/>
</record>
</data>

BIN
base_accounting_kit/static/description/images/screenshots/base_accounting_kit-60.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 151 KiB

28
base_accounting_kit/static/description/index.html

@ -27,6 +27,10 @@
<div class="col-lg-6">
<div class="mt-3">
<ul style="list-style: none !important; padding-left: 0;">
<li class="deep-1 font-weight-bold"
style="font-family: Montserrat, 'sans-serif'; font-size: 0.9125rem; background-color: #fff; padding: 0.5rem 1rem; border-radius: 5px; color: #102e42; list-style: none !important;">
<i class="fa fa-files-o mr-2"></i>Specific User Group for Accounting Dashboard
</li>
<li class="deep-1 font-weight-bold"
style="font-family: Montserrat, 'sans-serif'; font-size: 0.9125rem; background-color: #fff; padding: 0.5rem 1rem; border-radius: 5px; color: #102e42; list-style: none !important;">
<i class="fa fa-files-o mr-2"></i>Multiple Invoice Copies Option Added
@ -110,6 +114,12 @@
<h4 class="font-weight-bold" style="color: #0a1e2c;">All Features</h4>
</div>
<div class="col-lg-4 mt-4">
<div class="px-3 pt-3 my-2 d-flex align-itmes-center"
style="background-color: #fff; border: 1px solid #d5d5d5; border-radius: 5px;">
<i class="fa fa-check-circle mt-1 mr-2 deep-1" style="color: #27ae60; font-size: 1.3rem;"></i>
<p style="color: #102e42; font-weight: 500; margin-top: 1px;">Specific User Group for Accounting
Dashboard</p>
</div>
<div class="px-3 pt-3 my-2 d-flex align-itmes-center"
style="background-color: #fff; border: 1px solid #d5d5d5; border-radius: 5px;">
<i class="fa fa-check-circle mt-1 mr-2 deep-1" style="color: #27ae60; font-size: 1.3rem;"></i>
@ -491,6 +501,19 @@
</div>
</div>
<div class="carousel-item" style="min-height: 0px;">
<div class="col-xs-12 col-sm-12 col-md-12 mb16 mt16" style="float: left;">
<h3 class="alert"
style="font-weight:400;color: #091E42;background: #fff;text-align: left;border-radius: 0; font-size: 18px;">
<i class="fa fa-check-circle-o" style="width:40px; color:#07B700"></i>Specific User Group for Accounting Dashboard.
</h3>
<div style=""><img class="img img-responsive center-block"
style="border-top-left-radius: 10px;border-top-right-radius: 10px;"
src="./images/screenshots/base_accounting_kit-60.png"></div>
</div>
</div>
<div class="carousel-item" style="min-height: 0px;">
<div class="col-xs-12 col-sm-12 col-md-12 mb16 mt16" style="float: left;">
<h3 class="alert"
@ -569,7 +592,8 @@
</div>
<a class="carousel-control-prev" href="#demo" data-slide="prev" style="left:-25px;width: 35px;color: #000;">
<span class="carousel-control-prev-icon"><i class="fa fa-chevron-left"
style="font-size:24px"></i></span> </a> <a class="carousel-control-next" href="#demo"
style="font-size:24px"></i></span> </a> <a
class="carousel-control-next" href="#demo"
data-slide="next" style="right:-25px;width: 35px;color: #000;"> <span
class="carousel-control-next-icon"><i class="fa fa-chevron-right" style="font-size:24px"></i></span>
</a>
@ -918,7 +942,7 @@
<div class="row" style="max-width:1540px; margin: 0 auto; margin-right: 3rem; ">
<!-- Logo -->
<div class="col-lg-12 d-flex justify-content-center align-items-center" style="margin-top: 3rem;">
<img src="https://www.cybrosys.com/images/logo.png" width="200px" height="auto" />
<img src="https://www.cybrosys.com/images/logo.png" width="200px" height="auto"/>
</div>
<!-- End of Logo -->
<div class="col-lg-12">

3
base_accounting_kit/static/src/xml/payment_matching.xml

@ -68,8 +68,8 @@
</t>
<div t-name="reconciliation.done" class="done_message">
<h2>Congrats, you're all done!</h2>
<span>HLOOOOOOOO</span>
<p>You reconciled <strong><t t-esc="number"/></strong> transactions in <strong><t t-esc="duration"/></strong>.
<t t-if="number > 1">
<br/>That's on average <t t-esc="timePerTransaction"/> seconds per transaction.
@ -85,6 +85,7 @@
</t>
</p>
</t>
</div>
<t t-name="reconciliation.line">

2
base_accounting_kit/views/dashboard_views.xml

@ -7,7 +7,7 @@
<menuitem name="Dashboard" id="menu_accounting_dashboard" parent="account.menu_finance"
sequence="0"
groups="account.group_account_manager"
groups="group_account_dashboard"
action="action_account_invoice_report_all"/>
<record model="ir.ui.menu" id="account.menu_board_journal_1">
<field name="name">Overview</field>

Loading…
Cancel
Save