mirror of
https://github.com/frappe/books.git
synced 2026-08-24 02:24:17 -05:00
fix: restrict repeated stock transfers
This commit is contained in:
@@ -790,7 +790,7 @@ export default defineComponent({
|
||||
const itemVisibility = this.fyo.singles.POSSettings?.itemVisibility;
|
||||
|
||||
if (
|
||||
this.sinvDoc.stockNotTransferred ||
|
||||
this.sinvDoc.stockNotTransferred &&
|
||||
itemVisibility === 'Inventory Items'
|
||||
) {
|
||||
await this.makeStockTransfer();
|
||||
|
||||
Reference in New Issue
Block a user