How to lock field in odoo views How to lock field in odoo views عن طريق إضافة readonly = 1 <field name="product_qty" readonly="1"/>