Skip to content

Conversation

@sbejaoui
Copy link
Contributor

@sbejaoui sbejaoui commented Nov 15, 2025

This module extends the standard RMA flow and the behavior of
sale_stock_restocking_fee_invoicing by allowing:

  • Fixed or percentage-based restocking fees.
  • Automatic fee application during RMA receipt.
  • Integration with different refund strategies:
    • Update sale order quantity.
    • Manual refund after receipt.

needs: OCA/stock-logistics-workflow#2150

@sbejaoui sbejaoui added this to the 18.0 milestone Nov 15, 2025
@sbejaoui sbejaoui self-assigned this Nov 15, 2025
@sbejaoui sbejaoui force-pushed the 18.0-rma_sale_stock_restocking_fee_invoicing-sbj branch 6 times, most recently from 25e468d to 8ab1cf0 Compare November 17, 2025 08:01
Copy link
Contributor

@marielejeune marielejeune left a comment

Choose a reason for hiding this comment

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

LGTM, 2 minor comments

Comment on lines 11 to 17
restocking_fee_type = fields.Selection(
[
("no_fee", "No Restocking Fee"),
("fixed", "Fixed Amount"),
("percent", "Percentage"),
],
default="no_fee",
help="Define whether the restocking fee is a fixed amount or a percentage.",
)
Copy link
Contributor

Choose a reason for hiding this comment

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

I would add a required=True attribute, since in the methods you check that restocking_fee_type != 'no_fee', you want to avoid false values.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I removed the 'no_fee' option

@sbejaoui sbejaoui force-pushed the 18.0-rma_sale_stock_restocking_fee_invoicing-sbj branch from 8ab1cf0 to 6e8ec12 Compare November 17, 2025 11:24
This module extends the standard RMA flow and the behavior of
`sale_stock_restocking_fee_invoicing` by allowing:

- Fixed or percentage-based restocking fees.
- Automatic fee application during RMA receipt.
- Integration with different refund strategies:
  - Update sale order quantity.
  - Manual refund after receipt.
@sbejaoui sbejaoui force-pushed the 18.0-rma_sale_stock_restocking_fee_invoicing-sbj branch from 6e8ec12 to 2e91e5d Compare November 17, 2025 11:32
@sbejaoui sbejaoui force-pushed the 18.0-rma_sale_stock_restocking_fee_invoicing-sbj branch from 5558c74 to cc6fc67 Compare November 20, 2025 11:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants