From 1ee30d46d4a3f1663f1ca93c907139e238eb1828 Mon Sep 17 00:00:00 2001 From: "atp (Open ERP)" Date: Thu, 6 May 2010 17:50:00 +0530 Subject: [PATCH] [IMP]: lunch: usability improvement in lunch module. bzr revid: atp@tinyerp.co.in-20100506122000-8wxzo3ddxa1zo4w2 --- addons/lunch/__openerp__.py | 6 +- addons/lunch/lunch_view.xml | 121 +++++++++++++++--- .../lunch/wizard/lunch_cashbox_clean_view.xml | 12 +- .../lunch/wizard/lunch_order_cancel_view.xml | 12 +- .../lunch/wizard/lunch_order_confirm_view.xml | 12 +- 5 files changed, 112 insertions(+), 51 deletions(-) diff --git a/addons/lunch/__openerp__.py b/addons/lunch/__openerp__.py index efde2f16e61..5c02874b453 100644 --- a/addons/lunch/__openerp__.py +++ b/addons/lunch/__openerp__.py @@ -47,10 +47,8 @@ 'lunch_report.xml', #'process/lunch_process.xml' ], - "demo_xml": ['lunch_demo.xml', - ], - "test": ['test/test_lunch.yml' - ], + "demo_xml": ['lunch_demo.xml'], + "test": ['test/test_lunch.yml'], "installable": True, } diff --git a/addons/lunch/lunch_view.xml b/addons/lunch/lunch_view.xml index ab3d6792683..07ea6a3fc8e 100644 --- a/addons/lunch/lunch_view.xml +++ b/addons/lunch/lunch_view.xml @@ -56,13 +56,46 @@ - + + + lunch-order Search + lunch.order + search + + + + + + + + + + + + + + + + + + + + + + + Lunch Orders lunch.order tree,form +
- - - + + + @@ -141,12 +174,37 @@ + + + + CashMove Search + lunch.cashmove + search + + + + + + + + + + + + + + + + + + CashMove lunch.cashmove + - @@ -255,29 +312,53 @@ - - - - - Lunch amount - report.lunch.amount - form - -
- - - - - + + + Lunch.amount.report.graph + report.lunch.amount + graph + + + + + + + + + + + Lunch amount Search + report.lunch.amount + search + + + + + + + + + + + + + + + + + + Lunch amount report.lunch.amount form - tree,form + tree,graph + + {'search_default_user':1, 'group_by_no_leaf':1,'group_by':[]} - + +