Skip to content

[FIX] rma: fix split action read error.#1

Open
ernestotejeda wants to merge 2 commits into12.0-fix-rma_sale-portalfrom
12.0-fix-rma-split-context
Open

[FIX] rma: fix split action read error.#1
ernestotejeda wants to merge 2 commits into12.0-fix-rma_sale-portalfrom
12.0-fix-rma-split-context

Conversation

@ernestotejeda
Copy link
Copy Markdown

@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
victoralmau pushed a commit that referenced this pull request Feb 11, 2026
[IMP] rma_batch: set state as readonly in the rma_ids
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