forked from Yaltik/golem
[FIX]GOLEM Resource views : bad order for new install (calendar view needs form view)
This commit is contained in:
parent
f710947771
commit
0cbf3719f2
@ -20,7 +20,7 @@
|
|||||||
'name': 'GOLEM non-profit resources',
|
'name': 'GOLEM non-profit resources',
|
||||||
'summary': 'GOLEM resources management',
|
'summary': 'GOLEM resources management',
|
||||||
'description': ''' GOLEM resources management ''',
|
'description': ''' GOLEM resources management ''',
|
||||||
'version': '10.0.1.13.0',
|
'version': '10.0.1.13.1',
|
||||||
'category': 'GOLEM',
|
'category': 'GOLEM',
|
||||||
'author': 'Youssef El Ouahby, Fabien Bourgeois',
|
'author': 'Youssef El Ouahby, Fabien Bourgeois',
|
||||||
'license': 'AGPL-3',
|
'license': 'AGPL-3',
|
||||||
|
@ -19,21 +19,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|||||||
<odoo>
|
<odoo>
|
||||||
<data>
|
<data>
|
||||||
|
|
||||||
<!-- Calendars -->
|
|
||||||
<record model="ir.ui.view" id="golem_resource_reservation_view_calendar">
|
|
||||||
<field name="name">GOLEM Resource Reservation Calendar</field>
|
|
||||||
<field name="model">golem.resource.reservation</field>
|
|
||||||
<field name="arch" type="xml">
|
|
||||||
<calendar date_start="date_start" date_stop="date_stop" color="resource_id"
|
|
||||||
event_open_popup="%(golem_resource.golem_resource_reservation_view_form)s"
|
|
||||||
mode="month">
|
|
||||||
<field name="resource_id" />
|
|
||||||
<field name="partner_id" />
|
|
||||||
<field name="note" />
|
|
||||||
</calendar>
|
|
||||||
</field>
|
|
||||||
</record>
|
|
||||||
|
|
||||||
<!-- Trees -->
|
<!-- Trees -->
|
||||||
<record model="ir.ui.view" id="golem_resource_reservation_view_tree">
|
<record model="ir.ui.view" id="golem_resource_reservation_view_tree">
|
||||||
<field name="name">GOLEM Resource Reservation Tree</field>
|
<field name="name">GOLEM Resource Reservation Tree</field>
|
||||||
@ -105,6 +90,21 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|||||||
</field>
|
</field>
|
||||||
</record>
|
</record>
|
||||||
|
|
||||||
|
<!-- Calendars -->
|
||||||
|
<record model="ir.ui.view" id="golem_resource_reservation_view_calendar">
|
||||||
|
<field name="name">GOLEM Resource Reservation Calendar</field>
|
||||||
|
<field name="model">golem.resource.reservation</field>
|
||||||
|
<field name="arch" type="xml">
|
||||||
|
<calendar date_start="date_start" date_stop="date_stop" color="resource_id"
|
||||||
|
event_open_popup="%(golem_resource.golem_resource_reservation_view_form)s"
|
||||||
|
mode="month">
|
||||||
|
<field name="resource_id" />
|
||||||
|
<field name="partner_id" />
|
||||||
|
<field name="note" />
|
||||||
|
</calendar>
|
||||||
|
</field>
|
||||||
|
</record>
|
||||||
|
|
||||||
<!-- Searches -->
|
<!-- Searches -->
|
||||||
<record model="ir.ui.view" id="golem_resource_reservation_view_search">
|
<record model="ir.ui.view" id="golem_resource_reservation_view_search">
|
||||||
<field name="name">GOLEM Resource Reservation Search</field>
|
<field name="name">GOLEM Resource Reservation Search</field>
|
||||||
|
Loading…
Reference in New Issue
Block a user