Tuesday, April 19, 2022
30 changes · master
Enhancements to existing features
This change updates many Odoo screen and widget templates to the newer Owl 2 format. It helps keep the user interface framework current and prevents older templates from becoming unsupported in future releases.
Original PR description
From now on, Owl will only accept owl 2 templates. Old templates will be considered old, and should be retired from active service. Note that this commit uses the simple "2" value, but you can use a more interesting expression. For example, owl="1+1" Description of the issue/feature this PR addresses: Current behavior before PR: Desired behavior after PR is merged: -- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
CRM stages can now be marked inactive when a company does not want to use them. This prevents standard stages from coming back after CRM module updates, making custom sales workflows easier to maintain.
Original PR description
Description of the issue/feature this PR addresses: Although crm.stage data are defined as noupdate, the records will be recreated when updating the crm module if these records were deleted. Add an active field to allow the usage of custom records and avoid having these records reappear after a module update. Current behavior before PR: User must delete the records if he does not want it. But they will be recreated at module update. Desired behavior after PR is merged: User can set the records as inactive, so they won't reappear after a module update. -- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
The online shop search now checks whether each product has a valid variant matching the shopper's selected attributes. This helps customers see more relevant results and avoid products that cannot actually be purchased with their chosen options.
Original PR description
…tion with the selected attribute values in the search Description of the issue/feature this PR addresses: Current behavior before PR: Desired behavior after PR is merged: -- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
Quiz takers will no longer see an awkward message saying they earned 0 XP after completing a quiz. When no XP is awarded, the site now shows a simple completion message, making the experience clearer and more polished.
Original PR description
Purpose ======= Avoid showing "Amazing! You earned 0xp". Task-2790997
This update makes the Timesheets app easier to use by improving empty-state guidance, search options, and batch editing. It also adds clearer visibility for suspicious time entries and related analytic tags when enabled, helping teams review timesheets more efficiently.
Original PR description
** = hr_timesheet_attendance,project_timesheet_holiday,sale_timesheet Purpose of this PR to improve generic usage of timesheet app. So, in this PR done following change: - change no content helper…
** = hr_timesheet_attendance,project_timesheet_holiday,sale_timesheet Purpose of this PR to improve generic usage of timesheet app. So, in this PR done following change: - change no content helper for reporting menu actions. - change no content helper for attendance report menu action. - make timesheet editable in batch. - add suspicious duration filter in timesheet search view. - add analytic tags in timesheet views only visible when analytic tag feature is enable from accounting settings. - remove group group_no_one from section_leaves div. - remove group group_no_one from timesheet group in leave type form view. - improve search view. - remove form view reference from project_id of timesheet. - add a condition for decoration danger in o2m tree view for timesheet_ids in project form view. task-2725525 Description of the issue/feature this PR addresses: Current behavior before PR: Desired behavior after PR is merged: -- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
When the Indian chart of accounts is configured, Odoo now sets the fiscal year to end on March 31. This aligns financial reporting defaults with India's statutory fiscal year requirements, reducing manual setup for Indian companies.
Original PR description
PURPOSE Change fiscalyear_last_month to March when Indian Chart of Account is configured As per company's ACT 2013, Definition of financial year states that every company has to report thier financial statement for the period ending on 31st March every year. Please check the below PDF. https://www.mca.gov.in/Ministry/pdf/CompaniesAct2013.pdf SPEC Change ending year date to 31 march https://en.wikipedia.org/wiki/Fiscal_year#India TASK 2723849 -- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
Mail notifications now use a clearer internal structure for grouping and marking messages as read. This helps make notification behavior more reliable and easier to maintain, with minimal direct change for users.
Original PR description
Task-2579306
This update introduces a dedicated invitation card for real-time calls in the Mail/Discuss area, making incoming call invitations clearer and easier to manage. Business users benefit from a more polished and understandable calling experience when collaborating through Odoo.
Original PR description
Task-2579306
Mail previews now support a clearer action to mark items as read directly from the need-action preview. This helps users process pending messages faster and keeps inbox indicators more accurate with less navigation.
Original PR description
Task-2579306
This update improves how video streams are handled in Odoo Discuss by tracking when video metadata has loaded. It helps make video call behavior more reliable and responsive for users.
Original PR description
Task-2579306
The mail app now has a cleaner way to manage message thread previews and mark them as read. This supports a smoother inbox experience and helps keep the underlying messaging interface easier to maintain.
Original PR description
Task-2579306
The mail app now has a cleaner way to manage preview entries for conversations that need attention, including marking them as read. This improves consistency in how unread items are tracked and prepared for display, supporting a smoother messaging experience.
Original PR description
Task-2579306
Email notification previews are being updated so users can interact with them more directly, including marking items as read from the preview. This makes it easier to manage messages quickly and reduces friction in daily communication workflows.
Original PR description
Task-2579306
The mail app now has a clearer way to handle clicks and read status in thread previews. This helps make message previews behave more consistently for users, improving navigation and day-to-day communication workflows.
Original PR description
Task-2579306
The mail app now adds a dedicated preview view that can mark conversations as read when users interact with them. This improves inbox usability by making message status updates clearer and more consistent.
Original PR description
Task-2579306
The mail app’s autocomplete input has been updated to better manage focus behavior across chat, discuss, and messaging menus. This should make suggestions feel more consistent and reliable when users interact with messaging fields.
Original PR description
Task-2817076
The mail interface now supports a clear retry action when messages fail to load in a conversation. This helps users recover from temporary loading issues more easily without leaving the thread or refreshing the whole page.
Original PR description
Task-2579306
The mail app now handles focus changes within conversation views more consistently, including when chat windows are involved. This should make navigating and interacting with messages feel smoother and more reliable for users.
Original PR description
Task-2579306
The mail conversation top bar now includes a dedicated camera click action, making it easier to start or trigger camera-related behavior from the conversation interface. This supports a smoother communication experience with a small, targeted interface improvement.
Original PR description
Task-2579306
The mail conversation header now includes a clearer phone-click action, making it easier for users to start calls from relevant conversation views. This improves daily communication workflows by reducing friction when contacting customers or partners.
Original PR description
Task-2579306
The mail app now has a reusable autocomplete input view with placeholder support. This makes search and selection fields in chat and messaging areas more consistent and easier to understand for users.
Original PR description
Task-2817076
This update improves mail call invitations by introducing a dedicated invitation card behavior for refusing calls. It helps users handle incoming call invitations more clearly and consistently within Odoo messaging.
Original PR description
Task-2579306
The mail app now uses a shared autocomplete input across messaging areas, making suggestions more consistent when users type in chats and discussions. This improves usability and helps reduce duplicated interface behavior across the messaging experience.
Original PR description
Task-2817076
Mail call invitations now use a dedicated invitation card with a clearer accept action. This improves the user experience when joining real-time conversations by making invitation handling more consistent and easier to maintain.
Original PR description
Task-2579306
The mail app’s Discuss area now handles a mobile header selection action more cleanly when adding items. This improves the mobile experience by making discussion setup interactions smoother and more consistent.
Original PR description
Task-2817076
Mail-related interaction handling was moved into shared mail models instead of being kept in individual screen components. This is an internal maintainability improvement that should make future mail changes easier and more reliable without changing day-to-day user workflows.
Original PR description
This commit moves some handler methods from components to models, as a step closer to having most of business code in models. Having business code in models is desirable so that the code is much more maintainable: easier to change and more robust code. Task-2579306
The mail app's autocomplete input has been reorganized so more of its behavior is handled in the shared data model rather than the screen component. This internal improvement makes the messaging code easier to maintain and evolve, with little expected change for end users.
Original PR description
This commit moves some business logic from component AutocompleteInput To model AutocompleteInputView, as a step to move further to having essentially all business code in models. Having code in models is desirable to have very maintainable code, thanks to robust and declarative code with an ORM-like architecture. Task-2817076
The mail app now better handles the mobile new message view when the messaging menu is hidden. This should make the mobile messaging experience smoother and reduce confusing screen states for users.
Original PR description
Task-2817076
Accounting-related screens and reports now use already available invoice and journal entry status information instead of performing extra database lookups. This should improve performance for accounting reports and related sales, purchase, stock, and timesheet workflows without changing user-facing features.
Original PR description
Description of the issue/feature this PR addresses: We often use a JOIN on `account.move` to read the state of the move but it could be avoided as `parent_move` is already available on `account.move.line`. This is particularly critical for accounting reports. This PR replaces `move_id.state` with `parent_state` and adds a new index on `parent_move`. Current behavior before PR: Slower queries Desired behavior after PR is merged: Faster queries -- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
This update makes the Timesheets app easier to use by improving guidance, empty-screen messaging, search options, and form details. It also lets users create projects and tasks from the timer, adds clearer employee visuals, and expands timesheet validation to higher-level managers.
Original PR description
Purpose of this PR to improve generic ux of timesheet app. So, in this PR done following points: - update tip of timesheet tour. - change no content helper for my timesheet and all timesheet menu's actions. - make project and task creatable from timer project_id and task_id fields. - add employee avatar for employee_id field in timesheet form view. - manager's manager would be able to validate timesheets of employees. - add tag_ids field in timesheet form view. - improve search view of 'my timesheets' and 'all timesheets' menu. - remove form view reference from project_id of timesheet. task-2725525