| Availability |
Odoo Online
Odoo.sh
On Premise
|
| Odoo Apps Dependencies |
•
Discuss (mail)
• Inventory (stock) • Invoicing (account) |
| Lines of code | 193 |
| Technical Name |
mrm_inventory_cost_notification |
| License | LGPL-3 |
| Website | https://www.DevMRM.com |
Inventory Cost & Valuation
Change Notification
Receive an instant, detailed email the moment anyone changes a product cost or triggers an inventory valuation adjustment — no manual monitoring needed.
What this module does
The Inventory Cost & Valuation Change Notification module monitors two critical inventory events and delivers a structured HTML email to every member of a designated security group the moment either occurs:
- Product cost or price change — triggered when
standard_priceorlist_priceis updated on any product template. - Inventory adjustment valuation entry — triggered when a new
stock.valuation.layerrecord is created by an inventory adjustment (INV: entries,is_inventoryflag).
Each email shows: change type, responsible user, product name, old/new cost, old/new price, on-hand quantity before and after, qty difference, total valuation impact, and source reference. Recipients are controlled through the Email Notification Track Product security group — only members of that group receive alerts.
How it works
Overrides write() on product.template and create() on stock.valuation.layer. Both methods fail silently so a notification error never interrupts the user's action.
Key features
Product cost change alerts
Fires on any update to standard_price or list_price, including the resulting valuation impact on existing stock.
Inventory adjustment alerts
Detects valuation layer records created through stock adjustments via INV: prefix, is_inventory flag, or "Inventory adjustment" description.
Full financial detail per email
Old & new cost, old & new price, qty before & after, qty diff, and total valuation change — all in one structured table.
Role-based recipients
Only users in the Email Notification Track Product group receive alerts. Managed from Settings → Users & Companies → Groups.
Silent failure — never blocks users
All notification logic is wrapped in try/except. If sending fails, the error is logged and the Odoo action completes normally.
Zero configuration — install & go
No settings screens or scheduled jobs. Install the module, add users to the group, and alerts flow immediately.
Sample notification email
Every alert delivers a structured HTML table directly to recipients' inboxes:
| Change Type | Cost Changed |
| User | Mohammed Al-Rashidi |
| Product | Steel Rod 20mm |
| Old Standard Cost | 45.00 |
| New Standard Cost | 52.50 |
| Old Sales Price | 68.00 |
| New Sales Price | 68.00 |
| Old Qty On Hand | 320.00 |
| New Qty On Hand | 320.00 |
| Qty Difference | 0.00 |
| Valuation Difference | 2,400.00 |
| Reference | Steel Rod 20mm |
Common use cases
- Audit trail via email — document every cost change in stakeholders' inboxes automatically, without building custom reports.
- Unauthorized change detection — finance managers are notified instantly if someone unexpectedly edits a product cost.
- Real-time valuation visibility — accounting teams see the financial impact of inventory adjustments the moment they happen.
- Cross-department coordination — keep procurement, warehouse, and finance synchronized without manual status updates.
- Compliance & control — maintain an automatic paper trail of every valuation event delivered directly to auditors or compliance officers.
Technical specifications
Installation & configuration
- Copy the
mrm_inventory_cost_notificationfolder into your Odoo addons path. - Restart the Odoo server to register the new module.
- Activate developer (debug) mode in Odoo settings if not already active.
- Go to Apps, clear the "Apps" filter, search for Inventory Cost Notification, and click Install.
- Navigate to Settings → Users & Companies → Groups and find Email Notification Track Product.
- Add the users (finance managers, controllers, auditors) who should receive alerts to this group.
- Done — the next product cost change or inventory adjustment will trigger an email automatically.
Frequently asked questions
Does the module slow down Odoo product saves?
No. Any notification exception is caught silently so the user never experiences delay or error from the notification logic.
Can I customize the email template?
Yes. The HTML template is a standard mail.template record editable in Odoo's Technical → Email Templates menu.
Does it notify on every product write, even if cost didn't change?
No. The notification fires only when standard_price or list_price keys are present in the write values dictionary.
What if no users are in the notification group?
The method exits gracefully without sending any email and without raising an error.
Is it compatible with multi-company Odoo setups?
The email is sent from the company of the product's valuation layer. Ensure users are assigned to the group in the correct company context.
About the developer
Start tracking cost changes today
Free to install. No configuration headaches. Full visibility from the first alert.
Please log in to comment on this module