invantive documentation
Invantive Support ForumsLog In / Sign Up

qweb_field_duration: Odoo itgen_odoo_qweb_field_duration

read only per partition

  • Catalog: Odoo
  • Schema: ir
  • Label: itgen_odoo_qweb_field_duration

Qweb Field Duration

Can only retrieve data.

Summary

duration converter, to display integral or fractional values as human-readable time spans (e.g. 1.5 as "1 hour 30 minutes").

Can be used on any numerical field.

Has an option ``unit`` which can be one of ``second``, ``minute``,
``hour``, ``day``, ``week`` or ``year``, used to interpret the numerical
field value before converting it. By default use ``second``.

Has an option ``round``. By default use ``second``.

Has an option ``digital`` to display 01:00 instead of 1 hour

Sub-second values will be ignored.

Table Columns

The columns of the table qweb_field_duration are shown below. Each column has an SQL data type. A new non-null value must be provided for every required column at all times during insert and update.

Name Data Type Label Required Marks Documentation

Release Notes

What changed per release in the tables, columns, attributes and capabilities of the driver: