diff --git a/hr_employee_updation/hr_updation.png b/hr_employee_updation/hr_updation.png new file mode 100644 index 000000000..b6aa3c5a8 Binary files /dev/null and b/hr_employee_updation/hr_updation.png differ diff --git a/hr_employee_updation/models/hr_employee.py b/hr_employee_updation/models/hr_employee.py index 35f8d178d..2f0745372 100644 --- a/hr_employee_updation/models/hr_employee.py +++ b/hr_employee_updation/models/hr_employee.py @@ -39,7 +39,7 @@ class HrEmployeeContractName(models.Model): employee_obj = fields.Many2one('hr.employee', invisible=1) -class HrEmployeeFamily(models.Model): +class HrEmployeeFamilyInfo(models.Model): """Table for keep employee family information""" _name = 'hr.employee.family' @@ -48,21 +48,12 @@ class HrEmployeeFamily(models.Model): member_name = fields.Char(string='Name', related='employee_ref.name', store=True) employee_id = fields.Many2one(string="Employee", help='Select corresponding Employee', comodel_name='hr.employee', invisible=1) - employee_ref = fields.Many2one(string="Is Employee", help='If family member currently is an employee of ' - 'same company, then please tick this field', - comodel_name='hr.employee') - member_id = fields.Char(string='Identification No', related='employee_ref.identification_id', store=True) - member_passport = fields.Char(string='Passport No', related='employee_ref.passport_id', store=True) - member_passport_expiry_date = fields.Date(string='Expiry Date', related='employee_ref.passport_expiry_date', - store=True) relation = fields.Selection([('father', 'Father'), ('mother', 'Mother'), ('daughter', 'Daughter'), ('son', 'Son'), ('wife', 'Wife')], string='Relationship', help='Relation with employee') member_contact = fields.Char(string='Contact No', related='employee_ref.personal_mobile', store=True) - date_of_birth = fields.Date(string="Date of Birth", related='employee_ref.birthday', store=True) - gender = fields.Selection(string='Gender', selection=GENDER_SELECTION, related='employee_ref.gender', store=True) class HrEmployee(models.Model): @@ -114,15 +105,4 @@ class HrEmployee(models.Model): fam_ids = fields.One2many('hr.employee.family', 'employee_id', string='Family', help='Family Information') -class HrEmployeeAttachment(models.Model): - _inherit = 'ir.attachment' - - id_attachment_rel = fields.Many2many('hr.employee', 'id_attachment_id', 'attach_ref', 'id_ref', string="Attachment", - invisible=1) - passport_attachment_rel = fields.Many2many('hr.employee', 'passport_attachment_id', 'attach_ref1', 'passport_ref', - string="Attachment", invisible=1) - training_attach_rel = fields.Many2many('ir.attachment', 'certificate_id', 'training_attach_id3', 'training_id', - string="Certificates", invisible=1, - help='You can attach the copy of your certificate') - diff --git a/hr_employee_updation/views/hr_employee_view.xml b/hr_employee_updation/views/hr_employee_view.xml index 356f69dbc..6e347a137 100644 --- a/hr_employee_updation/views/hr_employee_view.xml +++ b/hr_employee_updation/views/hr_employee_view.xml @@ -45,26 +45,7 @@ -
- - - - - - - - - - - - - - - - -
- + diff --git a/hr_reward_warning/models/hr_warning.py b/hr_reward_warning/models/hr_warning.py index e744a64ac..3a8246e0f 100644 --- a/hr_reward_warning/models/hr_warning.py +++ b/hr_reward_warning/models/hr_warning.py @@ -27,7 +27,7 @@ from odoo import models, fields, api, _ class HrAnnouncementTable(models.Model): _name = 'hr.announcement' _description = 'HR Announcement' - _inherit = ['mail.thread', 'ir.needaction_mixin'] + _inherit = ['mail.thread', 'mail.activity.mixin'] name = fields.Char(string='Code No:') announcement_reason = fields.Text(string='Title', states={'draft': [('readonly', False)]}, required=True, readonly=True) diff --git a/oh_hr_lawsuit_management/__manifest__.py b/oh_hr_lawsuit_management/__manifest__.py index bb19a6b2f..960ed035b 100644 --- a/oh_hr_lawsuit_management/__manifest__.py +++ b/oh_hr_lawsuit_management/__manifest__.py @@ -29,13 +29,11 @@ 'author': 'Cybrosys Techno Solutions', 'company': 'Cybrosys Techno Solutions', 'website': "https://www.openhrms.com", - 'depends': ['base', 'hr', 'account'], + 'depends': ['base', 'hr'], 'data': [ 'security/security.xml', 'security/ir.model.access.csv', - 'views/lawsuit_view.xml', - 'views/hr_employee_view.xml', - 'reports/case_report.xml', + 'views/legal_action_view.xml', ], 'demo': [], 'images': ['static/description/banner.jpg'], diff --git a/oh_hr_lawsuit_management/models/__init__.py b/oh_hr_lawsuit_management/models/__init__.py index fb0064752..fd2cead90 100644 --- a/oh_hr_lawsuit_management/models/__init__.py +++ b/oh_hr_lawsuit_management/models/__init__.py @@ -20,8 +20,7 @@ # along with this program. If not, see . # ################################################################################### -from . import lawsuit -from . import hr_employee +from . import legal_action diff --git a/oh_hr_lawsuit_management/models/__pycache__/__init__.cpython-35.pyc b/oh_hr_lawsuit_management/models/__pycache__/__init__.cpython-35.pyc deleted file mode 100644 index 0f4faf3e4..000000000 Binary files a/oh_hr_lawsuit_management/models/__pycache__/__init__.cpython-35.pyc and /dev/null differ diff --git a/oh_hr_lawsuit_management/models/__pycache__/hr_employee.cpython-35.pyc b/oh_hr_lawsuit_management/models/__pycache__/hr_employee.cpython-35.pyc deleted file mode 100644 index 0b1280c40..000000000 Binary files a/oh_hr_lawsuit_management/models/__pycache__/hr_employee.cpython-35.pyc and /dev/null differ diff --git a/oh_hr_lawsuit_management/models/__pycache__/lawsuit.cpython-35.pyc b/oh_hr_lawsuit_management/models/__pycache__/lawsuit.cpython-35.pyc deleted file mode 100644 index adf8c3a45..000000000 Binary files a/oh_hr_lawsuit_management/models/__pycache__/lawsuit.cpython-35.pyc and /dev/null differ diff --git a/oh_hr_lawsuit_management/models/lawsuit.py b/oh_hr_lawsuit_management/models/lawsuit.py deleted file mode 100644 index 09ef8f3b3..000000000 --- a/oh_hr_lawsuit_management/models/lawsuit.py +++ /dev/null @@ -1,267 +0,0 @@ -# -*- coding: utf-8 -*- -################################################################################### -# A part of OpenHRMS Project -# -# Cybrosys Technologies Pvt. Ltd. -# Copyright (C) 2018-TODAY Cybrosys Technologies (). -# Author: Jesni Banu () -# -# This program is free software: you can modify -# it under the terms of the GNU Affero General Public License (AGPL) as -# published by the Free Software Foundation, either version 3 of the -# License, or (at your option) any later version. -# -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU Affero General Public License for more details. -# -# You should have received a copy of the GNU Affero General Public License -# along with this program. If not, see . -# -################################################################################### -from datetime import datetime, timedelta -from odoo import models, fields, api, _ -from odoo.exceptions import Warning -from odoo.http import request - - -class HrLawsuit(models.Model): - _name = 'hr.lawsuit' - _description = 'Hr Lawsuit Management' - _inherit = ['mail.thread', 'mail.activity.mixin'] - - @api.model - def create(self, vals): - vals['name'] = self.env['ir.sequence'].next_by_code('hr.lawsuit') - return super(HrLawsuit, self).create(vals) - - @api.multi - def won(self): - self.state = 'won' - - @api.multi - def cancel(self): - self.state = 'cancel' - - @api.multi - def loss(self): - self.state = 'fail' - - @api.multi - def process(self): - self.state = 'running' - - @api.depends('customer_id') - def set_pending_invoices(self): - for each1 in self: - invoice_list = [] - for each in self.env['account.invoice'].sudo().search([('type', '=', 'out_invoice'), ('state', '=', 'open'), - ('partner_id', '=', each1.customer_id.id)]): - values = {'invoice_ref': each.id, - 'invoice_date': each.date_invoice, - 'due_date': each.date_due, - 'total': each.amount_total, - 'due_amount': each.residual} - invoice_list.append(values) - each1.pending_invoices = invoice_list - - def mail_reminder(self): - now = datetime.now() + timedelta(days=2) - date_now = now.date() - match = self.search([('state', '=', 'running')]) - lawsuit_managers = self.env.ref('oh_hr_lawsuit_management.lawsuit_group_manager').users - recipient_ids = [] - for each in lawsuit_managers: - recipient_ids.append(each.partner_id.id) - for i in match: - for j in i.case_record: - if j.next_action: - next_action_exp_date = fields.Date.from_string(j.case_date) - if next_action_exp_date == date_now: - base_url = self.env['ir.config_parameter'].get_param('web.base.url') - url = base_url + _('/web#id=%s&view_type=form&model=hr.lawsuit&menu_id=') % i.id - mail_content = _('Hi,
The next action date of %s is %s. Please note it.' - '
') % \ - (i.name, i.next_date, url, i.name) - main_content = { - 'subject': _('REMINDER On Next Action of %s') % i.name, - 'author_id': self.env.user.partner_id.id, - 'body_html': mail_content, - 'recipient_ids': [(6, 0, recipient_ids)], - } - mail_id = self.env['mail.mail'].sudo().create(main_content) - mail_id.mail_message_id.body = mail_content - mail_id.send() - mail_id.mail_message_id.write( - {'needaction_partner_ids': [(4, j) for j in recipient_ids]}) - mail_id.mail_message_id.write({'partner_ids': [(4, j) for j in recipient_ids]}) - - if i.next_date: - exp_date = fields.Date.from_string(i.next_date) - if exp_date == date_now: - base_url = self.env['ir.config_parameter'].get_param('web.base.url') - url = base_url + _('/web#id=%s&view_type=form&model=hr.lawsuit&menu_id=') % i.id - mail_content = _('Hi,
The next hearing or next action date of %s is %s. Please note it.' - '
') % \ - (i.name, i.next_date, url, i.name) - main_content = { - 'subject': _('REMINDER On %s') % i.name, - 'author_id': self.env.user.partner_id.id, - 'body_html': mail_content, - 'recipient_ids': [(6, 0, recipient_ids)], - } - mail_id = self.env['mail.mail'].sudo().create(main_content) - mail_id.mail_message_id.body = mail_content - mail_id.send() - mail_id.mail_message_id.write( - {'needaction_partner_ids': [(4, j) for j in recipient_ids]}) - mail_id.mail_message_id.write({'partner_ids': [(4, j) for j in recipient_ids]}) - - @api.depends('party2', 'employee_id', 'customer_id', 'supplier_id') - def set_party2(self): - for each in self: - if each.party2 == 'employee': - each.party2_name = each.employee_id.name - elif each.party2 == 'supplier': - each.party2_name = each.supplier_id.name - elif each.party2 == 'customer': - each.party2_name = each.customer_id.name - - name = fields.Char(string='Code', copy=False) - company_id = fields.Many2one('res.company', 'Company', readonly=True, - default=lambda self: self.env.user.company_id) - requested_date = fields.Date(string='Date', copy=False, readonly=1, default=datetime.now(), - states={'draft': [('readonly', False)]}) - next_date = fields.Datetime(string='Next Hearing Date', eadonly=1, copy=False, readonly=1, - track_visibility='always', - states={'draft': [('readonly', False)]}, default=datetime.now()) - attachment_id = fields.Many2many('ir.attachment', 'case_attach_rel11', 'law_id11', 'case_id11', - string="Next Hearing Requirement", - help='You can attach the copy of your document') - court_name = fields.Many2one('court.court', string='Court Name', track_visibility='always', - states={'won': [('readonly', True)]}) - judge = fields.Char(string='Judge', track_visibility='always', states={'won': [('readonly', True)]}) - lawyer = fields.Char(string='Lawyer', track_visibility='always', states={'won': [('readonly', True)]}) - party1 = fields.Many2one('res.company', string='Party 1', required=1, readonly=1, - states={'draft': [('readonly', False)]}) - party2 = fields.Selection([('employee', 'Employee'), - ('supplier', 'Supplier'), - ('customer', 'Customer'), - ], string='Party 2', required=1, readonly=1, states={'draft': [('readonly', False)]}) - employee_id = fields.Many2one('hr.employee', string='Employee', copy=False, - readonly=1, states={'draft': [('readonly', False)]}) - customer_id = fields.Many2one('res.partner', string='Customer', copy=False, - readonly=1, states={'draft': [('readonly', False)]}) - supplier_id = fields.Many2one('res.partner', string='Supplier', copy=False, - readonly=1, states={'draft': [('readonly', False)]}) - party2_name = fields.Char(compute='set_party2', string='Name', store=True) - case_record = fields.One2many('case.details', 'lawsuit_obj') - pending_invoices = fields.One2many('law.pending.invoice', 'law_obj', compute='set_pending_invoices', readonly=1, - store=True, cascade=True) - case_details = fields.Html(string='Case Details', copy=False, track_visibility='always') - state = fields.Selection([('draft', 'Draft'), - ('running', 'Running'), - ('cancel', 'Cancelled'), - ('fail', 'Failed'), - ('won', 'Won')], string='Status', - default='draft', track_visibility='always', copy=False) - - -class CourtCourt(models.Model): - _name = 'court.court' - - name = fields.Char(string='Name') - place = fields.Char(string='Place') - - -class HrCaseDetails(models.Model): - _name = 'case.details' - _description = 'Case Details' - - case_date = fields.Datetime(string='Date') - cse_details = fields.Text(string='Case Details') - court_name = fields.Char(string='Court Name') - next_action = fields.Char(string='Next Action') - judge = fields.Char(string='Judge') - lawyer = fields.Char(string='Lawyer') - lawsuit_obj = fields.Many2one('hr.lawsuit', invisible=1) - attachment_id = fields.Many2many('ir.attachment', 'case_attach_rel1', 'law_id1', 'case_id1', - string="Attachments", - help='You can attach the copy of your document') - - -class WizardLawsuit(models.TransientModel): - _name = 'wizard.lawsuit' - - @api.onchange('is_next_action') - def onchange_action(self): - if self.is_next_action: - self.next_date = '' - else: - self.next_action = '' - - @api.multi - def follow_up(self): - context = self._context - lawsuit_obj = self.env['hr.lawsuit'].search([('id', '=', context.get('lawsuit_id'))]) - if self.is_next_action: - self.env['case.details'].sudo().create({'case_date': self.next_action_date, - 'cse_details': self.case_details, - 'next_action': self.next_action, - 'court_name': lawsuit_obj.court_name.name, - 'judge': lawsuit_obj.judge, - 'lawyer': lawsuit_obj.lawyer, - 'lawsuit_obj': lawsuit_obj.id, - 'attachment_id': [(6, 0, self.attachment_id.ids)]}) - lawsuit_obj.write({'attachment_id': [(6, 0, self.attachment_id.ids)]}) - else: - self.env['case.details'].sudo().create({'case_date': lawsuit_obj.next_date, - 'cse_details': self.case_details, - 'court_name': lawsuit_obj.court_name.name, - 'judge': lawsuit_obj.judge, - 'lawyer': lawsuit_obj.lawyer, - 'lawsuit_obj': lawsuit_obj.id, - 'attachment_id': [(6, 0, self.attachment_id.ids)]}) - lawsuit_obj.write({'next_date': self.next_date, - 'attachment_id': [(6, 0, self.attachment_id.ids)]}) - - next_date = fields.Datetime(string='Next Hearing Date') - next_action_date = fields.Datetime(string='Next Action Date') - is_next_action = fields.Boolean(string='Is Next Action?') - next_action = fields.Char(string='Next Action') - case_details = fields.Text(string='Previous Case Details') - attachment_id = fields.Many2many('ir.attachment', 'case_attach_rel', 'law_id', 'case_id', - string="Next Hearing Requirement", - help='You can attach the copy of your document') - - -class PendingInvoices(models.Model): - _name = 'law.pending.invoice' - - law_obj = fields.Many2one('hr.lawsuit', invisible=1) - invoice_ref = fields.Many2one('account.invoice', string='Invoice') - invoice_date = fields.Date(string='Invoice Date') - due_date = fields.Date(string='Due Date') - total = fields.Float(string='Total Amount') - due_amount = fields.Float(string='Balance Payment') - - -class HrEmployeeAttachmentLegal(models.Model): - _inherit = 'ir.attachment' - - case_attach_rel = fields.Many2many('wizard.lawsuit', 'attachment_id', 'case_id', 'law_id', invisible=1) - case_attach_rel1 = fields.Many2many('case.details', 'attachment_id', 'case_id1', 'law_id1', invisible=1) - case_attach_rel11 = fields.Many2many('hr.lawsuit', 'attachment_id', 'case_id11', 'law_id11', invisible=1) diff --git a/oh_hr_lawsuit_management/models/hr_employee.py b/oh_hr_lawsuit_management/models/legal_action.py similarity index 52% rename from oh_hr_lawsuit_management/models/hr_employee.py rename to oh_hr_lawsuit_management/models/legal_action.py index 7cad2a640..20e0178d3 100644 --- a/oh_hr_lawsuit_management/models/hr_employee.py +++ b/oh_hr_lawsuit_management/models/legal_action.py @@ -20,71 +20,82 @@ # along with this program. If not, see . # ################################################################################### +from datetime import datetime from odoo import models, fields, api, _ -class HrLegal(models.Model): - _inherit = 'hr.employee' +class HrLawsuit(models.Model): + _name = 'hr.lawsuit' + _description = 'Hr Lawsuit Management' + _inherit = ['mail.thread', 'mail.activity.mixin'] - legal_count = fields.Integer(compute='_legal_count', string='# Legal Actions') + @api.model + def create(self, vals): + vals['name'] = self.env['ir.sequence'].next_by_code('hr.lawsuit') + return super(HrLawsuit, self).create(vals) @api.multi - def _legal_count(self): - for each in self: - legal_ids = self.env['hr.lawsuit'].search([('employee_id', '=', each.id)]) - each.legal_count = len(legal_ids) + def won(self): + self.state = 'won' @api.multi - def legal_view(self): - for each1 in self: - legal_obj = self.env['hr.lawsuit'].sudo().search([('employee_id', '=', each1.id)]) - legal_ids = [] - for each in legal_obj: - legal_ids.append(each.id) - view_id = self.env.ref('oh_hr_lawsuit_management.hr_lawsuit_form_view').id - if legal_ids: - if len(legal_ids) <= 1: - value = { - 'view_type': 'form', - 'view_mode': 'form', - 'res_model': 'hr.lawsuit', - 'view_id': view_id, - 'type': 'ir.actions.act_window', - 'name': _('Legal Actions'), - 'res_id': legal_ids and legal_ids[0] - } - else: - value = { - 'domain': str([('id', 'in', legal_ids)]), - 'view_type': 'form', - 'view_mode': 'tree,form', - 'res_model': 'hr.lawsuit', - 'view_id': False, - 'type': 'ir.actions.act_window', - 'name': _('Legal Actions'), - 'res_id': legal_ids - } + def cancel(self): + self.state = 'cancel' - return value + @api.multi + def loss(self): + self.state = 'fail' + + @api.multi + def process(self): + self.state = 'running' + @api.depends('party2', 'employee_id') + def set_party2(self): + for each in self: + if each.party2 == 'employee': + each.party2_name = each.employee_id.name + + name = fields.Char(string='Code', copy=False) + company_id = fields.Many2one('res.company', 'Company', readonly=True, + default=lambda self: self.env.user.company_id) + requested_date = fields.Date(string='Date', copy=False, readonly=1, default=datetime.now(), + states={'draft': [('readonly', False)]}) + court_name = fields.Char(string='Court Name', track_visibility='always', + states={'won': [('readonly', True)]}) + judge = fields.Char(string='Judge', track_visibility='always', states={'won': [('readonly', True)]}) + lawyer = fields.Char(string='Lawyer', track_visibility='always', states={'won': [('readonly', True)]}) + party1 = fields.Many2one('res.company', string='Party 1', required=1, readonly=1, + states={'draft': [('readonly', False)]}) + party2 = fields.Selection([('employee', 'Employee')], default='employee', + string='Party 2', required=1, readonly=1, states={'draft': [('readonly', False)]}) + employee_id = fields.Many2one('hr.employee', string='Employee', copy=False, + readonly=1, states={'draft': [('readonly', False)]}) + party2_name = fields.Char(compute='set_party2', string='Name', store=True) + case_details = fields.Html(string='Case Details', copy=False, track_visibility='always') + state = fields.Selection([('draft', 'Draft'), + ('running', 'Running'), + ('cancel', 'Cancelled'), + ('fail', 'Failed'), + ('won', 'Won')], string='Status', + default='draft', track_visibility='always', copy=False) -class PartnerLegal(models.Model): - _inherit = 'res.partner' + +class HrLegalEmployeeMaster(models.Model): + _inherit = 'hr.employee' legal_count = fields.Integer(compute='_legal_count', string='# Legal Actions') @api.multi def _legal_count(self): for each in self: - legal_ids = self.env['hr.lawsuit'].sudo().search(['|', ('customer_id', '=', each.id), - ('supplier_id', '=', each.id)]) + legal_ids = self.env['hr.lawsuit'].search([('employee_id', '=', each.id)]) each.legal_count = len(legal_ids) @api.multi def legal_view(self): for each1 in self: - legal_obj = self.env['hr.lawsuit'].sudo().search(['|', ('customer_id', '=', each1.id), - ('supplier_id', '=', each1.id)]) + legal_obj = self.env['hr.lawsuit'].sudo().search([('employee_id', '=', each1.id)]) legal_ids = [] for each in legal_obj: legal_ids.append(each.id) @@ -113,3 +124,5 @@ class PartnerLegal(models.Model): } return value + + diff --git a/oh_hr_lawsuit_management/reports/case_report.xml b/oh_hr_lawsuit_management/reports/case_report.xml deleted file mode 100644 index 91dfe1f85..000000000 --- a/oh_hr_lawsuit_management/reports/case_report.xml +++ /dev/null @@ -1,85 +0,0 @@ - - - - - - - - \ No newline at end of file diff --git a/oh_hr_lawsuit_management/security/ir.model.access.csv b/oh_hr_lawsuit_management/security/ir.model.access.csv index b417665e3..4174bb79a 100644 --- a/oh_hr_lawsuit_management/security/ir.model.access.csv +++ b/oh_hr_lawsuit_management/security/ir.model.access.csv @@ -3,6 +3,4 @@ "access_hr_lawsuit_manager1","hr.access_hr_lawsuit_manager","model_hr_lawsuit",,1,0,0,0 "access_case_details_manager","hr.access_case_details_manager","model_case_details","oh_hr_lawsuit_management.lawsuit_group_manager",1,1,1,1 "access_wizard_lawsuit_manager","hr.access_wizard_lawsuit_manager","model_wizard_lawsuit","oh_hr_lawsuit_management.lawsuit_group_manager",1,1,1,1 -"access_law_pending_invoice","hr.access_law_pending_invoice","model_law_pending_invoice","oh_hr_lawsuit_management.lawsuit_group_manager",1,1,1,1 -"access_court_court","hr.access_court_court","model_court_court","oh_hr_lawsuit_management.lawsuit_group_manager",1,1,1,1 "access_account_invoice","hr.access_account_invoice","account.model_account_invoice","oh_hr_lawsuit_management.lawsuit_group_manager",1,0,0,0 diff --git a/oh_hr_lawsuit_management/static/description/hr_legal.png b/oh_hr_lawsuit_management/static/description/hr_legal.png index d29069d37..daeaf9024 100644 Binary files a/oh_hr_lawsuit_management/static/description/hr_legal.png and b/oh_hr_lawsuit_management/static/description/hr_legal.png differ diff --git a/oh_hr_lawsuit_management/static/description/index.html b/oh_hr_lawsuit_management/static/description/index.html index 25dcd1a77..a0dee22de 100644 --- a/oh_hr_lawsuit_management/static/description/index.html +++ b/oh_hr_lawsuit_management/static/description/index.html @@ -69,29 +69,21 @@
-

Need Any Help?

+

Need Any Help?

- Email Contact Us - - Other Open HRMS Addons - - Contact Us Request Customization - + href="https://www.cybrosys.com/odoo-customization-and-installation/"> Request Customization

- - - +
diff --git a/oh_hr_lawsuit_management/views/hr_employee_view.xml b/oh_hr_lawsuit_management/views/hr_employee_view.xml deleted file mode 100644 index 3577beb95..000000000 --- a/oh_hr_lawsuit_management/views/hr_employee_view.xml +++ /dev/null @@ -1,30 +0,0 @@ - - - - - hr.employee.form.inherit.view - hr.employee - - -
- -
-
-
- - - res.partner.form.inherit.view - res.partner - - -
- -
-
-
-
-
\ No newline at end of file diff --git a/oh_hr_lawsuit_management/views/lawsuit_view.xml b/oh_hr_lawsuit_management/views/lawsuit_view.xml deleted file mode 100644 index bcedd8229..000000000 --- a/oh_hr_lawsuit_management/views/lawsuit_view.xml +++ /dev/null @@ -1,204 +0,0 @@ - - - - - Lawsuit Code - hr.lawsuit - LC - - - - - Legal Next Call Notification - 1 - days - -1 - - - code - model.mail_reminder() - - - - wizard.lawsuit.form - wizard.lawsuit - -
- - - - - - - - -
-
-
-
-
- - - Follow Next Hearing Date - wizard.lawsuit - form - form - - new - - - - hr.lawsuit.form - hr.lawsuit - -
-
-
- - -
- - -
-
-
-
- - - hr.lawsuit.tree - hr.lawsuit - - - - - - - - - - - - - - - - - - hr.lawsuit.search - hr.lawsuit - - - - - - - - - - - - - - - - - - - - - - - - - Legal Management - hr.lawsuit - form - tree,form - - -

- Click to Create a New Record. -

-
-
- - - - -
-
\ No newline at end of file diff --git a/oh_hr_lawsuit_management/views/legal_action_view.xml b/oh_hr_lawsuit_management/views/legal_action_view.xml new file mode 100644 index 000000000..532d90f10 --- /dev/null +++ b/oh_hr_lawsuit_management/views/legal_action_view.xml @@ -0,0 +1,130 @@ + + + + + Lawsuit Code + hr.lawsuit + LC + + + + + hr.lawsuit.form + hr.lawsuit + +
+
+
+ + +
+ + +
+
+
+
+ + + hr.lawsuit.tree + hr.lawsuit + + + + + + + + + + + + + + + + + hr.lawsuit.search + hr.lawsuit + + + + + + + + + + + + + + + + + + + + + Legal Management + hr.lawsuit + form + tree,form + + +

+ Click to Create a New Record. +

+
+
+ + + hr.employee.form.inherit.view + hr.employee + + +
+ +
+
+
+ + + + +
+
\ No newline at end of file