Browse Source

[ADD]Initial Commit

pull/11/merge
SHEREEF PT 8 years ago
parent
commit
6efa5096f5
  1. 41
      customer_pos_pricelist/static/description/index.html
  2. 9
      customer_pos_pricelist/static/description/index.html~
  3. 2
      project_block_archived_contacts/__init__.py
  4. 39
      project_block_archived_contacts/__openerp__.py
  5. 43
      project_block_archived_contacts/block_archeived_contacts.py
  6. BIN
      project_block_archived_contacts/static/description/1.png
  7. BIN
      project_block_archived_contacts/static/description/10.png
  8. BIN
      project_block_archived_contacts/static/description/2.png
  9. BIN
      project_block_archived_contacts/static/description/3.png
  10. BIN
      project_block_archived_contacts/static/description/4.png
  11. BIN
      project_block_archived_contacts/static/description/7.png
  12. BIN
      project_block_archived_contacts/static/description/8.png
  13. BIN
      project_block_archived_contacts/static/description/9.png
  14. BIN
      project_block_archived_contacts/static/description/banner.jpg
  15. BIN
      project_block_archived_contacts/static/description/icon.png
  16. 130
      project_block_archived_contacts/static/description/index.html

41
customer_pos_pricelist/static/description/index.html

@ -84,23 +84,34 @@ of the selected customer.The pricelist can be set from POS section or customer a
</div>
</section>
<section class="oe_container">
<h2 class="oe_slogan" style="margin-top:20px;" >Need Any Help?</h2>
<div class="oe_slogan" style="margin-top:10px !important;">
<a class="btn btn-primary btn-lg mt8"
style="color: #FFFFFF !important;" href="http://www.cybrosys.com"><i
class="fa fa-envelope"></i> Email </a> <a
class="btn btn-primary btn-lg mt8" style="color: #FFFFFF !important;"
href="http://www.cybrosys.com/contact/"><i
class="fa fa-phone"></i> Contact Us </a> <a
class="btn btn-primary btn-lg mt8" style="color: #FFFFFF !important;"
href="http://www.cybrosys.com/odoo-customization-and-installation/"><i
class="fa fa-check-square"></i> Request Customization </a>
</div>
<img src="cybro_logo.png" style="width: 190px; margin-bottom: 20px;" class="center-block">
<h2 class="oe_slogan" style="margin-top:20px;" >Need Any Help?</h2>
<div class="oe_slogan" style="margin-top:10px !important;">
<div>
<a class="btn btn-primary btn-lg mt8"
style="color: #FFFFFF !important;border-radius: 0;" href="http://www.cybrosys.com"><i
class="fa fa-envelope"></i> Email </a> <a
class="btn btn-primary btn-lg mt8" style="color: #FFFFFF !important;border-radius: 0;"
href="http://www.cybrosys.com/contact/"><i
class="fa fa-phone"></i> Contact Us </a> <a
class="btn btn-primary btn-lg mt8" style="color: #FFFFFF !important;border-radius: 0;"
href="http://www.cybrosys.com/odoo-customization-and-installation/"><i
class="fa fa-check-square"></i> Request Customization </a>
</div>
<br>
<img src="cybro_logo.png" style="width: 190px; margin-bottom: 20px;" class="center-block">
<div>
<a href="https://twitter.com/cybrosys" target="_blank"><i class="fa fa-2x fa-twitter" style="color:white;background: #00a0d1;width:35px;"></i></a></td>
<a href="https://www.linkedin.com/company/cybrosys-technologies-pvt-ltd" target="_blank"><i class="fa fa-2x fa-linkedin" style="color:white;background: #31a3d6;width:35px;padding-left: 3px;"></i></a></td>
<a href="https://www.facebook.com/cybrosystechnologies" target="_blank"><i class="fa fa-2x fa-facebook" style="color:white;background: #3b5998;width:35px;padding-left: 8px;"></i></a></td>
<a href="https://plus.google.com/106641282743045431892/about" target="_blank"><i class="fa fa-2x fa-google-plus" style="color:white;background: #c53c2c;width:35px;padding-left: 3px;"></i></a></td>
<a href="https://in.pinterest.com/cybrosys" target="_blank"><i class="fa fa-2x fa-pinterest" style="color:white;background: #ac0f18;width:35px;padding-left: 3px;"></i></a></td>
</div>
</div>
</section>

9
customer_pos_pricelist/static/description/index.html~

@ -46,10 +46,12 @@ of the selected customer.The pricelist can be set from POS section or customer a
<section class="oe_container oe_dark">
<div class="oe_row">
<div class="oe_span12">
<h2 class="oe_slogan">Change in Price </h2>
<h3 class="oe_slogan">When a Customer is Set</h3>
</div>
<div class="oe_span12">
<p>
<h4>No customer is selected</h4>
@ -57,11 +59,12 @@ of the selected customer.The pricelist can be set from POS section or customer a
</p>
</p>
</div>
<div class="oe_span13">
<div class="oe_demo oe_screenshot">
<img src="4.png">
</div>
</div></div>
</div>
<div class="oe_span12">
<p>
<h4>Customer is selected</h4>
@ -70,7 +73,8 @@ of the selected customer.The pricelist can be set from POS section or customer a
the pricelist of the customer selected.
</p>
</p>
</div>
</div>
<div class="oe_span13">
<div class="oe_demo oe_screenshot">
<img src="3.png">
@ -99,3 +103,4 @@ of the selected customer.The pricelist can be set from POS section or customer a
</section>

2
project_block_archived_contacts/__init__.py

@ -0,0 +1,2 @@
# -*- coding: utf-8 -*-
import block_archeived_contacts

39
project_block_archived_contacts/__openerp__.py

@ -0,0 +1,39 @@
# -*- coding: utf-8 -*-
##############################################################################
#
# Cybrosys Technologies Pvt. Ltd.
# Copyright (C) 2009-TODAY Cybrosys Technologies(<http://www.cybrosys.com>).
# Author: Jesni Banu(<http://www.cybrosys.com>)
# you can modify it under the terms of the GNU LESSER
# GENERAL PUBLIC LICENSE (LGPL v3), Version 3.
#
# It is forbidden to publish, distribute, sublicense, or sell copies
# of the Software or modified copies of the Software.
#
# 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
# GENERAL PUBLIC LICENSE (LGPL v3) along with this program.
# If not, see <http://www.gnu.org/licenses/>.
#
##############################################################################
{
'name': 'Block Archived or Inactive Users',
'version': '8.0.1.0',
'summary': 'Block Archived or Inactive users from Assignation of Project/Task/Issue',
'description': 'This module allows you to block Archived or Inactive users from Assignation',
'category': 'Project Management',
'author': 'Cybrosys Techno Solutions',
'website': 'http://www.cybrosys.com',
'company': 'Cybrosys Techno Solutions',
'depends': ['base', 'project_issue'],
'data': [],
'images': ['static/description/banner.jpg'],
'license': 'LGPL-3',
'installable': True,
'auto_install': False,
'application': False,
}

43
project_block_archived_contacts/block_archeived_contacts.py

@ -0,0 +1,43 @@
from openerp import models, fields, api, _, tools
class ProjectTaskInherit(models.Model):
_inherit = 'project.task'
user_id = fields.Many2one('res.users', 'Assigned to', select=True, track_visibility='onchange',
domain=[('active', '=', 'True'), ('partner_id.active', '=', 'True')])
reviewer_id = fields.Many2one('res.users', 'Reviewer', select=True, track_visibility='onchange',
domain=[('active', '=', 'True'), ('partner_id.active', '=', 'True')])
partner_id = fields.Many2one('res.partner', 'Customer', domain=[('active', '=', 'True')])
class ProjectProjectInherit(models.Model):
_inherit = 'project.project'
user_id = fields.Many2one('res.users', 'Project Manager',
domain=[('active', '=', 'True'), ('partner_id.active', '=', 'True')])
members = fields.Many2many('res.users', 'project_user_rel', 'project_id', 'uid', 'Project Members',
help="Project's members are users who can have an access to the tasks related to this project.",
states={'close': [('readonly', True)], 'cancelled': [('readonly', True)]},
domain=[('active', '=', 'True'), ('partner_id.active', '=', 'True')])
class ProjectIssueInherit(models.Model):
_inherit = 'project.issue'
user_id = fields.Many2one('res.users', 'Assigned to', required=False, select=1, track_visibility='onchange',
domain=[('active', '=', 'True'), ('partner_id.active', '=', 'True')])
partner_id = fields.Many2one('res.partner', 'Contact', select=1,
domain=[('active', '=', 'True')])
class AccountAnalyticLine(models.Model):
_inherit = 'account.analytic.line'
@api.model
def _default_user(self):
return self.env.context.get('user_id', self.env.user.id)
user_id = fields.Many2one('res.users', string='User', default=_default_user,
domain=[('active', '=', 'True'), ('partner_id.active', '=', 'True')])

BIN
project_block_archived_contacts/static/description/1.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 28 KiB

BIN
project_block_archived_contacts/static/description/10.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 43 KiB

BIN
project_block_archived_contacts/static/description/2.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 57 KiB

BIN
project_block_archived_contacts/static/description/3.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 27 KiB

BIN
project_block_archived_contacts/static/description/4.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 37 KiB

BIN
project_block_archived_contacts/static/description/7.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 47 KiB

BIN
project_block_archived_contacts/static/description/8.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 48 KiB

BIN
project_block_archived_contacts/static/description/9.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 38 KiB

BIN
project_block_archived_contacts/static/description/banner.jpg

Binary file not shown.

After

Width:  |  Height:  |  Size: 125 KiB

BIN
project_block_archived_contacts/static/description/icon.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 11 KiB

130
project_block_archived_contacts/static/description/index.html

@ -0,0 +1,130 @@
<section class="oe_container">
<div class="oe_row oe_spaced">
<h2 class="oe_slogan">Block Archived or Inactive Users</h2>
<h3 class="oe_slogan">Block Archived or Inactive users from Assignee</h3>
<h4 class="oe_slogan">Author : Cybrosys Techno Solutions , www.cybrosys.com</h4>
</div>
<div class="oe_row oe_spaced">
<div>
&spades;This module allows you to block Archived or Inactive users from assigning task and set as project manager. </div>
</div>
</div>
</section>
<section class="oe_container oe_dark">
<div class="oe_row oe_spaced">
<div class="oe_span12">
<p class='oe_mt32'>
&#9755;You can Archive or Inactive your users
</p>
</div>
<div class="oe_span6">
<div class="oe_demo oe_picture oe_screenshot">
<img style="border:10px solid white;" src="2.png">
</div>
</div>
<div class="oe_span6">
<div class="oe_demo oe_picture oe_screenshot">
<img style="border:10px solid white;" src="4.png">
</div>
</div>
</div>
</section>
<section class="oe_container">
<div class="oe_row oe_spaced">
<div class="oe_span12">
<p class='oe_mt32'>
&#9755;Task
</p>
</div>
<div class="oe_span6">
<p class='oe_mt32'>
Before
</p>
<div class="oe_demo oe_picture oe_screenshot">
<img style="border:10px solid white;" src="1.png">
</div>
</div>
<div class="oe_span6">
<p class='oe_mt32'>
After
</p>
<div class="oe_demo oe_picture oe_screenshot">
<img style="border:10px solid white;" src="3.png">
</div>
</div>
</div>
</section>
<section class="oe_container oe_dark">
<div class="oe_row oe_spaced">
<div class="oe_span12">
<p class='oe_mt32'>
&#9755;Project
</p>
</div>
<div class="oe_span6">
<p class='oe_mt32'>
Before
</p>
<div class="oe_demo oe_picture oe_screenshot">
<img style="border:10px solid white;" src="7.png">
</div>
</div>
<div class="oe_span6">
<p class='oe_mt32'>
After
</p>
<div class="oe_demo oe_picture oe_screenshot">
<img style="border:10px solid white;" src="8.png">
</div>
</div>
</div>
</section>
<section class="oe_container">
<div class="oe_row oe_spaced">
<div class="oe_span12">
<p class='oe_mt32'>
&#9755;Issue
</p>
</div>
<div class="oe_span6">
<p class='oe_mt32'>
Before
</p>
<div class="oe_demo oe_picture oe_screenshot">
<img style="border:10px solid white;" src="10.png">
</div>
</div>
<div class="oe_span6">
<p class='oe_mt32'>
After
</p>
<div class="oe_demo oe_picture oe_screenshot">
<img style="border:10px solid white;" src="9.png">
</div>
</div>
</div>
</section>
<section class="oe_container oe_dark">
<h2 class="oe_slogan">Need Any Help?</h2>
<div class="oe_slogan">
<a class="btn btn-primary btn-lg mt8"
style="color: #FFFFFF !important;" href="http://www.cybrosys.com/contact/"><i
class="fa fa-envelope"></i> Email </a> <a
class="btn btn-primary btn-lg mt8" style="color: #FFFFFF !important;"
href="http://www.cybrosys.com/contact/"><i
class="fa fa-phone"></i> Contact Us </a> <a
class="btn btn-primary btn-lg mt8" style="color: #FFFFFF !important;"
href="http://www.cybrosys.com/contact/"><i
class="fa fa-check-square"></i> Request Customization </a>
</div>
</section>
Loading…
Cancel
Save