[FIX]:changed char to text :In Manage filters, the field Domain Value and context is limited to 250 characters making it impossible to use a saved filter of more than 250 characters
bzr revid: nch@tinyerp.com-20100723061704-x9n3dt0qghuno1oo
This commit is contained in:
parent
9a5e22e38b
commit
c72b7ece20
|
@ -236,12 +236,17 @@
|
|||
<field name="type">form</field>
|
||||
<field name="arch" type="xml">
|
||||
<form string="Filters">
|
||||
<field name="name" select="1"/>
|
||||
<field name="user_id" select="1"/>
|
||||
<field name="model_id"/>
|
||||
<newline/>
|
||||
<field name="domain"/>
|
||||
<field name="context"/>
|
||||
<group colspan="4" >
|
||||
<field name="name" select="1"/>
|
||||
<field name="user_id" select="1"/>
|
||||
<field name="model_id"/>
|
||||
</group>
|
||||
<group col="4" expand="1">
|
||||
<separator string="Domain" colspan="2" />
|
||||
<separator string="Context" colspan="2" />
|
||||
<field name="domain" nolabel="1" colspan="2"/>
|
||||
<field name="context" nolabel="1" colspan="2"/>
|
||||
</group>
|
||||
</form>
|
||||
</field>
|
||||
</record>
|
||||
|
@ -328,7 +333,7 @@
|
|||
<field name="usage"/>
|
||||
<field name="report_type"/>
|
||||
</group>
|
||||
|
||||
|
||||
<notebook colspan="4">
|
||||
<page string="Other Configuration">
|
||||
<group col="2" colspan="2">
|
||||
|
|
|
@ -40,8 +40,8 @@ class ir_filters(osv.osv):
|
|||
_columns = {
|
||||
'name': fields.char('Action Name', size=64, translate=True, required=True),
|
||||
'user_id':fields.many2one('res.users', 'User', help='False means for every user'),
|
||||
'domain': fields.char('Domain Value', size=250, required=True),
|
||||
'context': fields.char('Context Value', size=250, required=True),
|
||||
'domain': fields.text('Domain Value', required=True),
|
||||
'context': fields.text('Context Value', required=True),
|
||||
'model_id': fields.selection(_list_all_models, 'Model', required=True),
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue