mirror of
https://github.com/frappe/books.git
synced 2026-08-24 02:24:17 -05:00
upd: update schema to support Sync Interval in minutes
This commit is contained in:
@@ -8,37 +8,7 @@ export class ERPNextSyncSettings extends Doc {
|
||||
authToken?: string;
|
||||
integrationAppVersion?: string;
|
||||
isEnabled?: boolean;
|
||||
dataSyncInterval?: number;
|
||||
|
||||
syncItem?: boolean;
|
||||
itemSyncType?: string;
|
||||
|
||||
syncCustomer?: boolean;
|
||||
customerSyncType?: string;
|
||||
|
||||
syncSupplier?: boolean;
|
||||
supplierSyncType?: string;
|
||||
|
||||
syncSalesInvoice?: boolean;
|
||||
salesInvoiceSyncType?: string;
|
||||
|
||||
syncSalesInvoicePayment?: boolean;
|
||||
sinvPaymentType?: string;
|
||||
|
||||
syncStockMovement?: boolean;
|
||||
stockMovementSyncType?: string;
|
||||
|
||||
syncPriceList?: boolean;
|
||||
priceListSyncType?: string;
|
||||
|
||||
syncSerialNumber?: boolean;
|
||||
serialNumberSyncType?: string;
|
||||
|
||||
syncBatch?: boolean;
|
||||
batchSyncType?: string;
|
||||
|
||||
syncShipment?: boolean;
|
||||
shipmentSyncType?: string;
|
||||
dataSyncInterval?: string;
|
||||
|
||||
hidden: HiddenMap = {
|
||||
syncPriceList: () => {
|
||||
|
||||
@@ -39,10 +39,10 @@
|
||||
"section": "Default"
|
||||
},
|
||||
{
|
||||
"label": "Data Sync Interval",
|
||||
"label": "Data Sync Interval (In Minutes)",
|
||||
"fieldname": "dataSyncInterval",
|
||||
"fieldtype": "Int",
|
||||
"readOnly": true,
|
||||
"fieldtype": "Data",
|
||||
"default": "60",
|
||||
"section": "Default"
|
||||
},
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user