Repository
OCA/hr · module folder · Try on Runboat
Module version
1.0.0
Category
Human Resource
Folder size
0.09 MB
License
AGPL-3
Application
No
Auto-installable
No
Website
https://opensynergy-indonesia.com
Last tracking update
2026-08-07 07:03:11
Authors
Odoo Community Association (OCA), OpenSynergy Indonesia
Maintainers
Odoo Community Association (OCA), OpenSynergy Indonesia
Committers
OCA Transbot, oca-travis, Andhitia Rama
Odoo dependencies
Python dependencies
None
System dependencies
None
Required by
None
Description

Code Analysis

Views touched (4)
XML IDNameModelTypeStatus
hr_department_view_form hr.department form hr.department form Inherits hr.view_department_form
hr_employee_view_form_requiredProduct hr.employee.view.form hr.employee form Inherits hr.view_employee_form
hr_job_view_form hr.job form hr.job form Inherits hr.view_hr_job_form
view_expenses_form hr.expense.form hr.expense.expense form Inherits hr_expense.view_expenses_form
HTTP endpoints (0)

No HTTP endpoints found for this module.

Models touched (5)

New fields (3)
  • all_allowed_expense_product_ids Many2many → product.product
    comodel_name='product.product' compute='_compute_all_allowed_product_ids' store=True string='All Allowed Expense Product'
  • allowed_expense_product_categ_ids Many2many → product.category
    comodel_name='product.category' string='Allowed Expense Product Categories'
  • allowed_expense_product_ids Many2many → product.product
    comodel_name='product.product' domain=[('hr_expense_ok', '=', True)] string='Allowed Expense Product'
Public methods (0)

No public methods.

New fields (5)
  • all_allowed_expense_product_ids Many2many → product.product
    comodel_name='product.product' compute='_compute_all_allowed_product_ids' store=True string='All Allowed Expense Product'
  • allowed_expense_product_categ_ids Many2many → product.category
    comodel_name='product.category' string='Allowed Expense Product Categories'
  • allowed_expense_product_ids Many2many → product.product
    comodel_name='product.product' domain=[('hr_expense_ok', '=', True)] string='Allowed Expense Product'
  • limit_product_selection Boolean
    string='Limit Product Selection'
  • required_expense_product Boolean
    help='Turn on this options if this employee\n has to choose product when creating expenses' string='Required Expense Product'
Public methods (0)

No public methods.

New fields (3)
  • all_allowed_expense_product_ids Many2many → product.product
    comodel_name='product.product' compute='_compute_all_allowed_product_ids' store=False string='All Allowed Expense Product'
  • limit_product_selection Boolean
    string='Limit Product Selection'
  • required_expense_product Boolean
    string='Required Expense Product'
Public methods (1)
  • onchange_employee(self)
    @api.onchange('employee_id')

New fields (1)
  • required_expense_product Boolean
    related='expense_id.required_expense_product' store=True string='Required Expense Product'
Public methods (0)

No public methods.

New fields (3)
  • all_allowed_expense_product_ids Many2many → product.product
    comodel_name='product.product' compute='_compute_all_allowed_product_ids' store=True string='All Allowed Expense Product'
  • allowed_expense_product_categ_ids Many2many → product.category
    comodel_name='product.category' string='Allowed Expense Product Categories'
  • allowed_expense_product_ids Many2many → product.product
    comodel_name='product.product' domain=[('hr_expense_ok', '=', True)] string='Allowed Expense Product'
Public methods (0)

No public methods.