Daily updates from Odoo
Thursday, June 16, 2016
5 changes
Enhancements to existing features
Emails sent from tasks now emphasize the “View Task” action as the main button, while “New Task” is presented as a secondary link. This makes it clearer for recipients to open the relevant task directly and reduces confusion in task notifications.
Original PR description
Description of the issue/feature this PR addresses: - Mail Header of Tasks Task:https://www.odoo.com/web#id=26619&view_type=form&model=project.task&action=333&active_id=131&menu_id=4720 Pad: https://pad.odoo.com/p/r.0d6da6ee8ed7bd9f7b50ff254b21907f Current behavior before PR: - On emails sent from tasks, the button "New Task" is the primary button. Desired behavior after PR is merged: - 'New Task' button should be like 'unfollow' button and 'View Task' button should be primary button. ## I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
The CRM contact Activities view no longer shows Create and Import buttons because activities in this report are read-only and not meant to be added manually. This reduces confusion for users and keeps the screen focused on reviewing existing activity information.
Original PR description
Description of the issue/feature this PR addresses: <strong>Task: </strong> https://www.odoo.com/web#id=26676&view_type=form&model=project.task&action=333&active_id=131&menu_id=4720 <strong>Pad: </strong>https://pad.odoo.com/p/r.5b6d14292f6db2e6586e60fe6beb6c9f Current behavior before PR: Display 'Create' and 'Import' buttons are in 'Activities' view. Desired behavior after PR is merged: Not Display 'Create' and 'Import' button in 'Activities' view. ## I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
This change adds a database lookup improvement for system field records, helping Odoo find frequently requested field information more quickly. It should reduce time spent on repeated internal queries and improve overall responsiveness in affected operations without changing user-facing behavior.
Original PR description
Currently if I ran a pgbadger analysis the queries that took up the most time (N) are:
``` bash
select id from ir_model_fields where name='' and model='';
--
- Example 1: 12ms - database: openerp_test, user: root - SELECT id FROM ir_model_fields WHERE name='property_product_pricelist' AND model='res.partner';
- Example 2: 3ms - database: openerp_test, user: root - select id from ir_model_fields where name='property_delivery_carrier' and model='res.partner';
```
With the index created of `name, model` in `ir_model_fields` table help us to run these queries faster.Resolved issues and error corrections
The timesheet app login screen now handles typed login details more reliably on mobile devices by preventing unwanted auto-capitalization. It also preserves the selected connection protocol when asking users to choose a database, reducing login frustration.
Original PR description
Small fixes in timesheet app login
Code cleanup and technical improvements
The XML and YAML import tools were updated to use Odoo's newer internal programming interface. This keeps core data loading components aligned with the current platform architecture and helps reduce future maintenance risk.