Skip to content

rma: AttributeError issue from create supplier rma button #511

@probusedevp

Description

@probusedevp

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),

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions