diff --git a/addons/portal_customer/__openerp__.py b/addons/portal_customer/__openerp__.py index 3db70387ff8..65b60d65ab1 100644 --- a/addons/portal_customer/__openerp__.py +++ b/addons/portal_customer/__openerp__.py @@ -22,7 +22,7 @@ { 'name' : "Portal Customer", 'version' : "1.0", - 'depends' : ["sale","portal"], + 'depends' : ["sale","portal","event"], 'author' : "OpenERP SA", 'category': 'Portal', 'description': """ @@ -39,6 +39,7 @@ "update_xml" : [ "security/portal_customer_security.xml", "security/ir.model.access.csv", + "board_portal_customer_view.xml", "portal_customer_view.xml", "portal_customer_menu.xml", ], diff --git a/addons/portal_customer/board_portal_customer_view.xml b/addons/portal_customer/board_portal_customer_view.xml new file mode 100644 index 00000000000..e1eff4863d0 --- /dev/null +++ b/addons/portal_customer/board_portal_customer_view.xml @@ -0,0 +1,49 @@ + + + + + + Events + ir.actions.act_window + event.event + tree + kanban + + {"search_default_upcoming":1} + + + + My Feeds + mail.all_feeds + + + + board.customer.portal.form + board.board + form + +
+ + + + + + + + + +
+
+
+ + + Customer Portal Dashboard + board.board + form + form + menu + + + +
+
diff --git a/addons/portal_customer/portal_customer_menu.xml b/addons/portal_customer/portal_customer_menu.xml index 979b6633dcd..daad23d0ce9 100644 --- a/addons/portal_customer/portal_customer_menu.xml +++ b/addons/portal_customer/portal_customer_menu.xml @@ -2,7 +2,7 @@ - + @@ -18,7 +18,7 @@ - + @@ -57,6 +57,7 @@ + diff --git a/addons/portal_customer/security/ir.model.access.csv b/addons/portal_customer/security/ir.model.access.csv index b34215e0e6a..42f218721a1 100644 --- a/addons/portal_customer/security/ir.model.access.csv +++ b/addons/portal_customer/security/ir.model.access.csv @@ -13,3 +13,5 @@ access_account_voucher_line,account.voucher.line,account_voucher.model_account_v access_account_move,account.move,account.model_account_move,portal_customer.group_sales_portal,1,0,0,0 access_account_move_line,account.move.line,account.model_account_move_line,portal_customer.group_sales_portal,1,0,0,0 access_account_move_reconcile,account.move.reconcile,account.model_account_move_reconcile,portal_customer.group_sales_portal,1,0,0,0 +access_event_event,event.event,event.model_event_event,portal_customer.group_sales_portal,1,1,0,0 +access_event_registration,event.registration,event.model_event_registration,portal_customer.group_sales_portal,1,1,0,0 diff --git a/addons/portal_customer/security/portal_customer_security.xml b/addons/portal_customer/security/portal_customer_security.xml index 19873f23e26..eb0f30fab72 100644 --- a/addons/portal_customer/security/portal_customer_security.xml +++ b/addons/portal_customer/security/portal_customer_security.xml @@ -53,5 +53,12 @@ + + Personal Event Registration + + [('email','=',user.login)] + + +