Issue Title: Synchronization of Stock-Related Checkboxes Between App Interfaces
1. Issue Description
There's a requirement to synchronize the "Maintain Stock" and "Allow Negative Stock" checkboxes between /app/item/ and /app/website-item/ in the Inventory tab. The checkboxes in /app/website-item/ should reflect the state of the corresponding checkboxes in /app/item/ and should be read-only to prevent direct modification.
2. Steps to Reproduce
Navigate to /app/item/ and locate the "Maintain Stock" and "Allow Negative Stock" checkboxes in the Inventory tab.
Change the state of these checkboxes (tick/untick).
Navigate to /app/website-item/ go to inventory tab and observe the state of the "Master Item: Maintained Stock" and "Master Item: Allow Negative Stock" checkboxes.
Confirm if the states are synchronized with /app/item/.
3. Current Behavior
The state of the checkboxes in /app/website-item/ may not reflect the state of the corresponding checkboxes in /app/item/.
4. Expected Behavior
The "Master Item: Maintained Stock" and "Master Item: Allow Negative Stock" checkboxes in /app/website-item/ should always be in sync with the "Maintain Stock" and "Allow Negative Stock" checkboxes in /app/item/.
The checkboxes in /app/website-item/ should be read-only and not allow modification.
5. Action Items
[ ] Review the current synchronization mechanism between the two sets of checkboxes.
[ ] Update the synchronization logic to ensure that any changes in /app/item/ are reflected in /app/website-item/.
[ ] Modify the permission settings for the checkboxes in /app/website-item/ to be read-only.
[ ] Test the updated functionality to ensure synchronization works as expected and that checkboxes are correctly set as read-only.
[ ] Document the changes made and update any related process documents.
Issue Title: Synchronization of Stock-Related Checkboxes Between App Interfaces
1. Issue Description
There's a requirement to synchronize the "Maintain Stock" and "Allow Negative Stock" checkboxes between
/app/item/
and/app/website-item/
in the Inventory tab. The checkboxes in/app/website-item/
should reflect the state of the corresponding checkboxes in/app/item/
and should be read-only to prevent direct modification.2. Steps to Reproduce
/app/item/
and locate the "Maintain Stock" and "Allow Negative Stock" checkboxes in the Inventory tab./app/website-item/
go to inventory tab and observe the state of the "Master Item: Maintained Stock" and "Master Item: Allow Negative Stock" checkboxes./app/item/
.3. Current Behavior
/app/website-item/
may not reflect the state of the corresponding checkboxes in/app/item/
.4. Expected Behavior
/app/website-item/
should always be in sync with the "Maintain Stock" and "Allow Negative Stock" checkboxes in/app/item/
./app/website-item/
should be read-only and not allow modification.5. Action Items
/app/item/
are reflected in/app/website-item/
./app/website-item/
to be read-only.