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] rma: fix split action read error. #1

Open
wants to merge 2 commits into
base: 12.0-fix-rma_sale-portal
Choose a base branch
from

Conversation

ernestotejeda
Copy link

@chienandalu , https://github.com/OCA/rma/pull/160/files#diff-9d0ebf28f17fe12f2501dd239c3f038cR32 doesn't seem to fix the error when splitting. When you access a Picking form to the linked RMA and then try to split, the error is thrown.
Apparently when the read method is called here https://github.com/OCA/rma/blob/12.0/rma/models/rma.py#L631, the value of the active_id key is not updated in context to put the ID of the rma, so I think we can force that value on it, what do you think?

chienandalu and others added 2 commits August 17, 2020 16:24
- Portal mail thread needs token config.
- Unpublished products will raise AccessError on RMAs portal views for
portal users due to record rules.
- Set split window action domain to avoid context weird behavior
@chienandalu chienandalu force-pushed the 12.0-fix-rma_sale-portal branch 2 times, most recently from a1ceec1 to 0429996 Compare August 18, 2020 07:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants