Skip to content

[V16] Workflow action button fails to progress workflow state despite successful save #51575

@arthurbrazil

Description

@arthurbrazil

Information about bug

Steps to Reproduce:

Open a document with workflow enabled that includes a warehouse field

Select a warehouse OTHER than "Stores" (e.g., any other warehouse in your system)

Fill in other required fields

Save the document

Attempt to progress the workflow using workflow action buttons

Actual Behavior:

The document saves successfully (data is persisted)

The UI continues to show the document as unsaved

Instead of presenting workflow transition options, the system prompts to save the document again

Workflow action buttons remain unavailable because system believes document is unsaved

This only occurs when warehouses other than "Stores" are selected

Expected Behavior:

After saving, the document should be marked as saved in the UI regardless of which warehouse is selected

Workflow action buttons should become available immediately after save

User should be able to progress the workflow state with any valid warehouse selection

Works Correctly:

When "Stores" warehouse is selected, the document saves properly and workflow buttons appear as expected

Fails:

When any other warehouse is selected, the save state is not recognized and workflow progression is blocked

Additional Context:

Running on version-16-beta (release candidate)

This appears to be a warehouse-specific validation or state synchronization issue

The bug is consistently reproducible based on warehouse selection

Video demonstration attached showing the issue

Attachments:

Github video upload did not work.
https://streamable.com/1ii8i1 (Error Reproduce)

Module

buying

Version

Frappe Framework: v16.0.0-rc.2 (version-16-beta branch)
ERPNext: 7e6c766 (version-16-beta branch)
Browser: Firefox

Installation method

FrappeCloud

Relevant log output / Stack trace / Full Error Message.

Metadata

Metadata

Assignees

Labels

bugcan't-reproduceWe are unable to reproduce this bug, provide more information.miscNot necessarily related to a specific modulereplied

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions