Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion prt_partner_tweaks_access/__manifest__.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# -*- coding: utf-8 -*-
{
'name': 'Partner Tweaks. Limit Restrict Configure Partner Contact Access Easily',
'version': '11.0.1.0',
'version': '13.0.1.0.0',
'author': 'Ivan Sokolov',
'category': 'Sales',
'license': 'GPL-3',
Expand Down
4 changes: 2 additions & 2 deletions prt_partner_tweaks_access/models/prt_partner_user.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,8 @@ def tweak_access_rules(self):
rules.sudo().write({'active': False})

# -- Write. Clear caches if related vals changed
@api.multi
# @api.multi
def write(self, vals):
super(PRTUsers, self).write(vals)
if 'allowed_partner_category_ids' in vals or 'allowed_country_ids' in vals or 'allowed_country_state_ids' in vals:
self.clear_caches()
self.clear_caches()
10 changes: 5 additions & 5 deletions prt_partner_tweaks_access/static/description/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,11 @@ <h4>User Groups Added</h4>
</ul>
<h4>Optional extension</h4>
<ul>
<li><a target="_blank" href="https://apps.odoo.com/apps/modules/11.0/prt_phone_numbers"><b>Multiple Email addresses or Phone numbers per Partner</b></a></li>
<li><a target="_blank" href="https://apps.odoo.com/apps/modules/13.0/prt_phone_numbers"><b>Multiple Email addresses or Phone numbers per Partner</b></a></li>
</ul>
<h4>Support</h4>
<ul>
<li>Tested on Odoo Community v11.0</li>
<li>Tested on Odoo Community v13.0</li>
<li>Russian language translation</li>
<li>English, German and Russian language support</li>
<li><a href="mailto:[email protected]">Click to contact us</a> for support or any custom app you need</li>
Expand All @@ -37,7 +37,7 @@ <h3 style="text-align: center;"><a target="_blank" href="https://apps.odoo.com/a
<h3 class='oe_slogan'>Configure User Settings</h3>
</div>
<div class="oe_demo oe_screenshot">
<a target="_blank" href="https://apps.odoo.com/apps/modules/11.0/prt_partner_tweaks_access/ca_1.png">
<a target="_blank" href="https://apps.odoo.com/apps/modules/13.0/prt_partner_tweaks_access/ca_1.png">
<img src="ca_1.png">
</a>
</div>
Expand All @@ -48,7 +48,7 @@ <h3 class='oe_slogan'>Configure User Settings</h3>
<h3 class="oe_slogan">User can access only Partners allowed</h3>
</div>
<div class="oe_demo oe_screenshot">
<a target="_blank" href="https://apps.odoo.com/apps/modules/11.0/prt_partner_tweaks_access/ca_2.png">
<a target="_blank" href="https://apps.odoo.com/apps/modules/13.0/prt_partner_tweaks_access/ca_2.png">
<img src="ca_2.png">
</a>
</div>
Expand All @@ -59,7 +59,7 @@ <h3 class="oe_slogan">User can access only Partners allowed</h3>
<h3 class='oe_slogan'>Access to other records may be also limited</h3>
</div>
<div class="oe_demo oe_screenshot">
<a target="_blank" href="https://apps.odoo.com/apps/modules/11.0/prt_partner_tweaks_access/ca_3.png">
<a target="_blank" href="https://apps.odoo.com/apps/modules/13.0/prt_partner_tweaks_access/ca_3.png">
<img src="ca_3.png">
</a>
</div>
Expand Down