From fa848c88f67dc3c53d3d76c74631fc07825e93cf Mon Sep 17 00:00:00 2001 From: chengyu Date: Tue, 11 Oct 2022 08:01:07 +1100 Subject: [PATCH] add shipment notified attribute --- javascript/job.js | 1 + python/jobs.py | 1 + typescript/src/entities/job.ts | 3 +++ 3 files changed, 5 insertions(+) diff --git a/javascript/job.js b/javascript/job.js index f1e5197d..6cfceb5b 100644 --- a/javascript/job.js +++ b/javascript/job.js @@ -87,6 +87,7 @@ export function Job() { addPropertyTo(this, 'matchingInventories', MatchingInventory); addPropertyTo(this, 'inventoryCount'); addPropertyTo(this, 'inventorySufficient'); + addPropertyTo(this, 'shopifyShipmentDeliveryNotified'); addPropertyTo(this, 'limitedStock'); addPropertyTo(this, 'canDeduct'); diff --git a/python/jobs.py b/python/jobs.py index 859f17be..b86eff34 100644 --- a/python/jobs.py +++ b/python/jobs.py @@ -101,6 +101,7 @@ def __init__(self): variations = Property(Variation) quote_set = Property(bool) drop_ship = Property(bool) + shopify_shipment_delivery_notified = Property(bool) shipment = Property(Shipment, backref="jobs") tax_type = Property(CountryTax) tags = Property(DomainTag, backref="jobs") diff --git a/typescript/src/entities/job.ts b/typescript/src/entities/job.ts index 982a76a3..298b0a8b 100644 --- a/typescript/src/entities/job.ts +++ b/typescript/src/entities/job.ts @@ -79,6 +79,9 @@ export class Job extends Entity { @Job.property() public needsInventory?: boolean; + @Job.property() + public shopifyShipmentDeliveryNotified?: boolean; + @Job.property() public showProductionFilesToClient?: boolean;