~unifield-team/unifield-web/main

« back to all changes in this revision

Viewing changes to addons/openerp/widgets/form/_o2m.py

[MERGE] openerp-6.0.2

Show diffs side-by-side

added added

removed removed

Lines of Context:
210
210
        if 'default_name' in current.context:
211
211
            del current.context['default_name']
212
212
 
 
213
        if self.view_type == 'tree' and pparams:
 
214
            self.editable = bool(pparams.id)
 
215
 
213
216
        self.screen = Screen(current, prefix=self.name, views_preloaded=view,
214
217
                             editable=self.editable, readonly=self.readonly,
215
218
                             selectable=0, nolinks=self.link, _o2m=1)