From 72553c6022de6ae01c70aa3531b71d2088c30e2b Mon Sep 17 00:00:00 2001 From: Kishan Gajjar Date: Tue, 28 Mar 2017 11:54:46 +0530 Subject: [PATCH] [IMP] base: Add kanban views for all menuitems used in mobile Purpose ======= Improve readability on mobile Specification ============= Activate Kanban view on those so it could be displayed by default on mobile instead of view list List of impacted modules: - base : kanban for currencies - base : kanban for users - base : kanban for Companies --- odoo/addons/base/res/res_company_view.xml | 36 ++++++++++++++++++++++ odoo/addons/base/res/res_currency_view.xml | 27 +++++++++++++++- odoo/addons/base/res/res_users_view.xml | 36 ++++++++++++++++++++++ 3 files changed, 98 insertions(+), 1 deletion(-) diff --git a/odoo/addons/base/res/res_company_view.xml b/odoo/addons/base/res/res_company_view.xml index a583ce9f5e5..e9cdcfcf176 100644 --- a/odoo/addons/base/res/res_company_view.xml +++ b/odoo/addons/base/res/res_company_view.xml @@ -61,6 +61,41 @@ + + res.company.kanban + res.company + + + + + + + +
+
+ +
+
+
+
+ Email: +
+
+ Phone +
+
+ +
+
+ +
+
+
+
+
+
+
+
Companies ir.actions.act_window @@ -74,6 +109,7 @@ ir.actions.act_window res.company form + tree,kanban,form Create and manage the companies that will be managed by Odoo from here. Shops or subsidiaries can be created and maintained from here. diff --git a/odoo/addons/base/res/res_currency_view.xml b/odoo/addons/base/res/res_currency_view.xml index 8f4aa4b41fa..cddc35dfe2b 100644 --- a/odoo/addons/base/res/res_currency_view.xml +++ b/odoo/addons/base/res/res_currency_view.xml @@ -94,6 +94,31 @@ + + res.currency.kanban + res.currency + + + + + + +
+
+
+ +
+
+ +
+
+
+
+
+
+
+
+ res.currency.form res.currency @@ -133,7 +158,7 @@ Currencies res.currency form - tree,form + tree,kanban,form {'active_test': False, 'search_default_inactive': 1, 'search_default_active': 1} diff --git a/odoo/addons/base/res/res_users_view.xml b/odoo/addons/base/res/res_users_view.xml index 1b28358c4e5..10e38901a6a 100644 --- a/odoo/addons/base/res/res_users_view.xml +++ b/odoo/addons/base/res/res_users_view.xml @@ -234,6 +234,41 @@ + + res.users.kanban + res.users + + + + + + + + + + +
+
+ +
+
+
    +
  • +
  • +
  • + +
  • +
  • +
  • +
  • +
+
+
+
+
+
+
+
res.users.search res.users @@ -263,6 +298,7 @@ ir.actions.act_window res.users form + tree,kanban,form {'search_default_no_share': 1}