Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[FIX] document: updateEnv->redraw on not form view #27146

Closed
wants to merge 1 commit into from

Conversation

nle-odoo
Copy link
Contributor

In ac1e187 some unecessary code and RPC were removed by ignoring
attachments in the sidebar when they would never be shown.

But there was an regression since updateEnv function would not
longer call redraw (which is also called in _super function).

related to opw-1865736

@nle-odoo nle-odoo added the OE the report is linked to a support ticket (opw-...) label Sep 21, 2018
In ac1e187 some unecessary code and RPC were removed by ignoring
attachments in the sidebar when they would never be shown.

But there was an regression since `updateEnv` function would not
longer call redraw (which is also called in _super function).

report: odoo@ac1e187eea3#r30569171

related to opw-1865736
closes odoo#27146
nle-odoo referenced this pull request Sep 21, 2018
Since cce70fd the attachment menu is only displayed for form view.

But if in another view there is active_ids (eg. selecting record in a
list view), we will still make a query to ir.attachment without using
the result.

Without the code change, the added test would fail when doing a
search_read RPC call to ir.attachment model.

related to #26213
robodoo pushed a commit that referenced this pull request Sep 21, 2018
In ac1e187 some unecessary code and RPC were removed by ignoring
attachments in the sidebar when they would never be shown.

But there was an regression since `updateEnv` function would not
longer call redraw (which is also called in _super function).

report: ac1e187eea3#r30569171

related to opw-1865736
closes #27146
@robodoo robodoo added CI 🤖 Robodoo has seen passing statuses merging 👷 labels Sep 21, 2018
@robodoo
Copy link
Contributor

robodoo commented Sep 21, 2018

Merged in b3a3ad8

@robodoo robodoo closed this Sep 21, 2018
@nle-odoo nle-odoo deleted the 11.0-document-opw-1865736-nle branch September 24, 2018 12:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CI 🤖 Robodoo has seen passing statuses OE the report is linked to a support ticket (opw-...)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants