diff --git a/addons/account/account_invoice_view.xml b/addons/account/account_invoice_view.xml index 0825aad8831..18484a7d1c8 100644 --- a/addons/account/account_invoice_view.xml +++ b/addons/account/account_invoice_view.xml @@ -1,7 +1,6 @@ - @@ -434,6 +433,7 @@ Most of customer invoices are automatically generated in draft mode by OpenERP flows, following a purchase order for instance. Review, confirm or cancel, pay or refund your customers' invoices here. A manual invoice can be created here. + tree @@ -446,6 +446,7 @@ + diff --git a/addons/account/invoice.py b/addons/account/invoice.py index 4cdaeab9a49..25b2ffffa91 100644 --- a/addons/account/invoice.py +++ b/addons/account/invoice.py @@ -1361,7 +1361,7 @@ class account_invoice_line(osv.osv): else: app_acc_in = in_acc_cate app_acc_exp = ex_acc_cate - if app_acc_in.company_id.id != company_id and app_acc_exp.company_id.id != company_id: + if app_acc_in and app_acc_in.company_id.id != company_id and app_acc_exp and app_acc_exp.company_id.id != company_id: in_res_id = account_obj.search(cr, uid, [('name','=',app_acc_in.name),('company_id','=',company_id)]) exp_res_id = account_obj.search(cr, uid, [('name','=',app_acc_exp.name),('company_id','=',company_id)]) if not in_res_id and not exp_res_id: diff --git a/addons/base_calendar/base_calendar_view.xml b/addons/base_calendar/base_calendar_view.xml index bc581955571..b5f234aa7cb 100644 --- a/addons/base_calendar/base_calendar_view.xml +++ b/addons/base_calendar/base_calendar_view.xml @@ -158,7 +158,7 @@ + parent="base.menu_base_config" sequence="6" groups="base.group_system,base.group_sale_manager" /> diff --git a/addons/base_calendar/security/ir.model.access.csv b/addons/base_calendar/security/ir.model.access.csv index aa269e9ff18..0ae628fb720 100644 --- a/addons/base_calendar/security/ir.model.access.csv +++ b/addons/base_calendar/security/ir.model.access.csv @@ -1,5 +1,5 @@ "id","name","model_id:id","group_id:id","perm_read","perm_write","perm_create","perm_unlink" -"access_calendar_attendee","calendar.attendee","model_calendar_attendee","base.group_user",1,1,1,1 +"access_calendar_attendee","calendar.attendee","model_calendar_attendee","base.group_user",1,1,1,0 "access_calendar_alarm","calendar.alarm","model_calendar_alarm","base.group_user",1,1,1,1 "access_res_alarm","res.alarm","model_res_alarm","base.group_user",1,1,1,1 "access_calendar_todo","calendar.todo","model_calendar_todo","base.group_user",1,1,1,1 diff --git a/addons/base_calendar/wizard/base_calendar_invite_attendee.py b/addons/base_calendar/wizard/base_calendar_invite_attendee.py index 47f5681addf..a18388f5b3c 100644 --- a/addons/base_calendar/wizard/base_calendar_invite_attendee.py +++ b/addons/base_calendar/wizard/base_calendar_invite_attendee.py @@ -36,11 +36,11 @@ class base_calendar_invite_attendee(osv.osv_memory): _columns = { 'type': fields.selection([('internal', 'Internal User'), \ ('external', 'External Email'), \ - ('partner', 'Partner Contacts')], 'Type', required=True), + ('partner', 'Partner Contacts')], 'Type', required=True, help="Select whom you want to Invite"), 'user_ids': fields.many2many('res.users', 'invite_user_rel', 'invite_id', 'user_id', 'Users'), 'partner_id': fields.many2one('res.partner', 'Partner'), - 'email': fields.char('Email', size=124), + 'email': fields.char('Email', size=124, help="Provide external email address who will receive this invitation."), 'contact_ids': fields.many2many('res.partner.address', 'invite_contact_rel', 'invite_id', 'contact_id', 'Contacts'), 'send_mail': fields.boolean('Send mail?', help='Check this if you want to \ diff --git a/addons/base_calendar/wizard/base_calendar_invite_attendee_view.xml b/addons/base_calendar/wizard/base_calendar_invite_attendee_view.xml index 494787bbf97..ef7193e05fe 100644 --- a/addons/base_calendar/wizard/base_calendar_invite_attendee_view.xml +++ b/addons/base_calendar/wizard/base_calendar_invite_attendee_view.xml @@ -10,42 +10,31 @@ form
- - - - - - - - - - - - - - - - - - - - - -