Skip to Content
Menu
This question has been flagged
1140 Views


Hi,


When creating/editing a quotation odoo allows the user to choose either a just a company or company + employee as costumer.


I want to stop showing just a company to the user making him able to choose only companies + employee



I believe I have to edit Quotation -> Edit View: Form, probably this line


<field name="partner_id" widget="res_partner_many2one" context="{'res_partner_search_mode': 'customer', 'show_address': 1, 'show_vat': True}" options="{&quot;always_reload&quot;: True}"/>

But I trully don't know how to edit it to show only company + employee


Can anyone help me? Thanks in advance!



Avatar
Discard