Skip to content

[18.0][MIG] pos_scrap_order: Migration to 18.0#73

Merged
nguyenminhchien merged 7 commits into18.0_devfrom
F#T67627
Apr 28, 2026
Merged

[18.0][MIG] pos_scrap_order: Migration to 18.0#73
nguyenminhchien merged 7 commits into18.0_devfrom
F#T67627

Conversation

@Kimkhoi3010
Copy link
Copy Markdown

No description provided.

Copy link
Copy Markdown
Collaborator

@nguyenminhchien nguyenminhchien left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

After creating scrap order, the products are still there. Should remove them and create a new fresh order.
Image

});
}
if (scrap_ids && scrap_ids.length > 0) {
this.pos.add_new_order();
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
this.pos.add_new_order();
this.pos.removeOrder(order, false);
this.pos.removePendingOrder(order);
this.pos.afterOrderDeletion();

@nguyenminhchien nguyenminhchien merged commit 9a2e90b into 18.0_dev Apr 28, 2026
2 of 4 checks passed
@nguyenminhchien nguyenminhchien deleted the F#T67627 branch April 28, 2026 05:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants