From 692f8129f831a65026b85ff35c1b3b6ec260e41d Mon Sep 17 00:00:00 2001 From: Ajmal JK Date: Tue, 10 Mar 2020 10:00:19 +0530 Subject: [PATCH] [UPDT] cost hidden for product variants 'hide_cost_price' --- hide_cost_price/__manifest__.py | 2 +- hide_cost_price/__manifest__.py~ | 43 ---------- hide_cost_price/doc/RELEASE_NOTES.md | 11 +++ hide_cost_price/security/view_cost_price.xml | 2 +- .../static/description/index.html~ | 82 ------------------- hide_cost_price/views/hide_product_cost.xml | 29 +++++++ 6 files changed, 42 insertions(+), 127 deletions(-) delete mode 100644 hide_cost_price/__manifest__.py~ create mode 100644 hide_cost_price/doc/RELEASE_NOTES.md delete mode 100644 hide_cost_price/static/description/index.html~ diff --git a/hide_cost_price/__manifest__.py b/hide_cost_price/__manifest__.py index c1d90d71a..cb4658e1a 100644 --- a/hide_cost_price/__manifest__.py +++ b/hide_cost_price/__manifest__.py @@ -24,7 +24,7 @@ { 'name': 'Hide Product Cost Price', 'summary': """Product Cost Price Will be Visible Only for Specified Group""", - 'version': '12.0.1.0.0', + 'version': '12.0.1.1.0', 'description': """Product cost price will be visible only for specified group""", 'author': 'Cybrosys Techno Solutions', 'company': 'Cybrosys Techno Solutions', diff --git a/hide_cost_price/__manifest__.py~ b/hide_cost_price/__manifest__.py~ deleted file mode 100644 index cba482d02..000000000 --- a/hide_cost_price/__manifest__.py~ +++ /dev/null @@ -1,43 +0,0 @@ -# -*- coding: utf-8 -*- -############################################################################## -# -# Cybrosys Technologies Pvt. Ltd. -# Copyright (C) 2017-TODAY Cybrosys Technologies(). -# Author: Niyas Raphy() -# you can modify it under the terms of the GNU LESSER -# GENERAL PUBLIC LICENSE (LGPL v3), Version 3. -# -# It is forbidden to publish, distribute, sublicense, or sell copies -# of the Software or modified copies of the Software. -# -# 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 -# GENERAL PUBLIC LICENSE (LGPL v3) along with this program. -# If not, see . -# -############################################################################## -{ - 'name': 'Hide Product Cost Price', - 'summary': """Product Cost Price Will be Visible Only for Specified Users in the Group""", - 'version': '10.0.1.0.0', - 'description': """Product cost price will be visible only users in group""", - 'author': 'Cybrosys Techno Solutions', - 'company': 'Cybrosys Techno Solutions', - 'website': 'http://www.cybrosys.com', - 'category': 'Sales', - 'depends': ['base', 'purchase'], - 'license': 'AGPL-3', - 'data': [ - 'security/view_cost_price.xml', - 'views/hide_product_cost.xml' - ], - 'images': ['static/description/banner.jpg'], - 'demo': [], - 'installable': True, - 'auto_install': False, - -} diff --git a/hide_cost_price/doc/RELEASE_NOTES.md b/hide_cost_price/doc/RELEASE_NOTES.md new file mode 100644 index 000000000..55754baf8 --- /dev/null +++ b/hide_cost_price/doc/RELEASE_NOTES.md @@ -0,0 +1,11 @@ +## Module + +#### 02.04.2019 +#### Version 12.0.1.0.0 +##### ADD +- Initial commit for Dynamic reports pdf. + +#### 10.03.2020 +#### Version 12.0.1.1.0 +##### UPDT +- Cost price hidden for product variant also (for product.product model) diff --git a/hide_cost_price/security/view_cost_price.xml b/hide_cost_price/security/view_cost_price.xml index f0f204f9b..7e9bef790 100644 --- a/hide_cost_price/security/view_cost_price.xml +++ b/hide_cost_price/security/view_cost_price.xml @@ -4,7 +4,7 @@ View Cost Price - + diff --git a/hide_cost_price/static/description/index.html~ b/hide_cost_price/static/description/index.html~ deleted file mode 100644 index 7f747cbbb..000000000 --- a/hide_cost_price/static/description/index.html~ +++ /dev/null @@ -1,82 +0,0 @@ -
-
-

Birthday Notification By E-mail

-

This module will wish the employees on their birthday

- -

Author : Cybrosys Techno Solutions , www.cybrosys.com

-
-

Features:

-
    -
  •    Adds a cron job to invoke email
  • -
  •    Adds an email template
  • -
-
-
-
- -
-
-
-

Overview

-

- HR departments need not worry to wish their employees for their Birthday. In this module we have included the feature to send an email Birthday notification to the employee. -

-
-
-
- -
-
-

Employee Form

-
-

- ☛ Give Date of Birth for employee.
- ☛ Give work email.
-

-
- -
-
-
-
- -
-
-

Email Template

-
-

- ☛ The cron job will invoke the email
- ☛ Email template is very simple
-

-
- -
-
-
-
- -
-

Need Any Help?

- -
diff --git a/hide_cost_price/views/hide_product_cost.xml b/hide_cost_price/views/hide_product_cost.xml index 464ff22cb..5e362858c 100644 --- a/hide_cost_price/views/hide_product_cost.xml +++ b/hide_cost_price/views/hide_product_cost.xml @@ -1,6 +1,7 @@ + product.template.cost @@ -15,6 +16,22 @@ + + + + product.product.cost + product.product + + + + hide_cost_price.view_cost_price + + + hide_cost_price.view_cost_price + + + + product.template.cost @@ -25,6 +42,18 @@ hide_cost_price.view_cost_price + + + + + product.product.cost + product.product + + + + hide_cost_price.view_cost_price + +