[IMP] reference/user_interface: update documentation regarding widget in graph
This commit aims to update the documentation regarding the adaptability of
widgets in the graph view of Odoo.
Task-3861721
closes odoo/documentation#10606
X-original-commit: 9dc985ef47
Signed-off-by: Mathieu Duckerts-Antoine (dam) <dam@odoo.com>
This commit is contained in:
parent
fea873780d
commit
0ee3c034d2
@ -2908,6 +2908,15 @@ sorted on the string of the field.
|
|||||||
graph view aggregations are performed on database content, non-stored
|
graph view aggregations are performed on database content, non-stored
|
||||||
function fields can not be used in graph views
|
function fields can not be used in graph views
|
||||||
|
|
||||||
|
|
||||||
|
In Graph views, a ``field`` can have a ``widget`` attribute to dictate its format.
|
||||||
|
The widget should be a field formatter, of which the most interesting are
|
||||||
|
``float_time``, and ``monetary``.
|
||||||
|
|
||||||
|
.. code-block:: xml
|
||||||
|
|
||||||
|
<field name="working_hours_close" widget="float_time"/>
|
||||||
|
|
||||||
.. _reference/view_architectures/pivot:
|
.. _reference/view_architectures/pivot:
|
||||||
|
|
||||||
Pivot
|
Pivot
|
||||||
|
Loading…
Reference in New Issue
Block a user