HR Expense Product Policy
hr_expense_product_policy · OCA/hr
Health
35/100
poor
-
Security25/25No findings
-
Activity0/25Last human commit 124 months ago
-
Required by5/250 modules depend on it
-
Maturity5/25In 1 Odoo series since 8.0
Heuristic over the facts below, not an audit · How it's computed
Required by
0
Modules depending on it
External deps
0 pip · 0 bin
Python packages / system binaries
License
AGPL-3
No conflicts with its dependencies
Folder size
0.09 MB
Module directory on disk
Code analysis
6 migration notes
5 models
4 views
0 HTTP endpoints
Migration considerations
- Migrating to 19.0: only `__manifest__.py` is recognized: a module with `__openerp__.py` is not detected at all. migration-openerp-manifest · source
HrExpenseLine— Migrating to 13.0: `@api.multi`/`@api.one` were removed (multi is the default): drop them, looping over `self` where `@api.one` was used. (1 methods) migration-api-multi-one · source- Migrating to 10.0: the `openerp` namespace was renamed to `odoo`; only a deprecated `openerp.addons` alias remained. (`openerp`) migration-openerp-import · source
- Migrating to 10.0: the `openerp` namespace was renamed to `odoo`; only a deprecated `openerp.addons` alias remained. (`openerp`) migration-openerp-import · source
- Migrating to 10.0: the `openerp` namespace was renamed to `odoo`; only a deprecated `openerp.addons` alias remained. (`openerp`) migration-openerp-import · source
- Migrating to 10.0: the `openerp` namespace was renamed to `odoo`; only a deprecated `openerp.addons` alias remained. (`openerp`) (2 occurrences in this file) migration-openerp-import · source
Migration review checklist, not a compatibility verdict. "Migrating to X.0" applies once you upgrade to that version; "Since X.0" means this version already ignores or rejects that code. Methodology
Description
Dependencies
Code analysis
Extracted from the source by best-effort static analysis (no code is executed); details may be incomplete.
Views touched 4
| XML ID | Name | Model | Type | Status |
|---|---|---|---|---|
hr_department_view_form |
hr.department form | hr.department | form | Inherits hr.view_department_form |
hr_employee_view_form_requiredProduct |
hr.employee.view.form | hr.employee | form | Inherits hr.view_employee_form |
hr_job_view_form |
hr.job form | hr.job | form | Inherits hr.view_hr_job_form |
view_expenses_form |
hr.expense.form | hr.expense.expense | form | Inherits hr_expense.view_expenses_form |
HTTP endpoints 0
No HTTP endpoints found for this module.
Models touched 5
New fields (3)
-
all_allowed_expense_product_idsMany2many → product.productcomodel_name='product.product'compute='_compute_all_allowed_product_ids'store=Truestring='All Allowed Expense Product' -
allowed_expense_product_categ_idsMany2many → product.categorycomodel_name='product.category'string='Allowed Expense Product Categories' -
allowed_expense_product_idsMany2many → product.productcomodel_name='product.product'domain=[('hr_expense_ok', '=', True)]string='Allowed Expense Product'
No public methods.
New fields (5)
-
all_allowed_expense_product_idsMany2many → product.productcomodel_name='product.product'compute='_compute_all_allowed_product_ids'store=Truestring='All Allowed Expense Product' -
allowed_expense_product_categ_idsMany2many → product.categorycomodel_name='product.category'string='Allowed Expense Product Categories' -
allowed_expense_product_idsMany2many → product.productcomodel_name='product.product'domain=[('hr_expense_ok', '=', True)]string='Allowed Expense Product' -
limit_product_selectionBooleanstring='Limit Product Selection' -
required_expense_productBooleanhelp='Turn on this options if this employee\n has to choose product when creating expenses'string='Required Expense Product'
No public methods.
New fields (3)
-
all_allowed_expense_product_idsMany2many → product.productcomodel_name='product.product'compute='_compute_all_allowed_product_ids'store=Falsestring='All Allowed Expense Product' -
limit_product_selectionBooleanstring='Limit Product Selection' -
required_expense_productBooleanstring='Required Expense Product'
-
onchange_employee(self)@api.onchange('employee_id')
New fields (1)
-
required_expense_productBooleanrelated='expense_id.required_expense_product'store=Truestring='Required Expense Product'
No public methods.
New fields (3)
-
all_allowed_expense_product_idsMany2many → product.productcomodel_name='product.product'compute='_compute_all_allowed_product_ids'store=Truestring='All Allowed Expense Product' -
allowed_expense_product_categ_idsMany2many → product.categorycomodel_name='product.category'string='Allowed Expense Product Categories' -
allowed_expense_product_idsMany2many → product.productcomodel_name='product.product'domain=[('hr_expense_ok', '=', True)]string='Allowed Expense Product'
No public methods.