Skip to content
Health
65/100
fair
  • Security25/25
    No findings
  • Activity0/25
    Last human commit 101 months ago
  • Required by15/25
    1 module depends on it
  • Maturity25/25
    In 5 Odoo series since 6.1

Heuristic over the facts below, not an audit · How it's computed

Security findings
Grave / minor (static analysis)
Required by
1
Modules depending on it
External deps
0 pip · 0 bin
Python packages / system binaries
License
GPL-3 or any later version
No conflicts with its dependencies
Folder size
0.01 MB
Module directory on disk
Code analysis 2 migration notes 1 model 2 views 0 HTTP endpoints

Description

    This module adds the supplier tax id field to hr.expense.line

Dependencies

Odoo dependencies
Python dependencies
None
System dependencies
None
Required by
hr_expense_accountedge

Code analysis

Extracted from the source by best-effort static analysis (no code is executed); details may be incomplete.

Views touched 2

XML IDNameModelTypeStatus
view_expenses_form hr.expense.form hr.expense.expense form Inherits hr_expense_line_supplier.view_expenses_form
view_expenses_tree hr.expense.line.tree hr.expense.line tree Inherits hr_expense.view_expenses_line_tree

HTTP endpoints 0

No HTTP endpoints found for this module.

Models touched 1

New fields (0)

No new fields.

Public methods (4)
  • create(self, cr, user, vals, context=None)
    Overwrite the create() function to automatically set the default supplier tax since regular employees cannot access this field.
  • get_tax_id(self, cr, uid, product_id, partner_id, context=None)
    Get the automatic value of the tax id field.
  • onchange_partner_id(self, cr, uid, ids, partner_id, context=None)
  • onchange_product_id(self, cr, uid, ids, product_id, uom_id, employee_id, context=None)

Loading…

Loading…

Loading…

Loading…