Grid View for Community - Web Grid, Timesheet Grid, Editable Grid View
by Modvanta https://modvantaapps.tech/$ 11.97

Grid View for Odoo 19 Community
Odoo Community has list, kanban, pivot and calendar views, but no grid. This module adds one: projects and tasks down the side, days across the top, a number in every cell, and you type into it. It works on timesheets out of the box and on any other model with a few lines of XML.
Written and supported by Modvanta - modvantaapps@gmail.com
What it does
A grid is the quickest way to fill in a week of timesheets. You see every project and task you worked on, one column per day, and you change Tuesday's 2:00 to 3:30 by typing 3:30. The module works out the difference (1:30) and books it as a timesheet line. Nothing is written with SQL: every change goes through the normal create and write, under your own user, so access rights, record rules and any timesheet lock you already use still apply.
The same view type, mdv_grid, can be put on any model: hours, quantities, amounts, or just a count of records. Columns can be days, weeks or months of a date field, or the values of a selection or many2one field.
Who it is for
Teams that log time Employees fill in their week in one screen instead of opening a form per line. Managers see the totals per project and day. | Sales and planning people The ready-made sales grid shows ordered quantity per product and category, month by month, for the whole year. | Odoo developers Declare a grid on your own model in XML, choose the rows, the column and the number, and point editing at your own method if you need special rules. |
Key features
Every screenshot below was taken on a plain Odoo 19 Community database with the demo data.
1 | Timesheet grid, ready on installInstall the module next to Timesheets and a Timesheet Grid menu appears. Projects are sections with their own subtotal, tasks are the rows, and the remaining hours of each task sit next to its name. Today's column is highlighted. |

2 | Type straight into a cellClick a cell and type 3:30 or 3.5. Enter saves and moves down, Tab saves and moves right, Esc cancels. The cell shows the new total and the difference is saved as a new timesheet line, so the lines you already entered are left alone. |

3 | Week, month or quarterSwitch the range with one click and move with Previous, Today and Next. On day columns you can hide Saturday and Sunday. |

4 | Weeks as columnsA range can use a different step: the timesheet grid also offers a quarter split into weeks. Year by month and month by week work the same way. |

5 | Filters and Group By drive the rowsThe normal search bar works on the grid. Pick Group By - Employee and the rows become employees; save it as a favorite if you use it every Monday. |

6 | See what is behind a numberHover a cell and a magnifier appears. Click it to open the records that make up that number in a normal list, where you can edit or delete them. |

7 | The records of one cellThis is the list opened from the cell above: one task, one day. |

8 | Add a lineStarting a new task this week? Add a line opens the timesheet form with today's date filled in. Save it and the row is in the grid. |

9 | Sales quantity gridA second grid comes with the Sales app: quantity ordered per product, grouped by product category, one column per month. It is read only, because it reads the sales analysis. |

10 | Ready-made grids in one placeSettings - Technical - User Interface - Grid Views lists the ready-made grids. Each one is added when its app is installed, even if you install the app later. Remove one and it stays removed. |

How it works
1. Install the module. If Timesheets or Sales is installed, their grids are added to the menus.
2. Open Timesheets - Timesheet Grid. The grid opens on My Timesheets for the current week.
3. Click a cell, type the new total, press Enter. The grid saves the difference and reloads.
4. Use Export to download the grid as a CSV file with the rows, columns and totals you see.
5. For your own model, add a view like the one below and put mdv_grid in the action's view_mode.
<field name="project_id" type="row" section="1"/>
<field name="task_id" type="row"/>
<field name="date" type="col" ranges="week:day,month:day,year:month"/>
<field name="unit_amount" type="measure" widget="float_time"/>
</mdv_grid>
Settings and options
| type="row" | One to six row fields: many2one, selection, char, boolean, integer or date. section="1" turns one into a heading with subtotals. info="field" shows a figure of the linked record next to the row name. |
| type="col" | A date or datetime field with ranges such as week:day, month:day, quarter:week, year:month, or a selection / many2one field. |
| type="measure" | The number in the cell (integer, float or monetary). Without a measure the grid counts records and is read only. |
| editable="0" | Makes the grid read only. |
| adjust_mode | create (default) books the difference as a new record; last adds it to the newest record of the cell. |
| adjust_method | The name of your own public method with the same arguments, if editing needs your own rules. |
| row_totals / col_totals | Set to 0 to hide the total column or the total row. |
| hide_weekends / form_view_ref | Start with weekends hidden; choose the form used by Add a line. |
FAQ
Compatibility
Support
Questions before you buy, or a grid you want on your own model? Write to us. We answer every email.
EMAIL modvantaapps@gmail.com | AUTHOR Modvanta | INCLUDED Grid view, timesheet grid, sales grid |
| Availability |
Odoo Online
Odoo.sh
On Premise
|
| Lines of code | 1409 |
| Technical Name |
mdv_web_grid_view |
| License | OPL-1 |
| Website | https://modvantaapps.tech/ |
Odoo Proprietary License v1.0 This software and associated files (the "Software") may only be used (executed, modified, executed after modifications) if you have purchased a valid license from the authors, typically via Odoo Apps, or if you have received a written agreement from the authors of the Software (see the COPYRIGHT file). You may develop Odoo modules that use the Software as a library (typically by depending on it, importing it and using its resources), but without copying any source code or material from the Software. You may distribute those modules under the license of your choice, provided that this license is compatible with the terms of the Odoo Proprietary License (For example: LGPL, MIT, or proprietary licenses similar to this one). It is forbidden to publish, distribute, sublicense, or sell copies of the Software or modified copies of the Software. The above copyright notice and this permission notice must be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
Please log in to comment on this module