Repository
OCA/hr-expense · module folder · Try on Runboat
Module version
1.0.1
Category
Human Resources
Folder size
0.15 MB
License
AGPL-3
Application
No
Auto-installable
No
Website
https://github.com/OCA/hr-expense
Last tracking update
2026-08-07 07:57:07
Authors
Odoo Community Association (OCA), Camptocamp SA
Maintainers
Odoo Community Association (OCA), Camptocamp SA
Committers
Ivàn Todorovich, manu, Weblate, OCA-git-bot, oca-ci
Odoo dependencies
Python dependencies
None
System dependencies
None
Required by
sale_expense_cost_reinvoice
Description

Code Analysis

Views touched (4)
XML IDNameModelTypeStatus
hr_expense_view_search hr.expense search Inherits hr_expense.hr_expense_view_search
product_product_view_form_inherit_sale_expense product.product form Inherits sale_expense.product_product_view_form_inherit_sale_expense
view_account_analytic_line_filter account.analytic.line Inherits analytic.view_account_analytic_line_filter
view_hr_expense_toreinvoice_tree hr.expense tree New
HTTP endpoints (0)

No HTTP endpoints found for this module.

Models touched (4)

New fields (4)
  • expense_id Many2one
    related='move_id.expense_id' store=True
  • manual_reinvoice Boolean
    compute='_compute_manual_reinvoice' store=True
  • manual_reinvoice_discarded Boolean
    help='Technical field to hide it from pending to reinvoice list.'
  • manual_reinvoice_done Boolean
    compute='_compute_manual_reinvoice_done' store=True
Public methods (1)
  • action_manual_reinvoice(self)

New fields (0)

No new fields.

Public methods (0)

No public methods.

New fields (4)
  • analytic_line_ids One2many → account.analytic.line
    readonly=True args: 'account.analytic.line', 'expense_id'
  • manual_reinvoice Boolean
    compute='_compute_manual_reinvoice' store=True
  • manual_reinvoice_discarded Boolean
    compute='_compute_manual_reinvoice' store=True
  • manual_reinvoice_done Boolean
    compute='_compute_manual_reinvoice' store=True
Public methods (3)
  • action_manual_reinvoice(self)
  • action_manual_reinvoice_discard(self)
  • action_manual_reinvoice_pending(self)

New fields (1)
  • expense_mode Selection
    default='auto' help="Choose how to re-invoice expenses:\n\n* Automatically: Expenses are automatically re-invoiced when they're posted.\n* Manually: Expenses have to be manually re-invoiced by a manager.\n" string='Re-invoice Mode' args: [('auto', 'Automatically'), ('manual', 'Manually')]
Public methods (0)

No public methods.

Status
Open migration PR — not merged yet for this version
CI status
checks running
Open since
513 days ago
Last activity
157 days ago
Repository
OCA/hr-expense
Pull request
[16.0][MIG] sale_expense_manual_reinvoice: Migration to 16.0 (#296)