Skip to content

[16.0][IMP] rma : send receipt notification when receiving product in waiting_replacement state #524

Open
nihelgabsi-acsone wants to merge 1 commit into
OCA:16.0from
acsone:16-rma-receipt-nga
Open

[16.0][IMP] rma : send receipt notification when receiving product in waiting_replacement state #524
nihelgabsi-acsone wants to merge 1 commit into
OCA:16.0from
acsone:16-rma-receipt-nga

Conversation

@nihelgabsi-acsone
Copy link
Copy Markdown

@nihelgabsi-acsone nihelgabsi-acsone commented Jan 13, 2026

This improvement ensures that the receipt notification email is sent to the customer when a product is received for an RMA that is already in the waiting_replacement state.

Problem:
When an RMA operation is configured to create the delivery order automatically on confirmation, the RMA moves directly to the waiting_replacement state without passing through the received state, because the delivery order is created immediately. As a result, when the product is later received, the receipt notification email is not sent to the customer.

@OCA-git-bot
Copy link
Copy Markdown
Contributor

Hi @pedrobaeza, @chienandalu,
some modules you are maintaining are being modified, check this out!

@nihelgabsi-acsone nihelgabsi-acsone marked this pull request as draft January 13, 2026 12:49
@nihelgabsi-acsone
Copy link
Copy Markdown
Author

@sbejaoui

Copy link
Copy Markdown
Contributor

@sbejaoui sbejaoui left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

use this field in _send_receipt_confirmation_email to avoid re-sending the mail

Comment thread rma/models/rma.py Outdated
…nt then the product is received, receipt notification is not sent to customer
@sbejaoui sbejaoui marked this pull request as ready for review January 13, 2026 13:48
@github-actions
Copy link
Copy Markdown

There hasn't been any activity on this pull request in the past 4 months, so it has been marked as stale and it will be closed automatically if no further activity occurs in the next 30 days.
If you want this PR to never become stale, please ask a PSC member to apply the "no stale" label.

@github-actions github-actions Bot added the stale PR/Issue without recent activity, it'll be soon closed automatically. label May 17, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants