Sales Pack: Error When Copying Sales Order Items to Invoice Items

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • blueprint
    Active Community Member
    • Jan 2019
    • 223

    Sales Pack: Error When Copying Sales Order Items to Invoice Items

    After specifying a Sales Order when creating an Invoice, I noticed that the Products aren't being copied into the Invoice items list.

    Upon further investigation (using Google Chrome developer tools), I'm seeing the following error:

    VM2198:260 Uncaught (in promise) TypeError: Cannot read property 'id' of null
    at child.eval (eval at _execute (loader.js?r=1558104528:94), <anonymous>:260:31)
    at Array.forEach (<anonymous>)
    at child.afterRender (eval at _execute (loader.js?r=1558104528:94), <anonymous>:259:26)
    at child._afterRender (bull.js?r=1558104528:459)
    at child._afterRender (bull.js?r=1558104528:456)
    at child._afterRender (bull.js?r=1558104528:456)
    at child._afterRender (bull.js?r=1558104528:456)
    at child._afterRender (bull.js?r=1558104528:456)
    at child.<anonymous> (bull.js?r=1558104528:421)
    at child.<anonymous> (bull.js?r=1558104528:682)

    I've set 'isDeveloperMode' to true to see if this could help me but I'm so far puzzled as to what could have triggered this.

    Seems to be from the sales:views/quote/fields/item-list view.
    Last edited by blueprint; 05-17-2019, 03:22 PM.
Working...