Wednesday, January 22, 2020
5 changes · master
Resolved issues and error corrections
This update fixes an error that could occur when changing a product from a manual valuation category to an automated valuation category after stock quantities already exist. It helps ensure inventory accounting setup changes can be saved reliably without blocking users.
Original PR description
Task: https://www.odoo.com/web?#id=2155804&action=327&model=project.task&view_type=form&menu_id=4720 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
This fix corrects country links for Polish regional data so records point to the right country. It helps prevent incorrect location data from affecting Polish localization setup and related business documents.
Original PR description
regression introduced from https://github.com/odoo/odoo/commit/1857f738ec366b7d14ccd67679e33d7462ac244a 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 field service test setup has been adjusted so it works correctly when the core field service app is installed on its own. This prevents test failures caused by relying on sales or accounting-related test setup that may not be present.
Original PR description
When installing only industry_fsm, an error will occur while running tests since TestFsmFlow inherit test class from account creating account.account.tag in setUpClass. This commit fixes class inheritance between industry_fsm and industry_fsm_sale Test classes.
Row header labels in the grid view now display with an ellipsis when they are too long instead of overflowing or appearing poorly clipped. This improves readability in areas such as Timesheets without changing user workflows.
Original PR description
Before this commit, on web_grid view the row header has attribute
text-overflow ellipsis but it dosn't work because the rule display flex
is applied for all descendant. So the text-overflow is not effective.
After this commit, the display rule is applied to the direct child
and not all descendant.
DOM of grid view:
Before
```
...
tbody
tr
th
div display:flex;
div display:flex;text-overflow:ellipsis;
```
After
```
...
tbody
tr
th
div display:flex;
div text-overflow:ellipsis;
```
Ref:
https://www.w3.org/TR/css-overflow-3/#propdef-text-overflow
Step to reproduce:
* open Timesheet app (BUG)Closing the home menu now fully resets any search text entered by the user. This prevents old search terms from reappearing later, making app navigation clearer and less confusing.
Original PR description
Before this commit, the search query of the home menu was not properly cleared when quitting the menu. Now, it is completely reset.