Files
odoo_source/addons/event/wizard/event_confirm_view.xml
T
Harry (OpenERP) d064da04d4 [IMP] Event: clean
event should not inherit anymore from crm.case.section: it's a new object
put a parent_id field to keep the hierarchy
sale team m2o is kept, but it's a widget=selection:  The reply-to on the event is also filled when choosing a sale team
put domain on locaiton room: same country as selected location country
cost: rename in registration cost 
demo data: not fixed date
maximum and minimum registration: return warning when we try to open an event that haven't not the requirements
Improved form view

bzr revid: hmo@tinyerp.com-20100715134144-lmfwa02wnsntdd9q
2010-07-15 19:11:44 +05:30

34 lines
1.3 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<openerp>
<data>
<record id="view_event_confirm" model="ir.ui.view">
<field name="name">Event Confirmation</field>
<field name="model">event.confirm</field>
<field name="type">form</field>
<field name="arch" type="xml">
<form string="Event Confirmation">
<field name="msg" nolabel="1" colspan="4"/>
<separator string="" colspan="4"/>
<group colspan="4" col="6">
<button icon="gtk-close" special="cancel" string="Close"/>
<button icon="gtk-ok" name="confirm" string="Confirm Anyway" type="object"/>
</group>
</form>
</field>
</record>
<record id="action_event_confirm" model="ir.actions.act_window">
<field name="name">Event Confirmation</field>
<field name="type">ir.actions.act_window</field>
<field name="res_model">event.confirm</field>
<field name="view_type">form</field>
<field name="view_mode">form</field>
<field name="view_id" ref="view_event_confirm"/>
<field name="context">{'record_id' : active_id}</field>
<field name="target">new</field>
</record>
</data>
</openerp>