mirror of https://github.com/OCA/web.git
20 lines
785 B
Markdown
20 lines
785 B
Markdown
This module allows to show an x2many field with 3-tuples (\$x_value,
|
|
\$y_value, \$value) in a table
|
|
|
|
| | \$x_value1 | \$x_value2 |
|
|
|------------|--------------|--------------|
|
|
| \$y_value1 | \$value(1/1) | \$value(2/1) |
|
|
| \$y_value2 | \$value(1/2) | \$value(2/2) |
|
|
|
|
where value(n/n) is editable.
|
|
|
|
An example use case would be: Select some projects and some employees so
|
|
that a manager can easily fill in the planned_hours for one task per
|
|
employee. The result could look like this:
|
|
|
|

|
|
|
|
The beauty of this is that you have an arbitrary amount of columns with
|
|
this widget, trying to get this in standard x2many lists involves some
|
|
quite ugly hacks.
|