mirror of
https://github.com/OCA/web.git
synced 2025-02-22 13:21:25 +02:00
[UPD] readme
This commit is contained in:
committed by
Simone Orsi
parent
0dba5d648f
commit
9b65b5d85d
@@ -29,10 +29,28 @@ attributes::
|
|||||||
<field name="my_field" widget="x2many_2d_matrix"
|
<field name="my_field" widget="x2many_2d_matrix"
|
||||||
field_x_axis="my_field1" field_y_axis="my_field2" field_value="my_field3" />
|
field_x_axis="my_field1" field_y_axis="my_field2" field_value="my_field3" />
|
||||||
|
|
||||||
|
You can pass the following parameters:
|
||||||
|
|
||||||
|
field_x_axis
|
||||||
|
The field that indicates the x value of a point
|
||||||
|
field_y_axis
|
||||||
|
The field that indicates the y value of a point
|
||||||
|
field_label_x_axis
|
||||||
|
Use another field to display in the table header
|
||||||
|
field_label_y_axis
|
||||||
|
Use another field to display in the table header
|
||||||
|
field_value
|
||||||
|
Show this field as value
|
||||||
|
show_row_totals
|
||||||
|
If field_value is a numeric field, calculate row totals
|
||||||
|
show_column_totals
|
||||||
|
If field_value is a numeric field, calculate column totals
|
||||||
|
|
||||||
Known issues / Roadmap
|
Known issues / Roadmap
|
||||||
======================
|
======================
|
||||||
|
|
||||||
* ...
|
* no validation yet
|
||||||
|
* it would be better to instantiate the proper field widget and let it render the input
|
||||||
|
|
||||||
Credits
|
Credits
|
||||||
=======
|
=======
|
||||||
|
|||||||
Reference in New Issue
Block a user