Repository
OCA/manufacture · module folder · Try on Runboat
Module version
1.0.0
Category
Quality control
Folder size
0.05 MB
License
AGPL-3
Application
No
Auto-installable
No
Website
https://github.com/OCA/manufacture/tree/10.0/quality_control_formula
Last tracking update
2026-08-07 07:17:46
Authors
Odoo Community Association (OCA), Agile Business Group
Maintainers
Odoo Community Association (OCA), Agile Business Group
Committers
Weblate, OCA-git-bot, oca-travis, SimoRubi
Odoo dependencies
OCA/manufacture:
odoo/odoo:
- web
- bus
Python dependencies
None
System dependencies
None
Required by
None
Description

Code Analysis

Views touched (5)
XML IDNameModelTypeStatus
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)
  • code Char
    help="Used for the evaluation of formulas: name of the variable corresponding to this inspection line's value."
  • formula Text
    help="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_value Char
  • sequence Integer
Public methods (2)
  • calculate_value(self)
    @api.multi
  • write(self, vals)
    @api.multi

New fields (2)
  • code Char
    help="Used for the evaluation of formulas: name of the variable corresponding to this question's value."
  • formula Text
    help="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)."
Public methods (0)

No public methods.