mirror of
https://github.com/frappe/books.git
synced 2026-08-24 10:04:45 -05:00
Merge pull request #1257 from frappe/fix-stock-entry
fix: restrict repeated stock transfers
This commit is contained in:
@@ -823,7 +823,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