Repository
OCA/hr-expense · module folder · Try on Runboat
Module version
1.0.0
Category
Human Resources
Folder size
0.06 MB
License
AGPL-3
Application
No
Auto-installable
No
Website
https://github.com/OCA/hr-expense
Last tracking update
2026-08-07 08:09:24
Authors
Odoo Community Association (OCA), Ecosoft
Maintainers
kittiu
Committers
OCA-git-bot, oca-ci, Kaynnan Lemes
Odoo dependencies
Python dependencies
None
System dependencies
None
Required by
None
Description

Code Analysis

Views touched (3)
XML IDNameModelTypeStatus
res_config_settings_view_form_purchase res.config.settings.view.form.inherit.purchase res.config.settings form Inherits purchase_work_acceptance.res_config_settings_view_form_purchase
view_hr_expense_sheet_form view.hr.expense.sheet.form hr.expense.sheet form Inherits hr_expense.view_hr_expense_sheet_form
view_work_acceptance_form work.acceptance.form work.acceptance form Inherits purchase_work_acceptance.view_work_acceptance_form
HTTP endpoints (0)

No HTTP endpoints found for this module.

Models touched (5)

New fields (3)
  • qty_accepted Float
    compute='_compute_qty_accepted' digits='Product Unit of Measure' readonly=True store=True string='Accepted Qty.'
  • qty_to_accept Float
    compute='_compute_qty_accepted' digits='Product Unit of Measure' readonly=True store=True string='To Accept Qty.'
  • wa_line_ids One2many → work.acceptance.line
    comodel_name='work.acceptance.line' inverse_name='expense_id' readonly=True string='WA Lines'
Public methods (0)

No public methods.

New fields (4)
  • wa_accepted Boolean
    compute='_compute_wa_accepted' string='WA Accepted'
  • wa_count Integer
    compute='_compute_wa_ids' default=0 string='WA count'
  • wa_ids One2many → work.acceptance
    comodel_name='work.acceptance' compute='_compute_wa_ids' string='Work Acceptances'
  • wa_line_ids One2many → work.acceptance.line
    comodel_name='work.acceptance.line' inverse_name='expense_id' readonly=True string='WA Lines'
Public methods (2)
  • action_sheet_move_create(self)
  • action_view_wa(self)

New fields (2)
  • group_enable_wa_on_exp Boolean
    implied_group='hr_expense_work_acceptance.group_enable_wa_on_exp' string='Enable WA on Expense Sheet'
  • group_wa_accepted_before_inv Boolean
    implied_group='hr_expense_work_acceptance.group_wa_accepted_before_inv' string='WA Accepted before Accounting'
Public methods (0)

No public methods.

New fields (1)
  • sheet_id Many2one → hr.expense.sheet
    comodel_name='hr.expense.sheet' index=True ondelete='set null' readonly=True states={'draft': [('readonly', False)]} string='Expense Report'
Public methods (0)

No public methods.

New fields (1)
  • expense_id Many2one → hr.expense
    comodel_name='hr.expense' index=True ondelete='set null' readonly=False string='Expense Line'
Public methods (0)

No public methods.

Loading…