diff --git a/pantry_payroll/README.rst b/pantry_payroll/README.rst new file mode 100755 index 000000000..b9e5dacbc --- /dev/null +++ b/pantry_payroll/README.rst @@ -0,0 +1,47 @@ +.. image:: https://img.shields.io/badge/license-LGPL--3-green.svg + :target: https://www.gnu.org/licenses/agpl-3.0-standalone.html + :alt: License: LGPL-3 + +Payroll Management In Pantry +============================ +This module allow us to manage payroll in pantry. + +Configuration +============= +* No additional configurations needed + +Company +------- +* `Cybrosys Techno Solutions `__ + +License +======= +General Public License, version 3 (LGPL v3). +(https://www.gnu.org/licenses/lgpl-3.0-standalone.html) + +Credits +------- +* Developer : (V17) 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 support and more 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..f506afa23 --- /dev/null +++ b/pantry_payroll/__init__.py @@ -0,0 +1,22 @@ +# -*- coding: utf-8 -*- +############################################################################# +# +# Cybrosys Technologies Pvt. Ltd. +# +# Copyright (C) 2023-TODAY Cybrosys Technologies() +# Author: Bhagyadev KP (odoo@cybrosys.com) +# +# You can modify it under the terms of the GNU LESSER +# GENERAL PUBLIC LICENSE (LGPL v3), Version 3. +# +# 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 +# (LGPL v3) 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..e836cfed6 --- /dev/null +++ b/pantry_payroll/__manifest__.py @@ -0,0 +1,51 @@ +# -*- coding: utf-8 -*- +############################################################################# +# +# Cybrosys Technologies Pvt. Ltd. +# +# Copyright (C) 2023-TODAY Cybrosys Technologies() +# Author: Bhagyadev KP (odoo@cybrosys.com) +# +# You can modify it under the terms of the GNU LESSER +# GENERAL PUBLIC LICENSE (LGPL v3), Version 3. +# +# 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 +# (LGPL v3) along with this program. +# If not, see . +# +############################################################################# +{ + 'name': 'Payroll Management In Pantry', + 'version': '17.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': 'LGPL-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..09690a44d --- /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..2e7f28e5a --- /dev/null +++ b/pantry_payroll/doc/RELEASE_NOTES.md @@ -0,0 +1,6 @@ +## Module + +#### 04.04.2024 +#### Version 17.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..15740dffe --- /dev/null +++ b/pantry_payroll/models/__init__.py @@ -0,0 +1,25 @@ +# -*- coding: utf-8 -*- +############################################################################# +# +# Cybrosys Technologies Pvt. Ltd. +# +# Copyright (C) 2023-TODAY Cybrosys Technologies() +# Author: Bhagyadev KP (odoo@cybrosys.com) +# +# You can modify it under the terms of the GNU LESSER +# GENERAL PUBLIC LICENSE (LGPL v3), Version 3. +# +# 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 +# (LGPL v3) along with this program. +# If not, see . +# +############################################################################# +from . import hr_payslip +from . import pantry_order +from . import product_product +from . import product_template diff --git a/pantry_payroll/models/hr_payslip.py b/pantry_payroll/models/hr_payslip.py new file mode 100755 index 000000000..3018aa10a --- /dev/null +++ b/pantry_payroll/models/hr_payslip.py @@ -0,0 +1,45 @@ +# -*- coding: utf-8 -*- +############################################################################# +# +# Cybrosys Technologies Pvt. Ltd. +# +# Copyright (C) 2023-TODAY Cybrosys Technologies() +# Author: Bhagyadev KP (odoo@cybrosys.com) +# +# You can modify it under the terms of the GNU LESSER +# GENERAL PUBLIC LICENSE (LGPL v3), Version 3. +# +# 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 +# (LGPL v3) 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, contracts, date_from, date_to): + """This function calculates the additional inputs + for the employee payslip.""" + res = super(HrPayslip, self).get_inputs(contracts, date_from, date_to) + amount_employee = 0 + employee_id = self.env['hr.contract'].browse( + contracts.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 100644 index 000000000..4e60d9e42 --- /dev/null +++ b/pantry_payroll/models/pantry_order.py @@ -0,0 +1,93 @@ +# -*- coding: utf-8 -*- +############################################################################# +# +# Cybrosys Technologies Pvt. Ltd. +# +# Copyright (C) 2023-TODAY Cybrosys Technologies() +# Author: Bhagyadev KP (odoo@cybrosys.com) +# +# You can modify it under the terms of the GNU LESSER +# GENERAL PUBLIC LICENSE (LGPL v3), Version 3. +# +# 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 +# (LGPL v3) 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', help="Order lines") + 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' + + +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..1a71b7451 --- /dev/null +++ b/pantry_payroll/models/product_product.py @@ -0,0 +1,72 @@ +# -*- coding: utf-8 -*- +############################################################################# +# +# Cybrosys Technologies Pvt. Ltd. +# +# Copyright (C) 2023-TODAY Cybrosys Technologies() +# Author: Bhagyadev KP (odoo@cybrosys.com) +# +# You can modify it under the terms of the GNU LESSER +# GENERAL PUBLIC LICENSE (LGPL v3), Version 3. +# +# 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 +# (LGPL v3) 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 of the product", 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..0d2672333 --- /dev/null +++ b/pantry_payroll/models/product_template.py @@ -0,0 +1,30 @@ +# -*- coding: utf-8 -*- +############################################################################# +# +# Cybrosys Technologies Pvt. Ltd. +# +# Copyright (C) 2023-TODAY Cybrosys Technologies() +# Author: Bhagyadev KP (odoo@cybrosys.com) +# +# You can modify it under the terms of the GNU LESSER +# GENERAL PUBLIC LICENSE (LGPL v3), Version 3. +# +# 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 +# (LGPL v3) along with this program. +# If not, see . +# +############################################################################# +from odoo import fields, models + + +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..ee4682de0 --- /dev/null +++ b/pantry_payroll/security/pantry_payroll_security.xml @@ -0,0 +1,25 @@ + + + + + + Pantry Admin + + + + Pantry admin rule + + [] + + + + + Pantry user rule + + [('partner_id','=',user.partner_id.id)] + + + + diff --git a/pantry_payroll/static/description/assets/icons/capture (1).png b/pantry_payroll/static/description/assets/icons/capture (1).png new file mode 100644 index 000000000..8824deafc Binary files /dev/null and b/pantry_payroll/static/description/assets/icons/capture (1).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 100644 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 100644 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 100644 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 100644 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 100644 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 100644 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 100644 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/img.png b/pantry_payroll/static/description/assets/icons/img.png new file mode 100644 index 000000000..70197f477 Binary files /dev/null and b/pantry_payroll/static/description/assets/icons/img.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 100644 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 100644 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/manufacturing-black.png b/pantry_payroll/static/description/assets/icons/manufacturing-black.png new file mode 100644 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/photo-capture.png b/pantry_payroll/static/description/assets/icons/photo-capture.png new file mode 100644 index 000000000..06c111758 Binary files /dev/null and b/pantry_payroll/static/description/assets/icons/photo-capture.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 100644 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 100644 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 100644 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 100644 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 100644 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 100644 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 100644 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 100644 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 100644 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/Cybrosys R.png b/pantry_payroll/static/description/assets/misc/Cybrosys R.png new file mode 100644 index 000000000..da4058087 Binary files /dev/null and b/pantry_payroll/static/description/assets/misc/Cybrosys R.png differ diff --git a/pantry_payroll/static/description/assets/misc/email.svg b/pantry_payroll/static/description/assets/misc/email.svg new file mode 100644 index 000000000..15291cdc3 --- /dev/null +++ b/pantry_payroll/static/description/assets/misc/email.svg @@ -0,0 +1,33 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/pantry_payroll/static/description/assets/misc/phone.svg b/pantry_payroll/static/description/assets/misc/phone.svg new file mode 100644 index 000000000..b7bd7f251 --- /dev/null +++ b/pantry_payroll/static/description/assets/misc/phone.svg @@ -0,0 +1,3 @@ + + + diff --git a/pantry_payroll/static/description/assets/misc/star (1) 2.svg b/pantry_payroll/static/description/assets/misc/star (1) 2.svg new file mode 100644 index 000000000..5ae9f507a --- /dev/null +++ b/pantry_payroll/static/description/assets/misc/star (1) 2.svg @@ -0,0 +1,9 @@ + + + + + + + + + diff --git a/pantry_payroll/static/description/assets/misc/support (1) 1.svg b/pantry_payroll/static/description/assets/misc/support (1) 1.svg new file mode 100644 index 000000000..7d37a8f30 --- /dev/null +++ b/pantry_payroll/static/description/assets/misc/support (1) 1.svg @@ -0,0 +1,9 @@ + + + + + + + + + diff --git a/pantry_payroll/static/description/assets/misc/support-email.svg b/pantry_payroll/static/description/assets/misc/support-email.svg new file mode 100644 index 000000000..eb70370d6 --- /dev/null +++ b/pantry_payroll/static/description/assets/misc/support-email.svg @@ -0,0 +1,6 @@ + + + + + + diff --git a/pantry_payroll/static/description/assets/misc/tick-mark.svg b/pantry_payroll/static/description/assets/misc/tick-mark.svg new file mode 100644 index 000000000..2dbb40187 --- /dev/null +++ b/pantry_payroll/static/description/assets/misc/tick-mark.svg @@ -0,0 +1,17 @@ + + + + + + + + + + + + + + + + + diff --git a/pantry_payroll/static/description/assets/misc/whatsapp 1.svg b/pantry_payroll/static/description/assets/misc/whatsapp 1.svg new file mode 100644 index 000000000..0bfaf8fc6 --- /dev/null +++ b/pantry_payroll/static/description/assets/misc/whatsapp 1.svg @@ -0,0 +1,9 @@ + + + + + + + + + diff --git a/pantry_payroll/static/description/assets/misc/whatsapp.svg b/pantry_payroll/static/description/assets/misc/whatsapp.svg new file mode 100644 index 000000000..b618aea1d --- /dev/null +++ b/pantry_payroll/static/description/assets/misc/whatsapp.svg @@ -0,0 +1,33 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/pantry_payroll/static/description/assets/modules/1.jpg b/pantry_payroll/static/description/assets/modules/1.jpg new file mode 100644 index 000000000..08bbafeb6 Binary files /dev/null and b/pantry_payroll/static/description/assets/modules/1.jpg differ diff --git a/pantry_payroll/static/description/assets/modules/2.png b/pantry_payroll/static/description/assets/modules/2.png new file mode 100644 index 000000000..66730082c Binary files /dev/null and b/pantry_payroll/static/description/assets/modules/2.png differ diff --git a/pantry_payroll/static/description/assets/modules/3.jpg b/pantry_payroll/static/description/assets/modules/3.jpg new file mode 100644 index 000000000..3d171226b Binary files /dev/null and b/pantry_payroll/static/description/assets/modules/3.jpg differ diff --git a/pantry_payroll/static/description/assets/modules/4.jpg b/pantry_payroll/static/description/assets/modules/4.jpg new file mode 100644 index 000000000..1f3f2e27f Binary files /dev/null and b/pantry_payroll/static/description/assets/modules/4.jpg differ diff --git a/pantry_payroll/static/description/assets/modules/5.jpg b/pantry_payroll/static/description/assets/modules/5.jpg new file mode 100644 index 000000000..0db717519 Binary files /dev/null and b/pantry_payroll/static/description/assets/modules/5.jpg differ diff --git a/pantry_payroll/static/description/assets/modules/6.jpg b/pantry_payroll/static/description/assets/modules/6.jpg new file mode 100644 index 000000000..cd62a577c Binary files /dev/null and b/pantry_payroll/static/description/assets/modules/6.jpg 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..917589a7b 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..a99533f16 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..ea790e1c7 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..eec2ccf0f 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..11742e816 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..1701a7c4c 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..78e08467a 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..015318eee 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..b666dbfa1 Binary files /dev/null and b/pantry_payroll/static/description/assets/screenshots/hero.gif differ diff --git a/pantry_payroll/static/description/banner.jpg b/pantry_payroll/static/description/banner.jpg new file mode 100644 index 000000000..053c2216a Binary files /dev/null and b/pantry_payroll/static/description/banner.jpg differ diff --git a/pantry_payroll/static/description/icon.png b/pantry_payroll/static/description/icon.png new file mode 100644 index 000000000..14bbbef86 Binary files /dev/null and b/pantry_payroll/static/description/icon.png differ diff --git a/pantry_payroll/static/description/index.html b/pantry_payroll/static/description/index.html new file mode 100644 index 000000000..c23d11c9c --- /dev/null +++ b/pantry_payroll/static/description/index.html @@ -0,0 +1,796 @@ + + + + + + + Odoo App 3 Index + + + + + + + + +
+
+
+
+
+ +
+
+
+ Community +
+
+
+
+
+
+

Payroll Management In Pantry

+

+ Manage The Payroll By Deducting The Pantry Order . +

+
+ +
+
+
+
+
+

+ Key Highlights +

+
+
+
+
+
+ +
+
+

+ Buy Products From Pantry. +

+
+
+
+
+
+
+ +
+
+

Pantry Order Will Be Automatically + Created.

+
+
+
+
+
+
+ +
+
+

Pantry Admin User Group.

+
+
+
+
+
+
+ +
+
+

Automatically Deduct The Pantry Order + Amount From Payslip.

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

+ Go to settings > Users. Only the administrator with the 'Pantry Admin' user group + will be able to see all the pantry orders. +

+
+
+
+
+
+
+ +
+
+

+ 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 +

+
+
+
+
+
+
+ +
+
+

+ Clicking Buy Now button 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. +

+
+
+
+
+
+
+ +
+
+

+ After confirming all the computed payslips can be seen in the smart button and also + in the salary computation tab. +

+
+
+
+
+
+
+ +
+
+

+ Clicking on the payslip smart button you can see the pantry amount is deducted from + the employee's salary +

+
+
+
+
+
+
+
    +
  • + Buy Products From Pantry. +
  • +
  • + Pantry Order Will Be Automatically Created. +
  • +
  • + Pantry Admin User Group. +
  • +
  • + Automatically Deduct The Pantry Order Amount From + Payslip. +
  • +
+
+
+
+
+
+
Version + 17.0.1.0.0|Released on:04th April 2024 +
+

+ Initial Commit for Payroll Management In Pantry.

+
+
+
+
+
+
+
+

+ Related Products

+
+
+ +
+
+

+ Our Services

+ +
+
+
+
+
+
+
+
+ service-icon +
+
+

Odoo + Customization

+
+
+
+
+
+
+ service-icon +
+
+

Odoo + Implementation

+
+
+
+
+
+
+ service-icon +
+
+

Odoo + Support

+
+
+
+
+
+
+ service-icon +
+
+

Hire + Odoo Developer

+
+
+
+
+ +
+
+ service-icon +
+
+

Odoo + Integration

+
+
+
+
+
+
+ service-icon +
+
+

Odoo + Migration

+
+
+
+
+
+
+ service-icon +
+
+

Odoo + Consultancy

+
+
+
+
+
+
+ service-icon +
+
+

Odoo + Implementation

+
+
+
+
+
+
+ service-icon +
+
+

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 + 99456767686 +
+
+
+
+
+
+
+
+
+ + + + + + diff --git a/pantry_payroll/views/pantry_order_views.xml b/pantry_payroll/views/pantry_order_views.xml new file mode 100755 index 000000000..6b478b58d --- /dev/null +++ b/pantry_payroll/views/pantry_order_views.xml @@ -0,0 +1,83 @@ + + + + + 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..a3b318602 --- /dev/null +++ b/pantry_payroll/views/product_product_views.xml @@ -0,0 +1,126 @@ + + + + + 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 + + + + + + + + + +