Saturday, January 13, 2024
15 changes · master
Enhancements to existing features
Hierarchy views are now more flexible and reliable for Knowledge and related apps. Users get better default loading, card visibility handling, preserved expanded items after actions, support for properties, and more predictable ordering when moving items.
Original PR description
Improvements to the Hierarchy view so that it becomes more generic and usable in the Knowledge module: - Allow nodes of the `hierarchy-box` template to evaluate `invisible` during compilation -…
Improvements to the Hierarchy view so that it becomes more generic and usable in
the Knowledge module:
- Allow nodes of the `hierarchy-box` template to evaluate `invisible` during
compilation
- Improve the logic behind the custom domain leaf added when the view was just
opened by the user or when the search query is empty:
- Take the global domain into account
- Instead of considering the length of the domain, the "default state" of the
view will be defined by its `search_default` filters and the current query
in the `SearchModel`. The custom leaf limiting the search result to records
without a hierarchy parent will be added when the search query is completely
empty, or when all default filters are active in the `SearchModel`.
- Add a basic "reload" method for the hierarchy model to keep displaying
unfolded records after using a view button
- Add `default_order` option for the view, and guarantee that dropping a node will
put it at its correct place based on ordering.
See each commit for more details
task-3539324Indian localization now stores HSN compliance information directly on invoice lines and point-of-sale order lines instead of relying only on the product setup. This makes tax and compliance reporting more accurate at the transaction level, especially when values need to reflect the actual invoice or sale.
Original PR description
Before this commit ================== HSN Codes are mapped to Product and same Carried to the various reporting level. After this commit ================= HSN Codes are stored at invoice level and displayed in invoice lines Related Enterprise PR: https://github.com/odoo/enterprise/pull/53437 Related Upgrade PR: https://github.com/odoo/upgrade/pull/5474 task- 3410236
The Project task calendar now offers day and week viewing options again, giving teams more flexibility to plan and review work at the right level of detail. This makes short-term scheduling and workload checks easier without changing the underlying task management process.
Original PR description
Task-3612974 --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
The sales workflow no longer asks users to choose special down payment products or accounting fields when creating down payment invoices. This removes obsolete settings and reduces confusion, while keeping down payments included correctly in related sales, repair, stock, and project profitability flows.
Original PR description
This commit removes down payment products from the settings (where it has become obsolete, dead field, never used since 16.2) and from the down payment wizard where the user creating the down payment has probably no idea of what should be entered there. task-3618096 --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
Restaurant staff can now merge or link tables directly from the floor plan edit mode instead of switching to the product screen. This makes table management faster and keeps setup changes in the place where staff already manage the restaurant layout.
Original PR description
In pos_restaurant there exists the possibility to merge / link tables. This is currently done from the product_screen. In this commit we add the possibility to merge / link tables directly from the edit mode. Task: 3669779 --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
Grid views now let users show or hide weekends, matching the behavior already available in calendar views. This helps teams save screen space, especially on mobile devices, while remembering each user's preference locally.
Original PR description
Currently in calendar views it is possible to show/hide the weekends in the view using the scale selector. In order to gain space, specially in mobile devices, it is important to have the same feature in grid views. This commit implements this feature in grid views. Note that the option to show/hide the weekends is saved in the local storage and it is not shared with the calendar configuration. task-3628487
The Knowledge table of contents now keeps its guidance text visible when there are not enough headings, helping users understand what to add. It also improves editing reliability by removing an unnecessary link protection class that could interfere with inserting the table of contents.
Original PR description
This commit updates the table of content behavior so that it is easier to understand how to use it for users. It lets the string present inside this behavior be visible when one or less heading is found so that the users understand that they need to add some to fill the table of content. We also removed the class `oe_unremovable` from the links inside the TOC because they are no longer necessary because of two attributes: * contenteditable='false' * data-oe-protected='true'. Plus they created issues with the insertion of the behavior inside the editable. task-3676903
Down payment products and related accounting fields were removed from sales settings and the down payment wizard because they were obsolete or confusing for users. Down payments will now rely on default values, reducing unnecessary choices while keeping related profitability, repair, field service, tax cloud, and subscription flows aligned.
Original PR description
This commit removes down payment products from the settings (where it has become obsolete, dead field, never used since 16.2) and from the down payment wizard where the user creating the down payment has probably no idea of what should be entered there. Task: 3618096
Field Service task grouping now follows the same behavior as Projects while limiting results to actual Field Service tasks. This helps teams see more relevant assignees and task groupings without mixing in unrelated project work.
Original PR description
The goal of task is to review the group_expand implemented field service to be able to do as we did in project but we should only search in the FSM tasks and not all the tasks as we did in project. Rather than overriding `_group_expand_user_ids`, we created a hook in it `_group_expand_user_ids_domain`, which is overridden in industry_fsm. If `fsm_mode` is in the context, we add the condition that `is_fsm` is True in the search. task-3637742
Users can now undo an automatic planning action directly from the success notification. This makes scheduling safer by letting teams quickly return to the previous plan if the auto-generated schedule is not suitable.
Original PR description
Before this commit, when the user was triggering the auto-plan feature, there was no way for the user to come back to the previous schedule. After this commit, the success toast notification is modified in order to include un "undo" button allowing the user to come back to the previous configuration. TaskId: 3186645
Customer statements can now be sent automatically by email on a fixed schedule. This helps businesses keep customers informed about outstanding balances with less manual follow-up and more consistent communication.
Original PR description
Cron for automatically sending out customer statements
HSN compliance codes are now saved directly on invoices and invoice or POS lines instead of being carried only from product records. This improves consistency and traceability for Indian GST reporting, especially when invoice-level details differ from product defaults.
Original PR description
Before this commit ================== HSN Codes are mapped to Product and same Carried to the various reporting level. After this commit ================= HSN Codes are stored at invoice level and displayed in invoice lines Related Community PR: https://github.com/odoo/odoo/pull/147654 Related Upgrade PR: https://github.com/odoo/upgrade/pull/5474 task- 3410236
Users can now browse Knowledge articles in a visual hierarchy, making it easier to understand how content is organized. This improves navigation for teams with many related articles and helps users quickly find parent and child content.
Original PR description
Allow users to navigate and visualize their knowledge articles structure with the new Org Chart view type (hierarchy view). task-3539324
This update makes Planning schedules easier to read and use in Gantt and calendar views. Users get clearer employee visuals, contract availability cues, better notifications, progress percentages, and more consistent schedule grouping to reduce planning mistakes and speed up shift creation.
Original PR description
The following commit introduces the following changes : - Avatar is displayed instead of the full name in the gantt view if the pill is an employee and that the gantt view is in scale 'week' or…
The following commit introduces the following changes :
- Avatar is displayed instead of the full name in the gantt view if
the pill is an employee and that the gantt view is in scale
'week' or 'day'.
- Visual indication on when employees have active contracts : when
an employe does not have contract for a specific period of time
and that this employee never had a contractn then the pills for
this period of time are greyed.
- Changed helper when no data are displayed.
- Added toast notification when a shift is created with start/end
outside of the range of gantt view to alert the user that its
shift has successfully been created.
- Rounding of the hours in the pills to gain space.
- Added % in the progress bar for material resources.
- Group expands for 'Schedule' and 'My Planning' are consistent.
- Modified group expand in order to see a empty line when searching
for a role without shifts.
- Added shortcut help for duplication of shifts.
task-3186636Code cleanup and technical improvements
This update renames and reorganizes the mail push notification components to make the code easier to maintain. It also fixes several push notification issues, including duplicate sends, incorrect images, missing recipient details, and delayed notifications not respecting their schedule.
Original PR description
RATIONALE
Cleanup of enterprise code moved at odoo/odoo@0903ef7bb2117623cf6cbbd2375f56ca91babe6a
SPECIFICATIONS
Improve naming of push models: use 'mail.push' namespace
* 'mail.notification.web.push' -> 'mail.push' is sufficient and understandable
while being shorter;
* 'mail.partner.device' -> 'mail.push.device' to use the mail.push namespace;
Update 'user_device' field name to 'mail_push_device_id' (both for new model
name and _id indicating it is a m2o).
Cleanup tests: move into 'test_mail' as it is now part of standard mail
code. 'test_mail_full' is used for integrations with advanced mail modules
like sms or mass mailing. Split into sub-tests to clarify tested features,
some tests are cleaned (notably using more explicit sub-tests).
Provide fixes spotted when improving / rewriting tests.
Task-3669738