OCA / rma

Odoo for Return Merchandise Authorization (RMA)
GNU Affero General Public License v3.0
78 stars 206 forks source link

RMA - require operation #404

Closed jbaudoux closed 2 weeks ago

jbaudoux commented 2 months ago

Make the rma operation required

As multiple rma operations (return, refund, replace...) are available, I find it important that the user explicitly choose the operation for each product

In rma:

In rma_sale:

chienandalu commented 2 months ago

They are mandatory at the portal. In the backend, it could be that a powerless user could not fit an RMA into the existing operation options... but I don't have a strong opinion about it :)

pedrobaeza commented 2 months ago

It isn't mandatory because certain flows create the RMAs without that operation defined (and the state in draft), and it should be filled later. If I don't remember bad:

To make it required, these flows should be fixed somehow.

sbejaoui commented 1 month ago

IMO, it would be better to make this configurable in the rma_sale module as a company policy: RMA: Operation required. If it is activated, the field becomes required in the wizard and the RMA form view, so a salesperson cannot create the RMA order without setting the reason. However, for other automatic flows, the creation continues, and the RMA team will fill in the operation later, but cannot process it before doing so.

jbaudoux commented 1 month ago

Thanks for your feedback. I updated the description with this proposal: In rma:

In rma_sale: