diff --git a/addons/portal_customer/__openerp__.py b/addons/portal_customer/__openerp__.py index 1028f98a4f5..167c97f6574 100644 --- a/addons/portal_customer/__openerp__.py +++ b/addons/portal_customer/__openerp__.py @@ -37,10 +37,10 @@ "demo_xml" : [ ], "update_xml" : [ -# "security/ir.model.access.csv", "portal_customer_view.xml", - "email_template.xml", - "portal_demo.xml" +# "email_template.xml", + "portal_demo.xml", + "security/ir.model.access.csv", ], 'installable': True, } diff --git a/addons/portal_customer/portal_customer_view.xml b/addons/portal_customer/portal_customer_view.xml index 869785dfc7a..af64cdd8052 100644 --- a/addons/portal_customer/portal_customer_view.xml +++ b/addons/portal_customer/portal_customer_view.xml @@ -24,6 +24,21 @@ tree,form + + + + + + + + + + + + + + + diff --git a/addons/portal_customer/portal_demo.xml b/addons/portal_customer/portal_demo.xml index 3bc08fe9e76..6cdc8d76586 100644 --- a/addons/portal_customer/portal_demo.xml +++ b/addons/portal_customer/portal_demo.xml @@ -32,18 +32,12 @@ Account Invoice True - Account Invoice Line True - @@ -68,14 +62,16 @@ - + Sales Portal + - + - + + - \ No newline at end of file + diff --git a/addons/portal_customer/security/ir.model.access.csv b/addons/portal_customer/security/ir.model.access.csv new file mode 100755 index 00000000000..2c29e0159ad --- /dev/null +++ b/addons/portal_customer/security/ir.model.access.csv @@ -0,0 +1,2 @@ +id,name,model_id:id,group_id:id,perm_read,perm_write,perm_create,perm_unlink +access_sale_order_portal,sale.order,sale.model_sale_order,portal_customer.group_sale_access_portal,1,0,0,0