Anonymous | Login
Project:
RSS
  
News | My View | View Issues | Roadmap | Summary

View Revisions: Issue #31547 Back to Issue ]
Summary 0031547: Clicking more than once in "Layaway" button induces that it is not possible save layaways from that moment
Revision 2015-11-20 13:19 by Orekaria
Description When a receipt is going to be laid away, clicking more than once in "Layaway" button induces that it is not possible to save layaways from that moment. In chrome console several errors can be seen. I have tried to logout/login and it is still not possible to save layaways.
This issue is reproducible in pi, main & RR15Q4, but this is working correctly in RR15Q3.2

Some of the logs of the console are attached
Revision 2015-11-20 13:01 by lorenzofidalgo
Steps To Reproduce 0-Login POS as vallblanca.
1-Add a product to the receipt.
2-In dropdown menu, click "Layaway this Receipt".
3-Click Total Amount button.
4-Open Chrome console.
5-Click quickly several times in "Layaway" button.
6-Defect: Watch errors in chrome console.
7-Defect: Go to "Layaways" section in dropdown menu. Watch the just created layaway does not appear. No more layaways can be saved.

Revision 2015-11-20 13:01 by lorenzofidalgo
Description When a receipt is going to be laid away, clicking more than once in "Layaway" button induces that it is not possible to save layaways from that moment. In chrome console several errors can be seen. I have tried to logout/login and it is still not possible to save layaways.
This issue is reproducible in pi, main & RR15Q4, but this is working correctly in RR15Q3.2

Some of the logs of the console are:
----------------------------------------------------
The receipt has been modified while it was being closed:
{
  "orderDate": [
    "2015-11-20T11:04:14.970Z",
    "2015-11-20T11:04:15.773Z"
  ],
  "movementDate": [
    "2015-11-20T11:04:14.976Z",
    "2015-11-20T11:04:15.776Z"
  ],
  "accountingDate": [
    "2015-11-20T11:04:14.976Z",
    "2015-11-20T11:04:15.777Z"
  ]
}
; line: Object.receipt.trigger.callback (https://livebuilds.openbravo.com/retail_stable_pgsql_pi/web/js/gen/e67fbe7b814743cd4fbc26a73a680528_WebPOS.js:36053:20 [^]) (*,+)processConsoleLevel @ e67fbe7b814743cd4fbc26a73a680528_WebPOS.js:2522OB.error @ e67fbe7b814743cd4fbc26a73a680528_WebPOS.js:2552receipt.trigger.callback @ e67fbe7b814743cd4fbc26a73a680528_WebPOS.js:36053(anonymous function) @ e67fbe7b814743cd4fbc26a73a680528_WebPOS.js:27662
e67fbe7b814743cd4fbc26a73a680528_WebPOS.js:2522 The receipt has been modified while it was being closed:
{
  "id": [
    "7E28DDDB4FA47C2F106D1E269F49455B",
    "21D1EBA9B09C396D08C0B1196AC33C23"
  ],
  "orderType": [
    2,
    0
  ],
  "orderDate": [
    "2015-11-20T11:04:15.122Z",
    "2015-11-20T11:04:15.891Z"
  ],
  "creationDate": [
    "2015-11-20T11:04:14.971Z",
    null
  ],
  "documentnoSuffix": [
    82,
    83
  ],
  "documentNo": [
    "VBS1/0000082",
    "VBS1/0000083"
  ],
  "lines": [
    [
      {
        "product": {
          "originalStandardPrice": 18.9,
          "id": "9F9BC6229E5C48D38F935D7FD5F5BA94",
          "searchkey": "WVG/L0001",
          "uPCEAN": null,
          "uOM": "100",
          "uOMsymbol": "Ud ",
          "productCategory": "9BE78BE519494875B84A004EFD4B5ADC",
          "taxCategory": "FF80818123B7FC160123B804AB88000B",
          "description": "Ultralight LED headlamp.",
          "obposScale": false,
          "groupProduct": true,
          "stocked": true,
          "showstock": false,
          "isGeneric": false,
          "generic_product_id": null,
          "brand": "121308E73E684428BF4E65B40629F0EF",
          "characteristicDescription": "Object: Headlamps, Price: < 20€, Range: 29m max, Weight: Under 1Kg, Battery Life: 120h max, Use: Hiking & Trekking",
          "showchdesc": true,
          "bestseller": true,
          "ispack": false,
          "listPrice": 18.9,
          "standardPrice": 18.9,
          "priceLimit": 18.9,
          "cost": 0,
          "algorithm": "S",
          "_identifier": "Headlamp ultralight",
          "_idx": 44
        },
        "productidentifier": null,
        "uOM": "100",
        "qty": 1,
        "price": 18.9,
        "priceList": 18.9,
        "gross": 18.9,
        "net": 15.62,
        "description": "",
        "id": "66A64AC2A4BFFD46BA47B709D918DDEE",
        "priceIncludesTax": true,
        "warehouse": {
          "id": "A154EC30A296479BB078B0AFFD74CA22",
          "warehousename": "Vall Blanca Store Warehouse"
        },
        "promotions": [],
        "grossListPrice": 18.9,
        "promotionCandidates": null,
        "promotionMessages": [],
        "noDiscountCandidates": true,
        "taxLines": {
          "5235D8E99A2749EFA17A5C92A52AEFC6": {
            "name": "Entregas IVA 21%",
            "rate": 21,
            "net": 15.62,
            "amount": 3.28
          }
        },
        "tax": "5235D8E99A2749EFA17A5C92A52AEFC6",
        "taxAmount": 3.28,
        "pricenet": 15.62,
        "discountedNet": 15.62,
        "linerate": 1.21,
        "discountPercentage": 0,
        "listPrice": 15.62,
        "standardPrice": 15.62,
        "grossUnitPrice": 18.9,
        "lineGrossAmount": 18.9
      }
    ],
    []
  ],
  "qty": [
    1,
    0
  ],
  "gross": [
    18.9,
    0
  ],
  "net": [
    15.62,
    0
  ],
  "taxes": {
    "5235D8E99A2749EFA17A5C92A52AEFC6": [
      {
        "name": "Entregas IVA 21%",
        "rate": 21,
        "net": 15.62,
        "amount": 3.28
      },
      null
    ]
  },
  "isBeingDiscounted": [
    false,
    null
  ],
  "reApplyDiscounts": [
    false,
    null
  ],
  "timezoneOffset": [
    -60,
    null
  ],
  "created": [
    1448017454971,
    null
  ],
  "obposCreatedabsolute": [
    "2015-11-20 12:04:14.971",
    null
  ],
  "movementDate": [
    "2015-11-20T11:04:15.129Z",
    null
  ],
  "accountingDate": [
    "2015-11-20T11:04:15.129Z",
    null
  ],
  "obposAppCashup": [
    "67810F033C2EC25AE6D9C251530E1173",
    null
  ]
}
; line: Object.receipt.trigger.callback (https://livebuilds.openbravo.com/retail_stable_pgsql_pi/web/js/gen/e67fbe7b814743cd4fbc26a73a680528_WebPOS.js:36053:20 [^]) (*,+)processConsoleLevel @ e67fbe7b814743cd4fbc26a73a680528_WebPOS.js:2522OB.error @ e67fbe7b814743cd4fbc26a73a680528_WebPOS.js:2552receipt.trigger.callback @ e67fbe7b814743cd4fbc26a73a680528_WebPOS.js:36053(anonymous function) @ e67fbe7b814743cd4fbc26a73a680528_WebPOS.js:27662
e67fbe7b814743cd4fbc26a73a680528_WebPOS.js:2522 The receipt has been modified while it was being closed:
{
  "id": [
    "7E28DDDB4FA47C2F106D1E269F49455B",
    "9796B17FF906339153639CFF4AA4819B"
  ],
  "orderType": [
    2,
    0
  ],
  "orderDate": [
    "2015-11-20T11:04:15.252Z",
    "2015-11-20T11:04:16.588Z"
  ],
  "creationDate": [
    "2015-11-20T11:04:14.971Z",
    null
  ],
  "documentnoSuffix": [
    82,
    84
  ],
  "documentNo": [
    "VBS1/0000082",
    "VBS1/0000084"
  ],
  "lines": [
    [
      {
        "product": {
          "originalStandardPrice": 18.9,
          "id": "9F9BC6229E5C48D38F935D7FD5F5BA94",
          "searchkey": "WVG/L0001",
          "uPCEAN": null,
          "uOM": "100",
          "uOMsymbol": "Ud ",
          "productCategory": "9BE78BE519494875B84A004EFD4B5ADC",
          "taxCategory": "FF80818123B7FC160123B804AB88000B",
          "description": "Ultralight LED headlamp.",
          "obposScale": false,
          "groupProduct": true,
          "stocked": true,
          "showstock": false,
          "isGeneric": false,
          "generic_product_id": null,
          "brand": "121308E73E684428BF4E65B40629F0EF",
          "characteristicDescription": "Object: Headlamps, Price: < 20€, Range: 29m max, Weight: Under 1Kg, Battery Life: 120h max, Use: Hiking & Trekking",
          "showchdesc": true,
          "bestseller": true,
          "ispack": false,
          "listPrice": 18.9,
          "standardPrice": 18.9,
          "priceLimit": 18.9,
          "cost": 0,
          "algorithm": "S",
          "_identifier": "Headlamp ultralight",
          "_idx": 44
        },
        "productidentifier": null,
        "uOM": "100",
        "qty": 1,
        "price": 18.9,
        "priceList": 18.9,
        "gross": 18.9,
        "net": 15.62,
        "description": "",
        "id": "66A64AC2A4BFFD46BA47B709D918DDEE",
        "priceIncludesTax": true,
        "warehouse": {
          "id": "A154EC30A296479BB078B0AFFD74CA22",
          "warehousename": "Vall Blanca Store Warehouse"
        },
        "promotions": [],
        "grossListPrice": 18.9,
        "promotionCandidates": null,
        "promotionMessages": [],
        "noDiscountCandidates": true,
        "taxLines": {
          "5235D8E99A2749EFA17A5C92A52AEFC6": {
            "name": "Entregas IVA 21%",
            "rate": 21,
            "net": 15.62,
            "amount": 3.28
          }
        },
        "tax": "5235D8E99A2749EFA17A5C92A52AEFC6",
        "taxAmount": 3.28,
        "pricenet": 15.62,
        "discountedNet": 15.62,
        "linerate": 1.21,
        "discountPercentage": 0,
        "listPrice": 15.62,
        "standardPrice": 15.62,
        "grossUnitPrice": 18.9,
        "lineGrossAmount": 18.9
      }
    ],
    []
  ],
  "qty": [
    1,
    0
  ],
  "gross": [
    18.9,
    0
  ],
  "net": [
    15.62,
    0
  ],
  "taxes": {
    "5235D8E99A2749EFA17A5C92A52AEFC6": [
      {
        "name": "Entregas IVA 21%",
        "rate": 21,
        "net": 15.62,
        "amount": 3.28
      },
      null
    ]
  },
  "isBeingDiscounted": [
    false,
    null
  ],
  "reApplyDiscounts": [
    false,
    null
  ],
  "timezoneOffset": [
    -60,
    null
  ],
  "created": [
    1448017454971,
    null
  ],
  "obposCreatedabsolute": [
    "2015-11-20 12:04:14.971",
    null
  ],
  "movementDate": [
    "2015-11-20T11:04:15.255Z",
    null
  ],
  "accountingDate": [
    "2015-11-20T11:04:15.257Z",
    null
  ],
  "obposAppCashup": [
    "67810F033C2EC25AE6D9C251530E1173",
    null
  ]
}
; line: Object.receipt.trigger.callback (https://livebuilds.openbravo.com/retail_stable_pgsql_pi/web/js/gen/e67fbe7b814743cd4fbc26a73a680528_WebPOS.js:36053:20 [^]) (*,+)processConsoleLevel @ e67fbe7b814743cd4fbc26a73a680528_WebPOS.js:2522OB.error @ e67fbe7b814743cd4fbc26a73a680528_WebPOS.js:2552receipt.trigger.callback @ e67fbe7b814743cd4fbc26a73a680528_WebPOS.js:36053(anonymous function) @ e67fbe7b814743cd4fbc26a73a680528_WebPOS.js:27662
e67fbe7b814743cd4fbc26a73a680528_WebPOS.js:2522 The receipt has been modified while it was being closed:
{
  "id": [
    "7E28DDDB4FA47C2F106D1E269F49455B",
    "0E0D0FE92A723A8C041C68A5C1F41022"
  ],
  "orderType": [
    2,
    0
  ],
  "orderDate": [
    "2015-11-20T11:04:15.380Z",
    "2015-11-20T11:04:17.318Z"
  ],
  "creationDate": [
    "2015-11-20T11:04:14.971Z",
    null
  ],
  "documentnoSuffix": [
    82,
    85
  ],
  "documentNo": [
    "VBS1/0000082",
    "VBS1/0000085"
  ],
  "lines": [
    [
      {
        "product": {
          "originalStandardPrice": 18.9,
          "id": "9F9BC6229E5C48D38F935D7FD5F5BA94",
          "searchkey": "WVG/L0001",
          "uPCEAN": null,
          "uOM": "100",
          "uOMsymbol": "Ud ",
          "productCategory": "9BE78BE519494875B84A004EFD4B5ADC",
          "taxCategory": "FF80818123B7FC160123B804AB88000B",
          "description": "Ultralight LED headlamp.",
          "obposScale": false,
          "groupProduct": true,
          "stocked": true,
          "showstock": false,
          "isGeneric": false,
          "generic_product_id": null,
          "brand": "121308E73E684428BF4E65B40629F0EF",
          "characteristicDescription": "Object: Headlamps, Price: < 20€, Range: 29m max, Weight: Under 1Kg, Battery Life: 120h max, Use: Hiking & Trekking",
          "showchdesc": true,
          "bestseller": true,
          "ispack": false,
          "listPrice": 18.9,
          "standardPrice": 18.9,
          "priceLimit": 18.9,
          "cost": 0,
          "algorithm": "S",
          "_identifier": "Headlamp ultralight",
          "_idx": 44
        },
        "productidentifier": null,
        "uOM": "100",
        "qty": 1,
        "price": 18.9,
        "priceList": 18.9,
        "gross": 18.9,
        "net": 15.62,
        "description": "",
        "id": "66A64AC2A4BFFD46BA47B709D918DDEE",
        "priceIncludesTax": true,
        "warehouse": {
          "id": "A154EC30A296479BB078B0AFFD74CA22",
          "warehousename": "Vall Blanca Store Warehouse"
        },
        "promotions": [],
        "grossListPrice": 18.9,
        "promotionCandidates": null,
        "promotionMessages": [],
        "noDiscountCandidates": true,
        "taxLines": {
          "5235D8E99A2749EFA17A5C92A52AEFC6": {
            "name": "Entregas IVA 21%",
            "rate": 21,
            "net": 15.62,
            "amount": 3.28
          }
        },
        "tax": "5235D8E99A2749EFA17A5C92A52AEFC6",
        "taxAmount": 3.28,
        "pricenet": 15.62,
        "discountedNet": 15.62,
        "linerate": 1.21,
        "discountPercentage": 0,
        "listPrice": 15.62,
        "standardPrice": 15.62,
        "grossUnitPrice": 18.9,
        "lineGrossAmount": 18.9
      }
    ],
    []
  ],
  "qty": [
    1,
    0
  ],
  "gross": [
    18.9,
    0
  ],
  "net": [
    15.62,
    0
  ],
  "taxes": {
    "5235D8E99A2749EFA17A5C92A52AEFC6": [
      {
        "name": "Entregas IVA 21%",
        "rate": 21,
        "net": 15.62,
        "amount": 3.28
      },
      null
    ]
  },
  "isBeingDiscounted": [
    false,
    null
  ],
  "reApplyDiscounts": [
    false,
    null
  ],
  "timezoneOffset": [
    -60,
    null
  ],
  "created": [
    1448017454971,
    null
  ],
  "obposCreatedabsolute": [
    "2015-11-20 12:04:14.971",
    null
  ],
  "movementDate": [
    "2015-11-20T11:04:15.385Z",
    null
  ],
  "accountingDate": [
    "2015-11-20T11:04:15.388Z",
    null
  ],
  "obposAppCashup": [
    "67810F033C2EC25AE6D9C251530E1173",
    null
  ]
}
; line: Object.receipt.trigger.callback (https://livebuilds.openbravo.com/retail_stable_pgsql_pi/web/js/gen/e67fbe7b814743cd4fbc26a73a680528_WebPOS.js:36053:20 [^]) (*,+)processConsoleLevel @ e67fbe7b814743cd4fbc26a73a680528_WebPOS.js:2522OB.error @ e67fbe7b814743cd4fbc26a73a680528_WebPOS.js:2552receipt.trigger.callback @ e67fbe7b814743cd4fbc26a73a680528_WebPOS.js:36053(anonymous function) @ e67fbe7b814743cd4fbc26a73a680528_WebPOS.js:27662
e67fbe7b814743cd4fbc26a73a680528_WebPOS.js:2522 The receipt has been modified while it was being closed:
{
  "id": [
    "7E28DDDB4FA47C2F106D1E269F49455B",
    "9A1792E175FA564223C7423EE07ABD91"
  ],
  "orderType": [
    2,
    0
  ],
  "orderDate": [
    "2015-11-20T11:04:15.501Z",
    "2015-11-20T11:04:17.920Z"
  ],
  "creationDate": [
    "2015-11-20T11:04:14.971Z",
    null
  ],
  "documentnoSuffix": [
    82,
    86
  ],
  "documentNo": [
    "VBS1/0000082",
    "VBS1/0000086"
  ],
  "lines": [
    [
      {
        "product": {
          "originalStandardPrice": 18.9,
          "id": "9F9BC6229E5C48D38F935D7FD5F5BA94",
          "searchkey": "WVG/L0001",
          "uPCEAN": null,
          "uOM": "100",
          "uOMsymbol": "Ud ",
          "productCategory": "9BE78BE519494875B84A004EFD4B5ADC",
          "taxCategory": "FF80818123B7FC160123B804AB88000B",
          "description": "Ultralight LED headlamp.",
          "obposScale": false,
          "groupProduct": true,
          "stocked": true,
          "showstock": false,
          "isGeneric": false,
          "generic_product_id": null,
          "brand": "121308E73E684428BF4E65B40629F0EF",
          "characteristicDescription": "Object: Headlamps, Price: < 20€, Range: 29m max, Weight: Under 1Kg, Battery Life: 120h max, Use: Hiking & Trekking",
          "showchdesc": true,
          "bestseller": true,
          "ispack": false,
          "listPrice": 18.9,
          "standardPrice": 18.9,
          "priceLimit": 18.9,
          "cost": 0,
          "algorithm": "S",
          "_identifier": "Headlamp ultralight",
          "_idx": 44
        },
        "productidentifier": null,
        "uOM": "100",
        "qty": 1,
        "price": 18.9,
        "priceList": 18.9,
        "gross": 18.9,
        "net": 15.62,
        "description": "",
        "id": "66A64AC2A4BFFD46BA47B709D918DDEE",
        "priceIncludesTax": true,
        "warehouse": {
          "id": "A154EC30A296479BB078B0AFFD74CA22",
          "warehousename": "Vall Blanca Store Warehouse"
        },
        "promotions": [],
        "grossListPrice": 18.9,
        "promotionCandidates": null,
        "promotionMessages": [],
        "noDiscountCandidates": true,
        "taxLines": {
          "5235D8E99A2749EFA17A5C92A52AEFC6": {
            "name": "Entregas IVA 21%",
            "rate": 21,
            "net": 15.62,
            "amount": 3.28
          }
        },
        "tax": "5235D8E99A2749EFA17A5C92A52AEFC6",
        "taxAmount": 3.28,
        "pricenet": 15.62,
        "discountedNet": 15.62,
        "linerate": 1.21,
        "discountPercentage": 0,
        "listPrice": 15.62,
        "standardPrice": 15.62,
        "grossUnitPrice": 18.9,
        "lineGrossAmount": 18.9
      }
    ],
    []
  ],
  "qty": [
    1,
    0
  ],
  "gross": [
    18.9,
    0
  ],
  "net": [
    15.62,
    0
  ],
  "taxes": {
    "5235D8E99A2749EFA17A5C92A52AEFC6": [
      {
        "name": "Entregas IVA 21%",
        "rate": 21,
        "net": 15.62,
        "amount": 3.28
      },
      null
    ]
  },
  "isBeingDiscounted": [
    false,
    null
  ],
  "reApplyDiscounts": [
    false,
    null
  ],
  "timezoneOffset": [
    -60,
    null
  ],
  "created": [
    1448017454971,
    null
  ],
  "obposCreatedabsolute": [
    "2015-11-20 12:04:14.971",
    null
  ],
  "movementDate": [
    "2015-11-20T11:04:15.507Z",
    null
  ],
  "accountingDate": [
    "2015-11-20T11:04:15.507Z",
    null
  ],
  "obposAppCashup": [
    "67810F033C2EC25AE6D9C251530E1173",
    null
  ]
}
; line: Object.receipt.trigger.callback (https://livebuilds.openbravo.com/retail_stable_pgsql_pi/web/js/gen/e67fbe7b814743cd4fbc26a73a680528_WebPOS.js:36053:20 [^]) (*,+)processConsoleLevel @ e67fbe7b814743cd4fbc26a73a680528_WebPOS.js:2522OB.error @ e67fbe7b814743cd4fbc26a73a680528_WebPOS.js:2552receipt.trigger.callback @ e67fbe7b814743cd4fbc26a73a680528_WebPOS.js:36053(anonymous function) @ e67fbe7b814743cd4fbc26a73a680528_WebPOS.js:27662
e67fbe7b814743cd4fbc26a73a680528_WebPOS.js:2522 The receipt has been modified while it was being closed:
{
  "id": [
    "7E28DDDB4FA47C2F106D1E269F49455B",
    "47D343BA761C309A54FACED7C7BBAB17"
  ],
  "orderType": [
    2,
    0
  ],
  "orderDate": [
    "2015-11-20T11:04:15.773Z",
    "2015-11-20T11:04:18.595Z"
  ],
  "creationDate": [
    "2015-11-20T11:04:14.971Z",
    null
  ],
  "documentnoSuffix": [
    82,
    87
  ],
  "documentNo": [
    "VBS1/0000082",
    "VBS1/0000087"
  ],
  "lines": [
    [
      {
        "product": {
          "originalStandardPrice": 18.9,
          "id": "9F9BC6229E5C48D38F935D7FD5F5BA94",
          "searchkey": "WVG/L0001",
          "uPCEAN": null,
          "uOM": "100",
          "uOMsymbol": "Ud ",
          "productCategory": "9BE78BE519494875B84A004EFD4B5ADC",
          "taxCategory": "FF80818123B7FC160123B804AB88000B",
          "description": "Ultralight LED headlamp.",
          "obposScale": false,
          "groupProduct": true,
          "stocked": true,
          "showstock": false,
          "isGeneric": false,
          "generic_product_id": null,
          "brand": "121308E73E684428BF4E65B40629F0EF",
          "characteristicDescription": "Object: Headlamps, Price: < 20€, Range: 29m max, Weight: Under 1Kg, Battery Life: 120h max, Use: Hiking & Trekking",
          "showchdesc": true,
          "bestseller": true,
          "ispack": false,
          "listPrice": 18.9,
          "standardPrice": 18.9,
          "priceLimit": 18.9,
          "cost": 0,
          "algorithm": "S",
          "_identifier": "Headlamp ultralight",
          "_idx": 44
        },
        "productidentifier": null,
        "uOM": "100",
        "qty": 1,
        "price": 18.9,
        "priceList": 18.9,
        "gross": 18.9,
        "net": 15.62,
        "description": "",
        "id": "66A64AC2A4BFFD46BA47B709D918DDEE",
        "priceIncludesTax": true,
        "warehouse": {
          "id": "A154EC30A296479BB078B0AFFD74CA22",
          "warehousename": "Vall Blanca Store Warehouse"
        },
        "promotions": [],
        "grossListPrice": 18.9,
        "promotionCandidates": null,
        "promotionMessages": [],
        "noDiscountCandidates": true,
        "taxLines": {
          "5235D8E99A2749EFA17A5C92A52AEFC6": {
            "name": "Entregas IVA 21%",
            "rate": 21,
            "net": 15.62,
            "amount": 3.28
          }
        },
        "tax": "5235D8E99A2749EFA17A5C92A52AEFC6",
        "taxAmount": 3.28,
        "pricenet": 15.62,
        "discountedNet": 15.62,
        "linerate": 1.21,
        "discountPercentage": 0,
        "listPrice": 15.62,
        "standardPrice": 15.62,
        "grossUnitPrice": 18.9,
        "lineGrossAmount": 18.9
      }
    ],
    []
  ],
  "qty": [
    1,
    0
  ],
  "gross": [
    18.9,
    0
  ],
  "net": [
    15.62,
    0
  ],
  "taxes": {
    "5235D8E99A2749EFA17A5C92A52AEFC6": [
      {
        "name": "Entregas IVA 21%",
        "rate": 21,
        "net": 15.62,
        "amount": 3.28
      },
      null
    ]
  },
  "isBeingDiscounted": [
    false,
    null
  ],
  "reApplyDiscounts": [
    false,
    null
  ],
  "timezoneOffset": [
    -60,
    null
  ],
  "created": [
    1448017454971,
    null
  ],
  "obposCreatedabsolute": [
    "2015-11-20 12:04:14.971",
    null
  ],
  "movementDate": [
    "2015-11-20T11:04:15.776Z",
    null
  ],
  "accountingDate": [
    "2015-11-20T11:04:15.777Z",
    null
  ],
  "obposAppCashup": [
    "67810F033C2EC25AE6D9C251530E1173",
    null
  ]
}
; line: Object.receipt.trigger.callback (https://livebuilds.openbravo.com/retail_stable_pgsql_pi/web/js/gen/e67fbe7b814743cd4fbc26a73a680528_WebPOS.js:36053:20 [^]) (*,+)processConsoleLevel @ e67fbe7b814743cd4fbc26a73a680528_WebPOS.js:2522OB.error @ e67fbe7b814743cd4fbc26a73a680528_WebPOS.js:2552receipt.trigger.callback @ e67fbe7b814743cd4fbc26a73a680528_WebPOS.js:36053(anonymous function) @ e67fbe7b814743cd4fbc26a73a680528_WebPOS.js:27662
e67fbe7b814743cd4fbc26a73a680528_WebPOS.js:2522 Could not purge the 'c_order' table. Error message: OB.Dal.remove: an object without primary key cannot be deleted; line: https://livebuilds.openbravo.com/retail_stable_pgsql_pi/web/js/gen/e67fbe7b814743cd4fbc26a73a680528_WebPOS.js:6375:18 [^] (*,+)processConsoleLevel @ e67fbe7b814743cd4fbc26a73a680528_WebPOS.js:2522OB.error @ e67fbe7b814743cd4fbc26a73a680528_WebPOS.js:2552(anonymous function) @ e67fbe7b814743cd4fbc26a73a680528_WebPOS.js:6375
----------------------------------------------------
Revision 2015-11-20 12:40 by lorenzofidalgo
Steps To Reproduce 0-Login POS as vallblanca.
1-Add a product to the receipt.
2-In dropdown menu, click "Layaway this Receipt".
3-Click Total Amount button.
4-Open Chrome console.
5-Click quickly several times in "Layaway" button.
6-Defect: Watch errors in chrome console.
7-Defect: Go to "Layaways" section in dropdown menu. Watch the just created layaway does not appear.

Revision 2015-11-20 12:40 by lorenzofidalgo
Description When a receipt is going to be laid away, clicking more than once in "Layaway" button induces several visible errors in chrome console. Besides, the receipt does not appear in "Layaways" section. It is not saved.
This issue is reproducible in pi, main & RR15Q4, but this is working correctly in RR15Q3.2

Some of the logs of the console are:
----------------------------------------------------
The receipt has been modified while it was being closed:
{
  "orderDate": [
    "2015-11-20T11:04:14.970Z",
    "2015-11-20T11:04:15.773Z"
  ],
  "movementDate": [
    "2015-11-20T11:04:14.976Z",
    "2015-11-20T11:04:15.776Z"
  ],
  "accountingDate": [
    "2015-11-20T11:04:14.976Z",
    "2015-11-20T11:04:15.777Z"
  ]
}
; line: Object.receipt.trigger.callback (https://livebuilds.openbravo.com/retail_stable_pgsql_pi/web/js/gen/e67fbe7b814743cd4fbc26a73a680528_WebPOS.js:36053:20 [^]) (*,+)processConsoleLevel @ e67fbe7b814743cd4fbc26a73a680528_WebPOS.js:2522OB.error @ e67fbe7b814743cd4fbc26a73a680528_WebPOS.js:2552receipt.trigger.callback @ e67fbe7b814743cd4fbc26a73a680528_WebPOS.js:36053(anonymous function) @ e67fbe7b814743cd4fbc26a73a680528_WebPOS.js:27662
e67fbe7b814743cd4fbc26a73a680528_WebPOS.js:2522 The receipt has been modified while it was being closed:
{
  "id": [
    "7E28DDDB4FA47C2F106D1E269F49455B",
    "21D1EBA9B09C396D08C0B1196AC33C23"
  ],
  "orderType": [
    2,
    0
  ],
  "orderDate": [
    "2015-11-20T11:04:15.122Z",
    "2015-11-20T11:04:15.891Z"
  ],
  "creationDate": [
    "2015-11-20T11:04:14.971Z",
    null
  ],
  "documentnoSuffix": [
    82,
    83
  ],
  "documentNo": [
    "VBS1/0000082",
    "VBS1/0000083"
  ],
  "lines": [
    [
      {
        "product": {
          "originalStandardPrice": 18.9,
          "id": "9F9BC6229E5C48D38F935D7FD5F5BA94",
          "searchkey": "WVG/L0001",
          "uPCEAN": null,
          "uOM": "100",
          "uOMsymbol": "Ud ",
          "productCategory": "9BE78BE519494875B84A004EFD4B5ADC",
          "taxCategory": "FF80818123B7FC160123B804AB88000B",
          "description": "Ultralight LED headlamp.",
          "obposScale": false,
          "groupProduct": true,
          "stocked": true,
          "showstock": false,
          "isGeneric": false,
          "generic_product_id": null,
          "brand": "121308E73E684428BF4E65B40629F0EF",
          "characteristicDescription": "Object: Headlamps, Price: < 20€, Range: 29m max, Weight: Under 1Kg, Battery Life: 120h max, Use: Hiking & Trekking",
          "showchdesc": true,
          "bestseller": true,
          "ispack": false,
          "listPrice": 18.9,
          "standardPrice": 18.9,
          "priceLimit": 18.9,
          "cost": 0,
          "algorithm": "S",
          "_identifier": "Headlamp ultralight",
          "_idx": 44
        },
        "productidentifier": null,
        "uOM": "100",
        "qty": 1,
        "price": 18.9,
        "priceList": 18.9,
        "gross": 18.9,
        "net": 15.62,
        "description": "",
        "id": "66A64AC2A4BFFD46BA47B709D918DDEE",
        "priceIncludesTax": true,
        "warehouse": {
          "id": "A154EC30A296479BB078B0AFFD74CA22",
          "warehousename": "Vall Blanca Store Warehouse"
        },
        "promotions": [],
        "grossListPrice": 18.9,
        "promotionCandidates": null,
        "promotionMessages": [],
        "noDiscountCandidates": true,
        "taxLines": {
          "5235D8E99A2749EFA17A5C92A52AEFC6": {
            "name": "Entregas IVA 21%",
            "rate": 21,
            "net": 15.62,
            "amount": 3.28
          }
        },
        "tax": "5235D8E99A2749EFA17A5C92A52AEFC6",
        "taxAmount": 3.28,
        "pricenet": 15.62,
        "discountedNet": 15.62,
        "linerate": 1.21,
        "discountPercentage": 0,
        "listPrice": 15.62,
        "standardPrice": 15.62,
        "grossUnitPrice": 18.9,
        "lineGrossAmount": 18.9
      }
    ],
    []
  ],
  "qty": [
    1,
    0
  ],
  "gross": [
    18.9,
    0
  ],
  "net": [
    15.62,
    0
  ],
  "taxes": {
    "5235D8E99A2749EFA17A5C92A52AEFC6": [
      {
        "name": "Entregas IVA 21%",
        "rate": 21,
        "net": 15.62,
        "amount": 3.28
      },
      null
    ]
  },
  "isBeingDiscounted": [
    false,
    null
  ],
  "reApplyDiscounts": [
    false,
    null
  ],
  "timezoneOffset": [
    -60,
    null
  ],
  "created": [
    1448017454971,
    null
  ],
  "obposCreatedabsolute": [
    "2015-11-20 12:04:14.971",
    null
  ],
  "movementDate": [
    "2015-11-20T11:04:15.129Z",
    null
  ],
  "accountingDate": [
    "2015-11-20T11:04:15.129Z",
    null
  ],
  "obposAppCashup": [
    "67810F033C2EC25AE6D9C251530E1173",
    null
  ]
}
; line: Object.receipt.trigger.callback (https://livebuilds.openbravo.com/retail_stable_pgsql_pi/web/js/gen/e67fbe7b814743cd4fbc26a73a680528_WebPOS.js:36053:20 [^]) (*,+)processConsoleLevel @ e67fbe7b814743cd4fbc26a73a680528_WebPOS.js:2522OB.error @ e67fbe7b814743cd4fbc26a73a680528_WebPOS.js:2552receipt.trigger.callback @ e67fbe7b814743cd4fbc26a73a680528_WebPOS.js:36053(anonymous function) @ e67fbe7b814743cd4fbc26a73a680528_WebPOS.js:27662
e67fbe7b814743cd4fbc26a73a680528_WebPOS.js:2522 The receipt has been modified while it was being closed:
{
  "id": [
    "7E28DDDB4FA47C2F106D1E269F49455B",
    "9796B17FF906339153639CFF4AA4819B"
  ],
  "orderType": [
    2,
    0
  ],
  "orderDate": [
    "2015-11-20T11:04:15.252Z",
    "2015-11-20T11:04:16.588Z"
  ],
  "creationDate": [
    "2015-11-20T11:04:14.971Z",
    null
  ],
  "documentnoSuffix": [
    82,
    84
  ],
  "documentNo": [
    "VBS1/0000082",
    "VBS1/0000084"
  ],
  "lines": [
    [
      {
        "product": {
          "originalStandardPrice": 18.9,
          "id": "9F9BC6229E5C48D38F935D7FD5F5BA94",
          "searchkey": "WVG/L0001",
          "uPCEAN": null,
          "uOM": "100",
          "uOMsymbol": "Ud ",
          "productCategory": "9BE78BE519494875B84A004EFD4B5ADC",
          "taxCategory": "FF80818123B7FC160123B804AB88000B",
          "description": "Ultralight LED headlamp.",
          "obposScale": false,
          "groupProduct": true,
          "stocked": true,
          "showstock": false,
          "isGeneric": false,
          "generic_product_id": null,
          "brand": "121308E73E684428BF4E65B40629F0EF",
          "characteristicDescription": "Object: Headlamps, Price: < 20€, Range: 29m max, Weight: Under 1Kg, Battery Life: 120h max, Use: Hiking & Trekking",
          "showchdesc": true,
          "bestseller": true,
          "ispack": false,
          "listPrice": 18.9,
          "standardPrice": 18.9,
          "priceLimit": 18.9,
          "cost": 0,
          "algorithm": "S",
          "_identifier": "Headlamp ultralight",
          "_idx": 44
        },
        "productidentifier": null,
        "uOM": "100",
        "qty": 1,
        "price": 18.9,
        "priceList": 18.9,
        "gross": 18.9,
        "net": 15.62,
        "description": "",
        "id": "66A64AC2A4BFFD46BA47B709D918DDEE",
        "priceIncludesTax": true,
        "warehouse": {
          "id": "A154EC30A296479BB078B0AFFD74CA22",
          "warehousename": "Vall Blanca Store Warehouse"
        },
        "promotions": [],
        "grossListPrice": 18.9,
        "promotionCandidates": null,
        "promotionMessages": [],
        "noDiscountCandidates": true,
        "taxLines": {
          "5235D8E99A2749EFA17A5C92A52AEFC6": {
            "name": "Entregas IVA 21%",
            "rate": 21,
            "net": 15.62,
            "amount": 3.28
          }
        },
        "tax": "5235D8E99A2749EFA17A5C92A52AEFC6",
        "taxAmount": 3.28,
        "pricenet": 15.62,
        "discountedNet": 15.62,
        "linerate": 1.21,
        "discountPercentage": 0,
        "listPrice": 15.62,
        "standardPrice": 15.62,
        "grossUnitPrice": 18.9,
        "lineGrossAmount": 18.9
      }
    ],
    []
  ],
  "qty": [
    1,
    0
  ],
  "gross": [
    18.9,
    0
  ],
  "net": [
    15.62,
    0
  ],
  "taxes": {
    "5235D8E99A2749EFA17A5C92A52AEFC6": [
      {
        "name": "Entregas IVA 21%",
        "rate": 21,
        "net": 15.62,
        "amount": 3.28
      },
      null
    ]
  },
  "isBeingDiscounted": [
    false,
    null
  ],
  "reApplyDiscounts": [
    false,
    null
  ],
  "timezoneOffset": [
    -60,
    null
  ],
  "created": [
    1448017454971,
    null
  ],
  "obposCreatedabsolute": [
    "2015-11-20 12:04:14.971",
    null
  ],
  "movementDate": [
    "2015-11-20T11:04:15.255Z",
    null
  ],
  "accountingDate": [
    "2015-11-20T11:04:15.257Z",
    null
  ],
  "obposAppCashup": [
    "67810F033C2EC25AE6D9C251530E1173",
    null
  ]
}
; line: Object.receipt.trigger.callback (https://livebuilds.openbravo.com/retail_stable_pgsql_pi/web/js/gen/e67fbe7b814743cd4fbc26a73a680528_WebPOS.js:36053:20 [^]) (*,+)processConsoleLevel @ e67fbe7b814743cd4fbc26a73a680528_WebPOS.js:2522OB.error @ e67fbe7b814743cd4fbc26a73a680528_WebPOS.js:2552receipt.trigger.callback @ e67fbe7b814743cd4fbc26a73a680528_WebPOS.js:36053(anonymous function) @ e67fbe7b814743cd4fbc26a73a680528_WebPOS.js:27662
e67fbe7b814743cd4fbc26a73a680528_WebPOS.js:2522 The receipt has been modified while it was being closed:
{
  "id": [
    "7E28DDDB4FA47C2F106D1E269F49455B",
    "0E0D0FE92A723A8C041C68A5C1F41022"
  ],
  "orderType": [
    2,
    0
  ],
  "orderDate": [
    "2015-11-20T11:04:15.380Z",
    "2015-11-20T11:04:17.318Z"
  ],
  "creationDate": [
    "2015-11-20T11:04:14.971Z",
    null
  ],
  "documentnoSuffix": [
    82,
    85
  ],
  "documentNo": [
    "VBS1/0000082",
    "VBS1/0000085"
  ],
  "lines": [
    [
      {
        "product": {
          "originalStandardPrice": 18.9,
          "id": "9F9BC6229E5C48D38F935D7FD5F5BA94",
          "searchkey": "WVG/L0001",
          "uPCEAN": null,
          "uOM": "100",
          "uOMsymbol": "Ud ",
          "productCategory": "9BE78BE519494875B84A004EFD4B5ADC",
          "taxCategory": "FF80818123B7FC160123B804AB88000B",
          "description": "Ultralight LED headlamp.",
          "obposScale": false,
          "groupProduct": true,
          "stocked": true,
          "showstock": false,
          "isGeneric": false,
          "generic_product_id": null,
          "brand": "121308E73E684428BF4E65B40629F0EF",
          "characteristicDescription": "Object: Headlamps, Price: < 20€, Range: 29m max, Weight: Under 1Kg, Battery Life: 120h max, Use: Hiking & Trekking",
          "showchdesc": true,
          "bestseller": true,
          "ispack": false,
          "listPrice": 18.9,
          "standardPrice": 18.9,
          "priceLimit": 18.9,
          "cost": 0,
          "algorithm": "S",
          "_identifier": "Headlamp ultralight",
          "_idx": 44
        },
        "productidentifier": null,
        "uOM": "100",
        "qty": 1,
        "price": 18.9,
        "priceList": 18.9,
        "gross": 18.9,
        "net": 15.62,
        "description": "",
        "id": "66A64AC2A4BFFD46BA47B709D918DDEE",
        "priceIncludesTax": true,
        "warehouse": {
          "id": "A154EC30A296479BB078B0AFFD74CA22",
          "warehousename": "Vall Blanca Store Warehouse"
        },
        "promotions": [],
        "grossListPrice": 18.9,
        "promotionCandidates": null,
        "promotionMessages": [],
        "noDiscountCandidates": true,
        "taxLines": {
          "5235D8E99A2749EFA17A5C92A52AEFC6": {
            "name": "Entregas IVA 21%",
            "rate": 21,
            "net": 15.62,
            "amount": 3.28
          }
        },
        "tax": "5235D8E99A2749EFA17A5C92A52AEFC6",
        "taxAmount": 3.28,
        "pricenet": 15.62,
        "discountedNet": 15.62,
        "linerate": 1.21,
        "discountPercentage": 0,
        "listPrice": 15.62,
        "standardPrice": 15.62,
        "grossUnitPrice": 18.9,
        "lineGrossAmount": 18.9
      }
    ],
    []
  ],
  "qty": [
    1,
    0
  ],
  "gross": [
    18.9,
    0
  ],
  "net": [
    15.62,
    0
  ],
  "taxes": {
    "5235D8E99A2749EFA17A5C92A52AEFC6": [
      {
        "name": "Entregas IVA 21%",
        "rate": 21,
        "net": 15.62,
        "amount": 3.28
      },
      null
    ]
  },
  "isBeingDiscounted": [
    false,
    null
  ],
  "reApplyDiscounts": [
    false,
    null
  ],
  "timezoneOffset": [
    -60,
    null
  ],
  "created": [
    1448017454971,
    null
  ],
  "obposCreatedabsolute": [
    "2015-11-20 12:04:14.971",
    null
  ],
  "movementDate": [
    "2015-11-20T11:04:15.385Z",
    null
  ],
  "accountingDate": [
    "2015-11-20T11:04:15.388Z",
    null
  ],
  "obposAppCashup": [
    "67810F033C2EC25AE6D9C251530E1173",
    null
  ]
}
; line: Object.receipt.trigger.callback (https://livebuilds.openbravo.com/retail_stable_pgsql_pi/web/js/gen/e67fbe7b814743cd4fbc26a73a680528_WebPOS.js:36053:20 [^]) (*,+)processConsoleLevel @ e67fbe7b814743cd4fbc26a73a680528_WebPOS.js:2522OB.error @ e67fbe7b814743cd4fbc26a73a680528_WebPOS.js:2552receipt.trigger.callback @ e67fbe7b814743cd4fbc26a73a680528_WebPOS.js:36053(anonymous function) @ e67fbe7b814743cd4fbc26a73a680528_WebPOS.js:27662
e67fbe7b814743cd4fbc26a73a680528_WebPOS.js:2522 The receipt has been modified while it was being closed:
{
  "id": [
    "7E28DDDB4FA47C2F106D1E269F49455B",
    "9A1792E175FA564223C7423EE07ABD91"
  ],
  "orderType": [
    2,
    0
  ],
  "orderDate": [
    "2015-11-20T11:04:15.501Z",
    "2015-11-20T11:04:17.920Z"
  ],
  "creationDate": [
    "2015-11-20T11:04:14.971Z",
    null
  ],
  "documentnoSuffix": [
    82,
    86
  ],
  "documentNo": [
    "VBS1/0000082",
    "VBS1/0000086"
  ],
  "lines": [
    [
      {
        "product": {
          "originalStandardPrice": 18.9,
          "id": "9F9BC6229E5C48D38F935D7FD5F5BA94",
          "searchkey": "WVG/L0001",
          "uPCEAN": null,
          "uOM": "100",
          "uOMsymbol": "Ud ",
          "productCategory": "9BE78BE519494875B84A004EFD4B5ADC",
          "taxCategory": "FF80818123B7FC160123B804AB88000B",
          "description": "Ultralight LED headlamp.",
          "obposScale": false,
          "groupProduct": true,
          "stocked": true,
          "showstock": false,
          "isGeneric": false,
          "generic_product_id": null,
          "brand": "121308E73E684428BF4E65B40629F0EF",
          "characteristicDescription": "Object: Headlamps, Price: < 20€, Range: 29m max, Weight: Under 1Kg, Battery Life: 120h max, Use: Hiking & Trekking",
          "showchdesc": true,
          "bestseller": true,
          "ispack": false,
          "listPrice": 18.9,
          "standardPrice": 18.9,
          "priceLimit": 18.9,
          "cost": 0,
          "algorithm": "S",
          "_identifier": "Headlamp ultralight",
          "_idx": 44
        },
        "productidentifier": null,
        "uOM": "100",
        "qty": 1,
        "price": 18.9,
        "priceList": 18.9,
        "gross": 18.9,
        "net": 15.62,
        "description": "",
        "id": "66A64AC2A4BFFD46BA47B709D918DDEE",
        "priceIncludesTax": true,
        "warehouse": {
          "id": "A154EC30A296479BB078B0AFFD74CA22",
          "warehousename": "Vall Blanca Store Warehouse"
        },
        "promotions": [],
        "grossListPrice": 18.9,
        "promotionCandidates": null,
        "promotionMessages": [],
        "noDiscountCandidates": true,
        "taxLines": {
          "5235D8E99A2749EFA17A5C92A52AEFC6": {
            "name": "Entregas IVA 21%",
            "rate": 21,
            "net": 15.62,
            "amount": 3.28
          }
        },
        "tax": "5235D8E99A2749EFA17A5C92A52AEFC6",
        "taxAmount": 3.28,
        "pricenet": 15.62,
        "discountedNet": 15.62,
        "linerate": 1.21,
        "discountPercentage": 0,
        "listPrice": 15.62,
        "standardPrice": 15.62,
        "grossUnitPrice": 18.9,
        "lineGrossAmount": 18.9
      }
    ],
    []
  ],
  "qty": [
    1,
    0
  ],
  "gross": [
    18.9,
    0
  ],
  "net": [
    15.62,
    0
  ],
  "taxes": {
    "5235D8E99A2749EFA17A5C92A52AEFC6": [
      {
        "name": "Entregas IVA 21%",
        "rate": 21,
        "net": 15.62,
        "amount": 3.28
      },
      null
    ]
  },
  "isBeingDiscounted": [
    false,
    null
  ],
  "reApplyDiscounts": [
    false,
    null
  ],
  "timezoneOffset": [
    -60,
    null
  ],
  "created": [
    1448017454971,
    null
  ],
  "obposCreatedabsolute": [
    "2015-11-20 12:04:14.971",
    null
  ],
  "movementDate": [
    "2015-11-20T11:04:15.507Z",
    null
  ],
  "accountingDate": [
    "2015-11-20T11:04:15.507Z",
    null
  ],
  "obposAppCashup": [
    "67810F033C2EC25AE6D9C251530E1173",
    null
  ]
}
; line: Object.receipt.trigger.callback (https://livebuilds.openbravo.com/retail_stable_pgsql_pi/web/js/gen/e67fbe7b814743cd4fbc26a73a680528_WebPOS.js:36053:20 [^]) (*,+)processConsoleLevel @ e67fbe7b814743cd4fbc26a73a680528_WebPOS.js:2522OB.error @ e67fbe7b814743cd4fbc26a73a680528_WebPOS.js:2552receipt.trigger.callback @ e67fbe7b814743cd4fbc26a73a680528_WebPOS.js:36053(anonymous function) @ e67fbe7b814743cd4fbc26a73a680528_WebPOS.js:27662
e67fbe7b814743cd4fbc26a73a680528_WebPOS.js:2522 The receipt has been modified while it was being closed:
{
  "id": [
    "7E28DDDB4FA47C2F106D1E269F49455B",
    "47D343BA761C309A54FACED7C7BBAB17"
  ],
  "orderType": [
    2,
    0
  ],
  "orderDate": [
    "2015-11-20T11:04:15.773Z",
    "2015-11-20T11:04:18.595Z"
  ],
  "creationDate": [
    "2015-11-20T11:04:14.971Z",
    null
  ],
  "documentnoSuffix": [
    82,
    87
  ],
  "documentNo": [
    "VBS1/0000082",
    "VBS1/0000087"
  ],
  "lines": [
    [
      {
        "product": {
          "originalStandardPrice": 18.9,
          "id": "9F9BC6229E5C48D38F935D7FD5F5BA94",
          "searchkey": "WVG/L0001",
          "uPCEAN": null,
          "uOM": "100",
          "uOMsymbol": "Ud ",
          "productCategory": "9BE78BE519494875B84A004EFD4B5ADC",
          "taxCategory": "FF80818123B7FC160123B804AB88000B",
          "description": "Ultralight LED headlamp.",
          "obposScale": false,
          "groupProduct": true,
          "stocked": true,
          "showstock": false,
          "isGeneric": false,
          "generic_product_id": null,
          "brand": "121308E73E684428BF4E65B40629F0EF",
          "characteristicDescription": "Object: Headlamps, Price: < 20€, Range: 29m max, Weight: Under 1Kg, Battery Life: 120h max, Use: Hiking & Trekking",
          "showchdesc": true,
          "bestseller": true,
          "ispack": false,
          "listPrice": 18.9,
          "standardPrice": 18.9,
          "priceLimit": 18.9,
          "cost": 0,
          "algorithm": "S",
          "_identifier": "Headlamp ultralight",
          "_idx": 44
        },
        "productidentifier": null,
        "uOM": "100",
        "qty": 1,
        "price": 18.9,
        "priceList": 18.9,
        "gross": 18.9,
        "net": 15.62,
        "description": "",
        "id": "66A64AC2A4BFFD46BA47B709D918DDEE",
        "priceIncludesTax": true,
        "warehouse": {
          "id": "A154EC30A296479BB078B0AFFD74CA22",
          "warehousename": "Vall Blanca Store Warehouse"
        },
        "promotions": [],
        "grossListPrice": 18.9,
        "promotionCandidates": null,
        "promotionMessages": [],
        "noDiscountCandidates": true,
        "taxLines": {
          "5235D8E99A2749EFA17A5C92A52AEFC6": {
            "name": "Entregas IVA 21%",
            "rate": 21,
            "net": 15.62,
            "amount": 3.28
          }
        },
        "tax": "5235D8E99A2749EFA17A5C92A52AEFC6",
        "taxAmount": 3.28,
        "pricenet": 15.62,
        "discountedNet": 15.62,
        "linerate": 1.21,
        "discountPercentage": 0,
        "listPrice": 15.62,
        "standardPrice": 15.62,
        "grossUnitPrice": 18.9,
        "lineGrossAmount": 18.9
      }
    ],
    []
  ],
  "qty": [
    1,
    0
  ],
  "gross": [
    18.9,
    0
  ],
  "net": [
    15.62,
    0
  ],
  "taxes": {
    "5235D8E99A2749EFA17A5C92A52AEFC6": [
      {
        "name": "Entregas IVA 21%",
        "rate": 21,
        "net": 15.62,
        "amount": 3.28
      },
      null
    ]
  },
  "isBeingDiscounted": [
    false,
    null
  ],
  "reApplyDiscounts": [
    false,
    null
  ],
  "timezoneOffset": [
    -60,
    null
  ],
  "created": [
    1448017454971,
    null
  ],
  "obposCreatedabsolute": [
    "2015-11-20 12:04:14.971",
    null
  ],
  "movementDate": [
    "2015-11-20T11:04:15.776Z",
    null
  ],
  "accountingDate": [
    "2015-11-20T11:04:15.777Z",
    null
  ],
  "obposAppCashup": [
    "67810F033C2EC25AE6D9C251530E1173",
    null
  ]
}
; line: Object.receipt.trigger.callback (https://livebuilds.openbravo.com/retail_stable_pgsql_pi/web/js/gen/e67fbe7b814743cd4fbc26a73a680528_WebPOS.js:36053:20 [^]) (*,+)processConsoleLevel @ e67fbe7b814743cd4fbc26a73a680528_WebPOS.js:2522OB.error @ e67fbe7b814743cd4fbc26a73a680528_WebPOS.js:2552receipt.trigger.callback @ e67fbe7b814743cd4fbc26a73a680528_WebPOS.js:36053(anonymous function) @ e67fbe7b814743cd4fbc26a73a680528_WebPOS.js:27662
e67fbe7b814743cd4fbc26a73a680528_WebPOS.js:2522 Could not purge the 'c_order' table. Error message: OB.Dal.remove: an object without primary key cannot be deleted; line: https://livebuilds.openbravo.com/retail_stable_pgsql_pi/web/js/gen/e67fbe7b814743cd4fbc26a73a680528_WebPOS.js:6375:18 [^] (*,+)processConsoleLevel @ e67fbe7b814743cd4fbc26a73a680528_WebPOS.js:2522OB.error @ e67fbe7b814743cd4fbc26a73a680528_WebPOS.js:2552(anonymous function) @ e67fbe7b814743cd4fbc26a73a680528_WebPOS.js:6375
----------------------------------------------------
Revision 2015-11-20 12:16 by lorenzofidalgo
Steps To Reproduce 0-Login POS as vallblanca.
1-Add a product to the receipt.
2-In dropdown menu, click "Layaway this Receipt".
3-Click Total Amount button.
4-Open Chrome console.
5-Click quickly several times in "Layaway" button.
6-Defect: Watch errors in chrome console.

Revision 2015-11-20 12:16 by lorenzofidalgo
Description When a receipt is going to be laid away, clicking more than once in "Layaway" button induces several visible errors in chrome console.
This issue is reproducible in pi, main & RR15Q4, but this is working correctly in RR15Q3.2

Some of the logs of the console are:
----------------------------------------------------
The receipt has been modified while it was being closed:
{
  "orderDate": [
    "2015-11-20T11:04:14.970Z",
    "2015-11-20T11:04:15.773Z"
  ],
  "movementDate": [
    "2015-11-20T11:04:14.976Z",
    "2015-11-20T11:04:15.776Z"
  ],
  "accountingDate": [
    "2015-11-20T11:04:14.976Z",
    "2015-11-20T11:04:15.777Z"
  ]
}
; line: Object.receipt.trigger.callback (https://livebuilds.openbravo.com/retail_stable_pgsql_pi/web/js/gen/e67fbe7b814743cd4fbc26a73a680528_WebPOS.js:36053:20 [^]) (*,+)processConsoleLevel @ e67fbe7b814743cd4fbc26a73a680528_WebPOS.js:2522OB.error @ e67fbe7b814743cd4fbc26a73a680528_WebPOS.js:2552receipt.trigger.callback @ e67fbe7b814743cd4fbc26a73a680528_WebPOS.js:36053(anonymous function) @ e67fbe7b814743cd4fbc26a73a680528_WebPOS.js:27662
e67fbe7b814743cd4fbc26a73a680528_WebPOS.js:2522 The receipt has been modified while it was being closed:
{
  "id": [
    "7E28DDDB4FA47C2F106D1E269F49455B",
    "21D1EBA9B09C396D08C0B1196AC33C23"
  ],
  "orderType": [
    2,
    0
  ],
  "orderDate": [
    "2015-11-20T11:04:15.122Z",
    "2015-11-20T11:04:15.891Z"
  ],
  "creationDate": [
    "2015-11-20T11:04:14.971Z",
    null
  ],
  "documentnoSuffix": [
    82,
    83
  ],
  "documentNo": [
    "VBS1/0000082",
    "VBS1/0000083"
  ],
  "lines": [
    [
      {
        "product": {
          "originalStandardPrice": 18.9,
          "id": "9F9BC6229E5C48D38F935D7FD5F5BA94",
          "searchkey": "WVG/L0001",
          "uPCEAN": null,
          "uOM": "100",
          "uOMsymbol": "Ud ",
          "productCategory": "9BE78BE519494875B84A004EFD4B5ADC",
          "taxCategory": "FF80818123B7FC160123B804AB88000B",
          "description": "Ultralight LED headlamp.",
          "obposScale": false,
          "groupProduct": true,
          "stocked": true,
          "showstock": false,
          "isGeneric": false,
          "generic_product_id": null,
          "brand": "121308E73E684428BF4E65B40629F0EF",
          "characteristicDescription": "Object: Headlamps, Price: < 20€, Range: 29m max, Weight: Under 1Kg, Battery Life: 120h max, Use: Hiking & Trekking",
          "showchdesc": true,
          "bestseller": true,
          "ispack": false,
          "listPrice": 18.9,
          "standardPrice": 18.9,
          "priceLimit": 18.9,
          "cost": 0,
          "algorithm": "S",
          "_identifier": "Headlamp ultralight",
          "_idx": 44
        },
        "productidentifier": null,
        "uOM": "100",
        "qty": 1,
        "price": 18.9,
        "priceList": 18.9,
        "gross": 18.9,
        "net": 15.62,
        "description": "",
        "id": "66A64AC2A4BFFD46BA47B709D918DDEE",
        "priceIncludesTax": true,
        "warehouse": {
          "id": "A154EC30A296479BB078B0AFFD74CA22",
          "warehousename": "Vall Blanca Store Warehouse"
        },
        "promotions": [],
        "grossListPrice": 18.9,
        "promotionCandidates": null,
        "promotionMessages": [],
        "noDiscountCandidates": true,
        "taxLines": {
          "5235D8E99A2749EFA17A5C92A52AEFC6": {
            "name": "Entregas IVA 21%",
            "rate": 21,
            "net": 15.62,
            "amount": 3.28
          }
        },
        "tax": "5235D8E99A2749EFA17A5C92A52AEFC6",
        "taxAmount": 3.28,
        "pricenet": 15.62,
        "discountedNet": 15.62,
        "linerate": 1.21,
        "discountPercentage": 0,
        "listPrice": 15.62,
        "standardPrice": 15.62,
        "grossUnitPrice": 18.9,
        "lineGrossAmount": 18.9
      }
    ],
    []
  ],
  "qty": [
    1,
    0
  ],
  "gross": [
    18.9,
    0
  ],
  "net": [
    15.62,
    0
  ],
  "taxes": {
    "5235D8E99A2749EFA17A5C92A52AEFC6": [
      {
        "name": "Entregas IVA 21%",
        "rate": 21,
        "net": 15.62,
        "amount": 3.28
      },
      null
    ]
  },
  "isBeingDiscounted": [
    false,
    null
  ],
  "reApplyDiscounts": [
    false,
    null
  ],
  "timezoneOffset": [
    -60,
    null
  ],
  "created": [
    1448017454971,
    null
  ],
  "obposCreatedabsolute": [
    "2015-11-20 12:04:14.971",
    null
  ],
  "movementDate": [
    "2015-11-20T11:04:15.129Z",
    null
  ],
  "accountingDate": [
    "2015-11-20T11:04:15.129Z",
    null
  ],
  "obposAppCashup": [
    "67810F033C2EC25AE6D9C251530E1173",
    null
  ]
}
; line: Object.receipt.trigger.callback (https://livebuilds.openbravo.com/retail_stable_pgsql_pi/web/js/gen/e67fbe7b814743cd4fbc26a73a680528_WebPOS.js:36053:20 [^]) (*,+)processConsoleLevel @ e67fbe7b814743cd4fbc26a73a680528_WebPOS.js:2522OB.error @ e67fbe7b814743cd4fbc26a73a680528_WebPOS.js:2552receipt.trigger.callback @ e67fbe7b814743cd4fbc26a73a680528_WebPOS.js:36053(anonymous function) @ e67fbe7b814743cd4fbc26a73a680528_WebPOS.js:27662
e67fbe7b814743cd4fbc26a73a680528_WebPOS.js:2522 The receipt has been modified while it was being closed:
{
  "id": [
    "7E28DDDB4FA47C2F106D1E269F49455B",
    "9796B17FF906339153639CFF4AA4819B"
  ],
  "orderType": [
    2,
    0
  ],
  "orderDate": [
    "2015-11-20T11:04:15.252Z",
    "2015-11-20T11:04:16.588Z"
  ],
  "creationDate": [
    "2015-11-20T11:04:14.971Z",
    null
  ],
  "documentnoSuffix": [
    82,
    84
  ],
  "documentNo": [
    "VBS1/0000082",
    "VBS1/0000084"
  ],
  "lines": [
    [
      {
        "product": {
          "originalStandardPrice": 18.9,
          "id": "9F9BC6229E5C48D38F935D7FD5F5BA94",
          "searchkey": "WVG/L0001",
          "uPCEAN": null,
          "uOM": "100",
          "uOMsymbol": "Ud ",
          "productCategory": "9BE78BE519494875B84A004EFD4B5ADC",
          "taxCategory": "FF80818123B7FC160123B804AB88000B",
          "description": "Ultralight LED headlamp.",
          "obposScale": false,
          "groupProduct": true,
          "stocked": true,
          "showstock": false,
          "isGeneric": false,
          "generic_product_id": null,
          "brand": "121308E73E684428BF4E65B40629F0EF",
          "characteristicDescription": "Object: Headlamps, Price: < 20€, Range: 29m max, Weight: Under 1Kg, Battery Life: 120h max, Use: Hiking & Trekking",
          "showchdesc": true,
          "bestseller": true,
          "ispack": false,
          "listPrice": 18.9,
          "standardPrice": 18.9,
          "priceLimit": 18.9,
          "cost": 0,
          "algorithm": "S",
          "_identifier": "Headlamp ultralight",
          "_idx": 44
        },
        "productidentifier": null,
        "uOM": "100",
        "qty": 1,
        "price": 18.9,
        "priceList": 18.9,
        "gross": 18.9,
        "net": 15.62,
        "description": "",
        "id": "66A64AC2A4BFFD46BA47B709D918DDEE",
        "priceIncludesTax": true,
        "warehouse": {
          "id": "A154EC30A296479BB078B0AFFD74CA22",
          "warehousename": "Vall Blanca Store Warehouse"
        },
        "promotions": [],
        "grossListPrice": 18.9,
        "promotionCandidates": null,
        "promotionMessages": [],
        "noDiscountCandidates": true,
        "taxLines": {
          "5235D8E99A2749EFA17A5C92A52AEFC6": {
            "name": "Entregas IVA 21%",
            "rate": 21,
            "net": 15.62,
            "amount": 3.28
          }
        },
        "tax": "5235D8E99A2749EFA17A5C92A52AEFC6",
        "taxAmount": 3.28,
        "pricenet": 15.62,
        "discountedNet": 15.62,
        "linerate": 1.21,
        "discountPercentage": 0,
        "listPrice": 15.62,
        "standardPrice": 15.62,
        "grossUnitPrice": 18.9,
        "lineGrossAmount": 18.9
      }
    ],
    []
  ],
  "qty": [
    1,
    0
  ],
  "gross": [
    18.9,
    0
  ],
  "net": [
    15.62,
    0
  ],
  "taxes": {
    "5235D8E99A2749EFA17A5C92A52AEFC6": [
      {
        "name": "Entregas IVA 21%",
        "rate": 21,
        "net": 15.62,
        "amount": 3.28
      },
      null
    ]
  },
  "isBeingDiscounted": [
    false,
    null
  ],
  "reApplyDiscounts": [
    false,
    null
  ],
  "timezoneOffset": [
    -60,
    null
  ],
  "created": [
    1448017454971,
    null
  ],
  "obposCreatedabsolute": [
    "2015-11-20 12:04:14.971",
    null
  ],
  "movementDate": [
    "2015-11-20T11:04:15.255Z",
    null
  ],
  "accountingDate": [
    "2015-11-20T11:04:15.257Z",
    null
  ],
  "obposAppCashup": [
    "67810F033C2EC25AE6D9C251530E1173",
    null
  ]
}
; line: Object.receipt.trigger.callback (https://livebuilds.openbravo.com/retail_stable_pgsql_pi/web/js/gen/e67fbe7b814743cd4fbc26a73a680528_WebPOS.js:36053:20 [^]) (*,+)processConsoleLevel @ e67fbe7b814743cd4fbc26a73a680528_WebPOS.js:2522OB.error @ e67fbe7b814743cd4fbc26a73a680528_WebPOS.js:2552receipt.trigger.callback @ e67fbe7b814743cd4fbc26a73a680528_WebPOS.js:36053(anonymous function) @ e67fbe7b814743cd4fbc26a73a680528_WebPOS.js:27662
e67fbe7b814743cd4fbc26a73a680528_WebPOS.js:2522 The receipt has been modified while it was being closed:
{
  "id": [
    "7E28DDDB4FA47C2F106D1E269F49455B",
    "0E0D0FE92A723A8C041C68A5C1F41022"
  ],
  "orderType": [
    2,
    0
  ],
  "orderDate": [
    "2015-11-20T11:04:15.380Z",
    "2015-11-20T11:04:17.318Z"
  ],
  "creationDate": [
    "2015-11-20T11:04:14.971Z",
    null
  ],
  "documentnoSuffix": [
    82,
    85
  ],
  "documentNo": [
    "VBS1/0000082",
    "VBS1/0000085"
  ],
  "lines": [
    [
      {
        "product": {
          "originalStandardPrice": 18.9,
          "id": "9F9BC6229E5C48D38F935D7FD5F5BA94",
          "searchkey": "WVG/L0001",
          "uPCEAN": null,
          "uOM": "100",
          "uOMsymbol": "Ud ",
          "productCategory": "9BE78BE519494875B84A004EFD4B5ADC",
          "taxCategory": "FF80818123B7FC160123B804AB88000B",
          "description": "Ultralight LED headlamp.",
          "obposScale": false,
          "groupProduct": true,
          "stocked": true,
          "showstock": false,
          "isGeneric": false,
          "generic_product_id": null,
          "brand": "121308E73E684428BF4E65B40629F0EF",
          "characteristicDescription": "Object: Headlamps, Price: < 20€, Range: 29m max, Weight: Under 1Kg, Battery Life: 120h max, Use: Hiking & Trekking",
          "showchdesc": true,
          "bestseller": true,
          "ispack": false,
          "listPrice": 18.9,
          "standardPrice": 18.9,
          "priceLimit": 18.9,
          "cost": 0,
          "algorithm": "S",
          "_identifier": "Headlamp ultralight",
          "_idx": 44
        },
        "productidentifier": null,
        "uOM": "100",
        "qty": 1,
        "price": 18.9,
        "priceList": 18.9,
        "gross": 18.9,
        "net": 15.62,
        "description": "",
        "id": "66A64AC2A4BFFD46BA47B709D918DDEE",
        "priceIncludesTax": true,
        "warehouse": {
          "id": "A154EC30A296479BB078B0AFFD74CA22",
          "warehousename": "Vall Blanca Store Warehouse"
        },
        "promotions": [],
        "grossListPrice": 18.9,
        "promotionCandidates": null,
        "promotionMessages": [],
        "noDiscountCandidates": true,
        "taxLines": {
          "5235D8E99A2749EFA17A5C92A52AEFC6": {
            "name": "Entregas IVA 21%",
            "rate": 21,
            "net": 15.62,
            "amount": 3.28
          }
        },
        "tax": "5235D8E99A2749EFA17A5C92A52AEFC6",
        "taxAmount": 3.28,
        "pricenet": 15.62,
        "discountedNet": 15.62,
        "linerate": 1.21,
        "discountPercentage": 0,
        "listPrice": 15.62,
        "standardPrice": 15.62,
        "grossUnitPrice": 18.9,
        "lineGrossAmount": 18.9
      }
    ],
    []
  ],
  "qty": [
    1,
    0
  ],
  "gross": [
    18.9,
    0
  ],
  "net": [
    15.62,
    0
  ],
  "taxes": {
    "5235D8E99A2749EFA17A5C92A52AEFC6": [
      {
        "name": "Entregas IVA 21%",
        "rate": 21,
        "net": 15.62,
        "amount": 3.28
      },
      null
    ]
  },
  "isBeingDiscounted": [
    false,
    null
  ],
  "reApplyDiscounts": [
    false,
    null
  ],
  "timezoneOffset": [
    -60,
    null
  ],
  "created": [
    1448017454971,
    null
  ],
  "obposCreatedabsolute": [
    "2015-11-20 12:04:14.971",
    null
  ],
  "movementDate": [
    "2015-11-20T11:04:15.385Z",
    null
  ],
  "accountingDate": [
    "2015-11-20T11:04:15.388Z",
    null
  ],
  "obposAppCashup": [
    "67810F033C2EC25AE6D9C251530E1173",
    null
  ]
}
; line: Object.receipt.trigger.callback (https://livebuilds.openbravo.com/retail_stable_pgsql_pi/web/js/gen/e67fbe7b814743cd4fbc26a73a680528_WebPOS.js:36053:20 [^]) (*,+)processConsoleLevel @ e67fbe7b814743cd4fbc26a73a680528_WebPOS.js:2522OB.error @ e67fbe7b814743cd4fbc26a73a680528_WebPOS.js:2552receipt.trigger.callback @ e67fbe7b814743cd4fbc26a73a680528_WebPOS.js:36053(anonymous function) @ e67fbe7b814743cd4fbc26a73a680528_WebPOS.js:27662
e67fbe7b814743cd4fbc26a73a680528_WebPOS.js:2522 The receipt has been modified while it was being closed:
{
  "id": [
    "7E28DDDB4FA47C2F106D1E269F49455B",
    "9A1792E175FA564223C7423EE07ABD91"
  ],
  "orderType": [
    2,
    0
  ],
  "orderDate": [
    "2015-11-20T11:04:15.501Z",
    "2015-11-20T11:04:17.920Z"
  ],
  "creationDate": [
    "2015-11-20T11:04:14.971Z",
    null
  ],
  "documentnoSuffix": [
    82,
    86
  ],
  "documentNo": [
    "VBS1/0000082",
    "VBS1/0000086"
  ],
  "lines": [
    [
      {
        "product": {
          "originalStandardPrice": 18.9,
          "id": "9F9BC6229E5C48D38F935D7FD5F5BA94",
          "searchkey": "WVG/L0001",
          "uPCEAN": null,
          "uOM": "100",
          "uOMsymbol": "Ud ",
          "productCategory": "9BE78BE519494875B84A004EFD4B5ADC",
          "taxCategory": "FF80818123B7FC160123B804AB88000B",
          "description": "Ultralight LED headlamp.",
          "obposScale": false,
          "groupProduct": true,
          "stocked": true,
          "showstock": false,
          "isGeneric": false,
          "generic_product_id": null,
          "brand": "121308E73E684428BF4E65B40629F0EF",
          "characteristicDescription": "Object: Headlamps, Price: < 20€, Range: 29m max, Weight: Under 1Kg, Battery Life: 120h max, Use: Hiking & Trekking",
          "showchdesc": true,
          "bestseller": true,
          "ispack": false,
          "listPrice": 18.9,
          "standardPrice": 18.9,
          "priceLimit": 18.9,
          "cost": 0,
          "algorithm": "S",
          "_identifier": "Headlamp ultralight",
          "_idx": 44
        },
        "productidentifier": null,
        "uOM": "100",
        "qty": 1,
        "price": 18.9,
        "priceList": 18.9,
        "gross": 18.9,
        "net": 15.62,
        "description": "",
        "id": "66A64AC2A4BFFD46BA47B709D918DDEE",
        "priceIncludesTax": true,
        "warehouse": {
          "id": "A154EC30A296479BB078B0AFFD74CA22",
          "warehousename": "Vall Blanca Store Warehouse"
        },
        "promotions": [],
        "grossListPrice": 18.9,
        "promotionCandidates": null,
        "promotionMessages": [],
        "noDiscountCandidates": true,
        "taxLines": {
          "5235D8E99A2749EFA17A5C92A52AEFC6": {
            "name": "Entregas IVA 21%",
            "rate": 21,
            "net": 15.62,
            "amount": 3.28
          }
        },
        "tax": "5235D8E99A2749EFA17A5C92A52AEFC6",
        "taxAmount": 3.28,
        "pricenet": 15.62,
        "discountedNet": 15.62,
        "linerate": 1.21,
        "discountPercentage": 0,
        "listPrice": 15.62,
        "standardPrice": 15.62,
        "grossUnitPrice": 18.9,
        "lineGrossAmount": 18.9
      }
    ],
    []
  ],
  "qty": [
    1,
    0
  ],
  "gross": [
    18.9,
    0
  ],
  "net": [
    15.62,
    0
  ],
  "taxes": {
    "5235D8E99A2749EFA17A5C92A52AEFC6": [
      {
        "name": "Entregas IVA 21%",
        "rate": 21,
        "net": 15.62,
        "amount": 3.28
      },
      null
    ]
  },
  "isBeingDiscounted": [
    false,
    null
  ],
  "reApplyDiscounts": [
    false,
    null
  ],
  "timezoneOffset": [
    -60,
    null
  ],
  "created": [
    1448017454971,
    null
  ],
  "obposCreatedabsolute": [
    "2015-11-20 12:04:14.971",
    null
  ],
  "movementDate": [
    "2015-11-20T11:04:15.507Z",
    null
  ],
  "accountingDate": [
    "2015-11-20T11:04:15.507Z",
    null
  ],
  "obposAppCashup": [
    "67810F033C2EC25AE6D9C251530E1173",
    null
  ]
}
; line: Object.receipt.trigger.callback (https://livebuilds.openbravo.com/retail_stable_pgsql_pi/web/js/gen/e67fbe7b814743cd4fbc26a73a680528_WebPOS.js:36053:20 [^]) (*,+)processConsoleLevel @ e67fbe7b814743cd4fbc26a73a680528_WebPOS.js:2522OB.error @ e67fbe7b814743cd4fbc26a73a680528_WebPOS.js:2552receipt.trigger.callback @ e67fbe7b814743cd4fbc26a73a680528_WebPOS.js:36053(anonymous function) @ e67fbe7b814743cd4fbc26a73a680528_WebPOS.js:27662
e67fbe7b814743cd4fbc26a73a680528_WebPOS.js:2522 The receipt has been modified while it was being closed:
{
  "id": [
    "7E28DDDB4FA47C2F106D1E269F49455B",
    "47D343BA761C309A54FACED7C7BBAB17"
  ],
  "orderType": [
    2,
    0
  ],
  "orderDate": [
    "2015-11-20T11:04:15.773Z",
    "2015-11-20T11:04:18.595Z"
  ],
  "creationDate": [
    "2015-11-20T11:04:14.971Z",
    null
  ],
  "documentnoSuffix": [
    82,
    87
  ],
  "documentNo": [
    "VBS1/0000082",
    "VBS1/0000087"
  ],
  "lines": [
    [
      {
        "product": {
          "originalStandardPrice": 18.9,
          "id": "9F9BC6229E5C48D38F935D7FD5F5BA94",
          "searchkey": "WVG/L0001",
          "uPCEAN": null,
          "uOM": "100",
          "uOMsymbol": "Ud ",
          "productCategory": "9BE78BE519494875B84A004EFD4B5ADC",
          "taxCategory": "FF80818123B7FC160123B804AB88000B",
          "description": "Ultralight LED headlamp.",
          "obposScale": false,
          "groupProduct": true,
          "stocked": true,
          "showstock": false,
          "isGeneric": false,
          "generic_product_id": null,
          "brand": "121308E73E684428BF4E65B40629F0EF",
          "characteristicDescription": "Object: Headlamps, Price: < 20€, Range: 29m max, Weight: Under 1Kg, Battery Life: 120h max, Use: Hiking & Trekking",
          "showchdesc": true,
          "bestseller": true,
          "ispack": false,
          "listPrice": 18.9,
          "standardPrice": 18.9,
          "priceLimit": 18.9,
          "cost": 0,
          "algorithm": "S",
          "_identifier": "Headlamp ultralight",
          "_idx": 44
        },
        "productidentifier": null,
        "uOM": "100",
        "qty": 1,
        "price": 18.9,
        "priceList": 18.9,
        "gross": 18.9,
        "net": 15.62,
        "description": "",
        "id": "66A64AC2A4BFFD46BA47B709D918DDEE",
        "priceIncludesTax": true,
        "warehouse": {
          "id": "A154EC30A296479BB078B0AFFD74CA22",
          "warehousename": "Vall Blanca Store Warehouse"
        },
        "promotions": [],
        "grossListPrice": 18.9,
        "promotionCandidates": null,
        "promotionMessages": [],
        "noDiscountCandidates": true,
        "taxLines": {
          "5235D8E99A2749EFA17A5C92A52AEFC6": {
            "name": "Entregas IVA 21%",
            "rate": 21,
            "net": 15.62,
            "amount": 3.28
          }
        },
        "tax": "5235D8E99A2749EFA17A5C92A52AEFC6",
        "taxAmount": 3.28,
        "pricenet": 15.62,
        "discountedNet": 15.62,
        "linerate": 1.21,
        "discountPercentage": 0,
        "listPrice": 15.62,
        "standardPrice": 15.62,
        "grossUnitPrice": 18.9,
        "lineGrossAmount": 18.9
      }
    ],
    []
  ],
  "qty": [
    1,
    0
  ],
  "gross": [
    18.9,
    0
  ],
  "net": [
    15.62,
    0
  ],
  "taxes": {
    "5235D8E99A2749EFA17A5C92A52AEFC6": [
      {
        "name": "Entregas IVA 21%",
        "rate": 21,
        "net": 15.62,
        "amount": 3.28
      },
      null
    ]
  },
  "isBeingDiscounted": [
    false,
    null
  ],
  "reApplyDiscounts": [
    false,
    null
  ],
  "timezoneOffset": [
    -60,
    null
  ],
  "created": [
    1448017454971,
    null
  ],
  "obposCreatedabsolute": [
    "2015-11-20 12:04:14.971",
    null
  ],
  "movementDate": [
    "2015-11-20T11:04:15.776Z",
    null
  ],
  "accountingDate": [
    "2015-11-20T11:04:15.777Z",
    null
  ],
  "obposAppCashup": [
    "67810F033C2EC25AE6D9C251530E1173",
    null
  ]
}
; line: Object.receipt.trigger.callback (https://livebuilds.openbravo.com/retail_stable_pgsql_pi/web/js/gen/e67fbe7b814743cd4fbc26a73a680528_WebPOS.js:36053:20 [^]) (*,+)processConsoleLevel @ e67fbe7b814743cd4fbc26a73a680528_WebPOS.js:2522OB.error @ e67fbe7b814743cd4fbc26a73a680528_WebPOS.js:2552receipt.trigger.callback @ e67fbe7b814743cd4fbc26a73a680528_WebPOS.js:36053(anonymous function) @ e67fbe7b814743cd4fbc26a73a680528_WebPOS.js:27662
e67fbe7b814743cd4fbc26a73a680528_WebPOS.js:2522 Could not purge the 'c_order' table. Error message: OB.Dal.remove: an object without primary key cannot be deleted; line: https://livebuilds.openbravo.com/retail_stable_pgsql_pi/web/js/gen/e67fbe7b814743cd4fbc26a73a680528_WebPOS.js:6375:18 [^] (*,+)processConsoleLevel @ e67fbe7b814743cd4fbc26a73a680528_WebPOS.js:2522OB.error @ e67fbe7b814743cd4fbc26a73a680528_WebPOS.js:2552(anonymous function) @ e67fbe7b814743cd4fbc26a73a680528_WebPOS.js:6375
----------------------------------------------------


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker