[imp] event : remove unused code.

bzr revid: nco@tinyerp.com-20120427094634-foba34c88a4mn2ja
This commit is contained in:
Nimesh (Open ERP) 2012-04-27 15:16:34 +05:30
parent fa10c5cec7
commit 66814b5501
4 changed files with 26 additions and 51 deletions

View File

@ -220,7 +220,7 @@ class event_event(osv.osv):
'note': fields.text('Description', readonly=False, states={'done': [('readonly', True)]}),
'company_id': fields.many2one('res.company', 'Company', required=False, change_default=True, readonly=False, states={'done': [('readonly', True)]}),
'is_subscribed' : fields.function(_subscribe_fnc, type="boolean", string='Subscribed'),
'location_id': fields.many2one('res.company','Location Address', readonly=False, states={'done': [('readonly', True)]}),
'location_id': fields.many2one('res.company','Organization Address', readonly=False, states={'done': [('readonly', True)]}),
}

View File

@ -103,50 +103,33 @@
</div>
<newline/>
<group colspan="4" string="vanue">
<div class="sub1"> Venue : </div> <separator orientation="vertical"/>
<div class="oe_sub1"> Venue : </div> <separator orientation="vertical"/>
<field name="location_id" nolabel="1"/>
</group>
</group>
<group>
<div class="mapbox"> </div><newline/>
<!--table>
<tr>
<td width="70px" style="text-align:top;" class="oe_td_border">
Where
</td>
<td width="150px">
<field name="address_id" nolabel="1"/>
</td>
<td width="150px">
<span width="15px"> Start</span> <field name="date_begin" nolabel="1"/>
<span width="15px"> End</span> <field name="date_end" nolabel="1"/>
</td>
</tr>
</table-->
<table>
<tr>
<td width="70px" class="oe_td_border">
Where
</td>
<td width="150px">
<field name="address_id" nolabel="1"/>
</td>
<td width="auto">
<table>
<tr>
<td class="oe_td_date_border">Start</td><td><field name="date_begin" nolabel="1"/></td>
</tr>
<tr>
<td class="oe_td_date_border">End</td><td><field name="date_end" nolabel="1"/></td>
</tr>
</table>
</td>
</tr>
</table>
<!--field name="date_end" label="To" string="end"/-->
<div class="oe_mapbox"> </div><newline/>
<table>
<tr>
<td width="70px" class="oe_td_border">
Where
</td>
<td width="150px">
<field name="address_id" nolabel="1"/>
</td>
<td width="auto">
<table>
<tr>
<td class="oe_td_date_border">Start</td><td><field name="date_begin" nolabel="1"/></td>
</tr>
<tr>
<td class="oe_td_date_border">End</td><td><field name="date_end" nolabel="1"/></td>
</tr>
</table>
</td>
</tr>
</table>
</group>
</group>
<notebook colspan="4">

View File

@ -122,16 +122,11 @@ div.oe_fold_column{
.oe_event_title{
font-size: 25px;
}
.sub1
.oe_sub1
{
float:left;
}
.sub2
{
padding-left:50px;
text-align:left;
}
.mapbox
.oe_mapbox
{
width:380px;
height:200px;

View File

@ -39,10 +39,7 @@ It defines a new kind of service products that offers you the possibility to cho
'event_sale_view.xml',
],
'demo_xml': ['event_demo.xml'],
'js': ['static/src/js/*.js'],
'html': ['static/*.html'],
'test':['test/confirm.yml'],
'css': ['static/src/css/*.css'],
'installable': True,
'active': False,
}