diff --git a/views/calendar.xml b/views/calendar.xml index 823cbc3a3ba4c2ec990e008a79248e9c36f215ec..d9123a07b4afd93dba0394daa48c7167cdf77203 100644 --- a/views/calendar.xml +++ b/views/calendar.xml @@ -193,6 +193,7 @@ <attribute name="ur_sidebar_filter">True</attribute> </calendar> <field name="partner_ids" position="before"> + <field name="project_id" invisible="1"/> <field name="ur_id" invisible="1"/> <field name="coop_id" options="{'no_open': True, 'no_create': True}"/> <field name="type" options="{'no_open': True, 'no_create': True}"/> diff --git a/wizard/calendar_event_transform.py b/wizard/calendar_event_transform.py index 6eaaa8bec551ee7fbe4beacd64f93f4ba35490ee..a28610c4803d611209472c1dbb997ddbefc4b92e 100644 --- a/wizard/calendar_event_transform.py +++ b/wizard/calendar_event_transform.py @@ -2,14 +2,14 @@ from odoo import models, api -class AccountInvoiceConfirm(models.TransientModel): +class CalendarEventTransform(models.TransientModel): """ This wizard will transform the all the selected calendar entries to timesheet """ _name = "calendar.event.transform" - _description = "Confirm the selected invoices" + _description = "Confirm the selected calendar entries" @api.multi def events_confirm(self):