Thursday, September 9, 2021
14 changes · master
Enhancements to existing features
Email template previews now show all attachments that will be included, including uploaded documents and generated reports. This helps users verify the full email content before sending, reducing mistakes and improving confidence.
Original PR description
# Purpose The prupose is when the user clicks on the preview button, he can see all attachments on the preview. # Specifications When previewing a template, the user can see and download all attachments, both static (documents attach to the template) and dynamic (report generated from Qweb). task-2150107
This update improves how Odoo manages database checkpoints during operations, ensuring temporary changes are properly cleaned up when a process finishes. This helps reduce hidden database state issues and makes imports, tests, and internal processing more reliable.
Original PR description
Ensure savepoints are *always* released when exiting the context: rolling back to a savepoint does not release it, so the savepoint remains "active" forever (just possibly shadowed if an other…
Ensure savepoints are *always* released when exiting the context: rolling back to a savepoint does not release it, so the savepoint remains "active" forever (just possibly shadowed if an other savepoint of the same name gets created). Also provide a `Savepoint` object to the user, with the followingfacilities: * `name`, in case there are useful things the user can do with a savepoint name. * `rollback` allows the user to rollback the savepoint to the initialisation state at any moment. * `close` allows the use of `contextlib.closing` as well as closing the savepoint while in the covered span. Closing a savepoint rolls it back by default (like cursors). Because there's no such thing as committing a savepoint, it's also possible to close *without* rolling back, which is similar (but not identical). NOTE: unlike some other constructs, the `Savepoint` object has no effect before the context is entered. Also make a `flushing` context manager for convenience, and provide a home-grown version of `contextlib.nullcontext` as that requires 3.7.
Project task forms now show a quick count of tasks that depend on the current task. This helps teams understand what work is being held up and prioritize tasks that unblock others.
Original PR description
This commit adds a stat button representing the number of dependent tasks, the current task is blocking. This is the inverse relation of "Blocked by". task-2638359 closes #76166 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
The point of sale now recognizes barcodes assigned to product packages, not just individual products. This helps cashiers quickly sell multi-item packs with the correct quantity, reducing manual entry and checkout mistakes.
Original PR description
[IMP] point_of_sale: Enable scanning of barcode packaging Actually we can't gie more one barcode for a product In inventory we can make "package" with various quantity So with this commit we add the possibility to add a package of product (1-n) with a specific barcode Task: 2610279
Invoice search filters were renamed and adjusted so users can more easily find unpaid, paid, and overdue invoices. The journal dashboard now treats only invoices or bills past their due date as late, avoiding items due today being shown as late.
Original PR description
Modify search filters on the invoice views: Open -> Unpaid Closed -> Paid (exclude reversed) Overdue -> Overdue Fix journal kanban view "late invoices/bills" should not include due date = today Task 2635664 -- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
This update improves Ecuador electronic invoicing support so companies can better generate, sign, and manage required tax documents. It also cleans up dependencies and structure, making the feature more reliable for review and future maintenance.
Original PR description
Change for runbot reviews with differents branch names
CRM spreadsheet templates have been refreshed to support newer spreadsheet features, including hyperlinks and list views. This makes pipeline and revenue reporting templates easier to navigate and more useful for sales analysis.
Original PR description
Update templates with new features such as: - insert hyperlinks - view lists Task 2615358
Website calendar appointments now include a clearer link button, making it easier for visitors or customers to access and share appointment booking pages. This improves the booking flow and helps businesses direct users to scheduling options more quickly.
Original PR description
TO DO: https://docs.google.com/presentation/d/1GtKtDumQ96Ts3L-MRTJp2dT67eVI4FfcBfngN5NDtVA/edit#slide=id.g8af3212726_0_1 task-2287846
Empty scheduling and project screens now show transparent sample content instead of appearing blank. This helps users understand what the views will look like and how to get started before real data is added.
Resolved issues and error corrections
This fixes an issue where attendee answers to registration questions were not being stored when completing an event signup. Businesses can now reliably collect the information they request from every event registrant.
Original PR description
When questions are displayed in the form for a registration, the answers were not save. Now, the answers are saved for all the registrations 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
This update fixes issues in the accrued sales and purchase order wizard that could reset user-entered values and prevent validation. It also improves the resulting accrual entries by making them clearer and less cluttered for accounting review.
Original PR description
* the cache_invalidate() was invalidating the changes made in the wizard as well, make it impossible to set any value other than the default one, even though the preview entry was updated accordingly. That also prevented to simply validate the wizard as the accrual account was required but reset anytime we changed its value. * the preview_data field was incorrectly set as Binary while the widget only supports Text -- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
This fix prevents employee shifts from being stretched across multiple days when browser and employee time zones differ. It keeps planned hours aligned with the employee's expected daily working time, reducing scheduling mistakes and payroll or staffing confusion.
Original PR description
Description of the issue/feature this PR addresses: The search range for the closest work time is not assigned any value if the start date is different than the end date. The dates can be different…
Description of the issue/feature this PR addresses: The search range for the closest work time is not assigned any value if the start date is different than the end date. The dates can be different if the employee is in another timezone. Current behavior before PR: If the browser time is UTC+2 and a shift of an employee in UTC+6 is scheduled, the start time in UTC time will be 01/01/2000 22:00 and the end time will be 02/01/2000 21:59:59. Converted to the resource.tz timezone, the start date will become 02/01/2000 and the end date will be 03/01/2000. Due to the date difference, the search range is not assigned a value, the start of the shift will be at the employee start time on 02/01/2000 and the end of the shift will be around lunch break one day later. Desired behavior after PR is merged: The shift of the employee for a certain day doesn't span over two days or exceeds the hours per day for the employee Related to odoo/enterprise#20428 Task-2628876 ref https://github.com/odoo/odoo/pull/75527 -- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
This fix restores unavailable time indicators in project Gantt views after a related field change caused them to stop working. Project planners can again see when assigned people are unavailable, helping avoid scheduling conflicts.
Original PR description
The `user_id` field was replaced in odoo/odoo#74087 by `user_ids` thus breaking the gantt unavailabilities mechanism. TaskID: 2638525
Timesheet users no longer encounter an error when creating their own timesheet entries. This fix ensures employees can record their work time without needing extra permissions, reducing disruption in daily time tracking.
Original PR description
Currently, when we connect as a user with the timesheet module and try to create a new timesheet entry, it throws an error. After this commit, user can also create their own timesheet. Task-Id : 2629541