diff --git a/hide_cost_price/README.rst b/hide_cost_price/README.rst new file mode 100644 index 000000000..016ee0a52 --- /dev/null +++ b/hide_cost_price/README.rst @@ -0,0 +1,51 @@ +.. image:: https://img.shields.io/badge/licence-AGPL--3-blue.svg + :target: https://www.gnu.org/licenses/agpl-3.0-standalone.html + :alt: License: AGPL-3 + +Hide Cost Price +=============== +Product cost price will be visible only for specified group + +Installation +------------ +- www.odoo.com/documentation/15.0/setup/install.html +- Install our custom addon + +Configuration +------------- +* No additional configurations needed + +Company +------- +* `Cybrosys Techno Solutions `__ + +License +------- +Affero General Public License v3.0 (AGPL v3) +(https://www.gnu.org/licenses/agpl-3.0-standalone.html) + +Credits +------- +* Developer: (v15)Sajna Sherin + +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 https://www.cybrosys.com + +Further information +-------------------- +HTML Description: ``__ \ No newline at end of file diff --git a/hide_cost_price/__init__.py b/hide_cost_price/__init__.py new file mode 100644 index 000000000..414fc31ba --- /dev/null +++ b/hide_cost_price/__init__.py @@ -0,0 +1,21 @@ +# -*- coding: utf-8 -*- +############################################################################### +# +# Cybrosys Technologies Pvt. Ltd. +# Copyright (C) 2023-TODAY Cybrosys Technologies(). +# Author: Cybrosys Techno Solutions() +# +# This program is free software: you can modify +# it under the terms of the GNU Affero General Public License (AGPL) as +# published by the Free Software Foundation, either version 3 of the +# License, or (at your option) any later version. +# +# 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 for more details. +# +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see . +# +############################################################################### diff --git a/hide_cost_price/__manifest__.py b/hide_cost_price/__manifest__.py new file mode 100644 index 000000000..8d17ec22f --- /dev/null +++ b/hide_cost_price/__manifest__.py @@ -0,0 +1,44 @@ +# -*- coding: utf-8 -*- +############################################################################### +# +# Cybrosys Technologies Pvt. Ltd. +# Copyright (C) 2023-TODAY Cybrosys Technologies(). +# Author: Cybrosys Techno Solutions() +# +# This program is free software: you can modify +# it under the terms of the GNU Affero General Public License (AGPL) as +# published by the Free Software Foundation, either version 3 of the +# License, or (at your option) any later version. +# +# 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 for more details. +# +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see . +# +################################################################################ +{ + 'name': 'Hide Cost Price', + 'version': '15.0.1.0.0', + 'summary': """Hide cost price module hide the cost of products""", + 'description': """Product cost price will be visible only for specified + group""", + 'author': 'Cybrosys Techno Solutions', + 'company': 'Cybrosys Techno Solutions', + 'maintainer': 'Cybrosys Techno Solutions', + 'website': 'https://www.cybrosys.com', + 'category': 'Stock', + 'depends': ['base', 'product'], + 'data': [ + 'security/hide_cost_price_groups.xml', + 'views/product_product_views.xml', + 'views/product_template_views.xml' + ], + 'images': ['static/description/banner.jpg'], + 'license': 'AGPL-3', + 'installable': True, + 'auto_install': False, + 'application': True, +} diff --git a/hide_cost_price/doc/RELEASE_NOTES.md b/hide_cost_price/doc/RELEASE_NOTES.md new file mode 100644 index 000000000..2ab8a1dd0 --- /dev/null +++ b/hide_cost_price/doc/RELEASE_NOTES.md @@ -0,0 +1,6 @@ +## Module + +### 12.07.2023 +### Version 15.0.1.0.0 +### ADD + - Initial Commit for Hide Cost Price \ No newline at end of file diff --git a/hide_cost_price/security/hide_cost_price_groups.xml b/hide_cost_price/security/hide_cost_price_groups.xml new file mode 100644 index 000000000..7b265ce5b --- /dev/null +++ b/hide_cost_price/security/hide_cost_price_groups.xml @@ -0,0 +1,11 @@ + + + + + + View Cost Price + + + + \ No newline at end of file diff --git a/hide_cost_price/static/description/assets/icons/check.png b/hide_cost_price/static/description/assets/icons/check.png new file mode 100644 index 000000000..c8e85f51d Binary files /dev/null and b/hide_cost_price/static/description/assets/icons/check.png differ diff --git a/hide_cost_price/static/description/assets/icons/chevron.png b/hide_cost_price/static/description/assets/icons/chevron.png new file mode 100644 index 000000000..2089293d6 Binary files /dev/null and b/hide_cost_price/static/description/assets/icons/chevron.png differ diff --git a/hide_cost_price/static/description/assets/icons/cogs.png b/hide_cost_price/static/description/assets/icons/cogs.png new file mode 100644 index 000000000..95d0bad62 Binary files /dev/null and b/hide_cost_price/static/description/assets/icons/cogs.png differ diff --git a/hide_cost_price/static/description/assets/icons/consultation.png b/hide_cost_price/static/description/assets/icons/consultation.png new file mode 100644 index 000000000..8319d4baa Binary files /dev/null and b/hide_cost_price/static/description/assets/icons/consultation.png differ diff --git a/hide_cost_price/static/description/assets/icons/ecom-black.png b/hide_cost_price/static/description/assets/icons/ecom-black.png new file mode 100644 index 000000000..a9385ff13 Binary files /dev/null and b/hide_cost_price/static/description/assets/icons/ecom-black.png differ diff --git a/hide_cost_price/static/description/assets/icons/education-black.png b/hide_cost_price/static/description/assets/icons/education-black.png new file mode 100644 index 000000000..3eb09b27b Binary files /dev/null and b/hide_cost_price/static/description/assets/icons/education-black.png differ diff --git a/hide_cost_price/static/description/assets/icons/hotel-black.png b/hide_cost_price/static/description/assets/icons/hotel-black.png new file mode 100644 index 000000000..130f613be Binary files /dev/null and b/hide_cost_price/static/description/assets/icons/hotel-black.png differ diff --git a/hide_cost_price/static/description/assets/icons/license.png b/hide_cost_price/static/description/assets/icons/license.png new file mode 100644 index 000000000..a5869797e Binary files /dev/null and b/hide_cost_price/static/description/assets/icons/license.png differ diff --git a/hide_cost_price/static/description/assets/icons/lifebuoy.png b/hide_cost_price/static/description/assets/icons/lifebuoy.png new file mode 100644 index 000000000..658d56ccc Binary files /dev/null and b/hide_cost_price/static/description/assets/icons/lifebuoy.png differ diff --git a/hide_cost_price/static/description/assets/icons/logo.png b/hide_cost_price/static/description/assets/icons/logo.png new file mode 100644 index 000000000..478462d3e Binary files /dev/null and b/hide_cost_price/static/description/assets/icons/logo.png differ diff --git a/hide_cost_price/static/description/assets/icons/manufacturing-black.png b/hide_cost_price/static/description/assets/icons/manufacturing-black.png new file mode 100644 index 000000000..697eb0e9f Binary files /dev/null and b/hide_cost_price/static/description/assets/icons/manufacturing-black.png differ diff --git a/hide_cost_price/static/description/assets/icons/pos-black.png b/hide_cost_price/static/description/assets/icons/pos-black.png new file mode 100644 index 000000000..97c0f90c1 Binary files /dev/null and b/hide_cost_price/static/description/assets/icons/pos-black.png differ diff --git a/hide_cost_price/static/description/assets/icons/puzzle.png b/hide_cost_price/static/description/assets/icons/puzzle.png new file mode 100644 index 000000000..65cf854e7 Binary files /dev/null and b/hide_cost_price/static/description/assets/icons/puzzle.png differ diff --git a/hide_cost_price/static/description/assets/icons/restaurant-black.png b/hide_cost_price/static/description/assets/icons/restaurant-black.png new file mode 100644 index 000000000..4a35eb939 Binary files /dev/null and b/hide_cost_price/static/description/assets/icons/restaurant-black.png differ diff --git a/hide_cost_price/static/description/assets/icons/service-black.png b/hide_cost_price/static/description/assets/icons/service-black.png new file mode 100644 index 000000000..301ab51cb Binary files /dev/null and b/hide_cost_price/static/description/assets/icons/service-black.png differ diff --git a/hide_cost_price/static/description/assets/icons/trading-black.png b/hide_cost_price/static/description/assets/icons/trading-black.png new file mode 100644 index 000000000..9398ba2f1 Binary files /dev/null and b/hide_cost_price/static/description/assets/icons/trading-black.png differ diff --git a/hide_cost_price/static/description/assets/icons/training.png b/hide_cost_price/static/description/assets/icons/training.png new file mode 100644 index 000000000..884ca024d Binary files /dev/null and b/hide_cost_price/static/description/assets/icons/training.png differ diff --git a/hide_cost_price/static/description/assets/icons/update.png b/hide_cost_price/static/description/assets/icons/update.png new file mode 100644 index 000000000..ecbc5a01a Binary files /dev/null and b/hide_cost_price/static/description/assets/icons/update.png differ diff --git a/hide_cost_price/static/description/assets/icons/user.png b/hide_cost_price/static/description/assets/icons/user.png new file mode 100644 index 000000000..6ffb23d9f Binary files /dev/null and b/hide_cost_price/static/description/assets/icons/user.png differ diff --git a/hide_cost_price/static/description/assets/icons/wrench.png b/hide_cost_price/static/description/assets/icons/wrench.png new file mode 100644 index 000000000..6c04dea0f Binary files /dev/null and b/hide_cost_price/static/description/assets/icons/wrench.png differ diff --git a/hide_cost_price/static/description/assets/modules/budget_image.png b/hide_cost_price/static/description/assets/modules/budget_image.png new file mode 100644 index 000000000..b50130c7d Binary files /dev/null and b/hide_cost_price/static/description/assets/modules/budget_image.png differ diff --git a/hide_cost_price/static/description/assets/modules/credit_image.png b/hide_cost_price/static/description/assets/modules/credit_image.png new file mode 100644 index 000000000..3ad04ecfd Binary files /dev/null and b/hide_cost_price/static/description/assets/modules/credit_image.png differ diff --git a/hide_cost_price/static/description/assets/modules/d3.png b/hide_cost_price/static/description/assets/modules/d3.png new file mode 100644 index 000000000..3c3ff1afb Binary files /dev/null and b/hide_cost_price/static/description/assets/modules/d3.png differ diff --git a/hide_cost_price/static/description/assets/modules/employee_image.png b/hide_cost_price/static/description/assets/modules/employee_image.png new file mode 100644 index 000000000..30ad58232 Binary files /dev/null and b/hide_cost_price/static/description/assets/modules/employee_image.png differ diff --git a/hide_cost_price/static/description/assets/modules/export_image.png b/hide_cost_price/static/description/assets/modules/export_image.png new file mode 100644 index 000000000..492980ad0 Binary files /dev/null and b/hide_cost_price/static/description/assets/modules/export_image.png differ diff --git a/hide_cost_price/static/description/assets/modules/gantt_image.png b/hide_cost_price/static/description/assets/modules/gantt_image.png new file mode 100644 index 000000000..1ae7cfe3b Binary files /dev/null and b/hide_cost_price/static/description/assets/modules/gantt_image.png differ diff --git a/hide_cost_price/static/description/assets/modules/gantt_view.png b/hide_cost_price/static/description/assets/modules/gantt_view.png new file mode 100644 index 000000000..3c3ff1afb Binary files /dev/null and b/hide_cost_price/static/description/assets/modules/gantt_view.png differ diff --git a/hide_cost_price/static/description/assets/modules/generated_po.png b/hide_cost_price/static/description/assets/modules/generated_po.png new file mode 100644 index 000000000..4aaf7e99a Binary files /dev/null and b/hide_cost_price/static/description/assets/modules/generated_po.png differ diff --git a/hide_cost_price/static/description/assets/modules/project_task_checksheet.png b/hide_cost_price/static/description/assets/modules/project_task_checksheet.png new file mode 100644 index 000000000..a371728b3 Binary files /dev/null and b/hide_cost_price/static/description/assets/modules/project_task_checksheet.png differ diff --git a/hide_cost_price/static/description/assets/modules/project_task_timer.png b/hide_cost_price/static/description/assets/modules/project_task_timer.png new file mode 100644 index 000000000..8eb268300 Binary files /dev/null and b/hide_cost_price/static/description/assets/modules/project_task_timer.png differ diff --git a/hide_cost_price/static/description/assets/modules/project_xls.png b/hide_cost_price/static/description/assets/modules/project_xls.png new file mode 100644 index 000000000..2c43716d5 Binary files /dev/null and b/hide_cost_price/static/description/assets/modules/project_xls.png differ diff --git a/hide_cost_price/static/description/assets/modules/quotation_image.png b/hide_cost_price/static/description/assets/modules/quotation_image.png new file mode 100644 index 000000000..499b1a72f Binary files /dev/null and b/hide_cost_price/static/description/assets/modules/quotation_image.png differ diff --git a/hide_cost_price/static/description/assets/modules/task_deadline.jpg b/hide_cost_price/static/description/assets/modules/task_deadline.jpg new file mode 100644 index 000000000..4117309c2 Binary files /dev/null and b/hide_cost_price/static/description/assets/modules/task_deadline.jpg differ diff --git a/hide_cost_price/static/description/assets/screenshots/1.png b/hide_cost_price/static/description/assets/screenshots/1.png new file mode 100644 index 000000000..191b953fd Binary files /dev/null and b/hide_cost_price/static/description/assets/screenshots/1.png differ diff --git a/hide_cost_price/static/description/assets/screenshots/2.png b/hide_cost_price/static/description/assets/screenshots/2.png new file mode 100644 index 000000000..dfc534e5e Binary files /dev/null and b/hide_cost_price/static/description/assets/screenshots/2.png differ diff --git a/hide_cost_price/static/description/assets/screenshots/3.png b/hide_cost_price/static/description/assets/screenshots/3.png new file mode 100644 index 000000000..fbcf4cdda Binary files /dev/null and b/hide_cost_price/static/description/assets/screenshots/3.png differ diff --git a/hide_cost_price/static/description/assets/screenshots/4.png b/hide_cost_price/static/description/assets/screenshots/4.png new file mode 100644 index 000000000..5059bcfc1 Binary files /dev/null and b/hide_cost_price/static/description/assets/screenshots/4.png differ diff --git a/hide_cost_price/static/description/assets/screenshots/5.png b/hide_cost_price/static/description/assets/screenshots/5.png new file mode 100644 index 000000000..9cdf6ab0b Binary files /dev/null and b/hide_cost_price/static/description/assets/screenshots/5.png differ diff --git a/hide_cost_price/static/description/assets/screenshots/hero.gif b/hide_cost_price/static/description/assets/screenshots/hero.gif new file mode 100644 index 000000000..d090d5cd6 Binary files /dev/null and b/hide_cost_price/static/description/assets/screenshots/hero.gif differ diff --git a/hide_cost_price/static/description/banner.jpg b/hide_cost_price/static/description/banner.jpg new file mode 100644 index 000000000..bf3f8670a Binary files /dev/null and b/hide_cost_price/static/description/banner.jpg differ diff --git a/hide_cost_price/static/description/icon.png b/hide_cost_price/static/description/icon.png new file mode 100644 index 000000000..e6e70ba32 Binary files /dev/null and b/hide_cost_price/static/description/icon.png differ diff --git a/hide_cost_price/static/description/index.html b/hide_cost_price/static/description/index.html new file mode 100644 index 000000000..3fd8fcf78 --- /dev/null +++ b/hide_cost_price/static/description/index.html @@ -0,0 +1,671 @@ +
+
+
+
+ +
+
+
+ Community +
+
+ Enterprise +
+
+ Odoo.sh +
+
+
+
+
+ +
+
+
+

+ Hide Cost Price

+

+ Cost price will be visible only for selected users + +

+ +
+
+ + + +
+
+

+ Overview +

+
+ +
+

+ With the module create a custom new group, add users to this + group and only the members of this group can view the cost + price of the product. +

+
+ +
+ + +
+
+

+ Features +

+
+ +
+
+ +
+
+

+ Cost price visibility restricted.

+
+
+ +
+
+ +
+
+

+ Visible only for the users in the group.

+
+
+ +
+
+ +
+
+

+ By default administrator will be added to this group.

+
+
+ +
+ +
+
+

+ Screenshots +

+
+
+

+ Adding user to the View Cost Price group

+

+ User will see the product cost price only if he is added in this + group. + +

+ +
+ +
+

+ Product form view with cost price

+

+ Product form view with cost price. +

+ +
+ +
+

+ Product tree view with cost price

+

+ Product tree view with cost price. +

+ +
+ + +
+

+ Product View for users not in the Group

+

+ Product form view without cost price. +

+ +
+ + +
+

+ Product tree view without cost price

+

+ Product tree view without cost price +

+ +
+ +
+ +
+
+

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?

+
+
+
+ + +
+ +
+ + +
+ +
+ +
+ +
+
+ +
+ +
+ +
+
+ +
+
+
+ + +
\ No newline at end of file diff --git a/hide_cost_price/views/product_product_views.xml b/hide_cost_price/views/product_product_views.xml new file mode 100644 index 000000000..531e7b113 --- /dev/null +++ b/hide_cost_price/views/product_product_views.xml @@ -0,0 +1,39 @@ + + + + + product.product.view.form.inherit.hide.cost.price + + product.product + + + + + hide_cost_price.hide_cost_price_group_user + + + + + hide_cost_price.hide_cost_price_group_user + + + + + + + product.product.view.tree.inherit.hide.cost.price + + product.product + + + + + hide_cost_price.hide_cost_price_group_user + + + + + \ No newline at end of file diff --git a/hide_cost_price/views/product_template_views.xml b/hide_cost_price/views/product_template_views.xml new file mode 100644 index 000000000..fbf8142cf --- /dev/null +++ b/hide_cost_price/views/product_template_views.xml @@ -0,0 +1,40 @@ + + + + + product.template.view.form.inherit.hide.cost.price + + product.template + + + + + hide_cost_price.hide_cost_price_group_user + + + + + hide_cost_price.hide_cost_price_group_user + + + + + + + product.template.view.tree.inherit.hide.cost.price + + product.template + + + + + hide_cost_price.hide_cost_price_group_user + + + + + \ No newline at end of file