Skip to content

Commit f03f982

Browse files
committed
[18.0][FIX] correct readonly condition in sale order views
1 parent 6b0864b commit f03f982

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sale_analytic/views/sale_order_views.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
name="analytic_distribution"
1111
widget="analytic_distribution"
1212
groups="analytic.group_analytic_accounting"
13-
readonly="state in ('done', 'cancel')"
13+
readonly="state == 'cancel' or locked"
1414
/>
1515
</xpath>
1616
<field name="order_line" position="attributes">

0 commit comments

Comments
 (0)