Make product customer readonly for non draft amendment lines

Closes #14727
This commit is contained in:
Sergi Almacellas Abellana
2026-03-31 15:35:28 +02:00
parent 50756bfcf1
commit e5b655fd39
+1
View File
@@ -88,6 +88,7 @@ class AmendmentLine(metaclass=PoolMeta):
],
states={
'invisible': Eval('action') != 'line',
'readonly': Eval('state') != 'draft',
})
@fields.depends('line')