Skip to content

[Woo POS] Ensure draft orders are removed from Order storage on leaving POS #13877

@joshheald

Description

@joshheald

Description

In POS, we show a message saying in-progress orders will be lost when exiting.

This should actually happen, however we do it using the auto-draft feature.

In some cases, draft orders remain in the local device storage after leaving POS, and aren't cleared from the Order List until we pull to refresh.

We could fix this by refreshing order storage on leaving POS, or by just deleting any draft orders from storage, or by ensuring they never get stored in the first place, if possible.

p91TBi-c11-p2#comment-13041

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions