There are many example of fields visible only when the user is part of a group like this line of code from mrp module.
<field name="product_uom" class="oe_inline" readonly="1" groups="product.group_uom"/>
How can we do the opposite?????? I want to hide a field when part of a group.
To be more specific, my module is adding an option to use pounds as UoM for weight for product. Odoo only handle KG and as much as I like the international system, we mainly use pounds here in Canada! So my module will hide the weight field and show weight_lb instead. The showing was easy, but hiding the first, not so much...