Skip to content

Commit 7c88328

Browse files
committed
Merge pull request odoo#74 from ingadhoc/IMP_calendar_state
IMP calendar state in form view
2 parents d66d600 + 93e1d69 commit 7c88328

File tree

3 files changed

+42
-0
lines changed

3 files changed

+42
-0
lines changed

calendar_state/__init__.py

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
# -*- coding: utf-8 -*-
2+
3+

calendar_state/__openerp__.py

+20
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
# -*- coding: utf-8 -*-
2+
{
3+
'name': 'Calendar State',
4+
'version': '1.0',
5+
'category': 'Project Management',
6+
'description': """
7+
Calendar State
8+
==============
9+
""",
10+
'author': 'ADHOC SA',
11+
'website': 'www.adhoc.com.ar',
12+
'depends': ['calendar'],
13+
'data': [
14+
'calendar_meeting_view.xml',
15+
],
16+
'demo': [],
17+
'installable': True,
18+
'auto_install': False,
19+
}
20+
# vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4:
+19
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
<openerp>
2+
<data>
3+
<record id="view_crm_meeting_form_with_pad" model="ir.ui.view">
4+
<field name="name">calendar.event.form.pad</field>
5+
<field name="model">calendar.event</field>
6+
<field name="inherit_id" ref="calendar.view_calendar_event_form"/>
7+
<field name="arch" type="xml">
8+
<field name="state" position="replace">
9+
</field>
10+
<sheet position="before">
11+
<header>
12+
<field name="state" widget="statusbar" clickable="True"/>
13+
</header>
14+
</sheet>
15+
</field>
16+
</record>
17+
18+
</data>
19+
</openerp>

0 commit comments

Comments
 (0)