Skip to Content
Menu
This question has been flagged
3 Replies
342 Views

Hello,

When I import purchase orders from an Excel sheet, the PO number changes automatically and takes a different sequence number generated by Odoo.

I’m using Odoo [17].

Thanks in advance.

Avatar
Discard
Best Answer

In Odoo 17, the purchase order number stores in the "name" field. To import your own PO numbers, make sure your Excel file includes the PO numbers under the "name" column.

If this still doesn’t work, check if there’s any custom code or module that overrides the PO numbering sequence.

Avatar
Discard
Best Answer

Ensure you have a column name (or Order Reference) in your import file.

This simplified import structure will in fact have you import your Purchase Orders with a 'custom' PO number:

id name partner_id

My PO-No: 00001 Vendor A

My PO-No: 00042 Vendor B




Avatar
Discard
Best Answer

Hi,

In Odoo 17, purchase order numbers are always generated by the system’s sequence, so they change automatically when you import POs. If you want to keep your supplier’s PO reference, you should use the Vendor Reference field (partner_ref) instead of trying to override the PO number. Overwriting the name field is technically possible but not recommended, as it can break Odoo’s numbering consistency.


Hope it helps

Avatar
Discard
Related Posts Replies Views Activity
1
Mar 15
6745
3
Jun 25
1267
0
Jul 24
1135
1
Jun 23
2775
3
Sep 25
712