From 3665767fb9bbd39d0e8cabfb61085dcd6989e2d4 Mon Sep 17 00:00:00 2001 From: "ced@b2ck.com" Date: Sat, 29 Dec 2007 19:02:56 +0100 Subject: [PATCH] Remove name from view records --- trytond/ir/actions.xml | 8 -------- trytond/ir/attachment.xml | 2 -- trytond/ir/cron.xml | 2 -- trytond/ir/exports.xml | 2 -- trytond/ir/model.xml | 6 ------ trytond/ir/module/category.xml | 2 -- trytond/ir/module/module.xml | 6 ------ trytond/ir/module/repository.xml | 2 -- trytond/ir/property.xml | 2 -- trytond/ir/rule.xml | 4 ---- trytond/ir/sequence.xml | 4 ---- trytond/ir/translation.xml | 2 -- trytond/ir/ui/menu.xml | 3 --- trytond/ir/ui/view.py | 2 +- trytond/ir/ui/view.xml | 17 ++++++----------- trytond/ir/values.xml | 2 -- trytond/res/lang.xml | 1 - trytond/res/request.xml | 6 ------ trytond/res/users.xml | 6 ------ trytond/workflow/workflow.xml | 10 ---------- 20 files changed, 7 insertions(+), 82 deletions(-) diff --git a/trytond/ir/actions.xml b/trytond/ir/actions.xml index a7af40f3b7..afaadd2fc4 100644 --- a/trytond/ir/actions.xml +++ b/trytond/ir/actions.xml @@ -3,7 +3,6 @@ - ir.actions.actions.form ir.actions.actions form @@ -26,7 +25,6 @@ - ir.actions.actions.tree ir.actions.actions tree @@ -61,7 +59,6 @@ - ir.actions.report.form ir.actions.report form @@ -77,7 +74,6 @@ - ir.actions.report.tree ir.actions.report tree @@ -113,7 +109,6 @@ - ir.actions.act_window.form ir.actions.act_window form @@ -149,7 +144,6 @@ - ir.actions.act_window.tree ir.actions.act_window tree @@ -185,7 +179,6 @@ - ir.actions.wizard.form ir.actions.wizard form @@ -200,7 +193,6 @@ - ir.actions.wizard.tree ir.actions.wizard tree diff --git a/trytond/ir/attachment.xml b/trytond/ir/attachment.xml index 0c5d1baabb..7e305e2aac 100644 --- a/trytond/ir/attachment.xml +++ b/trytond/ir/attachment.xml @@ -2,7 +2,6 @@ - ir.attachment.form ir.attachment form @@ -21,7 +20,6 @@ - ir.attachment.tree ir.attachment tree diff --git a/trytond/ir/cron.xml b/trytond/ir/cron.xml index 7bc598ea8e..984eb40675 100644 --- a/trytond/ir/cron.xml +++ b/trytond/ir/cron.xml @@ -2,7 +2,6 @@ - ir.cron.tree ir.cron tree @@ -18,7 +17,6 @@ - ir.cron.form ir.cron form diff --git a/trytond/ir/exports.xml b/trytond/ir/exports.xml index 4d4c1aed3a..68428b51f4 100644 --- a/trytond/ir/exports.xml +++ b/trytond/ir/exports.xml @@ -2,7 +2,6 @@ - ir.exports.form ir.exports form @@ -16,7 +15,6 @@ - ir.exports.tree ir.exports tree diff --git a/trytond/ir/model.xml b/trytond/ir/model.xml index 46d5289639..122e9dbcca 100644 --- a/trytond/ir/model.xml +++ b/trytond/ir/model.xml @@ -2,7 +2,6 @@ - ir.model.form ir.model form @@ -26,7 +25,6 @@ - ir.model.tree ir.model tree @@ -60,7 +58,6 @@ - ir.model.fields.form ir.model.fields form @@ -76,7 +73,6 @@ - ir.model.fields.tree ir.model.fields tree @@ -110,7 +106,6 @@ - ir.model.access.tree ir.model.access tree @@ -124,7 +119,6 @@ - ir.model.access.form ir.model.access form diff --git a/trytond/ir/module/category.xml b/trytond/ir/module/category.xml index 0cb965fe2d..de7d01f218 100644 --- a/trytond/ir/module/category.xml +++ b/trytond/ir/module/category.xml @@ -2,7 +2,6 @@ - ir.module.category.form ir.module.category form @@ -15,7 +14,6 @@ - ir.module.category.tree ir.module.category tree child_ids diff --git a/trytond/ir/module/module.xml b/trytond/ir/module/module.xml index 55369ee0ec..36105a1445 100644 --- a/trytond/ir/module/module.xml +++ b/trytond/ir/module/module.xml @@ -3,7 +3,6 @@ - ir.module.module.form ir.module.module form @@ -55,7 +54,6 @@ - ir.module.module.tree ir.module.module tree @@ -104,7 +102,6 @@ ir.module.module.update_list - ir.module.module.update_list.init.form ir.module.module.update_list.init form @@ -118,7 +115,6 @@ - ir.module.module.update_list.update.form ir.module.module.update_list.update form @@ -139,7 +135,6 @@ ir.module.module.install_upgrade - ir.module.module.install_upgrade.init.form ir.module.module.install_upgrade.init form @@ -163,7 +158,6 @@ - ir.module.module.install_upgrade.start.form ir.module.module.install_upgrade.start form diff --git a/trytond/ir/module/repository.xml b/trytond/ir/module/repository.xml index 484cad24e2..7c1c334ac7 100644 --- a/trytond/ir/module/repository.xml +++ b/trytond/ir/module/repository.xml @@ -2,7 +2,6 @@ - ir.module.repository.form ir.module.repository form @@ -18,7 +17,6 @@ - ir.module.repository.tree ir.module.repository tree diff --git a/trytond/ir/property.xml b/trytond/ir/property.xml index f4023d76e2..2dd3571984 100644 --- a/trytond/ir/property.xml +++ b/trytond/ir/property.xml @@ -2,7 +2,6 @@ - ir.property.form ir.property form @@ -19,7 +18,6 @@ - ir.property.tree ir.property tree diff --git a/trytond/ir/rule.xml b/trytond/ir/rule.xml index de0a9950cc..c67119c3d3 100644 --- a/trytond/ir/rule.xml +++ b/trytond/ir/rule.xml @@ -2,7 +2,6 @@ - ir.rule.group.form ir.rule.group form @@ -23,7 +22,6 @@ - ir.rule.group.tree ir.rule.group tree @@ -58,7 +56,6 @@ - ir.rule.form ir.rule form @@ -74,7 +71,6 @@ - ir.rule.tree ir.rule tree diff --git a/trytond/ir/sequence.xml b/trytond/ir/sequence.xml index ca18997948..91fa23e2db 100644 --- a/trytond/ir/sequence.xml +++ b/trytond/ir/sequence.xml @@ -3,7 +3,6 @@ - ir.sequence.form ir.sequence form @@ -28,7 +27,6 @@ - ir.sequence.tree ir.sequence tree @@ -65,7 +63,6 @@ - ir.sequence.type.form ir.sequence.type form @@ -78,7 +75,6 @@ - ir.sequence.type.tree ir.sequence.type tree diff --git a/trytond/ir/translation.xml b/trytond/ir/translation.xml index b57f64763a..76a5a5f6d1 100644 --- a/trytond/ir/translation.xml +++ b/trytond/ir/translation.xml @@ -2,7 +2,6 @@ - ir.translation.form ir.translation form @@ -19,7 +18,6 @@ - ir.translation.tree ir.translation tree diff --git a/trytond/ir/ui/menu.xml b/trytond/ir/ui/menu.xml index f4fdacc88e..6d16a4640d 100644 --- a/trytond/ir/ui/menu.xml +++ b/trytond/ir/ui/menu.xml @@ -2,7 +2,6 @@ - ir.ui.menu.tree.tree ir.ui.menu tree @@ -29,7 +28,6 @@ - ir.ui.menu.tree ir.ui.menu tree @@ -42,7 +40,6 @@ - ir.ui.menu.form ir.ui.menu form diff --git a/trytond/ir/ui/view.py b/trytond/ir/ui/view.py index 1d7aae904f..0e4cc23f68 100644 --- a/trytond/ir/ui/view.py +++ b/trytond/ir/ui/view.py @@ -7,8 +7,8 @@ class View(OSV): "View" _name = 'ir.ui.view' _description = __doc__ + _rec_name = 'model' _columns = { - 'name': fields.char('View Name',size=64, required=True), 'model': fields.char('Model', size=64, required=True), 'priority': fields.integer('Priority', required=True), 'type': fields.selection(( diff --git a/trytond/ir/ui/view.xml b/trytond/ir/ui/view.xml index efc5bf2ccb..32f78e757a 100644 --- a/trytond/ir/ui/view.xml +++ b/trytond/ir/ui/view.xml @@ -2,33 +2,30 @@ - ir.ui.view.form ir.ui.view form - - - - - + + + + ]]> - ir.ui.view.tree ir.ui.view tree - - + + ]]> @@ -55,7 +52,6 @@ - ir.ui.view_sc.form ir.ui.view_sc form @@ -69,7 +65,6 @@ - ir.ui.view_sc.tree ir.ui.view_sc tree diff --git a/trytond/ir/values.xml b/trytond/ir/values.xml index 5318107082..bcd4cef30a 100644 --- a/trytond/ir/values.xml +++ b/trytond/ir/values.xml @@ -2,7 +2,6 @@ - ir.values.form ir.values form @@ -22,7 +21,6 @@ - ir.values.tree ir.values tree diff --git a/trytond/res/lang.xml b/trytond/res/lang.xml index 3af3602819..bbcdf83b9e 100644 --- a/trytond/res/lang.xml +++ b/trytond/res/lang.xml @@ -6,7 +6,6 @@ English - res.lang.tree res.lang tree diff --git a/trytond/res/request.xml b/trytond/res/request.xml index de9f2fab26..67e512f6b3 100644 --- a/trytond/res/request.xml +++ b/trytond/res/request.xml @@ -2,7 +2,6 @@ - res.request.tree res.request tree @@ -20,7 +19,6 @@ - res.request.form res.request form @@ -86,7 +84,6 @@ - res.request.link.form res.request.link form @@ -100,7 +97,6 @@ - res.request.link.tree res.request.link tree @@ -113,7 +109,6 @@ - res.request.history.tree res.request.history tree @@ -128,7 +123,6 @@ - res.request.history.form res.request.history form diff --git a/trytond/res/users.xml b/trytond/res/users.xml index 1cd4467145..8d28fae60a 100644 --- a/trytond/res/users.xml +++ b/trytond/res/users.xml @@ -14,7 +14,6 @@ - res.user.form res.user form @@ -45,7 +44,6 @@ - res.user.tree res.user tree @@ -80,7 +78,6 @@ - res.group.form res.group form @@ -102,7 +99,6 @@ - res.group.tree res.group tree @@ -136,7 +132,6 @@ - res.role.form res.role form @@ -149,7 +144,6 @@ - res.role.tree res.role tree parent_id diff --git a/trytond/workflow/workflow.xml b/trytond/workflow/workflow.xml index ca690cf2b2..d0cae1910b 100644 --- a/trytond/workflow/workflow.xml +++ b/trytond/workflow/workflow.xml @@ -3,7 +3,6 @@ - workflow.form workflow form @@ -19,7 +18,6 @@ - workflow.tree workflow tree @@ -54,7 +52,6 @@ - workflow.activity.form workflow.activity form @@ -98,7 +95,6 @@ - workflow.activity.tree workflow.activity tree @@ -136,7 +132,6 @@ - workflow.transition.form workflow.transition form @@ -154,7 +149,6 @@ - workflow.transition.tree workflow.transition tree @@ -193,7 +187,6 @@ - workflow.instance.form workflow.instance form @@ -209,7 +202,6 @@ - workflow.instance.tree workflow.instance tree @@ -239,7 +231,6 @@ - workflow.workitem.form workflow.workitem form @@ -254,7 +245,6 @@ - workflow.workitem.tree workflow.workitem tree