I am new to Odoo, and working with 19 version.
I need to hide "Units" from the quantity column.
I tried making invisible the field over:
<field name="product_uom_id" groups="uom.group_uom" widget="many2one_uom" invisible="1"/> on sale.order.line.list
<field name="product_uom_id" force_save="1" groups="uom.group_uom" widget="many2one_uom" readonly="product_uom_readonly" required="not display_type" invisible="1"/> on
sale.order.line.form.readonly
<span t-field="line.product_uom_id" invisible="1">units</span> on
report_saleorder_document
Is there another viw that I am missing? Or is my xml coding incorrect?
Hello,
Specify the report name where you want to hide UOM.
Hello,
Below is the line I found on the report_saleorder_document in Odoo 18..
<span t-field="line.product_uom">units</span>
Inherit the template and remove this line or hide..
Hello, Lorena
invisible attributes works only in field level not in tags and if you have already inherited that template just replace the position with blank or remove the code.