Hotfix/tag relation (#166)

* fix: remove default tag relation

* fix: auto fulfill bp swaps
This commit is contained in:
Sebastian Rindom authored and GitHub committed 2021-02-04 14:38:41 +01:00
1 parent 728d08d2b8
commit d8e806d8ff
2 files changed
+2 -4

No files matched your search

@@ -1046,9 +1046,7 @@ class BrightpearlService extends BaseService {
return this.claimService_.createFulfillment(partId, { return this.claimService_.createFulfillment(partId, {
goods_out_note: id, goods_out_note: id,
}) })
} } else {
if (partId.startsWith("swap")) {
return this.swapService_.createFulfillment(partId, { return this.swapService_.createFulfillment(partId, {
goods_out_note: id, goods_out_note: id,
}) })
@@ -191,7 +191,7 @@ export const defaultRelations = [
"claims.fulfillments", "claims.fulfillments",
"claims.claim_items", "claims.claim_items",
"claims.claim_items.images", "claims.claim_items.images",
"claims.claim_items.tags", // "claims.claim_items.tags",
"swaps", "swaps",
"swaps.return_order", "swaps.return_order",
"swaps.payment", "swaps.payment",