Browse Source

[ADD] Initial Commit

pull/57/head
Sreejith 7 years ago
parent
commit
c52d0dfc02
  1. 35
      product_variant_cost_price/README.rst
  2. 21
      product_variant_cost_price/__init__.py
  3. 40
      product_variant_cost_price/__manifest__.py
  4. BIN
      product_variant_cost_price/static/description/banner.jpg
  5. BIN
      product_variant_cost_price/static/description/cybro_logo.png
  6. BIN
      product_variant_cost_price/static/description/icon.png
  7. 79
      product_variant_cost_price/static/description/index.html
  8. BIN
      product_variant_cost_price/static/description/variant_price.gif
  9. 15
      product_variant_cost_price/views/variant_price.xml

35
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<https://www.cybrosys.com>
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.

21
product_variant_cost_price/__init__.py

@ -0,0 +1,21 @@
# -*- coding: utf-8 -*-
###################################################################################
#
# Cybrosys Technologies Pvt. Ltd.
# Copyright (C) 2017-TODAY Cybrosys Technologies(<https://www.cybrosys.com>).
# Author: Niyas Raphy(<https://www.cybrosys.com>)
#
# 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 <http://www.gnu.org/licenses/>.
#
###################################################################################

40
product_variant_cost_price/__manifest__.py

@ -0,0 +1,40 @@
# -*- coding: utf-8 -*-
###################################################################################
#
# Cybrosys Technologies Pvt. Ltd.
# Copyright (C) 2017-TODAY Cybrosys Technologies(<https://www.cybrosys.com>).
# Author: Niyas Raphy(<https://www.cybrosys.com>)
#
# 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 <http://www.gnu.org/licenses/>.
#
###################################################################################
{
'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,
}

BIN
product_variant_cost_price/static/description/banner.jpg

Binary file not shown.

After

Width:  |  Height:  |  Size: 141 KiB

BIN
product_variant_cost_price/static/description/cybro_logo.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 50 KiB

BIN
product_variant_cost_price/static/description/icon.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 35 KiB

79
product_variant_cost_price/static/description/index.html

@ -0,0 +1,79 @@
<section class="oe_container">
<div class="oe_row oe_spaced">
<h2 class="oe_slogan">Product Variant Cost Price</h2>
<h3 class="oe_slogan"></h3>
<h4 class="oe_slogan"><a href="https://www.cybrosys.com">Cybrosys Technologies</a> </h4>
</div>
<div class="oe_row oe_spaced" style="padding-left:65px;">
<div>
<span style="color:green;"> &#9745; </span> Add option to set different cost price for variants<br/>
<span style="color:green;"> &#9745; </span> Works in Community edition<br/>
<span style="color:green;"> &#9745; </span> Feature is there in Enterprise edition<br/>
</div>
</div>
</section>
<section class="oe_container oe_dark">
<div class="oe_row oe_spaced">
<div class="oe_picture">
<h3 class="oe_slogan">Overview</h3>
<p class="oe_mt32 text-justify" style="text-align: center;">
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
</p>
</div>
</div>
</section>
<section class="oe_container">
<div class="oe_row oe_spaced">
<div style="text-align: center;">
<p>
<h4>Working</h4>
<p>
</div>
<div style="text-align: center;">
<div class="oe_demo oe_picture oe_screenshot">
<img style="border:10px solid white;height:400px;" src="variant_price.gif">
</div>
</div>
<div style="text-align: center;">
<p>
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.
</p>
</div>
</div>
</section>
<section class="oe_container oe_dark">
<h2 class="oe_slogan" style="margin-top:20px;" >Need Any Help?</h2>
<div class="oe_slogan" style="margin-top:10px !important;">
<div>
<a class="btn btn-primary btn-lg mt8"
style="color: #FFFFFF !important;border-radius: 0;" href="https://www.cybrosys.com"><i
class="fa fa-envelope"></i> Email </a> <a
class="btn btn-primary btn-lg mt8" style="color: #FFFFFF !important;border-radius: 0;"
href="https://www.cybrosys.com/contact/"><i
class="fa fa-phone"></i> Contact Us </a> <a
class="btn btn-primary btn-lg mt8" style="color: #FFFFFF !important;border-radius: 0;"
href="https://www.cybrosys.com/odoo-customization-and-installation/"><i
class="fa fa-check-square"></i> Request Customization </a>
</div>
<br>
<img src="cybro_logo.png" style="width: 190px; margin-bottom: 20px;" class="center-block">
<div>
<a href="https://twitter.com/cybrosys" target="_blank"><i class="fa fa-2x fa-twitter" style="color:white;background: #00a0d1;width:35px;"></i></a></td>
<a href="https://www.linkedin.com/company/cybrosys-technologies-pvt-ltd" target="_blank"><i class="fa fa-2x fa-linkedin" style="color:white;background: #31a3d6;width:35px;padding-left: 3px;"></i></a></td>
<a href="https://www.facebook.com/cybrosystechnologies" target="_blank"><i class="fa fa-2x fa-facebook" style="color:white;background: #3b5998;width:35px;padding-left: 8px;"></i></a></td>
<a href="https://plus.google.com/106641282743045431892/about" target="_blank"><i class="fa fa-2x fa-google-plus" style="color:white;background: #c53c2c;width:35px;padding-left: 3px;"></i></a></td>
<a href="https://in.pinterest.com/cybrosys" target="_blank"><i class="fa fa-2x fa-pinterest" style="color:white;background: #ac0f18;width:35px;padding-left: 3px;"></i></a></td>
</div>
</div>
</section>

BIN
product_variant_cost_price/static/description/variant_price.gif

Binary file not shown.

After

Width:  |  Height:  |  Size: 110 KiB

15
product_variant_cost_price/views/variant_price.xml

@ -0,0 +1,15 @@
<?xml version="1.0" encoding="UTF-8"?>
<odoo>
<data>
<record id="product_supplierinfo_form_view_inherit" model="ir.ui.view">
<field name="name">product.supplierinfo.form.inherit</field>
<field name="model">product.supplierinfo</field>
<field name="inherit_id" ref="product.product_supplierinfo_form_view"/>
<field name="arch" type="xml">
<xpath expr="//field[@name='product_id']" position="attributes">
<attribute name="invisible">0</attribute>
</xpath>
</field>
</record>
</data>
</odoo>
Loading…
Cancel
Save