diff --git a/account_payment_receipt/README.rst b/account_payment_receipt/README.rst deleted file mode 100644 index 2c042bcab..000000000 --- a/account_payment_receipt/README.rst +++ /dev/null @@ -1,10 +0,0 @@ -Account Payment Receipt v9 -========================== -This module will print payment receipts with paid details. - -Credits -======= -Cybrosys Techno Solutions -Author ------- -* Cybrosys Techno Solutions diff --git a/account_payment_receipt/__init__.py b/account_payment_receipt/__init__.py deleted file mode 100644 index be6313a49..000000000 --- a/account_payment_receipt/__init__.py +++ /dev/null @@ -1,23 +0,0 @@ -# -*- coding: utf-8 -*- -############################################################################## -# -# Cybrosys Technologies Pvt. Ltd. -# Copyright (C) 2009-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 . -# -############################################################################## -import models diff --git a/account_payment_receipt/__openerp__.py b/account_payment_receipt/__openerp__.py deleted file mode 100644 index 9f35429a2..000000000 --- a/account_payment_receipt/__openerp__.py +++ /dev/null @@ -1,42 +0,0 @@ -# -*- coding: utf-8 -*- -############################################################################## -# -# Cybrosys Technologies Pvt. Ltd. -# Copyright (C) 2009-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': 'Account Payment Receipt', - 'version': '0.1', - 'description': """Payment Receipt With Paid Details""", - 'summary': 'Payment Receipt With Paid Details', - 'author': 'Cybrosys Techno Solutions', - 'company': 'Cybrosys Techno Solutions', - 'website': 'http://www.cybrosys.com', - 'category': 'Accounting', - 'depends': ['base', 'account'], - 'data': [ - 'views/receipt_print_template.xml', - 'views/account_payment_print.xml', - ], - 'demo': [], - 'images': ['static/description/project_banner.jpg'], - 'license': 'AGPL-3', - 'installable': True, - 'auto_install': False, -} diff --git a/account_payment_receipt/models/__init__.py b/account_payment_receipt/models/__init__.py deleted file mode 100644 index 33720fea2..000000000 --- a/account_payment_receipt/models/__init__.py +++ /dev/null @@ -1,23 +0,0 @@ -# -*- coding: utf-8 -*- -############################################################################## -# -# Cybrosys Technologies Pvt. Ltd. -# Copyright (C) 2009-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 . -# -############################################################################## -import account_receipt_parser diff --git a/account_payment_receipt/models/account_receipt_parser.py b/account_payment_receipt/models/account_receipt_parser.py deleted file mode 100644 index a3c3679c7..000000000 --- a/account_payment_receipt/models/account_receipt_parser.py +++ /dev/null @@ -1,62 +0,0 @@ -# -*- coding: utf-8 -*- -############################################################################## -# -# Cybrosys Technologies Pvt. Ltd. -# Copyright (C) 2009-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 . -# -############################################################################## -from odoo.report import report_sxw -from odoo.osv import osv -from odoo import api -from odoo.http import request -import json - - -class AccountReceiptParser(report_sxw.rml_parse): - - def __init__(self, cr, uid, name, context=None): - super(AccountReceiptParser, self).__init__(cr, uid, name, context=context) - self.localcontext.update({ - 'get_details': self.get_details, - }) - self.context = context - - @api.multi - def get_details(self, doc): - lines = [] - acc_inv = request.env['account.invoice'] - acc_inv_rec = acc_inv.search([('number', '=', doc.number)]) - d = json.loads(acc_inv_rec.payments_widget) - for payment in d['content']: - vals = { - 'memo': payment['name'], - 'amount': payment['amount'], - 'method': payment['journal_name'], - 'date': payment['date'], - } - lines.append(vals) - return lines - - -class PrintReport(osv.AbstractModel): - _name = 'report.account_payment_receipt.report_payment' - _inherit = 'report.abstract_report' - _template = 'account_payment_receipt.report_payment' - _wrapped_report_class = AccountReceiptParser - - diff --git a/account_payment_receipt/static/description/banner.jpg b/account_payment_receipt/static/description/banner.jpg deleted file mode 100644 index d76cdd554..000000000 Binary files a/account_payment_receipt/static/description/banner.jpg and /dev/null differ diff --git a/account_payment_receipt/static/description/customer_invoice_form_view.png b/account_payment_receipt/static/description/customer_invoice_form_view.png deleted file mode 100644 index 0af91bed4..000000000 Binary files a/account_payment_receipt/static/description/customer_invoice_form_view.png and /dev/null differ diff --git a/account_payment_receipt/static/description/customer_receipt.png b/account_payment_receipt/static/description/customer_receipt.png deleted file mode 100644 index 7f0a34cb7..000000000 Binary files a/account_payment_receipt/static/description/customer_receipt.png and /dev/null differ diff --git a/account_payment_receipt/static/description/cybro_logo.png b/account_payment_receipt/static/description/cybro_logo.png deleted file mode 100644 index bb309114c..000000000 Binary files a/account_payment_receipt/static/description/cybro_logo.png and /dev/null differ diff --git a/account_payment_receipt/static/description/icon.png b/account_payment_receipt/static/description/icon.png deleted file mode 100644 index b646dbde0..000000000 Binary files a/account_payment_receipt/static/description/icon.png and /dev/null differ diff --git a/account_payment_receipt/static/description/index.html b/account_payment_receipt/static/description/index.html deleted file mode 100644 index e15ef9b1d..000000000 --- a/account_payment_receipt/static/description/index.html +++ /dev/null @@ -1,103 +0,0 @@ -
-
-

Payment Receipt Report

-

Customer Receipts & Vendor Payment Report

-

Cybrosys Techno Solutions, www.cybrosys.com

-
-
-
-
-
- ☀ Generate Customer invoice receipt with payment details.
- ☀ Generate Vendor receipt with payment details.
-
-
-
-

Customer Receipts

-

Customer Receipts Form View

-
-

-
-

-
- -
-
-
-
-

Customer Receipt Print

-
-

-
-

-
- -
-
-
-
-

Customer Receipt Report

-
-

-
-

-
- -
-
-
-
-
-
-

Vendor Receipts

-

Vendor Receipts Form View

-
-

-
-

-
- -
-
-
-
-

Vendor Receipt Print

-
-

-
-

-
- -
-
-
-
-

Vendor Receipt Report

-
-

-
-

-
- -
-
-
-
- -
-

Need Any Help?

- - -
- - diff --git a/account_payment_receipt/static/description/receipt_print_customer.png b/account_payment_receipt/static/description/receipt_print_customer.png deleted file mode 100644 index 68ac64059..000000000 Binary files a/account_payment_receipt/static/description/receipt_print_customer.png and /dev/null differ diff --git a/account_payment_receipt/static/description/vendor_invoice_form.png b/account_payment_receipt/static/description/vendor_invoice_form.png deleted file mode 100644 index b61e73b09..000000000 Binary files a/account_payment_receipt/static/description/vendor_invoice_form.png and /dev/null differ diff --git a/account_payment_receipt/static/description/vendor_print_button.png b/account_payment_receipt/static/description/vendor_print_button.png deleted file mode 100644 index 15e38d4e7..000000000 Binary files a/account_payment_receipt/static/description/vendor_print_button.png and /dev/null differ diff --git a/account_payment_receipt/static/description/vendor_receipt.png b/account_payment_receipt/static/description/vendor_receipt.png deleted file mode 100644 index 8d0603df2..000000000 Binary files a/account_payment_receipt/static/description/vendor_receipt.png and /dev/null differ diff --git a/account_payment_receipt/views/account_payment_print.xml b/account_payment_receipt/views/account_payment_print.xml deleted file mode 100644 index 34320d2ca..000000000 --- a/account_payment_receipt/views/account_payment_print.xml +++ /dev/null @@ -1,22 +0,0 @@ - - - - - - - - - diff --git a/account_payment_receipt/views/receipt_print_template.xml b/account_payment_receipt/views/receipt_print_template.xml deleted file mode 100644 index dc75eaf01..000000000 --- a/account_payment_receipt/views/receipt_print_template.xml +++ /dev/null @@ -1,83 +0,0 @@ - - - - diff --git a/product_stock_balance/__init__.py b/product_stock_balance/__init__.py deleted file mode 100644 index bff786c08..000000000 --- a/product_stock_balance/__init__.py +++ /dev/null @@ -1 +0,0 @@ -import models diff --git a/product_stock_balance/__openerp__.py b/product_stock_balance/__openerp__.py deleted file mode 100644 index 7ae0b274c..000000000 --- a/product_stock_balance/__openerp__.py +++ /dev/null @@ -1,44 +0,0 @@ -# -*- coding: utf-8 -*- -############################################################################## -# -# Cybrosys Technologies Pvt. Ltd. -# Copyright (C) 2009-TODAY Cybrosys Technologies(). -# Author: Sreejith P() -# 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': 'Available Stock in Product', - 'version': '0.3', - 'author': 'Cybrosys Techno Solutions', - 'company': 'Cybrosys Techno Solutions', - 'website': 'http://www.cybrosys.com', - 'summary': 'Estimate Inventory Levels By Warehouses in Product Form', - 'depends': [ - 'product', - 'stock' - ], - 'category': 'Warehouse', - 'data': [ - 'views/product_internal_stock.xml', - 'security/ir.model.access.csv', - ], - 'demo': [], - 'license': 'AGPL-3', - 'images': ['static/description/banner.jpg'], - 'installable': True, - 'auto_install': False -} diff --git a/product_stock_balance/models/__init__.py b/product_stock_balance/models/__init__.py deleted file mode 100644 index 98487e59c..000000000 --- a/product_stock_balance/models/__init__.py +++ /dev/null @@ -1,24 +0,0 @@ -# -*- coding: utf-8 -*- -############################################################################## -# -# Cybrosys Technologies Pvt. Ltd. -# Copyright (C) 2009-TODAY Cybrosys Technologies(). -# Author: Sreejith P() -# 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 . -# -############################################################################## - -import product_internal_master diff --git a/product_stock_balance/models/product_internal_master.py b/product_stock_balance/models/product_internal_master.py deleted file mode 100644 index 561991b82..000000000 --- a/product_stock_balance/models/product_internal_master.py +++ /dev/null @@ -1,61 +0,0 @@ -# -*- coding: utf-8 -*- -############################################################################## -# -# Cybrosys Technologies Pvt. Ltd. -# Copyright (C) 2009-TODAY Cybrosys Technologies(). -# Author: Sreejith P() -# 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 . -# -############################################################################## - -from openerp import fields, models, api - - -class ProductForm(models.Model): - _inherit = 'product.template' - - internal_location = fields.One2many('stock.quantity', 'product_id', compute='get_product_qty') - - def get_product_qty(self): - location_list = [] - product_list = [] - obj_location = self.env['stock.location'].search([('usage', '=', 'internal')]) - for i in obj_location: - location_list.append(i.id) - obj_product = self.env['product.product'].search([('product_tmpl_id', '=', self.id)]) - for i in obj_product: - obj_quant = self.env['stock.quant'].search([('product_id', '=', i.id), - ('location_id', 'in', location_list)]) - for obj in obj_quant: - print obj.location_id.id - move_line = {'product_id': obj.product_id.id, - 'stock_location': obj.location_id.id, - 'qty_on_hand': obj.qty, - } - product_list.append(move_line) - for i in product_list: - self.internal_location |= self.env['stock.quantity'].create(i) - - -class InternalLocation(models.Model): - _name = 'stock.quantity' - - stock_location = fields.Many2one('stock.location', string='Location Name') - qty_on_hand = fields.Float('On Hand') - forecast = fields.Float('Forecast') - incoming_qty = fields.Float('Incoming Quantity') - outgoing_qty = fields.Float('Outgoing Quantity') - product_id = fields.Many2one('product.template', string='Product') diff --git a/product_stock_balance/security/ir.model.access.csv b/product_stock_balance/security/ir.model.access.csv deleted file mode 100644 index 8a04f4274..000000000 --- a/product_stock_balance/security/ir.model.access.csv +++ /dev/null @@ -1,2 +0,0 @@ -id,name,model_id:id,group_id:id,perm_read,perm_write,perm_create,perm_unlink -access_internal_stock,internal.stock,model_stock_quantity,base.group_user,1,1,1,1 diff --git a/product_stock_balance/static/description/banner.jpg b/product_stock_balance/static/description/banner.jpg deleted file mode 100644 index b93be7d85..000000000 Binary files a/product_stock_balance/static/description/banner.jpg and /dev/null differ diff --git a/product_stock_balance/static/description/cybro_logo.png b/product_stock_balance/static/description/cybro_logo.png deleted file mode 100644 index bb309114c..000000000 Binary files a/product_stock_balance/static/description/cybro_logo.png and /dev/null differ diff --git a/product_stock_balance/static/description/dev.png b/product_stock_balance/static/description/dev.png deleted file mode 100644 index 67122a461..000000000 Binary files a/product_stock_balance/static/description/dev.png and /dev/null differ diff --git a/product_stock_balance/static/description/icon.png b/product_stock_balance/static/description/icon.png deleted file mode 100644 index 8d899d183..000000000 Binary files a/product_stock_balance/static/description/icon.png and /dev/null differ diff --git a/product_stock_balance/static/description/index.html b/product_stock_balance/static/description/index.html deleted file mode 100644 index 6a71645cf..000000000 --- a/product_stock_balance/static/description/index.html +++ /dev/null @@ -1,56 +0,0 @@ -
-
-
-

Stock Balance by Locations

-

Estimate inventory levels by warehouses in Product Form

-

Author : Cybrosys Techno Solutions , www.cybrosys.com

-
-
-
-
- -
-
-
-

-

☀ The app goal is to provide you with instant outlook of how many units of this product are stocked at internal location.

-

-
-
-
- -
-
-
-

-

☛ The estimation is provided right on a product form (the tab Inventory) as a table, where each line represents an internal location

-

-
-
-
- -
-
-
-
- -
-

Need Any Help?

- - -
- - - - - diff --git a/product_stock_balance/static/description/product_master.jpg b/product_stock_balance/static/description/product_master.jpg deleted file mode 100644 index 70657fa9d..000000000 Binary files a/product_stock_balance/static/description/product_master.jpg and /dev/null differ diff --git a/product_stock_balance/views/product_internal_stock.xml b/product_stock_balance/views/product_internal_stock.xml deleted file mode 100644 index 697706221..000000000 --- a/product_stock_balance/views/product_internal_stock.xml +++ /dev/null @@ -1,21 +0,0 @@ - - - - - Product Locations - product.template - - - - - - - - - - - - - - - \ No newline at end of file