Wednesday, September 11, 2024
10 changes
8 changes
Enhancements to existing features
Warehouse users now see only the transfers they selected when creating back-orders, reducing confusion during bulk processing. When quality checks are required, the system can separate those transfers and show all relevant quality prompts so validations are completed correctly.
Original PR description
Before this PR : ------------------------------------------------ - During multi-transfer validation, the back-order creation popup displayed all transfers. - If the quality app was installed, there was no filter to exclude transfers requiring quality checks. - Multi-transfer validation only displayed quality checks for one transfer and did not validate any transfers. After this PR: ------------------------------------------------ - Restructured the back-order popup to display only selected transfers in a dropdown menu. - Implemented a filter to exclude transfers requiring quality checks, visible only when the quality module is installed. - Enhanced the display and validation of all quality checks popups. Task-id : 3790406
Indian payroll users can now include payment advice when generating payment reports. This makes it easier to produce bank/payment documentation directly from the payroll workflow in both PDF and spreadsheet formats.
Original PR description
In this PR: - The payment report now includes an additional option called "Payment Advice" - If the payment advice is selected, you can generate the payment report in both PDF and XLSX formats using the buttons in the wizard. - Once the file is generated, the button is set as secondary otherwise, it remains primary Task - 3794859
Kanban card layouts in Timesheets, Enterprise web, and Studio were simplified to use newer standard building blocks. This makes the views easier to maintain and helps keep the user interface consistent without changing core business workflows.
Original PR description
* = [web_enterprise, web_studio] In this commit we have simplified the kanban archs for the timesheet_grid, web_enterprise and web_studio modules. The goal is to simplify them, make them easier to read and use bootstrap utility classnames. - Previously, we used `kanban-box`, but now we are using `kanban-card` instead. - Deprecated `oe_kanban_global_click` and `oe_kanban_global_click_edit`. - More use of `<field/>` tags - Removed the `oe_kanban_colorpicker` class and replaced it with the `kanban_color_picker` widget. - Changed type='edit' to type='open' to open records. since version 16, records always open in edit mode by default. - `kanban_image` from rendering context, is deprecated so we use `<field name=... widget=image/>` instead Task-3992107
Onboarding tours across several business apps are now registered in the database so they can be reliably discovered and launched. This keeps guided setup experiences working after a platform change that moved tour registration into stored configuration.
Original PR description
After the change in https://github.com/odoo/odoo/pull/177564 The onboarding tours have to be register in the database. TASK-ID: 4070659
Project and field service kanban cards were updated to use newer standard building blocks and clearer layout definitions. This makes the screens easier to maintain while preserving the same business workflows for users.
Original PR description
*industry_fsm, industry_fsm_report, industry_fsm_sale, project_enterprise, timesheet_grid In this commit we have simplified the kanban arch for the project and related module. The goal is to simplify them, make them easier to read, and use bootstrap utility classnames. - Previously, we used `kanban-box`, but now we are using `kanban-card` instead. - Deprecated `oe_kanban_global_click` and `oe_kanban_global_click_edit`. - More use of `<field/>` tags - Removed the `oe_kanban_colorpicker` class and replaced it with the `kanban_color_picker` widget. - Changed type='edit' to type='open' to open records. since version 16, records always open in edit mode by default. - `kanban_image` from rendering context, is deprecated so we use `<field name=... widget=image/>` instead - kanban_color, kanban_getcolor and kanban_getcolorname are deprecated use new attribute highlight_color=color_field_name on root node Task-3992107
The stock barcode screens have been simplified to use newer standard layout components and styling. This makes the interface easier to maintain and helps keep barcode picking and batch picking views consistent with current Odoo conventions.
Original PR description
In this commit we have simplified the kanban arch for the stock and their related modules.the goal is to simplify them, make them easier to read and use bootstrap utility classnames. - Previously, we used kanban-box, but now we are using kanban-card instead. - Deprecated oe_kanban_global_click and oe_kanban_global_click_edit. - More use of <field/> tags - Removed the oe_kanban_colorpicker class and replaced it with the kanban_color_picker widget. - Changed type='edit' to type='open' to open records. since version 16, records always open in edit mode by default. - kanban_image from rendering context, is deprecated so we use <field name="..." widget="image"/> instead - kanban_color, kanban_getcolor and kanban_getcolorname are deprecated use new attribute highlight_color="color_field_name" on root node Task-3992107
Self-ordering in Point of Sale now uses configured IoT receipt printers as expected. This helps restaurants and shops keep receipt printing consistent across regular checkout and self-order flows.
Original PR description
Previously, the self order mode did not work with IoT printers for receipts, even if they were configured in the PoS config. After this PR, IoT receipt printers work as expected in self order mode. task-4128846
Document sharing now supports recipient-only links, invitation emails, and a portal area where users can find files shared with them. This makes document access easier for intended recipients while reducing accidental exposure through open links.
Original PR description
### **<<<<< SHARE LINK CHANGES >>>>>** **---- changes in `documents_share.py` ----** 1. There will now be 2 types of share link. 2. For which a new `Selection` field `share_type` has been added to…
### **<<<<< SHARE LINK CHANGES >>>>>**
**---- changes in `documents_share.py` ----**
1. There will now be 2 types of share link.
2. For which a new `Selection` field `share_type` has been added to the `documents_share` model. The values of which are as follows:
- `share_global` --> Allows anyone with the link to access shared documents.
- `share_restricted` --> Only selected records (from the `res.partner` model)
will have access.
3. Added a `Many2many` field member_ids to specify `res.partner` records allowed
to access the share link.
4. The field `member_ids` will only display those records which are not archived
and have a related `res.users` record. (refer the `_get_member_domain` function).
5. Added a method `_check_share_access_rights` to check if the user is authorized
to access the documents from the share link.
6. Added action_send_invitation method to send email invitations to partners in
the field `member_ids`.
**---- changes in `documents_share_views.xml` ----**
1. Users must select `share_type` inside the `documents_share` dialog box.
2. On selecting the "Only Recipients" option, the user will be prompted to enter the recipients with whom they wish to share the link.
3. The [COPY LINK & CLOSE] button changes to [SEND INVITATION] upon recipient selection.
4. The [SEND INVITATION] button triggers an email to the recipients.
**---- changes in `mail_template_data.xml` ----**
1. The template `mail_template_document_share` receives the data from the `action_send_invitation` method.
2. This is the template used to email the share link to all the recipients.
**---- changes in `documents_kanban_view.scss` ----**
1. Rectified the selector to match the correct class of the `CopyClipboardChar` widget.
### **<<<<< PORTAL INTEGRATION >>>>>**
- Shared documents are now visible to recipients under the `Files Shared` label in their portal.
**---- changes in `documents.py` ----**
1. Added a new route to access the `download_one` function from the portal as well.
2. Added a check (inside the `_get_file_response`) to verify the access token when the user tries to preview/download the document from the portal.
3. Also added a check for authorization of the users trying to access the shared documents directly from the share link.
**---- added `documents_share_demo.xml` ----**
1. Added a demo record to facilitate testing of portal flows.
**---- changes in `documents.document.py` ----**
1. Added a new `access_token` field for security reasons while accessing the documents' records from the portal.
2. Added a SQL CONSTRAINT to ensure `access_token` uniqueness.
**---- changes in `test_documents_document.py` ----**
1. Directly copying the spreadsheet without specifying a new access token results in the violation of the SQL CONSTRAINT.
2. Hence, manual assignment of a new `access_token` is required.
**---- changes in `documents_templates_share.xml` ----**
1. Added an access denied template for unauthorized access attempts.
**---- changes in `sign_portal_templates.xml` ----**
1. Updated the icon of the `sign` portal card so we can use that icon as the icon for the `documents` portal card.
2. Renamed the `sign` module portal card for clarity between `sign` and `documents` portal cards.
**---- changes in `spreadsheet_mixin.py` ----**
1. Each invocation of the `copy` method requires a unique `access_token`. (If we do not do this, we will violate the unique SQL CONSTRAINT applied on the `access_token` field)
2. Since there are many different models invoking the method, we need to explicitly check if the `self` is an instance of the `documents_document` model. And only in that case we pass the access_token.
Task-38899322 changes
Enhancements to existing features
This update improves the SEPA payment processing by making the UETR field display more intelligently based on the payment method and PAIN format version being used. This ensures users only see relevant fields for their specific payment configuration, reducing confusion and streamlining the payment entry process.
Original PR description
This commit will allow to hide the sepa uetr depending on the pain version and the payment method. task: 4167726
eBay recently changed how they format product URLs in their system, which was breaking the ability to match products correctly in Odoo. This update improves the matching process by using the product variant name as a backup method when the URL doesn't match. This ensures eBay orders continue to be processed smoothly even as eBay changes their technical formats.
Original PR description
eBay recently changed the URL they send in the viewitemURL. We found 3 different ways they send it, but there might be more. And the new ones can only be matched to the product template, not variant. We shouldn't have relied on this URL to match products in the beginning, but we can't refactor this flow in stable, instead, we fallback on the name of the variant, as it was created from eBay. opw-3934127 Forward-Port-Of: odoo/enterprise#69152