Tuesday, September 5, 2023
26 changes · master
Enhancements to existing features
Australian bank account records can now include and validate BSB details without requiring ABA payment file features. This helps businesses capture standard Australian banking information even when they do not use ABA files.
Original PR description
Description of the issue/feature this PR addresses: Makes BSB available on bank accounts, even if not using ABA files Current behavior before PR: Can't enter BSB without ABA file handling installed Desired behavior after PR is merged: Makes BSB available, even if ABA file handling not installed. Enterprise PR: https://github.com/odoo/enterprise/pull/46673 Upgrade PR: https://github.com/odoo/upgrade/pull/5105 --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
HR teams can now set how far in advance they receive expiration warnings for employee contracts and work permits. This helps each company align reminders with its own renewal processes instead of relying on fixed default timelines.
Original PR description
Currently the warning messages to warn for contracts and work permits that are about to expire are hardcoded to be triggered 7 and 60 days in advance respectively. With this commit, these notice periods are made to be configurable on a per-company basis. task-3340931
Virtual appointment links are now included in calendar invite details so attendees can more easily find where to join. Google Calendar and iCal invitations will carry the discussion link in the appropriate meeting information fields, reducing confusion for remote meetings.
Original PR description
**Before PR:** To propagate the discuss link to the google calendar and in the icall file. **After PR:** Propagate the discuss link in to the location parameter for the google calendar when the meeting is virtual. For icall file propagate the discuss link in to the description parameter. Task-3235765
Businesses can now set default accounts for recording discounts on customer invoices and vendor bills. This makes discount amounts appear on dedicated accounting lines instead of being folded into product revenue or expense accounts, improving financial reporting clarity.
Original PR description
Provides the possibility for the user to enter defaults accounts for discounts allocation. If provided, discounts on Customer Invoices and Vendor BIlls will be allocation on the specified account…
Provides the possibility for the user to enter defaults accounts for discounts allocation. If provided, discounts on Customer Invoices and Vendor BIlls will be allocation on the specified account instead of the product account. Example: Create a journal entry with one product with the following attributes: quantity: 1 price unit: 100 discount 5 We expect the following account move line: Without an account set in the settings for discount allocation: ACCOUNT DEBIT CREDIT 700000 Sales rendered in Belgium (marchandises) 0 95 400000 Trade debtors within one year - Customer 95 0 With discount allocation account set to "657000 Discount Given": ACCOUNT DEBIT CREDIT 700000 Sales rendered in Belgium (marchandises) 0 95 700000 Sales rendered in Belgium (marchandises) 0 5 657000 Discounts Given 5 0 400000 Trade debtors within one year - Customer 95 0 Note: the discount is added on another line than the one of the product even though it is the same account because it does not include taxes and analytic distributions. task: 3278827 --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
Users can now save a record and load another record, such as the next item in a pager, in a single server request. This reduces waiting time and makes navigating between records smoother in the web interface.
Original PR description
In [1], a new python function was introduced that allows to save and read in one rpc. This commit, adds the possiblitity to read another record in the same rpc call. This is particularly useful when you want to save and read the next record (for instance on a pager). 1: ebd538a1942c532bcf1c9deeab3c25efe23b6893 Task-id : 3453184
This update makes Automated Actions more visible from kanban views and easier to configure with clearer screens, smarter trigger choices, and support for multiple actions in one automation. It also simplifies related Server Actions so users see only the fields and options relevant to what they are trying to automate.
Original PR description
This PR makes "Automated Actions" more discoverable and usable by: - Adding a menu in the kanban header config dropdown to add/edit them. - Creating a new custom kanban view for a clear understanding…
Website editors can now apply hover-triggered animations to images and adjust image shape orientation with flips or rotation. This gives marketing and content teams more visual options to make pages feel dynamic without custom development.
Original PR description
**[IMP] web_editor: allow to flip/rotate image shapes** This commit adds the possibility to horizontally/vertically mirror and rotate the shape of an image. We've introduced a new sub-option for…
**[IMP] web_editor: allow to flip/rotate image shapes** This commit adds the possibility to horizontally/vertically mirror and rotate the shape of an image. We've introduced a new sub-option for image shapes called "Transform". This new option is not available for certain shapes: - If the transform will have no effect (a vertically and horizontally symmetrical shape). - With some animations, if the animation is too complex for the system to work. - For "devices" shapes because they are too specific for the option to work. And anyway "devices" shapes are already available horizontally flipped in the list. task-3094258 ________________________________________________________ **[IMP] web_editor, website: add an "on hover" option for animations** This commit adds an "on hover" option for animations. We've added the "on hover" option to the animation selector. This feature is only available for images. It allows you to pick an animation that triggers when you hover your mouse over an image. There are six different animations to choose from. This new animation option doesn't work with animated shapes and devices shapes. task-3094258
The Point of Sale demo setup now includes richer sample data, including past orders, open sessions, open orders, and more drink products. This makes demonstrations and testing feel more realistic and helps users evaluate POS workflows more easily.
Original PR description
pos*: point_of_sale, pos_restaurant, pos_self_order **Purpose:** This change is for better UX of the testers. **Notable changes:** 1. Historical pos order data which include past sessions and past orders. 2. New open session and open orders. 3. Onboarding data containing all demo datas and the new open session and open orders. 4. Adding more drinks demo products. Enterprise PR: odoo/enterprise#44198 task-id: 2484444 --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
The fleet vehicle search menu now presents the employee driver option more clearly as “Drivers (Employee)” and places it higher in the list. Search behavior has also been adjusted so users get more accurate driver-related vehicle results.
Original PR description
Before this commit, the 'Current Driver(Employee)' option was present within the search menu and appeared as the last choice in the search list. IMP: Following this commit, the 'Current Driver(Employee)' is renamed as 'Drivers(Employee)' and moved to the third position among the available search options and filter_domain is applied to get correct search results. taskId: 3459896
The task “Last Stage Update” date now refreshes whenever a task state changes, not only when it moves to a closing state. This date is also shown directly in the task list, helping teams see more easily when task progress was last updated.
Original PR description
This PR brings two small improvements related to the "Last Stage Update" task field: - Update the field when changing the task to any state, not just a closing state. - Display the field in the project.task list view, just before the state. Task-3455177
Inbox message actions are now organized so the most common choices, such as reacting or marking messages, are easier to access. This also makes the action menu more adaptable for different messaging contexts, improving usability as more options are added.
Original PR description
Before this commit, message actions were all defined in template of `Message` component. It's good when there are few actions and the ordering of actions is always the same, but there are now many actions and we want to order these actions depending on context. This commit fixes the issue by introducing a special registry to add message actions. This registry is quite similar to thread actions: each item define conditions to be shown, behaviour on click, and their sequence which can depend on the context where the message is being viewed. In addition to this message action registry, this commit also reorder message actions in inbox as follow: 1. Quick actions: - Add a Reaction - Mark as To do - Mark as Read 2. More menu: - View reactions - Reply - Unfollow - Edit - Delete Task-3458086
Brazilian customer and company records can now distinguish between CNPJ and CPF identification types. This improves validation accuracy using standard checks and makes local compliance data easier to categorize.
Original PR description
This adds the two main identification types we use in Brazil. CNPJ is used the standard VAT type. The custom check_vat logic was removed because stdnum supports this out of the box. Another non-VAT CPF type was added that is checked for validity using stdnum as well. task-3475609
Custom one-to-many and many-to-many views can now include extra related data while still respecting their configured sub-views. This helps customized screens show or use dependent information more reliably without forcing extra fields to appear to users.
Original PR description
The goal of this commit is to allow relatedFields to be added to a one2many field using a sub-view. Before this commit, if an x2many custom contains a sub-view and relatedFields, we ignore the sub-view and use only the relatedFields. Now we're going to add the relatedFields to the fields/activeFields defined in the sub-view. Use case: Created a custom x2many field dependent on the 'display_name' of a many2one field that should not be present in the sub-view. For example, to simulate a groupBy on this many2one field. 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 Mail app now uses the label "To-Do" instead of "To Do" for activity types. This keeps wording consistent with the To-Do app and reduces small inconsistencies in the user experience.
Original PR description
upgrade: https://github.com/odoo/upgrade/pull/5057 Renaming the activity type 'To Do' into 'To-Do' so that the naming convention is consitent with the To-Do app. **task-3469745**
The self-order kiosk landing page now supports a rotating image carousel. Businesses can configure the displayed images in settings, making the kiosk welcome screen more engaging for promotions, branding, or product highlights.
Original PR description
Carousel is a slideshow for cycling through a series of images. It is a dynamic display of content that can be used to show a rotating series of pictures, articles, or advertisements. Following the specifications, the carousel is displayed on the landing page of the kiosk mode. Images of carousel can be configured from the settings (ir.attachement). Used carousel is a bootstrap carousel. taskId: 3484170
Odoo removed an outdated browser-detection dependency that was only needed for very old, unsupported browsers. This simplifies maintenance across website, portal, point of sale, project, manufacturing subcontracting, web editor, and slides areas without changing expected behavior for supported users.
Original PR description
Enterprise PR: https://github.com/odoo/enterprise/pull/46736 task-3439226 --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
The Knowledge app now includes five additional ready-to-use templates, covering personal organization, account management, post-mortems, release notes, and software specifications. These templates help teams start documenting common processes faster and include a full-width display option for a more spacious reading experience.
Original PR description
This PR adds new templates to the Knowledge template library. These templates showcase the practical applications of the Knowledge module through various examples. This commit includes the following templates: - "Personal organizer" - "Account Management" - "Post-mortem" - "Release Notes" - "Software Specification" task-3423795
Brazilian customer tax identifiers are now handled more consistently by storing both company (CNPJ) and individual (CPF) IDs in the same VAT field. This helps Avatax integrations use the expected tax ID source and reduces confusion in Brazilian localization workflows.
Original PR description
Both CNPJ and CPF are now stored in the vat field. For more details see https://github.com/odoo/odoo/pull/132773. task-3475609
The Twitter wall feature no longer uses legacy browser compatibility checks for outdated browsers such as Internet Explorer. This simplifies maintenance while keeping the visual scaling behavior supported in modern browsers.
Original PR description
This commit aims at removing the need to rely on `$.browser`, which was mainly the case to support deprecated and unsupported browsers like MS Internet Explorer or old version of Firefox. Community PR: https://github.com/odoo/odoo/pull/133916 task-3439226
Restaurant point of sale demo and onboarding data has been expanded with realistic past and active orders, sessions, and kitchen display examples. The kitchen display app now opens in a more standard way, making testing smoother and access to settings clearer.
Original PR description
pos*: pos_preparation_display, pos_restaurant_appointment, pos_restaurant_preparation_display **Purpose:** This change is for better UX of the testers. **Notable changes:** 1. Onboarding data now…
pos*: pos_preparation_display, pos_restaurant_appointment, pos_restaurant_preparation_display **Purpose:** This change is for better UX of the testers. **Notable changes:** 1. Onboarding data now includes the data from the demo data. 2. Historical pos order data which include past sessions and past orders. 3. New open session and open orders. 4. New pos_preparation_display data for the preparation display. 5. Onboarding data can be generated from the preparation display as in the session in the classic point_of_sale. 6. Removal of the demo preparation display "Food", "Drinks" and "Drink and Food". Removal of the main preparation display data keeping only "Kitchen Display" as pre-configured preparation display. 7. The kitchen display icon in the main menu is opening directly a preparation display under some conditions. This leads to problems with some js tests (clickEverywhere for example) and is kinda not Odoo-like as it does not follow the normal behaviour of every other apps. It also does not provide direct access to the preparation display settings when the conditions are met. This led to the change of uniformizing this icon and making it so that the click on the app icon will lead to a classical opening of the application (opening the preparation displays main page). This commit follows up the community commit to the change in the demo data. Community PR: odoo/odoo#128699 task-id: 2484444
Updated demo data helps users see how project documents can be managed in realistic scenarios. It showcases turning off documents for a project, tagging files, and sharing selected files as download-only links for portal users.
Original PR description
This PR adds some demo data in documents to showcase the following features: - Disabling the "Documents" feature on a project. - Applying tags to documents. - Creating a share link by documents ids in download only (so that uploading is not available for that project in the portal). Task-2878833
This update makes automation setup easier by opening Automations in a clearer kanban view with the relevant model already selected. It also refreshes Studio promotion dialogs and aligns subscription, HR contract, and marketing automation screens with the updated automation framework.
Original PR description
Enterprise counterpart of task 3085360 It mainly consists of adaptations due to changes in the community part: odoo/odoo#114352 It also improves: - web_studio: the "Automations" action is now a kanban view by default, having the current model put in the context - web_enterprise: better Studio promotion dialogs upgrade: https://github.com/odoo/upgrade/pull/4904
Payroll administrators can now set how far in advance each company is warned about expiring employee contracts and work permits. This replaces fixed warning periods, making reminders better match each company's HR processes and compliance needs.
Original PR description
Currently the warning messages to warn for contracts and work permits that are about to expire are hardcoded to be triggered 7 and 60 days in advance respectively. With this commit, these notice periods are made to be configurable on a per-company basis. task-3340931
Australian bank account BSB details are now available without requiring ABA payment file handling. This lets businesses record and validate BSB information for bank accounts even when they do not use ABA files.
Original PR description
Description of the issue/feature this PR addresses: Makes BSB available on bank accounts, even if not using ABA files Current behavior before PR: Can't enter BSB without ABA file handling installed Desired behavior after PR is merged: Makes BSB available, even if ABA file handling not installed. Community PR: https://github.com/odoo/odoo/pull/133897 Upgrade PR: https://github.com/odoo/upgrade/pull/5105 --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
This update renames a technical product setting so it does not conflict with the main Documents label introduced for product documents. It also adjusts where rental information appears on product pages so customers see it in the intended section.
Original PR description
new field `product_document_ids` on product.template will also use the label 'Documents'. Since the field project_template_use_documents is only a little technical UX field, it could use a less generic label. See also: * https://github.com/odoo/odoo/pull/132739 * https://github.com/odoo/upgrade/pull/5069
Appointment meeting links are now passed into calendar event details when Google Calendar is not synced. This helps attendees find the online meeting link directly from the appointment information, reducing confusion and missed meetings.
Original PR description
Propagate the discuss link to the location parameter when the calendar is not synced with google calendar. Task-3235765
This PR makes "Automated Actions" more discoverable and usable by:
- Adding a menu in the kanban header config dropdown to add/edit them.
- Creating a new custom kanban view for a clear understanding of each
automated action record and its associated actions.
- Introducing new "smart" triggers that appear in the form view based on the
chosen model:
- Updated Values category:
- "Stage is set to" when a `stage_id` field exists in the model,
allowing users to select a specific stage value.
- "State is set to" when a `state` field exists in the model,
allowing users to select a specific state value.
- "Priority is set to" (`priority`) where users can select a specific priority.
- "User is set" (`user_id`, `user_ids` fields)
- "Tag is added" (`tag_ids` field) where users can select a specific tag.
- "On Archive"
- "On Unarchive"
- Timing Conditions:
- "After creation"
- "After last update"
- Deprecating previously known triggers "On Creation" (`on_create`) and "On
Update" (`on_write`) to simplify the user experience. "On Creation & Update"
(`on_create_or_write`) is retained and renamed to "On save".
- Changing the `ir.actions.server` Many2one relationship to a One2many
relationship. Automated actions can now directly contain multiple actions,
eliminating the need for an "Execute several actions" action in automation
rules.
- Introducing a widget for the new `ir.actions.server` One2many field for a
clearer understanding of multiple actions.
This commit also enhances the usability of "Server Actions" (`ir.actions`) by:
- Removing the `ir.server.object.lines` model and the associated `fields_lines`
One2Many field. The attributes of the removed model are now merged into
`ir.actions`. An action can now write to only one field, and the create action
is now a name_create action.
- Adapting the form view when creating an "Update the record" action. The value
field shown adapts itself based on the field to update; this field can be a
`reference` field for a `one2many` `update_field_id`, a `one2many` field for a
selection `update_field_id`, or a `text` field otherwise.
- Refactoring the form view to display only relevant details and other
miscellaneous improvements.
Taskid: 3085360
upgrade: https://github.com/odoo/upgrade/pull/4904
enterprise: https://github.com/odoo/enterprise/pull/37782