I have a client with multi-companies in Odoo 13.
Company A
Company B
How do I go into a view and say:
If the person viewing this is viewing as someone from Company A, show these fields. Else, don't show.
The equivalent of:
<div t-if="company_id == 2">
<field name="company_id" groups="base.group_multi_company" options="{'no_create': True}"/>
<field name="uom_id" groups="uom.group_uom" options="{'no_create': True}"/>
<field name="uom_po_id" groups="uom.group_uom" options="{'no_create': True}"/>
<field name="currency_id" invisible="1"/>
<field name="cost_currency_id" invisible="1"/>
<field name="product_variant_id" invisible="1"/>
</div>
Visible Invisible fields: https://goo.gl/Ts3qqK