Skip to content

RMA reason #405

@jbaudoux

Description

@jbaudoux

Add rma reason

To improve quality, it is good to understand why an RMA has been created.

For this I'd like to have a required RMA reason defined on the RMA. This would be also available and required on the SO wizard on each line (or globally)

Make a rma_reason module that depends on rma

  • Define a model rma.reason with name, action, company + unique(name, company). Security: read for rma user, crud for rma manager
  • Allow to configure on the company if the reason is mandatory and check accordingly if the field is filled in _ensure_required_fields
  • Add a m2o field to reason on rma model and display on form view after Requested operation

Make a rma_sale_reason module that depends on rma_sale and rma_reason

  • In the SO create rma wizard, add on each product line a field (optional or required based on company setting) to set the reason for the lines.
  • In the SO create rma wizard, add before the list of products an optional field to set the default reason for all the lines. Make on all product lines the reason computed stored based on that default reason

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementstalePR/Issue without recent activity, it'll be soon closed automatically.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions