Monday, January 31, 2022
21 changes · master
Enhancements to existing features
This change makes the list of user profile fields that trigger automatic cache refreshes easier to customize. It helps future extensions adapt cache behavior without changing core code, reducing maintenance effort and upgrade risk.
Original PR description
Whenever a user is modified, if at least one of a predefinet-field list is being touched (e.g. companies or groups), cache is automatically invalidated. However, that field list is harcoded, which prevents it from being inherited and extended. This commit unarcodes such fields by moving them to a separate method, which makes possible to inherit such method and extend the list. -- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
This update makes Odoo labels more useful and standardized by supporting GS1 DataMatrix barcodes for products, lots, serial numbers, and packages when the data is valid. It also simplifies label printing from pickings and aligns inventory and manufacturing label formats for more consistent warehouse operations.
Original PR description
This PR does a few things: GS1 / Datamatrix (DM) related parts: - Adds in ability to print DM barcode (note: still requires additional package installation to work correctly) - Adds UoM GS1 rules +…
This PR does a few things: GS1 / Datamatrix (DM) related parts: - Adds in ability to print DM barcode (note: still requires additional package installation to work correctly) - Adds UoM GS1 rules + yard UoM (note: some Odoo UoMs are not supported by GS1 and will not print in GS1 DMs) - Print product GS1 barcodes in "Package Barcode with Content" report (note: only when product barcode is EAN compliant + prints additional info when applicable in this case) - Include product UoM in DM in "Package Barcode with Content" report when valid product GS1 (note: number of digits, including precision digits, are limited in GS1 and will not print in GS1 DM if too long) - Add option to print GS1 DMs for Lot/SN labels (note: will only include product in GS1 barcode if EAN compliant) - Print GS1 SSCC DM for packages when package name is a valid SSCC number (note: for reports: Package with Content, Package Barcode (PDF), and Package Barcode (ZPL)) Label improvements related parts: - Make Lot/SN label PDF reports match ZPL layout and also follow 4x12 format (same as product label 4x12 layout) - Allow printing "Package Barcode with Content" directly from picking - Make MRP "Finish Product Labels" (PDF) print in standard 4x12 layout (previously was a non-standard format) - Fix MRP label (ZPL) so that a valid zpl is always created regardless of barcode/tracking status - Add new wizard to print a pickings' SN/Lot labels (via existing "Print Label" button) See individual commits for additional details for each part's implementations. ENT PR: odoo/enterprise#23323 Upgrade PR: odoo/upgrade#3202 -- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
This update removes an unused piece of code from the messaging area. It has no visible impact for users, but helps keep the system easier to maintain and reduces unnecessary complexity.
This update adjusts the French chart of accounts to correct some account names and types. It helps reduce the risk of accounting report misconfiguration for companies using the French localization.
Original PR description
While updating financial reports to help avoid misconfiguration, slightly update the coa to fix some wrong account types or name. Tax id #2585627 -- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
The Spanish localization now classifies account 5585 as a current liability instead of a non-current liability. This better reflects how the account is expected to be treated in financial reporting, improving the accuracy of Spanish accounting setup.
Original PR description
Change the type of the account 5585 to be current liabilities instead of non-current as it makes more sense. -- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
This update avoids showing a demo data loading message when a module has no demo data to load. It keeps system logs clearer and reduces unnecessary noise for teams monitoring installations or updates.
Original PR description
when there is no demo data available for the given module -- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
Inventory screens now use updated badge styling to make stock move statuses easier to read at a glance. This improves day-to-day usability for warehouse and inventory teams without changing the underlying workflow.
Original PR description
task: 2654703-4
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 change reorganizes how the mail app tracks automated scrolling in message lists. It helps keep message list behavior more consistent and easier to maintain, with no expected disruption for users.
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