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

rma: AttributeError issue from create supplier rma button #511

Open
probusedevp opened this issue Apr 22, 2024 · 2 comments
Open

rma: AttributeError issue from create supplier rma button #511

probusedevp opened this issue Apr 22, 2024 · 2 comments

Comments

@probusedevp
Copy link

When Create Supplier RMA from Wizard threw getting traceback like : AttributeError: 'rma.order.line.make.supplier.rma' object has no attribute 'rma_id'

For Solution as Suggestion:

rma/wizards/rma_order_line_make_supplier_rma.py File in _prepare_supplier_rma_line method
(https://github.com/ForgeFlow/stock-rma/blob/16.0/rma/wizards/rma_order_line_make_supplier_rma.py#L105)

Solution : ("company_id", "=", self.rma_id.company_id.id), to ("company_id", "=", self.supplier_rma_id.company_id.id),

@luke-stdev001
Copy link

@max3903 ,

This is also one of our devs above who encountered another small issue we wanted to report upstream.

@max3903
Copy link
Contributor

max3903 commented May 21, 2024

@JordiBForgeFlow Can you or your team look at this?

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

No branches or pull requests

3 participants