[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#10573

Signed-off-by: Mathieu Duckerts-Antoine (dam) <dam@odoo.com>
This commit is contained in:
sami odoo 2024-08-02 17:49:11 +05:30
parent f78570e908
commit 9dc985ef47

View File

@ -2801,6 +2801,15 @@ sorted on the string of the field.
graph view aggregations are performed on database content, non-stored
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:
Pivot