Quality control formula

Use formulas in inspection lines.

Technical Name:
Agile Business Group
  • Odoo Version

Terms and Conditions

Quality control formula

Beta License: AGPL-3 OCA/manufacture Translate me on Weblate Try me on Runbot

Allow the user to use formulas to get the quantitative / qualitative value for an inspection line.

Table of contents


  1. Create a new test with one or more questions;

  2. In a test question, fill in the formula field with some python computation, the values that can be used are:

    • input_value: a new field of the inspection line;
    • variables from the previous inspection lines (use the handle to change the order), where the variable name is given by the code field;
  3. Create a new inspection from the test;

  4. The inspection lines are recomputed as soon as any field concerning the formula is modified.

    The inspection lines can also be recomputed with the Compute lines button in the inspection, or the Compute button on each line.

Note that formula dependencies can be managed in the new menu Quality control > Test > Test questions, the sequence value will be maintained when the question becomes an inspection.

Bug Tracker

Bugs are tracked on GitHub Issues. In case of trouble, please check there if your issue has already been reported. If you spotted it first, help us smashing it by providing a detailed and welcomed feedback.

Do not contact contributors directly about support or help with technical issues.



  • Agile Business Group


This module is maintained by the OCA.

Odoo Community Association

OCA, or the Odoo Community Association, is a nonprofit organization whose mission is to support the collaborative development of Odoo features and promote its widespread use.

This module is part of the OCA/manufacture project on GitHub.

You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.

This is a preview of the recently viewed products by the user.
Once the user has seen at least one product this snippet will be visible.

Recently viewed Products