ecomplus/admin

Erro em alteração de status do pedido

matheusgnreis opened this issue · 2 comments

O pedido foi para aprovado e não modificou o status corrente. Ao tentar modificar manualmente, o erro gerado é:
download (15)
O JSON dos items:

 "items": [
    {
      "quantity": 1,
      "customizations": [],
      "product_id": "613d7f7f522ab535e60bc722",
      "variation_id": "759700163142001605600002",
      "picture": {
        "zoom": {
          "url": "https://ecoms1-nyc3.nyc3.cdn.digitaloceanspaces.com/1186/@v3/1631420229138-camisas-do-venezia-fc-2021-2022-kappa-1-removebg-preview.png",
          "size": "500x500",
          "alt": "Camisas-do-Venezia-FC-2021-2022-Kappa-1-removebg-preview"
        },
        "big": {
          "url": "https://ecoms1.com/1186/imgs/big/@v3/1631420229138-camisas-do-venezia-fc-2021-2022-kappa-1-removebg-preview.png.webp",
          "size": "500x500",
          "alt": "Camisas-do-Venezia-FC-2021-2022-Kappa-1-removebg-preview"
        },
        "normal": {
          "url": "https://ecoms1.com/1186/imgs/normal/@v3/1631420229138-camisas-do-venezia-fc-2021-2022-kappa-1-removebg-preview.png.webp",
          "size": "350x350",
          "alt": "Camisas-do-Venezia-FC-2021-2022-Kappa-1-removebg-preview"
        }
      },
      "sku": "JBP8763-515-3",
      "name": "Camisa Home Venezia 2021/2022 / G",
      "price": 169.9,
      "final_price": 169.9,
      "_id": "e16329435915691111111111",
      "stock_status": "__releasing"
    },
    {
      "quantity": 1,
      "customizations": [],
      "product_id": "611c21a8cfbcd97059810867",
      "variation_id": "407480162923345715800008",
      "picture": {
        "zoom": {
          "url": "https://ecoms1-nyc3.nyc3.cdn.digitaloceanspaces.com/1186/@v3/1629233621510-camisa-reserva-da-inter-de-milao-2021-2022-nike-1.jpg",
          "size": "700x700",
          "alt": "Camisa-reserva-da-Inter-de-Milao-2021-2022-NIke-1"
        },
        "big": {
          "url": "https://ecoms1.com/1186/imgs/big/@v3/1629233621510-camisa-reserva-da-inter-de-milao-2021-2022-nike-1.jpg.webp",
          "size": "700x700",
          "alt": "Camisa-reserva-da-Inter-de-Milao-2021-2022-NIke-1"
        },
        "normal": {
          "url": "https://ecoms1.com/1186/imgs/normal/@v3/1629233621510-camisa-reserva-da-inter-de-milao-2021-2022-nike-1.jpg.webp",
          "size": "350x350",
          "alt": "Camisa-reserva-da-Inter-de-Milao-2021-2022-NIke-1"
        }
      },
      "sku": "MBV3917-653-4",
      "name": "Camisa Away Inter de Milão 2021/2022 / GG / Torcedor",
      "price": 169.9,
      "final_price": 169.9,
      "_id": "e16329435915471111111111",
      "stock_status": "unmanaged"
    },
    {
      "quantity": 1,
      "customizations": [],
      "product_id": "5fadcd3e80c6216a3fc564a2",
      "variation_id": "e818a551ee3a9ef56d0286bc",
      "picture": {
        "zoom": {
          "url": "https://ecom-rszzkhcm.sfo2.digitaloceanspaces.com/@v2-1605225772679-camisa-away-brasil-2020-2021_0.jpg",
          "alt": "Camisa Away Brasil 2020/2021 (0)"
        },
        "big": {
          "url": "https://ecom-rszzkhcm.sfo2.digitaloceanspaces.com/imgs/big/@v2-1605225772679-camisa-away-brasil-2020-2021_0.jpg.webp",
          "alt": "Camisa Away Brasil 2020/2021 (0)"
        },
        "normal": {
          "url": "https://ecom-rszzkhcm.sfo2.digitaloceanspaces.com/imgs/normal/@v2-1605225772679-camisa-away-brasil-2020-2021_0.jpg.webp",
          "alt": "Camisa Away Brasil 2020/2021 (0)"
        }
      },
      "sku": "75814-1345-28465",
      "name": "Camisa Away Brasil 2020/2021 / GG / Torcedor (Fan)",
      "price": 169.9,
      "final_price": 169.9,
      "_id": "e16329435915691111111111",
      "stock_status": "pending"
    }
  ]

Isso aconteceu só nesse pedido ou viu outro? Peliativamente edita o JSON desse pedido mudando o __releasing pra pending.

Vou fechar o issue porque não é um bug do admin não, "corrigir" por aqui seria tampar com a peneira...

ok, só vi nesse