Se rendre au contenu
Menu
Cette question a été signalée
3 Réponses
188 Vues

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
Ignorer
Meilleure réponse

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
Ignorer
Meilleure réponse

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
Ignorer
Meilleure réponse

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
Ignorer
Publications associées Réponses Vues Activité
1
mars 15
6620
3
juin 25
1090
0
juil. 24
1039
1
juin 23
2579
1
août 25
1825