Skip to Content
Customer and Vendor Flags
customer_is_vendor

Customer and Vendor Flags

Mark contacts as customer, vendor, or both and filter them on documents.

  • Odoo 17
  • Other
  • 17.0.0.1
1

Overview

In a shared contact list it is easy to pick a customer on a purchase order or a vendor on an invoice. This module adds Is a Customer and Is a Vendor flags to the partner form and uses them as domains on documents. Sales orders, purchase orders, invoices and payments then offer only suitable contacts. Sales, purchasing and accounting users benefit. It plugs into Sales, Purchase and Invoicing.

2

Usage steps

  1. 1

    Flag the contact

    On the contact form the user ticks Is a Customer, Is a Vendor or both. The flags are stored on the partner. They are also linked to the customer and supplier ranks.

    • Field: Is A Customer
    • Field: Is A Vendor
    • Saved on partner
  2. 2

    Sales orders show customers only

    On a sales order the customer field is limited to partners with a customer rank. Vendors-only contacts no longer appear. This avoids selling to the wrong contact.

    • Model: sale.order
    • Domain by customer rank
    • No vendor-only contacts
  3. 3

    Purchase orders show vendors only

    On a purchase order the vendor field is limited to partners with a supplier rank. Customers-only contacts stay out of the list. Buyers choose faster and safer.

    • Model: purchase.order
    • Domain by supplier rank
    • Cleaner selection
  4. 4

    Invoices follow the document type

    Customer invoices and credit notes offer customers, and vendor bills offer vendors. The domain is chosen from the invoice type. Journal entries stay unrestricted.

    • Model: account.move
    • Domain by move type
    • Entries unrestricted
  5. 5

    Payments follow the partner type

    On a payment, choosing Customer or Vendor changes the allowed partners. The onchange sets a domain by rank. Users cannot pay the wrong type of contact.

    • Model: account.payment
    • Onchange on partner type
    • Domain by rank
  6. 6

    Cross-check on the partner form

    The partner form uses the flags to show related lists, for example vendors that are also customers. This helps when a contact plays both roles. Reports become easier to read.

    • Customer and vendor together
    • Related lists
    • Clearer reports
4

Roles

Benefiting roles
Role
Sales user
Purchase user
Accountant
5

Dependencies

Back to version applications

Want to know more or try this app? Contact us

We can arrange a demo or a trial and answer your questions about Customer and Vendor Flags.

Contact us