Quality control formula
quality_control_formula · OCA/manufacture
Health
35/100
poor
-
Security25/25No findings
-
Activity0/25Last human commit 83 months ago
-
Required by5/250 modules depend on it
-
Maturity5/25In 1 Odoo series since 10.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.05 MB
Module directory on disk
Code analysis
4 migration notes
3 models
5 views
0 HTTP endpoints
Migration considerations
QcInspection— Migrating to 13.0: `@api.multi`/`@api.one` were removed (multi is the default): drop them, looping over `self` where `@api.one` was used. (2 methods) migration-api-multi-one · sourceQcInspectionLine— Migrating to 13.0: `@api.multi`/`@api.one` were removed (multi is the default): drop them, looping over `self` where `@api.one` was used. (3 methods) migration-api-multi-one · sourceqc_inspection_form_view— Migrating to 17.0: `attrs=`/`states=` are rejected in views: convert them to Python expressions in `invisible`/`readonly`/`required`, keeping the original AND/OR logic. migration-view-attrs-states · sourceqc_test_question_tree_view— Migrating to 18.0: the `tree` view type was renamed to `list` (`<list>` roots, `view_mode`). migration-view-tree-tag · 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 5
| XML ID | Name | Model | Type | Status |
|---|---|---|---|---|
qc_inspection_form_view |
Add formula | qc.inspection | form | Inherits quality_control.qc_inspection_form_view |
qc_inspection_line_tree_view |
Add formula | qc.inspection.line | tree | Inherits quality_control.qc_inspection_line_tree_view |
qc_test_form_view |
Add formula | qc.test | form | Inherits quality_control.qc_test_form_view |
qc_test_question_form_view |
Add formula | qc.test.question | form | Inherits quality_control.qc_test_question_form_view |
qc_test_question_tree_view |
qc.test.question.tree | qc.test.question | tree | New |
HTTP endpoints 0
No HTTP endpoints found for this module.
Models touched 3
New fields (0)
No new fields.
Public methods (1)-
calculate_lines_values(self)@api.multi
New fields (4)
-
codeCharhelp="Used for the evaluation of formulas: name of the variable corresponding to this inspection line's value." -
formulaTexthelp="Python formula for evaluating the current inspection line.Provided values are 'input_value' and the values of all the previous inspection lines (the variable name is the 'code' field)." -
input_valueChar -
sequenceInteger
-
calculate_value(self)@api.multi -
write(self, vals)@api.multi
New fields (2)
-
codeCharhelp="Used for the evaluation of formulas: name of the variable corresponding to this question's value." -
formulaTexthelp="Python formula for evaluating the current question.Provided values are 'input_value' and the values of all the previous questions (the variable name is the 'code' field)."
No public methods.