Mutliple levels of fetch from

Let’s say my doctype have the following fields:

  • item
  • default_bom (fetch_from: item)
  • routing (fetch_from: default_bom)

So there is 3 levels of fetch_from.

When I change item in the form, only default_bom is fetched.
Then if I clear default_bom and set its value again, now routing is fetched.

Is there any way to force fetch ALL levels of fetch_from ?
item → default_bom → routing, all in one shot.

**Note that on save, all levels of fetch gets assigned, it is only on value-changed in the UI form that it won’t fetch all levels.

Hi @guimorin,

Please check its configuration.

Thank You!

1 Like

Oh interesting, thanks for that.
My use case was with a child table row having multiple depth of fetch_from, I’ll do more testing.