I want to make 'mrp.unbuild' this model's entire form view readonly. The following from Odoo 13 is not working in V15.
https://www.odoo.com/forum/help-1/is-there-any-way-that-i-can-make-a-entire-form-readonly-132701
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
- CRM
- e-Commerce
- Comptabilité
- Inventaire
- PoS
- Project
- MRP
Cette question a été signalée
I assume your idea was not allow user to edit the form, in that case, you can try to set form view to edit="0", it will prevent user to click on "Edit" button.
Example:
<form string="Calendar View/Edit" edit="0">
// your code
</form>
What if we want the form to be readonly for a specific group except for activity_ids (see mail.activity in the chatter). In other words, the users who have the group in their access rights can see the fields of the form and read, create or edit or delete activities.
Thanks in advance,
xpath expr="//form" position="attributes"
attribute name="readonly">True attribute
xpath
Vous appréciez la discussion ? Ne vous contentez pas de lire, rejoignez-nous !
Créez un compte dès aujourd'hui pour profiter de fonctionnalités exclusives et échanger avec notre formidable communauté !
S'inscrirePublications associées | Réponses | Vues | Activité | |
---|---|---|---|---|
|
0
avr. 22
|
2913 | ||
|
1
mars 18
|
6315 | ||
|
2
mai 25
|
3029 | ||
|
0
juin 24
|
955 | ||
|
2
mars 24
|
2066 |
Thank you !