Store Credit on Returns & Customer Wallet
by Modvanta https://modvantaapps.tech/odoo-apps/return-store-credit/$ 4.99

Refund returns as store credit - and let customers spend it at your checkout
Turn a customer credit note into wallet credit with one click (or automatically). Customers see their balance in the portal, apply it in the cart, and the wallet is debited only when the order is confirmed - all in a ledger that cannot be rewritten.
Written and supported by Modvanta - modvantaapps@gmail.com
What it does
When goods come back, many shops prefer to keep the money in the business: the customer gets store credit instead of a card refund. Odoo has credit notes, but no customer wallet a shopper can spend on the website.
This module adds a store credit wallet per customer, company and currency. Issue Store Credit on a posted customer credit note puts its amount in the wallet (the accounting stays on the credit note). Each entry is recorded in a ledger with its source, and can expire after a number of months.
Logged-in customers see Store Credit in their portal, and the cart shows a box to apply any part of their balance. The credit becomes a negative line on the order, capped at the balance and at the order total, and the wallet is debited once, at confirmation - an abandoned cart never burns credit.
Who it is for
Online shops with returns Offer store credit instead of card refunds and keep the revenue. | Customer service One click from credit note to customer credit, with a clear history. | Finance A ledger per customer that cannot be edited, linked to credit notes and orders. |
Key features
All screenshots were taken on Odoo 19 with this module installed on a clean demo database (company Northwind Trading Co, Odoo demo shop and its demo portal customer Joel Willis). The invoice, credit note and the order paid partly with credit were made on the bench; the customer side was shot logged in as the portal user.
Feature 1
Issue store credit from a credit note
A posted customer credit note gets an Issue Store Credit button (for store credit managers).

Feature 2
Linked both ways
After one click the credit note shows the Store Credit Issued entry, and the same credit note cannot be cashed twice.

Feature 3
Store Credit in the customer portal
Customers get a Store Credit card on their portal home page.

Feature 4
Apply credit in the cart
Logged-in customers with a balance see the Store credit box in the cart: available amount, an amount to apply and Apply.

Feature 5
Total reduced at once
Applying the credit lowers the total right away and shows how much is applied, with Remove. It can never exceed the balance or the order total.

Feature 6
Carried through to payment
The applied credit stays on the order through the address and payment steps, so the customer pays only the rest.

Feature 7
A normal line on the sales order
The credit is a Store Credit line with a negative price and no tax. The wallet is debited when the order is confirmed, not before.

Feature 8
The ledger
eCommerce -> Configuration -> Store Credit Wallets: balance and every movement - return credit from the credit note, redemption on the order - with references, expiry and state.

Feature 9
Customer history
The portal Store Credit page shows the transaction history: the credit received from the return and what was spent on which order.

Feature 10
Settings
Website settings: Spend credit at checkout, Refund to store credit automatically, and Credit expiry in months (0 = never).

How it works, step by step
| 1 | Install the module It depends on eCommerce, Invoicing and Portal. |
| 2 | Choose the settings Website settings: allow spending at checkout, automatic issue on credit notes, expiry. |
| 3 | Refund as credit Post the customer credit note and click Issue Store Credit (or let it happen automatically). |
| 4 | Customer spends it In the cart the customer applies credit; it is debited when the order is confirmed. |
Settings
In the website settings.
| Spend credit at checkout | Show the store credit box in the cart. |
| Refund to store credit automatically | Every posted customer credit note becomes wallet credit. Off by default. |
| Credit expiry (months) | Unused credit is written back by a nightly job this many months after it was issued; 0 = never. |
Frequently asked questions
Does it change my accounting?
No. The credit note records the reduced revenue as usual; the wallet records that the customer holds that value as credit with you.
What if the customer abandons the cart?
Nothing is lost. Credit is only debited when the order is confirmed.
Can one customer see another's wallet?
No. Record rules limit customers to their own wallet and ledger, and customers cannot create credit. This is covered by the module's tests.
Can the ledger be edited?
No. Posted ledger entries cannot be rewritten; corrections are new entries.
Multi-company and currencies?
There is one wallet per customer, company and currency, so credit never crosses companies or currencies.
Compatibility
Odoo 19 Community and Enterprise | Depends on eCommerce, Invoicing, Portal | Tested 31 automated tests |
Keep refunds in your shop as store credit
Questions before you buy, help with setup, or a change for your own workflow - write to us and a developer answers.
SUPPORT | AUTHOR Modvanta | INCLUDED Module, setup help by email |
| Availability |
Odoo Online
Odoo.sh
On Premise
|
| Odoo Apps Dependencies |
•
Invoicing (account)
• eCommerce (website_sale) • Discuss (mail) • Website (website) |
| Lines of code | 854 |
| Technical Name |
mdv_return_store_credit |
| License | OPL-1 |
| Website | https://modvantaapps.tech/odoo-apps/return-store-credit/ |
Odoo Proprietary License v1.0 This software and associated files (the "Software") may only be used (executed, modified, executed after modifications) if you have purchased a valid license from the authors, typically via Odoo Apps, or if you have received a written agreement from the authors of the Software (see the COPYRIGHT file). You may develop Odoo modules that use the Software as a library (typically by depending on it, importing it and using its resources), but without copying any source code or material from the Software. You may distribute those modules under the license of your choice, provided that this license is compatible with the terms of the Odoo Proprietary License (For example: LGPL, MIT, or proprietary licenses similar to this one). It is forbidden to publish, distribute, sublicense, or sell copies of the Software or modified copies of the Software. The above copyright notice and this permission notice must be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
Please log in to comment on this module