diff --git a/pantry_payroll/README.rst b/pantry_payroll/README.rst new file mode 100755 index 000000000..8f41d8238 --- /dev/null +++ b/pantry_payroll/README.rst @@ -0,0 +1,46 @@ +.. 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. + +License +------- +General Public License, Version 3 (AGPL v3). +https://www.gnu.org/licenses/agpl-3.0-standalone.html + +Configuration +============= +* No Additional configuration is needed. + +Company +------- +* `Cybrosys Techno Solutions `__ + +Credits +------- +Developer: (V16) Athira P S , 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..11250ed24 --- /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: Athira P S (odoo@cybrosys.com) +# +# You can modify it under the terms of the GNU AFFERO +# GENERAL PUBLIC LICENSE (AGPL 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 AFFERO GENERAL PUBLIC LICENSE (AGPL v3) for more details. +# +# You should have received a copy of the GNU AFFERO GENERAL PUBLIC LICENSE +# (AGPL 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..d4f7b8f27 --- /dev/null +++ b/pantry_payroll/__manifest__.py @@ -0,0 +1,50 @@ +# -*- coding: utf-8 -*- +################################################################################ +# +# Cybrosys Technologies Pvt. Ltd. +# +# Copyright (C) 2023-TODAY Cybrosys Technologies(). +# Author: Athira P S (odoo@cybrosys.com) +# +# You can modify it under the terms of the GNU AFFERO +# GENERAL PUBLIC LICENSE (AGPL 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 AFFERO GENERAL PUBLIC LICENSE (AGPL v3) for more details. +# +# You should have received a copy of the GNU AFFERO GENERAL PUBLIC LICENSE +# (AGPL v3) along with this program. +# If not, see . + +################################################################################ +{ + 'name': 'Payroll Management In Pantry', + 'version': '16.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..1a76e531c --- /dev/null +++ b/pantry_payroll/doc/RELEASE_NOTES.md @@ -0,0 +1,6 @@ +## Module + +#### 02.12.2023 +#### Version 16.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..1490e50a0 --- /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: Athira P S (odoo@cybrosys.com) +# +# You can modify it under the terms of the GNU AFFERO +# GENERAL PUBLIC LICENSE (AGPL 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 AFFERO GENERAL PUBLIC LICENSE (AGPL v3) for more details. +# +# You should have received a copy of the GNU AFFERO GENERAL PUBLIC LICENSE +# (AGPL 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..9e064b395 --- /dev/null +++ b/pantry_payroll/models/hr_payslip.py @@ -0,0 +1,46 @@ +# -*- coding: utf-8 -*- +################################################################################ +# +# Cybrosys Technologies Pvt. Ltd. +# +# Copyright (C) 2023-TODAY Cybrosys Technologies(). +# Author: Athira P S (odoo@cybrosys.com) +# +# You can modify it under the terms of the GNU AFFERO +# GENERAL PUBLIC LICENSE (AGPL 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 AFFERO GENERAL PUBLIC LICENSE (AGPL v3) for more details. +# +# You should have received a copy of the GNU AFFERO GENERAL PUBLIC LICENSE +# (AGPL 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, 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 100644 index 000000000..58e585f9d --- /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: Athira P S (odoo@cybrosys.com) +# +# You can modify it under the terms of the GNU AFFERO +# GENERAL PUBLIC LICENSE (AGPL 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 AFFERO GENERAL PUBLIC LICENSE (AGPL v3) for more details. +# +# You should have received a copy of the GNU AFFERO GENERAL PUBLIC LICENSE +# (AGPL 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') + 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..152afe75c --- /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: Athira P S (odoo@cybrosys.com) +# +# You can modify it under the terms of the GNU AFFERO +# GENERAL PUBLIC LICENSE (AGPL 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 AFFERO GENERAL PUBLIC LICENSE (AGPL v3) for more details. +# +# You should have received a copy of the GNU AFFERO GENERAL PUBLIC LICENSE +# (AGPL 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", 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..0890b7e22 --- /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: Athira P S (odoo@cybrosys.com) +# +# You can modify it under the terms of the GNU AFFERO +# GENERAL PUBLIC LICENSE (AGPL 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 AFFERO GENERAL PUBLIC LICENSE (AGPL v3) for more details. +# +# You should have received a copy of the GNU AFFERO GENERAL PUBLIC LICENSE +# (AGPL v3) 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..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/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/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/1.png b/pantry_payroll/static/description/assets/modules/1.png new file mode 100755 index 000000000..655347837 Binary files /dev/null and b/pantry_payroll/static/description/assets/modules/1.png differ diff --git a/pantry_payroll/static/description/assets/modules/2.png b/pantry_payroll/static/description/assets/modules/2.png new file mode 100755 index 000000000..31ed46762 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.png b/pantry_payroll/static/description/assets/modules/3.png new file mode 100755 index 000000000..96aecf237 Binary files /dev/null and b/pantry_payroll/static/description/assets/modules/3.png differ diff --git a/pantry_payroll/static/description/assets/modules/4.png b/pantry_payroll/static/description/assets/modules/4.png new file mode 100755 index 000000000..bc5648b1a Binary files /dev/null and b/pantry_payroll/static/description/assets/modules/4.png differ diff --git a/pantry_payroll/static/description/assets/modules/5.png b/pantry_payroll/static/description/assets/modules/5.png new file mode 100755 index 000000000..038385e41 Binary files /dev/null and b/pantry_payroll/static/description/assets/modules/5.png differ diff --git a/pantry_payroll/static/description/assets/modules/6.png b/pantry_payroll/static/description/assets/modules/6.png new file mode 100755 index 000000000..1077a4c4e Binary files /dev/null and b/pantry_payroll/static/description/assets/modules/6.png differ diff --git a/pantry_payroll/static/description/assets/screenshots/01.png b/pantry_payroll/static/description/assets/screenshots/01.png new file mode 100755 index 000000000..0c1bfb82e Binary files /dev/null and b/pantry_payroll/static/description/assets/screenshots/01.png differ diff --git a/pantry_payroll/static/description/assets/screenshots/02.5.png b/pantry_payroll/static/description/assets/screenshots/02.5.png new file mode 100755 index 000000000..c0e0f7766 Binary files /dev/null and b/pantry_payroll/static/description/assets/screenshots/02.5.png differ diff --git a/pantry_payroll/static/description/assets/screenshots/02.png b/pantry_payroll/static/description/assets/screenshots/02.png new file mode 100755 index 000000000..293dd9e20 Binary files /dev/null and b/pantry_payroll/static/description/assets/screenshots/02.png differ diff --git a/pantry_payroll/static/description/assets/screenshots/03.png b/pantry_payroll/static/description/assets/screenshots/03.png new file mode 100755 index 000000000..ca5db0449 Binary files /dev/null and b/pantry_payroll/static/description/assets/screenshots/03.png differ diff --git a/pantry_payroll/static/description/assets/screenshots/04.png b/pantry_payroll/static/description/assets/screenshots/04.png new file mode 100755 index 000000000..23616d1fe Binary files /dev/null and b/pantry_payroll/static/description/assets/screenshots/04.png differ diff --git a/pantry_payroll/static/description/assets/screenshots/05.png b/pantry_payroll/static/description/assets/screenshots/05.png new file mode 100755 index 000000000..00dac442e Binary files /dev/null and b/pantry_payroll/static/description/assets/screenshots/05.png differ diff --git a/pantry_payroll/static/description/assets/screenshots/06.png b/pantry_payroll/static/description/assets/screenshots/06.png new file mode 100755 index 000000000..7437ffce0 Binary files /dev/null and b/pantry_payroll/static/description/assets/screenshots/06.png differ diff --git a/pantry_payroll/static/description/assets/screenshots/07.png b/pantry_payroll/static/description/assets/screenshots/07.png new file mode 100755 index 000000000..79cb638ac Binary files /dev/null and b/pantry_payroll/static/description/assets/screenshots/07.png differ diff --git a/pantry_payroll/static/description/assets/screenshots/08.png b/pantry_payroll/static/description/assets/screenshots/08.png new file mode 100755 index 000000000..0bb1d8760 Binary files /dev/null and b/pantry_payroll/static/description/assets/screenshots/08.png differ diff --git a/pantry_payroll/static/description/assets/screenshots/v16-hero.gif b/pantry_payroll/static/description/assets/screenshots/v16-hero.gif new file mode 100644 index 000000000..e34e40c08 Binary files /dev/null and b/pantry_payroll/static/description/assets/screenshots/v16-hero.gif differ diff --git a/pantry_payroll/static/description/banner.jpg b/pantry_payroll/static/description/banner.jpg new file mode 100755 index 000000000..7ee78bd85 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 100755 index 000000000..80c9730fd 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 100755 index 000000000..40a03b94f --- /dev/null +++ b/pantry_payroll/static/description/index.html @@ -0,0 +1,550 @@ +
+ +
+ +
+
+ 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 +

+
+
+
+
+

'Pantry Admin' User Group

+

Only the Administrator with the 'Pantry Admin' user group will be able to see all the Pantry Orders and be able to delete it.

+ +
+
+

Pantry Products

+

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

+ +
+
+

Buy Products

+

You can increment or decrement the quantity and BUY the product

+ +
+
+

Pantry Orders

+

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 also note the order date is 09/06/2023

+ +
+
+

Salary rule

+

New salary rule based on python code will be added

+ +
+
+

Create Payslips

+

You can go and create an Employee Payslip. Choose the Employee, The 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

+ +
+
+

Created Payslip

+

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

+ +
+
+

Pantry Amount Deducted Amount

+

Here, the pantry amount is deducted from the employee's salary

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

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

+
+
+
+
+
+
+
+ +
+
+
+ \ No newline at end of file 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..0e888c350 --- /dev/null +++ b/pantry_payroll/views/product_product_views.xml @@ -0,0 +1,89 @@ + + + + + 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 + + + + + + + + + +