diff --git a/fyo/model/doc.ts b/fyo/model/doc.ts index fe041447..749b5a23 100644 --- a/fyo/model/doc.ts +++ b/fyo/model/doc.ts @@ -68,6 +68,8 @@ export class Doc extends Observable { _notInserted = true; _syncing = false; + _addDocToSyncQueue = true; + constructor( schema: Schema, data: DocValueMap, diff --git a/models/types.ts b/models/types.ts index 64aa9285..11cf1fd2 100644 --- a/models/types.ts +++ b/models/types.ts @@ -10,7 +10,6 @@ export enum ModelNameEnum { GetStarted = 'GetStarted', Defaults = 'Defaults', Item = 'Item', - ItemPrice = 'ItemPrice', UOM = 'UOM', UOMConversionItem = 'UOMConversionItem', JournalEntry = 'JournalEntry', @@ -28,6 +27,7 @@ export enum ModelNameEnum { Payment = 'Payment', PaymentFor = 'PaymentFor', PriceList = 'PriceList', + PriceListItem = 'PriceListItem', PricingRule = 'PricingRule', PricingRuleItem = 'PricingRuleItem', PricingRuleDetail = 'PricingRuleDetail', diff --git a/schemas/app/ERPNextSyncQueue.json b/schemas/app/ERPNextSyncQueue.json index b0c01d06..c5f5b077 100644 --- a/schemas/app/ERPNextSyncQueue.json +++ b/schemas/app/ERPNextSyncQueue.json @@ -51,6 +51,10 @@ { "value": "Shipment", "label": "Shipment" + }, + { + "value": "Address", + "label": "Address" } ], "required": true diff --git a/schemas/app/FetchFromERPNextQueue.json b/schemas/app/FetchFromERPNextQueue.json index ac3078b4..d28f5c07 100644 --- a/schemas/app/FetchFromERPNextQueue.json +++ b/schemas/app/FetchFromERPNextQueue.json @@ -43,6 +43,10 @@ { "value": "UOM", "label": "UOM" + }, + { + "value": "Address", + "label": "Address" } ], "required": true