diff --git a/prt_partner_tweaks_access/__manifest__.py b/prt_partner_tweaks_access/__manifest__.py index 383087b..ca19290 100644 --- a/prt_partner_tweaks_access/__manifest__.py +++ b/prt_partner_tweaks_access/__manifest__.py @@ -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', diff --git a/prt_partner_tweaks_access/models/prt_partner_user.py b/prt_partner_tweaks_access/models/prt_partner_user.py index 10039a4..e4cfd02 100644 --- a/prt_partner_tweaks_access/models/prt_partner_user.py +++ b/prt_partner_tweaks_access/models/prt_partner_user.py @@ -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() \ No newline at end of file + self.clear_caches() diff --git a/prt_partner_tweaks_access/static/description/index.html b/prt_partner_tweaks_access/static/description/index.html index 5208717..760e81b 100644 --- a/prt_partner_tweaks_access/static/description/index.html +++ b/prt_partner_tweaks_access/static/description/index.html @@ -11,11 +11,11 @@
@@ -48,7 +48,7 @@