Skip to content

Rollover: order line creation can fail because of validation #3996

@PascalRepond

Description

@PascalRepond

Bug description:

The rollover can fail with following error "Order line creation failed on [acol#40765] :: Cannot create an order line with an order with a wrong status". This is because of a stricter validation on order line creation that checks the statuts of the linked order.

Expected behavior:

The rollover should complete without errors.

Probably change the rollover script so that it creates all orders with a PENDING status (allowing order lines to be added), and at the end attribute the correct status (ORDERED or PARTIALLY RECIEVED) to all orders based on their content.

Metadata

Metadata

Assignees

Labels

bugBreaks something but is not blocking

Type

No type

Projects

Status

Ready to test

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions