Hi,
I'm trying to set up an audit trail for any chances in the bill of material.
I did set an Audit rule for the object "Bill of Material" (through the drop-down list, selecting an object) and added all check-boxes (Log reads, writes, deletes, creates, actions and workflow). I've left the Users list empty so the rule will be applicable for all users.
Saved the rule, subscribed to it, went to an existing BOM and changed a quantity of an item inside a BOM from "5" to "4". I was expecting to see an audit log indicating this change but there is no audit log record. None under Reporting/Audit Logs and not under the BOM itself when I click on "View Log" in the "More" drop-down button.
What am I doing wrong?
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
- CRM
- e-Commerce
- Бухгалтерия
- Склад
- PoS
- Project
- MRP
Этот вопрос был отмечен
Setting up an audit trail in Odoo for Bill of Materials (BOM) can be a bit tricky. From wht you've described, looks like you've taken some good initial steps. Just make sure to double-check the model name in the audit rule; that’s gotta be correctly linked to the specific BOM object you’re trying to track. Odoo can be oddly particular about these small details.
Hey, also check out the user's access rights cuz sometimes the problem is just a permission setting you missed. Believe it or not, that's a common hiccup. Don’t forget to see if your system’s got some caching enabled - sometimes the cache is why a change doesn’t show up right away.
If you're running custom code or third-party modules, they might be messing with the standard Odoo logging mechanism. Turn on developer mode, it might uncover hidden settings or tools. I remember I had to fiddle with it once.
Finally, this might sound basic, but are your log points activated across all environments? Testing in dev or staging can give different results if configs aren’t consistent. If it still doesn't work, reaching out to an Odoo expert might be worth it. Good luck!
Enjoying the discussion? Don't just read, join in!
Create an account today to enjoy exclusive features and engage with our awesome community!
РегистрацияRelated Posts | Ответы | Просмотры | Активность | |
---|---|---|---|---|
|
0
авг. 25
|
756 | ||
|
0
авг. 25
|
936 | ||
|
2
июл. 24
|
41 | ||
|
1
февр. 24
|
3151 | ||
|
3
дек. 23
|
2561 |
I guess what I'm looking to add as an audit rule is for the field "bom_lines" which is inside the "Bill of material" object. Not sure how to add that for audit...