Reviewers: ,


Please review this at http://codereview.tryton.org/30005/

Affected files:
  M tryton/gui/window/view_form/view/form_gtk/many2one.py


Index: tryton/gui/window/view_form/view/form_gtk/many2one.py
===================================================================
--- a/tryton/gui/window/view_form/view/form_gtk/many2one.py
+++ b/tryton/gui/window/view_form/view/form_gtk/many2one.py
@@ -150,7 +150,8 @@
         context = self.field.context_get(self.record)
         return Screen(self.attrs['relation'], self.window, domain=domain,
                 context=context, mode=['form'],
-                views_preload=self.attrs.get('views', {}))
+                views_preload=self.attrs.get('views', {}),
+                readonly=self._readonly)

     def sig_new(self, *args):
         self.focus_out = False


--
[email protected] mailing list

Reply via email to