mirror of
https://github.com/frappe/books.git
synced 2025-02-03 04:28:32 +00:00
feat: fetchFromErpnext modal
This commit is contained in:
parent
79b36c6ca7
commit
d304e9cd38
@ -0,0 +1,17 @@
|
|||||||
|
import { Doc } from 'fyo/model/doc';
|
||||||
|
import { HiddenMap, ListViewSettings } from 'fyo/model/types';
|
||||||
|
|
||||||
|
export class FetchFromERPNextQueue extends Doc {
|
||||||
|
referenceType?: string;
|
||||||
|
documentName?: string;
|
||||||
|
|
||||||
|
hidden: HiddenMap = {
|
||||||
|
name: () => true,
|
||||||
|
};
|
||||||
|
|
||||||
|
static getListViewSettings(): ListViewSettings {
|
||||||
|
return {
|
||||||
|
columns: ['referenceType', 'documentName'],
|
||||||
|
};
|
||||||
|
}
|
||||||
|
}
|
@ -51,6 +51,7 @@ import { POSSettings } from './inventory/Point of Sale/POSSettings';
|
|||||||
import { POSShift } from './inventory/Point of Sale/POSShift';
|
import { POSShift } from './inventory/Point of Sale/POSShift';
|
||||||
import { ERPNextSyncSettings } from './baseModels/ERPNextSyncSettings/ERPNextSyncSettings';
|
import { ERPNextSyncSettings } from './baseModels/ERPNextSyncSettings/ERPNextSyncSettings';
|
||||||
import { ERPNextSyncQueue } from './baseModels/ERPNextSyncQueue/ERPNextSyncQueue';
|
import { ERPNextSyncQueue } from './baseModels/ERPNextSyncQueue/ERPNextSyncQueue';
|
||||||
|
import { FetchFromERPNextQueue } from './baseModels/FetchFromERPNextQueue/FetchFromERPNextQueue';
|
||||||
|
|
||||||
export const models = {
|
export const models = {
|
||||||
Account,
|
Account,
|
||||||
@ -108,6 +109,7 @@ export const models = {
|
|||||||
// ERPNext Sync
|
// ERPNext Sync
|
||||||
ERPNextSyncSettings,
|
ERPNextSyncSettings,
|
||||||
ERPNextSyncQueue,
|
ERPNextSyncQueue,
|
||||||
|
FetchFromERPNextQueue,
|
||||||
} as ModelMap;
|
} as ModelMap;
|
||||||
|
|
||||||
export async function getRegionalModels(
|
export async function getRegionalModels(
|
||||||
|
Loading…
x
Reference in New Issue
Block a user