diff --git a/pantry_payroll/README.rst b/pantry_payroll/README.rst new file mode 100755 index 000000000..e72a735fe --- /dev/null +++ b/pantry_payroll/README.rst @@ -0,0 +1,48 @@ +.. image:: https://img.shields.io/badge/license-AGPL--3-blue.svg + :target: https://www.gnu.org/licenses/agpl-3.0-standalone.html + :alt: License: AGPL-3 + +Payroll Management In Pantry +============================ +This module allow us to manage payroll in pantry. + +Configuration +============= +* No additional configuration required + +Company +------- +*`Cybrosys Techno Solutions `__ + +License +------- +General Public License, version 3 (AGPL v3). +(https://www.gnu.org/licenses/agpl-3.0-standalone.html) + +Credits +------- +* Developer : (V15) Bhagyadev KP +* Contact: odoo@cybrosys.com + +Contacts +-------- +* Mail Contact : odoo@cybrosys.com +* Website : https://cybrosys.com + +Bug Tracker +----------- +Bugs are tracked on GitHub Issues. In case of trouble, please check there if +your issue has already been reported. + +Maintainer +========== +.. image:: https://cybrosys.com/images/logo.png + :target: https://cybrosys.com + +This module is maintained by Cybrosys Technologies. + +For further information, please visit `Our Website `__ + +Further information +=================== +HTML Description: ``__ diff --git a/pantry_payroll/__init__.py b/pantry_payroll/__init__.py new file mode 100755 index 000000000..3415190f3 --- /dev/null +++ b/pantry_payroll/__init__.py @@ -0,0 +1,22 @@ +# -*- coding: utf-8 -*- +################################################################################ +# +# Cybrosys Technologies Pvt. Ltd. +# Copyright (C) 2024-TODAY Cybrosys Technologies(). +# Author: Bhagyadev K P() +# +# 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 . +# +################################################################################ +from . import models diff --git a/pantry_payroll/__manifest__.py b/pantry_payroll/__manifest__.py new file mode 100755 index 000000000..c8966774c --- /dev/null +++ b/pantry_payroll/__manifest__.py @@ -0,0 +1,50 @@ +# -*- coding: utf-8 -*- +################################################################################ +# +# Cybrosys Technologies Pvt. Ltd. +# Copyright (C) 2024-TODAY Cybrosys Technologies(). +# Author: Bhagyadev K P() +# +# 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': 'Payroll Management In Pantry', + 'version': '15.0.1.0.0', + 'category': 'Human Resources', + 'summary': """Efficiently oversee payroll operations by factoring in + pantry expenditures through seamless deductions""", + 'description': """This app will allow us to Manage Payroll of Pantry. + While creating Employee Payslip ,Salary Rule will be Added to that + Employee. The Amount of Product will Deduct from Salary.""", + 'author': 'Cybrosys Techno Solutions', + 'company': 'Cybrosys Techno Solutions', + 'maintainer': 'Cybrosys Techno Solutions', + 'website': "http://www.cybrosys.com", + 'depends': ['sale', 'hr_payroll_community'], + 'data': [ + 'security/pantry_payroll_security.xml', + 'security/ir.model.access.csv', + 'data/salary_rule_data.xml', + 'data/ir_sequence_data.xml', + 'views/product_product_views.xml', + 'views/product_template_views.xml', + 'views/pantry_order_views.xml', + ], + 'images': ['static/description/banner.jpg'], + 'license': 'AGPL-3', + 'installable': True, + 'auto_install': False, + 'application': False, +} diff --git a/pantry_payroll/data/ir_sequence_data.xml b/pantry_payroll/data/ir_sequence_data.xml new file mode 100755 index 000000000..ff31ceadd --- /dev/null +++ b/pantry_payroll/data/ir_sequence_data.xml @@ -0,0 +1,15 @@ + + + + + + Pantry Order sequence + pantry.order + TRUE + PAO/ + 1 + 1 + 4 + + + diff --git a/pantry_payroll/data/salary_rule_data.xml b/pantry_payroll/data/salary_rule_data.xml new file mode 100755 index 000000000..1dce08433 --- /dev/null +++ b/pantry_payroll/data/salary_rule_data.xml @@ -0,0 +1,48 @@ + + + + + + PR + Pantry + + code + result = inputs.PR and - (inputs.PR.amount) + + + + + + PR + Pantry + + + + + BASE + Base for new structures + + + + + ME + Marketing Executive + + + + + + MEGG + Marketing Executive for Gilles Gravie + + + + + + diff --git a/pantry_payroll/doc/RELEASE_NOTES.md b/pantry_payroll/doc/RELEASE_NOTES.md new file mode 100755 index 000000000..6803a03b0 --- /dev/null +++ b/pantry_payroll/doc/RELEASE_NOTES.md @@ -0,0 +1,6 @@ +## Module + +#### 24.04.2024 +#### Version 15.0.1.0.0 +#### ADD +- Initial Commit for Payroll Management In Pantry diff --git a/pantry_payroll/models/__init__.py b/pantry_payroll/models/__init__.py new file mode 100755 index 000000000..28046876e --- /dev/null +++ b/pantry_payroll/models/__init__.py @@ -0,0 +1,26 @@ +# -*- coding: utf-8 -*- +################################################################################ +# +# Cybrosys Technologies Pvt. Ltd. +# Copyright (C) 2024-TODAY Cybrosys Technologies(). +# Author: Bhagyadev K P() +# +# 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 . +# +################################################################################ +from . import hr_payslip +from . import pantry_order +from . import product_product +from . import product_template +from . import pantry_order_line diff --git a/pantry_payroll/models/hr_payslip.py b/pantry_payroll/models/hr_payslip.py new file mode 100755 index 000000000..af752fc7e --- /dev/null +++ b/pantry_payroll/models/hr_payslip.py @@ -0,0 +1,46 @@ +# -*- coding: utf-8 -*- +################################################################################ +# +# Cybrosys Technologies Pvt. Ltd. +# Copyright (C) 2024-TODAY Cybrosys Technologies(). +# Author: Bhagyadev K P() +# +# 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 . +# +################################################################################ +from odoo import api, models + + +class HrPayslip(models.Model): + """Class for HR Payslip""" + _inherit = 'hr.payslip' + + @api.model + def get_inputs(self, contract_ids, date_from, date_to): + """This function calculates the additional inputs + for the employee payslip.""" + res = super(HrPayslip, self).get_inputs(contract_ids, date_from, + date_to) + amount_employee = 0 + employee_id = self.env['hr.contract'].browse( + contract_ids[0].id).employee_id + pantry_lines = self.env['pantry.order'].search([ + ('partner_id', '=', employee_id.user_id.partner_id.id) + ]) + for adv_obj in pantry_lines: + if self.date_from <= adv_obj.date_order.date() <= self.date_to: + amount_employee += adv_obj.amount_total + for result in res: + result['amount'] = amount_employee + return res diff --git a/pantry_payroll/models/pantry_order.py b/pantry_payroll/models/pantry_order.py new file mode 100755 index 000000000..25cf02241 --- /dev/null +++ b/pantry_payroll/models/pantry_order.py @@ -0,0 +1,67 @@ +# -*- coding: utf-8 -*- +################################################################################ +# +# Cybrosys Technologies Pvt. Ltd. +# Copyright (C) 2024-TODAY Cybrosys Technologies(). +# Author: Bhagyadev K P() +# +# 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 . +# +################################################################################ +from odoo import api, fields, models + + +class PantryOrder(models.Model): + """A class that represents a new model pantry order""" + _name = 'pantry.order' + _description = 'Pantry Order' + _inherit = 'mail.thread' + + name = fields.Char(string='Order Sequence', readonly=True, + help='Sequence of the order') + partner_id = fields.Many2one('res.partner', string='Order User', + readonly=True, + default=lambda self: self.env.user.partner_id, + help='The user who is ordering') + state = fields.Selection(string='Status', required=True, selection=[ + ('draft', 'Draft'), ('confirmed', 'Confirmed')], default='draft', + help='The current status of the order') + date_order = fields.Datetime(string='Order Date', + default=fields.Datetime.now, readonly=True, + help='The date order') + order_line_ids = fields.One2many('pantry.order.line', + 'pantry_order_id', + string='Order Line') + amount_total = fields.Float(string='Total', compute='_compute_amount_total', + help='The total amount of the order') + + @api.model + def create(self, vals): + """Sequence for the order""" + if vals.get('name', 'New') == 'New': + vals['name'] = self.env['ir.sequence'].next_by_code( + 'pantry.order') or 'New' + res = super(PantryOrder, self).create(vals) + return res + + @api.depends('order_line_ids') + def _compute_amount_total(self): + """Calculates the amount_total""" + for rec in self: + rec.amount_total = sum( + rec.mapped('order_line_ids').mapped('subtotal')) + + def action_confirm_pantry_order(self): + """Change the state to confirmed""" + self.state = 'confirmed' diff --git a/pantry_payroll/models/pantry_order_line.py b/pantry_payroll/models/pantry_order_line.py new file mode 100644 index 000000000..087b535c5 --- /dev/null +++ b/pantry_payroll/models/pantry_order_line.py @@ -0,0 +1,48 @@ +# -*- coding: utf-8 -*- +################################################################################ +# +# Cybrosys Technologies Pvt. Ltd. +# Copyright (C) 2024-TODAY Cybrosys Technologies(). +# Author: Bhagyadev K P() +# +# 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 . +# +################################################################################ +from odoo import api, fields, models + + +class PantryOrderLine(models.Model): + """A class that represents a new model pantry order line""" + _name = 'pantry.order.line' + _description = 'Pantry Order Line' + + pantry_order_id = fields.Many2one('pantry.order', string='Pantry Order', + required=True, + help='The corresponding pantry order') + product_id = fields.Many2one('product.product', string='Product', + required=True, + domain=[('pantry_product', '=', True)], + help='The product to order') + quantity = fields.Float(string='Quantity', + help='The quantity of the product') + unit_price = fields.Float(string='Unit Price', + help='The unit price of the product') + subtotal = fields.Float(string='Subtotal', compute='_compute_subtotal', + help='The subtotal of the order line') + + @api.depends('quantity') + def _compute_subtotal(self): + """Calculates the subtotal""" + for rec in self: + rec.subtotal = rec.quantity * rec.unit_price diff --git a/pantry_payroll/models/product_product.py b/pantry_payroll/models/product_product.py new file mode 100755 index 000000000..997026929 --- /dev/null +++ b/pantry_payroll/models/product_product.py @@ -0,0 +1,72 @@ +# -*- coding: utf-8 -*- +################################################################################ +# +# Cybrosys Technologies Pvt. Ltd. +# Copyright (C) 2024-TODAY Cybrosys Technologies(). +# Author: Bhagyadev K P() +# +# 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 . +# +################################################################################ +from odoo import fields, models + + +class ProductProduct(models.Model): + """Class for adding quantity button on product kanban view.""" + _inherit = "product.product" + + quantity = fields.Integer(string="Quantity", help="Quantity", default=1) + + def action_quantity_decrement(self): + """Function for increment the quantity of product""" + if self.quantity > 1: + self.quantity -= 1 + + def action_quantity_increment(self): + """Function for decrement the quantity of product""" + self.quantity += 1 + + def action_buy_pantry(self): + """Make a quotation while purchasing a product from the pantry.""" + quotation = self.env['pantry.order'].search( + [('partner_id', '=', self.env.user.partner_id.id), + ('state', '=', 'draft')]) + val_list = { + 'product_id': self.id, + 'unit_price': self.lst_price, + 'quantity': self.quantity, + } + if quotation: + val_list['pantry_order_id'] = quotation[0].id + product = quotation.order_line_ids.filtered( + lambda sol: sol.product_id == self) + if product: + product[0].quantity += self.quantity + else: + quotation.write( + {'order_line_ids': [fields.Command.create(val_list)]}) + else: + quotation = self.env['pantry.order'].create({ + 'partner_id': self.env.user.partner_id.id, + 'order_line_ids': [fields.Command.create(val_list)] + }) + self.quantity = 1 + return { + 'type': 'ir.actions.act_window', + 'res_model': 'pantry.order', + 'res_id': quotation.id, + 'view_mode': 'form', + 'target': 'current', + 'views': [[False, "form"]], + } diff --git a/pantry_payroll/models/product_template.py b/pantry_payroll/models/product_template.py new file mode 100755 index 000000000..b1cb53dea --- /dev/null +++ b/pantry_payroll/models/product_template.py @@ -0,0 +1,30 @@ +# -*- coding: utf-8 -*- +################################################################################ +# +# Cybrosys Technologies Pvt. Ltd. +# Copyright (C) 2024-TODAY Cybrosys Technologies(). +# Author: Bhagyadev K P() +# +# 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 . +# +################################################################################ +from odoo import models, fields + + +class ProductTemplate(models.Model): + """A class that represents already existing model product template""" + _inherit = 'product.template' + + pantry_product = fields.Boolean(string="Pantry Product", + help='Is this a pantry product or not') diff --git a/pantry_payroll/security/ir.model.access.csv b/pantry_payroll/security/ir.model.access.csv new file mode 100755 index 000000000..00b2aea7c --- /dev/null +++ b/pantry_payroll/security/ir.model.access.csv @@ -0,0 +1,4 @@ +id,name,model_id:id,group_id:id,perm_read,perm_write,perm_create,perm_unlink +access_pantry_order_user,access.pantry.order.user,model_pantry_order,base.group_user,1,1,1,0 +access_pantry_order_admin,access.pantry.order.admin,model_pantry_order,pantry_payroll.group_pantry_admin,1,1,1,1 +access_pantry_order_line_user,access.pantry.order.line.user,model_pantry_order_line,base.group_user,1,1,1,1 diff --git a/pantry_payroll/security/pantry_payroll_security.xml b/pantry_payroll/security/pantry_payroll_security.xml new file mode 100755 index 000000000..98318a7d6 --- /dev/null +++ b/pantry_payroll/security/pantry_payroll_security.xml @@ -0,0 +1,24 @@ + + + + + Pantry Admin + + + + Pantry admin rule + + [] + + + + + Pantry user rule + + [('partner_id','=',user.partner_id.id)] + + + + diff --git a/pantry_payroll/static/description/assets/banner.jpg b/pantry_payroll/static/description/assets/banner.jpg new file mode 100644 index 000000000..ec2c53a31 Binary files /dev/null and b/pantry_payroll/static/description/assets/banner.jpg differ diff --git a/pantry_payroll/static/description/assets/icon.png b/pantry_payroll/static/description/assets/icon.png new file mode 100644 index 000000000..51da1758b Binary files /dev/null and b/pantry_payroll/static/description/assets/icon.png differ diff --git a/pantry_payroll/static/description/assets/icons/check.png b/pantry_payroll/static/description/assets/icons/check.png new file mode 100755 index 000000000..c8e85f51d Binary files /dev/null and b/pantry_payroll/static/description/assets/icons/check.png differ diff --git a/pantry_payroll/static/description/assets/icons/chevron.png b/pantry_payroll/static/description/assets/icons/chevron.png new file mode 100755 index 000000000..2089293d6 Binary files /dev/null and b/pantry_payroll/static/description/assets/icons/chevron.png differ diff --git a/pantry_payroll/static/description/assets/icons/cogs.png b/pantry_payroll/static/description/assets/icons/cogs.png new file mode 100755 index 000000000..95d0bad62 Binary files /dev/null and b/pantry_payroll/static/description/assets/icons/cogs.png differ diff --git a/pantry_payroll/static/description/assets/icons/consultation.png b/pantry_payroll/static/description/assets/icons/consultation.png new file mode 100755 index 000000000..8319d4baa Binary files /dev/null and b/pantry_payroll/static/description/assets/icons/consultation.png differ diff --git a/pantry_payroll/static/description/assets/icons/ecom-black.png b/pantry_payroll/static/description/assets/icons/ecom-black.png new file mode 100755 index 000000000..a9385ff13 Binary files /dev/null and b/pantry_payroll/static/description/assets/icons/ecom-black.png differ diff --git a/pantry_payroll/static/description/assets/icons/education-black.png b/pantry_payroll/static/description/assets/icons/education-black.png new file mode 100755 index 000000000..3eb09b27b Binary files /dev/null and b/pantry_payroll/static/description/assets/icons/education-black.png differ diff --git a/pantry_payroll/static/description/assets/icons/hotel-black.png b/pantry_payroll/static/description/assets/icons/hotel-black.png new file mode 100755 index 000000000..130f613be Binary files /dev/null and b/pantry_payroll/static/description/assets/icons/hotel-black.png differ diff --git a/pantry_payroll/static/description/assets/icons/license.png b/pantry_payroll/static/description/assets/icons/license.png new file mode 100755 index 000000000..a5869797e Binary files /dev/null and b/pantry_payroll/static/description/assets/icons/license.png differ diff --git a/pantry_payroll/static/description/assets/icons/lifebuoy.png b/pantry_payroll/static/description/assets/icons/lifebuoy.png new file mode 100755 index 000000000..658d56ccc Binary files /dev/null and b/pantry_payroll/static/description/assets/icons/lifebuoy.png differ diff --git a/pantry_payroll/static/description/assets/icons/logo.png b/pantry_payroll/static/description/assets/icons/logo.png new file mode 100755 index 000000000..478462d3e Binary files /dev/null and b/pantry_payroll/static/description/assets/icons/logo.png differ diff --git a/pantry_payroll/static/description/assets/icons/manufacturing-black.png b/pantry_payroll/static/description/assets/icons/manufacturing-black.png new file mode 100755 index 000000000..697eb0e9f Binary files /dev/null and b/pantry_payroll/static/description/assets/icons/manufacturing-black.png differ diff --git a/pantry_payroll/static/description/assets/icons/pos-black.png b/pantry_payroll/static/description/assets/icons/pos-black.png new file mode 100755 index 000000000..97c0f90c1 Binary files /dev/null and b/pantry_payroll/static/description/assets/icons/pos-black.png differ diff --git a/pantry_payroll/static/description/assets/icons/puzzle.png b/pantry_payroll/static/description/assets/icons/puzzle.png new file mode 100755 index 000000000..65cf854e7 Binary files /dev/null and b/pantry_payroll/static/description/assets/icons/puzzle.png differ diff --git a/pantry_payroll/static/description/assets/icons/restaurant-black.png b/pantry_payroll/static/description/assets/icons/restaurant-black.png new file mode 100755 index 000000000..4a35eb939 Binary files /dev/null and b/pantry_payroll/static/description/assets/icons/restaurant-black.png differ diff --git a/pantry_payroll/static/description/assets/icons/service-black.png b/pantry_payroll/static/description/assets/icons/service-black.png new file mode 100755 index 000000000..301ab51cb Binary files /dev/null and b/pantry_payroll/static/description/assets/icons/service-black.png differ diff --git a/pantry_payroll/static/description/assets/icons/trading-black.png b/pantry_payroll/static/description/assets/icons/trading-black.png new file mode 100755 index 000000000..9398ba2f1 Binary files /dev/null and b/pantry_payroll/static/description/assets/icons/trading-black.png differ diff --git a/pantry_payroll/static/description/assets/icons/training.png b/pantry_payroll/static/description/assets/icons/training.png new file mode 100755 index 000000000..884ca024d Binary files /dev/null and b/pantry_payroll/static/description/assets/icons/training.png differ diff --git a/pantry_payroll/static/description/assets/icons/update.png b/pantry_payroll/static/description/assets/icons/update.png new file mode 100755 index 000000000..ecbc5a01a Binary files /dev/null and b/pantry_payroll/static/description/assets/icons/update.png differ diff --git a/pantry_payroll/static/description/assets/icons/user.png b/pantry_payroll/static/description/assets/icons/user.png new file mode 100755 index 000000000..6ffb23d9f Binary files /dev/null and b/pantry_payroll/static/description/assets/icons/user.png differ diff --git a/pantry_payroll/static/description/assets/icons/wrench.png b/pantry_payroll/static/description/assets/icons/wrench.png new file mode 100755 index 000000000..6c04dea0f Binary files /dev/null and b/pantry_payroll/static/description/assets/icons/wrench.png differ diff --git a/pantry_payroll/static/description/assets/misc/categories.png b/pantry_payroll/static/description/assets/misc/categories.png new file mode 100755 index 000000000..bedf1e0b1 Binary files /dev/null and b/pantry_payroll/static/description/assets/misc/categories.png differ diff --git a/pantry_payroll/static/description/assets/misc/check-box.png b/pantry_payroll/static/description/assets/misc/check-box.png new file mode 100755 index 000000000..42caf24b9 Binary files /dev/null and b/pantry_payroll/static/description/assets/misc/check-box.png differ diff --git a/pantry_payroll/static/description/assets/misc/compass.png b/pantry_payroll/static/description/assets/misc/compass.png new file mode 100755 index 000000000..d5fed8faa Binary files /dev/null and b/pantry_payroll/static/description/assets/misc/compass.png differ diff --git a/pantry_payroll/static/description/assets/misc/corporate.png b/pantry_payroll/static/description/assets/misc/corporate.png new file mode 100755 index 000000000..2eb13edbf Binary files /dev/null and b/pantry_payroll/static/description/assets/misc/corporate.png differ diff --git a/pantry_payroll/static/description/assets/misc/customer-support.png b/pantry_payroll/static/description/assets/misc/customer-support.png new file mode 100755 index 000000000..79efc72ed Binary files /dev/null and b/pantry_payroll/static/description/assets/misc/customer-support.png differ diff --git a/pantry_payroll/static/description/assets/misc/cybrosys-logo.png b/pantry_payroll/static/description/assets/misc/cybrosys-logo.png new file mode 100755 index 000000000..cc3cc0ccf Binary files /dev/null and b/pantry_payroll/static/description/assets/misc/cybrosys-logo.png differ diff --git a/pantry_payroll/static/description/assets/misc/features.png b/pantry_payroll/static/description/assets/misc/features.png new file mode 100755 index 000000000..b41769f77 Binary files /dev/null and b/pantry_payroll/static/description/assets/misc/features.png differ diff --git a/pantry_payroll/static/description/assets/misc/logo.png b/pantry_payroll/static/description/assets/misc/logo.png new file mode 100755 index 000000000..478462d3e Binary files /dev/null and b/pantry_payroll/static/description/assets/misc/logo.png differ diff --git a/pantry_payroll/static/description/assets/misc/pictures.png b/pantry_payroll/static/description/assets/misc/pictures.png new file mode 100755 index 000000000..56d255fe9 Binary files /dev/null and b/pantry_payroll/static/description/assets/misc/pictures.png differ diff --git a/pantry_payroll/static/description/assets/misc/pie-chart.png b/pantry_payroll/static/description/assets/misc/pie-chart.png new file mode 100755 index 000000000..426e05244 Binary files /dev/null and b/pantry_payroll/static/description/assets/misc/pie-chart.png differ diff --git a/pantry_payroll/static/description/assets/misc/right-arrow.png b/pantry_payroll/static/description/assets/misc/right-arrow.png new file mode 100755 index 000000000..730984a06 Binary files /dev/null and b/pantry_payroll/static/description/assets/misc/right-arrow.png differ diff --git a/pantry_payroll/static/description/assets/misc/star.png b/pantry_payroll/static/description/assets/misc/star.png new file mode 100755 index 000000000..2eb9ab29f Binary files /dev/null and b/pantry_payroll/static/description/assets/misc/star.png differ diff --git a/pantry_payroll/static/description/assets/misc/support.png b/pantry_payroll/static/description/assets/misc/support.png new file mode 100755 index 000000000..4f18b8b82 Binary files /dev/null and b/pantry_payroll/static/description/assets/misc/support.png differ diff --git a/pantry_payroll/static/description/assets/misc/whatsapp.png b/pantry_payroll/static/description/assets/misc/whatsapp.png new file mode 100755 index 000000000..d513a5356 Binary files /dev/null and b/pantry_payroll/static/description/assets/misc/whatsapp.png differ diff --git a/pantry_payroll/static/description/assets/modules/employee_check_list.png b/pantry_payroll/static/description/assets/modules/employee_check_list.png new file mode 100644 index 000000000..0bad2f051 Binary files /dev/null and b/pantry_payroll/static/description/assets/modules/employee_check_list.png differ diff --git a/pantry_payroll/static/description/assets/modules/employee_documents_expiry.png b/pantry_payroll/static/description/assets/modules/employee_documents_expiry.png new file mode 100644 index 000000000..30ad58232 Binary files /dev/null and b/pantry_payroll/static/description/assets/modules/employee_documents_expiry.png differ diff --git a/pantry_payroll/static/description/assets/modules/employee_orientation.png b/pantry_payroll/static/description/assets/modules/employee_orientation.png new file mode 100644 index 000000000..a616e4c5c Binary files /dev/null and b/pantry_payroll/static/description/assets/modules/employee_orientation.png differ diff --git a/pantry_payroll/static/description/assets/modules/employee_stages.png b/pantry_payroll/static/description/assets/modules/employee_stages.png new file mode 100644 index 000000000..7f48b87ac Binary files /dev/null and b/pantry_payroll/static/description/assets/modules/employee_stages.png differ diff --git a/pantry_payroll/static/description/assets/modules/employee_vehicle_request.png b/pantry_payroll/static/description/assets/modules/employee_vehicle_request.png new file mode 100644 index 000000000..5a9eead0a Binary files /dev/null and b/pantry_payroll/static/description/assets/modules/employee_vehicle_request.png differ diff --git a/pantry_payroll/static/description/assets/modules/hr_contract_types.png b/pantry_payroll/static/description/assets/modules/hr_contract_types.png new file mode 100644 index 000000000..c94a11183 Binary files /dev/null and b/pantry_payroll/static/description/assets/modules/hr_contract_types.png differ diff --git a/pantry_payroll/static/description/assets/screenshots/1.png b/pantry_payroll/static/description/assets/screenshots/1.png new file mode 100644 index 000000000..57b750e2a Binary files /dev/null and b/pantry_payroll/static/description/assets/screenshots/1.png differ diff --git a/pantry_payroll/static/description/assets/screenshots/2.png b/pantry_payroll/static/description/assets/screenshots/2.png new file mode 100644 index 000000000..682981746 Binary files /dev/null and b/pantry_payroll/static/description/assets/screenshots/2.png differ diff --git a/pantry_payroll/static/description/assets/screenshots/3.png b/pantry_payroll/static/description/assets/screenshots/3.png new file mode 100644 index 000000000..0f42f9b3c Binary files /dev/null and b/pantry_payroll/static/description/assets/screenshots/3.png differ diff --git a/pantry_payroll/static/description/assets/screenshots/4.png b/pantry_payroll/static/description/assets/screenshots/4.png new file mode 100644 index 000000000..e2fd6474d Binary files /dev/null and b/pantry_payroll/static/description/assets/screenshots/4.png differ diff --git a/pantry_payroll/static/description/assets/screenshots/5.png b/pantry_payroll/static/description/assets/screenshots/5.png new file mode 100644 index 000000000..bd8787bd4 Binary files /dev/null and b/pantry_payroll/static/description/assets/screenshots/5.png differ diff --git a/pantry_payroll/static/description/assets/screenshots/6.png b/pantry_payroll/static/description/assets/screenshots/6.png new file mode 100644 index 000000000..cd15d05fa Binary files /dev/null and b/pantry_payroll/static/description/assets/screenshots/6.png differ diff --git a/pantry_payroll/static/description/assets/screenshots/7.png b/pantry_payroll/static/description/assets/screenshots/7.png new file mode 100644 index 000000000..2b17e6b84 Binary files /dev/null and b/pantry_payroll/static/description/assets/screenshots/7.png differ diff --git a/pantry_payroll/static/description/assets/screenshots/8.png b/pantry_payroll/static/description/assets/screenshots/8.png new file mode 100644 index 000000000..40a21c7c9 Binary files /dev/null and b/pantry_payroll/static/description/assets/screenshots/8.png differ diff --git a/pantry_payroll/static/description/assets/screenshots/hero.gif b/pantry_payroll/static/description/assets/screenshots/hero.gif new file mode 100644 index 000000000..022c79910 Binary files /dev/null and b/pantry_payroll/static/description/assets/screenshots/hero.gif differ diff --git a/pantry_payroll/static/description/index.html b/pantry_payroll/static/description/index.html new file mode 100755 index 000000000..345d1d852 --- /dev/null +++ b/pantry_payroll/static/description/index.html @@ -0,0 +1,683 @@ +
+ +
+ +
+
+ Community +
+
+
+ +
+
+
+ +

+ Payroll Management In Pantry

+

+ Manage The Payroll By Deducting The Pantry Order

+ + +
+
+
+
+ +
+
+ +
+

+ Explore This + Module

+
+ + + + +
+
+ +
+

+ Overview +

+
+
+
+ This app will allow us to manage payroll of pantry. While creating + employee payslip, salary rule will be added to that employee. The amount + of product will deduct from salary. +
+
+ + + +
+
+ +
+

+ Features +

+
+
+
+
+ + Buy Products From Pantry. +
+
+
+
+ + Pantry Order Automatically Created. +
+
+
+
+ + Pantry Admin User Group. +
+
+
+
+ + Automatically Deduct The Pantry Order Amount From Payslip. +
+
+
+ + + +
+
+ +
+

+ Screenshots +

+
+
+
+
+

+ Only the user with the 'Pantry Admin' user group will + be able to see all the pantry orders and be able to delete it. +

+ +
+
+

+ You can go to Employees-->Pantry-->Products to see the pantry + products +

+ +
+
+

+ When creating a new Pantry Product, you have to enable 'Pantry + Product' option +

+ +
+
+

+ You can increment or decrement the quantity and 'BUY' the + product +

+ +
+
+

+ It will take you to the pantry order. You can confirm the order. + You can also go to the orders through + Employees-->Pantry-->Pantry Order. +

+ +
+
+

+ You can go and create an employee payslip. Choose the employee, + period and the contract. You need to ensure that,a salary + structure is selected inside the contract. Then you can click on + the 'COMPUTE SHEET' and salary will be computed +

+ +
+
+

+ All the computed payslips can be seen in the smart button and + also in the Salary Computation tab +

+ +
+
+

+ All the computed payslips can be seen in the smart button and + also in the Salary Computation tab +

+ +
+
+ + + +
+
+ +
+

+ Related + Products +

+
+
+
+ +
+
+ + +
+
+ +
+

+ Our Services +

+
+ +
+
+
+
+ +
+
+ Odoo + Customization
+
+ +
+
+ +
+
+ Odoo + Implementation
+
+ +
+
+ +
+
+ Odoo + Support
+
+ + +
+
+ +
+
+ Hire + Odoo + Developer
+
+ +
+
+ +
+
+ Odoo + Integration
+
+ +
+
+ +
+
+ Odoo + Migration
+
+ + +
+
+ +
+
+ Odoo + Consultancy
+
+ +
+
+ +
+
+ Odoo + Implementation
+
+ +
+
+ +
+
+ Odoo + Licensing Consultancy
+
+
+ +
+ + + +
+
+ +
+

+ Our + Industries +

+
+ +
+
+
+
+ +
+ Trading +
+

+ Easily procure + and + sell your products

+
+
+ +
+
+ +
+ POS +
+

+ Easy + configuration + and convivial experience

+
+
+ +
+
+ +
+ Education +
+

+ A platform for + educational management

+
+
+ +
+
+ +
+ Manufacturing +
+

+ Plan, track and + schedule your operations

+
+
+ +
+
+ +
+ E-commerce & Website +
+

+ Mobile + friendly, + awe-inspiring product pages

+
+
+ +
+
+ +
+ Service Management +
+

+ Keep track of + services and invoice

+
+
+ +
+
+ +
+ Restaurant +
+

+ Run your bar or + restaurant methodically

+
+
+ +
+
+ +
+ Hotel Management +
+

+ An + all-inclusive + hotel management application

+
+
+
+
+ +
+
+ +
+

+ Support +

+
+
+
+
+
+
+ +
+
+

Need Help?

+

Got questions or need + help? + Get in touch.

+ +

+ odoo@cybrosys.com

+
+
+
+
+
+
+
+ +
+
+

WhatsApp

+

Say hi to us on + WhatsApp!

+ +

+ +91 86068 + 27707

+
+
+
+
+
+
+
+ +
+
+
+ +
diff --git a/pantry_payroll/views/pantry_order_views.xml b/pantry_payroll/views/pantry_order_views.xml new file mode 100755 index 000000000..dbd31378b --- /dev/null +++ b/pantry_payroll/views/pantry_order_views.xml @@ -0,0 +1,82 @@ + + + + + Pantry Order + ir.actions.act_window + pantry.order + tree,form + +

+ Create a new pantry order +

+
+
+ + + + + pantry.order.view.tree + pantry.order + + + + + + + + + + + + + pantry.order.view.form + pantry.order + +
+
+ +
+ +
+

+ +

+
+ + + + + + + + + + + + + + + + + + + + + +
+
+ + +
+
+
+
+
diff --git a/pantry_payroll/views/product_product_views.xml b/pantry_payroll/views/product_product_views.xml new file mode 100755 index 000000000..732ea5c83 --- /dev/null +++ b/pantry_payroll/views/product_product_views.xml @@ -0,0 +1,116 @@ + + + + + Pantry Products + ir.actions.act_window + product.product + kanban + [('pantry_product','=',True)] + {'default_pantry_product': True} + +

+ Create a new pantry product +

+
+
+ + + + + + product.product.view.kanban.pantry.payroll + product.product + + + + + + + + +
+
+ Product +
+
+ + + + [ + ] + + +
+ +
+
    +
  • + Price: + + +
  • +
+
+ +
+
+ + + + + + + + kanban + + + + + + product.product.view.form.inherit.pantry.payroll + + product.product + + + + + + + + + + diff --git a/pantry_payroll/views/product_template_views.xml b/pantry_payroll/views/product_template_views.xml new file mode 100755 index 000000000..333d8c39f --- /dev/null +++ b/pantry_payroll/views/product_template_views.xml @@ -0,0 +1,17 @@ + + + + + product.template.view.form.inherit.pantry.payroll + product.template + + + + + + + + + +