Expense Work Acceptance

hr_expense_work_acceptance
REPOSITORY
REPOSITORYOCA/hr-expense
GIT
GIThttps://github.com/OCA/hr-expense.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/hr-expense/tree/16.0/hr_expense_work_acceptance
VERSION
VERSION 1.0.0
CATEGORY
CATEGORYHuman Resources
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), Ecosoft
MAINTAINERS
MAINTAINERSkittiu
COMMITTERS
COMMITTERSOCA-git-bot, oca-ci, Kaynnan Lemes
WEBSITE
WEBSITEhttps://github.com/OCA/hr-expense
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:53:53
ODOO DEPENDENCIES
ODOO DEPENDENCIES OCA/purchase-workflow:
    - purchase_work_acceptance
odoo/odoo:
    - hr_expense
    - hr_contract
    - hr
    - base_setup
    - base
    - web
    - mail
    - bus
    - web_tour
    - resource
    - account
    - product
    - uom
    - analytic
    - portal
    - web_editor
    - http_routing
    - auth_signup
    - digest
    - purchase_stock
    - stock_account
    - stock
    - barcodes_gs1_nomenclature
    - barcodes
    - purchase
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (3)
XML IDNameModelTypeStatus
res_config_settings_view_form_purchase res.config.settings.view.form.inherit.purchase res.config.settings xpath Inherits purchase_work_acceptance.res_config_settings_view_form_purchase
view_hr_expense_sheet_form view.hr.expense.sheet.form hr.expense.sheet xpath Inherits hr_expense.view_hr_expense_sheet_form
view_work_acceptance_form work.acceptance.form work.acceptance field Inherits purchase_work_acceptance.view_work_acceptance_form
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.

REPOSITORY
REPOSITORYOCA/hr-expense
GIT
GIThttps://github.com/OCA/hr-expense.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/hr-expense/tree/14.0/hr_expense_work_acceptance
VERSION
VERSION 1.0.0
CATEGORY
CATEGORYHuman Resources
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), Ecosoft
MAINTAINERS
MAINTAINERSkittiu
COMMITTERS
COMMITTERSWeblate, OCA-git-bot, oca-ci, Saran440
WEBSITE
WEBSITEhttps://github.com/OCA/hr-expense
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:41:07
ODOO DEPENDENCIES
ODOO DEPENDENCIES OCA/purchase-workflow:
    - purchase_work_acceptance
odoo/odoo:
    - hr_expense
    - hr_contract
    - hr
    - base_setup
    - base
    - web
    - mail
    - bus
    - web_tour
    - resource
    - account
    - product
    - uom
    - analytic
    - portal
    - web_editor
    - http_routing
    - auth_signup
    - digest
    - purchase_stock
    - stock_account
    - stock
    - barcodes
    - purchase
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (3)
XML IDNameModelTypeStatus
res_config_settings_view_form_purchase res.config.settings.view.form.inherit.purchase res.config.settings xpath Inherits purchase_work_acceptance.res_config_settings_view_form_purchase
view_hr_expense_sheet_form view.hr.expense.sheet.form hr.expense.sheet xpath Inherits hr_expense.view_hr_expense_sheet_form
view_work_acceptance_form work.acceptance.form work.acceptance field Inherits purchase_work_acceptance.view_work_acceptance_form
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.