diff --git a/hide_product_price_cost/README.rst b/hide_product_price_cost/README.rst new file mode 100755 index 000000000..e367a63cf --- /dev/null +++ b/hide_product_price_cost/README.rst @@ -0,0 +1,40 @@ +.. image:: https://img.shields.io/badge/licence-LGPL--3-blue.svg + :target: http://www.gnu.org/licenses/lgpl-3.0-standalone.html + :alt: License: LGPL-3 +Hide Product Price and Cost +======================= +This module allow to hide product price and cost for specific users. + +Configuration +============= +The user should be added to the security group:(Other / Show Product Price), (Other / Show Product Cost) inorder to get access the price and cost. + +Company +------- +* `Cybrosys Techno Solutions `__ + +Credits +------- +Developer: Mufeeda P P @cybrosys, Contact: odoo@cybrosys.com + +Contacts +-------- +* Mail Contact : odoo@cybrosys.com +* Website : https://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 +========== +.. image:: https://cybrosys.com/images/logo.png + :target: https://cybrosys.com + +This module is maintained by Cybrosys Technologies. + +For support and more information, please visit `Our Website `__ + +Further information +=================== +HTML Description: ``__ diff --git a/hide_product_price_cost/__init__.py b/hide_product_price_cost/__init__.py new file mode 100644 index 000000000..cb7e87bac --- /dev/null +++ b/hide_product_price_cost/__init__.py @@ -0,0 +1,21 @@ +# -*- coding: utf-8 -*- +############################################################################# +# +# Cybrosys Technologies Pvt. Ltd. +# +# Copyright (C) 2023-TODAY Cybrosys Technologies() +# Author: Cybrosys Techno Solutions() +# +# You can modify it under the terms of the GNU LESSER +# GENERAL PUBLIC LICENSE (LGPL 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 LESSER GENERAL PUBLIC LICENSE (LGPL v3) for more details. +# +# You should have received a copy of the GNU LESSER GENERAL PUBLIC LICENSE +# (LGPL v3) along with this program. +# If not, see . +# +############################################################################# diff --git a/hide_product_price_cost/__manifest__.py b/hide_product_price_cost/__manifest__.py new file mode 100644 index 000000000..9622d8629 --- /dev/null +++ b/hide_product_price_cost/__manifest__.py @@ -0,0 +1,46 @@ +# -*- coding: utf-8 -*- +############################################################################# +# +# Cybrosys Technologies Pvt. Ltd. +# +# Copyright (C) 2023-TODAY Cybrosys Technologies() +# Author: Cybrosys Techno Solutions() +# +# You can modify it under the terms of the GNU LESSER +# GENERAL PUBLIC LICENSE (LGPL 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 LESSER GENERAL PUBLIC LICENSE (LGPL v3) for more details. +# +# You should have received a copy of the GNU LESSER GENERAL PUBLIC LICENSE +# (LGPL v3) along with this program. +# If not, see . +# +############################################################################# +{ + 'name': "Hide Product Price and Cost", + 'summary': """Hiding the Product Price and Cost.""", + 'description': """To hide the product price and cost for users.""", + 'author': "Cybrosys Techno Solutions", + 'company': 'Cybrosys Techno Solutions', + 'website': "https://www.cybrosys.com", + 'maintainer': "Cybrosys Techno Solutions", + 'category': 'Sales', + 'version': '16.0.1.0.0', + 'depends': ['base', 'product'], + 'data': [ + 'security/hide_product_price_cost_groups.xml', + 'views/product_product_views.xml', + 'views/product_template_views.xml', + ], + 'images': [ + 'static/description/banner.png', + ], + 'license': 'LGPL-3', + 'installable': True, + 'auto_install': False, + 'application': False, + +} diff --git a/hide_product_price_cost/doc/RELEASE_NOTES.md b/hide_product_price_cost/doc/RELEASE_NOTES.md new file mode 100644 index 000000000..4b4e180c6 --- /dev/null +++ b/hide_product_price_cost/doc/RELEASE_NOTES.md @@ -0,0 +1,7 @@ +## Module + +#### 21.02.2023 +#### Version 16.0.1.0.0 +#### ADD + +- Initial commit for Hide Product Price and Cost diff --git a/hide_product_price_cost/security/hide_product_price_cost_groups.xml b/hide_product_price_cost/security/hide_product_price_cost_groups.xml new file mode 100644 index 000000000..317ac6d26 --- /dev/null +++ b/hide_product_price_cost/security/hide_product_price_cost_groups.xml @@ -0,0 +1,11 @@ + + + + + Show Product Price + + + + Show Product Cost + + diff --git a/hide_product_price_cost/static/description/assets/icons/check.png b/hide_product_price_cost/static/description/assets/icons/check.png new file mode 100644 index 000000000..c8e85f51d Binary files /dev/null and b/hide_product_price_cost/static/description/assets/icons/check.png differ diff --git a/hide_product_price_cost/static/description/assets/icons/chevron.png b/hide_product_price_cost/static/description/assets/icons/chevron.png new file mode 100644 index 000000000..2089293d6 Binary files /dev/null and b/hide_product_price_cost/static/description/assets/icons/chevron.png differ diff --git a/hide_product_price_cost/static/description/assets/icons/cogs.png b/hide_product_price_cost/static/description/assets/icons/cogs.png new file mode 100644 index 000000000..95d0bad62 Binary files /dev/null and b/hide_product_price_cost/static/description/assets/icons/cogs.png differ diff --git a/hide_product_price_cost/static/description/assets/icons/consultation.png b/hide_product_price_cost/static/description/assets/icons/consultation.png new file mode 100644 index 000000000..8319d4baa Binary files /dev/null and b/hide_product_price_cost/static/description/assets/icons/consultation.png differ diff --git a/hide_product_price_cost/static/description/assets/icons/ecom-black.png b/hide_product_price_cost/static/description/assets/icons/ecom-black.png new file mode 100644 index 000000000..a9385ff13 Binary files /dev/null and b/hide_product_price_cost/static/description/assets/icons/ecom-black.png differ diff --git a/hide_product_price_cost/static/description/assets/icons/education-black.png b/hide_product_price_cost/static/description/assets/icons/education-black.png new file mode 100644 index 000000000..3eb09b27b Binary files /dev/null and b/hide_product_price_cost/static/description/assets/icons/education-black.png differ diff --git a/hide_product_price_cost/static/description/assets/icons/hotel-black.png b/hide_product_price_cost/static/description/assets/icons/hotel-black.png new file mode 100644 index 000000000..130f613be Binary files /dev/null and b/hide_product_price_cost/static/description/assets/icons/hotel-black.png differ diff --git a/hide_product_price_cost/static/description/assets/icons/license.png b/hide_product_price_cost/static/description/assets/icons/license.png new file mode 100644 index 000000000..a5869797e Binary files /dev/null and b/hide_product_price_cost/static/description/assets/icons/license.png differ diff --git a/hide_product_price_cost/static/description/assets/icons/lifebuoy.png b/hide_product_price_cost/static/description/assets/icons/lifebuoy.png new file mode 100644 index 000000000..658d56ccc Binary files /dev/null and b/hide_product_price_cost/static/description/assets/icons/lifebuoy.png differ diff --git a/hide_product_price_cost/static/description/assets/icons/logo.png b/hide_product_price_cost/static/description/assets/icons/logo.png new file mode 100644 index 000000000..478462d3e Binary files /dev/null and b/hide_product_price_cost/static/description/assets/icons/logo.png differ diff --git a/hide_product_price_cost/static/description/assets/icons/manufacturing-black.png b/hide_product_price_cost/static/description/assets/icons/manufacturing-black.png new file mode 100644 index 000000000..697eb0e9f Binary files /dev/null and b/hide_product_price_cost/static/description/assets/icons/manufacturing-black.png differ diff --git a/hide_product_price_cost/static/description/assets/icons/pos-black.png b/hide_product_price_cost/static/description/assets/icons/pos-black.png new file mode 100644 index 000000000..97c0f90c1 Binary files /dev/null and b/hide_product_price_cost/static/description/assets/icons/pos-black.png differ diff --git a/hide_product_price_cost/static/description/assets/icons/puzzle.png b/hide_product_price_cost/static/description/assets/icons/puzzle.png new file mode 100644 index 000000000..65cf854e7 Binary files /dev/null and b/hide_product_price_cost/static/description/assets/icons/puzzle.png differ diff --git a/hide_product_price_cost/static/description/assets/icons/restaurant-black.png b/hide_product_price_cost/static/description/assets/icons/restaurant-black.png new file mode 100644 index 000000000..4a35eb939 Binary files /dev/null and b/hide_product_price_cost/static/description/assets/icons/restaurant-black.png differ diff --git a/hide_product_price_cost/static/description/assets/icons/service-black.png b/hide_product_price_cost/static/description/assets/icons/service-black.png new file mode 100644 index 000000000..301ab51cb Binary files /dev/null and b/hide_product_price_cost/static/description/assets/icons/service-black.png differ diff --git a/hide_product_price_cost/static/description/assets/icons/trading-black.png b/hide_product_price_cost/static/description/assets/icons/trading-black.png new file mode 100644 index 000000000..9398ba2f1 Binary files /dev/null and b/hide_product_price_cost/static/description/assets/icons/trading-black.png differ diff --git a/hide_product_price_cost/static/description/assets/icons/training.png b/hide_product_price_cost/static/description/assets/icons/training.png new file mode 100644 index 000000000..884ca024d Binary files /dev/null and b/hide_product_price_cost/static/description/assets/icons/training.png differ diff --git a/hide_product_price_cost/static/description/assets/icons/update.png b/hide_product_price_cost/static/description/assets/icons/update.png new file mode 100644 index 000000000..ecbc5a01a Binary files /dev/null and b/hide_product_price_cost/static/description/assets/icons/update.png differ diff --git a/hide_product_price_cost/static/description/assets/icons/user.png b/hide_product_price_cost/static/description/assets/icons/user.png new file mode 100644 index 000000000..6ffb23d9f Binary files /dev/null and b/hide_product_price_cost/static/description/assets/icons/user.png differ diff --git a/hide_product_price_cost/static/description/assets/icons/wrench.png b/hide_product_price_cost/static/description/assets/icons/wrench.png new file mode 100644 index 000000000..6c04dea0f Binary files /dev/null and b/hide_product_price_cost/static/description/assets/icons/wrench.png differ diff --git a/hide_product_price_cost/static/description/assets/modules/budget_image.png b/hide_product_price_cost/static/description/assets/modules/budget_image.png new file mode 100644 index 000000000..b50130c7d Binary files /dev/null and b/hide_product_price_cost/static/description/assets/modules/budget_image.png differ diff --git a/hide_product_price_cost/static/description/assets/modules/credit_image.png b/hide_product_price_cost/static/description/assets/modules/credit_image.png new file mode 100644 index 000000000..3ad04ecfd Binary files /dev/null and b/hide_product_price_cost/static/description/assets/modules/credit_image.png differ diff --git a/hide_product_price_cost/static/description/assets/modules/employee_image.png b/hide_product_price_cost/static/description/assets/modules/employee_image.png new file mode 100644 index 000000000..30ad58232 Binary files /dev/null and b/hide_product_price_cost/static/description/assets/modules/employee_image.png differ diff --git a/hide_product_price_cost/static/description/assets/modules/export_image.png b/hide_product_price_cost/static/description/assets/modules/export_image.png new file mode 100644 index 000000000..492980ad0 Binary files /dev/null and b/hide_product_price_cost/static/description/assets/modules/export_image.png differ diff --git a/hide_product_price_cost/static/description/assets/modules/gantt_image.png b/hide_product_price_cost/static/description/assets/modules/gantt_image.png new file mode 100644 index 000000000..1ae7cfe3b Binary files /dev/null and b/hide_product_price_cost/static/description/assets/modules/gantt_image.png differ diff --git a/hide_product_price_cost/static/description/assets/modules/quotation_image.png b/hide_product_price_cost/static/description/assets/modules/quotation_image.png new file mode 100644 index 000000000..499b1a72f Binary files /dev/null and b/hide_product_price_cost/static/description/assets/modules/quotation_image.png differ diff --git a/hide_product_price_cost/static/description/assets/screenshots/configuration.png b/hide_product_price_cost/static/description/assets/screenshots/configuration.png new file mode 100644 index 000000000..09ace6374 Binary files /dev/null and b/hide_product_price_cost/static/description/assets/screenshots/configuration.png differ diff --git a/hide_product_price_cost/static/description/assets/screenshots/hero.gif b/hide_product_price_cost/static/description/assets/screenshots/hero.gif new file mode 100644 index 000000000..60e871590 Binary files /dev/null and b/hide_product_price_cost/static/description/assets/screenshots/hero.gif differ diff --git a/hide_product_price_cost/static/description/assets/screenshots/hide_sale_price_form.png b/hide_product_price_cost/static/description/assets/screenshots/hide_sale_price_form.png new file mode 100644 index 000000000..b458d8c47 Binary files /dev/null and b/hide_product_price_cost/static/description/assets/screenshots/hide_sale_price_form.png differ diff --git a/hide_product_price_cost/static/description/assets/screenshots/hide_sale_price_form_var.png b/hide_product_price_cost/static/description/assets/screenshots/hide_sale_price_form_var.png new file mode 100644 index 000000000..c6248f40d Binary files /dev/null and b/hide_product_price_cost/static/description/assets/screenshots/hide_sale_price_form_var.png differ diff --git a/hide_product_price_cost/static/description/assets/screenshots/hide_sale_price_kanban.png b/hide_product_price_cost/static/description/assets/screenshots/hide_sale_price_kanban.png new file mode 100644 index 000000000..3bea00041 Binary files /dev/null and b/hide_product_price_cost/static/description/assets/screenshots/hide_sale_price_kanban.png differ diff --git a/hide_product_price_cost/static/description/assets/screenshots/hide_sale_price_tree.png b/hide_product_price_cost/static/description/assets/screenshots/hide_sale_price_tree.png new file mode 100644 index 000000000..a1a5b6795 Binary files /dev/null and b/hide_product_price_cost/static/description/assets/screenshots/hide_sale_price_tree.png differ diff --git a/hide_product_price_cost/static/description/assets/screenshots/hide_sale_price_tree_var.png b/hide_product_price_cost/static/description/assets/screenshots/hide_sale_price_tree_var.png new file mode 100644 index 000000000..be4a69ee6 Binary files /dev/null and b/hide_product_price_cost/static/description/assets/screenshots/hide_sale_price_tree_var.png differ diff --git a/hide_product_price_cost/static/description/assets/screenshots/show_sale_price_form.png b/hide_product_price_cost/static/description/assets/screenshots/show_sale_price_form.png new file mode 100644 index 000000000..207ca62f1 Binary files /dev/null and b/hide_product_price_cost/static/description/assets/screenshots/show_sale_price_form.png differ diff --git a/hide_product_price_cost/static/description/assets/screenshots/show_sale_price_form_var (copy).png b/hide_product_price_cost/static/description/assets/screenshots/show_sale_price_form_var (copy).png new file mode 100644 index 000000000..f9143fc58 Binary files /dev/null and b/hide_product_price_cost/static/description/assets/screenshots/show_sale_price_form_var (copy).png differ diff --git a/hide_product_price_cost/static/description/assets/screenshots/show_sale_price_form_var.png b/hide_product_price_cost/static/description/assets/screenshots/show_sale_price_form_var.png new file mode 100644 index 000000000..f9143fc58 Binary files /dev/null and b/hide_product_price_cost/static/description/assets/screenshots/show_sale_price_form_var.png differ diff --git a/hide_product_price_cost/static/description/assets/screenshots/show_sale_price_kanban.png b/hide_product_price_cost/static/description/assets/screenshots/show_sale_price_kanban.png new file mode 100644 index 000000000..8114f795c Binary files /dev/null and b/hide_product_price_cost/static/description/assets/screenshots/show_sale_price_kanban.png differ diff --git a/hide_product_price_cost/static/description/assets/screenshots/show_sale_price_tree.png b/hide_product_price_cost/static/description/assets/screenshots/show_sale_price_tree.png new file mode 100644 index 000000000..3fd7bef4f Binary files /dev/null and b/hide_product_price_cost/static/description/assets/screenshots/show_sale_price_tree.png differ diff --git a/hide_product_price_cost/static/description/assets/screenshots/show_sale_price_tree_var.png b/hide_product_price_cost/static/description/assets/screenshots/show_sale_price_tree_var.png new file mode 100644 index 000000000..3f22eb3e5 Binary files /dev/null and b/hide_product_price_cost/static/description/assets/screenshots/show_sale_price_tree_var.png differ diff --git a/hide_product_price_cost/static/description/banner.png b/hide_product_price_cost/static/description/banner.png new file mode 100644 index 000000000..464c117b6 Binary files /dev/null and b/hide_product_price_cost/static/description/banner.png differ diff --git a/hide_product_price_cost/static/description/icon.png b/hide_product_price_cost/static/description/icon.png new file mode 100644 index 000000000..bf699abd1 Binary files /dev/null and b/hide_product_price_cost/static/description/icon.png differ diff --git a/hide_product_price_cost/static/description/index.html b/hide_product_price_cost/static/description/index.html new file mode 100644 index 000000000..9900fbafd --- /dev/null +++ b/hide_product_price_cost/static/description/index.html @@ -0,0 +1,540 @@ +
+
+
+
+ +
+
+
+ Community +
+
+ Enterprise +
+
+
+
+
+ +
+
+
+

+ Hide Product Price and Cost +

+

+ This module allows to hide product price and cost for specific users +

+ +
+
+ + + +
+
+

+ Overview +

+
+ +
+

+ This module crafted by Cybrosys Technologies provides an option to hide sales price or cost price in the tree, kanban and form view. +

+
+
+ +
+
+

+ Configuration +

+
+
+

The user should be added to the security group:(Other / Show Product Price), (Other / Show Product Cost) inorder to get access the price and cost.

+ +
+
+ +
+
+

+ Features +

+
+
+
+ +
+
+

+ Easy to hide sales price in the tree, kanban and form view.

+
+
+
+
+ +
+
+

+ Easy to hide cost price in the tree, kanban and form view.

+ +
+
+
+ +
+
+

+ Screenshots +

+
+
+

+ Show Sale price in kanban view. +

+ +
+
+

+ Hide Sale price in kanban view. +

+ +
+
+

+ Show sales price and cost price in tree view. +

+ +
+
+

+ Hide sales price and cost price in tree view. +

+ +
+
+

+ Show sales price and cost price in form view. +

+ +
+
+

+ Hide sales price and cost price in form view. +

+ +
+
+

+ Show sales price and cost price in tree view in product variants. +

+ +
+
+

+ Hide sales price and cost price in tree view in product variants. +

+ +
+
+

+ Show sales price in form view in product variants. +

+ +
+
+

+ Hide sales price in form view in product variants. +

+ +
+
+ + +
+
+

Suggested 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 +

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

Need Help?

+
+
+
+ + +
+ + + +
+ +
+ +
+
+ +
+ +
+ +
+
+ +
+
+
+ + +
diff --git a/hide_product_price_cost/views/product_product_views.xml b/hide_product_price_cost/views/product_product_views.xml new file mode 100644 index 000000000..0d5ecc874 --- /dev/null +++ b/hide_product_price_cost/views/product_product_views.xml @@ -0,0 +1,42 @@ + + + + + product.product.inherit.hide.product.price.cost.form + product.product + + + + hide_product_price_cost.hide_product_price_cost_group_user_show_product_price + + + hide_product_price_cost.hide_product_price_cost_group_user_show_product_cost + + + + + + product.product.inherit.hide.product.price.cost.kanban + product.product + + + + hide_product_price_cost.hide_product_price_cost_group_user_show_product_price + + + + + + product.product.inherit.hide.product.price.cost.tree + product.product + + + + hide_product_price_cost.hide_product_price_cost_group_user_show_product_price + + + hide_product_price_cost.hide_product_price_cost_group_user_show_product_cost + + + + diff --git a/hide_product_price_cost/views/product_template_views.xml b/hide_product_price_cost/views/product_template_views.xml new file mode 100644 index 000000000..89ce3a3f1 --- /dev/null +++ b/hide_product_price_cost/views/product_template_views.xml @@ -0,0 +1,42 @@ + + + + + product.template.inherit.hide.product.price.cost.form + product.template + + + + hide_product_price_cost.hide_product_price_cost_group_user_show_product_price + + + hide_product_price_cost.hide_product_price_cost_group_user_show_product_cost + + + + + + product.template.inherit.hide.product.price.cost.kanban + product.template + + + + hide_product_price_cost.hide_product_price_cost_group_user_show_product_price + + + + + + product.template.inherit.hide.product.price.cost.tree + product.template + + + + hide_product_price_cost.hide_product_price_cost_group_user_show_product_price + + + hide_product_price_cost.hide_product_price_cost_group_user_show_product_cost + + + +