Browse Source

actualize __openerp__.py and view

pull/78/head
Pavel Batishchev 12 years ago
parent
commit
cb2f458f18
  1. 14
      super_calendar/__openerp__.py
  2. 10
      super_calendar/super_calendar_view.xml

14
super_calendar/__openerp__.py

@ -22,6 +22,7 @@
'name': "Super Calendar",
'version': '0.1',
'category': 'Generic Modules/Others',
'summary': 'This module allows to create configurable calendars.',
'description': """
This module allows to create configurable calendars.
@ -63,14 +64,15 @@ As you can see, several filters are available. A typical usage consists in filte
'author': 'Agile Business Group',
'website': 'http://www.agilebg.com',
'license': 'AGPL-3',
"depends" : ['base'],
"init_xml" : [],
"update_xml" : [
'depends' : ['base'],
"data" : [
'super_calendar_view.xml',
'cron_data.xml',
'security/ir.model.access.csv',
],
"demo_xml" : [],
"active": False,
"installable": False
'demo': [],
'test': [],
'installable': True,
'application': True,
'auto_install': False,
}

10
super_calendar/super_calendar_view.xml

@ -7,17 +7,16 @@
<record model="ir.ui.view" id="super_calendar_configurator_tree">
<field name="name">super_calendar_configurator_tree</field>
<field name="model">super.calendar.configurator</field>
<field name="type">tree</field>
<field name="arch" type="xml">
<tree string="Configurators">
<field name="name"/>
</tree>
</field>
</record>
<record model="ir.ui.view" id="super_calendar_configurator_form">
<field name="name">super_calendar_configurator_form</field>
<field name="model">super.calendar.configurator</field>
<field name="type">form</field>
<field name="arch" type="xml">
<form string="Configurator">
<field name="name" select="1" colspan="2"/>
@ -64,7 +63,6 @@
<record model="ir.ui.view" id="super_calendar_tree">
<field name="name">super_calendar_tree</field>
<field name="model">super.calendar</field>
<field name="type">tree</field>
<field name="arch" type="xml">
<tree string="Calendar">
<field name="name"/>
@ -78,10 +76,10 @@
</tree>
</field>
</record>
<record model="ir.ui.view" id="super_calendar_form">
<field name="name">super_calendar_form</field>
<field name="model">super.calendar</field>
<field name="type">form</field>
<field name="arch" type="xml">
<form string="Configurator">
<field name="name" readonly="1"/>
@ -96,20 +94,20 @@
</form>
</field>
</record>
<record model="ir.ui.view" id="super_calendar">
<field name="name">super_calendar</field>
<field name="model">super.calendar</field>
<field name="type">calendar</field>
<field name="arch" type="xml">
<calendar string="Calendar" color="model_description" date_start="date_start" date_delay="duration">
<field name="name"/>
</calendar>
</field>
</record>
<record model="ir.ui.view" id="super_calendar_search">
<field name="name">super_calendar_search</field>
<field name="model">super.calendar</field>
<field name="type">search</field>
<field name="arch" type="xml">
<search string="Search Calendar" >
<field name="name"/>

Loading…
Cancel
Save