diff --git a/product_restriction_users/README.rst b/product_restriction_users/README.rst new file mode 100644 index 000000000..bfeb889fd --- /dev/null +++ b/product_restriction_users/README.rst @@ -0,0 +1,43 @@ +.. image:: https://img.shields.io/badge/licence-AGPL--3-blue.svg + :target: http://www.gnu.org/licenses/agpl-3.0-standalone.html + :alt: License: AGPL-3 + +Product Restriction On Users +============================ + +This module used to allow products to user or only access products +related to allowed categories or Allow access of products/category to user + +Installation +============ +- www.odoo.com/documentation/15.0/setup/install.html +- Install our custom addon + + +Company +------- +* 'Cybrosys Techno Solutions `__ + +Credits +------- +* Developer: +(V16) Mruthul @ Cybrosys + + +Contacts +-------- +* Mail Contact : odoo@cybrosys.com + +Bug Tracker +----------- +Bugs are tracked on GitHub Issues. In case of trouble, please check there if your issue has already been reported. + +Maintainer +========== +This module is maintained by Cybrosys Technologies. + +For support and more information, please visit https://www.cybrosys.com + +Further information +=================== +HTML Description: ``__ diff --git a/product_restriction_users/__init__.py b/product_restriction_users/__init__.py new file mode 100644 index 000000000..c0236ffbb --- /dev/null +++ b/product_restriction_users/__init__.py @@ -0,0 +1,22 @@ +# -*- coding: utf-8 -*- +################################################################################ +# +# Cybrosys Technologies Pvt. Ltd. +# +# Copyright (C) 2023-TODAY Cybrosys Technologies(). +# Author: Mruthul (odoo@cybrosys.com) +# +# You can modify it under the terms of the GNU AFFERO +# GENERAL PUBLIC LICENSE (AGPL 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 AFFERO GENERAL PUBLIC LICENSE (AGPL v3) for more details. +# +# You should have received a copy of the GNU AFFERO GENERAL PUBLIC LICENSE +# (AGPL v3) along with this program. +# If not, see . +# +################################################################################ +from . import models diff --git a/product_restriction_users/__manifest__.py b/product_restriction_users/__manifest__.py new file mode 100644 index 000000000..3aa31a328 --- /dev/null +++ b/product_restriction_users/__manifest__.py @@ -0,0 +1,47 @@ +# -*- coding: utf-8 -*- +################################################################################ +# +# Cybrosys Technologies Pvt. Ltd. +# +# Copyright (C) 2023-TODAY Cybrosys Technologies(). +# Author: Mruthul (odoo@cybrosys.com) +# +# You can modify it under the terms of the GNU AFFERO +# GENERAL PUBLIC LICENSE (AGPL 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 AFFERO GENERAL PUBLIC LICENSE (AGPL v3) for more details. +# +# You should have received a copy of the GNU AFFERO GENERAL PUBLIC LICENSE +# (AGPL v3) along with this program. +# If not, see . +# +################################################################################ +{ + 'name': "Product Restriction On Users", + 'version': '16.0.1.0.0', + 'category': "Inventory", + 'summary': """The module product_restriction_users is used to allow users + to access products or related products only with authorization, + or to allow users to access products/categories.""", + 'description': """This module used to allow products to user or only + access products related to allowed categories or Allow + access of products/category to user""", + 'author': 'Cybrosys Techno Solutions', + 'company': 'Cybrosys Techno Solutions', + 'website': "https://www.cybrosys.com", + 'maintainer': 'Cybrosys Techno Solutions', + 'depends': ['base', 'stock'], + 'data': [ + 'security/product_template_security.xml', + 'views/res_users_views.xml', + 'views/product_template_views.xml', + ], + 'images': ['static/description/banner.png'], + 'license': 'AGPL-3', + 'installable': True, + 'application': False, + 'auto_install': False, +} diff --git a/product_restriction_users/doc/RELEASE_NOTES.md b/product_restriction_users/doc/RELEASE_NOTES.md new file mode 100644 index 000000000..12e22d472 --- /dev/null +++ b/product_restriction_users/doc/RELEASE_NOTES.md @@ -0,0 +1,6 @@ +## Module + +#### 10.05.2023 +#### Version 16.0.1.0.0 +#### ADD +- Initial commit for Product Restriction Users diff --git a/product_restriction_users/models/__init__.py b/product_restriction_users/models/__init__.py new file mode 100644 index 000000000..3d786d371 --- /dev/null +++ b/product_restriction_users/models/__init__.py @@ -0,0 +1,23 @@ +# -*- coding: utf-8 -*- +################################################################################ +# +# Cybrosys Technologies Pvt. Ltd. +# +# Copyright (C) 2023-TODAY Cybrosys Technologies(). +# Author: Mruthul (odoo@cybrosys.com) +# +# You can modify it under the terms of the GNU AFFERO +# GENERAL PUBLIC LICENSE (AGPL 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 AFFERO GENERAL PUBLIC LICENSE (AGPL v3) for more details. +# +# You should have received a copy of the GNU AFFERO GENERAL PUBLIC LICENSE +# (AGPL v3) along with this program. +# If not, see . +# +################################################################################ +from . import product_template +from . import res_users diff --git a/product_restriction_users/models/product_template.py b/product_restriction_users/models/product_template.py new file mode 100644 index 000000000..dbac335b9 --- /dev/null +++ b/product_restriction_users/models/product_template.py @@ -0,0 +1,36 @@ +# -*- coding: utf-8 -*- +################################################################################ +# +# Cybrosys Technologies Pvt. Ltd. +# +# Copyright (C) 2023-TODAY Cybrosys Technologies(). +# Author: Mruthul (odoo@cybrosys.com) +# +# You can modify it under the terms of the GNU AFFERO +# GENERAL PUBLIC LICENSE (AGPL 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 AFFERO GENERAL PUBLIC LICENSE (AGPL v3) for more details. +# +# You should have received a copy of the GNU AFFERO GENERAL PUBLIC LICENSE +# (AGPL v3) along with this program. +# If not, see . +# +################################################################################ +from odoo import fields, models + + +class ProductTemplate(models.Model): + """Inherit the product category for restricted the users for + particular products""" + _inherit = 'product.template' + + restrict_user_ids = fields.Many2many('res.users', + help="Restrict the users for " + "particular products") + is_product = fields.Boolean(default=True, string='Product Restriction', + help="Enable product restriction") + is_category = fields.Boolean(default=True, string='Category Restriction', + help="Enable category restriction") diff --git a/product_restriction_users/models/res_users.py b/product_restriction_users/models/res_users.py new file mode 100644 index 000000000..907af43b9 --- /dev/null +++ b/product_restriction_users/models/res_users.py @@ -0,0 +1,93 @@ +# -*- coding: utf-8 -*- +################################################################################ +# +# Cybrosys Technologies Pvt. Ltd. +# +# Copyright (C) 2023-TODAY Cybrosys Technologies(). +# Author: Mruthul (odoo@cybrosys.com) +# +# You can modify it under the terms of the GNU AFFERO +# GENERAL PUBLIC LICENSE (AGPL 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 AFFERO GENERAL PUBLIC LICENSE (AGPL v3) for more details. +# +# You should have received a copy of the GNU AFFERO GENERAL PUBLIC LICENSE +# (AGPL v3) along with this program. +# If not, see . +# +################################################################################ +from odoo import fields, models + + +class ResUsers(models.Model): + """ Inherited the res.users model for adding the products + and product category""" + _inherit = 'res.users' + + restricted_type = fields.Selection([('product', 'Product'), ( + 'category', 'Category')], string='Restriction Type', default='product', + help='choose Product and Product ' + 'category depends upon your need') + allowed_product_ids = fields.Many2many('product.template', + string="Products", store=True, + help='Show to allow the products for' + ' assigned users') + allowed_product_category_ids = fields.Many2many('product.category', + string="Product Category", + store=True, + help='Show to allow the ' + 'product category for' + 'assigned users') + is_admin = fields.Boolean(compute='_compute_is_admin', + help='Check the user is admin or not') + + def write(self, vals): + """Write the values of restrict user ids """ + res = super(ResUsers, self).write(vals) + for user in self: + if user.restricted_type == 'product': + products = self.env['product.template'].sudo(). \ + search([('restrict_user_ids', 'in', user.id)]) + if user.allowed_product_ids: + for product in products: + product.is_product = True + for product in self.env['product.template'].sudo(). \ + search([('restrict_user_ids', 'not in', + [rec.id for rec in products])]): + product.is_product = False + else: + for product in self.env['product.template'].sudo().search( + []): + product.is_product = True + for user_product in self.allowed_product_ids: + user_product.sudo().write({ + 'restrict_user_ids': [(4, user.id)] + }) + else: + if user.allowed_product_category_ids: + products = self.env['product.template'].sudo().search([]) + products.restrict_user_ids = False + products.is_product = False + products_categ = self.env['product.template']. \ + search([('categ_id', 'in', [int(categ.id) for categ in + user.allowed_product_category_ids]) + ]) + for product in products_categ: + product.is_product = False + product.sudo().write({ + 'restrict_user_ids': [(4, user.id)] + }) + else: + products = self.env['product.template'].sudo().search([]) + products.is_product = True + return res + + def _compute_is_admin(self): + """ Compute the value of is_admin based on the user id admin or not""" + for admin in self: + admin.is_admin = False + if admin.id == self.env.ref('base.user_admin').id: + admin.is_admin = True diff --git a/product_restriction_users/security/product_template_security.xml b/product_restriction_users/security/product_template_security.xml new file mode 100644 index 000000000..bf135046c --- /dev/null +++ b/product_restriction_users/security/product_template_security.xml @@ -0,0 +1,27 @@ + + + + + Restrict Products From Users + + ['|',('is_product','=',True),('restrict_user_ids', 'in',user.id)] + + + + + + + + + + Products For Admin + + [(1,'=',1)] + + + + + + + + \ No newline at end of file diff --git a/product_restriction_users/static/description/assets/icons/check.png b/product_restriction_users/static/description/assets/icons/check.png new file mode 100644 index 000000000..c8e85f51d Binary files /dev/null and b/product_restriction_users/static/description/assets/icons/check.png differ diff --git a/product_restriction_users/static/description/assets/icons/chevron.png b/product_restriction_users/static/description/assets/icons/chevron.png new file mode 100644 index 000000000..2089293d6 Binary files /dev/null and b/product_restriction_users/static/description/assets/icons/chevron.png differ diff --git a/product_restriction_users/static/description/assets/icons/cogs.png b/product_restriction_users/static/description/assets/icons/cogs.png new file mode 100644 index 000000000..95d0bad62 Binary files /dev/null and b/product_restriction_users/static/description/assets/icons/cogs.png differ diff --git a/product_restriction_users/static/description/assets/icons/consultation.png b/product_restriction_users/static/description/assets/icons/consultation.png new file mode 100644 index 000000000..8319d4baa Binary files /dev/null and b/product_restriction_users/static/description/assets/icons/consultation.png differ diff --git a/product_restriction_users/static/description/assets/icons/ecom-black.png b/product_restriction_users/static/description/assets/icons/ecom-black.png new file mode 100644 index 000000000..a9385ff13 Binary files /dev/null and b/product_restriction_users/static/description/assets/icons/ecom-black.png differ diff --git a/product_restriction_users/static/description/assets/icons/education-black.png b/product_restriction_users/static/description/assets/icons/education-black.png new file mode 100644 index 000000000..3eb09b27b Binary files /dev/null and b/product_restriction_users/static/description/assets/icons/education-black.png differ diff --git a/product_restriction_users/static/description/assets/icons/hotel-black.png b/product_restriction_users/static/description/assets/icons/hotel-black.png new file mode 100644 index 000000000..130f613be Binary files /dev/null and b/product_restriction_users/static/description/assets/icons/hotel-black.png differ diff --git a/product_restriction_users/static/description/assets/icons/license.png b/product_restriction_users/static/description/assets/icons/license.png new file mode 100644 index 000000000..a5869797e Binary files /dev/null and b/product_restriction_users/static/description/assets/icons/license.png differ diff --git a/product_restriction_users/static/description/assets/icons/lifebuoy.png b/product_restriction_users/static/description/assets/icons/lifebuoy.png new file mode 100644 index 000000000..658d56ccc Binary files /dev/null and b/product_restriction_users/static/description/assets/icons/lifebuoy.png differ diff --git a/product_restriction_users/static/description/assets/icons/manufacturing-black.png b/product_restriction_users/static/description/assets/icons/manufacturing-black.png new file mode 100644 index 000000000..697eb0e9f Binary files /dev/null and b/product_restriction_users/static/description/assets/icons/manufacturing-black.png differ diff --git a/product_restriction_users/static/description/assets/icons/pos-black.png b/product_restriction_users/static/description/assets/icons/pos-black.png new file mode 100644 index 000000000..97c0f90c1 Binary files /dev/null and b/product_restriction_users/static/description/assets/icons/pos-black.png differ diff --git a/product_restriction_users/static/description/assets/icons/puzzle.png b/product_restriction_users/static/description/assets/icons/puzzle.png new file mode 100644 index 000000000..65cf854e7 Binary files /dev/null and b/product_restriction_users/static/description/assets/icons/puzzle.png differ diff --git a/product_restriction_users/static/description/assets/icons/restaurant-black.png b/product_restriction_users/static/description/assets/icons/restaurant-black.png new file mode 100644 index 000000000..4a35eb939 Binary files /dev/null and b/product_restriction_users/static/description/assets/icons/restaurant-black.png differ diff --git a/product_restriction_users/static/description/assets/icons/service-black.png b/product_restriction_users/static/description/assets/icons/service-black.png new file mode 100644 index 000000000..301ab51cb Binary files /dev/null and b/product_restriction_users/static/description/assets/icons/service-black.png differ diff --git a/product_restriction_users/static/description/assets/icons/trading-black.png b/product_restriction_users/static/description/assets/icons/trading-black.png new file mode 100644 index 000000000..9398ba2f1 Binary files /dev/null and b/product_restriction_users/static/description/assets/icons/trading-black.png differ diff --git a/product_restriction_users/static/description/assets/icons/training.png b/product_restriction_users/static/description/assets/icons/training.png new file mode 100644 index 000000000..884ca024d Binary files /dev/null and b/product_restriction_users/static/description/assets/icons/training.png differ diff --git a/product_restriction_users/static/description/assets/icons/update.png b/product_restriction_users/static/description/assets/icons/update.png new file mode 100644 index 000000000..ecbc5a01a Binary files /dev/null and b/product_restriction_users/static/description/assets/icons/update.png differ diff --git a/product_restriction_users/static/description/assets/icons/user.png b/product_restriction_users/static/description/assets/icons/user.png new file mode 100644 index 000000000..6ffb23d9f Binary files /dev/null and b/product_restriction_users/static/description/assets/icons/user.png differ diff --git a/product_restriction_users/static/description/assets/icons/wrench.png b/product_restriction_users/static/description/assets/icons/wrench.png new file mode 100644 index 000000000..6c04dea0f Binary files /dev/null and b/product_restriction_users/static/description/assets/icons/wrench.png differ diff --git a/product_restriction_users/static/description/assets/misc/categories.png b/product_restriction_users/static/description/assets/misc/categories.png new file mode 100644 index 000000000..bedf1e0b1 Binary files /dev/null and b/product_restriction_users/static/description/assets/misc/categories.png differ diff --git a/product_restriction_users/static/description/assets/misc/check-box.png b/product_restriction_users/static/description/assets/misc/check-box.png new file mode 100644 index 000000000..42caf24b9 Binary files /dev/null and b/product_restriction_users/static/description/assets/misc/check-box.png differ diff --git a/product_restriction_users/static/description/assets/misc/compass.png b/product_restriction_users/static/description/assets/misc/compass.png new file mode 100644 index 000000000..d5fed8faa Binary files /dev/null and b/product_restriction_users/static/description/assets/misc/compass.png differ diff --git a/product_restriction_users/static/description/assets/misc/corporate.png b/product_restriction_users/static/description/assets/misc/corporate.png new file mode 100644 index 000000000..2eb13edbf Binary files /dev/null and b/product_restriction_users/static/description/assets/misc/corporate.png differ diff --git a/product_restriction_users/static/description/assets/misc/customer-support.png b/product_restriction_users/static/description/assets/misc/customer-support.png new file mode 100644 index 000000000..79efc72ed Binary files /dev/null and b/product_restriction_users/static/description/assets/misc/customer-support.png differ diff --git a/product_restriction_users/static/description/assets/misc/cybrosys-logo.png b/product_restriction_users/static/description/assets/misc/cybrosys-logo.png new file mode 100644 index 000000000..cc3cc0ccf Binary files /dev/null and b/product_restriction_users/static/description/assets/misc/cybrosys-logo.png differ diff --git a/product_restriction_users/static/description/assets/misc/features.png b/product_restriction_users/static/description/assets/misc/features.png new file mode 100644 index 000000000..b41769f77 Binary files /dev/null and b/product_restriction_users/static/description/assets/misc/features.png differ diff --git a/product_restriction_users/static/description/assets/misc/logo.png b/product_restriction_users/static/description/assets/misc/logo.png new file mode 100644 index 000000000..478462d3e Binary files /dev/null and b/product_restriction_users/static/description/assets/misc/logo.png differ diff --git a/product_restriction_users/static/description/assets/misc/pictures.png b/product_restriction_users/static/description/assets/misc/pictures.png new file mode 100644 index 000000000..56d255fe9 Binary files /dev/null and b/product_restriction_users/static/description/assets/misc/pictures.png differ diff --git a/product_restriction_users/static/description/assets/misc/pie-chart.png b/product_restriction_users/static/description/assets/misc/pie-chart.png new file mode 100644 index 000000000..426e05244 Binary files /dev/null and b/product_restriction_users/static/description/assets/misc/pie-chart.png differ diff --git a/product_restriction_users/static/description/assets/misc/right-arrow.png b/product_restriction_users/static/description/assets/misc/right-arrow.png new file mode 100644 index 000000000..730984a06 Binary files /dev/null and b/product_restriction_users/static/description/assets/misc/right-arrow.png differ diff --git a/product_restriction_users/static/description/assets/misc/star.png b/product_restriction_users/static/description/assets/misc/star.png new file mode 100644 index 000000000..2eb9ab29f Binary files /dev/null and b/product_restriction_users/static/description/assets/misc/star.png differ diff --git a/product_restriction_users/static/description/assets/misc/support.png b/product_restriction_users/static/description/assets/misc/support.png new file mode 100644 index 000000000..4f18b8b82 Binary files /dev/null and b/product_restriction_users/static/description/assets/misc/support.png differ diff --git a/product_restriction_users/static/description/assets/misc/whatsapp.png b/product_restriction_users/static/description/assets/misc/whatsapp.png new file mode 100644 index 000000000..d513a5356 Binary files /dev/null and b/product_restriction_users/static/description/assets/misc/whatsapp.png differ diff --git a/product_restriction_users/static/description/assets/modules/1.png b/product_restriction_users/static/description/assets/modules/1.png new file mode 100644 index 000000000..3415917c2 Binary files /dev/null and b/product_restriction_users/static/description/assets/modules/1.png differ diff --git a/product_restriction_users/static/description/assets/modules/2.png b/product_restriction_users/static/description/assets/modules/2.png new file mode 100644 index 000000000..31ed46762 Binary files /dev/null and b/product_restriction_users/static/description/assets/modules/2.png differ diff --git a/product_restriction_users/static/description/assets/modules/3.png b/product_restriction_users/static/description/assets/modules/3.png new file mode 100644 index 000000000..25ed3e0b6 Binary files /dev/null and b/product_restriction_users/static/description/assets/modules/3.png differ diff --git a/product_restriction_users/static/description/assets/modules/4.png b/product_restriction_users/static/description/assets/modules/4.png new file mode 100644 index 000000000..359d3e4d6 Binary files /dev/null and b/product_restriction_users/static/description/assets/modules/4.png differ diff --git a/product_restriction_users/static/description/assets/modules/5.gif b/product_restriction_users/static/description/assets/modules/5.gif new file mode 100644 index 000000000..2a5f8e659 Binary files /dev/null and b/product_restriction_users/static/description/assets/modules/5.gif differ diff --git a/product_restriction_users/static/description/assets/modules/5.png b/product_restriction_users/static/description/assets/modules/5.png new file mode 100644 index 000000000..3add135c3 Binary files /dev/null and b/product_restriction_users/static/description/assets/modules/5.png differ diff --git a/product_restriction_users/static/description/assets/modules/6.png b/product_restriction_users/static/description/assets/modules/6.png new file mode 100644 index 000000000..be454ea44 Binary files /dev/null and b/product_restriction_users/static/description/assets/modules/6.png differ diff --git a/product_restriction_users/static/description/assets/screenshots/hero.gif b/product_restriction_users/static/description/assets/screenshots/hero.gif new file mode 100644 index 000000000..ee2d15534 Binary files /dev/null and b/product_restriction_users/static/description/assets/screenshots/hero.gif differ diff --git a/product_restriction_users/static/description/assets/screenshots/user_1.png b/product_restriction_users/static/description/assets/screenshots/user_1.png new file mode 100644 index 000000000..c9ae4ff74 Binary files /dev/null and b/product_restriction_users/static/description/assets/screenshots/user_1.png differ diff --git a/product_restriction_users/static/description/assets/screenshots/user_2.png b/product_restriction_users/static/description/assets/screenshots/user_2.png new file mode 100644 index 000000000..3a80886e2 Binary files /dev/null and b/product_restriction_users/static/description/assets/screenshots/user_2.png differ diff --git a/product_restriction_users/static/description/assets/screenshots/user_3.png b/product_restriction_users/static/description/assets/screenshots/user_3.png new file mode 100644 index 000000000..a8952130f Binary files /dev/null and b/product_restriction_users/static/description/assets/screenshots/user_3.png differ diff --git a/product_restriction_users/static/description/assets/screenshots/user_4.png b/product_restriction_users/static/description/assets/screenshots/user_4.png new file mode 100644 index 000000000..1dc7795ce Binary files /dev/null and b/product_restriction_users/static/description/assets/screenshots/user_4.png differ diff --git a/product_restriction_users/static/description/banner.png b/product_restriction_users/static/description/banner.png new file mode 100644 index 000000000..9cfba682f Binary files /dev/null and b/product_restriction_users/static/description/banner.png differ diff --git a/product_restriction_users/static/description/icon.png b/product_restriction_users/static/description/icon.png new file mode 100644 index 000000000..4f8d7953c Binary files /dev/null and b/product_restriction_users/static/description/icon.png differ diff --git a/product_restriction_users/static/description/index.html b/product_restriction_users/static/description/index.html new file mode 100644 index 000000000..edd469993 --- /dev/null +++ b/product_restriction_users/static/description/index.html @@ -0,0 +1,562 @@ +
+ +
+ +
+
+ Community +
+
+ Odoo.sh +
+
+ Enterprise +
+
+
+ +
+
+
+ +

+ Product Restriction On Users

+

A Module For + Configuring the Product Restriction on Users. +

+ + +
+
+
+ + +
+ + +
+
+ +
+

Explore This + Module

+
+ + + + +
+
+ +
+

Overview +

+
+
+
+ This module used to allow products to user or only access products + related to allowed categories or Allow access of products/category to user. +
+
+ + + +
+
+ +
+

Features +

+
+
+
+
+ + Configure the User Settings. +
+
+ + Configure to Allow only selected products to user. +
+
+ + Configure to Allow to show the products based on category Category to user. +
+
+
+ +
+ + Available in Odoo 16.0 both enterprise and + Community +
+
+
+ + + +
+
+ +
+

Screenshots +

+
+
+
+ +
+

Configure User + Settings +

+

Set a restriction type + for to allow product and product category based on the selection of product and + category and added the allowed products in the user.

+ +
+ +
+

Showing the allowed products on the user Marc Demo +

+ +
+
+

Login as the user + Mitchel Admin and set restriction type as category +

+ + +
+
+

Showing the allowed products based on choosen product category on the user Marc Demo +

+ + +
+
+
+ + + +
+
+ +
+

Related + Products +

+
+
+
+ +
+
+ + + + +
+
+ +
+

Our Services +

+
+ +
+
+
+
+ +
+
+ Odoo + Customization
+
+ +
+
+ +
+
+ Odoo + Implementation
+
+ +
+
+ +
+
+ Odoo + Support
+
+ + +
+
+ +
+
+ Hire + Odoo + Developer
+
+ +
+
+ +
+
+ Odoo + Integration
+
+ +
+
+ +
+
+ Odoo + Migration
+
+ + +
+
+ +
+
+ Odoo + Consultancy
+
+ +
+
+ +
+
+ Odoo + Implementation
+
+ +
+
+ +
+
+ Odoo + Licensing Consultancy
+
+
+ +
+ + + + + +
+
+ +
+

Our + Industries +

+
+ +
+
+
+
+ +
+ Trading +
+

+ Easily procure + and + sell your products

+
+
+ +
+
+ +
+ POS +
+

+ Easy + configuration + and convivial experience

+
+
+ +
+
+ +
+ Education +
+

+ A platform for + educational management

+
+
+ +
+
+ +
+ Manufacturing +
+

+ Plan, track and + schedule your operations

+
+
+ +
+
+ +
+ E-commerce & Website +
+

+ Mobile + friendly, + awe-inspiring product pages

+
+
+ +
+
+ +
+ Service Management +
+

+ Keep track of + services and invoice

+
+
+ +
+
+ +
+ Restaurant +
+

+ Run your bar or + restaurant methodically

+
+
+ +
+
+ +
+ Hotel Management +
+

+ An + all-inclusive + hotel management application

+
+
+
+
+ + + + +
+
+ +
+

Support +

+
+
+
+
+
+
+ +
+
+

Need Help?

+

Got questions or need help? Get in touch.

+ +

+ odoo@cybrosys.com

+
+
+
+
+
+
+
+ +
+
+

WhatsApp

+

Say hi to us on WhatsApp!

+ +

+91 86068 + 27707

+
+
+
+
+
+
+
+ +
+
+
+ \ No newline at end of file diff --git a/product_restriction_users/views/product_template_views.xml b/product_restriction_users/views/product_template_views.xml new file mode 100644 index 000000000..9e4097314 --- /dev/null +++ b/product_restriction_users/views/product_template_views.xml @@ -0,0 +1,21 @@ + + + + + + product.template.view.form.inherit.product.restriction.users + + product.template + + + + + + + + + + + + + \ No newline at end of file diff --git a/product_restriction_users/views/res_users_views.xml b/product_restriction_users/views/res_users_views.xml new file mode 100644 index 000000000..c340b93d8 --- /dev/null +++ b/product_restriction_users/views/res_users_views.xml @@ -0,0 +1,28 @@ + + + + + + res.users.view.form.inherit.product.restriction.users + + res.users + + + + + + + + + + + + \ No newline at end of file