diff --git a/product_variant_cost_price/README.rst b/product_variant_cost_price/README.rst new file mode 100644 index 000000000..935b2b8a3 --- /dev/null +++ b/product_variant_cost_price/README.rst @@ -0,0 +1,35 @@ +Product Variant Cost Price v10 +============================== +This Cybrosys's module allows you to set different cost price for the variants of a same +product. By default this feature is not available. But it was available in the enterprise +edition + +Installation +============ +- www.odoo.com/documentation/11.0/setup/install.html +- Install our custom addon + +License +======= +GNU LESSER GENERAL PUBLIC LICENSE, Version 3 (LGPLv3) +(http://www.gnu.org/licenses/agpl.html) + +Bug Tracker +=========== +Bugs are tracked on GitHub Issues. In case of trouble, please check there if your issue has already been reported. + +Credits +======= +* Cybrosys Techno Solutions + +Author +------ + +Developer: Niyas Raphy @ cybrosys, niyas@cybrosys.in + +Maintainer +---------- + +This module is maintained by Cybrosys Technologies. + +For support and more information, please visit https://www.cybrosys.com. diff --git a/product_variant_cost_price/__init__.py b/product_variant_cost_price/__init__.py new file mode 100644 index 000000000..e20c2f38e --- /dev/null +++ b/product_variant_cost_price/__init__.py @@ -0,0 +1,21 @@ +# -*- coding: utf-8 -*- +################################################################################### +# +# Cybrosys Technologies Pvt. Ltd. +# Copyright (C) 2017-TODAY Cybrosys Technologies(). +# Author: Niyas Raphy() +# +# 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/product_variant_cost_price/__manifest__.py b/product_variant_cost_price/__manifest__.py new file mode 100644 index 000000000..54efa8b57 --- /dev/null +++ b/product_variant_cost_price/__manifest__.py @@ -0,0 +1,40 @@ +# -*- coding: utf-8 -*- +################################################################################### +# +# Cybrosys Technologies Pvt. Ltd. +# Copyright (C) 2017-TODAY Cybrosys Technologies(). +# Author: Niyas Raphy() +# +# 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': 'Product Variant Cost Price', + 'version': '10.0.1.0.0', + 'summary': 'This Module Help You to Set Different Cost Price for The Variants of The Same Product in Odoo Community Edition', + 'author': 'Cybrosys Techno Solutions', + 'company': 'Cybrosys Techno Solutions', + 'maintainer': 'Cybrosys Techno Solutions', + 'website': 'https://www.cybrosys.com', + 'depends': ['purchase'], + 'category': 'Tools', + 'demo': [], + 'data': ['views/variant_price.xml'], + 'license': 'AGPL-3', + 'images': ['static/description/banner.jpg'], + 'installable': True, + 'application': False, + 'auto_install': False, +} diff --git a/product_variant_cost_price/static/description/banner.jpg b/product_variant_cost_price/static/description/banner.jpg new file mode 100644 index 000000000..8cd3901ba Binary files /dev/null and b/product_variant_cost_price/static/description/banner.jpg differ diff --git a/product_variant_cost_price/static/description/cybro_logo.png b/product_variant_cost_price/static/description/cybro_logo.png new file mode 100644 index 000000000..bb309114c Binary files /dev/null and b/product_variant_cost_price/static/description/cybro_logo.png differ diff --git a/product_variant_cost_price/static/description/icon.png b/product_variant_cost_price/static/description/icon.png new file mode 100644 index 000000000..55d233360 Binary files /dev/null and b/product_variant_cost_price/static/description/icon.png differ diff --git a/product_variant_cost_price/static/description/index.html b/product_variant_cost_price/static/description/index.html new file mode 100644 index 000000000..a43715f7d --- /dev/null +++ b/product_variant_cost_price/static/description/index.html @@ -0,0 +1,79 @@ +
+
+

Product Variant Cost Price

+

+

Cybrosys Technologies

+
+
+
+ Add option to set different cost price for variants
+ Works in Community edition
+ Feature is there in Enterprise edition
+
+
+
+ +
+
+
+

Overview

+

+ By default, there is no option to set different cost price for the variants of + the same product in Odoo community edition. What we can do is set same cost price + for all variants. But in real cases, it may not be helpful. ‘Product Variant Cost + Price’ module bring this feature to community edition + +

+
+
+
+ +
+
+
+

+

Working

+

+

+
+
+ +
+
+
+

+ First, install the module and activate the product variants feature from product + variants menu, Sales -> Sales -> Product Variants. Now open a product variant + form, go to inventory tab. To set cost price, click on the Vendors section, a + new field will be available there to set the cost price of the product. +

+
+
+
+ + +
+

Need Any Help?

+ +
diff --git a/product_variant_cost_price/static/description/variant_price.gif b/product_variant_cost_price/static/description/variant_price.gif new file mode 100644 index 000000000..756447d9f Binary files /dev/null and b/product_variant_cost_price/static/description/variant_price.gif differ diff --git a/product_variant_cost_price/views/variant_price.xml b/product_variant_cost_price/views/variant_price.xml new file mode 100644 index 000000000..3a5820d9a --- /dev/null +++ b/product_variant_cost_price/views/variant_price.xml @@ -0,0 +1,15 @@ + + + + + product.supplierinfo.form.inherit + product.supplierinfo + + + + 0 + + + + +