| Availability |
Odoo Online
Odoo.sh
On Premise
|
| Odoo Apps Dependencies |
•
Purchase (purchase)
• Invoicing (account) • Discuss (mail) |
| Lines of code | 229 |
| Technical Name |
purchase_line_import |
| License | OPL-1 |
Purchase Line Excel Import
Import your purchase order lines directly from Excel (.xlsx) files with automatic onchange defaults, taxes, and analytic distribution mapping.
XLSX Format Support
Seamlessly import large volume purchase order lines directly using modern Excel (.xlsx) workbooks.
Smart Defaults
Only Part Number is mandatory! The module automatically resolves product templates, default supplier pricelist prices, UoMs, and expected arrival dates.
Analytic & Taxes Mapping
Map taxes by name and distribute costs instantly to Odoo 18 analytic accounts defined directly in your Excel columns.
How It Works - 3 Quick Steps
-
1
Create Excel Workbook: Ensure your first row has columns like "Part Number" (matching product code/barcode). Add columns for Qty, Price, Description, UoM, Analytic Account, or Taxes as required.
-
2
Click Import Lines: Open any Purchase Order or Request for Quotation (in draft/sent state) and click the new "Import Lines" primary button located in the header.
-
3
Validate and Confirm: Upload your file in the wizard pop-up and click "Import". The module performs dry-run validations on every row. If successful, your lines are built in bulk instantly.
Excel Template File Formats & Mapping
The importer supports smart alias matching for your Excel headers. You don't have to follow strict system technical names!
| Data Target Field | Allowed Column Headers (Case-insensitive) | Requirement | Fallback Behavior |
|---|---|---|---|
| Part Number | part number, part_number, partno, part no, internal reference, default_code, product | Mandatory | Searches by Internal Reference or Barcode. Empty rows are skipped. |
| Quantity | quantity, qty, product_qty, count | Optional | Defaults to 1.0 (or minimum seller pricelist quantity). |
| Unit Price | unit price, price_unit, price, rate | Optional | Automatically calculates standard cost or supplier pricelist value. |
| Description | description, name, product description | Optional | Pulls purchase description from product database automatically. |
| Unit of Measure | uom, unit of measure, product_uom | Optional | Defaults to Product Purchase UoM. |
| Analytic Account | analytic account, analytic_account, analytic, analytic account code | Optional | Sets a 100% analytic distribution for the matching account name/code. |
| Taxes | taxes, tax, product_taxes, taxes_id | Optional | Matches purchase taxes by name (supports comma-separated multiple taxes). |
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