Browse Source

[ADD]Initial Commit

pull/29/head
SHEREEF PT 8 years ago
parent
commit
951ec5a13a
  1. 11
      total_payable_receivable/README.rst
  2. 22
      total_payable_receivable/__init__.py
  3. 41
      total_payable_receivable/__manifest__.py
  4. BIN
      total_payable_receivable/static/description/amount_total.png
  5. BIN
      total_payable_receivable/static/description/banner.jpg
  6. BIN
      total_payable_receivable/static/description/cybro_logo.png
  7. BIN
      total_payable_receivable/static/description/icon.png
  8. 48
      total_payable_receivable/static/description/index.html
  9. 47
      total_payable_receivable/static/description/index.html~
  10. 19
      total_payable_receivable/views/total_payable_receivable_view.xml
  11. 15
      total_payable_receivable/views/total_payable_view.xml~

11
total_payable_receivable/README.rst

@ -0,0 +1,11 @@
Total Payable & Receivable v10
==============================
This module will make total payable and receivable field in customer and vendor form visible without activating developer mode
Credits
=======
Cybrosys Techno Solutions
Contributors
------------
* Niyas Raphy & Nilmar Shereef, Cybrosys <www.cybrosys.com>

22
total_payable_receivable/__init__.py

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

41
total_payable_receivable/__manifest__.py

@ -0,0 +1,41 @@
# -*- coding: utf-8 -*-
##############################################################################
#
# Cybrosys Technologies Pvt. Ltd.
# Copyright (C) 2017-TODAY Cybrosys Technologies(<http://www.cybrosys.com>).
# Author: Niyas Raphy(<http://www.cybrosys.com>)
# 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 <http://www.gnu.org/licenses/>.
#
##############################################################################
{
'name': 'Payable And Receivable Amount',
'summary': """Amount Payable & Receivable In Partner Form""",
'version': '10.0.1.0.0',
'description': """Amount Payable & Receivable In Partner Form""",
'author': 'Cybrosys Techno Solutions',
'company': 'Cybrosys Techno Solutions',
'website': 'http://www.cybrosys.com',
'category': 'Accounting',
'depends': ['base'],
'license': 'LGPL-3',
'data': [
'views/total_payable_receivable_view.xml',
],
'demo': [],
'images': ['static/description/banner.jpg'],
'installable': True,
'auto_install': False,
}

BIN
total_payable_receivable/static/description/amount_total.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 70 KiB

BIN
total_payable_receivable/static/description/banner.jpg

Binary file not shown.

After

Width:  |  Height:  |  Size: 66 KiB

BIN
total_payable_receivable/static/description/cybro_logo.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 50 KiB

BIN
total_payable_receivable/static/description/icon.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 8.5 KiB

48
total_payable_receivable/static/description/index.html

@ -0,0 +1,48 @@
<section class="oe_container">
<div class="oe_row oe_spaced">
<h2 class="oe_slogan">Payable And Receivable Amounts</h2>
<h3 class="oe_slogan">It shows total payable & receivable amount in partner form</h3>
<h4 class="oe_slogan">Author : Cybrosys Techno Solutions , www.cybrosys.com</h4>
</div>
</section>
<section>
<div class="oe_row oe_spaced oe_dark">
<h4 class="oe_slogan">Partner Form</h4>
<div class="oe_span12">
<p class='oe_mt32'>
&#x261B; Amount payable and receivable is shown in the partner form<br>
&#x261B; No need to activate the developer mode to view this<br>
</p>
<div class="oe_row_img oe_centered">
<img class="oe_picture oe_screenshot" src="amount_total.png">
</div>
</div>
</div>
</section>
<section class="oe_container">
<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="http://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="http://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="http://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>

47
total_payable_receivable/static/description/index.html~

@ -0,0 +1,47 @@
<section class="oe_container">
<div class="oe_row oe_spaced">
<h2 class="oe_slogan">Change Password Option To Users</h2>
<h3 class="oe_slogan">It gives an option to change their own password </h3>
<h4 class="oe_slogan">Author : Cybrosys Techno Solutions , www.cybrosys.com</h4>
</div>
</section>
<section>
<div class="oe_row oe_spaced oe_dark">
<h4 class="oe_slogan">User Changing Password</h4>
<div class="oe_span12">
<p class='oe_mt32'>
&#x261B; User can change password from his own account<br>
</p>
<div class="oe_row_img oe_centered">
<img class="oe_picture oe_screenshot" src="new_change_password.png">
</div>
</div>
</div>
</section>
<section class="oe_container">
<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="http://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="http://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="http://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>

19
total_payable_receivable/views/total_payable_receivable_view.xml

@ -0,0 +1,19 @@
<?xml version="1.0"?>
<odoo>
<data>
<record model="ir.ui.view" id="res_partner_total_payable_receivable">
<field name="name">res.partner</field>
<field name="model">res.partner</field>
<field name="inherit_id" ref="base.view_partner_form" />
<field name="arch" type="xml">
<xpath expr="//field[@name='debit']" position="replace">
<field name="debit"/>
</xpath>
<xpath expr="//field[@name='credit']" position="replace">
<field name="credit"/>
</xpath>
</field>
</record>
</data>
</odoo>

15
total_payable_receivable/views/total_payable_view.xml~

@ -0,0 +1,15 @@
<?xml version="1.0"?>
<odoo>
<data>
<record model="ir.ui.view" id="res_partner_total_payable">
<field name="name">res.partner.inherit</field>
<field name="model">res.partner</field>
<field name="inherit_id" ref="base.view_partner_form" />
<field name="arch" type="xml">
<field name="debit" position="replace">
<field name="debit"/>
</field>
</field>
</record>
</data>
</odoo>
Loading…
Cancel
Save