Hello,
I am trying to display availabilities by default under the BoM Overview section. What would be the best way to accomplish this? I have tried to modify the context value for client action BoM Overview but had no luck. Thank you.
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
Hello,
I am trying to display availabilities by default under the BoM Overview section. What would be the best way to accomplish this? I have tried to modify the context value for client action BoM Overview but had no luck. Thank you.
Hi,
In Odoo, the display options in the BoM Overview—such as Availabilities, Lead Times, Costs, and Operations—are controlled entirely by the web client and stored as user-specific UI preferences, not by the server action or context. This means that modifying the client action’s context will not force “Availabilities” to appear by default, because the web interface always loads the last selection saved for each user. If you want it selected for yourself, you simply enable “Availabilities” once and Odoo will remember it the next time you open the view. However, if you want this to be the default for all users, the only effective method is to create a small custom web module that overrides the initial JavaScript state of the BoM Overview component and sets “Availabilities” to true when the view loads.
Hope it helps
You're on the right track with trying to modify the context of the mrp.mrp_bom_overview client action, but unfortunately, the BoM Overview UI relies heavily on JavaScript widgets, and the visibility of sections like "Availabilities" is controlled client-side via user preferences or widget state—not just context.
Create an account today to enjoy exclusive features and engage with our awesome community!
Üye Ol| İlgili Gönderiler | Cevaplar | Görünümler | Aktivite | |
|---|---|---|---|---|
|
1
Kas 25
|
399 | |||
|
0
Ağu 25
|
1200 | |||
|
2
Tem 24
|
42 | |||
|
1
Şub 24
|
3344 | |||
|
3
Ara 23
|
2819 |
1. Use the live chat to ask your questions.
2. The operator answers within a few minutes.