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] google_drive: current record #27126

Merged
merged 1 commit into from Sep 21, 2018

Conversation

Projects
None yet
1 participant
@nim-odoo
Contributor

nim-odoo commented Sep 20, 2018

opw-1882068

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

[FIX] google_drive: current record
- Open a partner view, click on Action > Partner Review
- Switch to another partner
- Click again on Action > Partner Review

The Google Doc file of the second partner is the same than the first
partner.

This is due to `_onGoogleDocItemClicked` which is always called with the
same `resID`, i.e. the `resID` used at `start`.

We retrieve the active ID at each click instead.

opw-1882068

@nim-odoo nim-odoo closed this Sep 20, 2018

@nim-odoo nim-odoo deleted the odoo-dev:saas-11.3-opw-1882068-drive-nim branch Sep 20, 2018

@nim-odoo nim-odoo restored the odoo-dev:saas-11.3-opw-1882068-drive-nim branch Sep 20, 2018

@nim-odoo nim-odoo reopened this Sep 20, 2018

@nim-odoo nim-odoo self-assigned this Sep 20, 2018

@nim-odoo nim-odoo added the OE label Sep 20, 2018

@nim-odoo nim-odoo merged commit 84aea12 into odoo:saas-11.3 Sep 21, 2018

1 check passed

ci/runbot runbot build 375966-27126-4a60b6 (runtime 1919s)
Details

@nim-odoo nim-odoo deleted the odoo-dev:saas-11.3-opw-1882068-drive-nim branch Sep 21, 2018

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment