Sale Expense Manual Re-invoice

sale_expense_manual_reinvoice
REPOSITORY
REPOSITORYOCA/hr-expense
GIT
GIThttps://github.com/OCA/hr-expense.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/hr-expense/tree/15.0/sale_expense_manual_reinvoice
VERSION
VERSION 1.0.1
CATEGORY
CATEGORYHuman Resources
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), Camptocamp SA
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), Camptocamp SA
COMMITTERS
COMMITTERSIvàn Todorovich, manu, Weblate, OCA-git-bot, oca-ci
WEBSITE
WEBSITEhttps://github.com/OCA/hr-expense
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:46:39
ODOO DEPENDENCIES
ODOO DEPENDENCIES odoo/odoo:
    - sale_expense
    - sale_management
    - sale
    - sales_team
    - base
    - mail
    - base_setup
    - web
    - bus
    - web_tour
    - payment
    - account
    - product
    - uom
    - analytic
    - portal
    - web_editor
    - http_routing
    - auth_signup
    - digest
    - resource
    - utm
    - hr_expense
    - hr_contract
    - hr
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (4)
XML IDNameModelTypeStatus
hr_expense_view_search hr.expense filter Inherits hr_expense.hr_expense_view_search
product_product_view_form_inherit_sale_expense product.product field Inherits sale_expense.product_product_view_form_inherit_sale_expense
view_account_analytic_line_filter account.analytic.line group Inherits analytic.view_account_analytic_line_filter
view_hr_expense_toreinvoice_tree hr.expense tree New
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
STATUSOpen migration PR - not merged yet for this version
REPOSITORY
REPOSITORYOCA/hr-expense
PULL REQUEST
PULL REQUEST[16.0][MIG] sale_expense_manual_reinvoice: Migration to 16.0 (#296)