[IMP] hr,project,crm: force user preferences field to read/write, despite not having full write access to res.users these special fields are read/write for everyone on their own user record
bzr revid: odo@openerp.com-20100713133148-h0xoc58eb3xal12o
This commit is contained in:
@@ -374,7 +374,8 @@
|
||||
<page string="Current Activity" position="inside">
|
||||
<field name="context_section_id" completion="1"
|
||||
widget="selection"
|
||||
context="{'user_prefence':True}" />
|
||||
context="{'user_prefence':True}"
|
||||
readonly="0"/>
|
||||
</page>
|
||||
</field>
|
||||
</record>
|
||||
|
||||
@@ -101,7 +101,7 @@
|
||||
<field name="type">form</field>
|
||||
<field name="arch" type="xml">
|
||||
<page string="Current Activity" position="inside">
|
||||
<field name="context_department_id" widget="selection" />
|
||||
<field name="context_department_id" widget="selection" readonly="0"/>
|
||||
</page>
|
||||
</field>
|
||||
</record>
|
||||
|
||||
@@ -571,7 +571,7 @@
|
||||
<field eval="18" name="priority"/>
|
||||
<field name="arch" type="xml">
|
||||
<page string="Current Activity" position="inside">
|
||||
<field name="context_project_id" completion="1" context="{'user_prefence':True}" widget="selection"/>
|
||||
<field name="context_project_id" completion="1" context="{'user_prefence':True}" widget="selection" readonly="0"/>
|
||||
</page>
|
||||
</field>
|
||||
</record>
|
||||
|
||||
Reference in New Issue
Block a user