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

by Luc Saffre · in Developers · assigned to Luc Saffre

Résumé

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

Concepts sous-jacents

Commentaires

  • 5 ans, 2 mois ago by 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 ans, 3 mois ago by 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.