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
    • Artificial Intelligence
    • 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
    • Affiliate Program
    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. Purchase
  3. Import Purchase Order Lines from Excel and CSV: Vendor Codes, Dry Run v 17.0
  4. Sales Conditions FAQ

Import Purchase Order Lines from Excel and CSV: Vendor Codes, Dry Run

by Aerya IT Solutions https://aerya.net
Odoo

$ 20.82

v 17.0 Third Party
Apps purchases are linked to your Odoo account, please sign in or sign up first.
Versions 17.0 18.0 19.0 20.0
You bought this module and need support? Click here!
Versions 17.0 18.0 19.0 20.0
  • Description
  • Manifest
  • License
Aerya Odoo 17, 18, 19 and 20, Community and Enterprise · Developed in the European Union by Aerya IT Solutions

Import Purchase Order Lines from Excel and CSV: Vendor Codes, Dry Run

Vendors send price lists and quotes as spreadsheets. Instead of typing the lines, open the request for quotation, choose the file and let the module read it: products found by the vendor's own code, reference, barcode or name, quantity, unit, price, discount, taxes and expected date. You see what would be written, row by row, and fix the file before the order changes.

A button on the request for quotation: choose an Excel or CSV file
Vendor product codes, barcodes, references and names matched
Dry run: every row checked before anything is written, expected dates included
The file and its SHA-256 kept in the chatter and the log

The screenshots use a fictitious furniture company with invented vendors, vendor codes and prices.

Runs on Odoo.sh and on-premise, not on Odoo Online (SaaS), where Odoo does not allow modules with Python code. Please buy the version that matches your database.

The dry run: every row of the file with its result and the reason
45 automated tests
in Odoo 17
Code checked with flake8 and pylint-odoo
no warnings
File reader without extra libraries
tested without a database

Import Lines on the request for quotation

A button on every draft or sent request for quotation opens the import. Choose an Excel (.xlsx) or CSV file, with a comma, a semicolon or a tab, in UTF-8 or a Windows encoding.

A template file (Excel or CSV) shows the columns. Orders that are already confirmed are refused with a message.

The import window: the file, a saved profile and the options

Vendor codes and expected dates

The vendor's own product code in the file is looked up in the vendor list of the order's vendor, then the internal reference, barcode and name. The expected arrival date of each line is read, day first or as an Excel date.

The titles of the file are matched to the fields in English, German, Spanish and Romanian, and the mapping is saved as a profile for the next file of the same vendor.

Each column of the file with a sample and the field it fills

A dry run that shows every row

Before anything is written, each row is read and checked: product not found, several products with that name, a unit outside the product's unit family, a discount over 100, a quantity that is not a number.

The report lists every row with its result. Download it as an Excel file with your own cells and a status column, correct the file and try again.

The check: two rows with a reason, the others ready to import

Nothing half imported

With a row that has a problem, nothing is written unless you tick Import the good rows. The check and the import run the same code, so the report is exactly what happens.

Each import is logged with the user, the counts, the file itself and its SHA-256. The chatter of the order shows the same, with the file attached.

The result: lines added, the rows that were left out

More screenshots

Screenshots of Odoo 17 Enterprise. Click an image to enlarge it.

The Import Lines button on a request for quotation

The Import Lines button on a request for quotation

The request for quotation after the import, with sections and notes

The request for quotation after the import, with sections and notes

The chatter note with the file and its fingerprint

The chatter note with the file and its fingerprint

The import log

The import log

Saved import profiles

Saved import profiles

Everything included

Vendor codes first

The vendor's own code, then internal reference, barcode or name. A text that fits several products is an error, never a guess.

Sections and notes

A row with only a description becomes a note; a Line Type column makes sections and notes explicit.

Numbers as written

1.234,56 and 1,234.56 are both read, percentages and currency words too. An ambiguous 1,234 asks you for the separator.

Units, taxes and prices

Units must be in the product's unit family; taxes are matched by name. An empty price keeps the vendor price Odoo computes.

No extra library

Excel and CSV are read with the Python standard library, checked for oversize files and unsafe content.

Four languages

The interface is in English, German, Spanish and Romanian.

How it works

1

Open a request for quotation and press Import Lines.

2

Choose the file and check how the columns are read.

3

Check the file and read the report row by row.

4

Import and find the lines, the file and its hash on the order.

Compatibility

VersionsOdoo 17, 18, 19 and 20
EditionsCommunity and Enterprise
ModulesPurchase (purchase) only
File formatsExcel .xlsx and CSV (old .xls: save as .xlsx)
LanguagesEnglish, German, Spanish, Romanian

What it does not do

Rows with a product, unit or tax that is not found, an expected date that is not a date, a product that matches several records, a unit outside the product's unit family, a discount outside 0 to 100, a missing quantity or a row with neither product nor description are listed as errors and are not written.

Only draft and sent requests for quotation accept lines. There is no import from PDF or images and no e-mail intake; only the first sheet of a workbook is read.

Explore our other apps

More modules by Aerya IT Solutions for Odoo 17, built to work together.

Supplier Price Comparison on Purchase Orders

Compare vendors on a request for quotation: every vendor price of the products

75 EUR · View on the store →

Vendor Lead Time

Measure the real supplier lead time (vendor lead time) from confirmed purchase orders and

49 EUR · View on the store →

Vendor Territory

Record the states, counties, countries or delivery area each vendor delivers to. Reordering

9 EUR · View on the store →

Amount in Words on Purchase Order PDF

Print the purchase order total in words, in the vendor's language

5 EUR · View on the store →

Purchase Refund

Create Bill on a purchase order with returns makes a vendor bill for the received quantities

4 EUR · View on the store →

Import Sale Orders from Excel and CSV

Import sale orders from Excel or CSV: one file creates many quotations

25 EUR · View on the store →

Questions or a custom quote?

Write to info@aerya.ro for questions about the module, its installation or custom development.

Aerya

Developed in the European Union by Aerya IT Solutions, Odoo implementation and development. aerya.net

Availability
Odoo Online
Odoo.sh
On Premise
Odoo Apps Dependencies • Purchase (purchase)
• Invoicing (account)
• Discuss (mail)
Lines of code 1772
Technical Name aerya_purchase_import_lines
LicenseOPL-1
Websitehttps://aerya.net
Odoo Proprietary License v1.0

This software and associated files (the "Software") may only be used (executed,
modified, executed after modifications) if you have purchased a valid license
from the authors, typically via Odoo Apps, or if you have received a written
agreement from the authors of the Software (see the COPYRIGHT file).

You may develop Odoo modules that use the Software as a library (typically
by depending on it, importing it and using its resources), but without copying
any source code or material from the Software. You may distribute those
modules under the license of your choice, provided that this license is
compatible with the terms of the Odoo Proprietary License (For example:
LGPL, MIT, or proprietary licenses similar to this one).

It is forbidden to publish, distribute, sublicense, or sell copies of the Software
or modified copies of the Software.

The above copyright notice and this permission notice must be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,
DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
DEALINGS IN THE SOFTWARE.

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 or have a question related to your purchase, please use the support page.
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