◄ ► | Edit | Home | Admin | en de fr et | Sign in

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

by Luc Saffre · in Developers · assigned to Luc Saffre

Summary

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

Children

Comments

  • 5 years, 2 months 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 years, 3 months 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.