Tuesday, January 3, 2023
4 changes · master
New functionality added to Odoo
Grid-based screens, including timesheets, can now display sample data when there is no real data available. This helps users understand how the view works and makes empty screens more useful during setup or evaluation.
Original PR description
[IMP] {web, timesheet}_grid: add sample data mode
This commit introduces the sample data feature for the Grid View.
Although this isn't a good practice to duplicate logic in the code,
there was unfortunately no other choice at the time being. The only
solution being to rewrite the Gird View in order to bring more
presentation logic at the client side, which is not a possibility
at this time.
task-2702636
see also:
- https://github.com/odoo/documentation/pull/1789Enhancements to existing features
Grid view editing now supports familiar keyboard actions: Enter saves the edited cell and moves focus downward, while Escape cancels the change and exits editing. This makes data entry faster and more consistent with editable list views.
Original PR description
PURPOSE
In an editable listview, the user can save his changes by hitting 'Enter' while in a record being edited.
The purpose of this task is to implement the same behaviour in the grid view.
allow the user to save the cell update with 'Enter',
and to discard the cell update with 'Escape'
SPECIFICATION
When editing a gridview cell:
hitting 'Enter' should validate the cell update and move the focus to the cell below
NB: the behaviour is similar to hitting 'Tab', with the only difference that the focus should move to the cell below
hitting 'Escape' should discard the cell update and remove the focus from the gridview
NB: the gridview switches to readonly
TASK 2618994Resolved issues and error corrections
The SYSCOHADA localization reports were corrected so the balance sheet and profit and loss report labels use English as the base language. French translations were added separately, making reports clearer for multilingual deployments and easier to maintain.
Original PR description
All the localization of syscohada was written in French instead of English. To correct this, this PR modifies the balance sheet and profit and loss reports and adds a French PO file to have all the translations in the language used in these countries.
Gantt views can now group records by fields that allow multiple selections, such as tasks with several collaborators. This makes planning and workload views more flexible, and Studio now lets users add these fields to search/grouping options.
Original PR description
PURPOSE Allow to group records by many2many fields. Use case: turn the user_id m2o field on project.task into a user_ids m2m field in order to assign multiple collaborators on a task SPEC Add many2many fields to the 'list of groupable fields'. in gantt view. TASK 2508608