mirror of
https://github.com/frappe/books.git
synced 2025-01-03 15:17:30 +00:00
fix: list only inventory items (trackItem enabled)
This commit is contained in:
parent
819d88f494
commit
23f9fc97d6
@ -131,6 +131,7 @@ export default defineComponent({
|
|||||||
async setItems() {
|
async setItems() {
|
||||||
const items = (await fyo.db.getAll(ModelNameEnum.Item, {
|
const items = (await fyo.db.getAll(ModelNameEnum.Item, {
|
||||||
fields: [],
|
fields: [],
|
||||||
|
filters: { trackItem: true },
|
||||||
})) as Item[];
|
})) as Item[];
|
||||||
|
|
||||||
this.items = [] as POSItem[];
|
this.items = [] as POSItem[];
|
||||||
|
Loading…
Reference in New Issue
Block a user