[FIX] stock: No sequence defined on Operations Types dropship
[FIX] stock: No sequence defined on Operations Types dropship

Steps to reproduce the bug:

- Go to settings => Purchase
- Enable Dropshipping
- Go to Inventory => Configuration => Warehouse Management => Operations Types
- Open Dropship
- Remove the sequence (field is not required)
- Go to Inventory => Master Data => Products
- Let's consider product P (Inventory tab: Check "Dropship" and "Buy" and vendor V as supplier)
- Create Quotation Q with customer C and product P
- Confirm Q (a PO has been created for V)
- Confirm PO

Bug:

A traceback was raised because the sequence was not defined on Operation Type dropship

opw:2263799

closes odoo/odoo#52115

X-original-commit: 25ae1f6900712dcf13341fdb0855e3cbe2fa98af
Signed-off-by: Simon Goffin (sig) <b3ed2cf313e7546085c3c50622143ff31e467d23@openerp.com>

ygol/odoo,ygol/odoo,ygol/odoo,ygol/odoo,ygol/odoo,ygol/odoo,ygol/odoo