change res.partner field name readonly.
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
change res.partner field name readonly.
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.
Buat akun sekarang untuk menikmati fitur eksklufi dan agar terlibat dengan komunitas kami!
DaftarPost Terkait | Replies | Tampilan | Aktivitas | |
---|---|---|---|---|
readonly option in fields?
Diselesaikan
|
|
3
Des 23
|
91266 | |
|
3
Sep 21
|
5253 | ||
|
1
Sep 15
|
9029 | ||
|
4
Agu 25
|
5635 | ||
|
3
Jul 23
|
5853 |
https://www.youtube.com/watch?v=ZrCN3L0oAKE