Monday, January 31, 2022
13 changes · master
Enhancements to existing features
Notification emails were cleaned up to make payment and document messages clearer, with the Pay Now layout now closer to standard Odoo notifications. Recipient handling was also improved so emails can be prepared more consistently and efficiently, reducing edge-case issues in email delivery flows.
Original PR description
PURPOSE Cleanup "Pay Now" notification template and their usage in "Send by email" flows. Cleanup overall notification by email flow: rename methods, remove outdated code, improve code clarity,…
PURPOSE Cleanup "Pay Now" notification template and their usage in "Send by email" flows. Cleanup overall notification by email flow: rename methods, remove outdated code, improve code clarity, prepare future improvements. SPECIFICATIONS Cleanup "Pay Npw" template: move buttons on the top, add subtitle, overall cleaning of the content. It now looks more like the standard notification layout with some model-based tweaks for invoices / SOs / POs, with less view-based content. Improve recipients computation: do it in batch, add more information when fetching notification recipients information (follower status, lang, ...). Add tests. Cleanup MailThread API and docstrings for notification methods. Improve flow of values through notification methods. Make their purpose clearer. Provide some master fixes for corner cases spotted while working on this PR. In any case see individual commits for more details as otherwise this message would be a long concatenation of various purposes. LINKS Task-2712450 (Mail/Sale: Improve 'Pay Now' notification template) Task-2726501 (Mail: Propagate message values in post methods) Task-2732660 (Mail: Remove duplicate layout field on composer) Task-2710804 (Mail: Clean Mail.Thread API) Task-2739294 (Mail: Batch recipients fetch and improve its usage)
Buckaroo payment integrations can now receive payment status updates directly from Buckaroo after checkout. This makes payment tracking more reliable, especially when confirmation takes longer or a customer does not return cleanly from the payment page.
Original PR description
Before this commit, it was not possible for a Buckaroo acquirer to accept asynchronous notifications for payment updates. This is important because, without them, an acquirer can only rely on synchronous notifications (i.e. redirect requests from the provider's checkout page) which can be unreliable and do not allow receiving status updates, should payments take a bit longer to be confirmed by the provider. This commit adds a webhook controller whose route can be configured in Buckaroo Plaza (backend) to send asynchronous notifications. See also: - https://github.com/odoo/documentation/pull/1481 task-2687586
This update improves everyday usability in the Project app by refining labels, filters, buttons, ratings settings, and search options. It also makes project and task names created from sales orders clearer, helping teams find and understand work more easily.
Original PR description
** = hr_timesheet,rating,sale_timesheet,sale_project Purpose of this commit to improve generic UX of project app. So, In this commit done the following point: - change the label for 'planned_hours'…
** = hr_timesheet,rating,sale_timesheet,sale_project Purpose of this commit to improve generic UX of project app. So, In this commit done the following point: - change the label for 'planned_hours' field in project task form view. - change demo user access right to project user instead project admin. - display the rating_status and rating_status_period fields under the 'customer ratings' feature in the settings. - add documents stat btn in project and task form view. - add stat btn in right-side panel view of project update. - add 'project_id', 'mail_template_id', 'rating_template_id' fields in project task search view. -add open and closed filter in project search view. - display 'assign to me' button secondary when user set on task. - add tooltip for 'date_deadline' field in project form view. - replace create_date field with write_date in rating views. - change context of billable time stat button action. - improve search view of project task. - hide rating stat btn when satisfaction is 0%. - change name of task created when SO confirmation. - change name of project create when SO confirmed when there is only one SO line contain service_tracking is 'only_project'. - add id field in tree view of project task as option hide Web -add formatType option in node option which convert actual formatType to given formatType in option and add test case for that feature. task-2710539 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
Project-related screens now provide clearer dates, better search options, and a simplified planning view. Documents uploaded from project or task records are also linked automatically, helping teams keep project files organized with less manual work.
Original PR description
** = project_holidays,industry_fsm,helpdesk Purpose of this commit to do generic improvement in project app. So, In this commit did the following points: - replace create_date by write_date in helpdesk rating view - add tooltip for date_deadline and planned_date_begin in project form view. - remove day scale from project task Gantt view. - improve search view of project task. - add formatType 'date' option in both fields so it will convert actual formatType of that field in daterange widget. task-2710539 Related PR: odoo/odoo#81630
Appointment booking pages now automatically take visitors to the first available time slot, reducing the chance they land on an empty month and abandon the booking. Custom appointment links also show counts for available slots in nearby months, making it easier to see other booking options.
Original PR description
When landing on the calendar page of an appointment type, the first available slot is selected for the visitor, instead of potentially leaving them on an empty month. When switching months, the selected slot (if any) is cleared to avoid confusion. task-2501575 Co-authored-by: Philémon van Helden <pvh@odoo.com> Co-authored-by: Jérémy Hennecart (jeh) <jeh@odoo.com>
Appointment scheduling now offers more control over when and with whom bookings can be made. Businesses can choose whether to enforce employee working hours for appointment availability, and can limit specific time slots to selected users when needed.
Original PR description
# Purpose Add an option to enable/disable the work hours check on the availabilities Add a field to restrict slots to some users (this field is hidden by default) We also fix some js tests from a previous merge task-2695730 UPG PR: odoo/upgrade#3196
Notification emails were updated to compute recipients more reliably and use cleaner layouts, including better support for payment-related messages. This helps ensure customers and portal users receive the right emails with the right access links, while simplifying related maintenance.
Original PR description
Enterprise counterpart of community update that targets notification emails layouting, recipients computation and overall API / docstring update. See community PR for more details. Task-2712450 (Mail/Sale: Improve 'Pay Now' notification template)
Timesheet users get a clearer review workflow with an All Timesheets menu, default draft-focused reporting, and more available views. Configuration wording and tooltips are clearer, and the mobile timer now shows key work details in a more readable layout.
Original PR description
The purpose of this commit is to do generic improvement in the timesheet app. In this commit did the following changes: - add an 'all timesheets' menu item below to validate > last month one - make the pivot view by default and add a default 'draft' filter - also, add the following views: graph, grid, list, kanban - configuration > invoicing policy option - add the tooltip to the 'invoice' field - rename the 'approved timesheets only' option into 'validated timesheets only' - timer on mobile: display the description, project, and task fields on three lines task-2722860 PR- #23198
Luxembourg profit and loss and balance sheet reports now include the relevant accounts more reliably. The reports also calculate current and prior profit and loss results automatically, helping businesses produce more accurate financial statements with less manual checking.
Original PR description
Improve the p&l by adding a control domain and making sure all relevant accounts are found inside of it. Improve the balances sheets by making sure all relevant accounts are used, also calculate the past and present p&l results automatically. Task id #2585627
French profit and loss and balance sheet reports are updated to include stronger account coverage checks, helping ensure relevant accounts are included. The balance sheet now automatically reflects profit and loss results and lets users navigate directly to the profit and loss report from the related line.
Original PR description
Improve the p&l and balance sheets by adding a control domain and making sure all relevant accounts are found inside of it. Also calculate the p&l results automatically in the balance sheet, and add an action redirecting the user from the balance sheet to the p&l on the p&l line. Task id #2585627
Spanish profit and loss and balance sheet reports now include the relevant accounts more reliably. Balance sheets also calculate profit and loss results automatically and provide a direct link to the detailed profit and loss report, making review and navigation easier for users.
Original PR description
Improve the p&l by adding a control domain and making sure all relevant accounts are found inside of it. Improve the balances sheets by making sure all relevant accounts are used, also calculate the p&l results automatically, and add an action redirecting the user from the balance sheet to the p&l on the p&l line. Task id #2585627
Swiss profit and loss and balance sheet reports now include better account controls so relevant accounts are captured more reliably. The balance sheet also calculates profit and loss results automatically and lets users navigate directly to the profit and loss report from the related line.
Original PR description
Improve the p&l and balance sheets by adding a control domain and making sure all relevant accounts are found inside of it. Also calculate the p&l results automatically in the balance sheet, and add an action redirecting the user from the balance sheet to the p&l on the p&l line. Task id #2585627
The barcode app now better supports updated inventory labeling features, including printing product, lot/serial number, and package labels from picking flows. The package form layout was adjusted to keep important details easy to view, while a redundant dependency was removed to simplify maintenance.
Original PR description
Super minor adaptions to support community changes: - Adding a new field in package form view, second column wasn't possible due to extension in Enterprise view => update Enterprise view so we can still have 2 columns with new + existing field - Make pickings in barcode app also give option of printing Product Labels or Lot/SN Labels (when applicable) - Remove GS1 dependency from barcode since it is now part of stock module's dependencies. COM PR: odoo/odoo#82389