Skip to Content
Odoo Menu
  • Sign in
  • Try it free
  • Apps
    Finance
    • Accounting
    • Invoicing
    • Expenses
    • Spreadsheet (BI)
    • Documents
    • Sign
    Sales
    • CRM
    • Sales
    • POS Shop
    • POS Restaurant
    • Subscriptions
    • Rental
    Websites
    • Website Builder
    • eCommerce
    • Blog
    • Forum
    • Live Chat
    • eLearning
    Supply Chain
    • Inventory
    • Manufacturing
    • PLM
    • Purchase
    • Maintenance
    • Quality
    Human Resources
    • Employees
    • Recruitment
    • Time Off
    • Appraisals
    • Referrals
    • Fleet
    Marketing
    • Social Marketing
    • Email Marketing
    • SMS Marketing
    • Events
    • Marketing Automation
    • Surveys
    Services
    • Project
    • Timesheets
    • Field Service
    • Helpdesk
    • Planning
    • Appointments
    Productivity
    • Discuss
    • Approvals
    • IoT
    • VoIP
    • Knowledge
    • WhatsApp
    Third party apps Odoo Studio Odoo Cloud Platform
  • Industries
    Retail
    • Book Store
    • Clothing Store
    • Furniture Store
    • Grocery Store
    • Hardware Store
    • Toy Store
    Food & Hospitality
    • Bar and Pub
    • Restaurant
    • Fast Food
    • Guest House
    • Beverage Distributor
    • Hotel
    Real Estate
    • Real Estate Agency
    • Architecture Firm
    • Construction
    • Property Management
    • Gardening
    • Property Owner Association
    Consulting
    • Accounting Firm
    • Odoo Partner
    • Marketing Agency
    • Law firm
    • Talent Acquisition
    • Audit & Certification
    Manufacturing
    • Textile
    • Metal
    • Furnitures
    • Food
    • Brewery
    • Corporate Gifts
    Health & Fitness
    • Sports Club
    • Eyewear Store
    • Fitness Center
    • Wellness Practitioners
    • Pharmacy
    • Hair Salon
    Trades
    • Handyman
    • IT Hardware & Support
    • Solar Energy Systems
    • Shoe Maker
    • Cleaning Services
    • HVAC Services
    Others
    • Nonprofit Organization
    • Environmental Agency
    • Billboard Rental
    • Photography
    • Bike Leasing
    • Software Reseller
    Browse all Industries
  • Community
    Learn
    • Tutorials
    • Documentation
    • Certifications
    • Training
    • Blog
    • Podcast
    Empower Education
    • Education Program
    • Scale Up! Business Game
    • Visit Odoo
    Get the Software
    • Download
    • Compare Editions
    • Releases
    Collaborate
    • Github
    • Forum
    • Events
    • Translations
    • Become a Partner
    • Services for Partners
    • Register your Accounting Firm
    Get Services
    • Find a Partner
    • Find an Accountant
      • Get a Tailored Demo
    • Implementation Services
    • Customer References
    • Support
    • Upgrades
    Github Youtube Twitter Linkedin Instagram Facebook Spotify
    +32 2 290 34 90
    • Get a Tailored Demo
  • Pricing
  • Help
  1. APPS
  2. Purchases
  3. Auto Vendor v 19.0
  4. Sales Conditions FAQ

Auto Vendor

by Naim OUDAYET https://www.oudayet.com
Odoo
v 19.0 Third Party 4
Download for v 19.0 Deploy on Odoo.sh
Apps purchases are linked to your Odoo account, please sign in or sign up first.
Availability
Odoo Online
Odoo.sh
On Premise
Odoo Apps Dependencies • Purchase (purchase)
• Invoicing (account)
• Discuss (mail)
Lines of code 52
Technical Name no_auto_vendor
LicenseLGPL-3
Websitehttps://www.oudayet.com
You bought this module and need support? Click here!
Availability
Odoo Online
Odoo.sh
On Premise
Odoo Apps Dependencies • Purchase (purchase)
• Invoicing (account)
• Discuss (mail)
Lines of code 52
Technical Name no_auto_vendor
LicenseLGPL-3
Websitehttps://www.oudayet.com

Auto Vendor

Confirm a PO, the vendor sticks to the product.

Auto-link the vendor with a real lead time on PO confirm · No more re-adding vendors on every product · Zero JS · One toggle

Odoo 19 FREE · LGPL-3 For Buyers 9 Languages

The native auto-link sets delay to zero.

Odoo 19 already links the vendor to the product when you confirm a PO — but it sets the delivery lead time to zero, so every freshly linked vendor has no usable lead time. Reorder rules and replenishment scheduling end up planning with the wrong number, and buyers either accept it or edit each product's Purchase tab by hand.

Without this module

Confirm a PO whose lines say "delivery in 14 days". The freshly linked vendor on each product still says lead time = 0. You go edit the product Purchase tab, vendor by vendor.

With this module

Confirm the same PO. Each product's vendor link now carries a real lead time — the number of days between the order date and the planned receipt date. Reorder rules and the scheduler plan with the right number from the start.

What it does

Lead time inferred

Sets the lead time to the number of days between the order date and the planned receipt date, instead of the native zero. Falls back to 7 days when a date is missing.

Layers on cleanly

It only fills in the delivery lead time and leaves everything else Odoo set untouched, so Studio tweaks and other modules keep working.

Easy to customize

The lead-time calculation lives in its own method, so a developer can reshape it (working days, a safety buffer, and so on) without touching the rest of the module.

Dedup safe

Odoo already skips a product that is already linked to that vendor — our lead-time injection respects the same rule, so no duplicates.

One-click toggle

Settings → Purchase → Auto-Link Vendor on PO Confirm. Default ON. Disable without uninstalling.

No JS, no menus

Server-side Python only. One inherited model, one inherited settings view. Survives upgrades cleanly.

See it in action

Confirm a PO once — the vendor and its real lead time stick to the product.

Auto-Link Vendor toggle in Purchase settings

The single Settings toggle — Purchase → Auto-Link Vendor on PO Confirm (default ON).

Confirmed purchase order with delivery dates

Confirm a PO whose lines carry a delivery date — no extra steps.

Product Purchase tab with inferred lead time

The auto-linked vendor lands on the product's Purchase tab with lead time inferred from the PO dates — not the native 0.

Vendor Pricelists showing the auto-created entry and its lead time

The new vendor link appears under Vendor Pricelists with the inferred lead time — ready for replenishment planning.

Available in 9 Languages

The settings toggle and field labels speak your team's language. Each user sees the interface in their own Odoo language setting — no extra setup.

us English (en_US)
fr Français (fr)
es Español (es)
de Deutsch (de)
nl Nederlands (nl)
br Português (pt_BR)
it Italiano (it)
cn 中文 (zh_CN)
ar العربية (ar)

Technical Details

Odoo Version 19.0 Community + Enterprise
Version 19.0.1.1.0
License LGPL-3 (Free)
Languages EN, FR, ES, DE, NL, PT-BR, IT, ZH-CN, AR
Dependencies purchase
Override points purchase.order._prepare_supplier_info, purchase.order._add_supplier_to_product
Records modified Vendor lead time on the auto-created vendor link
Setting no_auto_vendor.enabled (config_parameter, default True)

Honest scope

✗ Does not touch vendors already linked to a product — only the rows the native auto-link creates on PO confirm get the inferred lead time.

✗ Does not retroactively recompute the lead time on vendor links that already exist.

✗ No working-day or calendar-buffer math out of the box — the delay is a plain calendar-day count (override the seam to reshape it).

When a PO line carries no planned date, the delay falls back to 7 days rather than 0 — a sensible default, not a measured lead time.

Disabling the toggle turns off the entire native auto-link for that confirmation, not just the delay enrichment.

FAQ

Does it create duplicate vendors?

No. It rides on Odoo's native rule — a product already linked to that vendor is skipped, so no duplicate is created on the second PO.

How is the lead time calculated?

It is the number of whole days between the order date and the line's planned receipt date, never below 0. If either date is missing, it defaults to 7 days.

Can I turn it off without uninstalling?

Yes. Settings → Purchase → Auto-Link Vendor on PO Confirm is a single toggle. It defaults ON.

Does it add any JavaScript or new models?

No. It is server-side only, with no JavaScript and no new database models — just a small tweak to the purchase-order confirmation and one settings toggle.

Installation

1. Download from the Odoo App Store.

2. Extract to your Odoo addons directory.

3. Apps → Update Apps List → Install Auto Vendor.

4. Confirm any PO with a brand-new (vendor, product) pair. The vendor link appears on the product's Purchase tab with the lead time inferred from the PO dates instead of the native 0.

Found a bug?

Reach out via the Odoo App Store contact form.

Auto Vendor — Free — Odoo 19
© Naim OUDAYET — LGPL-3

Please log in to comment on this module

  • The author can leave a single reply to each comment.
  • This section is meant to ask simple questions or leave a rating. Every report of a problem experienced while using the module should be addressed to the author directly (refer to the following point).
  • If you want to start a discussion with the author, please use the developer contact information. They can usually be found in the description.
Community
  • Tutorials
  • Documentation
  • Forum
Open Source
  • Download
  • Github
  • Runbot
  • Translations
Services
  • Odoo.sh Hosting
  • Support
  • Upgrade
  • Custom Developments
  • Education
  • Find an Accountant
  • Find a Partner
  • Become a Partner
About us
  • Our company
  • Brand Assets
  • Contact us
  • Jobs
  • Events
  • Podcast
  • Blog
  • Customers
  • Legal • Privacy
  • Security

Odoo is a suite of open source business apps that cover all your company needs: CRM, eCommerce, accounting, inventory, point of sale, project management, etc.

Odoo's unique value proposition is to be at the same time very easy to use and fully integrated.

Website made with