Can the Vendor Application be restricted to pick vendors only without employee data listed as part
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
- CRM
- e-Commerce
- Księgowość
- Zapasy
- PoS
- Project
- MRP
To pytanie dostało ostrzeżenie
Hi,
You can restrict the Vendor Application in Odoo to show only vendors and not employees by customizing the domain filters.
If the vendor selection happens via a Many2one field on res.partner, you can apply a domain like this:
<field name="partner_id" domain="[('supplier_rank', '>', 0)]"/>
If the field already exists, please refer to the code:
<xpath expr="//field[@name='partner_id']" position="attributes">
<attribute name="domain">[('supplier_rank', '>', 0)]
</attribute>
</xpath>
Hope it helps.
Podoba Ci się ta dyskusja? Dołącz do niej!
Stwórz konto dzisiaj, aby cieszyć się ekskluzywnymi funkcjami i wchodzić w interakcje z naszą wspaniałą społecznością!
Zarejestruj się