#4266 (Cannot use RemoteField to a DummyField in a layout)

by Luc Saffre · in Developers · assigned to Luc Saffre

Kurzbeschreibung

No LayoutElement for RemoteField order__project to <class 'lino.core.fields.DummyField'>

Kinder

Kommentare

  • 5 Jahre, 2 Monate ago von Luc Saffre about #4266 (Cannot use RemoteField to a DummyField in a layout) : Seems that I fixed this. When you specify a remote field in a layout, e.g. order__project__ref, and if one of the intermediate fields is a dummy field, then the whole field spec becomes a dummy field.
  • 5 Jahre, 3 Monate ago von Luc Saffre about #4266 (Cannot use RemoteField to a DummyField in a layout) : The problem came in Noi after starting to use orders plugin. Because Order inherits from ProjectRelated and because Noi didn't yet use Site.project_model. ATM it is not urgent because anyway we probably want to set project_model = 'tickets.Site' in Noi.