Open probusedevp opened 5 months ago
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),
@max3903 ,
This is also one of our devs above who encountered another small issue we wanted to report upstream.
@JordiBForgeFlow Can you or your team look at this?
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),