change res.partner field name readonly.
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
inherit partner form view and add this code
<xpath expr="//field[@name='name']" position="attributes">
<attribute name="readonly">1</attribute>
</xpath>
Another way to do this is through model:
Try:
class ResPartner(models.Model):
_inherit = 'res.partner'
name = fields.Char(readonly=True)
Hope it help.
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 | |
|---|---|---|---|---|
|
readonly option in fields?
Çözüldü
|
3
Ara 23
|
93291 | ||
|
3
Eyl 21
|
6368 | |||
|
1
Eyl 15
|
9901 | |||
|
4
Ağu 25
|
8695 | |||
|
3
Tem 23
|
6841 |
1. Use the live chat to ask your questions.
2. The operator answers within a few minutes.
https://www.youtube.com/watch?v=ZrCN3L0oAKE