Daily updates from Odoo
Friday, August 23, 2019
12 changes
Enhancements to existing features
Product attribute values now keep a direct link to the product attribute line they belong to. This improves maintainability, performance, and data consistency, while preparing the system for more flexible product attribute setups in the future.
Original PR description
`product.template.attribute.value` now retain to which `product.template.attribute.line` they belong to. This allows the inverse relation (o2m) to work out of the box instead of relying on a compute. This is easier to maintain, faster, better for data integrity, and a necessary step towards allowing multiple lines with the same attribute. Part of task-1912579
The activity menu now respects Documents app access rights before showing the “Request a Document” option. This keeps the interface cleaner and avoids presenting actions to people who are not allowed to use them.
Original PR description
Currently, everyone can see the "Request a Document" call to action in the systray under the activities icon. But this should take access rights into account. If one is not a user or an admin of the Documents app, he should not see the "Request a Document" feature in the systray. Task- https://www.odoo.com/web?#id=2034580&action=327&model=project.task&view_type=form&menu_id=4720 Pad- https://pad.odoo.com/p/r.201fd81fd4e99d0deb6bf406d4f24ff5 -- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
This update renames internal labels used in sales variant templates to match the naming style used elsewhere in the system. It does not change business workflows or visible features, but it makes future sales-related development easier to review and maintain.
Original PR description
To follow the naming convention used in the rest of the code. - `variant_id` (which made no sense in this case) -> `ptal` - `value_id` -> `ptav` Split commit to make the diff of a following PR easier to read. Part of task-1912579
Sales and accounting users can now generate ready-to-send payment links directly from sales orders and invoices, with the reference and amount filled in automatically. This makes it easier to request online payments while also adding safeguards so customer payment details are handled securely.
Original PR description
**Added custom payment link** - Added action 'Generate a payment link' in dropdown menu - Reference id is prefilled. - Based on change in amount, new link is generated Task 1938635
This update fixes an error that could occur when viewing project reports. It also aligns field service and project task boards more closely and adds a small configuration hook so timesheet tabs can be shown or hidden more precisely.
Original PR description
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
Scrap orders are easier to manage: managers can delete them, references are assigned only when confirmed, and fields such as lot and manufacturing order are shown only when relevant. This reduces clutter and helps ensure scrapping uses the correct destination location.
Original PR description
Task : https://www.odoo.com/web?#id=1959647&action=327&model=project.task&view_type=form&menu_id=4720 Pad : https://pad.odoo.com/p/r.c11eddca69ea9713e7ae09d14dc2df62 I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
This update improves the reliability of Odoo's automated web tests by better isolating browser sessions, reducing Chrome-related instability, and improving diagnostics when Chrome crashes or cannot be reached. It helps reduce noisy build failures and makes test results more trustworthy for development teams.
Original PR description
* add a delete_cookie method to ensure session cookie is removed * add various disable switches * log google-chrome crashes
Survey cards have been redesigned to show key performance information directly in the kanban view, including response counts, average scores, and certification success details. Less-used action buttons were moved or removed to make each card easier to scan and more focused on survey results.
Original PR description
In order to display some stats on survey's card (in the kanban view), the survey's card has been reorganized: We remove all the button present in the bottom of the card, button concerned are: • analyze answers • test • share • schedule activity We recreate the button "share" in the dropdown menu of the card. We add at the bottom of the card the next information: • the number of answers • the average of the answers • the number of certified people TASK-ID : 2045617
Editable list views now keep column widths steadier as users add, edit, remove, or toggle fields. This improves readability and reduces visual flicker, especially in accounting and inventory screens with editable tables.
Original PR description
This PR improves the display of editable of list views. Instead of always hardcoding column widths depending of the field types, we let the browser compute them as much as possible, i.e. as soon as there are records, and we then freeze the widths s.t. it doesn't flicker when switching a row in edition. However, we keep the fixed widths heuristic when there is no record to display, as in this case the browser doesn't have enough information to compute the widths. In the latter case, we also tweaked the heuristic s.t. all field types having a relative width now have the same width factor (i.e. the available space is uniformly shared between them). Task 2011587
The Documents shortcut for requesting a document is now hidden from employees who do not have access to the Documents app. This keeps the activity menu cleaner and prevents users from seeing an option they cannot use.
Original PR description
Currently everyone can see the "Request a Document" call to action in the systray under the activities icon. But this should take the access rights into account. If one is not a user or an admin of the Documents app, he/she should not see the "Request a Document" feature in the systray. Task- https://www.odoo.com/web?#id=2034580&action=327&model=project.task&view_type=form&menu_id=4720 Pad- https://pad.odoo.com/p/r.201fd81fd4e99d0deb6bf406d4f24ff5
Project teams can now use field service capabilities such as worksheets, timers, product additions, and quotation creation directly from project tasks. The update also improves task planning, clearer labels, helpdesk-to-field-service task conversion, and fixes timer and view issues for a smoother daily workflow.
Original PR description
Field Service introduced several new features: worksheets, timesheet timer, adding products, new quotes from tasks... These options were initially meant for FSM type projects only, but could also make sense in other contexts. Therefore, this PR extends these features to all projects and adapt the task flow accordingly. It provides several improvements to the FSM and Project applications such as : - various renaming of fields. - making some project fields required - altering demo data - technical improvements - add worksheets, timesheet timer, products addition and the new quotation creation features on the Project's task form view. You can find more details in the related commits. Task-2052287 & Task-2000719
Subscription alerts can now send SMS messages in addition to existing notification options. This helps teams reach customers or responsible contacts faster when a subscription needs attention, improving responsiveness and reducing missed follow-ups.
Original PR description
Add the ability to send an sms when a subscription alert is triggered.