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.
Opret en konto i dag for at få glæde af eksklusive funktioner, og bliv en del af vores skønne fællesskab!
Tilmeld dig| Relaterede indlæg | Besvarelser | Visninger | Aktivitet | |
|---|---|---|---|---|
|
3
dec. 23
|
95243 | |||
|
3
sep. 21
|
7405 | |||
|
1
sep. 15
|
10818 | |||
|
4
aug. 25
|
10835 | |||
|
3
jul. 23
|
7987 |
1. Use the live chat to ask your questions.
2. The operator answers within a few minutes.
https://www.youtube.com/watch?v=ZrCN3L0oAKE