Contracts - Initial Settings

hr_contract_init
REPOSITORY
REPOSITORYOCA/hr
GIT
GIThttps://github.com/OCA/hr.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/hr/tree/10.0/hr_contract_init
VERSION
VERSION 1.0
CATEGORY
CATEGORYGeneric Modules/Human Resources
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), Michael Telahun Makonnen <mmakonnen@gmail.com>
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), Michael Telahun Makonnen <mmakonnen@gmail.com>
COMMITTERS
COMMITTERSPedro M. Baeza, Iryna Vushnevska
WEBSITE
WEBSITEhttp://miketelahun.wordpress.com
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:19:57
ODOO DEPENDENCIES
ODOO DEPENDENCIES OCA/hr:
    - hr_job_categories
    - hr_security
odoo/odoo:
    - hr
    - base_setup
    - base
    - web_kanban
    - web
    - mail
    - bus
    - web_tour
    - resource
    - hr_contract
    - base_action_rule
    - hr_payroll
    - hr_holidays
    - calendar
    - web_calendar
    - product
    - decimal_precision
    - report
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION
Define Initial Settings on New Contracts
========================================
    - Starting Wages
    - Salary Structure
    - Trial Period Length
    

Code Analysis

Views touched (6)
XML IDNameModelTypeStatus
hr_contract_view_form hr.contract.view.form.contract_init hr.contract xpath Inherits hr_contract.hr_contract_view_form
hr_contract_view_form hr.contract.view.form.contract_init hr.contract xpath Inherits hr_simplify.view_contract_form
view_contract_init_form hr.contract.init.form hr.contract.init form New
view_contract_init_tree hr.contract.init.tree hr.contract.init tree New
view_init_wage_form hr.contract.init.wage.form hr.contract.init.wage form New
view_init_wage_tree hr.contract.init.wage.tree hr.contract.init.wage tree New
Models touched (3)

New fields (0)

No new fields.

Public methods (3)
  • get_latest_initial_values(self, cr, uid, today_str=None, context=None)
    Return a record with an effective date before today_str but greater than all others
  • onchange_job(self, cr, uid, ids, job_id, context=None)
  • onchange_trial(self, cr, uid, ids, trial_date_start, context=None)

New fields (0)

No new fields.

Public methods (4)
  • set_to_draft(self, cr, uid, ids, context=None)
  • state_approve(self, cr, uid, ids, context=None)
  • state_decline(self, cr, uid, ids, context=None)
  • unlink(self, cr, uid, ids, context=None)

New fields (0)

No new fields.

Public methods (1)
  • unlink(self, cr, uid, ids, context=None)
REPOSITORY
REPOSITORYOCA/hr
GIT
GIThttps://github.com/OCA/hr.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/hr/tree/9.0/hr_contract_init
VERSION
VERSION 1.0
CATEGORY
CATEGORYGeneric Modules/Human Resources
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), Michael Telahun Makonnen <mmakonnen@gmail.com>
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), Michael Telahun Makonnen <mmakonnen@gmail.com>
COMMITTERS
COMMITTERS
WEBSITE
WEBSITEhttp://miketelahun.wordpress.com
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:15:21
ODOO DEPENDENCIES
ODOO DEPENDENCIES OCA/hr:
    - hr_job_categories
    - hr_security
odoo/odoo:
    - hr
    - base_setup
    - base
    - web_kanban
    - web
    - mail
    - bus
    - resource
    - web_tip
    - hr_contract
    - base_action_rule
    - hr_payroll
    - hr_holidays
    - calendar
    - web_calendar
    - report
    - decimal_precision
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION
Define Initial Settings on New Contracts
========================================
    - Starting Wages
    - Salary Structure
    - Trial Period Length
    

Code Analysis

Views touched (6)
XML IDNameModelTypeStatus
hr_contract_view_form hr.contract.view.form.contract_init hr.contract xpath Inherits hr_contract.hr_contract_view_form
hr_contract_view_form hr.contract.view.form.contract_init hr.contract xpath Inherits hr_simplify.view_contract_form
view_contract_init_form hr.contract.init.form hr.contract.init form New
view_contract_init_tree hr.contract.init.tree hr.contract.init tree New
view_init_wage_form hr.contract.init.wage.form hr.contract.init.wage form New
view_init_wage_tree hr.contract.init.wage.tree hr.contract.init.wage tree New
Models touched (3)

New fields (0)

No new fields.

Public methods (3)
  • get_latest_initial_values(self, cr, uid, today_str=None, context=None)
    Return a record with an effective date before today_str but greater than all others
  • onchange_job(self, cr, uid, ids, job_id, context=None)
  • onchange_trial(self, cr, uid, ids, trial_date_start, context=None)

New fields (0)

No new fields.

Public methods (4)
  • set_to_draft(self, cr, uid, ids, context=None)
  • state_approve(self, cr, uid, ids, context=None)
  • state_decline(self, cr, uid, ids, context=None)
  • unlink(self, cr, uid, ids, context=None)

New fields (0)

No new fields.

Public methods (1)
  • unlink(self, cr, uid, ids, context=None)
REPOSITORY
REPOSITORYOCA/hr
GIT
GIThttps://github.com/OCA/hr.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/hr/tree/8.0/hr_contract_init
VERSION
VERSION 1.0
CATEGORY
CATEGORYGeneric Modules/Human Resources
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), Michael Telahun Makonnen <mmakonnen@gmail.com>
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), Michael Telahun Makonnen <mmakonnen@gmail.com>
COMMITTERS
COMMITTERSStéphane Bidoul, Pedro M. Baeza
WEBSITE
WEBSITEhttp://miketelahun.wordpress.com
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:11:23
ODOO DEPENDENCIES
ODOO DEPENDENCIES OCA/hr:
    - hr_job_categories
    - hr_security
odoo/odoo:
    - hr
    - base_setup
    - base
    - web_kanban
    - web
    - mail
    - resource
    - board
    - hr_contract
    - base_action_rule
    - hr_payroll
    - hr_holidays
    - calendar
    - web_calendar
    - decimal_precision
    - report
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION
Define Initial Settings on New Contracts
========================================
    - Starting Wages
    - Salary Structure
    - Trial Period Length
    

Code Analysis

Views touched (6)
XML IDNameModelTypeStatus
hr_contract_view_form hr.contract.view.form.contract_init hr.contract xpath Inherits hr_contract.hr_contract_view_form
hr_contract_view_form hr.contract.view.form.contract_init hr.contract xpath Inherits hr_simplify.view_contract_form
view_contract_init_form hr.contract.init.form hr.contract.init form New
view_contract_init_tree hr.contract.init.tree hr.contract.init tree New
view_init_wage_form hr.contract.init.wage.form hr.contract.init.wage form New
view_init_wage_tree hr.contract.init.wage.tree hr.contract.init.wage tree New
Models touched (3)

New fields (0)

No new fields.

Public methods (3)
  • get_latest_initial_values(self, cr, uid, today_str=None, context=None)
    Return a record with an effective date before today_str but greater than all others
  • onchange_job(self, cr, uid, ids, job_id, context=None)
  • onchange_trial(self, cr, uid, ids, trial_date_start, context=None)

New fields (0)

No new fields.

Public methods (4)
  • set_to_draft(self, cr, uid, ids, context=None)
  • state_approve(self, cr, uid, ids, context=None)
  • state_decline(self, cr, uid, ids, context=None)
  • unlink(self, cr, uid, ids, context=None)

New fields (0)

No new fields.

Public methods (1)
  • unlink(self, cr, uid, ids, context=None)
REPOSITORY
REPOSITORYOCA/hr
GIT
GIThttps://github.com/OCA/hr.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/hr/tree/7.0/hr_contract_init
VERSION
VERSION 1.0
CATEGORY
CATEGORYGeneric Modules/Human Resources
LICENSE
LICENSELGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), Michael Telahun Makonnen <mmakonnen@gmail.com>
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), Michael Telahun Makonnen <mmakonnen@gmail.com>
COMMITTERS
COMMITTERSAlexandre Fayolle, Michael Telahun Makonnen, Sandy Carter, OCA Transbot, dufresnedavid
WEBSITE
WEBSITEhttp://miketelahun.wordpress.com
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:07:14
ODOO DEPENDENCIES
ODOO DEPENDENCIES OCA/hr:
    - hr_job_categories
    - hr_security
    - hr_simplify
odoo/odoo:
    - hr
    - base_setup
    - base
    - web_kanban
    - web
    - mail
    - resource
    - process
    - board
    - hr_contract
    - hr_payroll
    - hr_holidays
    - base_calendar
    - base_status
    - base_action_rule
    - decimal_precision
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION
Define Initial Settings on New Contracts
========================================
    - Starting Wages
    - Salary Structure
    - Trial Period Length
    

Code Analysis

Views touched (6)
XML IDNameModelTypeStatus
hr_contract_view_form hr.contract.view.form.contract_init hr.contract xpath Inherits hr_contract.hr_contract_view_form
hr_contract_view_form hr.contract.view.form.contract_init hr.contract xpath Inherits hr_simplify.view_contract_form
view_contract_init_form hr.contract.init.form hr.contract.init form New
view_contract_init_tree hr.contract.init.tree hr.contract.init tree New
view_init_wage_form hr.contract.init.wage.form hr.contract.init.wage form New
view_init_wage_tree hr.contract.init.wage.tree hr.contract.init.wage tree New
Models touched (3)

New fields (0)

No new fields.

Public methods (3)
  • get_latest_initial_values(self, cr, uid, today_str=None, context=None)
    Return a record with an effective date before today_str but greater than all others
  • onchange_job(self, cr, uid, ids, job_id, context=None)
  • onchange_trial(self, cr, uid, ids, trial_date_start, context=None)

New fields (0)

No new fields.

Public methods (4)
  • set_to_draft(self, cr, uid, ids, context=None)
  • state_approve(self, cr, uid, ids, context=None)
  • state_decline(self, cr, uid, ids, context=None)
  • unlink(self, cr, uid, ids, context=None)

New fields (0)

No new fields.

Public methods (1)
  • unlink(self, cr, uid, ids, context=None)