Supplier on expense line

hr_expense_line_supplier_unported
REPOSITORY
REPOSITORYOCA/l10n-canada
GIT
GIThttps://github.com/OCA/l10n-canada.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/l10n-canada/tree/10.0/hr_expense_line_supplier_unported
VERSION
VERSION 1.0
CATEGORY
CATEGORYHuman Resources
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), Savoir-faire Linux
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), Savoir-faire Linux
COMMITTERS
COMMITTERSPedro M. Baeza
WEBSITE
WEBSITEhttp://www.savoirfairelinux.com
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:20:04
ODOO DEPENDENCIES
ODOO DEPENDENCIES odoo/odoo:
    - hr_expense
    - hr_contract
    - base_action_rule
    - base
    - resource
    - mail
    - base_setup
    - web_kanban
    - web
    - bus
    - web_tour
    - hr
    - account_accountant
    - account
    - product
    - decimal_precision
    - report
    - analytic
    - web_planner
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION
Supplier on expense line
========================
This module adds a supplier field on the expense line and set the taxes of
the employee invoice based on the fiscal position of the supplier.

The tax calculation doesn't work in v7 and v8 for an expense. The expense now
create a voucher that only has one tax rate by voucher and we can't
safely select one tax rate per expense form. To fix this situation the
expense form should suport the taxes like a supplier invoice form and a
the end of the workflow produce a voucher and the journal entries like
what is done when a supplier invoice is open.

Contributors
------------
* Jonatan Cloutier <jonatan.cloutier@savoirfairelinux.com>
* Maxime Chambreuil <maxime.chambreuil@savoirfairelinux.com>
* Sandy Carter <sandy.carter@savoirfairelinux.com>

Code Analysis

Views touched (1)
XML IDNameModelTypeStatus
view_expenses_form hr.expense.form.inherit hr.expense.expense xpath Inherits hr_expense.view_expenses_form
Models touched (2)

New fields (0)

No new fields.

Public methods (1)
  • action_invoice_create(self, cr, uid, ids)

New fields (0)

No new fields.

Public methods (0)

No public methods.

REPOSITORY
REPOSITORYOCA/l10n-canada
GIT
GIThttps://github.com/OCA/l10n-canada.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/l10n-canada/tree/9.0/hr_expense_line_supplier_unported
VERSION
VERSION 1.0
CATEGORY
CATEGORYHuman Resources
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), Savoir-faire Linux
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), Savoir-faire Linux
COMMITTERS
COMMITTERSPedro M. Baeza
WEBSITE
WEBSITEhttp://www.savoirfairelinux.com
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:15:25
ODOO DEPENDENCIES
ODOO DEPENDENCIES odoo/odoo:
    - hr_expense
    - hr_contract
    - base_action_rule
    - base
    - resource
    - mail
    - base_setup
    - web_kanban
    - web
    - bus
    - hr
    - web_tip
    - account_accountant
    - account
    - product
    - decimal_precision
    - report
    - analytic
    - web_planner
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION
Supplier on expense line
========================
This module adds a supplier field on the expense line and set the taxes of
the employee invoice based on the fiscal position of the supplier.

The tax calculation doesn't work in v7 and v8 for an expense. The expense now
create a voucher that only has one tax rate by voucher and we can't
safely select one tax rate per expense form. To fix this situation the
expense form should suport the taxes like a supplier invoice form and a
the end of the workflow produce a voucher and the journal entries like
what is done when a supplier invoice is open.

Contributors
------------
* Jonatan Cloutier <jonatan.cloutier@savoirfairelinux.com>
* Maxime Chambreuil <maxime.chambreuil@savoirfairelinux.com>
* Sandy Carter <sandy.carter@savoirfairelinux.com>

Code Analysis

Views touched (1)
XML IDNameModelTypeStatus
view_expenses_form hr.expense.form.inherit hr.expense.expense xpath Inherits hr_expense.view_expenses_form
Models touched (2)

New fields (0)

No new fields.

Public methods (1)
  • action_invoice_create(self, cr, uid, ids)

New fields (0)

No new fields.

Public methods (0)

No public methods.