diff --git a/employee_purchase_requisition/README.rst b/employee_purchase_requisition/README.rst new file mode 100644 index 000000000..06b80a656 --- /dev/null +++ b/employee_purchase_requisition/README.rst @@ -0,0 +1,53 @@ +.. 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 + +Employee Purchase Requisition +============================= +This app allows an employee to submit a request to the purchasing department or management for the purchase of goods or services. + +Configuration +============= +- Need to set the Employee Purchase Requisition from the user configuration + +Installation +============ +- www.odoo.com/documentation/15.0/setup/install.html +- Install our custom addon + +Company +------- +* `Cybrosys Techno Solutions `__ + +License +------- +GNU AFFERO GENERAL PUBLIC LICENSE Version 3 (AGPL v3) +(https://www.odoo.com/documentation/16.0/legal/licenses.html) + +Credits +------- +* Developers: + (V16) Cybrosys Techno Solutions, + (V15) Shonima, + 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 https://www.cybrosys.com + +Further information +=================== +HTML Description: ``__ diff --git a/employee_purchase_requisition/__init__.py b/employee_purchase_requisition/__init__.py new file mode 100644 index 000000000..a184932a3 --- /dev/null +++ b/employee_purchase_requisition/__init__.py @@ -0,0 +1,22 @@ +# -*- coding: utf-8 -*- +############################################################################# +# +# Cybrosys Technologies Pvt. Ltd. +# +# Copyright (C) 2023-TODAY Cybrosys Technologies(). +# Author: Vishnu P() +# +# 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/employee_purchase_requisition/__manifest__.py b/employee_purchase_requisition/__manifest__.py new file mode 100644 index 000000000..3f1764cf6 --- /dev/null +++ b/employee_purchase_requisition/__manifest__.py @@ -0,0 +1,57 @@ +# -*- coding: utf-8 -*- +############################################################################# +# +# Cybrosys Technologies Pvt. Ltd. +# +# Copyright (C) 2023-TODAY Cybrosys Technologies(). +# Author: Shonima() +# +# 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': 'Employee Purchase Requisition', + 'version': '15.0.1.0.0', + 'category': 'Purchases', + 'summary': 'This app allows an employee to submit a request to the ' + 'purchasing department or management for the purchase of goods ' + 'or services.', + 'description': 'This app allows employees to request purchases from the ' + 'company. They make requests for goods or services through ' + 'the purchasing department or management.', + 'author': 'Cybrosys Techno Solutions', + 'company': 'Cybrosys Techno Solutions', + 'maintainer': 'Cybrosys Techno Solutions', + 'website': 'https://www.cybrosys.com', + 'depends': ['hr', 'stock', 'purchase'], + 'data': [ + 'security/employee_purchase_requisition_security.xml', + 'security/ir.model.access.csv', + 'data/ir_sequence_data.xml', + 'data/ir_actions_server_data.xml', + 'views/employee_purchase_requisition_views.xml', + 'views/employee_purchase_requisition_menu_items.xml', + 'views/hr_employee_views.xml', + 'views/hr_department_views.xml', + 'views/purchase_order_views.xml', + 'views/stock_picking_views.xml', + 'views/requisition_order_views.xml', + 'report/employee_purchase_requisition_templates.xml', + 'report/employee_purchase_requisition_reports.xml', + ], + 'images': ['static/description/banner.png'], + 'license': 'AGPL-3', + 'installable': True, + 'auto_install': False, + 'application': True, +} diff --git a/employee_purchase_requisition/data/ir_actions_server_data.xml b/employee_purchase_requisition/data/ir_actions_server_data.xml new file mode 100644 index 000000000..72a75ac83 --- /dev/null +++ b/employee_purchase_requisition/data/ir_actions_server_data.xml @@ -0,0 +1,16 @@ + + + + + + Print Requisition Order + + + form + code + action = records.action_print_report() + + + \ No newline at end of file diff --git a/employee_purchase_requisition/data/ir_sequence_data.xml b/employee_purchase_requisition/data/ir_sequence_data.xml new file mode 100644 index 000000000..15732f2e4 --- /dev/null +++ b/employee_purchase_requisition/data/ir_sequence_data.xml @@ -0,0 +1,15 @@ + + + + + + Employee Purchase Requisition + employee.purchase.requisition + EPR + 5 + + + + + + \ No newline at end of file diff --git a/employee_purchase_requisition/doc/RELEASE_NOTES.md b/employee_purchase_requisition/doc/RELEASE_NOTES.md new file mode 100644 index 000000000..897edb740 --- /dev/null +++ b/employee_purchase_requisition/doc/RELEASE_NOTES.md @@ -0,0 +1,7 @@ +## Module + +#### 29.02.2024 +#### Version 15.0.1.0.0 +#### ADD +- Initial commit for Employee Purchase Requisition + diff --git a/employee_purchase_requisition/models/__init__.py b/employee_purchase_requisition/models/__init__.py new file mode 100644 index 000000000..3fa8be544 --- /dev/null +++ b/employee_purchase_requisition/models/__init__.py @@ -0,0 +1,27 @@ +# -*- coding: utf-8 -*- +############################################################################# +# +# Cybrosys Technologies Pvt. Ltd. +# +# Copyright (C) 2023-TODAY Cybrosys Technologies(). +# Author: Vishnu P() +# +# 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 employee_purchase_requistion +from . import hr_department +from . import hr_employee +from . import purchase_order +from . import requisition_order +from . import stock_picking diff --git a/employee_purchase_requisition/models/employee_purchase_requistion.py b/employee_purchase_requisition/models/employee_purchase_requistion.py new file mode 100644 index 000000000..857c354a6 --- /dev/null +++ b/employee_purchase_requisition/models/employee_purchase_requistion.py @@ -0,0 +1,234 @@ +# -*- coding: utf-8 -*- +############################################################################# +# +# Cybrosys Technologies Pvt. Ltd. +# +# Copyright (C) 2023-TODAY Cybrosys Technologies(). +# Author: Vishnu P() +# +# 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 EmployeePurchaseRequisition(models.Model): + """ Model for storing purchase requisition """ + _name = 'employee.purchase.requisition' + _description = 'Purchase Requisition' + _inherit = "mail.thread", "mail.activity.mixin" + + name = fields.Char(string="Reference No", readonly=True, + help="Name of the purchase requisition") + employee_id = fields.Many2one('hr.employee', string='Employee', + required=True, + help='Employee of the purchase requisition') + dept_id = fields.Many2one('hr.department', string='Department', + related='employee_id.department_id', store=True, + help='Department of the purchase requisition') + user_id = fields.Many2one('res.users', string='Requisition Responsible', + required=True, + help='Requisition responsible user') + requisition_date = fields.Date(string="Requisition Date", + default=lambda self: fields.Date.today(), + help='Date of Requisition') + receive_date = fields.Date(string="Received Date", readonly=True, + help='Receive Date') + requisition_deadline = fields.Date(string="Requisition Deadline", + help="End date of Purchase requisition") + company_id = fields.Many2one('res.company', string='Company', + default=lambda self: self.env.company, + help='Company of the Purchase requisition ' + 'record') + requisition_order_ids = fields.One2many('requisition.order', + 'requisition_product_id', + required=True, + string='Purchase Order', + help='The requested purchase ' + 'orders by the employee') + confirm_id = fields.Many2one('res.users', string='Confirmed By', + default=lambda self: self.env.uid, + readonly=True, + help='User who Confirmed the requisition.') + manager_id = fields.Many2one('res.users', string='Department Manager', + readonly=True, help='Department Manager') + requisition_head_id = fields.Many2one('res.users', string='Approved By', + readonly=True, + help='User who approved the ' + 'requisition.') + rejected_user_id = fields.Many2one('res.users', string='Rejected By', + readonly=True, + help='user who rejected the requisition') + confirmed_date = fields.Date(string='Confirmed Date', readonly=True, + help='Date of Requisition Confirmation') + department_approval_date = fields.Date(string='Department Approval Date', + readonly=True, + help='Department Approval Date') + approval_date = fields.Date(string='Approved Date', readonly=True, + help='Requisition Approval Date') + reject_date = fields.Date(string='Rejection Date', readonly=True, + help='Requisition Rejected Date') + source_location_id = fields.Many2one('stock.location', + string='Source Location', + help='Source location of requisition.') + destination_location_id = fields.Many2one('stock.location', + string="Destination Location", + help='Destination location of ' + 'requisition.') + delivery_type_id = fields.Many2one('stock.picking.type', + string='Delivery To', + help='Type of Delivery.') + internal_picking_id = fields.Many2one('stock.picking.type', + string="Internal Picking") + requisition_description = fields.Text(string="Reason For Requisition", + help='Reason for the requisition') + purchase_count = fields.Integer(string='Purchase Count', + help='Purchase Count', + compute='_compute_purchase_count') + internal_transfer_count = fields.Integer(string='Internal Transfer count', + help='Internal Transfer count', + compute='_compute_internal_transfer_count') + state = fields.Selection( + [('new', 'New'), + ('waiting_department_approval', 'Waiting Department Approval'), + ('waiting_head_approval', 'Waiting Head Approval'), + ('approved', 'Approved'), + ('purchase_order_created', 'Purchase Order Created'), + ('received', 'Received'), + ('cancelled', 'Cancelled')], + default='new', copy=False, tracking=True, string='state', + help='State of the purchase requisition') + + @api.model + def create(self, vals): + """generate purchase requisition sequence""" + if vals.get('name', 'New') == 'New': + vals['name'] = self.env['ir.sequence'].next_by_code( + 'employee.purchase.requisition') or 'New' + result = super(EmployeePurchaseRequisition, self).create(vals) + return result + + def action_confirm_requisition(self): + """confirm purchase requisition""" + self.source_location_id = self.employee_id.department_id.department_location_id.id + self.destination_location_id = self.employee_id.employee_location_id.id + self.delivery_type_id = self.source_location_id.warehouse_id.in_type_id.id + self.internal_picking_id = self.source_location_id.warehouse_id.int_type_id.id + self.write({'state': 'waiting_department_approval'}) + self.confirm_id = self.env.uid + self.confirmed_date = fields.Date.today() + + def action_department_approval(self): + """approval from department""" + self.write({'state': 'waiting_head_approval'}) + self.manager_id = self.env.uid + self.department_approval_date = fields.Date.today() + + def action_department_cancel(self): + """cancellation from department """ + self.write({'state': 'cancelled'}) + self.rejected_user_id = self.env.uid + self.reject_date = fields.Date.today() + + def action_head_approval(self): + """approval from department head""" + self.write({'state': 'approved'}) + self.requisition_head_id = self.env.uid + self.approval_date = fields.Date.today() + + def action_head_cancel(self): + """cancellation from department head""" + self.write({'state': 'cancelled'}) + self.rejected_user_id = self.env.uid + self.reject_date = fields.Date.today() + + def action_create_purchase_order(self): + """create purchase order and internal transfer""" + for rec in self.requisition_order_ids: + if rec.requisition_type == 'internal_transfer': + self.env['stock.picking'].create({ + 'location_id': self.source_location_id.id, + 'location_dest_id': self.employee_id.employee_location_id.id, + 'picking_type_id': self.internal_picking_id.id, + 'requisition_order': self.name, + 'move_ids_without_package': [(0, 0, { + 'name': rec.product_id.name, + 'product_id': rec.product_id.id, + 'product_uom': rec.product_id.uom_id, + 'product_uom_qty': rec.quantity, + 'location_id': self.source_location_id.id, + 'location_dest_id': self.employee_id.employee_location_id.id, + })] + }) + else: + self.env['purchase.order'].create({ + 'partner_id': rec.partner_id.id, + 'requisition_order': self.name, + "order_line": [(0, 0, { + 'product_id': rec.product_id.id, + 'product_qty': rec.quantity, + })]}) + self.write({'state': 'purchase_order_created'}) + + def _compute_internal_transfer_count(self): + """Method _compute_internal_transfer_count to compute value to the field + internal_transfer_count""" + for rec in self: + rec.internal_transfer_count = self.env[ + 'stock.picking'].search_count([ + ('requisition_order', '=', rec.name)]) + + def _compute_purchase_count(self): + """Method _compute_purchase_count to compute value to the field + purchase_count""" + for rec in self: + rec.purchase_count = self.env['purchase.order'].search_count([ + ('requisition_order', '=', rec.name)]) + + def action_receive(self): + """receive purchase requisition""" + self.write({'state': 'received'}) + self.receive_date = fields.Date.today() + + def get_purchase_order(self): + """purchase order smart button view""" + self.ensure_one() + return { + 'type': 'ir.actions.act_window', + 'name': 'Purchase Order', + 'view_mode': 'tree,form', + 'res_model': 'purchase.order', + 'domain': [('requisition_order', '=', self.name)], + } + + def get_internal_transfer(self): + """internal transfer smart tab view""" + self.ensure_one() + return { + 'type': 'ir.actions.act_window', + 'name': 'Internal Transfers', + 'view_mode': 'tree,form', + 'res_model': 'stock.picking', + 'domain': [('requisition_order', '=', self.name)], + } + + def action_print_report(self): + """print purchase requisition report""" + data = { + 'employee': self.employee_id.name, + 'records': self.read(), + 'order_ids': self.requisition_order_ids.read(), + } + return self.env.ref( + 'employee_purchase_requisition.action_report_purchase_requisition').report_action( + self, data=data) diff --git a/employee_purchase_requisition/models/hr_department.py b/employee_purchase_requisition/models/hr_department.py new file mode 100644 index 000000000..83327d356 --- /dev/null +++ b/employee_purchase_requisition/models/hr_department.py @@ -0,0 +1,31 @@ +# -*- coding: utf-8 -*- +############################################################################# +# +# Cybrosys Technologies Pvt. Ltd. +# +# Copyright (C) 2023-TODAY Cybrosys Technologies(). +# Author: Vishnu P() +# +# 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 Department(models.Model): + """ Inherit hr.department model""" + _inherit = 'hr.department' + + department_location_id = fields.Many2one('stock.location', + string='Destination Location', + help='Department location') diff --git a/employee_purchase_requisition/models/hr_employee.py b/employee_purchase_requisition/models/hr_employee.py new file mode 100644 index 000000000..42aa30217 --- /dev/null +++ b/employee_purchase_requisition/models/hr_employee.py @@ -0,0 +1,31 @@ +# -*- coding: utf-8 -*- +############################################################################# +# +# Cybrosys Technologies Pvt. Ltd. +# +# Copyright (C) 2023-TODAY Cybrosys Technologies(). +# Author: Vishnu P() +# +# 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 HrEmployee(models.Model): + """ inherit hr.employee model""" + _inherit = 'hr.employee' + + employee_location_id = fields.Many2one('stock.location', + string="Destination Location", + help='Employee Destination location') diff --git a/employee_purchase_requisition/models/purchase_order.py b/employee_purchase_requisition/models/purchase_order.py new file mode 100644 index 000000000..2844bcb6a --- /dev/null +++ b/employee_purchase_requisition/models/purchase_order.py @@ -0,0 +1,30 @@ +# -*- coding: utf-8 -*- +############################################################################# +# +# Cybrosys Technologies Pvt. Ltd. +# +# Copyright (C) 2023-TODAY Cybrosys Technologies(). +# Author: Vishnu P() +# +# 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 PurchaseOrder(models.Model): + """ inherit purchase.order model """ + _inherit = 'purchase.order' + + requisition_order = fields.Char(string='Requisition Order', + help='Related Requisition Order') diff --git a/employee_purchase_requisition/models/requisition_order.py b/employee_purchase_requisition/models/requisition_order.py new file mode 100644 index 000000000..4cc681fa9 --- /dev/null +++ b/employee_purchase_requisition/models/requisition_order.py @@ -0,0 +1,72 @@ +# -*- coding: utf-8 -*- +############################################################################# +# +# Cybrosys Technologies Pvt. Ltd. +# +# Copyright (C) 2023-TODAY Cybrosys Technologies(). +# Author: Vishnu P() +# +# 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 RequisitionProducts(models.Model): + _name = 'requisition.order' + _description = 'Requisition order' + + requisition_product_id = fields.Many2one( + 'employee.purchase.requisition', help='Product for the requisition', + string='Requisition Product') + state = fields.Selection(string='State', + related='requisition_product_id.state', + help='State for the requisition order') + requisition_type = fields.Selection( + string='Requisition Type', + selection=[ + ('purchase_order', 'Purchase Order'), + ('internal_transfer', 'Internal Transfer'), + ], help='Type of requisition', default='purchase_order') + product_id = fields.Many2one('product.product', required=True, + help='Product for the requisition', + string="Product") + description = fields.Text( + string="Description", + compute='_compute_description', + store=True, readonly=False, + precompute=True, help='Product Description') + quantity = fields.Integer(string='Quantity', help='Quantity', default=1) + uom = fields.Char(related='product_id.uom_id.name', + string='Unit of Measure', help='Product Uom') + partner_id = fields.Many2one('res.partner', string='Vendor', + help='Vendor for the requisition') + + @api.depends('product_id') + def _compute_description(self): + """compute product description""" + for option in self: + if not option.product_id: + continue + product_lang = option.product_id.with_context( + lang=self.requisition_product_id.employee_id.lang) + option.description = product_lang.get_product_multiline_description_sale() + + @api.onchange('product_id') + def _onchange_product(self): + """fetching product vendors""" + self.partner_id = False + vendors_list = [data.name.id for data in self.product_id.seller_ids] + if not vendors_list: + return False + return {'domain': {'partner_id': [('id', 'in', vendors_list)]}} diff --git a/employee_purchase_requisition/models/stock_picking.py b/employee_purchase_requisition/models/stock_picking.py new file mode 100644 index 000000000..1f33b073c --- /dev/null +++ b/employee_purchase_requisition/models/stock_picking.py @@ -0,0 +1,30 @@ +# -*- coding: utf-8 -*- +############################################################################# +# +# Cybrosys Technologies Pvt. Ltd. +# +# Copyright (C) 2023-TODAY Cybrosys Technologies(). +# Author: Vishnu P() +# +# 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 StockPicking(models.Model): + """ inherit stock.picking model """ + _inherit = 'stock.picking' + + requisition_order = fields.Char(string='Requisition Order', + help='Related Requisition Order') diff --git a/employee_purchase_requisition/report/employee_purchase_requisition_reports.xml b/employee_purchase_requisition/report/employee_purchase_requisition_reports.xml new file mode 100644 index 000000000..61ca1b81d --- /dev/null +++ b/employee_purchase_requisition/report/employee_purchase_requisition_reports.xml @@ -0,0 +1,11 @@ + + + + + Material Purchase Requisition Report + employee.purchase.requisition + qweb-pdf + employee_purchase_requisition.report_purchase_requisition + employee_purchase_requisition.report_purchase_requisition + + diff --git a/employee_purchase_requisition/report/employee_purchase_requisition_templates.xml b/employee_purchase_requisition/report/employee_purchase_requisition_templates.xml new file mode 100644 index 000000000..fad8c3822 --- /dev/null +++ b/employee_purchase_requisition/report/employee_purchase_requisition_templates.xml @@ -0,0 +1,208 @@ + + + + + + diff --git a/employee_purchase_requisition/security/employee_purchase_requisition_security.xml b/employee_purchase_requisition/security/employee_purchase_requisition_security.xml new file mode 100644 index 000000000..884e64093 --- /dev/null +++ b/employee_purchase_requisition/security/employee_purchase_requisition_security.xml @@ -0,0 +1,59 @@ + + + + Employee Purchase Requisition + User access level for Material Request + module + + 20 + + + + Requisition Users + + + + + + Department Head + + + + + Requisition Manager + + + + + + Requisition User Rule + + [('confirm_id', '=', user.id)] + + + + + Department Head Rule + + [('user_id','=',user.id)] + + + + + Requisition Manager Rule + + [(1,'=',1)] + + + + + Purchase Requisition Company Rule + + [('company_id', '=', company_id)] + + \ No newline at end of file diff --git a/employee_purchase_requisition/security/ir.model.access.csv b/employee_purchase_requisition/security/ir.model.access.csv new file mode 100644 index 000000000..55dece080 --- /dev/null +++ b/employee_purchase_requisition/security/ir.model.access.csv @@ -0,0 +1,5 @@ +id,name,model_id/id,group_id/id,perm_read,perm_write,perm_create,perm_unlink +access_employee_purchase_requisition_manager,employee.purchase.requisition,model_employee_purchase_requisition,employee_purchase_requisition.employee_requisition_manager,1,1,0,0 +access_employee_purchase_requisition_requisition_head,employee.purchase.requisition,model_employee_purchase_requisition,employee_purchase_requisition.employee_requisition_head,1,1,0,0 +access_employee_purchase_requisition_user,employee.purchase.requisition,model_employee_purchase_requisition,employee_purchase_requisition.employee_requisition_user,1,1,1,1 +access_requisition_order_user,employee.purchase.requisition.user,model_requisition_order,base.group_user,1,1,1,1 diff --git a/employee_purchase_requisition/static/description/assets/icons/check.png b/employee_purchase_requisition/static/description/assets/icons/check.png new file mode 100644 index 000000000..c8e85f51d Binary files /dev/null and b/employee_purchase_requisition/static/description/assets/icons/check.png differ diff --git a/employee_purchase_requisition/static/description/assets/icons/chevron.png b/employee_purchase_requisition/static/description/assets/icons/chevron.png new file mode 100644 index 000000000..2089293d6 Binary files /dev/null and b/employee_purchase_requisition/static/description/assets/icons/chevron.png differ diff --git a/employee_purchase_requisition/static/description/assets/icons/cogs.png b/employee_purchase_requisition/static/description/assets/icons/cogs.png new file mode 100644 index 000000000..95d0bad62 Binary files /dev/null and b/employee_purchase_requisition/static/description/assets/icons/cogs.png differ diff --git a/employee_purchase_requisition/static/description/assets/icons/consultation.png b/employee_purchase_requisition/static/description/assets/icons/consultation.png new file mode 100644 index 000000000..8319d4baa Binary files /dev/null and b/employee_purchase_requisition/static/description/assets/icons/consultation.png differ diff --git a/employee_purchase_requisition/static/description/assets/icons/ecom-black.png b/employee_purchase_requisition/static/description/assets/icons/ecom-black.png new file mode 100644 index 000000000..a9385ff13 Binary files /dev/null and b/employee_purchase_requisition/static/description/assets/icons/ecom-black.png differ diff --git a/employee_purchase_requisition/static/description/assets/icons/education-black.png b/employee_purchase_requisition/static/description/assets/icons/education-black.png new file mode 100644 index 000000000..3eb09b27b Binary files /dev/null and b/employee_purchase_requisition/static/description/assets/icons/education-black.png differ diff --git a/employee_purchase_requisition/static/description/assets/icons/hotel-black.png b/employee_purchase_requisition/static/description/assets/icons/hotel-black.png new file mode 100644 index 000000000..130f613be Binary files /dev/null and b/employee_purchase_requisition/static/description/assets/icons/hotel-black.png differ diff --git a/employee_purchase_requisition/static/description/assets/icons/license.png b/employee_purchase_requisition/static/description/assets/icons/license.png new file mode 100644 index 000000000..a5869797e Binary files /dev/null and b/employee_purchase_requisition/static/description/assets/icons/license.png differ diff --git a/employee_purchase_requisition/static/description/assets/icons/lifebuoy.png b/employee_purchase_requisition/static/description/assets/icons/lifebuoy.png new file mode 100644 index 000000000..658d56ccc Binary files /dev/null and b/employee_purchase_requisition/static/description/assets/icons/lifebuoy.png differ diff --git a/employee_purchase_requisition/static/description/assets/icons/manufacturing-black.png b/employee_purchase_requisition/static/description/assets/icons/manufacturing-black.png new file mode 100644 index 000000000..697eb0e9f Binary files /dev/null and b/employee_purchase_requisition/static/description/assets/icons/manufacturing-black.png differ diff --git a/employee_purchase_requisition/static/description/assets/icons/pos-black.png b/employee_purchase_requisition/static/description/assets/icons/pos-black.png new file mode 100644 index 000000000..97c0f90c1 Binary files /dev/null and b/employee_purchase_requisition/static/description/assets/icons/pos-black.png differ diff --git a/employee_purchase_requisition/static/description/assets/icons/puzzle.png b/employee_purchase_requisition/static/description/assets/icons/puzzle.png new file mode 100644 index 000000000..65cf854e7 Binary files /dev/null and b/employee_purchase_requisition/static/description/assets/icons/puzzle.png differ diff --git a/employee_purchase_requisition/static/description/assets/icons/restaurant-black.png b/employee_purchase_requisition/static/description/assets/icons/restaurant-black.png new file mode 100644 index 000000000..4a35eb939 Binary files /dev/null and b/employee_purchase_requisition/static/description/assets/icons/restaurant-black.png differ diff --git a/employee_purchase_requisition/static/description/assets/icons/service-black.png b/employee_purchase_requisition/static/description/assets/icons/service-black.png new file mode 100644 index 000000000..301ab51cb Binary files /dev/null and b/employee_purchase_requisition/static/description/assets/icons/service-black.png differ diff --git a/employee_purchase_requisition/static/description/assets/icons/trading-black.png b/employee_purchase_requisition/static/description/assets/icons/trading-black.png new file mode 100644 index 000000000..9398ba2f1 Binary files /dev/null and b/employee_purchase_requisition/static/description/assets/icons/trading-black.png differ diff --git a/employee_purchase_requisition/static/description/assets/icons/training.png b/employee_purchase_requisition/static/description/assets/icons/training.png new file mode 100644 index 000000000..884ca024d Binary files /dev/null and b/employee_purchase_requisition/static/description/assets/icons/training.png differ diff --git a/employee_purchase_requisition/static/description/assets/icons/update.png b/employee_purchase_requisition/static/description/assets/icons/update.png new file mode 100644 index 000000000..ecbc5a01a Binary files /dev/null and b/employee_purchase_requisition/static/description/assets/icons/update.png differ diff --git a/employee_purchase_requisition/static/description/assets/icons/user.png b/employee_purchase_requisition/static/description/assets/icons/user.png new file mode 100644 index 000000000..6ffb23d9f Binary files /dev/null and b/employee_purchase_requisition/static/description/assets/icons/user.png differ diff --git a/employee_purchase_requisition/static/description/assets/icons/wrench.png b/employee_purchase_requisition/static/description/assets/icons/wrench.png new file mode 100644 index 000000000..6c04dea0f Binary files /dev/null and b/employee_purchase_requisition/static/description/assets/icons/wrench.png differ diff --git a/employee_purchase_requisition/static/description/assets/misc/categories.png b/employee_purchase_requisition/static/description/assets/misc/categories.png new file mode 100644 index 000000000..bedf1e0b1 Binary files /dev/null and b/employee_purchase_requisition/static/description/assets/misc/categories.png differ diff --git a/employee_purchase_requisition/static/description/assets/misc/check-box.png b/employee_purchase_requisition/static/description/assets/misc/check-box.png new file mode 100644 index 000000000..42caf24b9 Binary files /dev/null and b/employee_purchase_requisition/static/description/assets/misc/check-box.png differ diff --git a/employee_purchase_requisition/static/description/assets/misc/compass.png b/employee_purchase_requisition/static/description/assets/misc/compass.png new file mode 100644 index 000000000..d5fed8faa Binary files /dev/null and b/employee_purchase_requisition/static/description/assets/misc/compass.png differ diff --git a/employee_purchase_requisition/static/description/assets/misc/corporate.png b/employee_purchase_requisition/static/description/assets/misc/corporate.png new file mode 100644 index 000000000..2eb13edbf Binary files /dev/null and b/employee_purchase_requisition/static/description/assets/misc/corporate.png differ diff --git a/employee_purchase_requisition/static/description/assets/misc/customer-support.png b/employee_purchase_requisition/static/description/assets/misc/customer-support.png new file mode 100644 index 000000000..79efc72ed Binary files /dev/null and b/employee_purchase_requisition/static/description/assets/misc/customer-support.png differ diff --git a/employee_purchase_requisition/static/description/assets/misc/cybrosys-logo.png b/employee_purchase_requisition/static/description/assets/misc/cybrosys-logo.png new file mode 100644 index 000000000..cc3cc0ccf Binary files /dev/null and b/employee_purchase_requisition/static/description/assets/misc/cybrosys-logo.png differ diff --git a/employee_purchase_requisition/static/description/assets/misc/features.png b/employee_purchase_requisition/static/description/assets/misc/features.png new file mode 100644 index 000000000..b41769f77 Binary files /dev/null and b/employee_purchase_requisition/static/description/assets/misc/features.png differ diff --git a/employee_purchase_requisition/static/description/assets/misc/logo.png b/employee_purchase_requisition/static/description/assets/misc/logo.png new file mode 100644 index 000000000..478462d3e Binary files /dev/null and b/employee_purchase_requisition/static/description/assets/misc/logo.png differ diff --git a/employee_purchase_requisition/static/description/assets/misc/pictures.png b/employee_purchase_requisition/static/description/assets/misc/pictures.png new file mode 100644 index 000000000..56d255fe9 Binary files /dev/null and b/employee_purchase_requisition/static/description/assets/misc/pictures.png differ diff --git a/employee_purchase_requisition/static/description/assets/misc/pie-chart.png b/employee_purchase_requisition/static/description/assets/misc/pie-chart.png new file mode 100644 index 000000000..426e05244 Binary files /dev/null and b/employee_purchase_requisition/static/description/assets/misc/pie-chart.png differ diff --git a/employee_purchase_requisition/static/description/assets/misc/right-arrow.png b/employee_purchase_requisition/static/description/assets/misc/right-arrow.png new file mode 100644 index 000000000..730984a06 Binary files /dev/null and b/employee_purchase_requisition/static/description/assets/misc/right-arrow.png differ diff --git a/employee_purchase_requisition/static/description/assets/misc/star.png b/employee_purchase_requisition/static/description/assets/misc/star.png new file mode 100644 index 000000000..2eb9ab29f Binary files /dev/null and b/employee_purchase_requisition/static/description/assets/misc/star.png differ diff --git a/employee_purchase_requisition/static/description/assets/misc/support.png b/employee_purchase_requisition/static/description/assets/misc/support.png new file mode 100644 index 000000000..4f18b8b82 Binary files /dev/null and b/employee_purchase_requisition/static/description/assets/misc/support.png differ diff --git a/employee_purchase_requisition/static/description/assets/misc/whatsapp.png b/employee_purchase_requisition/static/description/assets/misc/whatsapp.png new file mode 100644 index 000000000..d513a5356 Binary files /dev/null and b/employee_purchase_requisition/static/description/assets/misc/whatsapp.png differ diff --git a/employee_purchase_requisition/static/description/assets/modules/1.png b/employee_purchase_requisition/static/description/assets/modules/1.png new file mode 100644 index 000000000..b1cb1b5d1 Binary files /dev/null and b/employee_purchase_requisition/static/description/assets/modules/1.png differ diff --git a/employee_purchase_requisition/static/description/assets/modules/2.png b/employee_purchase_requisition/static/description/assets/modules/2.png new file mode 100644 index 000000000..5d23539cd Binary files /dev/null and b/employee_purchase_requisition/static/description/assets/modules/2.png differ diff --git a/employee_purchase_requisition/static/description/assets/modules/3.png b/employee_purchase_requisition/static/description/assets/modules/3.png new file mode 100644 index 000000000..7299c0f35 Binary files /dev/null and b/employee_purchase_requisition/static/description/assets/modules/3.png differ diff --git a/employee_purchase_requisition/static/description/assets/modules/4.png b/employee_purchase_requisition/static/description/assets/modules/4.png new file mode 100644 index 000000000..234c34c01 Binary files /dev/null and b/employee_purchase_requisition/static/description/assets/modules/4.png differ diff --git a/employee_purchase_requisition/static/description/assets/modules/5.png b/employee_purchase_requisition/static/description/assets/modules/5.png new file mode 100644 index 000000000..0271ac854 Binary files /dev/null and b/employee_purchase_requisition/static/description/assets/modules/5.png differ diff --git a/employee_purchase_requisition/static/description/assets/modules/6.png b/employee_purchase_requisition/static/description/assets/modules/6.png new file mode 100644 index 000000000..55070c974 Binary files /dev/null and b/employee_purchase_requisition/static/description/assets/modules/6.png differ diff --git a/employee_purchase_requisition/static/description/assets/screenshots/EPR_action_print_report_19.png b/employee_purchase_requisition/static/description/assets/screenshots/EPR_action_print_report_19.png new file mode 100644 index 000000000..d9cc968cd Binary files /dev/null and b/employee_purchase_requisition/static/description/assets/screenshots/EPR_action_print_report_19.png differ diff --git a/employee_purchase_requisition/static/description/assets/screenshots/EPR_approved_13.png b/employee_purchase_requisition/static/description/assets/screenshots/EPR_approved_13.png new file mode 100644 index 000000000..332179e09 Binary files /dev/null and b/employee_purchase_requisition/static/description/assets/screenshots/EPR_approved_13.png differ diff --git a/employee_purchase_requisition/static/description/assets/screenshots/EPR_approved_14.png b/employee_purchase_requisition/static/description/assets/screenshots/EPR_approved_14.png new file mode 100644 index 000000000..67a8d45e4 Binary files /dev/null and b/employee_purchase_requisition/static/description/assets/screenshots/EPR_approved_14.png differ diff --git a/employee_purchase_requisition/static/description/assets/screenshots/EPR_department_location_05.png b/employee_purchase_requisition/static/description/assets/screenshots/EPR_department_location_05.png new file mode 100644 index 000000000..ff7b5ae8f Binary files /dev/null and b/employee_purchase_requisition/static/description/assets/screenshots/EPR_department_location_05.png differ diff --git a/employee_purchase_requisition/static/description/assets/screenshots/EPR_employee_location_04.png b/employee_purchase_requisition/static/description/assets/screenshots/EPR_employee_location_04.png new file mode 100644 index 000000000..d4e146cd3 Binary files /dev/null and b/employee_purchase_requisition/static/description/assets/screenshots/EPR_employee_location_04.png differ diff --git a/employee_purchase_requisition/static/description/assets/screenshots/EPR_internal_trasnfer_17.png b/employee_purchase_requisition/static/description/assets/screenshots/EPR_internal_trasnfer_17.png new file mode 100644 index 000000000..9c0a3a782 Binary files /dev/null and b/employee_purchase_requisition/static/description/assets/screenshots/EPR_internal_trasnfer_17.png differ diff --git a/employee_purchase_requisition/static/description/assets/screenshots/EPR_new_state_07.png b/employee_purchase_requisition/static/description/assets/screenshots/EPR_new_state_07.png new file mode 100644 index 000000000..85e0d4f3f Binary files /dev/null and b/employee_purchase_requisition/static/description/assets/screenshots/EPR_new_state_07.png differ diff --git a/employee_purchase_requisition/static/description/assets/screenshots/EPR_pdf_report_20.png b/employee_purchase_requisition/static/description/assets/screenshots/EPR_pdf_report_20.png new file mode 100644 index 000000000..c5e57c6ff Binary files /dev/null and b/employee_purchase_requisition/static/description/assets/screenshots/EPR_pdf_report_20.png differ diff --git a/employee_purchase_requisition/static/description/assets/screenshots/EPR_purchase_created_15.png b/employee_purchase_requisition/static/description/assets/screenshots/EPR_purchase_created_15.png new file mode 100644 index 000000000..ecd911ba9 Binary files /dev/null and b/employee_purchase_requisition/static/description/assets/screenshots/EPR_purchase_created_15.png differ diff --git a/employee_purchase_requisition/static/description/assets/screenshots/EPR_purchase_order_16.png b/employee_purchase_requisition/static/description/assets/screenshots/EPR_purchase_order_16.png new file mode 100644 index 000000000..028868d36 Binary files /dev/null and b/employee_purchase_requisition/static/description/assets/screenshots/EPR_purchase_order_16.png differ diff --git a/employee_purchase_requisition/static/description/assets/screenshots/EPR_purchase_requisition_06.png b/employee_purchase_requisition/static/description/assets/screenshots/EPR_purchase_requisition_06.png new file mode 100644 index 000000000..bccf68fd9 Binary files /dev/null and b/employee_purchase_requisition/static/description/assets/screenshots/EPR_purchase_requisition_06.png differ diff --git a/employee_purchase_requisition/static/description/assets/screenshots/EPR_received_18.png b/employee_purchase_requisition/static/description/assets/screenshots/EPR_received_18.png new file mode 100644 index 000000000..fe9368d15 Binary files /dev/null and b/employee_purchase_requisition/static/description/assets/screenshots/EPR_received_18.png differ diff --git a/employee_purchase_requisition/static/description/assets/screenshots/EPR_settings_department_head_02.png b/employee_purchase_requisition/static/description/assets/screenshots/EPR_settings_department_head_02.png new file mode 100644 index 000000000..5cab16e66 Binary files /dev/null and b/employee_purchase_requisition/static/description/assets/screenshots/EPR_settings_department_head_02.png differ diff --git a/employee_purchase_requisition/static/description/assets/screenshots/EPR_settings_manager_01.png b/employee_purchase_requisition/static/description/assets/screenshots/EPR_settings_manager_01.png new file mode 100644 index 000000000..3f99c3bfa Binary files /dev/null and b/employee_purchase_requisition/static/description/assets/screenshots/EPR_settings_manager_01.png differ diff --git a/employee_purchase_requisition/static/description/assets/screenshots/EPR_settings_requisition_user_03.png b/employee_purchase_requisition/static/description/assets/screenshots/EPR_settings_requisition_user_03.png new file mode 100644 index 000000000..bc4c01a71 Binary files /dev/null and b/employee_purchase_requisition/static/description/assets/screenshots/EPR_settings_requisition_user_03.png differ diff --git a/employee_purchase_requisition/static/description/assets/screenshots/EPR_waiting_department_approval_08.png b/employee_purchase_requisition/static/description/assets/screenshots/EPR_waiting_department_approval_08.png new file mode 100644 index 000000000..7318e6a97 Binary files /dev/null and b/employee_purchase_requisition/static/description/assets/screenshots/EPR_waiting_department_approval_08.png differ diff --git a/employee_purchase_requisition/static/description/assets/screenshots/EPR_waiting_department_approval_09.png b/employee_purchase_requisition/static/description/assets/screenshots/EPR_waiting_department_approval_09.png new file mode 100644 index 000000000..60aeaed28 Binary files /dev/null and b/employee_purchase_requisition/static/description/assets/screenshots/EPR_waiting_department_approval_09.png differ diff --git a/employee_purchase_requisition/static/description/assets/screenshots/EPR_waiting_department_approval_10.png b/employee_purchase_requisition/static/description/assets/screenshots/EPR_waiting_department_approval_10.png new file mode 100644 index 000000000..e8c5b194d Binary files /dev/null and b/employee_purchase_requisition/static/description/assets/screenshots/EPR_waiting_department_approval_10.png differ diff --git a/employee_purchase_requisition/static/description/assets/screenshots/EPR_waiting_head_approval_11.png b/employee_purchase_requisition/static/description/assets/screenshots/EPR_waiting_head_approval_11.png new file mode 100644 index 000000000..b78f1c1a3 Binary files /dev/null and b/employee_purchase_requisition/static/description/assets/screenshots/EPR_waiting_head_approval_11.png differ diff --git a/employee_purchase_requisition/static/description/assets/screenshots/EPR_waiting_head_approval_12.png b/employee_purchase_requisition/static/description/assets/screenshots/EPR_waiting_head_approval_12.png new file mode 100644 index 000000000..f1d94e6fa Binary files /dev/null and b/employee_purchase_requisition/static/description/assets/screenshots/EPR_waiting_head_approval_12.png differ diff --git a/employee_purchase_requisition/static/description/assets/screenshots/hero.gif b/employee_purchase_requisition/static/description/assets/screenshots/hero.gif new file mode 100644 index 000000000..b632406cd Binary files /dev/null and b/employee_purchase_requisition/static/description/assets/screenshots/hero.gif differ diff --git a/employee_purchase_requisition/static/description/banner.png b/employee_purchase_requisition/static/description/banner.png new file mode 100644 index 000000000..3521ab02a Binary files /dev/null and b/employee_purchase_requisition/static/description/banner.png differ diff --git a/employee_purchase_requisition/static/description/icon.png b/employee_purchase_requisition/static/description/icon.png new file mode 100644 index 000000000..0d605c0f9 Binary files /dev/null and b/employee_purchase_requisition/static/description/icon.png differ diff --git a/employee_purchase_requisition/static/description/index.html b/employee_purchase_requisition/static/description/index.html new file mode 100644 index 000000000..ba0704ad5 --- /dev/null +++ b/employee_purchase_requisition/static/description/index.html @@ -0,0 +1,798 @@ +
+ +
+ +
+
+ Community +
+
+ Enterprise +
+
+ Odoo.sh +
+
+
+ +
+
+
+ +

Employee Purchase Requisition +

+

+ Manage Material Requisition of Employees and User.

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

+ Explore This + Module

+
+ + + + +
+
+ +
+

+ Overview +

+
+
+
+ This module helps to manage Material Requisition for all Employees and + User by Purchase Order or Internal Transfer.By installing this module + you will get an extra field in Employee and Department form to select + their Destination Location.Based on requisition material and goods are + placed to the configured location +
+
+ + + +
+
+ +
+

+ Features +

+
+
+
+
+ + Option to Create Material Requisition Request. +
+
+ + Multi Level Approvals. +
+
+ + Option to choose Employee and Department Destination Location. +
+ +
+ + Employee can request Multiple Material on a single Material Requisition Request. + +
+
+ + Department Head have an option to Approve/Reject the Request. + +
+
+ + Department Head can choose Purchase Order/Internal Transfer on each Material in the Request. +
+
+
+ +
+ + Department Head have an option to choose the Vendors for each Material. + +
+ +
+ + Requisition Manager can Approve/Reject the Request approved by Department Head. +
+ +
+ + PDF Report for each Material Requisition. + +
+ +
+
+ + + +
+
+ +
+

+ Screenshots +

+
+
+
+ +
+

+ Employee Purchase Requisition User Access +

+

+ Go to Settings -> User & Companies + -> + Users. Hear we can set user access for the app. + "Requisition User" for Users "Department Head" for Department + Head and "Requisition Manager" for manager

+ + + +
+ +
+

+ Employee Purchase Requisition Configuration +

+

+ Go to Employees -> Selected Employee form view -> Purchase + Requisition Settings -> Have an option to select Destination + location of the Employee

+ +

+ Go to Employees -> Department -> Selected Department form View + -> Have an option to select Destination location of the + Department

+ +
+
+

+ Create Material Requisition Order +

+

+ Go to Employee Purchase Requisition -> Purchase Requisition -> + Can see all created Purchase Requisition in tree view and can + create a new Material Request by clicking CREATE button

+ +

+ Requisition User can confirm the Purchase Requisition by + clicking Confirm button,After confirm the state changes + to"Waiting Department Approval" +

+ + +

+ Department Head can choose Requisition type either purchase + order and Internal transfer for each material and also have an + option to select Vendor for the material +

+ +

+ Department Head can Approve/Reject Employee Purchase + Requisition.Under Picking Info Tab can see details about + Purchase Requisition. +

+ +

+ After clicking Approve button state changes to "Waiting Head + Approval". +

+ +

+ Requisition Head can Approve/Reject Employee Purchase + Requisition. +

+ +

+ After Clicking Approve button state changes to "Approved". + Requisition Head can create Purchase Order/Internal Transfer by clicking "CREATE PICKING/PO" button. + +

+ +

+ Other Info tab can see Employee Purchase Requisition request history. +

+ +

+ After clicking "CREATE PICKING/PO" button state changes to "Purchase Order Created".Here can see Smart Tabs for Created Purchase order and Internal transfer. +

+ + + +
+
+

+ Purchase Order +

+

+ User can see Created Purchase Order for Requisition

+ + +
+
+

+ Internal Transfer +

+

+ User can see Created Internal Transfer for Requisition

+ + +
+
+ +

+ Requisition Head can Receive the Purchase Requisition by clicking "Received" button,after clicking state changes to "Received"

+ + +
+
+

+ Purchase Requisition Report +

+

+ Employee Can generate Purchase Requisition Report by clicking Actions ->Print Requisition Report

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

+ 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/employee_purchase_requisition/views/employee_purchase_requisition_menu_items.xml b/employee_purchase_requisition/views/employee_purchase_requisition_menu_items.xml new file mode 100644 index 000000000..9db7f4ce7 --- /dev/null +++ b/employee_purchase_requisition/views/employee_purchase_requisition_menu_items.xml @@ -0,0 +1,12 @@ + + + + + + \ No newline at end of file diff --git a/employee_purchase_requisition/views/employee_purchase_requisition_views.xml b/employee_purchase_requisition/views/employee_purchase_requisition_views.xml new file mode 100644 index 000000000..2c9f14991 --- /dev/null +++ b/employee_purchase_requisition/views/employee_purchase_requisition_views.xml @@ -0,0 +1,247 @@ + + + + + Employee Purchase Requisition + ir.actions.act_window + employee.purchase.requisition + tree,form,kanban + +

+ Create a new record! +

+
+
+ + + + employee.purchase.requisition.view.form + + employee.purchase.requisition + +
+
+ +
+ +
+ + +
+
+

+ +

+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ + +
+
+
+
+ + + + employee.purchase.requisition.view.tree + + employee.purchase.requisition + + + + + + + + + + + + + + + employee.purchase.requisition.view.kanban + + employee.purchase.requisition + + + + +
+
+
+
+ + + +
+
+ + + +
+
+ + + +
+
+ + + +
+
+ + + +
+
+ + + +
+
+
+
+
+
+
+
+
+ + + employee.purchase.requisition.view.search + employee.purchase.requisition + + + + + + + + + +
diff --git a/employee_purchase_requisition/views/hr_department_views.xml b/employee_purchase_requisition/views/hr_department_views.xml new file mode 100644 index 000000000..dba378674 --- /dev/null +++ b/employee_purchase_requisition/views/hr_department_views.xml @@ -0,0 +1,15 @@ + + + + + hr.department.view.form.inherit.employee.purchase.requisition + hr.department + + + + + + + + diff --git a/employee_purchase_requisition/views/hr_employee_views.xml b/employee_purchase_requisition/views/hr_employee_views.xml new file mode 100644 index 000000000..71d712d12 --- /dev/null +++ b/employee_purchase_requisition/views/hr_employee_views.xml @@ -0,0 +1,24 @@ + + + + + + hr.employee.view.form.inherit.employee.purchase.requisition + + hr.employee + + + + + + + + + + + + + + diff --git a/employee_purchase_requisition/views/purchase_order_views.xml b/employee_purchase_requisition/views/purchase_order_views.xml new file mode 100644 index 000000000..b3e107dc9 --- /dev/null +++ b/employee_purchase_requisition/views/purchase_order_views.xml @@ -0,0 +1,15 @@ + + + + + purchase.order.view.form.inherit.employee.purchase.requisition + purchase.order + + + + + + + + \ No newline at end of file diff --git a/employee_purchase_requisition/views/requisition_order_views.xml b/employee_purchase_requisition/views/requisition_order_views.xml new file mode 100644 index 000000000..514aab2f5 --- /dev/null +++ b/employee_purchase_requisition/views/requisition_order_views.xml @@ -0,0 +1,22 @@ + + + + + requisition.order.view.tree + requisition.order + + + + + + + + + + + + + diff --git a/employee_purchase_requisition/views/stock_picking_views.xml b/employee_purchase_requisition/views/stock_picking_views.xml new file mode 100644 index 000000000..d780daac3 --- /dev/null +++ b/employee_purchase_requisition/views/stock_picking_views.xml @@ -0,0 +1,18 @@ + + + + + + stock.picking.view.form.inherit.employee.purchase.requisition + + stock.picking + + + + + + + +