Commit 453c795a authored by Jared Kipe's avatar Jared Kipe

Initial commit of `hr_employee_activity` for 11.0 -- Adds 'activity' to...

Initial commit of `hr_employee_activity` for 11.0 -- Adds 'activity' to Employee records. (shouldn't backport)
parent 2b301bbf
from . import hr_employee_activity
'name': 'HR Employee Activity',
'version': '',
'author': 'Hibou Corp. <>',
'website': '',
'license': 'AGPL-3',
'category': 'Employees',
'complexity': 'easy',
'description': """
This module adds activity to the `hr.employee` model.
'depends': [
'data': [
'installable': True,
'auto_install': False,
'category': 'Hidden',
from odoo import models
class HrEmployee(models.Model):
_name = 'hr.employee'
_inherit = ['hr.employee', 'mail.activity.mixin']
<?xml version="1.0" encoding="UTF-8" ?>
<record id="view_employee_form_activity" model="ir.ui.view">
<field name="name">hr.employee.form.activity</field>
<field name="model">hr.employee</field>
<field name="inherit_id" ref="hr.view_employee_form"/>
<field name="arch" type="xml">
<xpath expr="//field[@name='message_ids']" position="before">
<field name="activity_ids" widget="mail_activity"/>
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment