Skip to content

Commit

Permalink
Make product name field readonly in manufacturer view
Browse files Browse the repository at this point in the history
Set the product name field to readonly in the manufacturer's products list to prevent accidental edits. This ensures data consistency and helps avoid unintentional modifications by users.
  • Loading branch information
cbusillo committed Oct 25, 2024
1 parent 135cad4 commit e29cc8a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion product_connect/views/product_manufacturer_views.xml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
<field name="image_1920" widget="image"/>
<field name="products">
<tree editable="bottom" create="0">
<field name="name"/>
<field name="name" readonly="1"/>
<field name="manufacturer"/>
</tree>
</field>
Expand Down

0 comments on commit e29cc8a

Please sign in to comment.